BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.357624 -2.808627)', '2026-07-28 04:33:24', 3.6, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.357615 -2.808453)', '2026-07-28 04:33:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357624 -2.808627)'), GeomFromEWKT('SRID=4674;POINT (-40.357615 -2.808453)'))) / (select extract(epoch from '2026-07-28 04:33:32'::timestamp) - extract(epoch from '2026-07-28 04:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357624 -2.808627)'), GeomFromEWKT('SRID=4674;POINT (-40.357615 -2.808453)'))) / (select extract(epoch from '2026-07-28 04:33:32'::timestamp) - extract(epoch from '2026-07-28 04:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.357534 -2.808319)', '2026-07-28 04:33:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357615 -2.808453)'), GeomFromEWKT('SRID=4674;POINT (-40.357534 -2.808319)'))) / (select extract(epoch from '2026-07-28 04:33:40'::timestamp) - extract(epoch from '2026-07-28 04:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357615 -2.808453)'), GeomFromEWKT('SRID=4674;POINT (-40.357534 -2.808319)'))) / (select extract(epoch from '2026-07-28 04:33:40'::timestamp) - extract(epoch from '2026-07-28 04:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.357419 -2.808231)', '2026-07-28 04:33:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357534 -2.808319)'), GeomFromEWKT('SRID=4674;POINT (-40.357419 -2.808231)'))) / (select extract(epoch from '2026-07-28 04:33:48'::timestamp) - extract(epoch from '2026-07-28 04:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357534 -2.808319)'), GeomFromEWKT('SRID=4674;POINT (-40.357419 -2.808231)'))) / (select extract(epoch from '2026-07-28 04:33:48'::timestamp) - extract(epoch from '2026-07-28 04:33:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.357296 -2.808169)', '2026-07-28 04:33:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357419 -2.808231)'), GeomFromEWKT('SRID=4674;POINT (-40.357296 -2.808169)'))) / (select extract(epoch from '2026-07-28 04:33:55'::timestamp) - extract(epoch from '2026-07-28 04:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357419 -2.808231)'), GeomFromEWKT('SRID=4674;POINT (-40.357296 -2.808169)'))) / (select extract(epoch from '2026-07-28 04:33:55'::timestamp) - extract(epoch from '2026-07-28 04:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.357139 -2.808118)', '2026-07-28 04:34:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357296 -2.808169)'), GeomFromEWKT('SRID=4674;POINT (-40.357139 -2.808118)'))) / (select extract(epoch from '2026-07-28 04:34:03'::timestamp) - extract(epoch from '2026-07-28 04:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357296 -2.808169)'), GeomFromEWKT('SRID=4674;POINT (-40.357139 -2.808118)'))) / (select extract(epoch from '2026-07-28 04:34:03'::timestamp) - extract(epoch from '2026-07-28 04:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.356979 -2.808036)', '2026-07-28 04:34:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357139 -2.808118)'), GeomFromEWKT('SRID=4674;POINT (-40.356979 -2.808036)'))) / (select extract(epoch from '2026-07-28 04:34:11'::timestamp) - extract(epoch from '2026-07-28 04:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357139 -2.808118)'), GeomFromEWKT('SRID=4674;POINT (-40.356979 -2.808036)'))) / (select extract(epoch from '2026-07-28 04:34:11'::timestamp) - extract(epoch from '2026-07-28 04:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.356759 -2.807928)', '2026-07-28 04:34:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356979 -2.808036)'), GeomFromEWKT('SRID=4674;POINT (-40.356759 -2.807928)'))) / (select extract(epoch from '2026-07-28 04:34:22'::timestamp) - extract(epoch from '2026-07-28 04:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356979 -2.808036)'), GeomFromEWKT('SRID=4674;POINT (-40.356759 -2.807928)'))) / (select extract(epoch from '2026-07-28 04:34:22'::timestamp) - extract(epoch from '2026-07-28 04:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.356562 -2.807862)', '2026-07-28 04:34:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356759 -2.807928)'), GeomFromEWKT('SRID=4674;POINT (-40.356562 -2.807862)'))) / (select extract(epoch from '2026-07-28 04:34:32'::timestamp) - extract(epoch from '2026-07-28 04:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356759 -2.807928)'), GeomFromEWKT('SRID=4674;POINT (-40.356562 -2.807862)'))) / (select extract(epoch from '2026-07-28 04:34:32'::timestamp) - extract(epoch from '2026-07-28 04:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.356413 -2.807791)', '2026-07-28 04:34:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356562 -2.807862)'), GeomFromEWKT('SRID=4674;POINT (-40.356413 -2.807791)'))) / (select extract(epoch from '2026-07-28 04:34:40'::timestamp) - extract(epoch from '2026-07-28 04:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356562 -2.807862)'), GeomFromEWKT('SRID=4674;POINT (-40.356413 -2.807791)'))) / (select extract(epoch from '2026-07-28 04:34:40'::timestamp) - extract(epoch from '2026-07-28 04:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.356259 -2.807735)', '2026-07-28 04:34:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356413 -2.807791)'), GeomFromEWKT('SRID=4674;POINT (-40.356259 -2.807735)'))) / (select extract(epoch from '2026-07-28 04:34:47'::timestamp) - extract(epoch from '2026-07-28 04:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356413 -2.807791)'), GeomFromEWKT('SRID=4674;POINT (-40.356259 -2.807735)'))) / (select extract(epoch from '2026-07-28 04:34:47'::timestamp) - extract(epoch from '2026-07-28 04:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.356074 -2.807671)', '2026-07-28 04:34:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356259 -2.807735)'), GeomFromEWKT('SRID=4674;POINT (-40.356074 -2.807671)'))) / (select extract(epoch from '2026-07-28 04:34:56'::timestamp) - extract(epoch from '2026-07-28 04:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356259 -2.807735)'), GeomFromEWKT('SRID=4674;POINT (-40.356074 -2.807671)'))) / (select extract(epoch from '2026-07-28 04:34:56'::timestamp) - extract(epoch from '2026-07-28 04:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355918 -2.807614)', '2026-07-28 04:35:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356074 -2.807671)'), GeomFromEWKT('SRID=4674;POINT (-40.355918 -2.807614)'))) / (select extract(epoch from '2026-07-28 04:35:05'::timestamp) - extract(epoch from '2026-07-28 04:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356074 -2.807671)'), GeomFromEWKT('SRID=4674;POINT (-40.355918 -2.807614)'))) / (select extract(epoch from '2026-07-28 04:35:05'::timestamp) - extract(epoch from '2026-07-28 04:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355844 -2.807602)', '2026-07-28 04:35:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355918 -2.807614)'), GeomFromEWKT('SRID=4674;POINT (-40.355844 -2.807602)'))) / (select extract(epoch from '2026-07-28 04:35:13'::timestamp) - extract(epoch from '2026-07-28 04:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355918 -2.807614)'), GeomFromEWKT('SRID=4674;POINT (-40.355844 -2.807602)'))) / (select extract(epoch from '2026-07-28 04:35:13'::timestamp) - extract(epoch from '2026-07-28 04:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355793 -2.807601)', '2026-07-28 04:35:22', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355844 -2.807602)'), GeomFromEWKT('SRID=4674;POINT (-40.355793 -2.807601)'))) / (select extract(epoch from '2026-07-28 04:35:22'::timestamp) - extract(epoch from '2026-07-28 04:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355844 -2.807602)'), GeomFromEWKT('SRID=4674;POINT (-40.355793 -2.807601)'))) / (select extract(epoch from '2026-07-28 04:35:22'::timestamp) - extract(epoch from '2026-07-28 04:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355731 -2.807604)', '2026-07-28 04:35:38', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355793 -2.807601)'), GeomFromEWKT('SRID=4674;POINT (-40.355731 -2.807604)'))) / (select extract(epoch from '2026-07-28 04:35:38'::timestamp) - extract(epoch from '2026-07-28 04:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355793 -2.807601)'), GeomFromEWKT('SRID=4674;POINT (-40.355731 -2.807604)'))) / (select extract(epoch from '2026-07-28 04:35:38'::timestamp) - extract(epoch from '2026-07-28 04:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355706 -2.807618)', '2026-07-28 04:35:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355731 -2.807604)'), GeomFromEWKT('SRID=4674;POINT (-40.355706 -2.807618)'))) / (select extract(epoch from '2026-07-28 04:35:46'::timestamp) - extract(epoch from '2026-07-28 04:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355731 -2.807604)'), GeomFromEWKT('SRID=4674;POINT (-40.355706 -2.807618)'))) / (select extract(epoch from '2026-07-28 04:35:46'::timestamp) - extract(epoch from '2026-07-28 04:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355693 -2.807602)', '2026-07-28 04:35:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355706 -2.807618)'), GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.807602)'))) / (select extract(epoch from '2026-07-28 04:35:54'::timestamp) - extract(epoch from '2026-07-28 04:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355706 -2.807618)'), GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.807602)'))) / (select extract(epoch from '2026-07-28 04:35:54'::timestamp) - extract(epoch from '2026-07-28 04:35:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355683 -2.807607)', '2026-07-28 04:36:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.807602)'), GeomFromEWKT('SRID=4674;POINT (-40.355683 -2.807607)'))) / (select extract(epoch from '2026-07-28 04:36:10'::timestamp) - extract(epoch from '2026-07-28 04:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.807602)'), GeomFromEWKT('SRID=4674;POINT (-40.355683 -2.807607)'))) / (select extract(epoch from '2026-07-28 04:36:10'::timestamp) - extract(epoch from '2026-07-28 04:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355685 -2.807606)', '2026-07-28 04:36:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355683 -2.807607)'), GeomFromEWKT('SRID=4674;POINT (-40.355685 -2.807606)'))) / (select extract(epoch from '2026-07-28 04:36:23'::timestamp) - extract(epoch from '2026-07-28 04:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355683 -2.807607)'), GeomFromEWKT('SRID=4674;POINT (-40.355685 -2.807606)'))) / (select extract(epoch from '2026-07-28 04:36:23'::timestamp) - extract(epoch from '2026-07-28 04:36:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355693 -2.80761)', '2026-07-28 04:36:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355685 -2.807606)'), GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.80761)'))) / (select extract(epoch from '2026-07-28 04:36:35'::timestamp) - extract(epoch from '2026-07-28 04:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355685 -2.807606)'), GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.80761)'))) / (select extract(epoch from '2026-07-28 04:36:35'::timestamp) - extract(epoch from '2026-07-28 04:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355702 -2.807601)', '2026-07-28 04:36:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.80761)'), GeomFromEWKT('SRID=4674;POINT (-40.355702 -2.807601)'))) / (select extract(epoch from '2026-07-28 04:36:50'::timestamp) - extract(epoch from '2026-07-28 04:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.80761)'), GeomFromEWKT('SRID=4674;POINT (-40.355702 -2.807601)'))) / (select extract(epoch from '2026-07-28 04:36:50'::timestamp) - extract(epoch from '2026-07-28 04:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355715 -2.8076)', '2026-07-28 04:37:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355702 -2.807601)'), GeomFromEWKT('SRID=4674;POINT (-40.355715 -2.8076)'))) / (select extract(epoch from '2026-07-28 04:37:05'::timestamp) - extract(epoch from '2026-07-28 04:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355702 -2.807601)'), GeomFromEWKT('SRID=4674;POINT (-40.355715 -2.8076)'))) / (select extract(epoch from '2026-07-28 04:37:05'::timestamp) - extract(epoch from '2026-07-28 04:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355733 -2.8076)', '2026-07-28 04:37:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355715 -2.8076)'), GeomFromEWKT('SRID=4674;POINT (-40.355733 -2.8076)'))) / (select extract(epoch from '2026-07-28 04:37:21'::timestamp) - extract(epoch from '2026-07-28 04:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355715 -2.8076)'), GeomFromEWKT('SRID=4674;POINT (-40.355733 -2.8076)'))) / (select extract(epoch from '2026-07-28 04:37:21'::timestamp) - extract(epoch from '2026-07-28 04:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355751 -2.8076)', '2026-07-28 04:37:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355733 -2.8076)'), GeomFromEWKT('SRID=4674;POINT (-40.355751 -2.8076)'))) / (select extract(epoch from '2026-07-28 04:37:38'::timestamp) - extract(epoch from '2026-07-28 04:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355733 -2.8076)'), GeomFromEWKT('SRID=4674;POINT (-40.355751 -2.8076)'))) / (select extract(epoch from '2026-07-28 04:37:38'::timestamp) - extract(epoch from '2026-07-28 04:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355775 -2.807604)', '2026-07-28 04:37:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355751 -2.8076)'), GeomFromEWKT('SRID=4674;POINT (-40.355775 -2.807604)'))) / (select extract(epoch from '2026-07-28 04:37:53'::timestamp) - extract(epoch from '2026-07-28 04:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355751 -2.8076)'), GeomFromEWKT('SRID=4674;POINT (-40.355775 -2.807604)'))) / (select extract(epoch from '2026-07-28 04:37:53'::timestamp) - extract(epoch from '2026-07-28 04:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355783 -2.80761)', '2026-07-28 04:38:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355775 -2.807604)'), GeomFromEWKT('SRID=4674;POINT (-40.355783 -2.80761)'))) / (select extract(epoch from '2026-07-28 04:38:02'::timestamp) - extract(epoch from '2026-07-28 04:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355775 -2.807604)'), GeomFromEWKT('SRID=4674;POINT (-40.355783 -2.80761)'))) / (select extract(epoch from '2026-07-28 04:38:02'::timestamp) - extract(epoch from '2026-07-28 04:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355806 -2.807626)', '2026-07-28 04:38:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355783 -2.80761)'), GeomFromEWKT('SRID=4674;POINT (-40.355806 -2.807626)'))) / (select extract(epoch from '2026-07-28 04:38:16'::timestamp) - extract(epoch from '2026-07-28 04:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355783 -2.80761)'), GeomFromEWKT('SRID=4674;POINT (-40.355806 -2.807626)'))) / (select extract(epoch from '2026-07-28 04:38:16'::timestamp) - extract(epoch from '2026-07-28 04:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355814 -2.807631)', '2026-07-28 04:38:33', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355806 -2.807626)'), GeomFromEWKT('SRID=4674;POINT (-40.355814 -2.807631)'))) / (select extract(epoch from '2026-07-28 04:38:33'::timestamp) - extract(epoch from '2026-07-28 04:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355806 -2.807626)'), GeomFromEWKT('SRID=4674;POINT (-40.355814 -2.807631)'))) / (select extract(epoch from '2026-07-28 04:38:33'::timestamp) - extract(epoch from '2026-07-28 04:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355829 -2.80764)', '2026-07-28 04:38:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355814 -2.807631)'), GeomFromEWKT('SRID=4674;POINT (-40.355829 -2.80764)'))) / (select extract(epoch from '2026-07-28 04:38:44'::timestamp) - extract(epoch from '2026-07-28 04:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355814 -2.807631)'), GeomFromEWKT('SRID=4674;POINT (-40.355829 -2.80764)'))) / (select extract(epoch from '2026-07-28 04:38:44'::timestamp) - extract(epoch from '2026-07-28 04:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355833 -2.807649)', '2026-07-28 04:38:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355829 -2.80764)'), GeomFromEWKT('SRID=4674;POINT (-40.355833 -2.807649)'))) / (select extract(epoch from '2026-07-28 04:38:56'::timestamp) - extract(epoch from '2026-07-28 04:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355829 -2.80764)'), GeomFromEWKT('SRID=4674;POINT (-40.355833 -2.807649)'))) / (select extract(epoch from '2026-07-28 04:38:56'::timestamp) - extract(epoch from '2026-07-28 04:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.35585 -2.807627)', '2026-07-28 04:39:08', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355833 -2.807649)'), GeomFromEWKT('SRID=4674;POINT (-40.35585 -2.807627)'))) / (select extract(epoch from '2026-07-28 04:39:08'::timestamp) - extract(epoch from '2026-07-28 04:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355833 -2.807649)'), GeomFromEWKT('SRID=4674;POINT (-40.35585 -2.807627)'))) / (select extract(epoch from '2026-07-28 04:39:08'::timestamp) - extract(epoch from '2026-07-28 04:38:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355813 -2.807553)', '2026-07-28 04:39:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35585 -2.807627)'), GeomFromEWKT('SRID=4674;POINT (-40.355813 -2.807553)'))) / (select extract(epoch from '2026-07-28 04:39:17'::timestamp) - extract(epoch from '2026-07-28 04:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35585 -2.807627)'), GeomFromEWKT('SRID=4674;POINT (-40.355813 -2.807553)'))) / (select extract(epoch from '2026-07-28 04:39:17'::timestamp) - extract(epoch from '2026-07-28 04:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355676 -2.80746)', '2026-07-28 04:39:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355813 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.355676 -2.80746)'))) / (select extract(epoch from '2026-07-28 04:39:28'::timestamp) - extract(epoch from '2026-07-28 04:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355813 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.355676 -2.80746)'))) / (select extract(epoch from '2026-07-28 04:39:28'::timestamp) - extract(epoch from '2026-07-28 04:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355511 -2.807423)', '2026-07-28 04:39:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355676 -2.80746)'), GeomFromEWKT('SRID=4674;POINT (-40.355511 -2.807423)'))) / (select extract(epoch from '2026-07-28 04:39:35'::timestamp) - extract(epoch from '2026-07-28 04:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355676 -2.80746)'), GeomFromEWKT('SRID=4674;POINT (-40.355511 -2.807423)'))) / (select extract(epoch from '2026-07-28 04:39:35'::timestamp) - extract(epoch from '2026-07-28 04:39:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355361 -2.807383)', '2026-07-28 04:39:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355511 -2.807423)'), GeomFromEWKT('SRID=4674;POINT (-40.355361 -2.807383)'))) / (select extract(epoch from '2026-07-28 04:39:42'::timestamp) - extract(epoch from '2026-07-28 04:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355511 -2.807423)'), GeomFromEWKT('SRID=4674;POINT (-40.355361 -2.807383)'))) / (select extract(epoch from '2026-07-28 04:39:42'::timestamp) - extract(epoch from '2026-07-28 04:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.35519 -2.807339)', '2026-07-28 04:39:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355361 -2.807383)'), GeomFromEWKT('SRID=4674;POINT (-40.35519 -2.807339)'))) / (select extract(epoch from '2026-07-28 04:39:50'::timestamp) - extract(epoch from '2026-07-28 04:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355361 -2.807383)'), GeomFromEWKT('SRID=4674;POINT (-40.35519 -2.807339)'))) / (select extract(epoch from '2026-07-28 04:39:50'::timestamp) - extract(epoch from '2026-07-28 04:39:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.355029 -2.80732)', '2026-07-28 04:39:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35519 -2.807339)'), GeomFromEWKT('SRID=4674;POINT (-40.355029 -2.80732)'))) / (select extract(epoch from '2026-07-28 04:39:59'::timestamp) - extract(epoch from '2026-07-28 04:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35519 -2.807339)'), GeomFromEWKT('SRID=4674;POINT (-40.355029 -2.80732)'))) / (select extract(epoch from '2026-07-28 04:39:59'::timestamp) - extract(epoch from '2026-07-28 04:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.354883 -2.807319)', '2026-07-28 04:40:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355029 -2.80732)'), GeomFromEWKT('SRID=4674;POINT (-40.354883 -2.807319)'))) / (select extract(epoch from '2026-07-28 04:40:06'::timestamp) - extract(epoch from '2026-07-28 04:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355029 -2.80732)'), GeomFromEWKT('SRID=4674;POINT (-40.354883 -2.807319)'))) / (select extract(epoch from '2026-07-28 04:40:06'::timestamp) - extract(epoch from '2026-07-28 04:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.354677 -2.807338)', '2026-07-28 04:40:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354883 -2.807319)'), GeomFromEWKT('SRID=4674;POINT (-40.354677 -2.807338)'))) / (select extract(epoch from '2026-07-28 04:40:15'::timestamp) - extract(epoch from '2026-07-28 04:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354883 -2.807319)'), GeomFromEWKT('SRID=4674;POINT (-40.354677 -2.807338)'))) / (select extract(epoch from '2026-07-28 04:40:15'::timestamp) - extract(epoch from '2026-07-28 04:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.354515 -2.80735)', '2026-07-28 04:40:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354677 -2.807338)'), GeomFromEWKT('SRID=4674;POINT (-40.354515 -2.80735)'))) / (select extract(epoch from '2026-07-28 04:40:23'::timestamp) - extract(epoch from '2026-07-28 04:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354677 -2.807338)'), GeomFromEWKT('SRID=4674;POINT (-40.354515 -2.80735)'))) / (select extract(epoch from '2026-07-28 04:40:23'::timestamp) - extract(epoch from '2026-07-28 04:40:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.354314 -2.807346)', '2026-07-28 04:40:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354515 -2.80735)'), GeomFromEWKT('SRID=4674;POINT (-40.354314 -2.807346)'))) / (select extract(epoch from '2026-07-28 04:40:33'::timestamp) - extract(epoch from '2026-07-28 04:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354515 -2.80735)'), GeomFromEWKT('SRID=4674;POINT (-40.354314 -2.807346)'))) / (select extract(epoch from '2026-07-28 04:40:33'::timestamp) - extract(epoch from '2026-07-28 04:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.354143 -2.807319)', '2026-07-28 04:40:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354314 -2.807346)'), GeomFromEWKT('SRID=4674;POINT (-40.354143 -2.807319)'))) / (select extract(epoch from '2026-07-28 04:40:41'::timestamp) - extract(epoch from '2026-07-28 04:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354314 -2.807346)'), GeomFromEWKT('SRID=4674;POINT (-40.354143 -2.807319)'))) / (select extract(epoch from '2026-07-28 04:40:41'::timestamp) - extract(epoch from '2026-07-28 04:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.354013 -2.807277)', '2026-07-28 04:40:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354143 -2.807319)'), GeomFromEWKT('SRID=4674;POINT (-40.354013 -2.807277)'))) / (select extract(epoch from '2026-07-28 04:40:48'::timestamp) - extract(epoch from '2026-07-28 04:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354143 -2.807319)'), GeomFromEWKT('SRID=4674;POINT (-40.354013 -2.807277)'))) / (select extract(epoch from '2026-07-28 04:40:48'::timestamp) - extract(epoch from '2026-07-28 04:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.353862 -2.807221)', '2026-07-28 04:40:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354013 -2.807277)'), GeomFromEWKT('SRID=4674;POINT (-40.353862 -2.807221)'))) / (select extract(epoch from '2026-07-28 04:40:55'::timestamp) - extract(epoch from '2026-07-28 04:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354013 -2.807277)'), GeomFromEWKT('SRID=4674;POINT (-40.353862 -2.807221)'))) / (select extract(epoch from '2026-07-28 04:40:55'::timestamp) - extract(epoch from '2026-07-28 04:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.353723 -2.807171)', '2026-07-28 04:41:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353862 -2.807221)'), GeomFromEWKT('SRID=4674;POINT (-40.353723 -2.807171)'))) / (select extract(epoch from '2026-07-28 04:41:03'::timestamp) - extract(epoch from '2026-07-28 04:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353862 -2.807221)'), GeomFromEWKT('SRID=4674;POINT (-40.353723 -2.807171)'))) / (select extract(epoch from '2026-07-28 04:41:03'::timestamp) - extract(epoch from '2026-07-28 04:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.353512 -2.80713)', '2026-07-28 04:41:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353723 -2.807171)'), GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.80713)'))) / (select extract(epoch from '2026-07-28 04:41:13'::timestamp) - extract(epoch from '2026-07-28 04:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353723 -2.807171)'), GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.80713)'))) / (select extract(epoch from '2026-07-28 04:41:13'::timestamp) - extract(epoch from '2026-07-28 04:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.353318 -2.807085)', '2026-07-28 04:41:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.80713)'), GeomFromEWKT('SRID=4674;POINT (-40.353318 -2.807085)'))) / (select extract(epoch from '2026-07-28 04:41:22'::timestamp) - extract(epoch from '2026-07-28 04:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.80713)'), GeomFromEWKT('SRID=4674;POINT (-40.353318 -2.807085)'))) / (select extract(epoch from '2026-07-28 04:41:22'::timestamp) - extract(epoch from '2026-07-28 04:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.353145 -2.807083)', '2026-07-28 04:41:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353318 -2.807085)'), GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.807083)'))) / (select extract(epoch from '2026-07-28 04:41:30'::timestamp) - extract(epoch from '2026-07-28 04:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353318 -2.807085)'), GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.807083)'))) / (select extract(epoch from '2026-07-28 04:41:30'::timestamp) - extract(epoch from '2026-07-28 04:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.352963 -2.807073)', '2026-07-28 04:41:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.807083)'), GeomFromEWKT('SRID=4674;POINT (-40.352963 -2.807073)'))) / (select extract(epoch from '2026-07-28 04:41:39'::timestamp) - extract(epoch from '2026-07-28 04:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.807083)'), GeomFromEWKT('SRID=4674;POINT (-40.352963 -2.807073)'))) / (select extract(epoch from '2026-07-28 04:41:39'::timestamp) - extract(epoch from '2026-07-28 04:41:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.352791 -2.80706)', '2026-07-28 04:41:47', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352963 -2.807073)'), GeomFromEWKT('SRID=4674;POINT (-40.352791 -2.80706)'))) / (select extract(epoch from '2026-07-28 04:41:47'::timestamp) - extract(epoch from '2026-07-28 04:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352963 -2.807073)'), GeomFromEWKT('SRID=4674;POINT (-40.352791 -2.80706)'))) / (select extract(epoch from '2026-07-28 04:41:47'::timestamp) - extract(epoch from '2026-07-28 04:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.352633 -2.807024)', '2026-07-28 04:41:55', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352791 -2.80706)'), GeomFromEWKT('SRID=4674;POINT (-40.352633 -2.807024)'))) / (select extract(epoch from '2026-07-28 04:41:55'::timestamp) - extract(epoch from '2026-07-28 04:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352791 -2.80706)'), GeomFromEWKT('SRID=4674;POINT (-40.352633 -2.807024)'))) / (select extract(epoch from '2026-07-28 04:41:55'::timestamp) - extract(epoch from '2026-07-28 04:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.352493 -2.806992)', '2026-07-28 04:42:02', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352633 -2.807024)'), GeomFromEWKT('SRID=4674;POINT (-40.352493 -2.806992)'))) / (select extract(epoch from '2026-07-28 04:42:02'::timestamp) - extract(epoch from '2026-07-28 04:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352633 -2.807024)'), GeomFromEWKT('SRID=4674;POINT (-40.352493 -2.806992)'))) / (select extract(epoch from '2026-07-28 04:42:02'::timestamp) - extract(epoch from '2026-07-28 04:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.352342 -2.806959)', '2026-07-28 04:42:09', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352493 -2.806992)'), GeomFromEWKT('SRID=4674;POINT (-40.352342 -2.806959)'))) / (select extract(epoch from '2026-07-28 04:42:09'::timestamp) - extract(epoch from '2026-07-28 04:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352493 -2.806992)'), GeomFromEWKT('SRID=4674;POINT (-40.352342 -2.806959)'))) / (select extract(epoch from '2026-07-28 04:42:09'::timestamp) - extract(epoch from '2026-07-28 04:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.352164 -2.806908)', '2026-07-28 04:42:18', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352342 -2.806959)'), GeomFromEWKT('SRID=4674;POINT (-40.352164 -2.806908)'))) / (select extract(epoch from '2026-07-28 04:42:18'::timestamp) - extract(epoch from '2026-07-28 04:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352342 -2.806959)'), GeomFromEWKT('SRID=4674;POINT (-40.352164 -2.806908)'))) / (select extract(epoch from '2026-07-28 04:42:18'::timestamp) - extract(epoch from '2026-07-28 04:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.351977 -2.806873)', '2026-07-28 04:42:25', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352164 -2.806908)'), GeomFromEWKT('SRID=4674;POINT (-40.351977 -2.806873)'))) / (select extract(epoch from '2026-07-28 04:42:25'::timestamp) - extract(epoch from '2026-07-28 04:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352164 -2.806908)'), GeomFromEWKT('SRID=4674;POINT (-40.351977 -2.806873)'))) / (select extract(epoch from '2026-07-28 04:42:25'::timestamp) - extract(epoch from '2026-07-28 04:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.351773 -2.806836)', '2026-07-28 04:42:33', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351977 -2.806873)'), GeomFromEWKT('SRID=4674;POINT (-40.351773 -2.806836)'))) / (select extract(epoch from '2026-07-28 04:42:33'::timestamp) - extract(epoch from '2026-07-28 04:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351977 -2.806873)'), GeomFromEWKT('SRID=4674;POINT (-40.351773 -2.806836)'))) / (select extract(epoch from '2026-07-28 04:42:33'::timestamp) - extract(epoch from '2026-07-28 04:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.351614 -2.806773)', '2026-07-28 04:42:41', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351773 -2.806836)'), GeomFromEWKT('SRID=4674;POINT (-40.351614 -2.806773)'))) / (select extract(epoch from '2026-07-28 04:42:41'::timestamp) - extract(epoch from '2026-07-28 04:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351773 -2.806836)'), GeomFromEWKT('SRID=4674;POINT (-40.351614 -2.806773)'))) / (select extract(epoch from '2026-07-28 04:42:41'::timestamp) - extract(epoch from '2026-07-28 04:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.351525 -2.806722)', '2026-07-28 04:42:49', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351614 -2.806773)'), GeomFromEWKT('SRID=4674;POINT (-40.351525 -2.806722)'))) / (select extract(epoch from '2026-07-28 04:42:49'::timestamp) - extract(epoch from '2026-07-28 04:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351614 -2.806773)'), GeomFromEWKT('SRID=4674;POINT (-40.351525 -2.806722)'))) / (select extract(epoch from '2026-07-28 04:42:49'::timestamp) - extract(epoch from '2026-07-28 04:42:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.351378 -2.80671)', '2026-07-28 04:42:56', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351525 -2.806722)'), GeomFromEWKT('SRID=4674;POINT (-40.351378 -2.80671)'))) / (select extract(epoch from '2026-07-28 04:42:56'::timestamp) - extract(epoch from '2026-07-28 04:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351525 -2.806722)'), GeomFromEWKT('SRID=4674;POINT (-40.351378 -2.80671)'))) / (select extract(epoch from '2026-07-28 04:42:56'::timestamp) - extract(epoch from '2026-07-28 04:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.351198 -2.806733)', '2026-07-28 04:43:04', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351378 -2.80671)'), GeomFromEWKT('SRID=4674;POINT (-40.351198 -2.806733)'))) / (select extract(epoch from '2026-07-28 04:43:04'::timestamp) - extract(epoch from '2026-07-28 04:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351378 -2.80671)'), GeomFromEWKT('SRID=4674;POINT (-40.351198 -2.806733)'))) / (select extract(epoch from '2026-07-28 04:43:04'::timestamp) - extract(epoch from '2026-07-28 04:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.35103 -2.806731)', '2026-07-28 04:43:11', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351198 -2.806733)'), GeomFromEWKT('SRID=4674;POINT (-40.35103 -2.806731)'))) / (select extract(epoch from '2026-07-28 04:43:11'::timestamp) - extract(epoch from '2026-07-28 04:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351198 -2.806733)'), GeomFromEWKT('SRID=4674;POINT (-40.35103 -2.806731)'))) / (select extract(epoch from '2026-07-28 04:43:11'::timestamp) - extract(epoch from '2026-07-28 04:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.350808 -2.806689)', '2026-07-28 04:43:21', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35103 -2.806731)'), GeomFromEWKT('SRID=4674;POINT (-40.350808 -2.806689)'))) / (select extract(epoch from '2026-07-28 04:43:21'::timestamp) - extract(epoch from '2026-07-28 04:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35103 -2.806731)'), GeomFromEWKT('SRID=4674;POINT (-40.350808 -2.806689)'))) / (select extract(epoch from '2026-07-28 04:43:21'::timestamp) - extract(epoch from '2026-07-28 04:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.350689 -2.806619)', '2026-07-28 04:43:29', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350808 -2.806689)'), GeomFromEWKT('SRID=4674;POINT (-40.350689 -2.806619)'))) / (select extract(epoch from '2026-07-28 04:43:29'::timestamp) - extract(epoch from '2026-07-28 04:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350808 -2.806689)'), GeomFromEWKT('SRID=4674;POINT (-40.350689 -2.806619)'))) / (select extract(epoch from '2026-07-28 04:43:29'::timestamp) - extract(epoch from '2026-07-28 04:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.350564 -2.806567)', '2026-07-28 04:43:37', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350689 -2.806619)'), GeomFromEWKT('SRID=4674;POINT (-40.350564 -2.806567)'))) / (select extract(epoch from '2026-07-28 04:43:37'::timestamp) - extract(epoch from '2026-07-28 04:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350689 -2.806619)'), GeomFromEWKT('SRID=4674;POINT (-40.350564 -2.806567)'))) / (select extract(epoch from '2026-07-28 04:43:37'::timestamp) - extract(epoch from '2026-07-28 04:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.350447 -2.806553)', '2026-07-28 04:43:43', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350564 -2.806567)'), GeomFromEWKT('SRID=4674;POINT (-40.350447 -2.806553)'))) / (select extract(epoch from '2026-07-28 04:43:43'::timestamp) - extract(epoch from '2026-07-28 04:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350564 -2.806567)'), GeomFromEWKT('SRID=4674;POINT (-40.350447 -2.806553)'))) / (select extract(epoch from '2026-07-28 04:43:43'::timestamp) - extract(epoch from '2026-07-28 04:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.350314 -2.806535)', '2026-07-28 04:43:49', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350447 -2.806553)'), GeomFromEWKT('SRID=4674;POINT (-40.350314 -2.806535)'))) / (select extract(epoch from '2026-07-28 04:43:49'::timestamp) - extract(epoch from '2026-07-28 04:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350447 -2.806553)'), GeomFromEWKT('SRID=4674;POINT (-40.350314 -2.806535)'))) / (select extract(epoch from '2026-07-28 04:43:49'::timestamp) - extract(epoch from '2026-07-28 04:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.350136 -2.806512)', '2026-07-28 04:43:57', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350314 -2.806535)'), GeomFromEWKT('SRID=4674;POINT (-40.350136 -2.806512)'))) / (select extract(epoch from '2026-07-28 04:43:57'::timestamp) - extract(epoch from '2026-07-28 04:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350314 -2.806535)'), GeomFromEWKT('SRID=4674;POINT (-40.350136 -2.806512)'))) / (select extract(epoch from '2026-07-28 04:43:57'::timestamp) - extract(epoch from '2026-07-28 04:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.349944 -2.806473)', '2026-07-28 04:44:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350136 -2.806512)'), GeomFromEWKT('SRID=4674;POINT (-40.349944 -2.806473)'))) / (select extract(epoch from '2026-07-28 04:44:06'::timestamp) - extract(epoch from '2026-07-28 04:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350136 -2.806512)'), GeomFromEWKT('SRID=4674;POINT (-40.349944 -2.806473)'))) / (select extract(epoch from '2026-07-28 04:44:06'::timestamp) - extract(epoch from '2026-07-28 04:43:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.349779 -2.806452)', '2026-07-28 04:44:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349944 -2.806473)'), GeomFromEWKT('SRID=4674;POINT (-40.349779 -2.806452)'))) / (select extract(epoch from '2026-07-28 04:44:13'::timestamp) - extract(epoch from '2026-07-28 04:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349944 -2.806473)'), GeomFromEWKT('SRID=4674;POINT (-40.349779 -2.806452)'))) / (select extract(epoch from '2026-07-28 04:44:13'::timestamp) - extract(epoch from '2026-07-28 04:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.349635 -2.806413)', '2026-07-28 04:44:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349779 -2.806452)'), GeomFromEWKT('SRID=4674;POINT (-40.349635 -2.806413)'))) / (select extract(epoch from '2026-07-28 04:44:20'::timestamp) - extract(epoch from '2026-07-28 04:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349779 -2.806452)'), GeomFromEWKT('SRID=4674;POINT (-40.349635 -2.806413)'))) / (select extract(epoch from '2026-07-28 04:44:20'::timestamp) - extract(epoch from '2026-07-28 04:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.34947 -2.806386)', '2026-07-28 04:44:28', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349635 -2.806413)'), GeomFromEWKT('SRID=4674;POINT (-40.34947 -2.806386)'))) / (select extract(epoch from '2026-07-28 04:44:28'::timestamp) - extract(epoch from '2026-07-28 04:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349635 -2.806413)'), GeomFromEWKT('SRID=4674;POINT (-40.34947 -2.806386)'))) / (select extract(epoch from '2026-07-28 04:44:28'::timestamp) - extract(epoch from '2026-07-28 04:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.349317 -2.806364)', '2026-07-28 04:44:35', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34947 -2.806386)'), GeomFromEWKT('SRID=4674;POINT (-40.349317 -2.806364)'))) / (select extract(epoch from '2026-07-28 04:44:35'::timestamp) - extract(epoch from '2026-07-28 04:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34947 -2.806386)'), GeomFromEWKT('SRID=4674;POINT (-40.349317 -2.806364)'))) / (select extract(epoch from '2026-07-28 04:44:35'::timestamp) - extract(epoch from '2026-07-28 04:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.349135 -2.806313)', '2026-07-28 04:44:44', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349317 -2.806364)'), GeomFromEWKT('SRID=4674;POINT (-40.349135 -2.806313)'))) / (select extract(epoch from '2026-07-28 04:44:44'::timestamp) - extract(epoch from '2026-07-28 04:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349317 -2.806364)'), GeomFromEWKT('SRID=4674;POINT (-40.349135 -2.806313)'))) / (select extract(epoch from '2026-07-28 04:44:44'::timestamp) - extract(epoch from '2026-07-28 04:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.348991 -2.806289)', '2026-07-28 04:44:51', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349135 -2.806313)'), GeomFromEWKT('SRID=4674;POINT (-40.348991 -2.806289)'))) / (select extract(epoch from '2026-07-28 04:44:51'::timestamp) - extract(epoch from '2026-07-28 04:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349135 -2.806313)'), GeomFromEWKT('SRID=4674;POINT (-40.348991 -2.806289)'))) / (select extract(epoch from '2026-07-28 04:44:51'::timestamp) - extract(epoch from '2026-07-28 04:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.348815 -2.80626)', '2026-07-28 04:45:00', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348991 -2.806289)'), GeomFromEWKT('SRID=4674;POINT (-40.348815 -2.80626)'))) / (select extract(epoch from '2026-07-28 04:45:00'::timestamp) - extract(epoch from '2026-07-28 04:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348991 -2.806289)'), GeomFromEWKT('SRID=4674;POINT (-40.348815 -2.80626)'))) / (select extract(epoch from '2026-07-28 04:45:00'::timestamp) - extract(epoch from '2026-07-28 04:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.348609 -2.806259)', '2026-07-28 04:45:09', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348815 -2.80626)'), GeomFromEWKT('SRID=4674;POINT (-40.348609 -2.806259)'))) / (select extract(epoch from '2026-07-28 04:45:09'::timestamp) - extract(epoch from '2026-07-28 04:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348815 -2.80626)'), GeomFromEWKT('SRID=4674;POINT (-40.348609 -2.806259)'))) / (select extract(epoch from '2026-07-28 04:45:09'::timestamp) - extract(epoch from '2026-07-28 04:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.348462 -2.806249)', '2026-07-28 04:45:16', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348609 -2.806259)'), GeomFromEWKT('SRID=4674;POINT (-40.348462 -2.806249)'))) / (select extract(epoch from '2026-07-28 04:45:16'::timestamp) - extract(epoch from '2026-07-28 04:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348609 -2.806259)'), GeomFromEWKT('SRID=4674;POINT (-40.348462 -2.806249)'))) / (select extract(epoch from '2026-07-28 04:45:16'::timestamp) - extract(epoch from '2026-07-28 04:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.348289 -2.806213)', '2026-07-28 04:45:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348462 -2.806249)'), GeomFromEWKT('SRID=4674;POINT (-40.348289 -2.806213)'))) / (select extract(epoch from '2026-07-28 04:45:25'::timestamp) - extract(epoch from '2026-07-28 04:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348462 -2.806249)'), GeomFromEWKT('SRID=4674;POINT (-40.348289 -2.806213)'))) / (select extract(epoch from '2026-07-28 04:45:25'::timestamp) - extract(epoch from '2026-07-28 04:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.348128 -2.806191)', '2026-07-28 04:45:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348289 -2.806213)'), GeomFromEWKT('SRID=4674;POINT (-40.348128 -2.806191)'))) / (select extract(epoch from '2026-07-28 04:45:33'::timestamp) - extract(epoch from '2026-07-28 04:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348289 -2.806213)'), GeomFromEWKT('SRID=4674;POINT (-40.348128 -2.806191)'))) / (select extract(epoch from '2026-07-28 04:45:33'::timestamp) - extract(epoch from '2026-07-28 04:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.347971 -2.806178)', '2026-07-28 04:45:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348128 -2.806191)'), GeomFromEWKT('SRID=4674;POINT (-40.347971 -2.806178)'))) / (select extract(epoch from '2026-07-28 04:45:41'::timestamp) - extract(epoch from '2026-07-28 04:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348128 -2.806191)'), GeomFromEWKT('SRID=4674;POINT (-40.347971 -2.806178)'))) / (select extract(epoch from '2026-07-28 04:45:41'::timestamp) - extract(epoch from '2026-07-28 04:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.347829 -2.806168)', '2026-07-28 04:45:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347971 -2.806178)'), GeomFromEWKT('SRID=4674;POINT (-40.347829 -2.806168)'))) / (select extract(epoch from '2026-07-28 04:45:47'::timestamp) - extract(epoch from '2026-07-28 04:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347971 -2.806178)'), GeomFromEWKT('SRID=4674;POINT (-40.347829 -2.806168)'))) / (select extract(epoch from '2026-07-28 04:45:47'::timestamp) - extract(epoch from '2026-07-28 04:45:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.347657 -2.806152)', '2026-07-28 04:45:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347829 -2.806168)'), GeomFromEWKT('SRID=4674;POINT (-40.347657 -2.806152)'))) / (select extract(epoch from '2026-07-28 04:45:55'::timestamp) - extract(epoch from '2026-07-28 04:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347829 -2.806168)'), GeomFromEWKT('SRID=4674;POINT (-40.347657 -2.806152)'))) / (select extract(epoch from '2026-07-28 04:45:55'::timestamp) - extract(epoch from '2026-07-28 04:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.347495 -2.806147)', '2026-07-28 04:46:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347657 -2.806152)'), GeomFromEWKT('SRID=4674;POINT (-40.347495 -2.806147)'))) / (select extract(epoch from '2026-07-28 04:46:03'::timestamp) - extract(epoch from '2026-07-28 04:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347657 -2.806152)'), GeomFromEWKT('SRID=4674;POINT (-40.347495 -2.806147)'))) / (select extract(epoch from '2026-07-28 04:46:03'::timestamp) - extract(epoch from '2026-07-28 04:45:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.347334 -2.8061)', '2026-07-28 04:46:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347495 -2.806147)'), GeomFromEWKT('SRID=4674;POINT (-40.347334 -2.8061)'))) / (select extract(epoch from '2026-07-28 04:46:11'::timestamp) - extract(epoch from '2026-07-28 04:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347495 -2.806147)'), GeomFromEWKT('SRID=4674;POINT (-40.347334 -2.8061)'))) / (select extract(epoch from '2026-07-28 04:46:11'::timestamp) - extract(epoch from '2026-07-28 04:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.347142 -2.806066)', '2026-07-28 04:46:20', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347334 -2.8061)'), GeomFromEWKT('SRID=4674;POINT (-40.347142 -2.806066)'))) / (select extract(epoch from '2026-07-28 04:46:20'::timestamp) - extract(epoch from '2026-07-28 04:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347334 -2.8061)'), GeomFromEWKT('SRID=4674;POINT (-40.347142 -2.806066)'))) / (select extract(epoch from '2026-07-28 04:46:20'::timestamp) - extract(epoch from '2026-07-28 04:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.346986 -2.806032)', '2026-07-28 04:46:28', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347142 -2.806066)'), GeomFromEWKT('SRID=4674;POINT (-40.346986 -2.806032)'))) / (select extract(epoch from '2026-07-28 04:46:28'::timestamp) - extract(epoch from '2026-07-28 04:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347142 -2.806066)'), GeomFromEWKT('SRID=4674;POINT (-40.346986 -2.806032)'))) / (select extract(epoch from '2026-07-28 04:46:28'::timestamp) - extract(epoch from '2026-07-28 04:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.34684 -2.805995)', '2026-07-28 04:46:36', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346986 -2.806032)'), GeomFromEWKT('SRID=4674;POINT (-40.34684 -2.805995)'))) / (select extract(epoch from '2026-07-28 04:46:36'::timestamp) - extract(epoch from '2026-07-28 04:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346986 -2.806032)'), GeomFromEWKT('SRID=4674;POINT (-40.34684 -2.805995)'))) / (select extract(epoch from '2026-07-28 04:46:36'::timestamp) - extract(epoch from '2026-07-28 04:46:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.346699 -2.805959)', '2026-07-28 04:46:43', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34684 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.346699 -2.805959)'))) / (select extract(epoch from '2026-07-28 04:46:43'::timestamp) - extract(epoch from '2026-07-28 04:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34684 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.346699 -2.805959)'))) / (select extract(epoch from '2026-07-28 04:46:43'::timestamp) - extract(epoch from '2026-07-28 04:46:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.346579 -2.805906)', '2026-07-28 04:46:50', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346699 -2.805959)'), GeomFromEWKT('SRID=4674;POINT (-40.346579 -2.805906)'))) / (select extract(epoch from '2026-07-28 04:46:50'::timestamp) - extract(epoch from '2026-07-28 04:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346699 -2.805959)'), GeomFromEWKT('SRID=4674;POINT (-40.346579 -2.805906)'))) / (select extract(epoch from '2026-07-28 04:46:50'::timestamp) - extract(epoch from '2026-07-28 04:46:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.346447 -2.805874)', '2026-07-28 04:46:57', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346579 -2.805906)'), GeomFromEWKT('SRID=4674;POINT (-40.346447 -2.805874)'))) / (select extract(epoch from '2026-07-28 04:46:57'::timestamp) - extract(epoch from '2026-07-28 04:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346579 -2.805906)'), GeomFromEWKT('SRID=4674;POINT (-40.346447 -2.805874)'))) / (select extract(epoch from '2026-07-28 04:46:57'::timestamp) - extract(epoch from '2026-07-28 04:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.346259 -2.805831)', '2026-07-28 04:47:07', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346447 -2.805874)'), GeomFromEWKT('SRID=4674;POINT (-40.346259 -2.805831)'))) / (select extract(epoch from '2026-07-28 04:47:07'::timestamp) - extract(epoch from '2026-07-28 04:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346447 -2.805874)'), GeomFromEWKT('SRID=4674;POINT (-40.346259 -2.805831)'))) / (select extract(epoch from '2026-07-28 04:47:07'::timestamp) - extract(epoch from '2026-07-28 04:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.346086 -2.805751)', '2026-07-28 04:47:16', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346259 -2.805831)'), GeomFromEWKT('SRID=4674;POINT (-40.346086 -2.805751)'))) / (select extract(epoch from '2026-07-28 04:47:16'::timestamp) - extract(epoch from '2026-07-28 04:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346259 -2.805831)'), GeomFromEWKT('SRID=4674;POINT (-40.346086 -2.805751)'))) / (select extract(epoch from '2026-07-28 04:47:16'::timestamp) - extract(epoch from '2026-07-28 04:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.345926 -2.805712)', '2026-07-28 04:47:24', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346086 -2.805751)'), GeomFromEWKT('SRID=4674;POINT (-40.345926 -2.805712)'))) / (select extract(epoch from '2026-07-28 04:47:24'::timestamp) - extract(epoch from '2026-07-28 04:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346086 -2.805751)'), GeomFromEWKT('SRID=4674;POINT (-40.345926 -2.805712)'))) / (select extract(epoch from '2026-07-28 04:47:24'::timestamp) - extract(epoch from '2026-07-28 04:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.345765 -2.805659)', '2026-07-28 04:47:32', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345926 -2.805712)'), GeomFromEWKT('SRID=4674;POINT (-40.345765 -2.805659)'))) / (select extract(epoch from '2026-07-28 04:47:32'::timestamp) - extract(epoch from '2026-07-28 04:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345926 -2.805712)'), GeomFromEWKT('SRID=4674;POINT (-40.345765 -2.805659)'))) / (select extract(epoch from '2026-07-28 04:47:32'::timestamp) - extract(epoch from '2026-07-28 04:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.345661 -2.805607)', '2026-07-28 04:47:38', -9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345765 -2.805659)'), GeomFromEWKT('SRID=4674;POINT (-40.345661 -2.805607)'))) / (select extract(epoch from '2026-07-28 04:47:38'::timestamp) - extract(epoch from '2026-07-28 04:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345765 -2.805659)'), GeomFromEWKT('SRID=4674;POINT (-40.345661 -2.805607)'))) / (select extract(epoch from '2026-07-28 04:47:38'::timestamp) - extract(epoch from '2026-07-28 04:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.345511 -2.805528)', '2026-07-28 04:47:47', -10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345661 -2.805607)'), GeomFromEWKT('SRID=4674;POINT (-40.345511 -2.805528)'))) / (select extract(epoch from '2026-07-28 04:47:47'::timestamp) - extract(epoch from '2026-07-28 04:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345661 -2.805607)'), GeomFromEWKT('SRID=4674;POINT (-40.345511 -2.805528)'))) / (select extract(epoch from '2026-07-28 04:47:47'::timestamp) - extract(epoch from '2026-07-28 04:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.345325 -2.805441)', '2026-07-28 04:47:56', -9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345511 -2.805528)'), GeomFromEWKT('SRID=4674;POINT (-40.345325 -2.805441)'))) / (select extract(epoch from '2026-07-28 04:47:56'::timestamp) - extract(epoch from '2026-07-28 04:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345511 -2.805528)'), GeomFromEWKT('SRID=4674;POINT (-40.345325 -2.805441)'))) / (select extract(epoch from '2026-07-28 04:47:56'::timestamp) - extract(epoch from '2026-07-28 04:47:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.345193 -2.805326)', '2026-07-28 04:48:04', -10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345325 -2.805441)'), GeomFromEWKT('SRID=4674;POINT (-40.345193 -2.805326)'))) / (select extract(epoch from '2026-07-28 04:48:04'::timestamp) - extract(epoch from '2026-07-28 04:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345325 -2.805441)'), GeomFromEWKT('SRID=4674;POINT (-40.345193 -2.805326)'))) / (select extract(epoch from '2026-07-28 04:48:04'::timestamp) - extract(epoch from '2026-07-28 04:47:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.345032 -2.805225)', '2026-07-28 04:48:12', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345193 -2.805326)'), GeomFromEWKT('SRID=4674;POINT (-40.345032 -2.805225)'))) / (select extract(epoch from '2026-07-28 04:48:12'::timestamp) - extract(epoch from '2026-07-28 04:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345193 -2.805326)'), GeomFromEWKT('SRID=4674;POINT (-40.345032 -2.805225)'))) / (select extract(epoch from '2026-07-28 04:48:12'::timestamp) - extract(epoch from '2026-07-28 04:48:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.344873 -2.805114)', '2026-07-28 04:48:21', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345032 -2.805225)'), GeomFromEWKT('SRID=4674;POINT (-40.344873 -2.805114)'))) / (select extract(epoch from '2026-07-28 04:48:21'::timestamp) - extract(epoch from '2026-07-28 04:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345032 -2.805225)'), GeomFromEWKT('SRID=4674;POINT (-40.344873 -2.805114)'))) / (select extract(epoch from '2026-07-28 04:48:21'::timestamp) - extract(epoch from '2026-07-28 04:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.344742 -2.805013)', '2026-07-28 04:48:29', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344873 -2.805114)'), GeomFromEWKT('SRID=4674;POINT (-40.344742 -2.805013)'))) / (select extract(epoch from '2026-07-28 04:48:29'::timestamp) - extract(epoch from '2026-07-28 04:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344873 -2.805114)'), GeomFromEWKT('SRID=4674;POINT (-40.344742 -2.805013)'))) / (select extract(epoch from '2026-07-28 04:48:29'::timestamp) - extract(epoch from '2026-07-28 04:48:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.344634 -2.804927)', '2026-07-28 04:48:36', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344742 -2.805013)'), GeomFromEWKT('SRID=4674;POINT (-40.344634 -2.804927)'))) / (select extract(epoch from '2026-07-28 04:48:36'::timestamp) - extract(epoch from '2026-07-28 04:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344742 -2.805013)'), GeomFromEWKT('SRID=4674;POINT (-40.344634 -2.804927)'))) / (select extract(epoch from '2026-07-28 04:48:36'::timestamp) - extract(epoch from '2026-07-28 04:48:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.344537 -2.804816)', '2026-07-28 04:48:44', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344634 -2.804927)'), GeomFromEWKT('SRID=4674;POINT (-40.344537 -2.804816)'))) / (select extract(epoch from '2026-07-28 04:48:44'::timestamp) - extract(epoch from '2026-07-28 04:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344634 -2.804927)'), GeomFromEWKT('SRID=4674;POINT (-40.344537 -2.804816)'))) / (select extract(epoch from '2026-07-28 04:48:44'::timestamp) - extract(epoch from '2026-07-28 04:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.344425 -2.804697)', '2026-07-28 04:48:53', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344537 -2.804816)'), GeomFromEWKT('SRID=4674;POINT (-40.344425 -2.804697)'))) / (select extract(epoch from '2026-07-28 04:48:53'::timestamp) - extract(epoch from '2026-07-28 04:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344537 -2.804816)'), GeomFromEWKT('SRID=4674;POINT (-40.344425 -2.804697)'))) / (select extract(epoch from '2026-07-28 04:48:53'::timestamp) - extract(epoch from '2026-07-28 04:48:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.344318 -2.804576)', '2026-07-28 04:49:01', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344425 -2.804697)'), GeomFromEWKT('SRID=4674;POINT (-40.344318 -2.804576)'))) / (select extract(epoch from '2026-07-28 04:49:01'::timestamp) - extract(epoch from '2026-07-28 04:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344425 -2.804697)'), GeomFromEWKT('SRID=4674;POINT (-40.344318 -2.804576)'))) / (select extract(epoch from '2026-07-28 04:49:01'::timestamp) - extract(epoch from '2026-07-28 04:48:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.344178 -2.804468)', '2026-07-28 04:49:09', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344318 -2.804576)'), GeomFromEWKT('SRID=4674;POINT (-40.344178 -2.804468)'))) / (select extract(epoch from '2026-07-28 04:49:09'::timestamp) - extract(epoch from '2026-07-28 04:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344318 -2.804576)'), GeomFromEWKT('SRID=4674;POINT (-40.344178 -2.804468)'))) / (select extract(epoch from '2026-07-28 04:49:09'::timestamp) - extract(epoch from '2026-07-28 04:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.344025 -2.804338)', '2026-07-28 04:49:18', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344178 -2.804468)'), GeomFromEWKT('SRID=4674;POINT (-40.344025 -2.804338)'))) / (select extract(epoch from '2026-07-28 04:49:18'::timestamp) - extract(epoch from '2026-07-28 04:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344178 -2.804468)'), GeomFromEWKT('SRID=4674;POINT (-40.344025 -2.804338)'))) / (select extract(epoch from '2026-07-28 04:49:18'::timestamp) - extract(epoch from '2026-07-28 04:49:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.343919 -2.804255)', '2026-07-28 04:49:25', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344025 -2.804338)'), GeomFromEWKT('SRID=4674;POINT (-40.343919 -2.804255)'))) / (select extract(epoch from '2026-07-28 04:49:25'::timestamp) - extract(epoch from '2026-07-28 04:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344025 -2.804338)'), GeomFromEWKT('SRID=4674;POINT (-40.343919 -2.804255)'))) / (select extract(epoch from '2026-07-28 04:49:25'::timestamp) - extract(epoch from '2026-07-28 04:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.343836 -2.804145)', '2026-07-28 04:49:32', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343919 -2.804255)'), GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.804145)'))) / (select extract(epoch from '2026-07-28 04:49:32'::timestamp) - extract(epoch from '2026-07-28 04:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343919 -2.804255)'), GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.804145)'))) / (select extract(epoch from '2026-07-28 04:49:32'::timestamp) - extract(epoch from '2026-07-28 04:49:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.343742 -2.804034)', '2026-07-28 04:49:39', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.804145)'), GeomFromEWKT('SRID=4674;POINT (-40.343742 -2.804034)'))) / (select extract(epoch from '2026-07-28 04:49:39'::timestamp) - extract(epoch from '2026-07-28 04:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.804145)'), GeomFromEWKT('SRID=4674;POINT (-40.343742 -2.804034)'))) / (select extract(epoch from '2026-07-28 04:49:39'::timestamp) - extract(epoch from '2026-07-28 04:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.343663 -2.803903)', '2026-07-28 04:49:47', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343742 -2.804034)'), GeomFromEWKT('SRID=4674;POINT (-40.343663 -2.803903)'))) / (select extract(epoch from '2026-07-28 04:49:47'::timestamp) - extract(epoch from '2026-07-28 04:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343742 -2.804034)'), GeomFromEWKT('SRID=4674;POINT (-40.343663 -2.803903)'))) / (select extract(epoch from '2026-07-28 04:49:47'::timestamp) - extract(epoch from '2026-07-28 04:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.343554 -2.803705)', '2026-07-28 04:49:58', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343663 -2.803903)'), GeomFromEWKT('SRID=4674;POINT (-40.343554 -2.803705)'))) / (select extract(epoch from '2026-07-28 04:49:58'::timestamp) - extract(epoch from '2026-07-28 04:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343663 -2.803903)'), GeomFromEWKT('SRID=4674;POINT (-40.343554 -2.803705)'))) / (select extract(epoch from '2026-07-28 04:49:58'::timestamp) - extract(epoch from '2026-07-28 04:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.343437 -2.803579)', '2026-07-28 04:50:06', -9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343554 -2.803705)'), GeomFromEWKT('SRID=4674;POINT (-40.343437 -2.803579)'))) / (select extract(epoch from '2026-07-28 04:50:06'::timestamp) - extract(epoch from '2026-07-28 04:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343554 -2.803705)'), GeomFromEWKT('SRID=4674;POINT (-40.343437 -2.803579)'))) / (select extract(epoch from '2026-07-28 04:50:06'::timestamp) - extract(epoch from '2026-07-28 04:49:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.343319 -2.803453)', '2026-07-28 04:50:14', -8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343437 -2.803579)'), GeomFromEWKT('SRID=4674;POINT (-40.343319 -2.803453)'))) / (select extract(epoch from '2026-07-28 04:50:14'::timestamp) - extract(epoch from '2026-07-28 04:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343437 -2.803579)'), GeomFromEWKT('SRID=4674;POINT (-40.343319 -2.803453)'))) / (select extract(epoch from '2026-07-28 04:50:14'::timestamp) - extract(epoch from '2026-07-28 04:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.343201 -2.803302)', '2026-07-28 04:50:23', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343319 -2.803453)'), GeomFromEWKT('SRID=4674;POINT (-40.343201 -2.803302)'))) / (select extract(epoch from '2026-07-28 04:50:23'::timestamp) - extract(epoch from '2026-07-28 04:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343319 -2.803453)'), GeomFromEWKT('SRID=4674;POINT (-40.343201 -2.803302)'))) / (select extract(epoch from '2026-07-28 04:50:23'::timestamp) - extract(epoch from '2026-07-28 04:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.343121 -2.803172)', '2026-07-28 04:50:31', -9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343201 -2.803302)'), GeomFromEWKT('SRID=4674;POINT (-40.343121 -2.803172)'))) / (select extract(epoch from '2026-07-28 04:50:31'::timestamp) - extract(epoch from '2026-07-28 04:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343201 -2.803302)'), GeomFromEWKT('SRID=4674;POINT (-40.343121 -2.803172)'))) / (select extract(epoch from '2026-07-28 04:50:31'::timestamp) - extract(epoch from '2026-07-28 04:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.342987 -2.803051)', '2026-07-28 04:50:39', -9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343121 -2.803172)'), GeomFromEWKT('SRID=4674;POINT (-40.342987 -2.803051)'))) / (select extract(epoch from '2026-07-28 04:50:39'::timestamp) - extract(epoch from '2026-07-28 04:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343121 -2.803172)'), GeomFromEWKT('SRID=4674;POINT (-40.342987 -2.803051)'))) / (select extract(epoch from '2026-07-28 04:50:39'::timestamp) - extract(epoch from '2026-07-28 04:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.342874 -2.802924)', '2026-07-28 04:50:47', -9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342987 -2.803051)'), GeomFromEWKT('SRID=4674;POINT (-40.342874 -2.802924)'))) / (select extract(epoch from '2026-07-28 04:50:47'::timestamp) - extract(epoch from '2026-07-28 04:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342987 -2.803051)'), GeomFromEWKT('SRID=4674;POINT (-40.342874 -2.802924)'))) / (select extract(epoch from '2026-07-28 04:50:47'::timestamp) - extract(epoch from '2026-07-28 04:50:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.34275 -2.802817)', '2026-07-28 04:50:55', -9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342874 -2.802924)'), GeomFromEWKT('SRID=4674;POINT (-40.34275 -2.802817)'))) / (select extract(epoch from '2026-07-28 04:50:55'::timestamp) - extract(epoch from '2026-07-28 04:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342874 -2.802924)'), GeomFromEWKT('SRID=4674;POINT (-40.34275 -2.802817)'))) / (select extract(epoch from '2026-07-28 04:50:55'::timestamp) - extract(epoch from '2026-07-28 04:50:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.342636 -2.80272)', '2026-07-28 04:51:02', -9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34275 -2.802817)'), GeomFromEWKT('SRID=4674;POINT (-40.342636 -2.80272)'))) / (select extract(epoch from '2026-07-28 04:51:02'::timestamp) - extract(epoch from '2026-07-28 04:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34275 -2.802817)'), GeomFromEWKT('SRID=4674;POINT (-40.342636 -2.80272)'))) / (select extract(epoch from '2026-07-28 04:51:02'::timestamp) - extract(epoch from '2026-07-28 04:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.342467 -2.802547)', '2026-07-28 04:51:13', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342636 -2.80272)'), GeomFromEWKT('SRID=4674;POINT (-40.342467 -2.802547)'))) / (select extract(epoch from '2026-07-28 04:51:13'::timestamp) - extract(epoch from '2026-07-28 04:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342636 -2.80272)'), GeomFromEWKT('SRID=4674;POINT (-40.342467 -2.802547)'))) / (select extract(epoch from '2026-07-28 04:51:13'::timestamp) - extract(epoch from '2026-07-28 04:51:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.342335 -2.802424)', '2026-07-28 04:51:21', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342467 -2.802547)'), GeomFromEWKT('SRID=4674;POINT (-40.342335 -2.802424)'))) / (select extract(epoch from '2026-07-28 04:51:21'::timestamp) - extract(epoch from '2026-07-28 04:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342467 -2.802547)'), GeomFromEWKT('SRID=4674;POINT (-40.342335 -2.802424)'))) / (select extract(epoch from '2026-07-28 04:51:21'::timestamp) - extract(epoch from '2026-07-28 04:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.342205 -2.802274)', '2026-07-28 04:51:30', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342335 -2.802424)'), GeomFromEWKT('SRID=4674;POINT (-40.342205 -2.802274)'))) / (select extract(epoch from '2026-07-28 04:51:30'::timestamp) - extract(epoch from '2026-07-28 04:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342335 -2.802424)'), GeomFromEWKT('SRID=4674;POINT (-40.342205 -2.802274)'))) / (select extract(epoch from '2026-07-28 04:51:30'::timestamp) - extract(epoch from '2026-07-28 04:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.342094 -2.802122)', '2026-07-28 04:51:39', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342205 -2.802274)'), GeomFromEWKT('SRID=4674;POINT (-40.342094 -2.802122)'))) / (select extract(epoch from '2026-07-28 04:51:39'::timestamp) - extract(epoch from '2026-07-28 04:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342205 -2.802274)'), GeomFromEWKT('SRID=4674;POINT (-40.342094 -2.802122)'))) / (select extract(epoch from '2026-07-28 04:51:39'::timestamp) - extract(epoch from '2026-07-28 04:51:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.341992 -2.802014)', '2026-07-28 04:51:47', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342094 -2.802122)'), GeomFromEWKT('SRID=4674;POINT (-40.341992 -2.802014)'))) / (select extract(epoch from '2026-07-28 04:51:47'::timestamp) - extract(epoch from '2026-07-28 04:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342094 -2.802122)'), GeomFromEWKT('SRID=4674;POINT (-40.341992 -2.802014)'))) / (select extract(epoch from '2026-07-28 04:51:47'::timestamp) - extract(epoch from '2026-07-28 04:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.341871 -2.801902)', '2026-07-28 04:51:56', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341992 -2.802014)'), GeomFromEWKT('SRID=4674;POINT (-40.341871 -2.801902)'))) / (select extract(epoch from '2026-07-28 04:51:56'::timestamp) - extract(epoch from '2026-07-28 04:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341992 -2.802014)'), GeomFromEWKT('SRID=4674;POINT (-40.341871 -2.801902)'))) / (select extract(epoch from '2026-07-28 04:51:56'::timestamp) - extract(epoch from '2026-07-28 04:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.341777 -2.801803)', '2026-07-28 04:52:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341871 -2.801902)'), GeomFromEWKT('SRID=4674;POINT (-40.341777 -2.801803)'))) / (select extract(epoch from '2026-07-28 04:52:03'::timestamp) - extract(epoch from '2026-07-28 04:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341871 -2.801902)'), GeomFromEWKT('SRID=4674;POINT (-40.341777 -2.801803)'))) / (select extract(epoch from '2026-07-28 04:52:03'::timestamp) - extract(epoch from '2026-07-28 04:51:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.34168 -2.801712)', '2026-07-28 04:52:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341777 -2.801803)'), GeomFromEWKT('SRID=4674;POINT (-40.34168 -2.801712)'))) / (select extract(epoch from '2026-07-28 04:52:10'::timestamp) - extract(epoch from '2026-07-28 04:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341777 -2.801803)'), GeomFromEWKT('SRID=4674;POINT (-40.34168 -2.801712)'))) / (select extract(epoch from '2026-07-28 04:52:10'::timestamp) - extract(epoch from '2026-07-28 04:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.34156 -2.801594)', '2026-07-28 04:52:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34168 -2.801712)'), GeomFromEWKT('SRID=4674;POINT (-40.34156 -2.801594)'))) / (select extract(epoch from '2026-07-28 04:52:18'::timestamp) - extract(epoch from '2026-07-28 04:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34168 -2.801712)'), GeomFromEWKT('SRID=4674;POINT (-40.34156 -2.801594)'))) / (select extract(epoch from '2026-07-28 04:52:18'::timestamp) - extract(epoch from '2026-07-28 04:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.341436 -2.801477)', '2026-07-28 04:52:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34156 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.341436 -2.801477)'))) / (select extract(epoch from '2026-07-28 04:52:26'::timestamp) - extract(epoch from '2026-07-28 04:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34156 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.341436 -2.801477)'))) / (select extract(epoch from '2026-07-28 04:52:26'::timestamp) - extract(epoch from '2026-07-28 04:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.341302 -2.801338)', '2026-07-28 04:52:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341436 -2.801477)'), GeomFromEWKT('SRID=4674;POINT (-40.341302 -2.801338)'))) / (select extract(epoch from '2026-07-28 04:52:36'::timestamp) - extract(epoch from '2026-07-28 04:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341436 -2.801477)'), GeomFromEWKT('SRID=4674;POINT (-40.341302 -2.801338)'))) / (select extract(epoch from '2026-07-28 04:52:36'::timestamp) - extract(epoch from '2026-07-28 04:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.341212 -2.80126)', '2026-07-28 04:52:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341302 -2.801338)'), GeomFromEWKT('SRID=4674;POINT (-40.341212 -2.80126)'))) / (select extract(epoch from '2026-07-28 04:52:43'::timestamp) - extract(epoch from '2026-07-28 04:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341302 -2.801338)'), GeomFromEWKT('SRID=4674;POINT (-40.341212 -2.80126)'))) / (select extract(epoch from '2026-07-28 04:52:43'::timestamp) - extract(epoch from '2026-07-28 04:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.341048 -2.801137)', '2026-07-28 04:52:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341212 -2.80126)'), GeomFromEWKT('SRID=4674;POINT (-40.341048 -2.801137)'))) / (select extract(epoch from '2026-07-28 04:52:53'::timestamp) - extract(epoch from '2026-07-28 04:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341212 -2.80126)'), GeomFromEWKT('SRID=4674;POINT (-40.341048 -2.801137)'))) / (select extract(epoch from '2026-07-28 04:52:53'::timestamp) - extract(epoch from '2026-07-28 04:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.340931 -2.801019)', '2026-07-28 04:53:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341048 -2.801137)'), GeomFromEWKT('SRID=4674;POINT (-40.340931 -2.801019)'))) / (select extract(epoch from '2026-07-28 04:53:01'::timestamp) - extract(epoch from '2026-07-28 04:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341048 -2.801137)'), GeomFromEWKT('SRID=4674;POINT (-40.340931 -2.801019)'))) / (select extract(epoch from '2026-07-28 04:53:01'::timestamp) - extract(epoch from '2026-07-28 04:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.340828 -2.800913)', '2026-07-28 04:53:08', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340931 -2.801019)'), GeomFromEWKT('SRID=4674;POINT (-40.340828 -2.800913)'))) / (select extract(epoch from '2026-07-28 04:53:08'::timestamp) - extract(epoch from '2026-07-28 04:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340931 -2.801019)'), GeomFromEWKT('SRID=4674;POINT (-40.340828 -2.800913)'))) / (select extract(epoch from '2026-07-28 04:53:08'::timestamp) - extract(epoch from '2026-07-28 04:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.340691 -2.800807)', '2026-07-28 04:53:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340828 -2.800913)'), GeomFromEWKT('SRID=4674;POINT (-40.340691 -2.800807)'))) / (select extract(epoch from '2026-07-28 04:53:17'::timestamp) - extract(epoch from '2026-07-28 04:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340828 -2.800913)'), GeomFromEWKT('SRID=4674;POINT (-40.340691 -2.800807)'))) / (select extract(epoch from '2026-07-28 04:53:17'::timestamp) - extract(epoch from '2026-07-28 04:53:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.340553 -2.800682)', '2026-07-28 04:53:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340691 -2.800807)'), GeomFromEWKT('SRID=4674;POINT (-40.340553 -2.800682)'))) / (select extract(epoch from '2026-07-28 04:53:26'::timestamp) - extract(epoch from '2026-07-28 04:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340691 -2.800807)'), GeomFromEWKT('SRID=4674;POINT (-40.340553 -2.800682)'))) / (select extract(epoch from '2026-07-28 04:53:26'::timestamp) - extract(epoch from '2026-07-28 04:53:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.340405 -2.800565)', '2026-07-28 04:53:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340553 -2.800682)'), GeomFromEWKT('SRID=4674;POINT (-40.340405 -2.800565)'))) / (select extract(epoch from '2026-07-28 04:53:35'::timestamp) - extract(epoch from '2026-07-28 04:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340553 -2.800682)'), GeomFromEWKT('SRID=4674;POINT (-40.340405 -2.800565)'))) / (select extract(epoch from '2026-07-28 04:53:35'::timestamp) - extract(epoch from '2026-07-28 04:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.340258 -2.800438)', '2026-07-28 04:53:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340405 -2.800565)'), GeomFromEWKT('SRID=4674;POINT (-40.340258 -2.800438)'))) / (select extract(epoch from '2026-07-28 04:53:44'::timestamp) - extract(epoch from '2026-07-28 04:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340405 -2.800565)'), GeomFromEWKT('SRID=4674;POINT (-40.340258 -2.800438)'))) / (select extract(epoch from '2026-07-28 04:53:44'::timestamp) - extract(epoch from '2026-07-28 04:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.340121 -2.800298)', '2026-07-28 04:53:53', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340258 -2.800438)'), GeomFromEWKT('SRID=4674;POINT (-40.340121 -2.800298)'))) / (select extract(epoch from '2026-07-28 04:53:53'::timestamp) - extract(epoch from '2026-07-28 04:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340258 -2.800438)'), GeomFromEWKT('SRID=4674;POINT (-40.340121 -2.800298)'))) / (select extract(epoch from '2026-07-28 04:53:53'::timestamp) - extract(epoch from '2026-07-28 04:53:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.340011 -2.800177)', '2026-07-28 04:54:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340121 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.340011 -2.800177)'))) / (select extract(epoch from '2026-07-28 04:54:01'::timestamp) - extract(epoch from '2026-07-28 04:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340121 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.340011 -2.800177)'))) / (select extract(epoch from '2026-07-28 04:54:01'::timestamp) - extract(epoch from '2026-07-28 04:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.339923 -2.800095)', '2026-07-28 04:54:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340011 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.339923 -2.800095)'))) / (select extract(epoch from '2026-07-28 04:54:07'::timestamp) - extract(epoch from '2026-07-28 04:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340011 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.339923 -2.800095)'))) / (select extract(epoch from '2026-07-28 04:54:07'::timestamp) - extract(epoch from '2026-07-28 04:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33981 -2.799965)', '2026-07-28 04:54:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339923 -2.800095)'), GeomFromEWKT('SRID=4674;POINT (-40.33981 -2.799965)'))) / (select extract(epoch from '2026-07-28 04:54:15'::timestamp) - extract(epoch from '2026-07-28 04:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339923 -2.800095)'), GeomFromEWKT('SRID=4674;POINT (-40.33981 -2.799965)'))) / (select extract(epoch from '2026-07-28 04:54:15'::timestamp) - extract(epoch from '2026-07-28 04:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.339701 -2.799858)', '2026-07-28 04:54:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33981 -2.799965)'), GeomFromEWKT('SRID=4674;POINT (-40.339701 -2.799858)'))) / (select extract(epoch from '2026-07-28 04:54:22'::timestamp) - extract(epoch from '2026-07-28 04:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33981 -2.799965)'), GeomFromEWKT('SRID=4674;POINT (-40.339701 -2.799858)'))) / (select extract(epoch from '2026-07-28 04:54:22'::timestamp) - extract(epoch from '2026-07-28 04:54:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.339576 -2.799737)', '2026-07-28 04:54:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339701 -2.799858)'), GeomFromEWKT('SRID=4674;POINT (-40.339576 -2.799737)'))) / (select extract(epoch from '2026-07-28 04:54:31'::timestamp) - extract(epoch from '2026-07-28 04:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339701 -2.799858)'), GeomFromEWKT('SRID=4674;POINT (-40.339576 -2.799737)'))) / (select extract(epoch from '2026-07-28 04:54:31'::timestamp) - extract(epoch from '2026-07-28 04:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.339473 -2.799594)', '2026-07-28 04:54:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339576 -2.799737)'), GeomFromEWKT('SRID=4674;POINT (-40.339473 -2.799594)'))) / (select extract(epoch from '2026-07-28 04:54:39'::timestamp) - extract(epoch from '2026-07-28 04:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339576 -2.799737)'), GeomFromEWKT('SRID=4674;POINT (-40.339473 -2.799594)'))) / (select extract(epoch from '2026-07-28 04:54:39'::timestamp) - extract(epoch from '2026-07-28 04:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.339377 -2.799433)', '2026-07-28 04:54:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339473 -2.799594)'), GeomFromEWKT('SRID=4674;POINT (-40.339377 -2.799433)'))) / (select extract(epoch from '2026-07-28 04:54:48'::timestamp) - extract(epoch from '2026-07-28 04:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339473 -2.799594)'), GeomFromEWKT('SRID=4674;POINT (-40.339377 -2.799433)'))) / (select extract(epoch from '2026-07-28 04:54:48'::timestamp) - extract(epoch from '2026-07-28 04:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.339303 -2.799325)', '2026-07-28 04:54:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339377 -2.799433)'), GeomFromEWKT('SRID=4674;POINT (-40.339303 -2.799325)'))) / (select extract(epoch from '2026-07-28 04:54:55'::timestamp) - extract(epoch from '2026-07-28 04:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339377 -2.799433)'), GeomFromEWKT('SRID=4674;POINT (-40.339303 -2.799325)'))) / (select extract(epoch from '2026-07-28 04:54:55'::timestamp) - extract(epoch from '2026-07-28 04:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.339222 -2.799184)', '2026-07-28 04:55:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339303 -2.799325)'), GeomFromEWKT('SRID=4674;POINT (-40.339222 -2.799184)'))) / (select extract(epoch from '2026-07-28 04:55:04'::timestamp) - extract(epoch from '2026-07-28 04:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339303 -2.799325)'), GeomFromEWKT('SRID=4674;POINT (-40.339222 -2.799184)'))) / (select extract(epoch from '2026-07-28 04:55:04'::timestamp) - extract(epoch from '2026-07-28 04:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33913 -2.799037)', '2026-07-28 04:55:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339222 -2.799184)'), GeomFromEWKT('SRID=4674;POINT (-40.33913 -2.799037)'))) / (select extract(epoch from '2026-07-28 04:55:12'::timestamp) - extract(epoch from '2026-07-28 04:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339222 -2.799184)'), GeomFromEWKT('SRID=4674;POINT (-40.33913 -2.799037)'))) / (select extract(epoch from '2026-07-28 04:55:12'::timestamp) - extract(epoch from '2026-07-28 04:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33902 -2.798909)', '2026-07-28 04:55:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33913 -2.799037)'), GeomFromEWKT('SRID=4674;POINT (-40.33902 -2.798909)'))) / (select extract(epoch from '2026-07-28 04:55:22'::timestamp) - extract(epoch from '2026-07-28 04:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33913 -2.799037)'), GeomFromEWKT('SRID=4674;POINT (-40.33902 -2.798909)'))) / (select extract(epoch from '2026-07-28 04:55:22'::timestamp) - extract(epoch from '2026-07-28 04:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33892 -2.798765)', '2026-07-28 04:55:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33902 -2.798909)'), GeomFromEWKT('SRID=4674;POINT (-40.33892 -2.798765)'))) / (select extract(epoch from '2026-07-28 04:55:30'::timestamp) - extract(epoch from '2026-07-28 04:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33902 -2.798909)'), GeomFromEWKT('SRID=4674;POINT (-40.33892 -2.798765)'))) / (select extract(epoch from '2026-07-28 04:55:30'::timestamp) - extract(epoch from '2026-07-28 04:55:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.338806 -2.79863)', '2026-07-28 04:55:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33892 -2.798765)'), GeomFromEWKT('SRID=4674;POINT (-40.338806 -2.79863)'))) / (select extract(epoch from '2026-07-28 04:55:38'::timestamp) - extract(epoch from '2026-07-28 04:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33892 -2.798765)'), GeomFromEWKT('SRID=4674;POINT (-40.338806 -2.79863)'))) / (select extract(epoch from '2026-07-28 04:55:38'::timestamp) - extract(epoch from '2026-07-28 04:55:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.338705 -2.798523)', '2026-07-28 04:55:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338806 -2.79863)'), GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.798523)'))) / (select extract(epoch from '2026-07-28 04:55:45'::timestamp) - extract(epoch from '2026-07-28 04:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338806 -2.79863)'), GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.798523)'))) / (select extract(epoch from '2026-07-28 04:55:45'::timestamp) - extract(epoch from '2026-07-28 04:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33858 -2.798388)', '2026-07-28 04:55:53', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.798523)'), GeomFromEWKT('SRID=4674;POINT (-40.33858 -2.798388)'))) / (select extract(epoch from '2026-07-28 04:55:53'::timestamp) - extract(epoch from '2026-07-28 04:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.798523)'), GeomFromEWKT('SRID=4674;POINT (-40.33858 -2.798388)'))) / (select extract(epoch from '2026-07-28 04:55:53'::timestamp) - extract(epoch from '2026-07-28 04:55:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.338467 -2.798309)', '2026-07-28 04:56:00', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33858 -2.798388)'), GeomFromEWKT('SRID=4674;POINT (-40.338467 -2.798309)'))) / (select extract(epoch from '2026-07-28 04:56:00'::timestamp) - extract(epoch from '2026-07-28 04:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33858 -2.798388)'), GeomFromEWKT('SRID=4674;POINT (-40.338467 -2.798309)'))) / (select extract(epoch from '2026-07-28 04:56:00'::timestamp) - extract(epoch from '2026-07-28 04:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33833 -2.798219)', '2026-07-28 04:56:08', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338467 -2.798309)'), GeomFromEWKT('SRID=4674;POINT (-40.33833 -2.798219)'))) / (select extract(epoch from '2026-07-28 04:56:08'::timestamp) - extract(epoch from '2026-07-28 04:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338467 -2.798309)'), GeomFromEWKT('SRID=4674;POINT (-40.33833 -2.798219)'))) / (select extract(epoch from '2026-07-28 04:56:08'::timestamp) - extract(epoch from '2026-07-28 04:56:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.338195 -2.798126)', '2026-07-28 04:56:16', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33833 -2.798219)'), GeomFromEWKT('SRID=4674;POINT (-40.338195 -2.798126)'))) / (select extract(epoch from '2026-07-28 04:56:16'::timestamp) - extract(epoch from '2026-07-28 04:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33833 -2.798219)'), GeomFromEWKT('SRID=4674;POINT (-40.338195 -2.798126)'))) / (select extract(epoch from '2026-07-28 04:56:16'::timestamp) - extract(epoch from '2026-07-28 04:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.338078 -2.798057)', '2026-07-28 04:56:23', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338195 -2.798126)'), GeomFromEWKT('SRID=4674;POINT (-40.338078 -2.798057)'))) / (select extract(epoch from '2026-07-28 04:56:23'::timestamp) - extract(epoch from '2026-07-28 04:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338195 -2.798126)'), GeomFromEWKT('SRID=4674;POINT (-40.338078 -2.798057)'))) / (select extract(epoch from '2026-07-28 04:56:23'::timestamp) - extract(epoch from '2026-07-28 04:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.337939 -2.797967)', '2026-07-28 04:56:31', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338078 -2.798057)'), GeomFromEWKT('SRID=4674;POINT (-40.337939 -2.797967)'))) / (select extract(epoch from '2026-07-28 04:56:31'::timestamp) - extract(epoch from '2026-07-28 04:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338078 -2.798057)'), GeomFromEWKT('SRID=4674;POINT (-40.337939 -2.797967)'))) / (select extract(epoch from '2026-07-28 04:56:31'::timestamp) - extract(epoch from '2026-07-28 04:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33782 -2.797898)', '2026-07-28 04:56:38', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337939 -2.797967)'), GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.797898)'))) / (select extract(epoch from '2026-07-28 04:56:38'::timestamp) - extract(epoch from '2026-07-28 04:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337939 -2.797967)'), GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.797898)'))) / (select extract(epoch from '2026-07-28 04:56:38'::timestamp) - extract(epoch from '2026-07-28 04:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.337673 -2.797752)', '2026-07-28 04:56:48', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.797898)'), GeomFromEWKT('SRID=4674;POINT (-40.337673 -2.797752)'))) / (select extract(epoch from '2026-07-28 04:56:48'::timestamp) - extract(epoch from '2026-07-28 04:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.797898)'), GeomFromEWKT('SRID=4674;POINT (-40.337673 -2.797752)'))) / (select extract(epoch from '2026-07-28 04:56:48'::timestamp) - extract(epoch from '2026-07-28 04:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33754 -2.79763)', '2026-07-28 04:56:56', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337673 -2.797752)'), GeomFromEWKT('SRID=4674;POINT (-40.33754 -2.79763)'))) / (select extract(epoch from '2026-07-28 04:56:56'::timestamp) - extract(epoch from '2026-07-28 04:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337673 -2.797752)'), GeomFromEWKT('SRID=4674;POINT (-40.33754 -2.79763)'))) / (select extract(epoch from '2026-07-28 04:56:56'::timestamp) - extract(epoch from '2026-07-28 04:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.337432 -2.797516)', '2026-07-28 04:57:03', -9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33754 -2.79763)'), GeomFromEWKT('SRID=4674;POINT (-40.337432 -2.797516)'))) / (select extract(epoch from '2026-07-28 04:57:03'::timestamp) - extract(epoch from '2026-07-28 04:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33754 -2.79763)'), GeomFromEWKT('SRID=4674;POINT (-40.337432 -2.797516)'))) / (select extract(epoch from '2026-07-28 04:57:03'::timestamp) - extract(epoch from '2026-07-28 04:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.337313 -2.79739)', '2026-07-28 04:57:11', -11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337432 -2.797516)'), GeomFromEWKT('SRID=4674;POINT (-40.337313 -2.79739)'))) / (select extract(epoch from '2026-07-28 04:57:11'::timestamp) - extract(epoch from '2026-07-28 04:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337432 -2.797516)'), GeomFromEWKT('SRID=4674;POINT (-40.337313 -2.79739)'))) / (select extract(epoch from '2026-07-28 04:57:11'::timestamp) - extract(epoch from '2026-07-28 04:57:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.337207 -2.797302)', '2026-07-28 04:57:18', -10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337313 -2.79739)'), GeomFromEWKT('SRID=4674;POINT (-40.337207 -2.797302)'))) / (select extract(epoch from '2026-07-28 04:57:18'::timestamp) - extract(epoch from '2026-07-28 04:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337313 -2.79739)'), GeomFromEWKT('SRID=4674;POINT (-40.337207 -2.797302)'))) / (select extract(epoch from '2026-07-28 04:57:18'::timestamp) - extract(epoch from '2026-07-28 04:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.337099 -2.797213)', '2026-07-28 04:57:25', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337207 -2.797302)'), GeomFromEWKT('SRID=4674;POINT (-40.337099 -2.797213)'))) / (select extract(epoch from '2026-07-28 04:57:25'::timestamp) - extract(epoch from '2026-07-28 04:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337207 -2.797302)'), GeomFromEWKT('SRID=4674;POINT (-40.337099 -2.797213)'))) / (select extract(epoch from '2026-07-28 04:57:25'::timestamp) - extract(epoch from '2026-07-28 04:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.336994 -2.797133)', '2026-07-28 04:57:32', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337099 -2.797213)'), GeomFromEWKT('SRID=4674;POINT (-40.336994 -2.797133)'))) / (select extract(epoch from '2026-07-28 04:57:32'::timestamp) - extract(epoch from '2026-07-28 04:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337099 -2.797213)'), GeomFromEWKT('SRID=4674;POINT (-40.336994 -2.797133)'))) / (select extract(epoch from '2026-07-28 04:57:32'::timestamp) - extract(epoch from '2026-07-28 04:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.336853 -2.796962)', '2026-07-28 04:57:43', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336994 -2.797133)'), GeomFromEWKT('SRID=4674;POINT (-40.336853 -2.796962)'))) / (select extract(epoch from '2026-07-28 04:57:43'::timestamp) - extract(epoch from '2026-07-28 04:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336994 -2.797133)'), GeomFromEWKT('SRID=4674;POINT (-40.336853 -2.796962)'))) / (select extract(epoch from '2026-07-28 04:57:43'::timestamp) - extract(epoch from '2026-07-28 04:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.336716 -2.796799)', '2026-07-28 04:57:53', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336853 -2.796962)'), GeomFromEWKT('SRID=4674;POINT (-40.336716 -2.796799)'))) / (select extract(epoch from '2026-07-28 04:57:53'::timestamp) - extract(epoch from '2026-07-28 04:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336853 -2.796962)'), GeomFromEWKT('SRID=4674;POINT (-40.336716 -2.796799)'))) / (select extract(epoch from '2026-07-28 04:57:53'::timestamp) - extract(epoch from '2026-07-28 04:57:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.336574 -2.796633)', '2026-07-28 04:58:03', -9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336716 -2.796799)'), GeomFromEWKT('SRID=4674;POINT (-40.336574 -2.796633)'))) / (select extract(epoch from '2026-07-28 04:58:03'::timestamp) - extract(epoch from '2026-07-28 04:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336716 -2.796799)'), GeomFromEWKT('SRID=4674;POINT (-40.336574 -2.796633)'))) / (select extract(epoch from '2026-07-28 04:58:03'::timestamp) - extract(epoch from '2026-07-28 04:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.336479 -2.796498)', '2026-07-28 04:58:11', -8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336574 -2.796633)'), GeomFromEWKT('SRID=4674;POINT (-40.336479 -2.796498)'))) / (select extract(epoch from '2026-07-28 04:58:11'::timestamp) - extract(epoch from '2026-07-28 04:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336574 -2.796633)'), GeomFromEWKT('SRID=4674;POINT (-40.336479 -2.796498)'))) / (select extract(epoch from '2026-07-28 04:58:11'::timestamp) - extract(epoch from '2026-07-28 04:58:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.336395 -2.796378)', '2026-07-28 04:58:19', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336479 -2.796498)'), GeomFromEWKT('SRID=4674;POINT (-40.336395 -2.796378)'))) / (select extract(epoch from '2026-07-28 04:58:19'::timestamp) - extract(epoch from '2026-07-28 04:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336479 -2.796498)'), GeomFromEWKT('SRID=4674;POINT (-40.336395 -2.796378)'))) / (select extract(epoch from '2026-07-28 04:58:19'::timestamp) - extract(epoch from '2026-07-28 04:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.336284 -2.796242)', '2026-07-28 04:58:29', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336395 -2.796378)'), GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.796242)'))) / (select extract(epoch from '2026-07-28 04:58:29'::timestamp) - extract(epoch from '2026-07-28 04:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336395 -2.796378)'), GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.796242)'))) / (select extract(epoch from '2026-07-28 04:58:29'::timestamp) - extract(epoch from '2026-07-28 04:58:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.336195 -2.796105)', '2026-07-28 04:58:37', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.796242)'), GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.796105)'))) / (select extract(epoch from '2026-07-28 04:58:37'::timestamp) - extract(epoch from '2026-07-28 04:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.796242)'), GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.796105)'))) / (select extract(epoch from '2026-07-28 04:58:37'::timestamp) - extract(epoch from '2026-07-28 04:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.336115 -2.795994)', '2026-07-28 04:58:44', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.796105)'), GeomFromEWKT('SRID=4674;POINT (-40.336115 -2.795994)'))) / (select extract(epoch from '2026-07-28 04:58:44'::timestamp) - extract(epoch from '2026-07-28 04:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.796105)'), GeomFromEWKT('SRID=4674;POINT (-40.336115 -2.795994)'))) / (select extract(epoch from '2026-07-28 04:58:44'::timestamp) - extract(epoch from '2026-07-28 04:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.335998 -2.795859)', '2026-07-28 04:58:53', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336115 -2.795994)'), GeomFromEWKT('SRID=4674;POINT (-40.335998 -2.795859)'))) / (select extract(epoch from '2026-07-28 04:58:53'::timestamp) - extract(epoch from '2026-07-28 04:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336115 -2.795994)'), GeomFromEWKT('SRID=4674;POINT (-40.335998 -2.795859)'))) / (select extract(epoch from '2026-07-28 04:58:53'::timestamp) - extract(epoch from '2026-07-28 04:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33591 -2.795776)', '2026-07-28 04:59:00', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335998 -2.795859)'), GeomFromEWKT('SRID=4674;POINT (-40.33591 -2.795776)'))) / (select extract(epoch from '2026-07-28 04:59:00'::timestamp) - extract(epoch from '2026-07-28 04:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335998 -2.795859)'), GeomFromEWKT('SRID=4674;POINT (-40.33591 -2.795776)'))) / (select extract(epoch from '2026-07-28 04:59:00'::timestamp) - extract(epoch from '2026-07-28 04:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.335796 -2.795679)', '2026-07-28 04:59:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33591 -2.795776)'), GeomFromEWKT('SRID=4674;POINT (-40.335796 -2.795679)'))) / (select extract(epoch from '2026-07-28 04:59:08'::timestamp) - extract(epoch from '2026-07-28 04:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33591 -2.795776)'), GeomFromEWKT('SRID=4674;POINT (-40.335796 -2.795679)'))) / (select extract(epoch from '2026-07-28 04:59:08'::timestamp) - extract(epoch from '2026-07-28 04:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.335688 -2.795561)', '2026-07-28 04:59:16', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335796 -2.795679)'), GeomFromEWKT('SRID=4674;POINT (-40.335688 -2.795561)'))) / (select extract(epoch from '2026-07-28 04:59:16'::timestamp) - extract(epoch from '2026-07-28 04:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335796 -2.795679)'), GeomFromEWKT('SRID=4674;POINT (-40.335688 -2.795561)'))) / (select extract(epoch from '2026-07-28 04:59:16'::timestamp) - extract(epoch from '2026-07-28 04:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33556 -2.795424)', '2026-07-28 04:59:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335688 -2.795561)'), GeomFromEWKT('SRID=4674;POINT (-40.33556 -2.795424)'))) / (select extract(epoch from '2026-07-28 04:59:25'::timestamp) - extract(epoch from '2026-07-28 04:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335688 -2.795561)'), GeomFromEWKT('SRID=4674;POINT (-40.33556 -2.795424)'))) / (select extract(epoch from '2026-07-28 04:59:25'::timestamp) - extract(epoch from '2026-07-28 04:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.335396 -2.795262)', '2026-07-28 04:59:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33556 -2.795424)'), GeomFromEWKT('SRID=4674;POINT (-40.335396 -2.795262)'))) / (select extract(epoch from '2026-07-28 04:59:36'::timestamp) - extract(epoch from '2026-07-28 04:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33556 -2.795424)'), GeomFromEWKT('SRID=4674;POINT (-40.335396 -2.795262)'))) / (select extract(epoch from '2026-07-28 04:59:36'::timestamp) - extract(epoch from '2026-07-28 04:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.335301 -2.795152)', '2026-07-28 04:59:44', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335396 -2.795262)'), GeomFromEWKT('SRID=4674;POINT (-40.335301 -2.795152)'))) / (select extract(epoch from '2026-07-28 04:59:44'::timestamp) - extract(epoch from '2026-07-28 04:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335396 -2.795262)'), GeomFromEWKT('SRID=4674;POINT (-40.335301 -2.795152)'))) / (select extract(epoch from '2026-07-28 04:59:44'::timestamp) - extract(epoch from '2026-07-28 04:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.335206 -2.795062)', '2026-07-28 04:59:51', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335301 -2.795152)'), GeomFromEWKT('SRID=4674;POINT (-40.335206 -2.795062)'))) / (select extract(epoch from '2026-07-28 04:59:51'::timestamp) - extract(epoch from '2026-07-28 04:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335301 -2.795152)'), GeomFromEWKT('SRID=4674;POINT (-40.335206 -2.795062)'))) / (select extract(epoch from '2026-07-28 04:59:51'::timestamp) - extract(epoch from '2026-07-28 04:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.335114 -2.794971)', '2026-07-28 04:59:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335206 -2.795062)'), GeomFromEWKT('SRID=4674;POINT (-40.335114 -2.794971)'))) / (select extract(epoch from '2026-07-28 04:59:58'::timestamp) - extract(epoch from '2026-07-28 04:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335206 -2.795062)'), GeomFromEWKT('SRID=4674;POINT (-40.335114 -2.794971)'))) / (select extract(epoch from '2026-07-28 04:59:58'::timestamp) - extract(epoch from '2026-07-28 04:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.335006 -2.79483)', '2026-07-28 05:00:07', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335114 -2.794971)'), GeomFromEWKT('SRID=4674;POINT (-40.335006 -2.79483)'))) / (select extract(epoch from '2026-07-28 05:00:07'::timestamp) - extract(epoch from '2026-07-28 04:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335114 -2.794971)'), GeomFromEWKT('SRID=4674;POINT (-40.335006 -2.79483)'))) / (select extract(epoch from '2026-07-28 05:00:07'::timestamp) - extract(epoch from '2026-07-28 04:59:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.334898 -2.794676)', '2026-07-28 05:00:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335006 -2.79483)'), GeomFromEWKT('SRID=4674;POINT (-40.334898 -2.794676)'))) / (select extract(epoch from '2026-07-28 05:00:16'::timestamp) - extract(epoch from '2026-07-28 05:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335006 -2.79483)'), GeomFromEWKT('SRID=4674;POINT (-40.334898 -2.794676)'))) / (select extract(epoch from '2026-07-28 05:00:16'::timestamp) - extract(epoch from '2026-07-28 05:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.334815 -2.794561)', '2026-07-28 05:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334898 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.334815 -2.794561)'))) / (select extract(epoch from '2026-07-28 05:00:23'::timestamp) - extract(epoch from '2026-07-28 05:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334898 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.334815 -2.794561)'))) / (select extract(epoch from '2026-07-28 05:00:23'::timestamp) - extract(epoch from '2026-07-28 05:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.334648 -2.794366)', '2026-07-28 05:00:35', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334815 -2.794561)'), GeomFromEWKT('SRID=4674;POINT (-40.334648 -2.794366)'))) / (select extract(epoch from '2026-07-28 05:00:35'::timestamp) - extract(epoch from '2026-07-28 05:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334815 -2.794561)'), GeomFromEWKT('SRID=4674;POINT (-40.334648 -2.794366)'))) / (select extract(epoch from '2026-07-28 05:00:35'::timestamp) - extract(epoch from '2026-07-28 05:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.334542 -2.794239)', '2026-07-28 05:00:43', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334648 -2.794366)'), GeomFromEWKT('SRID=4674;POINT (-40.334542 -2.794239)'))) / (select extract(epoch from '2026-07-28 05:00:43'::timestamp) - extract(epoch from '2026-07-28 05:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334648 -2.794366)'), GeomFromEWKT('SRID=4674;POINT (-40.334542 -2.794239)'))) / (select extract(epoch from '2026-07-28 05:00:43'::timestamp) - extract(epoch from '2026-07-28 05:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.334444 -2.794112)', '2026-07-28 05:00:51', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334542 -2.794239)'), GeomFromEWKT('SRID=4674;POINT (-40.334444 -2.794112)'))) / (select extract(epoch from '2026-07-28 05:00:51'::timestamp) - extract(epoch from '2026-07-28 05:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334542 -2.794239)'), GeomFromEWKT('SRID=4674;POINT (-40.334444 -2.794112)'))) / (select extract(epoch from '2026-07-28 05:00:51'::timestamp) - extract(epoch from '2026-07-28 05:00:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.334369 -2.793951)', '2026-07-28 05:01:00', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334444 -2.794112)'), GeomFromEWKT('SRID=4674;POINT (-40.334369 -2.793951)'))) / (select extract(epoch from '2026-07-28 05:01:00'::timestamp) - extract(epoch from '2026-07-28 05:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334444 -2.794112)'), GeomFromEWKT('SRID=4674;POINT (-40.334369 -2.793951)'))) / (select extract(epoch from '2026-07-28 05:01:00'::timestamp) - extract(epoch from '2026-07-28 05:00:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.334289 -2.793785)', '2026-07-28 05:01:09', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334369 -2.793951)'), GeomFromEWKT('SRID=4674;POINT (-40.334289 -2.793785)'))) / (select extract(epoch from '2026-07-28 05:01:09'::timestamp) - extract(epoch from '2026-07-28 05:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334369 -2.793951)'), GeomFromEWKT('SRID=4674;POINT (-40.334289 -2.793785)'))) / (select extract(epoch from '2026-07-28 05:01:09'::timestamp) - extract(epoch from '2026-07-28 05:01:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.334206 -2.79365)', '2026-07-28 05:01:17', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334289 -2.793785)'), GeomFromEWKT('SRID=4674;POINT (-40.334206 -2.79365)'))) / (select extract(epoch from '2026-07-28 05:01:17'::timestamp) - extract(epoch from '2026-07-28 05:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334289 -2.793785)'), GeomFromEWKT('SRID=4674;POINT (-40.334206 -2.79365)'))) / (select extract(epoch from '2026-07-28 05:01:17'::timestamp) - extract(epoch from '2026-07-28 05:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.334104 -2.793529)', '2026-07-28 05:01:25', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334206 -2.79365)'), GeomFromEWKT('SRID=4674;POINT (-40.334104 -2.793529)'))) / (select extract(epoch from '2026-07-28 05:01:25'::timestamp) - extract(epoch from '2026-07-28 05:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334206 -2.79365)'), GeomFromEWKT('SRID=4674;POINT (-40.334104 -2.793529)'))) / (select extract(epoch from '2026-07-28 05:01:25'::timestamp) - extract(epoch from '2026-07-28 05:01:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.333985 -2.793421)', '2026-07-28 05:01:33', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334104 -2.793529)'), GeomFromEWKT('SRID=4674;POINT (-40.333985 -2.793421)'))) / (select extract(epoch from '2026-07-28 05:01:33'::timestamp) - extract(epoch from '2026-07-28 05:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334104 -2.793529)'), GeomFromEWKT('SRID=4674;POINT (-40.333985 -2.793421)'))) / (select extract(epoch from '2026-07-28 05:01:33'::timestamp) - extract(epoch from '2026-07-28 05:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.333833 -2.793309)', '2026-07-28 05:01:42', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333985 -2.793421)'), GeomFromEWKT('SRID=4674;POINT (-40.333833 -2.793309)'))) / (select extract(epoch from '2026-07-28 05:01:42'::timestamp) - extract(epoch from '2026-07-28 05:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333985 -2.793421)'), GeomFromEWKT('SRID=4674;POINT (-40.333833 -2.793309)'))) / (select extract(epoch from '2026-07-28 05:01:42'::timestamp) - extract(epoch from '2026-07-28 05:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.333712 -2.793225)', '2026-07-28 05:01:50', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333833 -2.793309)'), GeomFromEWKT('SRID=4674;POINT (-40.333712 -2.793225)'))) / (select extract(epoch from '2026-07-28 05:01:50'::timestamp) - extract(epoch from '2026-07-28 05:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333833 -2.793309)'), GeomFromEWKT('SRID=4674;POINT (-40.333712 -2.793225)'))) / (select extract(epoch from '2026-07-28 05:01:50'::timestamp) - extract(epoch from '2026-07-28 05:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.333597 -2.793118)', '2026-07-28 05:01:58', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333712 -2.793225)'), GeomFromEWKT('SRID=4674;POINT (-40.333597 -2.793118)'))) / (select extract(epoch from '2026-07-28 05:01:58'::timestamp) - extract(epoch from '2026-07-28 05:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333712 -2.793225)'), GeomFromEWKT('SRID=4674;POINT (-40.333597 -2.793118)'))) / (select extract(epoch from '2026-07-28 05:01:58'::timestamp) - extract(epoch from '2026-07-28 05:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.333505 -2.793044)', '2026-07-28 05:02:04', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333597 -2.793118)'), GeomFromEWKT('SRID=4674;POINT (-40.333505 -2.793044)'))) / (select extract(epoch from '2026-07-28 05:02:04'::timestamp) - extract(epoch from '2026-07-28 05:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333597 -2.793118)'), GeomFromEWKT('SRID=4674;POINT (-40.333505 -2.793044)'))) / (select extract(epoch from '2026-07-28 05:02:04'::timestamp) - extract(epoch from '2026-07-28 05:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.333392 -2.79292)', '2026-07-28 05:02:12', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333505 -2.793044)'), GeomFromEWKT('SRID=4674;POINT (-40.333392 -2.79292)'))) / (select extract(epoch from '2026-07-28 05:02:12'::timestamp) - extract(epoch from '2026-07-28 05:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333505 -2.793044)'), GeomFromEWKT('SRID=4674;POINT (-40.333392 -2.79292)'))) / (select extract(epoch from '2026-07-28 05:02:12'::timestamp) - extract(epoch from '2026-07-28 05:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33331 -2.792836)', '2026-07-28 05:02:19', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333392 -2.79292)'), GeomFromEWKT('SRID=4674;POINT (-40.33331 -2.792836)'))) / (select extract(epoch from '2026-07-28 05:02:19'::timestamp) - extract(epoch from '2026-07-28 05:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333392 -2.79292)'), GeomFromEWKT('SRID=4674;POINT (-40.33331 -2.792836)'))) / (select extract(epoch from '2026-07-28 05:02:19'::timestamp) - extract(epoch from '2026-07-28 05:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.333205 -2.792731)', '2026-07-28 05:02:27', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33331 -2.792836)'), GeomFromEWKT('SRID=4674;POINT (-40.333205 -2.792731)'))) / (select extract(epoch from '2026-07-28 05:02:27'::timestamp) - extract(epoch from '2026-07-28 05:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33331 -2.792836)'), GeomFromEWKT('SRID=4674;POINT (-40.333205 -2.792731)'))) / (select extract(epoch from '2026-07-28 05:02:27'::timestamp) - extract(epoch from '2026-07-28 05:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.333076 -2.792606)', '2026-07-28 05:02:35', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333205 -2.792731)'), GeomFromEWKT('SRID=4674;POINT (-40.333076 -2.792606)'))) / (select extract(epoch from '2026-07-28 05:02:35'::timestamp) - extract(epoch from '2026-07-28 05:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333205 -2.792731)'), GeomFromEWKT('SRID=4674;POINT (-40.333076 -2.792606)'))) / (select extract(epoch from '2026-07-28 05:02:35'::timestamp) - extract(epoch from '2026-07-28 05:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.332962 -2.792485)', '2026-07-28 05:02:43', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333076 -2.792606)'), GeomFromEWKT('SRID=4674;POINT (-40.332962 -2.792485)'))) / (select extract(epoch from '2026-07-28 05:02:43'::timestamp) - extract(epoch from '2026-07-28 05:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333076 -2.792606)'), GeomFromEWKT('SRID=4674;POINT (-40.332962 -2.792485)'))) / (select extract(epoch from '2026-07-28 05:02:43'::timestamp) - extract(epoch from '2026-07-28 05:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.332848 -2.79236)', '2026-07-28 05:02:51', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332962 -2.792485)'), GeomFromEWKT('SRID=4674;POINT (-40.332848 -2.79236)'))) / (select extract(epoch from '2026-07-28 05:02:51'::timestamp) - extract(epoch from '2026-07-28 05:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332962 -2.792485)'), GeomFromEWKT('SRID=4674;POINT (-40.332848 -2.79236)'))) / (select extract(epoch from '2026-07-28 05:02:51'::timestamp) - extract(epoch from '2026-07-28 05:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.332737 -2.792252)', '2026-07-28 05:02:58', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332848 -2.79236)'), GeomFromEWKT('SRID=4674;POINT (-40.332737 -2.792252)'))) / (select extract(epoch from '2026-07-28 05:02:58'::timestamp) - extract(epoch from '2026-07-28 05:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332848 -2.79236)'), GeomFromEWKT('SRID=4674;POINT (-40.332737 -2.792252)'))) / (select extract(epoch from '2026-07-28 05:02:58'::timestamp) - extract(epoch from '2026-07-28 05:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.332648 -2.79216)', '2026-07-28 05:03:05', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332737 -2.792252)'), GeomFromEWKT('SRID=4674;POINT (-40.332648 -2.79216)'))) / (select extract(epoch from '2026-07-28 05:03:05'::timestamp) - extract(epoch from '2026-07-28 05:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332737 -2.792252)'), GeomFromEWKT('SRID=4674;POINT (-40.332648 -2.79216)'))) / (select extract(epoch from '2026-07-28 05:03:05'::timestamp) - extract(epoch from '2026-07-28 05:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.332561 -2.792088)', '2026-07-28 05:03:11', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332648 -2.79216)'), GeomFromEWKT('SRID=4674;POINT (-40.332561 -2.792088)'))) / (select extract(epoch from '2026-07-28 05:03:11'::timestamp) - extract(epoch from '2026-07-28 05:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332648 -2.79216)'), GeomFromEWKT('SRID=4674;POINT (-40.332561 -2.792088)'))) / (select extract(epoch from '2026-07-28 05:03:11'::timestamp) - extract(epoch from '2026-07-28 05:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.332469 -2.79199)', '2026-07-28 05:03:18', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332561 -2.792088)'), GeomFromEWKT('SRID=4674;POINT (-40.332469 -2.79199)'))) / (select extract(epoch from '2026-07-28 05:03:18'::timestamp) - extract(epoch from '2026-07-28 05:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332561 -2.792088)'), GeomFromEWKT('SRID=4674;POINT (-40.332469 -2.79199)'))) / (select extract(epoch from '2026-07-28 05:03:18'::timestamp) - extract(epoch from '2026-07-28 05:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.332317 -2.791893)', '2026-07-28 05:03:27', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332469 -2.79199)'), GeomFromEWKT('SRID=4674;POINT (-40.332317 -2.791893)'))) / (select extract(epoch from '2026-07-28 05:03:27'::timestamp) - extract(epoch from '2026-07-28 05:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332469 -2.79199)'), GeomFromEWKT('SRID=4674;POINT (-40.332317 -2.791893)'))) / (select extract(epoch from '2026-07-28 05:03:27'::timestamp) - extract(epoch from '2026-07-28 05:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.332221 -2.791793)', '2026-07-28 05:03:35', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332317 -2.791893)'), GeomFromEWKT('SRID=4674;POINT (-40.332221 -2.791793)'))) / (select extract(epoch from '2026-07-28 05:03:35'::timestamp) - extract(epoch from '2026-07-28 05:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332317 -2.791893)'), GeomFromEWKT('SRID=4674;POINT (-40.332221 -2.791793)'))) / (select extract(epoch from '2026-07-28 05:03:35'::timestamp) - extract(epoch from '2026-07-28 05:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.332122 -2.791693)', '2026-07-28 05:03:43', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332221 -2.791793)'), GeomFromEWKT('SRID=4674;POINT (-40.332122 -2.791693)'))) / (select extract(epoch from '2026-07-28 05:03:43'::timestamp) - extract(epoch from '2026-07-28 05:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332221 -2.791793)'), GeomFromEWKT('SRID=4674;POINT (-40.332122 -2.791693)'))) / (select extract(epoch from '2026-07-28 05:03:43'::timestamp) - extract(epoch from '2026-07-28 05:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.331987 -2.791588)', '2026-07-28 05:03:52', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332122 -2.791693)'), GeomFromEWKT('SRID=4674;POINT (-40.331987 -2.791588)'))) / (select extract(epoch from '2026-07-28 05:03:52'::timestamp) - extract(epoch from '2026-07-28 05:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332122 -2.791693)'), GeomFromEWKT('SRID=4674;POINT (-40.331987 -2.791588)'))) / (select extract(epoch from '2026-07-28 05:03:52'::timestamp) - extract(epoch from '2026-07-28 05:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.331865 -2.791487)', '2026-07-28 05:04:00', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331987 -2.791588)'), GeomFromEWKT('SRID=4674;POINT (-40.331865 -2.791487)'))) / (select extract(epoch from '2026-07-28 05:04:00'::timestamp) - extract(epoch from '2026-07-28 05:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331987 -2.791588)'), GeomFromEWKT('SRID=4674;POINT (-40.331865 -2.791487)'))) / (select extract(epoch from '2026-07-28 05:04:00'::timestamp) - extract(epoch from '2026-07-28 05:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33173 -2.791383)', '2026-07-28 05:04:08', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331865 -2.791487)'), GeomFromEWKT('SRID=4674;POINT (-40.33173 -2.791383)'))) / (select extract(epoch from '2026-07-28 05:04:08'::timestamp) - extract(epoch from '2026-07-28 05:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331865 -2.791487)'), GeomFromEWKT('SRID=4674;POINT (-40.33173 -2.791383)'))) / (select extract(epoch from '2026-07-28 05:04:08'::timestamp) - extract(epoch from '2026-07-28 05:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.331574 -2.791294)', '2026-07-28 05:04:17', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33173 -2.791383)'), GeomFromEWKT('SRID=4674;POINT (-40.331574 -2.791294)'))) / (select extract(epoch from '2026-07-28 05:04:17'::timestamp) - extract(epoch from '2026-07-28 05:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33173 -2.791383)'), GeomFromEWKT('SRID=4674;POINT (-40.331574 -2.791294)'))) / (select extract(epoch from '2026-07-28 05:04:17'::timestamp) - extract(epoch from '2026-07-28 05:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.331456 -2.791244)', '2026-07-28 05:04:25', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331574 -2.791294)'), GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.791244)'))) / (select extract(epoch from '2026-07-28 05:04:25'::timestamp) - extract(epoch from '2026-07-28 05:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331574 -2.791294)'), GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.791244)'))) / (select extract(epoch from '2026-07-28 05:04:25'::timestamp) - extract(epoch from '2026-07-28 05:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.33137 -2.791211)', '2026-07-28 05:04:31', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.791244)'), GeomFromEWKT('SRID=4674;POINT (-40.33137 -2.791211)'))) / (select extract(epoch from '2026-07-28 05:04:31'::timestamp) - extract(epoch from '2026-07-28 05:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.791244)'), GeomFromEWKT('SRID=4674;POINT (-40.33137 -2.791211)'))) / (select extract(epoch from '2026-07-28 05:04:31'::timestamp) - extract(epoch from '2026-07-28 05:04:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.331257 -2.791129)', '2026-07-28 05:04:38', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33137 -2.791211)'), GeomFromEWKT('SRID=4674;POINT (-40.331257 -2.791129)'))) / (select extract(epoch from '2026-07-28 05:04:38'::timestamp) - extract(epoch from '2026-07-28 05:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33137 -2.791211)'), GeomFromEWKT('SRID=4674;POINT (-40.331257 -2.791129)'))) / (select extract(epoch from '2026-07-28 05:04:38'::timestamp) - extract(epoch from '2026-07-28 05:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.331152 -2.791039)', '2026-07-28 05:04:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331257 -2.791129)'), GeomFromEWKT('SRID=4674;POINT (-40.331152 -2.791039)'))) / (select extract(epoch from '2026-07-28 05:04:45'::timestamp) - extract(epoch from '2026-07-28 05:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331257 -2.791129)'), GeomFromEWKT('SRID=4674;POINT (-40.331152 -2.791039)'))) / (select extract(epoch from '2026-07-28 05:04:45'::timestamp) - extract(epoch from '2026-07-28 05:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.331031 -2.790922)', '2026-07-28 05:04:53', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331152 -2.791039)'), GeomFromEWKT('SRID=4674;POINT (-40.331031 -2.790922)'))) / (select extract(epoch from '2026-07-28 05:04:53'::timestamp) - extract(epoch from '2026-07-28 05:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331152 -2.791039)'), GeomFromEWKT('SRID=4674;POINT (-40.331031 -2.790922)'))) / (select extract(epoch from '2026-07-28 05:04:53'::timestamp) - extract(epoch from '2026-07-28 05:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.330952 -2.790842)', '2026-07-28 05:05:00', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331031 -2.790922)'), GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.790842)'))) / (select extract(epoch from '2026-07-28 05:05:00'::timestamp) - extract(epoch from '2026-07-28 05:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331031 -2.790922)'), GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.790842)'))) / (select extract(epoch from '2026-07-28 05:05:00'::timestamp) - extract(epoch from '2026-07-28 05:04:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.330915 -2.790761)', '2026-07-28 05:05:06', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.790842)'), GeomFromEWKT('SRID=4674;POINT (-40.330915 -2.790761)'))) / (select extract(epoch from '2026-07-28 05:05:06'::timestamp) - extract(epoch from '2026-07-28 05:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.790842)'), GeomFromEWKT('SRID=4674;POINT (-40.330915 -2.790761)'))) / (select extract(epoch from '2026-07-28 05:05:06'::timestamp) - extract(epoch from '2026-07-28 05:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.330849 -2.790627)', '2026-07-28 05:05:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330915 -2.790761)'), GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.790627)'))) / (select extract(epoch from '2026-07-28 05:05:14'::timestamp) - extract(epoch from '2026-07-28 05:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330915 -2.790761)'), GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.790627)'))) / (select extract(epoch from '2026-07-28 05:05:14'::timestamp) - extract(epoch from '2026-07-28 05:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.330748 -2.790546)', '2026-07-28 05:05:20', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.790627)'), GeomFromEWKT('SRID=4674;POINT (-40.330748 -2.790546)'))) / (select extract(epoch from '2026-07-28 05:05:20'::timestamp) - extract(epoch from '2026-07-28 05:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.790627)'), GeomFromEWKT('SRID=4674;POINT (-40.330748 -2.790546)'))) / (select extract(epoch from '2026-07-28 05:05:20'::timestamp) - extract(epoch from '2026-07-28 05:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.330634 -2.790436)', '2026-07-28 05:05:27', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330748 -2.790546)'), GeomFromEWKT('SRID=4674;POINT (-40.330634 -2.790436)'))) / (select extract(epoch from '2026-07-28 05:05:27'::timestamp) - extract(epoch from '2026-07-28 05:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330748 -2.790546)'), GeomFromEWKT('SRID=4674;POINT (-40.330634 -2.790436)'))) / (select extract(epoch from '2026-07-28 05:05:27'::timestamp) - extract(epoch from '2026-07-28 05:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.330522 -2.790323)', '2026-07-28 05:05:34', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330634 -2.790436)'), GeomFromEWKT('SRID=4674;POINT (-40.330522 -2.790323)'))) / (select extract(epoch from '2026-07-28 05:05:34'::timestamp) - extract(epoch from '2026-07-28 05:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330634 -2.790436)'), GeomFromEWKT('SRID=4674;POINT (-40.330522 -2.790323)'))) / (select extract(epoch from '2026-07-28 05:05:34'::timestamp) - extract(epoch from '2026-07-28 05:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.330429 -2.790232)', '2026-07-28 05:05:41', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330522 -2.790323)'), GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.790232)'))) / (select extract(epoch from '2026-07-28 05:05:41'::timestamp) - extract(epoch from '2026-07-28 05:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330522 -2.790323)'), GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.790232)'))) / (select extract(epoch from '2026-07-28 05:05:41'::timestamp) - extract(epoch from '2026-07-28 05:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.330317 -2.790109)', '2026-07-28 05:05:50', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.790232)'), GeomFromEWKT('SRID=4674;POINT (-40.330317 -2.790109)'))) / (select extract(epoch from '2026-07-28 05:05:50'::timestamp) - extract(epoch from '2026-07-28 05:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.790232)'), GeomFromEWKT('SRID=4674;POINT (-40.330317 -2.790109)'))) / (select extract(epoch from '2026-07-28 05:05:50'::timestamp) - extract(epoch from '2026-07-28 05:05:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.330211 -2.789997)', '2026-07-28 05:05:58', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330317 -2.790109)'), GeomFromEWKT('SRID=4674;POINT (-40.330211 -2.789997)'))) / (select extract(epoch from '2026-07-28 05:05:58'::timestamp) - extract(epoch from '2026-07-28 05:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330317 -2.790109)'), GeomFromEWKT('SRID=4674;POINT (-40.330211 -2.789997)'))) / (select extract(epoch from '2026-07-28 05:05:58'::timestamp) - extract(epoch from '2026-07-28 05:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.330112 -2.789873)', '2026-07-28 05:06:06', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330211 -2.789997)'), GeomFromEWKT('SRID=4674;POINT (-40.330112 -2.789873)'))) / (select extract(epoch from '2026-07-28 05:06:06'::timestamp) - extract(epoch from '2026-07-28 05:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330211 -2.789997)'), GeomFromEWKT('SRID=4674;POINT (-40.330112 -2.789873)'))) / (select extract(epoch from '2026-07-28 05:06:06'::timestamp) - extract(epoch from '2026-07-28 05:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.330011 -2.789772)', '2026-07-28 05:06:13', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330112 -2.789873)'), GeomFromEWKT('SRID=4674;POINT (-40.330011 -2.789772)'))) / (select extract(epoch from '2026-07-28 05:06:13'::timestamp) - extract(epoch from '2026-07-28 05:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330112 -2.789873)'), GeomFromEWKT('SRID=4674;POINT (-40.330011 -2.789772)'))) / (select extract(epoch from '2026-07-28 05:06:13'::timestamp) - extract(epoch from '2026-07-28 05:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.329921 -2.789685)', '2026-07-28 05:06:20', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330011 -2.789772)'), GeomFromEWKT('SRID=4674;POINT (-40.329921 -2.789685)'))) / (select extract(epoch from '2026-07-28 05:06:20'::timestamp) - extract(epoch from '2026-07-28 05:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330011 -2.789772)'), GeomFromEWKT('SRID=4674;POINT (-40.329921 -2.789685)'))) / (select extract(epoch from '2026-07-28 05:06:20'::timestamp) - extract(epoch from '2026-07-28 05:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.329783 -2.789604)', '2026-07-28 05:06:28', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329921 -2.789685)'), GeomFromEWKT('SRID=4674;POINT (-40.329783 -2.789604)'))) / (select extract(epoch from '2026-07-28 05:06:28'::timestamp) - extract(epoch from '2026-07-28 05:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329921 -2.789685)'), GeomFromEWKT('SRID=4674;POINT (-40.329783 -2.789604)'))) / (select extract(epoch from '2026-07-28 05:06:28'::timestamp) - extract(epoch from '2026-07-28 05:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.329648 -2.789534)', '2026-07-28 05:06:36', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329783 -2.789604)'), GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.789534)'))) / (select extract(epoch from '2026-07-28 05:06:36'::timestamp) - extract(epoch from '2026-07-28 05:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329783 -2.789604)'), GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.789534)'))) / (select extract(epoch from '2026-07-28 05:06:36'::timestamp) - extract(epoch from '2026-07-28 05:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.329532 -2.789454)', '2026-07-28 05:06:44', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.789534)'), GeomFromEWKT('SRID=4674;POINT (-40.329532 -2.789454)'))) / (select extract(epoch from '2026-07-28 05:06:44'::timestamp) - extract(epoch from '2026-07-28 05:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.789534)'), GeomFromEWKT('SRID=4674;POINT (-40.329532 -2.789454)'))) / (select extract(epoch from '2026-07-28 05:06:44'::timestamp) - extract(epoch from '2026-07-28 05:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.329431 -2.789338)', '2026-07-28 05:06:52', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329532 -2.789454)'), GeomFromEWKT('SRID=4674;POINT (-40.329431 -2.789338)'))) / (select extract(epoch from '2026-07-28 05:06:52'::timestamp) - extract(epoch from '2026-07-28 05:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329532 -2.789454)'), GeomFromEWKT('SRID=4674;POINT (-40.329431 -2.789338)'))) / (select extract(epoch from '2026-07-28 05:06:52'::timestamp) - extract(epoch from '2026-07-28 05:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.329293 -2.789194)', '2026-07-28 05:07:01', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329431 -2.789338)'), GeomFromEWKT('SRID=4674;POINT (-40.329293 -2.789194)'))) / (select extract(epoch from '2026-07-28 05:07:01'::timestamp) - extract(epoch from '2026-07-28 05:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329431 -2.789338)'), GeomFromEWKT('SRID=4674;POINT (-40.329293 -2.789194)'))) / (select extract(epoch from '2026-07-28 05:07:01'::timestamp) - extract(epoch from '2026-07-28 05:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.329224 -2.789096)', '2026-07-28 05:07:07', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329293 -2.789194)'), GeomFromEWKT('SRID=4674;POINT (-40.329224 -2.789096)'))) / (select extract(epoch from '2026-07-28 05:07:07'::timestamp) - extract(epoch from '2026-07-28 05:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329293 -2.789194)'), GeomFromEWKT('SRID=4674;POINT (-40.329224 -2.789096)'))) / (select extract(epoch from '2026-07-28 05:07:07'::timestamp) - extract(epoch from '2026-07-28 05:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.329099 -2.788943)', '2026-07-28 05:07:15', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329224 -2.789096)'), GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.788943)'))) / (select extract(epoch from '2026-07-28 05:07:15'::timestamp) - extract(epoch from '2026-07-28 05:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329224 -2.789096)'), GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.788943)'))) / (select extract(epoch from '2026-07-28 05:07:15'::timestamp) - extract(epoch from '2026-07-28 05:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.32901 -2.788827)', '2026-07-28 05:07:22', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.788943)'), GeomFromEWKT('SRID=4674;POINT (-40.32901 -2.788827)'))) / (select extract(epoch from '2026-07-28 05:07:22'::timestamp) - extract(epoch from '2026-07-28 05:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.788943)'), GeomFromEWKT('SRID=4674;POINT (-40.32901 -2.788827)'))) / (select extract(epoch from '2026-07-28 05:07:22'::timestamp) - extract(epoch from '2026-07-28 05:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.328955 -2.788689)', '2026-07-28 05:07:30', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32901 -2.788827)'), GeomFromEWKT('SRID=4674;POINT (-40.328955 -2.788689)'))) / (select extract(epoch from '2026-07-28 05:07:30'::timestamp) - extract(epoch from '2026-07-28 05:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32901 -2.788827)'), GeomFromEWKT('SRID=4674;POINT (-40.328955 -2.788689)'))) / (select extract(epoch from '2026-07-28 05:07:30'::timestamp) - extract(epoch from '2026-07-28 05:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.328856 -2.788562)', '2026-07-28 05:07:38', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328955 -2.788689)'), GeomFromEWKT('SRID=4674;POINT (-40.328856 -2.788562)'))) / (select extract(epoch from '2026-07-28 05:07:38'::timestamp) - extract(epoch from '2026-07-28 05:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328955 -2.788689)'), GeomFromEWKT('SRID=4674;POINT (-40.328856 -2.788562)'))) / (select extract(epoch from '2026-07-28 05:07:38'::timestamp) - extract(epoch from '2026-07-28 05:07:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.328748 -2.788424)', '2026-07-28 05:07:46', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328856 -2.788562)'), GeomFromEWKT('SRID=4674;POINT (-40.328748 -2.788424)'))) / (select extract(epoch from '2026-07-28 05:07:46'::timestamp) - extract(epoch from '2026-07-28 05:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328856 -2.788562)'), GeomFromEWKT('SRID=4674;POINT (-40.328748 -2.788424)'))) / (select extract(epoch from '2026-07-28 05:07:46'::timestamp) - extract(epoch from '2026-07-28 05:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.328674 -2.788286)', '2026-07-28 05:07:53', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328748 -2.788424)'), GeomFromEWKT('SRID=4674;POINT (-40.328674 -2.788286)'))) / (select extract(epoch from '2026-07-28 05:07:53'::timestamp) - extract(epoch from '2026-07-28 05:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328748 -2.788424)'), GeomFromEWKT('SRID=4674;POINT (-40.328674 -2.788286)'))) / (select extract(epoch from '2026-07-28 05:07:53'::timestamp) - extract(epoch from '2026-07-28 05:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.328584 -2.788179)', '2026-07-28 05:08:00', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328674 -2.788286)'), GeomFromEWKT('SRID=4674;POINT (-40.328584 -2.788179)'))) / (select extract(epoch from '2026-07-28 05:08:00'::timestamp) - extract(epoch from '2026-07-28 05:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328674 -2.788286)'), GeomFromEWKT('SRID=4674;POINT (-40.328584 -2.788179)'))) / (select extract(epoch from '2026-07-28 05:08:00'::timestamp) - extract(epoch from '2026-07-28 05:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.328498 -2.788071)', '2026-07-28 05:08:07', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328584 -2.788179)'), GeomFromEWKT('SRID=4674;POINT (-40.328498 -2.788071)'))) / (select extract(epoch from '2026-07-28 05:08:07'::timestamp) - extract(epoch from '2026-07-28 05:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328584 -2.788179)'), GeomFromEWKT('SRID=4674;POINT (-40.328498 -2.788071)'))) / (select extract(epoch from '2026-07-28 05:08:07'::timestamp) - extract(epoch from '2026-07-28 05:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.328359 -2.787927)', '2026-07-28 05:08:16', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328498 -2.788071)'), GeomFromEWKT('SRID=4674;POINT (-40.328359 -2.787927)'))) / (select extract(epoch from '2026-07-28 05:08:16'::timestamp) - extract(epoch from '2026-07-28 05:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328498 -2.788071)'), GeomFromEWKT('SRID=4674;POINT (-40.328359 -2.787927)'))) / (select extract(epoch from '2026-07-28 05:08:16'::timestamp) - extract(epoch from '2026-07-28 05:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.328253 -2.78782)', '2026-07-28 05:08:23', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328359 -2.787927)'), GeomFromEWKT('SRID=4674;POINT (-40.328253 -2.78782)'))) / (select extract(epoch from '2026-07-28 05:08:23'::timestamp) - extract(epoch from '2026-07-28 05:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328359 -2.787927)'), GeomFromEWKT('SRID=4674;POINT (-40.328253 -2.78782)'))) / (select extract(epoch from '2026-07-28 05:08:23'::timestamp) - extract(epoch from '2026-07-28 05:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.328144 -2.787719)', '2026-07-28 05:08:30', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328253 -2.78782)'), GeomFromEWKT('SRID=4674;POINT (-40.328144 -2.787719)'))) / (select extract(epoch from '2026-07-28 05:08:30'::timestamp) - extract(epoch from '2026-07-28 05:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328253 -2.78782)'), GeomFromEWKT('SRID=4674;POINT (-40.328144 -2.787719)'))) / (select extract(epoch from '2026-07-28 05:08:30'::timestamp) - extract(epoch from '2026-07-28 05:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.328057 -2.787582)', '2026-07-28 05:08:39', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328144 -2.787719)'), GeomFromEWKT('SRID=4674;POINT (-40.328057 -2.787582)'))) / (select extract(epoch from '2026-07-28 05:08:39'::timestamp) - extract(epoch from '2026-07-28 05:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328144 -2.787719)'), GeomFromEWKT('SRID=4674;POINT (-40.328057 -2.787582)'))) / (select extract(epoch from '2026-07-28 05:08:39'::timestamp) - extract(epoch from '2026-07-28 05:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.328008 -2.787458)', '2026-07-28 05:08:46', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328057 -2.787582)'), GeomFromEWKT('SRID=4674;POINT (-40.328008 -2.787458)'))) / (select extract(epoch from '2026-07-28 05:08:46'::timestamp) - extract(epoch from '2026-07-28 05:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328057 -2.787582)'), GeomFromEWKT('SRID=4674;POINT (-40.328008 -2.787458)'))) / (select extract(epoch from '2026-07-28 05:08:46'::timestamp) - extract(epoch from '2026-07-28 05:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327912 -2.787332)', '2026-07-28 05:08:53', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328008 -2.787458)'), GeomFromEWKT('SRID=4674;POINT (-40.327912 -2.787332)'))) / (select extract(epoch from '2026-07-28 05:08:53'::timestamp) - extract(epoch from '2026-07-28 05:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328008 -2.787458)'), GeomFromEWKT('SRID=4674;POINT (-40.327912 -2.787332)'))) / (select extract(epoch from '2026-07-28 05:08:53'::timestamp) - extract(epoch from '2026-07-28 05:08:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327864 -2.787208)', '2026-07-28 05:09:00', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327912 -2.787332)'), GeomFromEWKT('SRID=4674;POINT (-40.327864 -2.787208)'))) / (select extract(epoch from '2026-07-28 05:09:00'::timestamp) - extract(epoch from '2026-07-28 05:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327912 -2.787332)'), GeomFromEWKT('SRID=4674;POINT (-40.327864 -2.787208)'))) / (select extract(epoch from '2026-07-28 05:09:00'::timestamp) - extract(epoch from '2026-07-28 05:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327781 -2.78705)', '2026-07-28 05:09:09', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327864 -2.787208)'), GeomFromEWKT('SRID=4674;POINT (-40.327781 -2.78705)'))) / (select extract(epoch from '2026-07-28 05:09:09'::timestamp) - extract(epoch from '2026-07-28 05:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327864 -2.787208)'), GeomFromEWKT('SRID=4674;POINT (-40.327781 -2.78705)'))) / (select extract(epoch from '2026-07-28 05:09:09'::timestamp) - extract(epoch from '2026-07-28 05:09:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327703 -2.786912)', '2026-07-28 05:09:16', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327781 -2.78705)'), GeomFromEWKT('SRID=4674;POINT (-40.327703 -2.786912)'))) / (select extract(epoch from '2026-07-28 05:09:16'::timestamp) - extract(epoch from '2026-07-28 05:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327781 -2.78705)'), GeomFromEWKT('SRID=4674;POINT (-40.327703 -2.786912)'))) / (select extract(epoch from '2026-07-28 05:09:16'::timestamp) - extract(epoch from '2026-07-28 05:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327622 -2.786787)', '2026-07-28 05:09:23', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327703 -2.786912)'), GeomFromEWKT('SRID=4674;POINT (-40.327622 -2.786787)'))) / (select extract(epoch from '2026-07-28 05:09:23'::timestamp) - extract(epoch from '2026-07-28 05:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327703 -2.786912)'), GeomFromEWKT('SRID=4674;POINT (-40.327622 -2.786787)'))) / (select extract(epoch from '2026-07-28 05:09:23'::timestamp) - extract(epoch from '2026-07-28 05:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327518 -2.786621)', '2026-07-28 05:09:32', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327622 -2.786787)'), GeomFromEWKT('SRID=4674;POINT (-40.327518 -2.786621)'))) / (select extract(epoch from '2026-07-28 05:09:32'::timestamp) - extract(epoch from '2026-07-28 05:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327622 -2.786787)'), GeomFromEWKT('SRID=4674;POINT (-40.327518 -2.786621)'))) / (select extract(epoch from '2026-07-28 05:09:32'::timestamp) - extract(epoch from '2026-07-28 05:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327445 -2.786499)', '2026-07-28 05:09:39', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327518 -2.786621)'), GeomFromEWKT('SRID=4674;POINT (-40.327445 -2.786499)'))) / (select extract(epoch from '2026-07-28 05:09:39'::timestamp) - extract(epoch from '2026-07-28 05:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327518 -2.786621)'), GeomFromEWKT('SRID=4674;POINT (-40.327445 -2.786499)'))) / (select extract(epoch from '2026-07-28 05:09:39'::timestamp) - extract(epoch from '2026-07-28 05:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327361 -2.786393)', '2026-07-28 05:09:46', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327445 -2.786499)'), GeomFromEWKT('SRID=4674;POINT (-40.327361 -2.786393)'))) / (select extract(epoch from '2026-07-28 05:09:46'::timestamp) - extract(epoch from '2026-07-28 05:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327445 -2.786499)'), GeomFromEWKT('SRID=4674;POINT (-40.327361 -2.786393)'))) / (select extract(epoch from '2026-07-28 05:09:46'::timestamp) - extract(epoch from '2026-07-28 05:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327317 -2.786292)', '2026-07-28 05:09:52', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327361 -2.786393)'), GeomFromEWKT('SRID=4674;POINT (-40.327317 -2.786292)'))) / (select extract(epoch from '2026-07-28 05:09:52'::timestamp) - extract(epoch from '2026-07-28 05:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327361 -2.786393)'), GeomFromEWKT('SRID=4674;POINT (-40.327317 -2.786292)'))) / (select extract(epoch from '2026-07-28 05:09:52'::timestamp) - extract(epoch from '2026-07-28 05:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327254 -2.786193)', '2026-07-28 05:09:59', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327317 -2.786292)'), GeomFromEWKT('SRID=4674;POINT (-40.327254 -2.786193)'))) / (select extract(epoch from '2026-07-28 05:09:59'::timestamp) - extract(epoch from '2026-07-28 05:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327317 -2.786292)'), GeomFromEWKT('SRID=4674;POINT (-40.327254 -2.786193)'))) / (select extract(epoch from '2026-07-28 05:09:59'::timestamp) - extract(epoch from '2026-07-28 05:09:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327146 -2.786057)', '2026-07-28 05:10:07', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327254 -2.786193)'), GeomFromEWKT('SRID=4674;POINT (-40.327146 -2.786057)'))) / (select extract(epoch from '2026-07-28 05:10:07'::timestamp) - extract(epoch from '2026-07-28 05:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327254 -2.786193)'), GeomFromEWKT('SRID=4674;POINT (-40.327146 -2.786057)'))) / (select extract(epoch from '2026-07-28 05:10:07'::timestamp) - extract(epoch from '2026-07-28 05:09:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.327043 -2.78592)', '2026-07-28 05:10:16', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327146 -2.786057)'), GeomFromEWKT('SRID=4674;POINT (-40.327043 -2.78592)'))) / (select extract(epoch from '2026-07-28 05:10:16'::timestamp) - extract(epoch from '2026-07-28 05:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327146 -2.786057)'), GeomFromEWKT('SRID=4674;POINT (-40.327043 -2.78592)'))) / (select extract(epoch from '2026-07-28 05:10:16'::timestamp) - extract(epoch from '2026-07-28 05:10:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326975 -2.78582)', '2026-07-28 05:10:23', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327043 -2.78592)'), GeomFromEWKT('SRID=4674;POINT (-40.326975 -2.78582)'))) / (select extract(epoch from '2026-07-28 05:10:23'::timestamp) - extract(epoch from '2026-07-28 05:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327043 -2.78592)'), GeomFromEWKT('SRID=4674;POINT (-40.326975 -2.78582)'))) / (select extract(epoch from '2026-07-28 05:10:23'::timestamp) - extract(epoch from '2026-07-28 05:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326883 -2.7857)', '2026-07-28 05:10:30', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326975 -2.78582)'), GeomFromEWKT('SRID=4674;POINT (-40.326883 -2.7857)'))) / (select extract(epoch from '2026-07-28 05:10:30'::timestamp) - extract(epoch from '2026-07-28 05:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326975 -2.78582)'), GeomFromEWKT('SRID=4674;POINT (-40.326883 -2.7857)'))) / (select extract(epoch from '2026-07-28 05:10:30'::timestamp) - extract(epoch from '2026-07-28 05:10:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326788 -2.785518)', '2026-07-28 05:10:39', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326883 -2.7857)'), GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.785518)'))) / (select extract(epoch from '2026-07-28 05:10:39'::timestamp) - extract(epoch from '2026-07-28 05:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326883 -2.7857)'), GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.785518)'))) / (select extract(epoch from '2026-07-28 05:10:39'::timestamp) - extract(epoch from '2026-07-28 05:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326655 -2.785359)', '2026-07-28 05:10:49', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.785518)'), GeomFromEWKT('SRID=4674;POINT (-40.326655 -2.785359)'))) / (select extract(epoch from '2026-07-28 05:10:49'::timestamp) - extract(epoch from '2026-07-28 05:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.785518)'), GeomFromEWKT('SRID=4674;POINT (-40.326655 -2.785359)'))) / (select extract(epoch from '2026-07-28 05:10:49'::timestamp) - extract(epoch from '2026-07-28 05:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326588 -2.785255)', '2026-07-28 05:10:56', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326655 -2.785359)'), GeomFromEWKT('SRID=4674;POINT (-40.326588 -2.785255)'))) / (select extract(epoch from '2026-07-28 05:10:56'::timestamp) - extract(epoch from '2026-07-28 05:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326655 -2.785359)'), GeomFromEWKT('SRID=4674;POINT (-40.326588 -2.785255)'))) / (select extract(epoch from '2026-07-28 05:10:56'::timestamp) - extract(epoch from '2026-07-28 05:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326512 -2.785111)', '2026-07-28 05:11:05', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326588 -2.785255)'), GeomFromEWKT('SRID=4674;POINT (-40.326512 -2.785111)'))) / (select extract(epoch from '2026-07-28 05:11:05'::timestamp) - extract(epoch from '2026-07-28 05:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326588 -2.785255)'), GeomFromEWKT('SRID=4674;POINT (-40.326512 -2.785111)'))) / (select extract(epoch from '2026-07-28 05:11:05'::timestamp) - extract(epoch from '2026-07-28 05:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326434 -2.785001)', '2026-07-28 05:11:12', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326512 -2.785111)'), GeomFromEWKT('SRID=4674;POINT (-40.326434 -2.785001)'))) / (select extract(epoch from '2026-07-28 05:11:12'::timestamp) - extract(epoch from '2026-07-28 05:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326512 -2.785111)'), GeomFromEWKT('SRID=4674;POINT (-40.326434 -2.785001)'))) / (select extract(epoch from '2026-07-28 05:11:12'::timestamp) - extract(epoch from '2026-07-28 05:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326367 -2.784906)', '2026-07-28 05:11:18', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326434 -2.785001)'), GeomFromEWKT('SRID=4674;POINT (-40.326367 -2.784906)'))) / (select extract(epoch from '2026-07-28 05:11:18'::timestamp) - extract(epoch from '2026-07-28 05:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326434 -2.785001)'), GeomFromEWKT('SRID=4674;POINT (-40.326367 -2.784906)'))) / (select extract(epoch from '2026-07-28 05:11:18'::timestamp) - extract(epoch from '2026-07-28 05:11:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326296 -2.78479)', '2026-07-28 05:11:26', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326367 -2.784906)'), GeomFromEWKT('SRID=4674;POINT (-40.326296 -2.78479)'))) / (select extract(epoch from '2026-07-28 05:11:26'::timestamp) - extract(epoch from '2026-07-28 05:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326367 -2.784906)'), GeomFromEWKT('SRID=4674;POINT (-40.326296 -2.78479)'))) / (select extract(epoch from '2026-07-28 05:11:26'::timestamp) - extract(epoch from '2026-07-28 05:11:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326213 -2.784689)', '2026-07-28 05:11:32', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326296 -2.78479)'), GeomFromEWKT('SRID=4674;POINT (-40.326213 -2.784689)'))) / (select extract(epoch from '2026-07-28 05:11:32'::timestamp) - extract(epoch from '2026-07-28 05:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326296 -2.78479)'), GeomFromEWKT('SRID=4674;POINT (-40.326213 -2.784689)'))) / (select extract(epoch from '2026-07-28 05:11:32'::timestamp) - extract(epoch from '2026-07-28 05:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326143 -2.78458)', '2026-07-28 05:11:38', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326213 -2.784689)'), GeomFromEWKT('SRID=4674;POINT (-40.326143 -2.78458)'))) / (select extract(epoch from '2026-07-28 05:11:38'::timestamp) - extract(epoch from '2026-07-28 05:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326213 -2.784689)'), GeomFromEWKT('SRID=4674;POINT (-40.326143 -2.78458)'))) / (select extract(epoch from '2026-07-28 05:11:38'::timestamp) - extract(epoch from '2026-07-28 05:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.326046 -2.784454)', '2026-07-28 05:11:46', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326143 -2.78458)'), GeomFromEWKT('SRID=4674;POINT (-40.326046 -2.784454)'))) / (select extract(epoch from '2026-07-28 05:11:46'::timestamp) - extract(epoch from '2026-07-28 05:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326143 -2.78458)'), GeomFromEWKT('SRID=4674;POINT (-40.326046 -2.784454)'))) / (select extract(epoch from '2026-07-28 05:11:46'::timestamp) - extract(epoch from '2026-07-28 05:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325955 -2.784363)', '2026-07-28 05:11:53', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326046 -2.784454)'), GeomFromEWKT('SRID=4674;POINT (-40.325955 -2.784363)'))) / (select extract(epoch from '2026-07-28 05:11:53'::timestamp) - extract(epoch from '2026-07-28 05:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326046 -2.784454)'), GeomFromEWKT('SRID=4674;POINT (-40.325955 -2.784363)'))) / (select extract(epoch from '2026-07-28 05:11:53'::timestamp) - extract(epoch from '2026-07-28 05:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325853 -2.784281)', '2026-07-28 05:12:00', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325955 -2.784363)'), GeomFromEWKT('SRID=4674;POINT (-40.325853 -2.784281)'))) / (select extract(epoch from '2026-07-28 05:12:00'::timestamp) - extract(epoch from '2026-07-28 05:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325955 -2.784363)'), GeomFromEWKT('SRID=4674;POINT (-40.325853 -2.784281)'))) / (select extract(epoch from '2026-07-28 05:12:00'::timestamp) - extract(epoch from '2026-07-28 05:11:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325739 -2.784173)', '2026-07-28 05:12:08', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325853 -2.784281)'), GeomFromEWKT('SRID=4674;POINT (-40.325739 -2.784173)'))) / (select extract(epoch from '2026-07-28 05:12:08'::timestamp) - extract(epoch from '2026-07-28 05:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325853 -2.784281)'), GeomFromEWKT('SRID=4674;POINT (-40.325739 -2.784173)'))) / (select extract(epoch from '2026-07-28 05:12:08'::timestamp) - extract(epoch from '2026-07-28 05:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.32565 -2.784052)', '2026-07-28 05:12:16', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325739 -2.784173)'), GeomFromEWKT('SRID=4674;POINT (-40.32565 -2.784052)'))) / (select extract(epoch from '2026-07-28 05:12:16'::timestamp) - extract(epoch from '2026-07-28 05:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325739 -2.784173)'), GeomFromEWKT('SRID=4674;POINT (-40.32565 -2.784052)'))) / (select extract(epoch from '2026-07-28 05:12:16'::timestamp) - extract(epoch from '2026-07-28 05:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325558 -2.783941)', '2026-07-28 05:12:24', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32565 -2.784052)'), GeomFromEWKT('SRID=4674;POINT (-40.325558 -2.783941)'))) / (select extract(epoch from '2026-07-28 05:12:24'::timestamp) - extract(epoch from '2026-07-28 05:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32565 -2.784052)'), GeomFromEWKT('SRID=4674;POINT (-40.325558 -2.783941)'))) / (select extract(epoch from '2026-07-28 05:12:24'::timestamp) - extract(epoch from '2026-07-28 05:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325485 -2.78385)', '2026-07-28 05:12:30', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325558 -2.783941)'), GeomFromEWKT('SRID=4674;POINT (-40.325485 -2.78385)'))) / (select extract(epoch from '2026-07-28 05:12:30'::timestamp) - extract(epoch from '2026-07-28 05:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325558 -2.783941)'), GeomFromEWKT('SRID=4674;POINT (-40.325485 -2.78385)'))) / (select extract(epoch from '2026-07-28 05:12:30'::timestamp) - extract(epoch from '2026-07-28 05:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325411 -2.783745)', '2026-07-28 05:12:37', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325485 -2.78385)'), GeomFromEWKT('SRID=4674;POINT (-40.325411 -2.783745)'))) / (select extract(epoch from '2026-07-28 05:12:37'::timestamp) - extract(epoch from '2026-07-28 05:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325485 -2.78385)'), GeomFromEWKT('SRID=4674;POINT (-40.325411 -2.783745)'))) / (select extract(epoch from '2026-07-28 05:12:37'::timestamp) - extract(epoch from '2026-07-28 05:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325333 -2.783606)', '2026-07-28 05:12:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325411 -2.783745)'), GeomFromEWKT('SRID=4674;POINT (-40.325333 -2.783606)'))) / (select extract(epoch from '2026-07-28 05:12:45'::timestamp) - extract(epoch from '2026-07-28 05:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325411 -2.783745)'), GeomFromEWKT('SRID=4674;POINT (-40.325333 -2.783606)'))) / (select extract(epoch from '2026-07-28 05:12:45'::timestamp) - extract(epoch from '2026-07-28 05:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325266 -2.783481)', '2026-07-28 05:12:53', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325333 -2.783606)'), GeomFromEWKT('SRID=4674;POINT (-40.325266 -2.783481)'))) / (select extract(epoch from '2026-07-28 05:12:53'::timestamp) - extract(epoch from '2026-07-28 05:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325333 -2.783606)'), GeomFromEWKT('SRID=4674;POINT (-40.325266 -2.783481)'))) / (select extract(epoch from '2026-07-28 05:12:53'::timestamp) - extract(epoch from '2026-07-28 05:12:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325207 -2.783354)', '2026-07-28 05:13:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325266 -2.783481)'), GeomFromEWKT('SRID=4674;POINT (-40.325207 -2.783354)'))) / (select extract(epoch from '2026-07-28 05:13:01'::timestamp) - extract(epoch from '2026-07-28 05:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325266 -2.783481)'), GeomFromEWKT('SRID=4674;POINT (-40.325207 -2.783354)'))) / (select extract(epoch from '2026-07-28 05:13:01'::timestamp) - extract(epoch from '2026-07-28 05:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325096 -2.783216)', '2026-07-28 05:13:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325207 -2.783354)'), GeomFromEWKT('SRID=4674;POINT (-40.325096 -2.783216)'))) / (select extract(epoch from '2026-07-28 05:13:09'::timestamp) - extract(epoch from '2026-07-28 05:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325207 -2.783354)'), GeomFromEWKT('SRID=4674;POINT (-40.325096 -2.783216)'))) / (select extract(epoch from '2026-07-28 05:13:09'::timestamp) - extract(epoch from '2026-07-28 05:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325055 -2.783129)', '2026-07-28 05:13:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325096 -2.783216)'), GeomFromEWKT('SRID=4674;POINT (-40.325055 -2.783129)'))) / (select extract(epoch from '2026-07-28 05:13:15'::timestamp) - extract(epoch from '2026-07-28 05:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325096 -2.783216)'), GeomFromEWKT('SRID=4674;POINT (-40.325055 -2.783129)'))) / (select extract(epoch from '2026-07-28 05:13:15'::timestamp) - extract(epoch from '2026-07-28 05:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.325005 -2.783028)', '2026-07-28 05:13:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325055 -2.783129)'), GeomFromEWKT('SRID=4674;POINT (-40.325005 -2.783028)'))) / (select extract(epoch from '2026-07-28 05:13:22'::timestamp) - extract(epoch from '2026-07-28 05:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325055 -2.783129)'), GeomFromEWKT('SRID=4674;POINT (-40.325005 -2.783028)'))) / (select extract(epoch from '2026-07-28 05:13:22'::timestamp) - extract(epoch from '2026-07-28 05:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324922 -2.782895)', '2026-07-28 05:13:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325005 -2.783028)'), GeomFromEWKT('SRID=4674;POINT (-40.324922 -2.782895)'))) / (select extract(epoch from '2026-07-28 05:13:29'::timestamp) - extract(epoch from '2026-07-28 05:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325005 -2.783028)'), GeomFromEWKT('SRID=4674;POINT (-40.324922 -2.782895)'))) / (select extract(epoch from '2026-07-28 05:13:29'::timestamp) - extract(epoch from '2026-07-28 05:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324839 -2.782748)', '2026-07-28 05:13:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324922 -2.782895)'), GeomFromEWKT('SRID=4674;POINT (-40.324839 -2.782748)'))) / (select extract(epoch from '2026-07-28 05:13:37'::timestamp) - extract(epoch from '2026-07-28 05:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324922 -2.782895)'), GeomFromEWKT('SRID=4674;POINT (-40.324839 -2.782748)'))) / (select extract(epoch from '2026-07-28 05:13:37'::timestamp) - extract(epoch from '2026-07-28 05:13:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324777 -2.782622)', '2026-07-28 05:13:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324839 -2.782748)'), GeomFromEWKT('SRID=4674;POINT (-40.324777 -2.782622)'))) / (select extract(epoch from '2026-07-28 05:13:44'::timestamp) - extract(epoch from '2026-07-28 05:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324839 -2.782748)'), GeomFromEWKT('SRID=4674;POINT (-40.324777 -2.782622)'))) / (select extract(epoch from '2026-07-28 05:13:44'::timestamp) - extract(epoch from '2026-07-28 05:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324714 -2.78251)', '2026-07-28 05:13:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324777 -2.782622)'), GeomFromEWKT('SRID=4674;POINT (-40.324714 -2.78251)'))) / (select extract(epoch from '2026-07-28 05:13:51'::timestamp) - extract(epoch from '2026-07-28 05:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324777 -2.782622)'), GeomFromEWKT('SRID=4674;POINT (-40.324714 -2.78251)'))) / (select extract(epoch from '2026-07-28 05:13:51'::timestamp) - extract(epoch from '2026-07-28 05:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324658 -2.782397)', '2026-07-28 05:13:59', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324714 -2.78251)'), GeomFromEWKT('SRID=4674;POINT (-40.324658 -2.782397)'))) / (select extract(epoch from '2026-07-28 05:13:59'::timestamp) - extract(epoch from '2026-07-28 05:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324714 -2.78251)'), GeomFromEWKT('SRID=4674;POINT (-40.324658 -2.782397)'))) / (select extract(epoch from '2026-07-28 05:13:59'::timestamp) - extract(epoch from '2026-07-28 05:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324583 -2.782271)', '2026-07-28 05:14:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324658 -2.782397)'), GeomFromEWKT('SRID=4674;POINT (-40.324583 -2.782271)'))) / (select extract(epoch from '2026-07-28 05:14:06'::timestamp) - extract(epoch from '2026-07-28 05:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324658 -2.782397)'), GeomFromEWKT('SRID=4674;POINT (-40.324583 -2.782271)'))) / (select extract(epoch from '2026-07-28 05:14:06'::timestamp) - extract(epoch from '2026-07-28 05:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324553 -2.782157)', '2026-07-28 05:14:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324583 -2.782271)'), GeomFromEWKT('SRID=4674;POINT (-40.324553 -2.782157)'))) / (select extract(epoch from '2026-07-28 05:14:13'::timestamp) - extract(epoch from '2026-07-28 05:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324583 -2.782271)'), GeomFromEWKT('SRID=4674;POINT (-40.324553 -2.782157)'))) / (select extract(epoch from '2026-07-28 05:14:13'::timestamp) - extract(epoch from '2026-07-28 05:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324494 -2.781978)', '2026-07-28 05:14:23', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324553 -2.782157)'), GeomFromEWKT('SRID=4674;POINT (-40.324494 -2.781978)'))) / (select extract(epoch from '2026-07-28 05:14:23'::timestamp) - extract(epoch from '2026-07-28 05:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324553 -2.782157)'), GeomFromEWKT('SRID=4674;POINT (-40.324494 -2.781978)'))) / (select extract(epoch from '2026-07-28 05:14:23'::timestamp) - extract(epoch from '2026-07-28 05:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324435 -2.781856)', '2026-07-28 05:14:30', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324494 -2.781978)'), GeomFromEWKT('SRID=4674;POINT (-40.324435 -2.781856)'))) / (select extract(epoch from '2026-07-28 05:14:30'::timestamp) - extract(epoch from '2026-07-28 05:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324494 -2.781978)'), GeomFromEWKT('SRID=4674;POINT (-40.324435 -2.781856)'))) / (select extract(epoch from '2026-07-28 05:14:30'::timestamp) - extract(epoch from '2026-07-28 05:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324356 -2.781732)', '2026-07-28 05:14:38', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324435 -2.781856)'), GeomFromEWKT('SRID=4674;POINT (-40.324356 -2.781732)'))) / (select extract(epoch from '2026-07-28 05:14:38'::timestamp) - extract(epoch from '2026-07-28 05:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324435 -2.781856)'), GeomFromEWKT('SRID=4674;POINT (-40.324356 -2.781732)'))) / (select extract(epoch from '2026-07-28 05:14:38'::timestamp) - extract(epoch from '2026-07-28 05:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324241 -2.781603)', '2026-07-28 05:14:47', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324356 -2.781732)'), GeomFromEWKT('SRID=4674;POINT (-40.324241 -2.781603)'))) / (select extract(epoch from '2026-07-28 05:14:47'::timestamp) - extract(epoch from '2026-07-28 05:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324356 -2.781732)'), GeomFromEWKT('SRID=4674;POINT (-40.324241 -2.781603)'))) / (select extract(epoch from '2026-07-28 05:14:47'::timestamp) - extract(epoch from '2026-07-28 05:14:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.32416 -2.781506)', '2026-07-28 05:14:53', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324241 -2.781603)'), GeomFromEWKT('SRID=4674;POINT (-40.32416 -2.781506)'))) / (select extract(epoch from '2026-07-28 05:14:53'::timestamp) - extract(epoch from '2026-07-28 05:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324241 -2.781603)'), GeomFromEWKT('SRID=4674;POINT (-40.32416 -2.781506)'))) / (select extract(epoch from '2026-07-28 05:14:53'::timestamp) - extract(epoch from '2026-07-28 05:14:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.324069 -2.781393)', '2026-07-28 05:15:00', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32416 -2.781506)'), GeomFromEWKT('SRID=4674;POINT (-40.324069 -2.781393)'))) / (select extract(epoch from '2026-07-28 05:15:00'::timestamp) - extract(epoch from '2026-07-28 05:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32416 -2.781506)'), GeomFromEWKT('SRID=4674;POINT (-40.324069 -2.781393)'))) / (select extract(epoch from '2026-07-28 05:15:00'::timestamp) - extract(epoch from '2026-07-28 05:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323972 -2.781268)', '2026-07-28 05:15:08', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324069 -2.781393)'), GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.781268)'))) / (select extract(epoch from '2026-07-28 05:15:08'::timestamp) - extract(epoch from '2026-07-28 05:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324069 -2.781393)'), GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.781268)'))) / (select extract(epoch from '2026-07-28 05:15:08'::timestamp) - extract(epoch from '2026-07-28 05:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323859 -2.781132)', '2026-07-28 05:15:17', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.781268)'), GeomFromEWKT('SRID=4674;POINT (-40.323859 -2.781132)'))) / (select extract(epoch from '2026-07-28 05:15:17'::timestamp) - extract(epoch from '2026-07-28 05:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.781268)'), GeomFromEWKT('SRID=4674;POINT (-40.323859 -2.781132)'))) / (select extract(epoch from '2026-07-28 05:15:17'::timestamp) - extract(epoch from '2026-07-28 05:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323772 -2.781014)', '2026-07-28 05:15:24', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323859 -2.781132)'), GeomFromEWKT('SRID=4674;POINT (-40.323772 -2.781014)'))) / (select extract(epoch from '2026-07-28 05:15:24'::timestamp) - extract(epoch from '2026-07-28 05:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323859 -2.781132)'), GeomFromEWKT('SRID=4674;POINT (-40.323772 -2.781014)'))) / (select extract(epoch from '2026-07-28 05:15:24'::timestamp) - extract(epoch from '2026-07-28 05:15:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323736 -2.780971)', '2026-07-28 05:15:27', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323772 -2.781014)'), GeomFromEWKT('SRID=4674;POINT (-40.323736 -2.780971)'))) / (select extract(epoch from '2026-07-28 05:15:27'::timestamp) - extract(epoch from '2026-07-28 05:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323772 -2.781014)'), GeomFromEWKT('SRID=4674;POINT (-40.323736 -2.780971)'))) / (select extract(epoch from '2026-07-28 05:15:27'::timestamp) - extract(epoch from '2026-07-28 05:15:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323704 -2.780909)', '2026-07-28 05:15:31', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323736 -2.780971)'), GeomFromEWKT('SRID=4674;POINT (-40.323704 -2.780909)'))) / (select extract(epoch from '2026-07-28 05:15:31'::timestamp) - extract(epoch from '2026-07-28 05:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323736 -2.780971)'), GeomFromEWKT('SRID=4674;POINT (-40.323704 -2.780909)'))) / (select extract(epoch from '2026-07-28 05:15:31'::timestamp) - extract(epoch from '2026-07-28 05:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323613 -2.78082)', '2026-07-28 05:15:38', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323704 -2.780909)'), GeomFromEWKT('SRID=4674;POINT (-40.323613 -2.78082)'))) / (select extract(epoch from '2026-07-28 05:15:38'::timestamp) - extract(epoch from '2026-07-28 05:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323704 -2.780909)'), GeomFromEWKT('SRID=4674;POINT (-40.323613 -2.78082)'))) / (select extract(epoch from '2026-07-28 05:15:38'::timestamp) - extract(epoch from '2026-07-28 05:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323523 -2.780737)', '2026-07-28 05:15:44', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323613 -2.78082)'), GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.780737)'))) / (select extract(epoch from '2026-07-28 05:15:44'::timestamp) - extract(epoch from '2026-07-28 05:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323613 -2.78082)'), GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.780737)'))) / (select extract(epoch from '2026-07-28 05:15:44'::timestamp) - extract(epoch from '2026-07-28 05:15:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323405 -2.780633)', '2026-07-28 05:15:52', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.780737)'), GeomFromEWKT('SRID=4674;POINT (-40.323405 -2.780633)'))) / (select extract(epoch from '2026-07-28 05:15:52'::timestamp) - extract(epoch from '2026-07-28 05:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.780737)'), GeomFromEWKT('SRID=4674;POINT (-40.323405 -2.780633)'))) / (select extract(epoch from '2026-07-28 05:15:52'::timestamp) - extract(epoch from '2026-07-28 05:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323334 -2.780553)', '2026-07-28 05:15:58', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323405 -2.780633)'), GeomFromEWKT('SRID=4674;POINT (-40.323334 -2.780553)'))) / (select extract(epoch from '2026-07-28 05:15:58'::timestamp) - extract(epoch from '2026-07-28 05:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323405 -2.780633)'), GeomFromEWKT('SRID=4674;POINT (-40.323334 -2.780553)'))) / (select extract(epoch from '2026-07-28 05:15:58'::timestamp) - extract(epoch from '2026-07-28 05:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323265 -2.78045)', '2026-07-28 05:16:05', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323334 -2.780553)'), GeomFromEWKT('SRID=4674;POINT (-40.323265 -2.78045)'))) / (select extract(epoch from '2026-07-28 05:16:05'::timestamp) - extract(epoch from '2026-07-28 05:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323334 -2.780553)'), GeomFromEWKT('SRID=4674;POINT (-40.323265 -2.78045)'))) / (select extract(epoch from '2026-07-28 05:16:05'::timestamp) - extract(epoch from '2026-07-28 05:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323195 -2.780352)', '2026-07-28 05:16:12', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323265 -2.78045)'), GeomFromEWKT('SRID=4674;POINT (-40.323195 -2.780352)'))) / (select extract(epoch from '2026-07-28 05:16:12'::timestamp) - extract(epoch from '2026-07-28 05:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323265 -2.78045)'), GeomFromEWKT('SRID=4674;POINT (-40.323195 -2.780352)'))) / (select extract(epoch from '2026-07-28 05:16:12'::timestamp) - extract(epoch from '2026-07-28 05:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.323102 -2.780264)', '2026-07-28 05:16:19', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323195 -2.780352)'), GeomFromEWKT('SRID=4674;POINT (-40.323102 -2.780264)'))) / (select extract(epoch from '2026-07-28 05:16:19'::timestamp) - extract(epoch from '2026-07-28 05:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323195 -2.780352)'), GeomFromEWKT('SRID=4674;POINT (-40.323102 -2.780264)'))) / (select extract(epoch from '2026-07-28 05:16:19'::timestamp) - extract(epoch from '2026-07-28 05:16:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.322968 -2.780185)', '2026-07-28 05:16:27', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323102 -2.780264)'), GeomFromEWKT('SRID=4674;POINT (-40.322968 -2.780185)'))) / (select extract(epoch from '2026-07-28 05:16:27'::timestamp) - extract(epoch from '2026-07-28 05:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323102 -2.780264)'), GeomFromEWKT('SRID=4674;POINT (-40.322968 -2.780185)'))) / (select extract(epoch from '2026-07-28 05:16:27'::timestamp) - extract(epoch from '2026-07-28 05:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.322817 -2.780083)', '2026-07-28 05:16:36', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322968 -2.780185)'), GeomFromEWKT('SRID=4674;POINT (-40.322817 -2.780083)'))) / (select extract(epoch from '2026-07-28 05:16:36'::timestamp) - extract(epoch from '2026-07-28 05:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322968 -2.780185)'), GeomFromEWKT('SRID=4674;POINT (-40.322817 -2.780083)'))) / (select extract(epoch from '2026-07-28 05:16:36'::timestamp) - extract(epoch from '2026-07-28 05:16:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.322671 -2.780007)', '2026-07-28 05:16:45', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322817 -2.780083)'), GeomFromEWKT('SRID=4674;POINT (-40.322671 -2.780007)'))) / (select extract(epoch from '2026-07-28 05:16:45'::timestamp) - extract(epoch from '2026-07-28 05:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322817 -2.780083)'), GeomFromEWKT('SRID=4674;POINT (-40.322671 -2.780007)'))) / (select extract(epoch from '2026-07-28 05:16:45'::timestamp) - extract(epoch from '2026-07-28 05:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.322593 -2.779936)', '2026-07-28 05:16:52', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322671 -2.780007)'), GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.779936)'))) / (select extract(epoch from '2026-07-28 05:16:52'::timestamp) - extract(epoch from '2026-07-28 05:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322671 -2.780007)'), GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.779936)'))) / (select extract(epoch from '2026-07-28 05:16:52'::timestamp) - extract(epoch from '2026-07-28 05:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.322505 -2.779857)', '2026-07-28 05:16:59', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.779936)'), GeomFromEWKT('SRID=4674;POINT (-40.322505 -2.779857)'))) / (select extract(epoch from '2026-07-28 05:16:59'::timestamp) - extract(epoch from '2026-07-28 05:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.779936)'), GeomFromEWKT('SRID=4674;POINT (-40.322505 -2.779857)'))) / (select extract(epoch from '2026-07-28 05:16:59'::timestamp) - extract(epoch from '2026-07-28 05:16:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.322372 -2.779762)', '2026-07-28 05:17:07', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322505 -2.779857)'), GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.779762)'))) / (select extract(epoch from '2026-07-28 05:17:07'::timestamp) - extract(epoch from '2026-07-28 05:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322505 -2.779857)'), GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.779762)'))) / (select extract(epoch from '2026-07-28 05:17:07'::timestamp) - extract(epoch from '2026-07-28 05:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.32223 -2.779644)', '2026-07-28 05:17:17', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.779762)'), GeomFromEWKT('SRID=4674;POINT (-40.32223 -2.779644)'))) / (select extract(epoch from '2026-07-28 05:17:17'::timestamp) - extract(epoch from '2026-07-28 05:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.779762)'), GeomFromEWKT('SRID=4674;POINT (-40.32223 -2.779644)'))) / (select extract(epoch from '2026-07-28 05:17:17'::timestamp) - extract(epoch from '2026-07-28 05:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.322106 -2.779552)', '2026-07-28 05:17:25', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32223 -2.779644)'), GeomFromEWKT('SRID=4674;POINT (-40.322106 -2.779552)'))) / (select extract(epoch from '2026-07-28 05:17:25'::timestamp) - extract(epoch from '2026-07-28 05:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32223 -2.779644)'), GeomFromEWKT('SRID=4674;POINT (-40.322106 -2.779552)'))) / (select extract(epoch from '2026-07-28 05:17:25'::timestamp) - extract(epoch from '2026-07-28 05:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.322004 -2.779481)', '2026-07-28 05:17:32', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322106 -2.779552)'), GeomFromEWKT('SRID=4674;POINT (-40.322004 -2.779481)'))) / (select extract(epoch from '2026-07-28 05:17:32'::timestamp) - extract(epoch from '2026-07-28 05:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322106 -2.779552)'), GeomFromEWKT('SRID=4674;POINT (-40.322004 -2.779481)'))) / (select extract(epoch from '2026-07-28 05:17:32'::timestamp) - extract(epoch from '2026-07-28 05:17:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.321893 -2.77942)', '2026-07-28 05:17:39', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322004 -2.779481)'), GeomFromEWKT('SRID=4674;POINT (-40.321893 -2.77942)'))) / (select extract(epoch from '2026-07-28 05:17:39'::timestamp) - extract(epoch from '2026-07-28 05:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322004 -2.779481)'), GeomFromEWKT('SRID=4674;POINT (-40.321893 -2.77942)'))) / (select extract(epoch from '2026-07-28 05:17:39'::timestamp) - extract(epoch from '2026-07-28 05:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.321774 -2.779342)', '2026-07-28 05:17:46', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321893 -2.77942)'), GeomFromEWKT('SRID=4674;POINT (-40.321774 -2.779342)'))) / (select extract(epoch from '2026-07-28 05:17:46'::timestamp) - extract(epoch from '2026-07-28 05:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321893 -2.77942)'), GeomFromEWKT('SRID=4674;POINT (-40.321774 -2.779342)'))) / (select extract(epoch from '2026-07-28 05:17:46'::timestamp) - extract(epoch from '2026-07-28 05:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.321683 -2.779284)', '2026-07-28 05:17:52', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321774 -2.779342)'), GeomFromEWKT('SRID=4674;POINT (-40.321683 -2.779284)'))) / (select extract(epoch from '2026-07-28 05:17:52'::timestamp) - extract(epoch from '2026-07-28 05:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321774 -2.779342)'), GeomFromEWKT('SRID=4674;POINT (-40.321683 -2.779284)'))) / (select extract(epoch from '2026-07-28 05:17:52'::timestamp) - extract(epoch from '2026-07-28 05:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.321573 -2.779216)', '2026-07-28 05:18:00', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321683 -2.779284)'), GeomFromEWKT('SRID=4674;POINT (-40.321573 -2.779216)'))) / (select extract(epoch from '2026-07-28 05:18:00'::timestamp) - extract(epoch from '2026-07-28 05:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321683 -2.779284)'), GeomFromEWKT('SRID=4674;POINT (-40.321573 -2.779216)'))) / (select extract(epoch from '2026-07-28 05:18:00'::timestamp) - extract(epoch from '2026-07-28 05:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.321418 -2.779142)', '2026-07-28 05:18:10', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321573 -2.779216)'), GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.779142)'))) / (select extract(epoch from '2026-07-28 05:18:10'::timestamp) - extract(epoch from '2026-07-28 05:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321573 -2.779216)'), GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.779142)'))) / (select extract(epoch from '2026-07-28 05:18:10'::timestamp) - extract(epoch from '2026-07-28 05:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.321307 -2.779061)', '2026-07-28 05:18:18', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.779142)'), GeomFromEWKT('SRID=4674;POINT (-40.321307 -2.779061)'))) / (select extract(epoch from '2026-07-28 05:18:18'::timestamp) - extract(epoch from '2026-07-28 05:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.779142)'), GeomFromEWKT('SRID=4674;POINT (-40.321307 -2.779061)'))) / (select extract(epoch from '2026-07-28 05:18:18'::timestamp) - extract(epoch from '2026-07-28 05:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.321228 -2.778995)', '2026-07-28 05:18:25', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321307 -2.779061)'), GeomFromEWKT('SRID=4674;POINT (-40.321228 -2.778995)'))) / (select extract(epoch from '2026-07-28 05:18:25'::timestamp) - extract(epoch from '2026-07-28 05:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321307 -2.779061)'), GeomFromEWKT('SRID=4674;POINT (-40.321228 -2.778995)'))) / (select extract(epoch from '2026-07-28 05:18:25'::timestamp) - extract(epoch from '2026-07-28 05:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.321103 -2.778969)', '2026-07-28 05:18:32', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321228 -2.778995)'), GeomFromEWKT('SRID=4674;POINT (-40.321103 -2.778969)'))) / (select extract(epoch from '2026-07-28 05:18:32'::timestamp) - extract(epoch from '2026-07-28 05:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321228 -2.778995)'), GeomFromEWKT('SRID=4674;POINT (-40.321103 -2.778969)'))) / (select extract(epoch from '2026-07-28 05:18:32'::timestamp) - extract(epoch from '2026-07-28 05:18:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.320954 -2.778942)', '2026-07-28 05:18:40', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321103 -2.778969)'), GeomFromEWKT('SRID=4674;POINT (-40.320954 -2.778942)'))) / (select extract(epoch from '2026-07-28 05:18:40'::timestamp) - extract(epoch from '2026-07-28 05:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321103 -2.778969)'), GeomFromEWKT('SRID=4674;POINT (-40.320954 -2.778942)'))) / (select extract(epoch from '2026-07-28 05:18:40'::timestamp) - extract(epoch from '2026-07-28 05:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.320817 -2.77893)', '2026-07-28 05:18:47', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320954 -2.778942)'), GeomFromEWKT('SRID=4674;POINT (-40.320817 -2.77893)'))) / (select extract(epoch from '2026-07-28 05:18:47'::timestamp) - extract(epoch from '2026-07-28 05:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320954 -2.778942)'), GeomFromEWKT('SRID=4674;POINT (-40.320817 -2.77893)'))) / (select extract(epoch from '2026-07-28 05:18:47'::timestamp) - extract(epoch from '2026-07-28 05:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.320714 -2.778903)', '2026-07-28 05:18:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320817 -2.77893)'), GeomFromEWKT('SRID=4674;POINT (-40.320714 -2.778903)'))) / (select extract(epoch from '2026-07-28 05:18:54'::timestamp) - extract(epoch from '2026-07-28 05:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320817 -2.77893)'), GeomFromEWKT('SRID=4674;POINT (-40.320714 -2.778903)'))) / (select extract(epoch from '2026-07-28 05:18:54'::timestamp) - extract(epoch from '2026-07-28 05:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.320605 -2.778846)', '2026-07-28 05:19:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320714 -2.778903)'), GeomFromEWKT('SRID=4674;POINT (-40.320605 -2.778846)'))) / (select extract(epoch from '2026-07-28 05:19:03'::timestamp) - extract(epoch from '2026-07-28 05:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320714 -2.778903)'), GeomFromEWKT('SRID=4674;POINT (-40.320605 -2.778846)'))) / (select extract(epoch from '2026-07-28 05:19:03'::timestamp) - extract(epoch from '2026-07-28 05:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.320469 -2.778791)', '2026-07-28 05:19:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320605 -2.778846)'), GeomFromEWKT('SRID=4674;POINT (-40.320469 -2.778791)'))) / (select extract(epoch from '2026-07-28 05:19:11'::timestamp) - extract(epoch from '2026-07-28 05:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320605 -2.778846)'), GeomFromEWKT('SRID=4674;POINT (-40.320469 -2.778791)'))) / (select extract(epoch from '2026-07-28 05:19:11'::timestamp) - extract(epoch from '2026-07-28 05:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.320347 -2.778739)', '2026-07-28 05:19:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320469 -2.778791)'), GeomFromEWKT('SRID=4674;POINT (-40.320347 -2.778739)'))) / (select extract(epoch from '2026-07-28 05:19:19'::timestamp) - extract(epoch from '2026-07-28 05:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320469 -2.778791)'), GeomFromEWKT('SRID=4674;POINT (-40.320347 -2.778739)'))) / (select extract(epoch from '2026-07-28 05:19:19'::timestamp) - extract(epoch from '2026-07-28 05:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.320249 -2.778683)', '2026-07-28 05:19:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320347 -2.778739)'), GeomFromEWKT('SRID=4674;POINT (-40.320249 -2.778683)'))) / (select extract(epoch from '2026-07-28 05:19:26'::timestamp) - extract(epoch from '2026-07-28 05:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320347 -2.778739)'), GeomFromEWKT('SRID=4674;POINT (-40.320249 -2.778683)'))) / (select extract(epoch from '2026-07-28 05:19:26'::timestamp) - extract(epoch from '2026-07-28 05:19:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.32013 -2.778608)', '2026-07-28 05:19:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320249 -2.778683)'), GeomFromEWKT('SRID=4674;POINT (-40.32013 -2.778608)'))) / (select extract(epoch from '2026-07-28 05:19:33'::timestamp) - extract(epoch from '2026-07-28 05:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320249 -2.778683)'), GeomFromEWKT('SRID=4674;POINT (-40.32013 -2.778608)'))) / (select extract(epoch from '2026-07-28 05:19:33'::timestamp) - extract(epoch from '2026-07-28 05:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.320035 -2.778532)', '2026-07-28 05:19:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32013 -2.778608)'), GeomFromEWKT('SRID=4674;POINT (-40.320035 -2.778532)'))) / (select extract(epoch from '2026-07-28 05:19:40'::timestamp) - extract(epoch from '2026-07-28 05:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32013 -2.778608)'), GeomFromEWKT('SRID=4674;POINT (-40.320035 -2.778532)'))) / (select extract(epoch from '2026-07-28 05:19:40'::timestamp) - extract(epoch from '2026-07-28 05:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.319947 -2.778463)', '2026-07-28 05:19:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320035 -2.778532)'), GeomFromEWKT('SRID=4674;POINT (-40.319947 -2.778463)'))) / (select extract(epoch from '2026-07-28 05:19:47'::timestamp) - extract(epoch from '2026-07-28 05:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320035 -2.778532)'), GeomFromEWKT('SRID=4674;POINT (-40.319947 -2.778463)'))) / (select extract(epoch from '2026-07-28 05:19:47'::timestamp) - extract(epoch from '2026-07-28 05:19:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.319807 -2.77837)', '2026-07-28 05:19:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319947 -2.778463)'), GeomFromEWKT('SRID=4674;POINT (-40.319807 -2.77837)'))) / (select extract(epoch from '2026-07-28 05:19:57'::timestamp) - extract(epoch from '2026-07-28 05:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319947 -2.778463)'), GeomFromEWKT('SRID=4674;POINT (-40.319807 -2.77837)'))) / (select extract(epoch from '2026-07-28 05:19:57'::timestamp) - extract(epoch from '2026-07-28 05:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.319663 -2.778281)', '2026-07-28 05:20:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319807 -2.77837)'), GeomFromEWKT('SRID=4674;POINT (-40.319663 -2.778281)'))) / (select extract(epoch from '2026-07-28 05:20:05'::timestamp) - extract(epoch from '2026-07-28 05:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319807 -2.77837)'), GeomFromEWKT('SRID=4674;POINT (-40.319663 -2.778281)'))) / (select extract(epoch from '2026-07-28 05:20:05'::timestamp) - extract(epoch from '2026-07-28 05:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.319537 -2.778185)', '2026-07-28 05:20:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319663 -2.778281)'), GeomFromEWKT('SRID=4674;POINT (-40.319537 -2.778185)'))) / (select extract(epoch from '2026-07-28 05:20:13'::timestamp) - extract(epoch from '2026-07-28 05:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319663 -2.778281)'), GeomFromEWKT('SRID=4674;POINT (-40.319537 -2.778185)'))) / (select extract(epoch from '2026-07-28 05:20:13'::timestamp) - extract(epoch from '2026-07-28 05:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.319422 -2.778107)', '2026-07-28 05:20:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319537 -2.778185)'), GeomFromEWKT('SRID=4674;POINT (-40.319422 -2.778107)'))) / (select extract(epoch from '2026-07-28 05:20:20'::timestamp) - extract(epoch from '2026-07-28 05:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319537 -2.778185)'), GeomFromEWKT('SRID=4674;POINT (-40.319422 -2.778107)'))) / (select extract(epoch from '2026-07-28 05:20:20'::timestamp) - extract(epoch from '2026-07-28 05:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.319264 -2.778008)', '2026-07-28 05:20:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319422 -2.778107)'), GeomFromEWKT('SRID=4674;POINT (-40.319264 -2.778008)'))) / (select extract(epoch from '2026-07-28 05:20:29'::timestamp) - extract(epoch from '2026-07-28 05:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319422 -2.778107)'), GeomFromEWKT('SRID=4674;POINT (-40.319264 -2.778008)'))) / (select extract(epoch from '2026-07-28 05:20:29'::timestamp) - extract(epoch from '2026-07-28 05:20:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.319166 -2.777904)', '2026-07-28 05:20:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319264 -2.778008)'), GeomFromEWKT('SRID=4674;POINT (-40.319166 -2.777904)'))) / (select extract(epoch from '2026-07-28 05:20:37'::timestamp) - extract(epoch from '2026-07-28 05:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319264 -2.778008)'), GeomFromEWKT('SRID=4674;POINT (-40.319166 -2.777904)'))) / (select extract(epoch from '2026-07-28 05:20:37'::timestamp) - extract(epoch from '2026-07-28 05:20:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.319089 -2.777823)', '2026-07-28 05:20:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319166 -2.777904)'), GeomFromEWKT('SRID=4674;POINT (-40.319089 -2.777823)'))) / (select extract(epoch from '2026-07-28 05:20:44'::timestamp) - extract(epoch from '2026-07-28 05:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319166 -2.777904)'), GeomFromEWKT('SRID=4674;POINT (-40.319089 -2.777823)'))) / (select extract(epoch from '2026-07-28 05:20:44'::timestamp) - extract(epoch from '2026-07-28 05:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318994 -2.777729)', '2026-07-28 05:20:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319089 -2.777823)'), GeomFromEWKT('SRID=4674;POINT (-40.318994 -2.777729)'))) / (select extract(epoch from '2026-07-28 05:20:52'::timestamp) - extract(epoch from '2026-07-28 05:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319089 -2.777823)'), GeomFromEWKT('SRID=4674;POINT (-40.318994 -2.777729)'))) / (select extract(epoch from '2026-07-28 05:20:52'::timestamp) - extract(epoch from '2026-07-28 05:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318874 -2.777635)', '2026-07-28 05:21:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318994 -2.777729)'), GeomFromEWKT('SRID=4674;POINT (-40.318874 -2.777635)'))) / (select extract(epoch from '2026-07-28 05:21:00'::timestamp) - extract(epoch from '2026-07-28 05:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318994 -2.777729)'), GeomFromEWKT('SRID=4674;POINT (-40.318874 -2.777635)'))) / (select extract(epoch from '2026-07-28 05:21:00'::timestamp) - extract(epoch from '2026-07-28 05:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318793 -2.777532)', '2026-07-28 05:21:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318874 -2.777635)'), GeomFromEWKT('SRID=4674;POINT (-40.318793 -2.777532)'))) / (select extract(epoch from '2026-07-28 05:21:07'::timestamp) - extract(epoch from '2026-07-28 05:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318874 -2.777635)'), GeomFromEWKT('SRID=4674;POINT (-40.318793 -2.777532)'))) / (select extract(epoch from '2026-07-28 05:21:07'::timestamp) - extract(epoch from '2026-07-28 05:21:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318709 -2.777413)', '2026-07-28 05:21:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318793 -2.777532)'), GeomFromEWKT('SRID=4674;POINT (-40.318709 -2.777413)'))) / (select extract(epoch from '2026-07-28 05:21:14'::timestamp) - extract(epoch from '2026-07-28 05:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318793 -2.777532)'), GeomFromEWKT('SRID=4674;POINT (-40.318709 -2.777413)'))) / (select extract(epoch from '2026-07-28 05:21:14'::timestamp) - extract(epoch from '2026-07-28 05:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318649 -2.777296)', '2026-07-28 05:21:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318709 -2.777413)'), GeomFromEWKT('SRID=4674;POINT (-40.318649 -2.777296)'))) / (select extract(epoch from '2026-07-28 05:21:21'::timestamp) - extract(epoch from '2026-07-28 05:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318709 -2.777413)'), GeomFromEWKT('SRID=4674;POINT (-40.318649 -2.777296)'))) / (select extract(epoch from '2026-07-28 05:21:21'::timestamp) - extract(epoch from '2026-07-28 05:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318557 -2.777167)', '2026-07-28 05:21:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318649 -2.777296)'), GeomFromEWKT('SRID=4674;POINT (-40.318557 -2.777167)'))) / (select extract(epoch from '2026-07-28 05:21:30'::timestamp) - extract(epoch from '2026-07-28 05:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318649 -2.777296)'), GeomFromEWKT('SRID=4674;POINT (-40.318557 -2.777167)'))) / (select extract(epoch from '2026-07-28 05:21:30'::timestamp) - extract(epoch from '2026-07-28 05:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318493 -2.777068)', '2026-07-28 05:21:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318557 -2.777167)'), GeomFromEWKT('SRID=4674;POINT (-40.318493 -2.777068)'))) / (select extract(epoch from '2026-07-28 05:21:36'::timestamp) - extract(epoch from '2026-07-28 05:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318557 -2.777167)'), GeomFromEWKT('SRID=4674;POINT (-40.318493 -2.777068)'))) / (select extract(epoch from '2026-07-28 05:21:36'::timestamp) - extract(epoch from '2026-07-28 05:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318401 -2.776934)', '2026-07-28 05:21:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318493 -2.777068)'), GeomFromEWKT('SRID=4674;POINT (-40.318401 -2.776934)'))) / (select extract(epoch from '2026-07-28 05:21:44'::timestamp) - extract(epoch from '2026-07-28 05:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318493 -2.777068)'), GeomFromEWKT('SRID=4674;POINT (-40.318401 -2.776934)'))) / (select extract(epoch from '2026-07-28 05:21:44'::timestamp) - extract(epoch from '2026-07-28 05:21:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318317 -2.776799)', '2026-07-28 05:21:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318401 -2.776934)'), GeomFromEWKT('SRID=4674;POINT (-40.318317 -2.776799)'))) / (select extract(epoch from '2026-07-28 05:21:52'::timestamp) - extract(epoch from '2026-07-28 05:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318401 -2.776934)'), GeomFromEWKT('SRID=4674;POINT (-40.318317 -2.776799)'))) / (select extract(epoch from '2026-07-28 05:21:52'::timestamp) - extract(epoch from '2026-07-28 05:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31825 -2.776662)', '2026-07-28 05:22:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318317 -2.776799)'), GeomFromEWKT('SRID=4674;POINT (-40.31825 -2.776662)'))) / (select extract(epoch from '2026-07-28 05:22:01'::timestamp) - extract(epoch from '2026-07-28 05:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318317 -2.776799)'), GeomFromEWKT('SRID=4674;POINT (-40.31825 -2.776662)'))) / (select extract(epoch from '2026-07-28 05:22:01'::timestamp) - extract(epoch from '2026-07-28 05:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318216 -2.776555)', '2026-07-28 05:22:08', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31825 -2.776662)'), GeomFromEWKT('SRID=4674;POINT (-40.318216 -2.776555)'))) / (select extract(epoch from '2026-07-28 05:22:08'::timestamp) - extract(epoch from '2026-07-28 05:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31825 -2.776662)'), GeomFromEWKT('SRID=4674;POINT (-40.318216 -2.776555)'))) / (select extract(epoch from '2026-07-28 05:22:08'::timestamp) - extract(epoch from '2026-07-28 05:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318155 -2.776411)', '2026-07-28 05:22:16', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318216 -2.776555)'), GeomFromEWKT('SRID=4674;POINT (-40.318155 -2.776411)'))) / (select extract(epoch from '2026-07-28 05:22:16'::timestamp) - extract(epoch from '2026-07-28 05:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318216 -2.776555)'), GeomFromEWKT('SRID=4674;POINT (-40.318155 -2.776411)'))) / (select extract(epoch from '2026-07-28 05:22:16'::timestamp) - extract(epoch from '2026-07-28 05:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318115 -2.776263)', '2026-07-28 05:22:24', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318155 -2.776411)'), GeomFromEWKT('SRID=4674;POINT (-40.318115 -2.776263)'))) / (select extract(epoch from '2026-07-28 05:22:24'::timestamp) - extract(epoch from '2026-07-28 05:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318155 -2.776411)'), GeomFromEWKT('SRID=4674;POINT (-40.318115 -2.776263)'))) / (select extract(epoch from '2026-07-28 05:22:24'::timestamp) - extract(epoch from '2026-07-28 05:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318067 -2.776152)', '2026-07-28 05:22:30', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318115 -2.776263)'), GeomFromEWKT('SRID=4674;POINT (-40.318067 -2.776152)'))) / (select extract(epoch from '2026-07-28 05:22:30'::timestamp) - extract(epoch from '2026-07-28 05:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318115 -2.776263)'), GeomFromEWKT('SRID=4674;POINT (-40.318067 -2.776152)'))) / (select extract(epoch from '2026-07-28 05:22:30'::timestamp) - extract(epoch from '2026-07-28 05:22:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.318022 -2.77603)', '2026-07-28 05:22:37', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318067 -2.776152)'), GeomFromEWKT('SRID=4674;POINT (-40.318022 -2.77603)'))) / (select extract(epoch from '2026-07-28 05:22:37'::timestamp) - extract(epoch from '2026-07-28 05:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318067 -2.776152)'), GeomFromEWKT('SRID=4674;POINT (-40.318022 -2.77603)'))) / (select extract(epoch from '2026-07-28 05:22:37'::timestamp) - extract(epoch from '2026-07-28 05:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.317939 -2.775882)', '2026-07-28 05:22:45', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318022 -2.77603)'), GeomFromEWKT('SRID=4674;POINT (-40.317939 -2.775882)'))) / (select extract(epoch from '2026-07-28 05:22:45'::timestamp) - extract(epoch from '2026-07-28 05:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318022 -2.77603)'), GeomFromEWKT('SRID=4674;POINT (-40.317939 -2.775882)'))) / (select extract(epoch from '2026-07-28 05:22:45'::timestamp) - extract(epoch from '2026-07-28 05:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.317833 -2.775718)', '2026-07-28 05:22:54', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317939 -2.775882)'), GeomFromEWKT('SRID=4674;POINT (-40.317833 -2.775718)'))) / (select extract(epoch from '2026-07-28 05:22:54'::timestamp) - extract(epoch from '2026-07-28 05:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317939 -2.775882)'), GeomFromEWKT('SRID=4674;POINT (-40.317833 -2.775718)'))) / (select extract(epoch from '2026-07-28 05:22:54'::timestamp) - extract(epoch from '2026-07-28 05:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.317792 -2.775602)', '2026-07-28 05:23:01', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317833 -2.775718)'), GeomFromEWKT('SRID=4674;POINT (-40.317792 -2.775602)'))) / (select extract(epoch from '2026-07-28 05:23:01'::timestamp) - extract(epoch from '2026-07-28 05:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317833 -2.775718)'), GeomFromEWKT('SRID=4674;POINT (-40.317792 -2.775602)'))) / (select extract(epoch from '2026-07-28 05:23:01'::timestamp) - extract(epoch from '2026-07-28 05:22:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31776 -2.775512)', '2026-07-28 05:23:07', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317792 -2.775602)'), GeomFromEWKT('SRID=4674;POINT (-40.31776 -2.775512)'))) / (select extract(epoch from '2026-07-28 05:23:07'::timestamp) - extract(epoch from '2026-07-28 05:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317792 -2.775602)'), GeomFromEWKT('SRID=4674;POINT (-40.31776 -2.775512)'))) / (select extract(epoch from '2026-07-28 05:23:07'::timestamp) - extract(epoch from '2026-07-28 05:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31772 -2.775419)', '2026-07-28 05:23:14', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31776 -2.775512)'), GeomFromEWKT('SRID=4674;POINT (-40.31772 -2.775419)'))) / (select extract(epoch from '2026-07-28 05:23:14'::timestamp) - extract(epoch from '2026-07-28 05:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31776 -2.775512)'), GeomFromEWKT('SRID=4674;POINT (-40.31772 -2.775419)'))) / (select extract(epoch from '2026-07-28 05:23:14'::timestamp) - extract(epoch from '2026-07-28 05:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.317657 -2.775285)', '2026-07-28 05:23:22', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31772 -2.775419)'), GeomFromEWKT('SRID=4674;POINT (-40.317657 -2.775285)'))) / (select extract(epoch from '2026-07-28 05:23:22'::timestamp) - extract(epoch from '2026-07-28 05:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31772 -2.775419)'), GeomFromEWKT('SRID=4674;POINT (-40.317657 -2.775285)'))) / (select extract(epoch from '2026-07-28 05:23:22'::timestamp) - extract(epoch from '2026-07-28 05:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.317582 -2.77516)', '2026-07-28 05:23:30', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317657 -2.775285)'), GeomFromEWKT('SRID=4674;POINT (-40.317582 -2.77516)'))) / (select extract(epoch from '2026-07-28 05:23:30'::timestamp) - extract(epoch from '2026-07-28 05:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317657 -2.775285)'), GeomFromEWKT('SRID=4674;POINT (-40.317582 -2.77516)'))) / (select extract(epoch from '2026-07-28 05:23:30'::timestamp) - extract(epoch from '2026-07-28 05:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31753 -2.77504)', '2026-07-28 05:23:37', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317582 -2.77516)'), GeomFromEWKT('SRID=4674;POINT (-40.31753 -2.77504)'))) / (select extract(epoch from '2026-07-28 05:23:37'::timestamp) - extract(epoch from '2026-07-28 05:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317582 -2.77516)'), GeomFromEWKT('SRID=4674;POINT (-40.31753 -2.77504)'))) / (select extract(epoch from '2026-07-28 05:23:37'::timestamp) - extract(epoch from '2026-07-28 05:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.317401 -2.77489)', '2026-07-28 05:23:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31753 -2.77504)'), GeomFromEWKT('SRID=4674;POINT (-40.317401 -2.77489)'))) / (select extract(epoch from '2026-07-28 05:23:46'::timestamp) - extract(epoch from '2026-07-28 05:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31753 -2.77504)'), GeomFromEWKT('SRID=4674;POINT (-40.317401 -2.77489)'))) / (select extract(epoch from '2026-07-28 05:23:46'::timestamp) - extract(epoch from '2026-07-28 05:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.317277 -2.774794)', '2026-07-28 05:23:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317401 -2.77489)'), GeomFromEWKT('SRID=4674;POINT (-40.317277 -2.774794)'))) / (select extract(epoch from '2026-07-28 05:23:53'::timestamp) - extract(epoch from '2026-07-28 05:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317401 -2.77489)'), GeomFromEWKT('SRID=4674;POINT (-40.317277 -2.774794)'))) / (select extract(epoch from '2026-07-28 05:23:53'::timestamp) - extract(epoch from '2026-07-28 05:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.317158 -2.774705)', '2026-07-28 05:24:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317277 -2.774794)'), GeomFromEWKT('SRID=4674;POINT (-40.317158 -2.774705)'))) / (select extract(epoch from '2026-07-28 05:24:01'::timestamp) - extract(epoch from '2026-07-28 05:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317277 -2.774794)'), GeomFromEWKT('SRID=4674;POINT (-40.317158 -2.774705)'))) / (select extract(epoch from '2026-07-28 05:24:01'::timestamp) - extract(epoch from '2026-07-28 05:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.317027 -2.774546)', '2026-07-28 05:24:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317158 -2.774705)'), GeomFromEWKT('SRID=4674;POINT (-40.317027 -2.774546)'))) / (select extract(epoch from '2026-07-28 05:24:12'::timestamp) - extract(epoch from '2026-07-28 05:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317158 -2.774705)'), GeomFromEWKT('SRID=4674;POINT (-40.317027 -2.774546)'))) / (select extract(epoch from '2026-07-28 05:24:12'::timestamp) - extract(epoch from '2026-07-28 05:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316964 -2.774428)', '2026-07-28 05:24:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317027 -2.774546)'), GeomFromEWKT('SRID=4674;POINT (-40.316964 -2.774428)'))) / (select extract(epoch from '2026-07-28 05:24:19'::timestamp) - extract(epoch from '2026-07-28 05:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317027 -2.774546)'), GeomFromEWKT('SRID=4674;POINT (-40.316964 -2.774428)'))) / (select extract(epoch from '2026-07-28 05:24:19'::timestamp) - extract(epoch from '2026-07-28 05:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316946 -2.774327)', '2026-07-28 05:24:26', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316964 -2.774428)'), GeomFromEWKT('SRID=4674;POINT (-40.316946 -2.774327)'))) / (select extract(epoch from '2026-07-28 05:24:26'::timestamp) - extract(epoch from '2026-07-28 05:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316964 -2.774428)'), GeomFromEWKT('SRID=4674;POINT (-40.316946 -2.774327)'))) / (select extract(epoch from '2026-07-28 05:24:26'::timestamp) - extract(epoch from '2026-07-28 05:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316893 -2.774208)', '2026-07-28 05:24:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316946 -2.774327)'), GeomFromEWKT('SRID=4674;POINT (-40.316893 -2.774208)'))) / (select extract(epoch from '2026-07-28 05:24:33'::timestamp) - extract(epoch from '2026-07-28 05:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316946 -2.774327)'), GeomFromEWKT('SRID=4674;POINT (-40.316893 -2.774208)'))) / (select extract(epoch from '2026-07-28 05:24:33'::timestamp) - extract(epoch from '2026-07-28 05:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316824 -2.774099)', '2026-07-28 05:24:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316893 -2.774208)'), GeomFromEWKT('SRID=4674;POINT (-40.316824 -2.774099)'))) / (select extract(epoch from '2026-07-28 05:24:39'::timestamp) - extract(epoch from '2026-07-28 05:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316893 -2.774208)'), GeomFromEWKT('SRID=4674;POINT (-40.316824 -2.774099)'))) / (select extract(epoch from '2026-07-28 05:24:39'::timestamp) - extract(epoch from '2026-07-28 05:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31675 -2.774002)', '2026-07-28 05:24:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316824 -2.774099)'), GeomFromEWKT('SRID=4674;POINT (-40.31675 -2.774002)'))) / (select extract(epoch from '2026-07-28 05:24:45'::timestamp) - extract(epoch from '2026-07-28 05:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316824 -2.774099)'), GeomFromEWKT('SRID=4674;POINT (-40.31675 -2.774002)'))) / (select extract(epoch from '2026-07-28 05:24:45'::timestamp) - extract(epoch from '2026-07-28 05:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316684 -2.773889)', '2026-07-28 05:24:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31675 -2.774002)'), GeomFromEWKT('SRID=4674;POINT (-40.316684 -2.773889)'))) / (select extract(epoch from '2026-07-28 05:24:52'::timestamp) - extract(epoch from '2026-07-28 05:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31675 -2.774002)'), GeomFromEWKT('SRID=4674;POINT (-40.316684 -2.773889)'))) / (select extract(epoch from '2026-07-28 05:24:52'::timestamp) - extract(epoch from '2026-07-28 05:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316599 -2.773744)', '2026-07-28 05:25:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316684 -2.773889)'), GeomFromEWKT('SRID=4674;POINT (-40.316599 -2.773744)'))) / (select extract(epoch from '2026-07-28 05:25:00'::timestamp) - extract(epoch from '2026-07-28 05:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316684 -2.773889)'), GeomFromEWKT('SRID=4674;POINT (-40.316599 -2.773744)'))) / (select extract(epoch from '2026-07-28 05:25:00'::timestamp) - extract(epoch from '2026-07-28 05:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316502 -2.77361)', '2026-07-28 05:25:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316599 -2.773744)'), GeomFromEWKT('SRID=4674;POINT (-40.316502 -2.77361)'))) / (select extract(epoch from '2026-07-28 05:25:08'::timestamp) - extract(epoch from '2026-07-28 05:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316599 -2.773744)'), GeomFromEWKT('SRID=4674;POINT (-40.316502 -2.77361)'))) / (select extract(epoch from '2026-07-28 05:25:08'::timestamp) - extract(epoch from '2026-07-28 05:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316412 -2.77345)', '2026-07-28 05:25:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316502 -2.77361)'), GeomFromEWKT('SRID=4674;POINT (-40.316412 -2.77345)'))) / (select extract(epoch from '2026-07-28 05:25:17'::timestamp) - extract(epoch from '2026-07-28 05:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316502 -2.77361)'), GeomFromEWKT('SRID=4674;POINT (-40.316412 -2.77345)'))) / (select extract(epoch from '2026-07-28 05:25:17'::timestamp) - extract(epoch from '2026-07-28 05:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316361 -2.773313)', '2026-07-28 05:25:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316412 -2.77345)'), GeomFromEWKT('SRID=4674;POINT (-40.316361 -2.773313)'))) / (select extract(epoch from '2026-07-28 05:25:25'::timestamp) - extract(epoch from '2026-07-28 05:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316412 -2.77345)'), GeomFromEWKT('SRID=4674;POINT (-40.316361 -2.773313)'))) / (select extract(epoch from '2026-07-28 05:25:25'::timestamp) - extract(epoch from '2026-07-28 05:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316296 -2.773198)', '2026-07-28 05:25:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316361 -2.773313)'), GeomFromEWKT('SRID=4674;POINT (-40.316296 -2.773198)'))) / (select extract(epoch from '2026-07-28 05:25:33'::timestamp) - extract(epoch from '2026-07-28 05:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316361 -2.773313)'), GeomFromEWKT('SRID=4674;POINT (-40.316296 -2.773198)'))) / (select extract(epoch from '2026-07-28 05:25:33'::timestamp) - extract(epoch from '2026-07-28 05:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316206 -2.773066)', '2026-07-28 05:25:41', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316296 -2.773198)'), GeomFromEWKT('SRID=4674;POINT (-40.316206 -2.773066)'))) / (select extract(epoch from '2026-07-28 05:25:41'::timestamp) - extract(epoch from '2026-07-28 05:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316296 -2.773198)'), GeomFromEWKT('SRID=4674;POINT (-40.316206 -2.773066)'))) / (select extract(epoch from '2026-07-28 05:25:41'::timestamp) - extract(epoch from '2026-07-28 05:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316131 -2.772927)', '2026-07-28 05:25:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316206 -2.773066)'), GeomFromEWKT('SRID=4674;POINT (-40.316131 -2.772927)'))) / (select extract(epoch from '2026-07-28 05:25:49'::timestamp) - extract(epoch from '2026-07-28 05:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316206 -2.773066)'), GeomFromEWKT('SRID=4674;POINT (-40.316131 -2.772927)'))) / (select extract(epoch from '2026-07-28 05:25:49'::timestamp) - extract(epoch from '2026-07-28 05:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.316033 -2.772812)', '2026-07-28 05:25:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316131 -2.772927)'), GeomFromEWKT('SRID=4674;POINT (-40.316033 -2.772812)'))) / (select extract(epoch from '2026-07-28 05:25:57'::timestamp) - extract(epoch from '2026-07-28 05:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316131 -2.772927)'), GeomFromEWKT('SRID=4674;POINT (-40.316033 -2.772812)'))) / (select extract(epoch from '2026-07-28 05:25:57'::timestamp) - extract(epoch from '2026-07-28 05:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315965 -2.772659)', '2026-07-28 05:26:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316033 -2.772812)'), GeomFromEWKT('SRID=4674;POINT (-40.315965 -2.772659)'))) / (select extract(epoch from '2026-07-28 05:26:04'::timestamp) - extract(epoch from '2026-07-28 05:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316033 -2.772812)'), GeomFromEWKT('SRID=4674;POINT (-40.315965 -2.772659)'))) / (select extract(epoch from '2026-07-28 05:26:04'::timestamp) - extract(epoch from '2026-07-28 05:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315899 -2.772551)', '2026-07-28 05:26:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315965 -2.772659)'), GeomFromEWKT('SRID=4674;POINT (-40.315899 -2.772551)'))) / (select extract(epoch from '2026-07-28 05:26:11'::timestamp) - extract(epoch from '2026-07-28 05:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315965 -2.772659)'), GeomFromEWKT('SRID=4674;POINT (-40.315899 -2.772551)'))) / (select extract(epoch from '2026-07-28 05:26:11'::timestamp) - extract(epoch from '2026-07-28 05:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315826 -2.77245)', '2026-07-28 05:26:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315899 -2.772551)'), GeomFromEWKT('SRID=4674;POINT (-40.315826 -2.77245)'))) / (select extract(epoch from '2026-07-28 05:26:18'::timestamp) - extract(epoch from '2026-07-28 05:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315899 -2.772551)'), GeomFromEWKT('SRID=4674;POINT (-40.315826 -2.77245)'))) / (select extract(epoch from '2026-07-28 05:26:18'::timestamp) - extract(epoch from '2026-07-28 05:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315749 -2.772359)', '2026-07-28 05:26:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315826 -2.77245)'), GeomFromEWKT('SRID=4674;POINT (-40.315749 -2.772359)'))) / (select extract(epoch from '2026-07-28 05:26:25'::timestamp) - extract(epoch from '2026-07-28 05:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315826 -2.77245)'), GeomFromEWKT('SRID=4674;POINT (-40.315749 -2.772359)'))) / (select extract(epoch from '2026-07-28 05:26:25'::timestamp) - extract(epoch from '2026-07-28 05:26:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31565 -2.772219)', '2026-07-28 05:26:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315749 -2.772359)'), GeomFromEWKT('SRID=4674;POINT (-40.31565 -2.772219)'))) / (select extract(epoch from '2026-07-28 05:26:33'::timestamp) - extract(epoch from '2026-07-28 05:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315749 -2.772359)'), GeomFromEWKT('SRID=4674;POINT (-40.31565 -2.772219)'))) / (select extract(epoch from '2026-07-28 05:26:33'::timestamp) - extract(epoch from '2026-07-28 05:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315551 -2.77211)', '2026-07-28 05:26:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31565 -2.772219)'), GeomFromEWKT('SRID=4674;POINT (-40.315551 -2.77211)'))) / (select extract(epoch from '2026-07-28 05:26:41'::timestamp) - extract(epoch from '2026-07-28 05:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31565 -2.772219)'), GeomFromEWKT('SRID=4674;POINT (-40.315551 -2.77211)'))) / (select extract(epoch from '2026-07-28 05:26:41'::timestamp) - extract(epoch from '2026-07-28 05:26:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315422 -2.771975)', '2026-07-28 05:26:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315551 -2.77211)'), GeomFromEWKT('SRID=4674;POINT (-40.315422 -2.771975)'))) / (select extract(epoch from '2026-07-28 05:26:51'::timestamp) - extract(epoch from '2026-07-28 05:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315551 -2.77211)'), GeomFromEWKT('SRID=4674;POINT (-40.315422 -2.771975)'))) / (select extract(epoch from '2026-07-28 05:26:51'::timestamp) - extract(epoch from '2026-07-28 05:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31535 -2.771871)', '2026-07-28 05:26:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315422 -2.771975)'), GeomFromEWKT('SRID=4674;POINT (-40.31535 -2.771871)'))) / (select extract(epoch from '2026-07-28 05:26:58'::timestamp) - extract(epoch from '2026-07-28 05:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315422 -2.771975)'), GeomFromEWKT('SRID=4674;POINT (-40.31535 -2.771871)'))) / (select extract(epoch from '2026-07-28 05:26:58'::timestamp) - extract(epoch from '2026-07-28 05:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315284 -2.771767)', '2026-07-28 05:27:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31535 -2.771871)'), GeomFromEWKT('SRID=4674;POINT (-40.315284 -2.771767)'))) / (select extract(epoch from '2026-07-28 05:27:05'::timestamp) - extract(epoch from '2026-07-28 05:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31535 -2.771871)'), GeomFromEWKT('SRID=4674;POINT (-40.315284 -2.771767)'))) / (select extract(epoch from '2026-07-28 05:27:05'::timestamp) - extract(epoch from '2026-07-28 05:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315178 -2.771598)', '2026-07-28 05:27:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315284 -2.771767)'), GeomFromEWKT('SRID=4674;POINT (-40.315178 -2.771598)'))) / (select extract(epoch from '2026-07-28 05:27:15'::timestamp) - extract(epoch from '2026-07-28 05:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315284 -2.771767)'), GeomFromEWKT('SRID=4674;POINT (-40.315178 -2.771598)'))) / (select extract(epoch from '2026-07-28 05:27:15'::timestamp) - extract(epoch from '2026-07-28 05:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315106 -2.771503)', '2026-07-28 05:27:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315178 -2.771598)'), GeomFromEWKT('SRID=4674;POINT (-40.315106 -2.771503)'))) / (select extract(epoch from '2026-07-28 05:27:21'::timestamp) - extract(epoch from '2026-07-28 05:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315178 -2.771598)'), GeomFromEWKT('SRID=4674;POINT (-40.315106 -2.771503)'))) / (select extract(epoch from '2026-07-28 05:27:21'::timestamp) - extract(epoch from '2026-07-28 05:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.315012 -2.771393)', '2026-07-28 05:27:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315106 -2.771503)'), GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.771393)'))) / (select extract(epoch from '2026-07-28 05:27:28'::timestamp) - extract(epoch from '2026-07-28 05:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315106 -2.771503)'), GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.771393)'))) / (select extract(epoch from '2026-07-28 05:27:28'::timestamp) - extract(epoch from '2026-07-28 05:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314885 -2.771279)', '2026-07-28 05:27:36', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.771393)'), GeomFromEWKT('SRID=4674;POINT (-40.314885 -2.771279)'))) / (select extract(epoch from '2026-07-28 05:27:36'::timestamp) - extract(epoch from '2026-07-28 05:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.771393)'), GeomFromEWKT('SRID=4674;POINT (-40.314885 -2.771279)'))) / (select extract(epoch from '2026-07-28 05:27:36'::timestamp) - extract(epoch from '2026-07-28 05:27:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314786 -2.771186)', '2026-07-28 05:27:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314885 -2.771279)'), GeomFromEWKT('SRID=4674;POINT (-40.314786 -2.771186)'))) / (select extract(epoch from '2026-07-28 05:27:43'::timestamp) - extract(epoch from '2026-07-28 05:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314885 -2.771279)'), GeomFromEWKT('SRID=4674;POINT (-40.314786 -2.771186)'))) / (select extract(epoch from '2026-07-28 05:27:43'::timestamp) - extract(epoch from '2026-07-28 05:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314702 -2.771074)', '2026-07-28 05:27:50', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314786 -2.771186)'), GeomFromEWKT('SRID=4674;POINT (-40.314702 -2.771074)'))) / (select extract(epoch from '2026-07-28 05:27:50'::timestamp) - extract(epoch from '2026-07-28 05:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314786 -2.771186)'), GeomFromEWKT('SRID=4674;POINT (-40.314702 -2.771074)'))) / (select extract(epoch from '2026-07-28 05:27:50'::timestamp) - extract(epoch from '2026-07-28 05:27:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314604 -2.770965)', '2026-07-28 05:27:58', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314702 -2.771074)'), GeomFromEWKT('SRID=4674;POINT (-40.314604 -2.770965)'))) / (select extract(epoch from '2026-07-28 05:27:58'::timestamp) - extract(epoch from '2026-07-28 05:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314702 -2.771074)'), GeomFromEWKT('SRID=4674;POINT (-40.314604 -2.770965)'))) / (select extract(epoch from '2026-07-28 05:27:58'::timestamp) - extract(epoch from '2026-07-28 05:27:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31454 -2.77081)', '2026-07-28 05:28:06', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314604 -2.770965)'), GeomFromEWKT('SRID=4674;POINT (-40.31454 -2.77081)'))) / (select extract(epoch from '2026-07-28 05:28:06'::timestamp) - extract(epoch from '2026-07-28 05:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314604 -2.770965)'), GeomFromEWKT('SRID=4674;POINT (-40.31454 -2.77081)'))) / (select extract(epoch from '2026-07-28 05:28:06'::timestamp) - extract(epoch from '2026-07-28 05:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314477 -2.770704)', '2026-07-28 05:28:12', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31454 -2.77081)'), GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.770704)'))) / (select extract(epoch from '2026-07-28 05:28:12'::timestamp) - extract(epoch from '2026-07-28 05:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31454 -2.77081)'), GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.770704)'))) / (select extract(epoch from '2026-07-28 05:28:12'::timestamp) - extract(epoch from '2026-07-28 05:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314407 -2.77059)', '2026-07-28 05:28:19', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.770704)'), GeomFromEWKT('SRID=4674;POINT (-40.314407 -2.77059)'))) / (select extract(epoch from '2026-07-28 05:28:19'::timestamp) - extract(epoch from '2026-07-28 05:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.770704)'), GeomFromEWKT('SRID=4674;POINT (-40.314407 -2.77059)'))) / (select extract(epoch from '2026-07-28 05:28:19'::timestamp) - extract(epoch from '2026-07-28 05:28:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314341 -2.770465)', '2026-07-28 05:28:27', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314407 -2.77059)'), GeomFromEWKT('SRID=4674;POINT (-40.314341 -2.770465)'))) / (select extract(epoch from '2026-07-28 05:28:27'::timestamp) - extract(epoch from '2026-07-28 05:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314407 -2.77059)'), GeomFromEWKT('SRID=4674;POINT (-40.314341 -2.770465)'))) / (select extract(epoch from '2026-07-28 05:28:27'::timestamp) - extract(epoch from '2026-07-28 05:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314273 -2.770343)', '2026-07-28 05:28:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314341 -2.770465)'), GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.770343)'))) / (select extract(epoch from '2026-07-28 05:28:34'::timestamp) - extract(epoch from '2026-07-28 05:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314341 -2.770465)'), GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.770343)'))) / (select extract(epoch from '2026-07-28 05:28:34'::timestamp) - extract(epoch from '2026-07-28 05:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314214 -2.770215)', '2026-07-28 05:28:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.770343)'), GeomFromEWKT('SRID=4674;POINT (-40.314214 -2.770215)'))) / (select extract(epoch from '2026-07-28 05:28:41'::timestamp) - extract(epoch from '2026-07-28 05:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.770343)'), GeomFromEWKT('SRID=4674;POINT (-40.314214 -2.770215)'))) / (select extract(epoch from '2026-07-28 05:28:41'::timestamp) - extract(epoch from '2026-07-28 05:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31417 -2.770084)', '2026-07-28 05:28:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314214 -2.770215)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.770084)'))) / (select extract(epoch from '2026-07-28 05:28:49'::timestamp) - extract(epoch from '2026-07-28 05:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314214 -2.770215)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.770084)'))) / (select extract(epoch from '2026-07-28 05:28:49'::timestamp) - extract(epoch from '2026-07-28 05:28:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314131 -2.769983)', '2026-07-28 05:28:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.770084)'), GeomFromEWKT('SRID=4674;POINT (-40.314131 -2.769983)'))) / (select extract(epoch from '2026-07-28 05:28:55'::timestamp) - extract(epoch from '2026-07-28 05:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.770084)'), GeomFromEWKT('SRID=4674;POINT (-40.314131 -2.769983)'))) / (select extract(epoch from '2026-07-28 05:28:55'::timestamp) - extract(epoch from '2026-07-28 05:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.314057 -2.769843)', '2026-07-28 05:29:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314131 -2.769983)'), GeomFromEWKT('SRID=4674;POINT (-40.314057 -2.769843)'))) / (select extract(epoch from '2026-07-28 05:29:03'::timestamp) - extract(epoch from '2026-07-28 05:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314131 -2.769983)'), GeomFromEWKT('SRID=4674;POINT (-40.314057 -2.769843)'))) / (select extract(epoch from '2026-07-28 05:29:03'::timestamp) - extract(epoch from '2026-07-28 05:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313975 -2.76971)', '2026-07-28 05:29:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314057 -2.769843)'), GeomFromEWKT('SRID=4674;POINT (-40.313975 -2.76971)'))) / (select extract(epoch from '2026-07-28 05:29:11'::timestamp) - extract(epoch from '2026-07-28 05:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314057 -2.769843)'), GeomFromEWKT('SRID=4674;POINT (-40.313975 -2.76971)'))) / (select extract(epoch from '2026-07-28 05:29:11'::timestamp) - extract(epoch from '2026-07-28 05:29:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313903 -2.769579)', '2026-07-28 05:29:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313975 -2.76971)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.769579)'))) / (select extract(epoch from '2026-07-28 05:29:19'::timestamp) - extract(epoch from '2026-07-28 05:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313975 -2.76971)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.769579)'))) / (select extract(epoch from '2026-07-28 05:29:19'::timestamp) - extract(epoch from '2026-07-28 05:29:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31385 -2.769438)', '2026-07-28 05:29:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.769579)'), GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.769438)'))) / (select extract(epoch from '2026-07-28 05:29:27'::timestamp) - extract(epoch from '2026-07-28 05:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.769579)'), GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.769438)'))) / (select extract(epoch from '2026-07-28 05:29:27'::timestamp) - extract(epoch from '2026-07-28 05:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313781 -2.769294)', '2026-07-28 05:29:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.769438)'), GeomFromEWKT('SRID=4674;POINT (-40.313781 -2.769294)'))) / (select extract(epoch from '2026-07-28 05:29:35'::timestamp) - extract(epoch from '2026-07-28 05:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.769438)'), GeomFromEWKT('SRID=4674;POINT (-40.313781 -2.769294)'))) / (select extract(epoch from '2026-07-28 05:29:35'::timestamp) - extract(epoch from '2026-07-28 05:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313749 -2.769117)', '2026-07-28 05:29:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313781 -2.769294)'), GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.769117)'))) / (select extract(epoch from '2026-07-28 05:29:44'::timestamp) - extract(epoch from '2026-07-28 05:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313781 -2.769294)'), GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.769117)'))) / (select extract(epoch from '2026-07-28 05:29:44'::timestamp) - extract(epoch from '2026-07-28 05:29:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313738 -2.768983)', '2026-07-28 05:29:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.769117)'), GeomFromEWKT('SRID=4674;POINT (-40.313738 -2.768983)'))) / (select extract(epoch from '2026-07-28 05:29:51'::timestamp) - extract(epoch from '2026-07-28 05:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.769117)'), GeomFromEWKT('SRID=4674;POINT (-40.313738 -2.768983)'))) / (select extract(epoch from '2026-07-28 05:29:51'::timestamp) - extract(epoch from '2026-07-28 05:29:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313679 -2.768817)', '2026-07-28 05:30:00', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313738 -2.768983)'), GeomFromEWKT('SRID=4674;POINT (-40.313679 -2.768817)'))) / (select extract(epoch from '2026-07-28 05:30:00'::timestamp) - extract(epoch from '2026-07-28 05:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313738 -2.768983)'), GeomFromEWKT('SRID=4674;POINT (-40.313679 -2.768817)'))) / (select extract(epoch from '2026-07-28 05:30:00'::timestamp) - extract(epoch from '2026-07-28 05:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313656 -2.768655)', '2026-07-28 05:30:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313679 -2.768817)'), GeomFromEWKT('SRID=4674;POINT (-40.313656 -2.768655)'))) / (select extract(epoch from '2026-07-28 05:30:07'::timestamp) - extract(epoch from '2026-07-28 05:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313679 -2.768817)'), GeomFromEWKT('SRID=4674;POINT (-40.313656 -2.768655)'))) / (select extract(epoch from '2026-07-28 05:30:07'::timestamp) - extract(epoch from '2026-07-28 05:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313628 -2.768495)', '2026-07-28 05:30:15', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313656 -2.768655)'), GeomFromEWKT('SRID=4674;POINT (-40.313628 -2.768495)'))) / (select extract(epoch from '2026-07-28 05:30:15'::timestamp) - extract(epoch from '2026-07-28 05:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313656 -2.768655)'), GeomFromEWKT('SRID=4674;POINT (-40.313628 -2.768495)'))) / (select extract(epoch from '2026-07-28 05:30:15'::timestamp) - extract(epoch from '2026-07-28 05:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313611 -2.768316)', '2026-07-28 05:30:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313628 -2.768495)'), GeomFromEWKT('SRID=4674;POINT (-40.313611 -2.768316)'))) / (select extract(epoch from '2026-07-28 05:30:23'::timestamp) - extract(epoch from '2026-07-28 05:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313628 -2.768495)'), GeomFromEWKT('SRID=4674;POINT (-40.313611 -2.768316)'))) / (select extract(epoch from '2026-07-28 05:30:23'::timestamp) - extract(epoch from '2026-07-28 05:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313607 -2.768156)', '2026-07-28 05:30:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313611 -2.768316)'), GeomFromEWKT('SRID=4674;POINT (-40.313607 -2.768156)'))) / (select extract(epoch from '2026-07-28 05:30:30'::timestamp) - extract(epoch from '2026-07-28 05:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313611 -2.768316)'), GeomFromEWKT('SRID=4674;POINT (-40.313607 -2.768156)'))) / (select extract(epoch from '2026-07-28 05:30:30'::timestamp) - extract(epoch from '2026-07-28 05:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313637 -2.767995)', '2026-07-28 05:30:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313607 -2.768156)'), GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.767995)'))) / (select extract(epoch from '2026-07-28 05:30:37'::timestamp) - extract(epoch from '2026-07-28 05:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313607 -2.768156)'), GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.767995)'))) / (select extract(epoch from '2026-07-28 05:30:37'::timestamp) - extract(epoch from '2026-07-28 05:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313637 -2.767778)', '2026-07-28 05:30:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.767995)'), GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.767778)'))) / (select extract(epoch from '2026-07-28 05:30:47'::timestamp) - extract(epoch from '2026-07-28 05:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.767995)'), GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.767778)'))) / (select extract(epoch from '2026-07-28 05:30:47'::timestamp) - extract(epoch from '2026-07-28 05:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313618 -2.767644)', '2026-07-28 05:30:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.767778)'), GeomFromEWKT('SRID=4674;POINT (-40.313618 -2.767644)'))) / (select extract(epoch from '2026-07-28 05:30:54'::timestamp) - extract(epoch from '2026-07-28 05:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.767778)'), GeomFromEWKT('SRID=4674;POINT (-40.313618 -2.767644)'))) / (select extract(epoch from '2026-07-28 05:30:54'::timestamp) - extract(epoch from '2026-07-28 05:30:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313601 -2.767501)', '2026-07-28 05:31:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313618 -2.767644)'), GeomFromEWKT('SRID=4674;POINT (-40.313601 -2.767501)'))) / (select extract(epoch from '2026-07-28 05:31:01'::timestamp) - extract(epoch from '2026-07-28 05:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313618 -2.767644)'), GeomFromEWKT('SRID=4674;POINT (-40.313601 -2.767501)'))) / (select extract(epoch from '2026-07-28 05:31:01'::timestamp) - extract(epoch from '2026-07-28 05:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313604 -2.767344)', '2026-07-28 05:31:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313601 -2.767501)'), GeomFromEWKT('SRID=4674;POINT (-40.313604 -2.767344)'))) / (select extract(epoch from '2026-07-28 05:31:08'::timestamp) - extract(epoch from '2026-07-28 05:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313601 -2.767501)'), GeomFromEWKT('SRID=4674;POINT (-40.313604 -2.767344)'))) / (select extract(epoch from '2026-07-28 05:31:08'::timestamp) - extract(epoch from '2026-07-28 05:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313575 -2.767182)', '2026-07-28 05:31:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313604 -2.767344)'), GeomFromEWKT('SRID=4674;POINT (-40.313575 -2.767182)'))) / (select extract(epoch from '2026-07-28 05:31:16'::timestamp) - extract(epoch from '2026-07-28 05:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313604 -2.767344)'), GeomFromEWKT('SRID=4674;POINT (-40.313575 -2.767182)'))) / (select extract(epoch from '2026-07-28 05:31:16'::timestamp) - extract(epoch from '2026-07-28 05:31:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313529 -2.767034)', '2026-07-28 05:31:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313575 -2.767182)'), GeomFromEWKT('SRID=4674;POINT (-40.313529 -2.767034)'))) / (select extract(epoch from '2026-07-28 05:31:23'::timestamp) - extract(epoch from '2026-07-28 05:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313575 -2.767182)'), GeomFromEWKT('SRID=4674;POINT (-40.313529 -2.767034)'))) / (select extract(epoch from '2026-07-28 05:31:23'::timestamp) - extract(epoch from '2026-07-28 05:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313494 -2.76692)', '2026-07-28 05:31:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313529 -2.767034)'), GeomFromEWKT('SRID=4674;POINT (-40.313494 -2.76692)'))) / (select extract(epoch from '2026-07-28 05:31:29'::timestamp) - extract(epoch from '2026-07-28 05:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313529 -2.767034)'), GeomFromEWKT('SRID=4674;POINT (-40.313494 -2.76692)'))) / (select extract(epoch from '2026-07-28 05:31:29'::timestamp) - extract(epoch from '2026-07-28 05:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313456 -2.766795)', '2026-07-28 05:31:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313494 -2.76692)'), GeomFromEWKT('SRID=4674;POINT (-40.313456 -2.766795)'))) / (select extract(epoch from '2026-07-28 05:31:35'::timestamp) - extract(epoch from '2026-07-28 05:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313494 -2.76692)'), GeomFromEWKT('SRID=4674;POINT (-40.313456 -2.766795)'))) / (select extract(epoch from '2026-07-28 05:31:35'::timestamp) - extract(epoch from '2026-07-28 05:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313449 -2.76664)', '2026-07-28 05:31:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313456 -2.766795)'), GeomFromEWKT('SRID=4674;POINT (-40.313449 -2.76664)'))) / (select extract(epoch from '2026-07-28 05:31:41'::timestamp) - extract(epoch from '2026-07-28 05:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313456 -2.766795)'), GeomFromEWKT('SRID=4674;POINT (-40.313449 -2.76664)'))) / (select extract(epoch from '2026-07-28 05:31:41'::timestamp) - extract(epoch from '2026-07-28 05:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313428 -2.766512)', '2026-07-28 05:31:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313449 -2.76664)'), GeomFromEWKT('SRID=4674;POINT (-40.313428 -2.766512)'))) / (select extract(epoch from '2026-07-28 05:31:48'::timestamp) - extract(epoch from '2026-07-28 05:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313449 -2.76664)'), GeomFromEWKT('SRID=4674;POINT (-40.313428 -2.766512)'))) / (select extract(epoch from '2026-07-28 05:31:48'::timestamp) - extract(epoch from '2026-07-28 05:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31337 -2.766401)', '2026-07-28 05:31:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313428 -2.766512)'), GeomFromEWKT('SRID=4674;POINT (-40.31337 -2.766401)'))) / (select extract(epoch from '2026-07-28 05:31:55'::timestamp) - extract(epoch from '2026-07-28 05:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313428 -2.766512)'), GeomFromEWKT('SRID=4674;POINT (-40.31337 -2.766401)'))) / (select extract(epoch from '2026-07-28 05:31:55'::timestamp) - extract(epoch from '2026-07-28 05:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313302 -2.766289)', '2026-07-28 05:32:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31337 -2.766401)'), GeomFromEWKT('SRID=4674;POINT (-40.313302 -2.766289)'))) / (select extract(epoch from '2026-07-28 05:32:02'::timestamp) - extract(epoch from '2026-07-28 05:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31337 -2.766401)'), GeomFromEWKT('SRID=4674;POINT (-40.313302 -2.766289)'))) / (select extract(epoch from '2026-07-28 05:32:02'::timestamp) - extract(epoch from '2026-07-28 05:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313236 -2.766135)', '2026-07-28 05:32:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313302 -2.766289)'), GeomFromEWKT('SRID=4674;POINT (-40.313236 -2.766135)'))) / (select extract(epoch from '2026-07-28 05:32:10'::timestamp) - extract(epoch from '2026-07-28 05:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313302 -2.766289)'), GeomFromEWKT('SRID=4674;POINT (-40.313236 -2.766135)'))) / (select extract(epoch from '2026-07-28 05:32:10'::timestamp) - extract(epoch from '2026-07-28 05:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313162 -2.765999)', '2026-07-28 05:32:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313236 -2.766135)'), GeomFromEWKT('SRID=4674;POINT (-40.313162 -2.765999)'))) / (select extract(epoch from '2026-07-28 05:32:17'::timestamp) - extract(epoch from '2026-07-28 05:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313236 -2.766135)'), GeomFromEWKT('SRID=4674;POINT (-40.313162 -2.765999)'))) / (select extract(epoch from '2026-07-28 05:32:17'::timestamp) - extract(epoch from '2026-07-28 05:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313104 -2.765872)', '2026-07-28 05:32:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313162 -2.765999)'), GeomFromEWKT('SRID=4674;POINT (-40.313104 -2.765872)'))) / (select extract(epoch from '2026-07-28 05:32:23'::timestamp) - extract(epoch from '2026-07-28 05:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313162 -2.765999)'), GeomFromEWKT('SRID=4674;POINT (-40.313104 -2.765872)'))) / (select extract(epoch from '2026-07-28 05:32:23'::timestamp) - extract(epoch from '2026-07-28 05:32:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313035 -2.765723)', '2026-07-28 05:32:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313104 -2.765872)'), GeomFromEWKT('SRID=4674;POINT (-40.313035 -2.765723)'))) / (select extract(epoch from '2026-07-28 05:32:30'::timestamp) - extract(epoch from '2026-07-28 05:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313104 -2.765872)'), GeomFromEWKT('SRID=4674;POINT (-40.313035 -2.765723)'))) / (select extract(epoch from '2026-07-28 05:32:30'::timestamp) - extract(epoch from '2026-07-28 05:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312983 -2.76561)', '2026-07-28 05:32:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313035 -2.765723)'), GeomFromEWKT('SRID=4674;POINT (-40.312983 -2.76561)'))) / (select extract(epoch from '2026-07-28 05:32:36'::timestamp) - extract(epoch from '2026-07-28 05:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313035 -2.765723)'), GeomFromEWKT('SRID=4674;POINT (-40.312983 -2.76561)'))) / (select extract(epoch from '2026-07-28 05:32:36'::timestamp) - extract(epoch from '2026-07-28 05:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312959 -2.765469)', '2026-07-28 05:32:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312983 -2.76561)'), GeomFromEWKT('SRID=4674;POINT (-40.312959 -2.765469)'))) / (select extract(epoch from '2026-07-28 05:32:43'::timestamp) - extract(epoch from '2026-07-28 05:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312983 -2.76561)'), GeomFromEWKT('SRID=4674;POINT (-40.312959 -2.765469)'))) / (select extract(epoch from '2026-07-28 05:32:43'::timestamp) - extract(epoch from '2026-07-28 05:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312931 -2.765316)', '2026-07-28 05:32:51', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312959 -2.765469)'), GeomFromEWKT('SRID=4674;POINT (-40.312931 -2.765316)'))) / (select extract(epoch from '2026-07-28 05:32:51'::timestamp) - extract(epoch from '2026-07-28 05:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312959 -2.765469)'), GeomFromEWKT('SRID=4674;POINT (-40.312931 -2.765316)'))) / (select extract(epoch from '2026-07-28 05:32:51'::timestamp) - extract(epoch from '2026-07-28 05:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312902 -2.765159)', '2026-07-28 05:32:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312931 -2.765316)'), GeomFromEWKT('SRID=4674;POINT (-40.312902 -2.765159)'))) / (select extract(epoch from '2026-07-28 05:32:59'::timestamp) - extract(epoch from '2026-07-28 05:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312931 -2.765316)'), GeomFromEWKT('SRID=4674;POINT (-40.312902 -2.765159)'))) / (select extract(epoch from '2026-07-28 05:32:59'::timestamp) - extract(epoch from '2026-07-28 05:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312857 -2.765001)', '2026-07-28 05:33:07', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312902 -2.765159)'), GeomFromEWKT('SRID=4674;POINT (-40.312857 -2.765001)'))) / (select extract(epoch from '2026-07-28 05:33:07'::timestamp) - extract(epoch from '2026-07-28 05:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312902 -2.765159)'), GeomFromEWKT('SRID=4674;POINT (-40.312857 -2.765001)'))) / (select extract(epoch from '2026-07-28 05:33:07'::timestamp) - extract(epoch from '2026-07-28 05:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312822 -2.764872)', '2026-07-28 05:33:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312857 -2.765001)'), GeomFromEWKT('SRID=4674;POINT (-40.312822 -2.764872)'))) / (select extract(epoch from '2026-07-28 05:33:14'::timestamp) - extract(epoch from '2026-07-28 05:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312857 -2.765001)'), GeomFromEWKT('SRID=4674;POINT (-40.312822 -2.764872)'))) / (select extract(epoch from '2026-07-28 05:33:14'::timestamp) - extract(epoch from '2026-07-28 05:33:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312796 -2.764748)', '2026-07-28 05:33:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312822 -2.764872)'), GeomFromEWKT('SRID=4674;POINT (-40.312796 -2.764748)'))) / (select extract(epoch from '2026-07-28 05:33:20'::timestamp) - extract(epoch from '2026-07-28 05:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312822 -2.764872)'), GeomFromEWKT('SRID=4674;POINT (-40.312796 -2.764748)'))) / (select extract(epoch from '2026-07-28 05:33:20'::timestamp) - extract(epoch from '2026-07-28 05:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312777 -2.764612)', '2026-07-28 05:33:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312796 -2.764748)'), GeomFromEWKT('SRID=4674;POINT (-40.312777 -2.764612)'))) / (select extract(epoch from '2026-07-28 05:33:27'::timestamp) - extract(epoch from '2026-07-28 05:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312796 -2.764748)'), GeomFromEWKT('SRID=4674;POINT (-40.312777 -2.764612)'))) / (select extract(epoch from '2026-07-28 05:33:27'::timestamp) - extract(epoch from '2026-07-28 05:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312765 -2.764479)', '2026-07-28 05:33:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312777 -2.764612)'), GeomFromEWKT('SRID=4674;POINT (-40.312765 -2.764479)'))) / (select extract(epoch from '2026-07-28 05:33:34'::timestamp) - extract(epoch from '2026-07-28 05:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312777 -2.764612)'), GeomFromEWKT('SRID=4674;POINT (-40.312765 -2.764479)'))) / (select extract(epoch from '2026-07-28 05:33:34'::timestamp) - extract(epoch from '2026-07-28 05:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312731 -2.764331)', '2026-07-28 05:33:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312765 -2.764479)'), GeomFromEWKT('SRID=4674;POINT (-40.312731 -2.764331)'))) / (select extract(epoch from '2026-07-28 05:33:41'::timestamp) - extract(epoch from '2026-07-28 05:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312765 -2.764479)'), GeomFromEWKT('SRID=4674;POINT (-40.312731 -2.764331)'))) / (select extract(epoch from '2026-07-28 05:33:41'::timestamp) - extract(epoch from '2026-07-28 05:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312685 -2.764189)', '2026-07-28 05:33:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312731 -2.764331)'), GeomFromEWKT('SRID=4674;POINT (-40.312685 -2.764189)'))) / (select extract(epoch from '2026-07-28 05:33:48'::timestamp) - extract(epoch from '2026-07-28 05:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312731 -2.764331)'), GeomFromEWKT('SRID=4674;POINT (-40.312685 -2.764189)'))) / (select extract(epoch from '2026-07-28 05:33:48'::timestamp) - extract(epoch from '2026-07-28 05:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312618 -2.764044)', '2026-07-28 05:33:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312685 -2.764189)'), GeomFromEWKT('SRID=4674;POINT (-40.312618 -2.764044)'))) / (select extract(epoch from '2026-07-28 05:33:56'::timestamp) - extract(epoch from '2026-07-28 05:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312685 -2.764189)'), GeomFromEWKT('SRID=4674;POINT (-40.312618 -2.764044)'))) / (select extract(epoch from '2026-07-28 05:33:56'::timestamp) - extract(epoch from '2026-07-28 05:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31257 -2.763933)', '2026-07-28 05:34:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312618 -2.764044)'), GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.763933)'))) / (select extract(epoch from '2026-07-28 05:34:02'::timestamp) - extract(epoch from '2026-07-28 05:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312618 -2.764044)'), GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.763933)'))) / (select extract(epoch from '2026-07-28 05:34:02'::timestamp) - extract(epoch from '2026-07-28 05:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312497 -2.763788)', '2026-07-28 05:34:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.763933)'), GeomFromEWKT('SRID=4674;POINT (-40.312497 -2.763788)'))) / (select extract(epoch from '2026-07-28 05:34:10'::timestamp) - extract(epoch from '2026-07-28 05:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.763933)'), GeomFromEWKT('SRID=4674;POINT (-40.312497 -2.763788)'))) / (select extract(epoch from '2026-07-28 05:34:10'::timestamp) - extract(epoch from '2026-07-28 05:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312494 -2.763658)', '2026-07-28 05:34:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312497 -2.763788)'), GeomFromEWKT('SRID=4674;POINT (-40.312494 -2.763658)'))) / (select extract(epoch from '2026-07-28 05:34:16'::timestamp) - extract(epoch from '2026-07-28 05:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312497 -2.763788)'), GeomFromEWKT('SRID=4674;POINT (-40.312494 -2.763658)'))) / (select extract(epoch from '2026-07-28 05:34:16'::timestamp) - extract(epoch from '2026-07-28 05:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312536 -2.763529)', '2026-07-28 05:34:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312494 -2.763658)'), GeomFromEWKT('SRID=4674;POINT (-40.312536 -2.763529)'))) / (select extract(epoch from '2026-07-28 05:34:22'::timestamp) - extract(epoch from '2026-07-28 05:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312494 -2.763658)'), GeomFromEWKT('SRID=4674;POINT (-40.312536 -2.763529)'))) / (select extract(epoch from '2026-07-28 05:34:22'::timestamp) - extract(epoch from '2026-07-28 05:34:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312604 -2.763428)', '2026-07-28 05:34:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312536 -2.763529)'), GeomFromEWKT('SRID=4674;POINT (-40.312604 -2.763428)'))) / (select extract(epoch from '2026-07-28 05:34:28'::timestamp) - extract(epoch from '2026-07-28 05:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312536 -2.763529)'), GeomFromEWKT('SRID=4674;POINT (-40.312604 -2.763428)'))) / (select extract(epoch from '2026-07-28 05:34:28'::timestamp) - extract(epoch from '2026-07-28 05:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312674 -2.763299)', '2026-07-28 05:34:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312604 -2.763428)'), GeomFromEWKT('SRID=4674;POINT (-40.312674 -2.763299)'))) / (select extract(epoch from '2026-07-28 05:34:35'::timestamp) - extract(epoch from '2026-07-28 05:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312604 -2.763428)'), GeomFromEWKT('SRID=4674;POINT (-40.312674 -2.763299)'))) / (select extract(epoch from '2026-07-28 05:34:35'::timestamp) - extract(epoch from '2026-07-28 05:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312735 -2.763116)', '2026-07-28 05:34:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312674 -2.763299)'), GeomFromEWKT('SRID=4674;POINT (-40.312735 -2.763116)'))) / (select extract(epoch from '2026-07-28 05:34:44'::timestamp) - extract(epoch from '2026-07-28 05:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312674 -2.763299)'), GeomFromEWKT('SRID=4674;POINT (-40.312735 -2.763116)'))) / (select extract(epoch from '2026-07-28 05:34:44'::timestamp) - extract(epoch from '2026-07-28 05:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312788 -2.76303)', '2026-07-28 05:34:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312735 -2.763116)'), GeomFromEWKT('SRID=4674;POINT (-40.312788 -2.76303)'))) / (select extract(epoch from '2026-07-28 05:34:49'::timestamp) - extract(epoch from '2026-07-28 05:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312735 -2.763116)'), GeomFromEWKT('SRID=4674;POINT (-40.312788 -2.76303)'))) / (select extract(epoch from '2026-07-28 05:34:49'::timestamp) - extract(epoch from '2026-07-28 05:34:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312863 -2.762939)', '2026-07-28 05:34:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312788 -2.76303)'), GeomFromEWKT('SRID=4674;POINT (-40.312863 -2.762939)'))) / (select extract(epoch from '2026-07-28 05:34:54'::timestamp) - extract(epoch from '2026-07-28 05:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312788 -2.76303)'), GeomFromEWKT('SRID=4674;POINT (-40.312863 -2.762939)'))) / (select extract(epoch from '2026-07-28 05:34:54'::timestamp) - extract(epoch from '2026-07-28 05:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312937 -2.762789)', '2026-07-28 05:35:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312863 -2.762939)'), GeomFromEWKT('SRID=4674;POINT (-40.312937 -2.762789)'))) / (select extract(epoch from '2026-07-28 05:35:01'::timestamp) - extract(epoch from '2026-07-28 05:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312863 -2.762939)'), GeomFromEWKT('SRID=4674;POINT (-40.312937 -2.762789)'))) / (select extract(epoch from '2026-07-28 05:35:01'::timestamp) - extract(epoch from '2026-07-28 05:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.312989 -2.76263)', '2026-07-28 05:35:08', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312937 -2.762789)'), GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.76263)'))) / (select extract(epoch from '2026-07-28 05:35:08'::timestamp) - extract(epoch from '2026-07-28 05:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312937 -2.762789)'), GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.76263)'))) / (select extract(epoch from '2026-07-28 05:35:08'::timestamp) - extract(epoch from '2026-07-28 05:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313039 -2.762509)', '2026-07-28 05:35:14', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.76263)'), GeomFromEWKT('SRID=4674;POINT (-40.313039 -2.762509)'))) / (select extract(epoch from '2026-07-28 05:35:14'::timestamp) - extract(epoch from '2026-07-28 05:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.76263)'), GeomFromEWKT('SRID=4674;POINT (-40.313039 -2.762509)'))) / (select extract(epoch from '2026-07-28 05:35:14'::timestamp) - extract(epoch from '2026-07-28 05:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313059 -2.762373)', '2026-07-28 05:35:20', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313039 -2.762509)'), GeomFromEWKT('SRID=4674;POINT (-40.313059 -2.762373)'))) / (select extract(epoch from '2026-07-28 05:35:20'::timestamp) - extract(epoch from '2026-07-28 05:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313039 -2.762509)'), GeomFromEWKT('SRID=4674;POINT (-40.313059 -2.762373)'))) / (select extract(epoch from '2026-07-28 05:35:20'::timestamp) - extract(epoch from '2026-07-28 05:35:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313038 -2.762258)', '2026-07-28 05:35:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313059 -2.762373)'), GeomFromEWKT('SRID=4674;POINT (-40.313038 -2.762258)'))) / (select extract(epoch from '2026-07-28 05:35:26'::timestamp) - extract(epoch from '2026-07-28 05:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313059 -2.762373)'), GeomFromEWKT('SRID=4674;POINT (-40.313038 -2.762258)'))) / (select extract(epoch from '2026-07-28 05:35:26'::timestamp) - extract(epoch from '2026-07-28 05:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.31306 -2.762083)', '2026-07-28 05:35:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313038 -2.762258)'), GeomFromEWKT('SRID=4674;POINT (-40.31306 -2.762083)'))) / (select extract(epoch from '2026-07-28 05:35:35'::timestamp) - extract(epoch from '2026-07-28 05:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313038 -2.762258)'), GeomFromEWKT('SRID=4674;POINT (-40.31306 -2.762083)'))) / (select extract(epoch from '2026-07-28 05:35:35'::timestamp) - extract(epoch from '2026-07-28 05:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313153 -2.761963)', '2026-07-28 05:35:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31306 -2.762083)'), GeomFromEWKT('SRID=4674;POINT (-40.313153 -2.761963)'))) / (select extract(epoch from '2026-07-28 05:35:43'::timestamp) - extract(epoch from '2026-07-28 05:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31306 -2.762083)'), GeomFromEWKT('SRID=4674;POINT (-40.313153 -2.761963)'))) / (select extract(epoch from '2026-07-28 05:35:43'::timestamp) - extract(epoch from '2026-07-28 05:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47647, 'SRID=4674;POINT (-40.313282 -2.761846)', '2026-07-28 05:35:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313153 -2.761963)'), GeomFromEWKT('SRID=4674;POINT (-40.313282 -2.761846)'))) / (select extract(epoch from '2026-07-28 05:35:51'::timestamp) - extract(epoch from '2026-07-28 05:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313153 -2.761963)'), GeomFromEWKT('SRID=4674;POINT (-40.313282 -2.761846)'))) / (select extract(epoch from '2026-07-28 05:35:51'::timestamp) - extract(epoch from '2026-07-28 05:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
