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'), 48129, 'SRID=4674;POINT (-39.039833 -3.365957)', '2026-08-06 21:00:00', 8.2, 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'), 48129, 'SRID=4674;POINT (-39.039829 -3.366056)', '2026-08-06 21:00:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039833 -3.365957)'), GeomFromEWKT('SRID=4674;POINT (-39.039829 -3.366056)'))) / (select extract(epoch from '2026-08-06 21:00:06'::timestamp) - extract(epoch from '2026-08-06 21:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039833 -3.365957)'), GeomFromEWKT('SRID=4674;POINT (-39.039829 -3.366056)'))) / (select extract(epoch from '2026-08-06 21:00:06'::timestamp) - extract(epoch from '2026-08-06 21:00: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'), 48129, 'SRID=4674;POINT (-39.039807 -3.366097)', '2026-08-06 21:00:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039829 -3.366056)'), GeomFromEWKT('SRID=4674;POINT (-39.039807 -3.366097)'))) / (select extract(epoch from '2026-08-06 21:00:08'::timestamp) - extract(epoch from '2026-08-06 21:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039829 -3.366056)'), GeomFromEWKT('SRID=4674;POINT (-39.039807 -3.366097)'))) / (select extract(epoch from '2026-08-06 21:00:08'::timestamp) - extract(epoch from '2026-08-06 21:00: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'), 48129, 'SRID=4674;POINT (-39.039794 -3.366143)', '2026-08-06 21:00:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039807 -3.366097)'), GeomFromEWKT('SRID=4674;POINT (-39.039794 -3.366143)'))) / (select extract(epoch from '2026-08-06 21:00:11'::timestamp) - extract(epoch from '2026-08-06 21:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039807 -3.366097)'), GeomFromEWKT('SRID=4674;POINT (-39.039794 -3.366143)'))) / (select extract(epoch from '2026-08-06 21:00:11'::timestamp) - extract(epoch from '2026-08-06 21:00: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'), 48129, 'SRID=4674;POINT (-39.039781 -3.366237)', '2026-08-06 21:00:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039794 -3.366143)'), GeomFromEWKT('SRID=4674;POINT (-39.039781 -3.366237)'))) / (select extract(epoch from '2026-08-06 21:00:18'::timestamp) - extract(epoch from '2026-08-06 21:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039794 -3.366143)'), GeomFromEWKT('SRID=4674;POINT (-39.039781 -3.366237)'))) / (select extract(epoch from '2026-08-06 21:00:18'::timestamp) - extract(epoch from '2026-08-06 21:00: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'), 48129, 'SRID=4674;POINT (-39.039765 -3.366315)', '2026-08-06 21:00:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039781 -3.366237)'), GeomFromEWKT('SRID=4674;POINT (-39.039765 -3.366315)'))) / (select extract(epoch from '2026-08-06 21:00:25'::timestamp) - extract(epoch from '2026-08-06 21:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039781 -3.366237)'), GeomFromEWKT('SRID=4674;POINT (-39.039765 -3.366315)'))) / (select extract(epoch from '2026-08-06 21:00:25'::timestamp) - extract(epoch from '2026-08-06 21:00: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'), 48129, 'SRID=4674;POINT (-39.039736 -3.366431)', '2026-08-06 21:00:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039765 -3.366315)'), GeomFromEWKT('SRID=4674;POINT (-39.039736 -3.366431)'))) / (select extract(epoch from '2026-08-06 21:00:33'::timestamp) - extract(epoch from '2026-08-06 21:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039765 -3.366315)'), GeomFromEWKT('SRID=4674;POINT (-39.039736 -3.366431)'))) / (select extract(epoch from '2026-08-06 21:00:33'::timestamp) - extract(epoch from '2026-08-06 21:00: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'), 48129, 'SRID=4674;POINT (-39.039733 -3.366461)', '2026-08-06 21:00:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039736 -3.366431)'), GeomFromEWKT('SRID=4674;POINT (-39.039733 -3.366461)'))) / (select extract(epoch from '2026-08-06 21:00:35'::timestamp) - extract(epoch from '2026-08-06 21:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039736 -3.366431)'), GeomFromEWKT('SRID=4674;POINT (-39.039733 -3.366461)'))) / (select extract(epoch from '2026-08-06 21:00:35'::timestamp) - extract(epoch from '2026-08-06 21:00: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'), 48129, 'SRID=4674;POINT (-39.039721 -3.366526)', '2026-08-06 21:00:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039733 -3.366461)'), GeomFromEWKT('SRID=4674;POINT (-39.039721 -3.366526)'))) / (select extract(epoch from '2026-08-06 21:00:40'::timestamp) - extract(epoch from '2026-08-06 21:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039733 -3.366461)'), GeomFromEWKT('SRID=4674;POINT (-39.039721 -3.366526)'))) / (select extract(epoch from '2026-08-06 21:00:40'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.039722 -3.366635)', '2026-08-06 21:00:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039721 -3.366526)'), GeomFromEWKT('SRID=4674;POINT (-39.039722 -3.366635)'))) / (select extract(epoch from '2026-08-06 21:00:47'::timestamp) - extract(epoch from '2026-08-06 21:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039721 -3.366526)'), GeomFromEWKT('SRID=4674;POINT (-39.039722 -3.366635)'))) / (select extract(epoch from '2026-08-06 21:00:47'::timestamp) - extract(epoch from '2026-08-06 21:00: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'), 48129, 'SRID=4674;POINT (-39.03971 -3.366739)', '2026-08-06 21:00:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039722 -3.366635)'), GeomFromEWKT('SRID=4674;POINT (-39.03971 -3.366739)'))) / (select extract(epoch from '2026-08-06 21:00:54'::timestamp) - extract(epoch from '2026-08-06 21:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039722 -3.366635)'), GeomFromEWKT('SRID=4674;POINT (-39.03971 -3.366739)'))) / (select extract(epoch from '2026-08-06 21:00:54'::timestamp) - extract(epoch from '2026-08-06 21:00: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'), 48129, 'SRID=4674;POINT (-39.039664 -3.366868)', '2026-08-06 21:01:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03971 -3.366739)'), GeomFromEWKT('SRID=4674;POINT (-39.039664 -3.366868)'))) / (select extract(epoch from '2026-08-06 21:01:01'::timestamp) - extract(epoch from '2026-08-06 21:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03971 -3.366739)'), GeomFromEWKT('SRID=4674;POINT (-39.039664 -3.366868)'))) / (select extract(epoch from '2026-08-06 21:01:01'::timestamp) - extract(epoch from '2026-08-06 21:00: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'), 48129, 'SRID=4674;POINT (-39.03967 -3.367005)', '2026-08-06 21:01:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039664 -3.366868)'), GeomFromEWKT('SRID=4674;POINT (-39.03967 -3.367005)'))) / (select extract(epoch from '2026-08-06 21:01:10'::timestamp) - extract(epoch from '2026-08-06 21:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039664 -3.366868)'), GeomFromEWKT('SRID=4674;POINT (-39.03967 -3.367005)'))) / (select extract(epoch from '2026-08-06 21:01:10'::timestamp) - extract(epoch from '2026-08-06 21:01: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'), 48129, 'SRID=4674;POINT (-39.039683 -3.367101)', '2026-08-06 21:01:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03967 -3.367005)'), GeomFromEWKT('SRID=4674;POINT (-39.039683 -3.367101)'))) / (select extract(epoch from '2026-08-06 21:01:16'::timestamp) - extract(epoch from '2026-08-06 21:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03967 -3.367005)'), GeomFromEWKT('SRID=4674;POINT (-39.039683 -3.367101)'))) / (select extract(epoch from '2026-08-06 21:01:16'::timestamp) - extract(epoch from '2026-08-06 21:01: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'), 48129, 'SRID=4674;POINT (-39.039674 -3.367139)', '2026-08-06 21:01:19', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039683 -3.367101)'), GeomFromEWKT('SRID=4674;POINT (-39.039674 -3.367139)'))) / (select extract(epoch from '2026-08-06 21:01:19'::timestamp) - extract(epoch from '2026-08-06 21:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039683 -3.367101)'), GeomFromEWKT('SRID=4674;POINT (-39.039674 -3.367139)'))) / (select extract(epoch from '2026-08-06 21:01:19'::timestamp) - extract(epoch from '2026-08-06 21:01: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'), 48129, 'SRID=4674;POINT (-39.039666 -3.367179)', '2026-08-06 21:01:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039674 -3.367139)'), GeomFromEWKT('SRID=4674;POINT (-39.039666 -3.367179)'))) / (select extract(epoch from '2026-08-06 21:01:22'::timestamp) - extract(epoch from '2026-08-06 21:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039674 -3.367139)'), GeomFromEWKT('SRID=4674;POINT (-39.039666 -3.367179)'))) / (select extract(epoch from '2026-08-06 21:01:22'::timestamp) - extract(epoch from '2026-08-06 21:01: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'), 48129, 'SRID=4674;POINT (-39.039617 -3.367278)', '2026-08-06 21:01:29', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039666 -3.367179)'), GeomFromEWKT('SRID=4674;POINT (-39.039617 -3.367278)'))) / (select extract(epoch from '2026-08-06 21:01:29'::timestamp) - extract(epoch from '2026-08-06 21:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039666 -3.367179)'), GeomFromEWKT('SRID=4674;POINT (-39.039617 -3.367278)'))) / (select extract(epoch from '2026-08-06 21:01:29'::timestamp) - extract(epoch from '2026-08-06 21:01: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'), 48129, 'SRID=4674;POINT (-39.039551 -3.367385)', '2026-08-06 21:01:37', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039617 -3.367278)'), GeomFromEWKT('SRID=4674;POINT (-39.039551 -3.367385)'))) / (select extract(epoch from '2026-08-06 21:01:37'::timestamp) - extract(epoch from '2026-08-06 21:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039617 -3.367278)'), GeomFromEWKT('SRID=4674;POINT (-39.039551 -3.367385)'))) / (select extract(epoch from '2026-08-06 21:01:37'::timestamp) - extract(epoch from '2026-08-06 21:01: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'), 48129, 'SRID=4674;POINT (-39.039543 -3.367392)', '2026-08-06 21:01:38', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039551 -3.367385)'), GeomFromEWKT('SRID=4674;POINT (-39.039543 -3.367392)'))) / (select extract(epoch from '2026-08-06 21:01:38'::timestamp) - extract(epoch from '2026-08-06 21:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039551 -3.367385)'), GeomFromEWKT('SRID=4674;POINT (-39.039543 -3.367392)'))) / (select extract(epoch from '2026-08-06 21:01:38'::timestamp) - extract(epoch from '2026-08-06 21:01: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'), 48129, 'SRID=4674;POINT (-39.039535 -3.367443)', '2026-08-06 21:01:42', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039543 -3.367392)'), GeomFromEWKT('SRID=4674;POINT (-39.039535 -3.367443)'))) / (select extract(epoch from '2026-08-06 21:01:42'::timestamp) - extract(epoch from '2026-08-06 21:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039543 -3.367392)'), GeomFromEWKT('SRID=4674;POINT (-39.039535 -3.367443)'))) / (select extract(epoch from '2026-08-06 21:01:42'::timestamp) - extract(epoch from '2026-08-06 21:01: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'), 48129, 'SRID=4674;POINT (-39.039491 -3.367528)', '2026-08-06 21:01:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039535 -3.367443)'), GeomFromEWKT('SRID=4674;POINT (-39.039491 -3.367528)'))) / (select extract(epoch from '2026-08-06 21:01:48'::timestamp) - extract(epoch from '2026-08-06 21:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039535 -3.367443)'), GeomFromEWKT('SRID=4674;POINT (-39.039491 -3.367528)'))) / (select extract(epoch from '2026-08-06 21:01:48'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.039467 -3.367666)', '2026-08-06 21:01:57', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039491 -3.367528)'), GeomFromEWKT('SRID=4674;POINT (-39.039467 -3.367666)'))) / (select extract(epoch from '2026-08-06 21:01:57'::timestamp) - extract(epoch from '2026-08-06 21:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039491 -3.367528)'), GeomFromEWKT('SRID=4674;POINT (-39.039467 -3.367666)'))) / (select extract(epoch from '2026-08-06 21:01:57'::timestamp) - extract(epoch from '2026-08-06 21:01: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'), 48129, 'SRID=4674;POINT (-39.039447 -3.3678)', '2026-08-06 21:02:06', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039467 -3.367666)'), GeomFromEWKT('SRID=4674;POINT (-39.039447 -3.3678)'))) / (select extract(epoch from '2026-08-06 21:02:06'::timestamp) - extract(epoch from '2026-08-06 21:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039467 -3.367666)'), GeomFromEWKT('SRID=4674;POINT (-39.039447 -3.3678)'))) / (select extract(epoch from '2026-08-06 21:02:06'::timestamp) - extract(epoch from '2026-08-06 21:01: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'), 48129, 'SRID=4674;POINT (-39.039425 -3.367946)', '2026-08-06 21:02:15', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039447 -3.3678)'), GeomFromEWKT('SRID=4674;POINT (-39.039425 -3.367946)'))) / (select extract(epoch from '2026-08-06 21:02:15'::timestamp) - extract(epoch from '2026-08-06 21:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039447 -3.3678)'), GeomFromEWKT('SRID=4674;POINT (-39.039425 -3.367946)'))) / (select extract(epoch from '2026-08-06 21:02:15'::timestamp) - extract(epoch from '2026-08-06 21:02: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'), 48129, 'SRID=4674;POINT (-39.03943 -3.368031)', '2026-08-06 21:02:22', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039425 -3.367946)'), GeomFromEWKT('SRID=4674;POINT (-39.03943 -3.368031)'))) / (select extract(epoch from '2026-08-06 21:02:22'::timestamp) - extract(epoch from '2026-08-06 21:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039425 -3.367946)'), GeomFromEWKT('SRID=4674;POINT (-39.03943 -3.368031)'))) / (select extract(epoch from '2026-08-06 21:02:22'::timestamp) - extract(epoch from '2026-08-06 21:02: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'), 48129, 'SRID=4674;POINT (-39.039437 -3.368122)', '2026-08-06 21:02:30', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03943 -3.368031)'), GeomFromEWKT('SRID=4674;POINT (-39.039437 -3.368122)'))) / (select extract(epoch from '2026-08-06 21:02:30'::timestamp) - extract(epoch from '2026-08-06 21:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03943 -3.368031)'), GeomFromEWKT('SRID=4674;POINT (-39.039437 -3.368122)'))) / (select extract(epoch from '2026-08-06 21:02:30'::timestamp) - extract(epoch from '2026-08-06 21:02: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'), 48129, 'SRID=4674;POINT (-39.039421 -3.368205)', '2026-08-06 21:02:37', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039437 -3.368122)'), GeomFromEWKT('SRID=4674;POINT (-39.039421 -3.368205)'))) / (select extract(epoch from '2026-08-06 21:02:37'::timestamp) - extract(epoch from '2026-08-06 21:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039437 -3.368122)'), GeomFromEWKT('SRID=4674;POINT (-39.039421 -3.368205)'))) / (select extract(epoch from '2026-08-06 21:02:37'::timestamp) - extract(epoch from '2026-08-06 21:02: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'), 48129, 'SRID=4674;POINT (-39.039416 -3.368261)', '2026-08-06 21:02:41', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039421 -3.368205)'), GeomFromEWKT('SRID=4674;POINT (-39.039416 -3.368261)'))) / (select extract(epoch from '2026-08-06 21:02:41'::timestamp) - extract(epoch from '2026-08-06 21:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039421 -3.368205)'), GeomFromEWKT('SRID=4674;POINT (-39.039416 -3.368261)'))) / (select extract(epoch from '2026-08-06 21:02:41'::timestamp) - extract(epoch from '2026-08-06 21:02: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'), 48129, 'SRID=4674;POINT (-39.039412 -3.368284)', '2026-08-06 21:02:43', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039416 -3.368261)'), GeomFromEWKT('SRID=4674;POINT (-39.039412 -3.368284)'))) / (select extract(epoch from '2026-08-06 21:02:43'::timestamp) - extract(epoch from '2026-08-06 21:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039416 -3.368261)'), GeomFromEWKT('SRID=4674;POINT (-39.039412 -3.368284)'))) / (select extract(epoch from '2026-08-06 21:02:43'::timestamp) - extract(epoch from '2026-08-06 21:02: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'), 48129, 'SRID=4674;POINT (-39.039391 -3.36838)', '2026-08-06 21:02:51', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039412 -3.368284)'), GeomFromEWKT('SRID=4674;POINT (-39.039391 -3.36838)'))) / (select extract(epoch from '2026-08-06 21:02:51'::timestamp) - extract(epoch from '2026-08-06 21:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039412 -3.368284)'), GeomFromEWKT('SRID=4674;POINT (-39.039391 -3.36838)'))) / (select extract(epoch from '2026-08-06 21:02:51'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.039384 -3.368468)', '2026-08-06 21:02:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039391 -3.36838)'), GeomFromEWKT('SRID=4674;POINT (-39.039384 -3.368468)'))) / (select extract(epoch from '2026-08-06 21:02:59'::timestamp) - extract(epoch from '2026-08-06 21:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039391 -3.36838)'), GeomFromEWKT('SRID=4674;POINT (-39.039384 -3.368468)'))) / (select extract(epoch from '2026-08-06 21:02:59'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.039363 -3.368588)', '2026-08-06 21:03:07', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039384 -3.368468)'), GeomFromEWKT('SRID=4674;POINT (-39.039363 -3.368588)'))) / (select extract(epoch from '2026-08-06 21:03:07'::timestamp) - extract(epoch from '2026-08-06 21:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039384 -3.368468)'), GeomFromEWKT('SRID=4674;POINT (-39.039363 -3.368588)'))) / (select extract(epoch from '2026-08-06 21:03:07'::timestamp) - extract(epoch from '2026-08-06 21:02: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'), 48129, 'SRID=4674;POINT (-39.039377 -3.368668)', '2026-08-06 21:03:14', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039363 -3.368588)'), GeomFromEWKT('SRID=4674;POINT (-39.039377 -3.368668)'))) / (select extract(epoch from '2026-08-06 21:03:14'::timestamp) - extract(epoch from '2026-08-06 21:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039363 -3.368588)'), GeomFromEWKT('SRID=4674;POINT (-39.039377 -3.368668)'))) / (select extract(epoch from '2026-08-06 21:03:14'::timestamp) - extract(epoch from '2026-08-06 21:03: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'), 48129, 'SRID=4674;POINT (-39.039372 -3.3687)', '2026-08-06 21:03:17', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039377 -3.368668)'), GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.3687)'))) / (select extract(epoch from '2026-08-06 21:03:17'::timestamp) - extract(epoch from '2026-08-06 21:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039377 -3.368668)'), GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.3687)'))) / (select extract(epoch from '2026-08-06 21:03:17'::timestamp) - extract(epoch from '2026-08-06 21:03: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'), 48129, 'SRID=4674;POINT (-39.039363 -3.368744)', '2026-08-06 21:03:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.3687)'), GeomFromEWKT('SRID=4674;POINT (-39.039363 -3.368744)'))) / (select extract(epoch from '2026-08-06 21:03:20'::timestamp) - extract(epoch from '2026-08-06 21:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.3687)'), GeomFromEWKT('SRID=4674;POINT (-39.039363 -3.368744)'))) / (select extract(epoch from '2026-08-06 21:03:20'::timestamp) - extract(epoch from '2026-08-06 21:03: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'), 48129, 'SRID=4674;POINT (-39.039304 -3.368898)', '2026-08-06 21:03:30', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039363 -3.368744)'), GeomFromEWKT('SRID=4674;POINT (-39.039304 -3.368898)'))) / (select extract(epoch from '2026-08-06 21:03:30'::timestamp) - extract(epoch from '2026-08-06 21:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039363 -3.368744)'), GeomFromEWKT('SRID=4674;POINT (-39.039304 -3.368898)'))) / (select extract(epoch from '2026-08-06 21:03:30'::timestamp) - extract(epoch from '2026-08-06 21:03: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'), 48129, 'SRID=4674;POINT (-39.039282 -3.369015)', '2026-08-06 21:03:37', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039304 -3.368898)'), GeomFromEWKT('SRID=4674;POINT (-39.039282 -3.369015)'))) / (select extract(epoch from '2026-08-06 21:03:37'::timestamp) - extract(epoch from '2026-08-06 21:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039304 -3.368898)'), GeomFromEWKT('SRID=4674;POINT (-39.039282 -3.369015)'))) / (select extract(epoch from '2026-08-06 21:03:37'::timestamp) - extract(epoch from '2026-08-06 21:03: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'), 48129, 'SRID=4674;POINT (-39.039266 -3.369121)', '2026-08-06 21:03:45', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039282 -3.369015)'), GeomFromEWKT('SRID=4674;POINT (-39.039266 -3.369121)'))) / (select extract(epoch from '2026-08-06 21:03:45'::timestamp) - extract(epoch from '2026-08-06 21:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039282 -3.369015)'), GeomFromEWKT('SRID=4674;POINT (-39.039266 -3.369121)'))) / (select extract(epoch from '2026-08-06 21:03:45'::timestamp) - extract(epoch from '2026-08-06 21:03: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'), 48129, 'SRID=4674;POINT (-39.039274 -3.369239)', '2026-08-06 21:03:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039266 -3.369121)'), GeomFromEWKT('SRID=4674;POINT (-39.039274 -3.369239)'))) / (select extract(epoch from '2026-08-06 21:03:52'::timestamp) - extract(epoch from '2026-08-06 21:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039266 -3.369121)'), GeomFromEWKT('SRID=4674;POINT (-39.039274 -3.369239)'))) / (select extract(epoch from '2026-08-06 21:03:52'::timestamp) - extract(epoch from '2026-08-06 21:03: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'), 48129, 'SRID=4674;POINT (-39.039278 -3.369327)', '2026-08-06 21:03:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039274 -3.369239)'), GeomFromEWKT('SRID=4674;POINT (-39.039278 -3.369327)'))) / (select extract(epoch from '2026-08-06 21:03:59'::timestamp) - extract(epoch from '2026-08-06 21:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039274 -3.369239)'), GeomFromEWKT('SRID=4674;POINT (-39.039278 -3.369327)'))) / (select extract(epoch from '2026-08-06 21:03:59'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.039275 -3.369416)', '2026-08-06 21:04:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039278 -3.369327)'), GeomFromEWKT('SRID=4674;POINT (-39.039275 -3.369416)'))) / (select extract(epoch from '2026-08-06 21:04:07'::timestamp) - extract(epoch from '2026-08-06 21:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039278 -3.369327)'), GeomFromEWKT('SRID=4674;POINT (-39.039275 -3.369416)'))) / (select extract(epoch from '2026-08-06 21:04:07'::timestamp) - extract(epoch from '2026-08-06 21:03: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'), 48129, 'SRID=4674;POINT (-39.039287 -3.369531)', '2026-08-06 21:04:15', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039275 -3.369416)'), GeomFromEWKT('SRID=4674;POINT (-39.039287 -3.369531)'))) / (select extract(epoch from '2026-08-06 21:04:15'::timestamp) - extract(epoch from '2026-08-06 21:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039275 -3.369416)'), GeomFromEWKT('SRID=4674;POINT (-39.039287 -3.369531)'))) / (select extract(epoch from '2026-08-06 21:04:15'::timestamp) - extract(epoch from '2026-08-06 21:04: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'), 48129, 'SRID=4674;POINT (-39.039299 -3.369629)', '2026-08-06 21:04:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039287 -3.369531)'), GeomFromEWKT('SRID=4674;POINT (-39.039299 -3.369629)'))) / (select extract(epoch from '2026-08-06 21:04:22'::timestamp) - extract(epoch from '2026-08-06 21:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039287 -3.369531)'), GeomFromEWKT('SRID=4674;POINT (-39.039299 -3.369629)'))) / (select extract(epoch from '2026-08-06 21:04:22'::timestamp) - extract(epoch from '2026-08-06 21:04: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'), 48129, 'SRID=4674;POINT (-39.039293 -3.369729)', '2026-08-06 21:04:28', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039299 -3.369629)'), GeomFromEWKT('SRID=4674;POINT (-39.039293 -3.369729)'))) / (select extract(epoch from '2026-08-06 21:04:28'::timestamp) - extract(epoch from '2026-08-06 21:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039299 -3.369629)'), GeomFromEWKT('SRID=4674;POINT (-39.039293 -3.369729)'))) / (select extract(epoch from '2026-08-06 21:04:28'::timestamp) - extract(epoch from '2026-08-06 21:04: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'), 48129, 'SRID=4674;POINT (-39.039274 -3.369833)', '2026-08-06 21:04:34', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039293 -3.369729)'), GeomFromEWKT('SRID=4674;POINT (-39.039274 -3.369833)'))) / (select extract(epoch from '2026-08-06 21:04:34'::timestamp) - extract(epoch from '2026-08-06 21:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039293 -3.369729)'), GeomFromEWKT('SRID=4674;POINT (-39.039274 -3.369833)'))) / (select extract(epoch from '2026-08-06 21:04:34'::timestamp) - extract(epoch from '2026-08-06 21:04: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'), 48129, 'SRID=4674;POINT (-39.039244 -3.369948)', '2026-08-06 21:04:41', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039274 -3.369833)'), GeomFromEWKT('SRID=4674;POINT (-39.039244 -3.369948)'))) / (select extract(epoch from '2026-08-06 21:04:41'::timestamp) - extract(epoch from '2026-08-06 21:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039274 -3.369833)'), GeomFromEWKT('SRID=4674;POINT (-39.039244 -3.369948)'))) / (select extract(epoch from '2026-08-06 21:04:41'::timestamp) - extract(epoch from '2026-08-06 21:04: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'), 48129, 'SRID=4674;POINT (-39.039228 -3.369975)', '2026-08-06 21:04:44', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039244 -3.369948)'), GeomFromEWKT('SRID=4674;POINT (-39.039228 -3.369975)'))) / (select extract(epoch from '2026-08-06 21:04:44'::timestamp) - extract(epoch from '2026-08-06 21:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039244 -3.369948)'), GeomFromEWKT('SRID=4674;POINT (-39.039228 -3.369975)'))) / (select extract(epoch from '2026-08-06 21:04:44'::timestamp) - extract(epoch from '2026-08-06 21:04: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'), 48129, 'SRID=4674;POINT (-39.039225 -3.370003)', '2026-08-06 21:04:46', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039228 -3.369975)'), GeomFromEWKT('SRID=4674;POINT (-39.039225 -3.370003)'))) / (select extract(epoch from '2026-08-06 21:04:46'::timestamp) - extract(epoch from '2026-08-06 21:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039228 -3.369975)'), GeomFromEWKT('SRID=4674;POINT (-39.039225 -3.370003)'))) / (select extract(epoch from '2026-08-06 21:04:46'::timestamp) - extract(epoch from '2026-08-06 21:04: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'), 48129, 'SRID=4674;POINT (-39.039201 -3.37008)', '2026-08-06 21:04:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039225 -3.370003)'), GeomFromEWKT('SRID=4674;POINT (-39.039201 -3.37008)'))) / (select extract(epoch from '2026-08-06 21:04:53'::timestamp) - extract(epoch from '2026-08-06 21:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039225 -3.370003)'), GeomFromEWKT('SRID=4674;POINT (-39.039201 -3.37008)'))) / (select extract(epoch from '2026-08-06 21:04:53'::timestamp) - extract(epoch from '2026-08-06 21:04: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'), 48129, 'SRID=4674;POINT (-39.039191 -3.370164)', '2026-08-06 21:05:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039201 -3.37008)'), GeomFromEWKT('SRID=4674;POINT (-39.039191 -3.370164)'))) / (select extract(epoch from '2026-08-06 21:05:00'::timestamp) - extract(epoch from '2026-08-06 21:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039201 -3.37008)'), GeomFromEWKT('SRID=4674;POINT (-39.039191 -3.370164)'))) / (select extract(epoch from '2026-08-06 21:05:00'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.039189 -3.370243)', '2026-08-06 21:05:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039191 -3.370164)'), GeomFromEWKT('SRID=4674;POINT (-39.039189 -3.370243)'))) / (select extract(epoch from '2026-08-06 21:05:07'::timestamp) - extract(epoch from '2026-08-06 21:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039191 -3.370164)'), GeomFromEWKT('SRID=4674;POINT (-39.039189 -3.370243)'))) / (select extract(epoch from '2026-08-06 21:05:07'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.039197 -3.370331)', '2026-08-06 21:05:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039189 -3.370243)'), GeomFromEWKT('SRID=4674;POINT (-39.039197 -3.370331)'))) / (select extract(epoch from '2026-08-06 21:05:14'::timestamp) - extract(epoch from '2026-08-06 21:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039189 -3.370243)'), GeomFromEWKT('SRID=4674;POINT (-39.039197 -3.370331)'))) / (select extract(epoch from '2026-08-06 21:05:14'::timestamp) - extract(epoch from '2026-08-06 21:05: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'), 48129, 'SRID=4674;POINT (-39.03922 -3.37044)', '2026-08-06 21:05:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039197 -3.370331)'), GeomFromEWKT('SRID=4674;POINT (-39.03922 -3.37044)'))) / (select extract(epoch from '2026-08-06 21:05:21'::timestamp) - extract(epoch from '2026-08-06 21:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039197 -3.370331)'), GeomFromEWKT('SRID=4674;POINT (-39.03922 -3.37044)'))) / (select extract(epoch from '2026-08-06 21:05:21'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.039191 -3.370548)', '2026-08-06 21:05:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03922 -3.37044)'), GeomFromEWKT('SRID=4674;POINT (-39.039191 -3.370548)'))) / (select extract(epoch from '2026-08-06 21:05:28'::timestamp) - extract(epoch from '2026-08-06 21:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03922 -3.37044)'), GeomFromEWKT('SRID=4674;POINT (-39.039191 -3.370548)'))) / (select extract(epoch from '2026-08-06 21:05:28'::timestamp) - extract(epoch from '2026-08-06 21:05: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'), 48129, 'SRID=4674;POINT (-39.039169 -3.370646)', '2026-08-06 21:05:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039191 -3.370548)'), GeomFromEWKT('SRID=4674;POINT (-39.039169 -3.370646)'))) / (select extract(epoch from '2026-08-06 21:05:35'::timestamp) - extract(epoch from '2026-08-06 21:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039191 -3.370548)'), GeomFromEWKT('SRID=4674;POINT (-39.039169 -3.370646)'))) / (select extract(epoch from '2026-08-06 21:05:35'::timestamp) - extract(epoch from '2026-08-06 21:05: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'), 48129, 'SRID=4674;POINT (-39.039132 -3.37074)', '2026-08-06 21:05:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039169 -3.370646)'), GeomFromEWKT('SRID=4674;POINT (-39.039132 -3.37074)'))) / (select extract(epoch from '2026-08-06 21:05:42'::timestamp) - extract(epoch from '2026-08-06 21:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039169 -3.370646)'), GeomFromEWKT('SRID=4674;POINT (-39.039132 -3.37074)'))) / (select extract(epoch from '2026-08-06 21:05:42'::timestamp) - extract(epoch from '2026-08-06 21:05: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'), 48129, 'SRID=4674;POINT (-39.039111 -3.370802)', '2026-08-06 21:05:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039132 -3.37074)'), GeomFromEWKT('SRID=4674;POINT (-39.039111 -3.370802)'))) / (select extract(epoch from '2026-08-06 21:05:47'::timestamp) - extract(epoch from '2026-08-06 21:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039132 -3.37074)'), GeomFromEWKT('SRID=4674;POINT (-39.039111 -3.370802)'))) / (select extract(epoch from '2026-08-06 21:05:47'::timestamp) - extract(epoch from '2026-08-06 21:05: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'), 48129, 'SRID=4674;POINT (-39.039101 -3.37083)', '2026-08-06 21:05:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039111 -3.370802)'), GeomFromEWKT('SRID=4674;POINT (-39.039101 -3.37083)'))) / (select extract(epoch from '2026-08-06 21:05:49'::timestamp) - extract(epoch from '2026-08-06 21:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039111 -3.370802)'), GeomFromEWKT('SRID=4674;POINT (-39.039101 -3.37083)'))) / (select extract(epoch from '2026-08-06 21:05:49'::timestamp) - extract(epoch from '2026-08-06 21:05: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'), 48129, 'SRID=4674;POINT (-39.03907 -3.370948)', '2026-08-06 21:05:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039101 -3.37083)'), GeomFromEWKT('SRID=4674;POINT (-39.03907 -3.370948)'))) / (select extract(epoch from '2026-08-06 21:05:57'::timestamp) - extract(epoch from '2026-08-06 21:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039101 -3.37083)'), GeomFromEWKT('SRID=4674;POINT (-39.03907 -3.370948)'))) / (select extract(epoch from '2026-08-06 21:05:57'::timestamp) - extract(epoch from '2026-08-06 21:05: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'), 48129, 'SRID=4674;POINT (-39.03909 -3.371046)', '2026-08-06 21:06:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03907 -3.370948)'), GeomFromEWKT('SRID=4674;POINT (-39.03909 -3.371046)'))) / (select extract(epoch from '2026-08-06 21:06:03'::timestamp) - extract(epoch from '2026-08-06 21:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03907 -3.370948)'), GeomFromEWKT('SRID=4674;POINT (-39.03909 -3.371046)'))) / (select extract(epoch from '2026-08-06 21:06:03'::timestamp) - extract(epoch from '2026-08-06 21:05: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'), 48129, 'SRID=4674;POINT (-39.039052 -3.371192)', '2026-08-06 21:06:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03909 -3.371046)'), GeomFromEWKT('SRID=4674;POINT (-39.039052 -3.371192)'))) / (select extract(epoch from '2026-08-06 21:06:12'::timestamp) - extract(epoch from '2026-08-06 21:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03909 -3.371046)'), GeomFromEWKT('SRID=4674;POINT (-39.039052 -3.371192)'))) / (select extract(epoch from '2026-08-06 21:06:12'::timestamp) - extract(epoch from '2026-08-06 21:06: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'), 48129, 'SRID=4674;POINT (-39.039026 -3.371311)', '2026-08-06 21:06:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039052 -3.371192)'), GeomFromEWKT('SRID=4674;POINT (-39.039026 -3.371311)'))) / (select extract(epoch from '2026-08-06 21:06:20'::timestamp) - extract(epoch from '2026-08-06 21:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039052 -3.371192)'), GeomFromEWKT('SRID=4674;POINT (-39.039026 -3.371311)'))) / (select extract(epoch from '2026-08-06 21:06:20'::timestamp) - extract(epoch from '2026-08-06 21:06: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'), 48129, 'SRID=4674;POINT (-39.038998 -3.371432)', '2026-08-06 21:06:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039026 -3.371311)'), GeomFromEWKT('SRID=4674;POINT (-39.038998 -3.371432)'))) / (select extract(epoch from '2026-08-06 21:06:27'::timestamp) - extract(epoch from '2026-08-06 21:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039026 -3.371311)'), GeomFromEWKT('SRID=4674;POINT (-39.038998 -3.371432)'))) / (select extract(epoch from '2026-08-06 21:06:27'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.038948 -3.371571)', '2026-08-06 21:06:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038998 -3.371432)'), GeomFromEWKT('SRID=4674;POINT (-39.038948 -3.371571)'))) / (select extract(epoch from '2026-08-06 21:06:35'::timestamp) - extract(epoch from '2026-08-06 21:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038998 -3.371432)'), GeomFromEWKT('SRID=4674;POINT (-39.038948 -3.371571)'))) / (select extract(epoch from '2026-08-06 21:06:35'::timestamp) - extract(epoch from '2026-08-06 21:06: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'), 48129, 'SRID=4674;POINT (-39.038903 -3.371737)', '2026-08-06 21:06:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038948 -3.371571)'), GeomFromEWKT('SRID=4674;POINT (-39.038903 -3.371737)'))) / (select extract(epoch from '2026-08-06 21:06:44'::timestamp) - extract(epoch from '2026-08-06 21:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038948 -3.371571)'), GeomFromEWKT('SRID=4674;POINT (-39.038903 -3.371737)'))) / (select extract(epoch from '2026-08-06 21:06:44'::timestamp) - extract(epoch from '2026-08-06 21:06: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'), 48129, 'SRID=4674;POINT (-39.038832 -3.371851)', '2026-08-06 21:06:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038903 -3.371737)'), GeomFromEWKT('SRID=4674;POINT (-39.038832 -3.371851)'))) / (select extract(epoch from '2026-08-06 21:06:51'::timestamp) - extract(epoch from '2026-08-06 21:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038903 -3.371737)'), GeomFromEWKT('SRID=4674;POINT (-39.038832 -3.371851)'))) / (select extract(epoch from '2026-08-06 21:06:51'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.038783 -3.371975)', '2026-08-06 21:06:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038832 -3.371851)'), GeomFromEWKT('SRID=4674;POINT (-39.038783 -3.371975)'))) / (select extract(epoch from '2026-08-06 21:06:59'::timestamp) - extract(epoch from '2026-08-06 21:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038832 -3.371851)'), GeomFromEWKT('SRID=4674;POINT (-39.038783 -3.371975)'))) / (select extract(epoch from '2026-08-06 21:06:59'::timestamp) - extract(epoch from '2026-08-06 21:06: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'), 48129, 'SRID=4674;POINT (-39.038782 -3.372087)', '2026-08-06 21:07:05', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038783 -3.371975)'), GeomFromEWKT('SRID=4674;POINT (-39.038782 -3.372087)'))) / (select extract(epoch from '2026-08-06 21:07:05'::timestamp) - extract(epoch from '2026-08-06 21:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038783 -3.371975)'), GeomFromEWKT('SRID=4674;POINT (-39.038782 -3.372087)'))) / (select extract(epoch from '2026-08-06 21:07:05'::timestamp) - extract(epoch from '2026-08-06 21:06: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'), 48129, 'SRID=4674;POINT (-39.038751 -3.372202)', '2026-08-06 21:07:11', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038782 -3.372087)'), GeomFromEWKT('SRID=4674;POINT (-39.038751 -3.372202)'))) / (select extract(epoch from '2026-08-06 21:07:11'::timestamp) - extract(epoch from '2026-08-06 21:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038782 -3.372087)'), GeomFromEWKT('SRID=4674;POINT (-39.038751 -3.372202)'))) / (select extract(epoch from '2026-08-06 21:07:11'::timestamp) - extract(epoch from '2026-08-06 21:07: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'), 48129, 'SRID=4674;POINT (-39.038723 -3.372347)', '2026-08-06 21:07:20', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038751 -3.372202)'), GeomFromEWKT('SRID=4674;POINT (-39.038723 -3.372347)'))) / (select extract(epoch from '2026-08-06 21:07:20'::timestamp) - extract(epoch from '2026-08-06 21:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038751 -3.372202)'), GeomFromEWKT('SRID=4674;POINT (-39.038723 -3.372347)'))) / (select extract(epoch from '2026-08-06 21:07:20'::timestamp) - extract(epoch from '2026-08-06 21:07: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'), 48129, 'SRID=4674;POINT (-39.038704 -3.372454)', '2026-08-06 21:07:27', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038723 -3.372347)'), GeomFromEWKT('SRID=4674;POINT (-39.038704 -3.372454)'))) / (select extract(epoch from '2026-08-06 21:07:27'::timestamp) - extract(epoch from '2026-08-06 21:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038723 -3.372347)'), GeomFromEWKT('SRID=4674;POINT (-39.038704 -3.372454)'))) / (select extract(epoch from '2026-08-06 21:07:27'::timestamp) - extract(epoch from '2026-08-06 21:07: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'), 48129, 'SRID=4674;POINT (-39.038712 -3.372538)', '2026-08-06 21:07:34', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038704 -3.372454)'), GeomFromEWKT('SRID=4674;POINT (-39.038712 -3.372538)'))) / (select extract(epoch from '2026-08-06 21:07:34'::timestamp) - extract(epoch from '2026-08-06 21:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038704 -3.372454)'), GeomFromEWKT('SRID=4674;POINT (-39.038712 -3.372538)'))) / (select extract(epoch from '2026-08-06 21:07:34'::timestamp) - extract(epoch from '2026-08-06 21:07: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'), 48129, 'SRID=4674;POINT (-39.038697 -3.372638)', '2026-08-06 21:07:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038712 -3.372538)'), GeomFromEWKT('SRID=4674;POINT (-39.038697 -3.372638)'))) / (select extract(epoch from '2026-08-06 21:07:40'::timestamp) - extract(epoch from '2026-08-06 21:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038712 -3.372538)'), GeomFromEWKT('SRID=4674;POINT (-39.038697 -3.372638)'))) / (select extract(epoch from '2026-08-06 21:07:40'::timestamp) - extract(epoch from '2026-08-06 21:07: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'), 48129, 'SRID=4674;POINT (-39.038682 -3.372729)', '2026-08-06 21:07:47', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038697 -3.372638)'), GeomFromEWKT('SRID=4674;POINT (-39.038682 -3.372729)'))) / (select extract(epoch from '2026-08-06 21:07:47'::timestamp) - extract(epoch from '2026-08-06 21:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038697 -3.372638)'), GeomFromEWKT('SRID=4674;POINT (-39.038682 -3.372729)'))) / (select extract(epoch from '2026-08-06 21:07:47'::timestamp) - extract(epoch from '2026-08-06 21:07: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'), 48129, 'SRID=4674;POINT (-39.038651 -3.372867)', '2026-08-06 21:07:56', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038682 -3.372729)'), GeomFromEWKT('SRID=4674;POINT (-39.038651 -3.372867)'))) / (select extract(epoch from '2026-08-06 21:07:56'::timestamp) - extract(epoch from '2026-08-06 21:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038682 -3.372729)'), GeomFromEWKT('SRID=4674;POINT (-39.038651 -3.372867)'))) / (select extract(epoch from '2026-08-06 21:07:56'::timestamp) - extract(epoch from '2026-08-06 21:07: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'), 48129, 'SRID=4674;POINT (-39.038605 -3.372983)', '2026-08-06 21:08:03', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038651 -3.372867)'), GeomFromEWKT('SRID=4674;POINT (-39.038605 -3.372983)'))) / (select extract(epoch from '2026-08-06 21:08:03'::timestamp) - extract(epoch from '2026-08-06 21:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038651 -3.372867)'), GeomFromEWKT('SRID=4674;POINT (-39.038605 -3.372983)'))) / (select extract(epoch from '2026-08-06 21:08:03'::timestamp) - extract(epoch from '2026-08-06 21:07: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'), 48129, 'SRID=4674;POINT (-39.038572 -3.373137)', '2026-08-06 21:08:11', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038605 -3.372983)'), GeomFromEWKT('SRID=4674;POINT (-39.038572 -3.373137)'))) / (select extract(epoch from '2026-08-06 21:08:11'::timestamp) - extract(epoch from '2026-08-06 21:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038605 -3.372983)'), GeomFromEWKT('SRID=4674;POINT (-39.038572 -3.373137)'))) / (select extract(epoch from '2026-08-06 21:08:11'::timestamp) - extract(epoch from '2026-08-06 21:08: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'), 48129, 'SRID=4674;POINT (-39.038556 -3.373242)', '2026-08-06 21:08:18', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038572 -3.373137)'), GeomFromEWKT('SRID=4674;POINT (-39.038556 -3.373242)'))) / (select extract(epoch from '2026-08-06 21:08:18'::timestamp) - extract(epoch from '2026-08-06 21:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038572 -3.373137)'), GeomFromEWKT('SRID=4674;POINT (-39.038556 -3.373242)'))) / (select extract(epoch from '2026-08-06 21:08:18'::timestamp) - extract(epoch from '2026-08-06 21:08: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'), 48129, 'SRID=4674;POINT (-39.038529 -3.373376)', '2026-08-06 21:08:25', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038556 -3.373242)'), GeomFromEWKT('SRID=4674;POINT (-39.038529 -3.373376)'))) / (select extract(epoch from '2026-08-06 21:08:25'::timestamp) - extract(epoch from '2026-08-06 21:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038556 -3.373242)'), GeomFromEWKT('SRID=4674;POINT (-39.038529 -3.373376)'))) / (select extract(epoch from '2026-08-06 21:08:25'::timestamp) - extract(epoch from '2026-08-06 21:08: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'), 48129, 'SRID=4674;POINT (-39.038491 -3.373498)', '2026-08-06 21:08:32', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038529 -3.373376)'), GeomFromEWKT('SRID=4674;POINT (-39.038491 -3.373498)'))) / (select extract(epoch from '2026-08-06 21:08:32'::timestamp) - extract(epoch from '2026-08-06 21:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038529 -3.373376)'), GeomFromEWKT('SRID=4674;POINT (-39.038491 -3.373498)'))) / (select extract(epoch from '2026-08-06 21:08:32'::timestamp) - extract(epoch from '2026-08-06 21:08: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'), 48129, 'SRID=4674;POINT (-39.038479 -3.37366)', '2026-08-06 21:08:41', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038491 -3.373498)'), GeomFromEWKT('SRID=4674;POINT (-39.038479 -3.37366)'))) / (select extract(epoch from '2026-08-06 21:08:41'::timestamp) - extract(epoch from '2026-08-06 21:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038491 -3.373498)'), GeomFromEWKT('SRID=4674;POINT (-39.038479 -3.37366)'))) / (select extract(epoch from '2026-08-06 21:08:41'::timestamp) - extract(epoch from '2026-08-06 21:08: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'), 48129, 'SRID=4674;POINT (-39.038494 -3.373776)', '2026-08-06 21:08:48', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038479 -3.37366)'), GeomFromEWKT('SRID=4674;POINT (-39.038494 -3.373776)'))) / (select extract(epoch from '2026-08-06 21:08:48'::timestamp) - extract(epoch from '2026-08-06 21:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038479 -3.37366)'), GeomFromEWKT('SRID=4674;POINT (-39.038494 -3.373776)'))) / (select extract(epoch from '2026-08-06 21:08:48'::timestamp) - extract(epoch from '2026-08-06 21:08: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'), 48129, 'SRID=4674;POINT (-39.038486 -3.373902)', '2026-08-06 21:08:55', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038494 -3.373776)'), GeomFromEWKT('SRID=4674;POINT (-39.038486 -3.373902)'))) / (select extract(epoch from '2026-08-06 21:08:55'::timestamp) - extract(epoch from '2026-08-06 21:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038494 -3.373776)'), GeomFromEWKT('SRID=4674;POINT (-39.038486 -3.373902)'))) / (select extract(epoch from '2026-08-06 21:08:55'::timestamp) - extract(epoch from '2026-08-06 21:08: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'), 48129, 'SRID=4674;POINT (-39.038484 -3.374022)', '2026-08-06 21:09:02', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038486 -3.373902)'), GeomFromEWKT('SRID=4674;POINT (-39.038484 -3.374022)'))) / (select extract(epoch from '2026-08-06 21:09:02'::timestamp) - extract(epoch from '2026-08-06 21:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038486 -3.373902)'), GeomFromEWKT('SRID=4674;POINT (-39.038484 -3.374022)'))) / (select extract(epoch from '2026-08-06 21:09:02'::timestamp) - extract(epoch from '2026-08-06 21:08: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'), 48129, 'SRID=4674;POINT (-39.03846 -3.374162)', '2026-08-06 21:09:10', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038484 -3.374022)'), GeomFromEWKT('SRID=4674;POINT (-39.03846 -3.374162)'))) / (select extract(epoch from '2026-08-06 21:09:10'::timestamp) - extract(epoch from '2026-08-06 21:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038484 -3.374022)'), GeomFromEWKT('SRID=4674;POINT (-39.03846 -3.374162)'))) / (select extract(epoch from '2026-08-06 21:09:10'::timestamp) - extract(epoch from '2026-08-06 21:09: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'), 48129, 'SRID=4674;POINT (-39.038441 -3.37426)', '2026-08-06 21:09:17', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03846 -3.374162)'), GeomFromEWKT('SRID=4674;POINT (-39.038441 -3.37426)'))) / (select extract(epoch from '2026-08-06 21:09:17'::timestamp) - extract(epoch from '2026-08-06 21:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03846 -3.374162)'), GeomFromEWKT('SRID=4674;POINT (-39.038441 -3.37426)'))) / (select extract(epoch from '2026-08-06 21:09:17'::timestamp) - extract(epoch from '2026-08-06 21:09: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'), 48129, 'SRID=4674;POINT (-39.038414 -3.374376)', '2026-08-06 21:09:25', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038441 -3.37426)'), GeomFromEWKT('SRID=4674;POINT (-39.038414 -3.374376)'))) / (select extract(epoch from '2026-08-06 21:09:25'::timestamp) - extract(epoch from '2026-08-06 21:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038441 -3.37426)'), GeomFromEWKT('SRID=4674;POINT (-39.038414 -3.374376)'))) / (select extract(epoch from '2026-08-06 21:09:25'::timestamp) - extract(epoch from '2026-08-06 21:09: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'), 48129, 'SRID=4674;POINT (-39.038389 -3.374481)', '2026-08-06 21:09:32', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038414 -3.374376)'), GeomFromEWKT('SRID=4674;POINT (-39.038389 -3.374481)'))) / (select extract(epoch from '2026-08-06 21:09:32'::timestamp) - extract(epoch from '2026-08-06 21:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038414 -3.374376)'), GeomFromEWKT('SRID=4674;POINT (-39.038389 -3.374481)'))) / (select extract(epoch from '2026-08-06 21:09:32'::timestamp) - extract(epoch from '2026-08-06 21:09: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'), 48129, 'SRID=4674;POINT (-39.03839 -3.37457)', '2026-08-06 21:09:39', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038389 -3.374481)'), GeomFromEWKT('SRID=4674;POINT (-39.03839 -3.37457)'))) / (select extract(epoch from '2026-08-06 21:09:39'::timestamp) - extract(epoch from '2026-08-06 21:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038389 -3.374481)'), GeomFromEWKT('SRID=4674;POINT (-39.03839 -3.37457)'))) / (select extract(epoch from '2026-08-06 21:09:39'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.038401 -3.374651)', '2026-08-06 21:09:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03839 -3.37457)'), GeomFromEWKT('SRID=4674;POINT (-39.038401 -3.374651)'))) / (select extract(epoch from '2026-08-06 21:09:45'::timestamp) - extract(epoch from '2026-08-06 21:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03839 -3.37457)'), GeomFromEWKT('SRID=4674;POINT (-39.038401 -3.374651)'))) / (select extract(epoch from '2026-08-06 21:09:45'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.0384 -3.374696)', '2026-08-06 21:09:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038401 -3.374651)'), GeomFromEWKT('SRID=4674;POINT (-39.0384 -3.374696)'))) / (select extract(epoch from '2026-08-06 21:09:48'::timestamp) - extract(epoch from '2026-08-06 21:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038401 -3.374651)'), GeomFromEWKT('SRID=4674;POINT (-39.0384 -3.374696)'))) / (select extract(epoch from '2026-08-06 21:09:48'::timestamp) - extract(epoch from '2026-08-06 21:09: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'), 48129, 'SRID=4674;POINT (-39.038385 -3.374751)', '2026-08-06 21:09:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0384 -3.374696)'), GeomFromEWKT('SRID=4674;POINT (-39.038385 -3.374751)'))) / (select extract(epoch from '2026-08-06 21:09:52'::timestamp) - extract(epoch from '2026-08-06 21:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0384 -3.374696)'), GeomFromEWKT('SRID=4674;POINT (-39.038385 -3.374751)'))) / (select extract(epoch from '2026-08-06 21:09:52'::timestamp) - extract(epoch from '2026-08-06 21:09: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'), 48129, 'SRID=4674;POINT (-39.038366 -3.374871)', '2026-08-06 21:09:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038385 -3.374751)'), GeomFromEWKT('SRID=4674;POINT (-39.038366 -3.374871)'))) / (select extract(epoch from '2026-08-06 21:09:59'::timestamp) - extract(epoch from '2026-08-06 21:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038385 -3.374751)'), GeomFromEWKT('SRID=4674;POINT (-39.038366 -3.374871)'))) / (select extract(epoch from '2026-08-06 21:09:59'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.038349 -3.374966)', '2026-08-06 21:10:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038366 -3.374871)'), GeomFromEWKT('SRID=4674;POINT (-39.038349 -3.374966)'))) / (select extract(epoch from '2026-08-06 21:10:05'::timestamp) - extract(epoch from '2026-08-06 21:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038366 -3.374871)'), GeomFromEWKT('SRID=4674;POINT (-39.038349 -3.374966)'))) / (select extract(epoch from '2026-08-06 21:10:05'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.038351 -3.375073)', '2026-08-06 21:10:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038349 -3.374966)'), GeomFromEWKT('SRID=4674;POINT (-39.038351 -3.375073)'))) / (select extract(epoch from '2026-08-06 21:10:12'::timestamp) - extract(epoch from '2026-08-06 21:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038349 -3.374966)'), GeomFromEWKT('SRID=4674;POINT (-39.038351 -3.375073)'))) / (select extract(epoch from '2026-08-06 21:10:12'::timestamp) - extract(epoch from '2026-08-06 21:10: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'), 48129, 'SRID=4674;POINT (-39.038335 -3.375198)', '2026-08-06 21:10:19', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038351 -3.375073)'), GeomFromEWKT('SRID=4674;POINT (-39.038335 -3.375198)'))) / (select extract(epoch from '2026-08-06 21:10:19'::timestamp) - extract(epoch from '2026-08-06 21:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038351 -3.375073)'), GeomFromEWKT('SRID=4674;POINT (-39.038335 -3.375198)'))) / (select extract(epoch from '2026-08-06 21:10:19'::timestamp) - extract(epoch from '2026-08-06 21:10: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'), 48129, 'SRID=4674;POINT (-39.038306 -3.375333)', '2026-08-06 21:10:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038335 -3.375198)'), GeomFromEWKT('SRID=4674;POINT (-39.038306 -3.375333)'))) / (select extract(epoch from '2026-08-06 21:10:28'::timestamp) - extract(epoch from '2026-08-06 21:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038335 -3.375198)'), GeomFromEWKT('SRID=4674;POINT (-39.038306 -3.375333)'))) / (select extract(epoch from '2026-08-06 21:10:28'::timestamp) - extract(epoch from '2026-08-06 21:10: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'), 48129, 'SRID=4674;POINT (-39.038299 -3.375439)', '2026-08-06 21:10:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038306 -3.375333)'), GeomFromEWKT('SRID=4674;POINT (-39.038299 -3.375439)'))) / (select extract(epoch from '2026-08-06 21:10:36'::timestamp) - extract(epoch from '2026-08-06 21:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038306 -3.375333)'), GeomFromEWKT('SRID=4674;POINT (-39.038299 -3.375439)'))) / (select extract(epoch from '2026-08-06 21:10:36'::timestamp) - extract(epoch from '2026-08-06 21:10: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'), 48129, 'SRID=4674;POINT (-39.038288 -3.375537)', '2026-08-06 21:10:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038299 -3.375439)'), GeomFromEWKT('SRID=4674;POINT (-39.038288 -3.375537)'))) / (select extract(epoch from '2026-08-06 21:10:42'::timestamp) - extract(epoch from '2026-08-06 21:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038299 -3.375439)'), GeomFromEWKT('SRID=4674;POINT (-39.038288 -3.375537)'))) / (select extract(epoch from '2026-08-06 21:10:42'::timestamp) - extract(epoch from '2026-08-06 21:10: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'), 48129, 'SRID=4674;POINT (-39.038266 -3.375632)', '2026-08-06 21:10:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038288 -3.375537)'), GeomFromEWKT('SRID=4674;POINT (-39.038266 -3.375632)'))) / (select extract(epoch from '2026-08-06 21:10:48'::timestamp) - extract(epoch from '2026-08-06 21:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038288 -3.375537)'), GeomFromEWKT('SRID=4674;POINT (-39.038266 -3.375632)'))) / (select extract(epoch from '2026-08-06 21:10:48'::timestamp) - extract(epoch from '2026-08-06 21:10: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'), 48129, 'SRID=4674;POINT (-39.038241 -3.37572)', '2026-08-06 21:10:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038266 -3.375632)'), GeomFromEWKT('SRID=4674;POINT (-39.038241 -3.37572)'))) / (select extract(epoch from '2026-08-06 21:10:55'::timestamp) - extract(epoch from '2026-08-06 21:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038266 -3.375632)'), GeomFromEWKT('SRID=4674;POINT (-39.038241 -3.37572)'))) / (select extract(epoch from '2026-08-06 21:10:55'::timestamp) - extract(epoch from '2026-08-06 21:10: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'), 48129, 'SRID=4674;POINT (-39.038231 -3.375825)', '2026-08-06 21:11:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038241 -3.37572)'), GeomFromEWKT('SRID=4674;POINT (-39.038231 -3.375825)'))) / (select extract(epoch from '2026-08-06 21:11:02'::timestamp) - extract(epoch from '2026-08-06 21:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038241 -3.37572)'), GeomFromEWKT('SRID=4674;POINT (-39.038231 -3.375825)'))) / (select extract(epoch from '2026-08-06 21:11:02'::timestamp) - extract(epoch from '2026-08-06 21:10: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'), 48129, 'SRID=4674;POINT (-39.038221 -3.375923)', '2026-08-06 21:11:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038231 -3.375825)'), GeomFromEWKT('SRID=4674;POINT (-39.038221 -3.375923)'))) / (select extract(epoch from '2026-08-06 21:11:08'::timestamp) - extract(epoch from '2026-08-06 21:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038231 -3.375825)'), GeomFromEWKT('SRID=4674;POINT (-39.038221 -3.375923)'))) / (select extract(epoch from '2026-08-06 21:11:08'::timestamp) - extract(epoch from '2026-08-06 21:11: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'), 48129, 'SRID=4674;POINT (-39.038214 -3.376035)', '2026-08-06 21:11:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038221 -3.375923)'), GeomFromEWKT('SRID=4674;POINT (-39.038214 -3.376035)'))) / (select extract(epoch from '2026-08-06 21:11:15'::timestamp) - extract(epoch from '2026-08-06 21:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038221 -3.375923)'), GeomFromEWKT('SRID=4674;POINT (-39.038214 -3.376035)'))) / (select extract(epoch from '2026-08-06 21:11:15'::timestamp) - extract(epoch from '2026-08-06 21:11: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'), 48129, 'SRID=4674;POINT (-39.038185 -3.376175)', '2026-08-06 21:11:23', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038214 -3.376035)'), GeomFromEWKT('SRID=4674;POINT (-39.038185 -3.376175)'))) / (select extract(epoch from '2026-08-06 21:11:23'::timestamp) - extract(epoch from '2026-08-06 21:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038214 -3.376035)'), GeomFromEWKT('SRID=4674;POINT (-39.038185 -3.376175)'))) / (select extract(epoch from '2026-08-06 21:11:23'::timestamp) - extract(epoch from '2026-08-06 21:11: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'), 48129, 'SRID=4674;POINT (-39.038163 -3.376276)', '2026-08-06 21:11:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038185 -3.376175)'), GeomFromEWKT('SRID=4674;POINT (-39.038163 -3.376276)'))) / (select extract(epoch from '2026-08-06 21:11:29'::timestamp) - extract(epoch from '2026-08-06 21:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038185 -3.376175)'), GeomFromEWKT('SRID=4674;POINT (-39.038163 -3.376276)'))) / (select extract(epoch from '2026-08-06 21:11:29'::timestamp) - extract(epoch from '2026-08-06 21:11: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'), 48129, 'SRID=4674;POINT (-39.038136 -3.376407)', '2026-08-06 21:11:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038163 -3.376276)'), GeomFromEWKT('SRID=4674;POINT (-39.038136 -3.376407)'))) / (select extract(epoch from '2026-08-06 21:11:38'::timestamp) - extract(epoch from '2026-08-06 21:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038163 -3.376276)'), GeomFromEWKT('SRID=4674;POINT (-39.038136 -3.376407)'))) / (select extract(epoch from '2026-08-06 21:11:38'::timestamp) - extract(epoch from '2026-08-06 21:11: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'), 48129, 'SRID=4674;POINT (-39.038104 -3.376519)', '2026-08-06 21:11:46', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038136 -3.376407)'), GeomFromEWKT('SRID=4674;POINT (-39.038104 -3.376519)'))) / (select extract(epoch from '2026-08-06 21:11:46'::timestamp) - extract(epoch from '2026-08-06 21:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038136 -3.376407)'), GeomFromEWKT('SRID=4674;POINT (-39.038104 -3.376519)'))) / (select extract(epoch from '2026-08-06 21:11:46'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.038103 -3.37666)', '2026-08-06 21:11:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038104 -3.376519)'), GeomFromEWKT('SRID=4674;POINT (-39.038103 -3.37666)'))) / (select extract(epoch from '2026-08-06 21:11:55'::timestamp) - extract(epoch from '2026-08-06 21:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038104 -3.376519)'), GeomFromEWKT('SRID=4674;POINT (-39.038103 -3.37666)'))) / (select extract(epoch from '2026-08-06 21:11:55'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.0381 -3.376744)', '2026-08-06 21:12:00', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038103 -3.37666)'), GeomFromEWKT('SRID=4674;POINT (-39.0381 -3.376744)'))) / (select extract(epoch from '2026-08-06 21:12:00'::timestamp) - extract(epoch from '2026-08-06 21:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038103 -3.37666)'), GeomFromEWKT('SRID=4674;POINT (-39.0381 -3.376744)'))) / (select extract(epoch from '2026-08-06 21:12:00'::timestamp) - extract(epoch from '2026-08-06 21:11: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'), 48129, 'SRID=4674;POINT (-39.03806 -3.376903)', '2026-08-06 21:12:09', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0381 -3.376744)'), GeomFromEWKT('SRID=4674;POINT (-39.03806 -3.376903)'))) / (select extract(epoch from '2026-08-06 21:12:09'::timestamp) - extract(epoch from '2026-08-06 21:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0381 -3.376744)'), GeomFromEWKT('SRID=4674;POINT (-39.03806 -3.376903)'))) / (select extract(epoch from '2026-08-06 21:12:09'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.038029 -3.377062)', '2026-08-06 21:12:18', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03806 -3.376903)'), GeomFromEWKT('SRID=4674;POINT (-39.038029 -3.377062)'))) / (select extract(epoch from '2026-08-06 21:12:18'::timestamp) - extract(epoch from '2026-08-06 21:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03806 -3.376903)'), GeomFromEWKT('SRID=4674;POINT (-39.038029 -3.377062)'))) / (select extract(epoch from '2026-08-06 21:12:18'::timestamp) - extract(epoch from '2026-08-06 21:12: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'), 48129, 'SRID=4674;POINT (-39.038003 -3.377169)', '2026-08-06 21:12:25', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038029 -3.377062)'), GeomFromEWKT('SRID=4674;POINT (-39.038003 -3.377169)'))) / (select extract(epoch from '2026-08-06 21:12:25'::timestamp) - extract(epoch from '2026-08-06 21:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038029 -3.377062)'), GeomFromEWKT('SRID=4674;POINT (-39.038003 -3.377169)'))) / (select extract(epoch from '2026-08-06 21:12:25'::timestamp) - extract(epoch from '2026-08-06 21:12: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'), 48129, 'SRID=4674;POINT (-39.037969 -3.377299)', '2026-08-06 21:12:33', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038003 -3.377169)'), GeomFromEWKT('SRID=4674;POINT (-39.037969 -3.377299)'))) / (select extract(epoch from '2026-08-06 21:12:33'::timestamp) - extract(epoch from '2026-08-06 21:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038003 -3.377169)'), GeomFromEWKT('SRID=4674;POINT (-39.037969 -3.377299)'))) / (select extract(epoch from '2026-08-06 21:12:33'::timestamp) - extract(epoch from '2026-08-06 21:12: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'), 48129, 'SRID=4674;POINT (-39.037931 -3.377439)', '2026-08-06 21:12:41', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037969 -3.377299)'), GeomFromEWKT('SRID=4674;POINT (-39.037931 -3.377439)'))) / (select extract(epoch from '2026-08-06 21:12:41'::timestamp) - extract(epoch from '2026-08-06 21:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037969 -3.377299)'), GeomFromEWKT('SRID=4674;POINT (-39.037931 -3.377439)'))) / (select extract(epoch from '2026-08-06 21:12:41'::timestamp) - extract(epoch from '2026-08-06 21:12: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'), 48129, 'SRID=4674;POINT (-39.037907 -3.377565)', '2026-08-06 21:12:48', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037931 -3.377439)'), GeomFromEWKT('SRID=4674;POINT (-39.037907 -3.377565)'))) / (select extract(epoch from '2026-08-06 21:12:48'::timestamp) - extract(epoch from '2026-08-06 21:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037931 -3.377439)'), GeomFromEWKT('SRID=4674;POINT (-39.037907 -3.377565)'))) / (select extract(epoch from '2026-08-06 21:12:48'::timestamp) - extract(epoch from '2026-08-06 21:12: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'), 48129, 'SRID=4674;POINT (-39.037883 -3.377674)', '2026-08-06 21:12:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037907 -3.377565)'), GeomFromEWKT('SRID=4674;POINT (-39.037883 -3.377674)'))) / (select extract(epoch from '2026-08-06 21:12:55'::timestamp) - extract(epoch from '2026-08-06 21:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037907 -3.377565)'), GeomFromEWKT('SRID=4674;POINT (-39.037883 -3.377674)'))) / (select extract(epoch from '2026-08-06 21:12:55'::timestamp) - extract(epoch from '2026-08-06 21:12: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'), 48129, 'SRID=4674;POINT (-39.037869 -3.377779)', '2026-08-06 21:13:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037883 -3.377674)'), GeomFromEWKT('SRID=4674;POINT (-39.037869 -3.377779)'))) / (select extract(epoch from '2026-08-06 21:13:02'::timestamp) - extract(epoch from '2026-08-06 21:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037883 -3.377674)'), GeomFromEWKT('SRID=4674;POINT (-39.037869 -3.377779)'))) / (select extract(epoch from '2026-08-06 21:13:02'::timestamp) - extract(epoch from '2026-08-06 21:12: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'), 48129, 'SRID=4674;POINT (-39.037843 -3.377888)', '2026-08-06 21:13:09', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037869 -3.377779)'), GeomFromEWKT('SRID=4674;POINT (-39.037843 -3.377888)'))) / (select extract(epoch from '2026-08-06 21:13:09'::timestamp) - extract(epoch from '2026-08-06 21:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037869 -3.377779)'), GeomFromEWKT('SRID=4674;POINT (-39.037843 -3.377888)'))) / (select extract(epoch from '2026-08-06 21:13:09'::timestamp) - extract(epoch from '2026-08-06 21:13: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'), 48129, 'SRID=4674;POINT (-39.037825 -3.37801)', '2026-08-06 21:13:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037843 -3.377888)'), GeomFromEWKT('SRID=4674;POINT (-39.037825 -3.37801)'))) / (select extract(epoch from '2026-08-06 21:13:16'::timestamp) - extract(epoch from '2026-08-06 21:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037843 -3.377888)'), GeomFromEWKT('SRID=4674;POINT (-39.037825 -3.37801)'))) / (select extract(epoch from '2026-08-06 21:13:16'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.03783 -3.378111)', '2026-08-06 21:13:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037825 -3.37801)'), GeomFromEWKT('SRID=4674;POINT (-39.03783 -3.378111)'))) / (select extract(epoch from '2026-08-06 21:13:23'::timestamp) - extract(epoch from '2026-08-06 21:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037825 -3.37801)'), GeomFromEWKT('SRID=4674;POINT (-39.03783 -3.378111)'))) / (select extract(epoch from '2026-08-06 21:13:23'::timestamp) - extract(epoch from '2026-08-06 21:13: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'), 48129, 'SRID=4674;POINT (-39.037819 -3.378169)', '2026-08-06 21:13:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03783 -3.378111)'), GeomFromEWKT('SRID=4674;POINT (-39.037819 -3.378169)'))) / (select extract(epoch from '2026-08-06 21:13:27'::timestamp) - extract(epoch from '2026-08-06 21:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03783 -3.378111)'), GeomFromEWKT('SRID=4674;POINT (-39.037819 -3.378169)'))) / (select extract(epoch from '2026-08-06 21:13:27'::timestamp) - extract(epoch from '2026-08-06 21:13: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'), 48129, 'SRID=4674;POINT (-39.037818 -3.3782)', '2026-08-06 21:13:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037819 -3.378169)'), GeomFromEWKT('SRID=4674;POINT (-39.037818 -3.3782)'))) / (select extract(epoch from '2026-08-06 21:13:29'::timestamp) - extract(epoch from '2026-08-06 21:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037819 -3.378169)'), GeomFromEWKT('SRID=4674;POINT (-39.037818 -3.3782)'))) / (select extract(epoch from '2026-08-06 21:13:29'::timestamp) - extract(epoch from '2026-08-06 21:13: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'), 48129, 'SRID=4674;POINT (-39.037799 -3.378297)', '2026-08-06 21:13:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037818 -3.3782)'), GeomFromEWKT('SRID=4674;POINT (-39.037799 -3.378297)'))) / (select extract(epoch from '2026-08-06 21:13:35'::timestamp) - extract(epoch from '2026-08-06 21:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037818 -3.3782)'), GeomFromEWKT('SRID=4674;POINT (-39.037799 -3.378297)'))) / (select extract(epoch from '2026-08-06 21:13:35'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.037767 -3.378407)', '2026-08-06 21:13:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037799 -3.378297)'), GeomFromEWKT('SRID=4674;POINT (-39.037767 -3.378407)'))) / (select extract(epoch from '2026-08-06 21:13:42'::timestamp) - extract(epoch from '2026-08-06 21:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037799 -3.378297)'), GeomFromEWKT('SRID=4674;POINT (-39.037767 -3.378407)'))) / (select extract(epoch from '2026-08-06 21:13:42'::timestamp) - extract(epoch from '2026-08-06 21:13: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'), 48129, 'SRID=4674;POINT (-39.037773 -3.378514)', '2026-08-06 21:13:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037767 -3.378407)'), GeomFromEWKT('SRID=4674;POINT (-39.037773 -3.378514)'))) / (select extract(epoch from '2026-08-06 21:13:49'::timestamp) - extract(epoch from '2026-08-06 21:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037767 -3.378407)'), GeomFromEWKT('SRID=4674;POINT (-39.037773 -3.378514)'))) / (select extract(epoch from '2026-08-06 21:13:49'::timestamp) - extract(epoch from '2026-08-06 21:13: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'), 48129, 'SRID=4674;POINT (-39.037759 -3.378637)', '2026-08-06 21:13:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037773 -3.378514)'), GeomFromEWKT('SRID=4674;POINT (-39.037759 -3.378637)'))) / (select extract(epoch from '2026-08-06 21:13:57'::timestamp) - extract(epoch from '2026-08-06 21:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037773 -3.378514)'), GeomFromEWKT('SRID=4674;POINT (-39.037759 -3.378637)'))) / (select extract(epoch from '2026-08-06 21:13:57'::timestamp) - extract(epoch from '2026-08-06 21:13: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'), 48129, 'SRID=4674;POINT (-39.037767 -3.378708)', '2026-08-06 21:14:01', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037759 -3.378637)'), GeomFromEWKT('SRID=4674;POINT (-39.037767 -3.378708)'))) / (select extract(epoch from '2026-08-06 21:14:01'::timestamp) - extract(epoch from '2026-08-06 21:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037759 -3.378637)'), GeomFromEWKT('SRID=4674;POINT (-39.037767 -3.378708)'))) / (select extract(epoch from '2026-08-06 21:14:01'::timestamp) - extract(epoch from '2026-08-06 21:13: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'), 48129, 'SRID=4674;POINT (-39.03777 -3.378723)', '2026-08-06 21:14:02', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037767 -3.378708)'), GeomFromEWKT('SRID=4674;POINT (-39.03777 -3.378723)'))) / (select extract(epoch from '2026-08-06 21:14:02'::timestamp) - extract(epoch from '2026-08-06 21:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037767 -3.378708)'), GeomFromEWKT('SRID=4674;POINT (-39.03777 -3.378723)'))) / (select extract(epoch from '2026-08-06 21:14:02'::timestamp) - extract(epoch from '2026-08-06 21:14: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'), 48129, 'SRID=4674;POINT (-39.037769 -3.378847)', '2026-08-06 21:14:11', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03777 -3.378723)'), GeomFromEWKT('SRID=4674;POINT (-39.037769 -3.378847)'))) / (select extract(epoch from '2026-08-06 21:14:11'::timestamp) - extract(epoch from '2026-08-06 21:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03777 -3.378723)'), GeomFromEWKT('SRID=4674;POINT (-39.037769 -3.378847)'))) / (select extract(epoch from '2026-08-06 21:14:11'::timestamp) - extract(epoch from '2026-08-06 21:14: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'), 48129, 'SRID=4674;POINT (-39.037771 -3.378933)', '2026-08-06 21:14:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037769 -3.378847)'), GeomFromEWKT('SRID=4674;POINT (-39.037771 -3.378933)'))) / (select extract(epoch from '2026-08-06 21:14:18'::timestamp) - extract(epoch from '2026-08-06 21:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037769 -3.378847)'), GeomFromEWKT('SRID=4674;POINT (-39.037771 -3.378933)'))) / (select extract(epoch from '2026-08-06 21:14:18'::timestamp) - extract(epoch from '2026-08-06 21:14: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'), 48129, 'SRID=4674;POINT (-39.037756 -3.379017)', '2026-08-06 21:14:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037771 -3.378933)'), GeomFromEWKT('SRID=4674;POINT (-39.037756 -3.379017)'))) / (select extract(epoch from '2026-08-06 21:14:24'::timestamp) - extract(epoch from '2026-08-06 21:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037771 -3.378933)'), GeomFromEWKT('SRID=4674;POINT (-39.037756 -3.379017)'))) / (select extract(epoch from '2026-08-06 21:14:24'::timestamp) - extract(epoch from '2026-08-06 21:14: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'), 48129, 'SRID=4674;POINT (-39.03777 -3.379121)', '2026-08-06 21:14:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037756 -3.379017)'), GeomFromEWKT('SRID=4674;POINT (-39.03777 -3.379121)'))) / (select extract(epoch from '2026-08-06 21:14:32'::timestamp) - extract(epoch from '2026-08-06 21:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037756 -3.379017)'), GeomFromEWKT('SRID=4674;POINT (-39.03777 -3.379121)'))) / (select extract(epoch from '2026-08-06 21:14:32'::timestamp) - extract(epoch from '2026-08-06 21:14: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'), 48129, 'SRID=4674;POINT (-39.037747 -3.379259)', '2026-08-06 21:14:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03777 -3.379121)'), GeomFromEWKT('SRID=4674;POINT (-39.037747 -3.379259)'))) / (select extract(epoch from '2026-08-06 21:14:40'::timestamp) - extract(epoch from '2026-08-06 21:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03777 -3.379121)'), GeomFromEWKT('SRID=4674;POINT (-39.037747 -3.379259)'))) / (select extract(epoch from '2026-08-06 21:14:40'::timestamp) - extract(epoch from '2026-08-06 21:14: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'), 48129, 'SRID=4674;POINT (-39.037718 -3.379361)', '2026-08-06 21:14:46', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037747 -3.379259)'), GeomFromEWKT('SRID=4674;POINT (-39.037718 -3.379361)'))) / (select extract(epoch from '2026-08-06 21:14:46'::timestamp) - extract(epoch from '2026-08-06 21:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037747 -3.379259)'), GeomFromEWKT('SRID=4674;POINT (-39.037718 -3.379361)'))) / (select extract(epoch from '2026-08-06 21:14:46'::timestamp) - extract(epoch from '2026-08-06 21:14: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'), 48129, 'SRID=4674;POINT (-39.037709 -3.379414)', '2026-08-06 21:14:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037718 -3.379361)'), GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.379414)'))) / (select extract(epoch from '2026-08-06 21:14:49'::timestamp) - extract(epoch from '2026-08-06 21:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037718 -3.379361)'), GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.379414)'))) / (select extract(epoch from '2026-08-06 21:14:49'::timestamp) - extract(epoch from '2026-08-06 21:14: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'), 48129, 'SRID=4674;POINT (-39.037705 -3.379459)', '2026-08-06 21:14:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.379414)'), GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.379459)'))) / (select extract(epoch from '2026-08-06 21:14:52'::timestamp) - extract(epoch from '2026-08-06 21:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.379414)'), GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.379459)'))) / (select extract(epoch from '2026-08-06 21:14:52'::timestamp) - extract(epoch from '2026-08-06 21:14: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'), 48129, 'SRID=4674;POINT (-39.037701 -3.379583)', '2026-08-06 21:15:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.379459)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.379583)'))) / (select extract(epoch from '2026-08-06 21:15:00'::timestamp) - extract(epoch from '2026-08-06 21:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.379459)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.379583)'))) / (select extract(epoch from '2026-08-06 21:15:00'::timestamp) - extract(epoch from '2026-08-06 21:14: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'), 48129, 'SRID=4674;POINT (-39.037674 -3.379718)', '2026-08-06 21:15:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.379583)'), GeomFromEWKT('SRID=4674;POINT (-39.037674 -3.379718)'))) / (select extract(epoch from '2026-08-06 21:15:09'::timestamp) - extract(epoch from '2026-08-06 21:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.379583)'), GeomFromEWKT('SRID=4674;POINT (-39.037674 -3.379718)'))) / (select extract(epoch from '2026-08-06 21:15:09'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.037653 -3.379857)', '2026-08-06 21:15:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037674 -3.379718)'), GeomFromEWKT('SRID=4674;POINT (-39.037653 -3.379857)'))) / (select extract(epoch from '2026-08-06 21:15:18'::timestamp) - extract(epoch from '2026-08-06 21:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037674 -3.379718)'), GeomFromEWKT('SRID=4674;POINT (-39.037653 -3.379857)'))) / (select extract(epoch from '2026-08-06 21:15:18'::timestamp) - extract(epoch from '2026-08-06 21:15: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'), 48129, 'SRID=4674;POINT (-39.03762 -3.379986)', '2026-08-06 21:15:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037653 -3.379857)'), GeomFromEWKT('SRID=4674;POINT (-39.03762 -3.379986)'))) / (select extract(epoch from '2026-08-06 21:15:25'::timestamp) - extract(epoch from '2026-08-06 21:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037653 -3.379857)'), GeomFromEWKT('SRID=4674;POINT (-39.03762 -3.379986)'))) / (select extract(epoch from '2026-08-06 21:15:25'::timestamp) - extract(epoch from '2026-08-06 21:15: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'), 48129, 'SRID=4674;POINT (-39.037616 -3.380106)', '2026-08-06 21:15:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03762 -3.379986)'), GeomFromEWKT('SRID=4674;POINT (-39.037616 -3.380106)'))) / (select extract(epoch from '2026-08-06 21:15:32'::timestamp) - extract(epoch from '2026-08-06 21:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03762 -3.379986)'), GeomFromEWKT('SRID=4674;POINT (-39.037616 -3.380106)'))) / (select extract(epoch from '2026-08-06 21:15:32'::timestamp) - extract(epoch from '2026-08-06 21:15: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'), 48129, 'SRID=4674;POINT (-39.037592 -3.380217)', '2026-08-06 21:15:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037616 -3.380106)'), GeomFromEWKT('SRID=4674;POINT (-39.037592 -3.380217)'))) / (select extract(epoch from '2026-08-06 21:15:38'::timestamp) - extract(epoch from '2026-08-06 21:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037616 -3.380106)'), GeomFromEWKT('SRID=4674;POINT (-39.037592 -3.380217)'))) / (select extract(epoch from '2026-08-06 21:15:38'::timestamp) - extract(epoch from '2026-08-06 21:15: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'), 48129, 'SRID=4674;POINT (-39.037589 -3.380242)', '2026-08-06 21:15:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037592 -3.380217)'), GeomFromEWKT('SRID=4674;POINT (-39.037589 -3.380242)'))) / (select extract(epoch from '2026-08-06 21:15:40'::timestamp) - extract(epoch from '2026-08-06 21:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037592 -3.380217)'), GeomFromEWKT('SRID=4674;POINT (-39.037589 -3.380242)'))) / (select extract(epoch from '2026-08-06 21:15:40'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.037591 -3.380388)', '2026-08-06 21:15:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037589 -3.380242)'), GeomFromEWKT('SRID=4674;POINT (-39.037591 -3.380388)'))) / (select extract(epoch from '2026-08-06 21:15:49'::timestamp) - extract(epoch from '2026-08-06 21:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037589 -3.380242)'), GeomFromEWKT('SRID=4674;POINT (-39.037591 -3.380388)'))) / (select extract(epoch from '2026-08-06 21:15:49'::timestamp) - extract(epoch from '2026-08-06 21:15: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'), 48129, 'SRID=4674;POINT (-39.037573 -3.380478)', '2026-08-06 21:15:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037591 -3.380388)'), GeomFromEWKT('SRID=4674;POINT (-39.037573 -3.380478)'))) / (select extract(epoch from '2026-08-06 21:15:55'::timestamp) - extract(epoch from '2026-08-06 21:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037591 -3.380388)'), GeomFromEWKT('SRID=4674;POINT (-39.037573 -3.380478)'))) / (select extract(epoch from '2026-08-06 21:15:55'::timestamp) - extract(epoch from '2026-08-06 21:15: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'), 48129, 'SRID=4674;POINT (-39.037558 -3.380574)', '2026-08-06 21:16:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037573 -3.380478)'), GeomFromEWKT('SRID=4674;POINT (-39.037558 -3.380574)'))) / (select extract(epoch from '2026-08-06 21:16:01'::timestamp) - extract(epoch from '2026-08-06 21:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037573 -3.380478)'), GeomFromEWKT('SRID=4674;POINT (-39.037558 -3.380574)'))) / (select extract(epoch from '2026-08-06 21:16:01'::timestamp) - extract(epoch from '2026-08-06 21:15: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'), 48129, 'SRID=4674;POINT (-39.037537 -3.380665)', '2026-08-06 21:16:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037558 -3.380574)'), GeomFromEWKT('SRID=4674;POINT (-39.037537 -3.380665)'))) / (select extract(epoch from '2026-08-06 21:16:08'::timestamp) - extract(epoch from '2026-08-06 21:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037558 -3.380574)'), GeomFromEWKT('SRID=4674;POINT (-39.037537 -3.380665)'))) / (select extract(epoch from '2026-08-06 21:16:08'::timestamp) - extract(epoch from '2026-08-06 21:16: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'), 48129, 'SRID=4674;POINT (-39.037517 -3.380757)', '2026-08-06 21:16:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037537 -3.380665)'), GeomFromEWKT('SRID=4674;POINT (-39.037517 -3.380757)'))) / (select extract(epoch from '2026-08-06 21:16:15'::timestamp) - extract(epoch from '2026-08-06 21:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037537 -3.380665)'), GeomFromEWKT('SRID=4674;POINT (-39.037517 -3.380757)'))) / (select extract(epoch from '2026-08-06 21:16:15'::timestamp) - extract(epoch from '2026-08-06 21:16: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'), 48129, 'SRID=4674;POINT (-39.037495 -3.38089)', '2026-08-06 21:16:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037517 -3.380757)'), GeomFromEWKT('SRID=4674;POINT (-39.037495 -3.38089)'))) / (select extract(epoch from '2026-08-06 21:16:24'::timestamp) - extract(epoch from '2026-08-06 21:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037517 -3.380757)'), GeomFromEWKT('SRID=4674;POINT (-39.037495 -3.38089)'))) / (select extract(epoch from '2026-08-06 21:16:24'::timestamp) - extract(epoch from '2026-08-06 21:16: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'), 48129, 'SRID=4674;POINT (-39.03749 -3.380983)', '2026-08-06 21:16:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037495 -3.38089)'), GeomFromEWKT('SRID=4674;POINT (-39.03749 -3.380983)'))) / (select extract(epoch from '2026-08-06 21:16:30'::timestamp) - extract(epoch from '2026-08-06 21:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037495 -3.38089)'), GeomFromEWKT('SRID=4674;POINT (-39.03749 -3.380983)'))) / (select extract(epoch from '2026-08-06 21:16:30'::timestamp) - extract(epoch from '2026-08-06 21:16: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'), 48129, 'SRID=4674;POINT (-39.037484 -3.381074)', '2026-08-06 21:16:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03749 -3.380983)'), GeomFromEWKT('SRID=4674;POINT (-39.037484 -3.381074)'))) / (select extract(epoch from '2026-08-06 21:16:36'::timestamp) - extract(epoch from '2026-08-06 21:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03749 -3.380983)'), GeomFromEWKT('SRID=4674;POINT (-39.037484 -3.381074)'))) / (select extract(epoch from '2026-08-06 21:16:36'::timestamp) - extract(epoch from '2026-08-06 21:16: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'), 48129, 'SRID=4674;POINT (-39.037471 -3.381167)', '2026-08-06 21:16:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037484 -3.381074)'), GeomFromEWKT('SRID=4674;POINT (-39.037471 -3.381167)'))) / (select extract(epoch from '2026-08-06 21:16:43'::timestamp) - extract(epoch from '2026-08-06 21:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037484 -3.381074)'), GeomFromEWKT('SRID=4674;POINT (-39.037471 -3.381167)'))) / (select extract(epoch from '2026-08-06 21:16:43'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.037456 -3.381279)', '2026-08-06 21:16:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037471 -3.381167)'), GeomFromEWKT('SRID=4674;POINT (-39.037456 -3.381279)'))) / (select extract(epoch from '2026-08-06 21:16:50'::timestamp) - extract(epoch from '2026-08-06 21:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037471 -3.381167)'), GeomFromEWKT('SRID=4674;POINT (-39.037456 -3.381279)'))) / (select extract(epoch from '2026-08-06 21:16:50'::timestamp) - extract(epoch from '2026-08-06 21:16: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'), 48129, 'SRID=4674;POINT (-39.03744 -3.38137)', '2026-08-06 21:16:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037456 -3.381279)'), GeomFromEWKT('SRID=4674;POINT (-39.03744 -3.38137)'))) / (select extract(epoch from '2026-08-06 21:16:56'::timestamp) - extract(epoch from '2026-08-06 21:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037456 -3.381279)'), GeomFromEWKT('SRID=4674;POINT (-39.03744 -3.38137)'))) / (select extract(epoch from '2026-08-06 21:16:56'::timestamp) - extract(epoch from '2026-08-06 21:16: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'), 48129, 'SRID=4674;POINT (-39.037406 -3.381477)', '2026-08-06 21:17:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03744 -3.38137)'), GeomFromEWKT('SRID=4674;POINT (-39.037406 -3.381477)'))) / (select extract(epoch from '2026-08-06 21:17:03'::timestamp) - extract(epoch from '2026-08-06 21:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03744 -3.38137)'), GeomFromEWKT('SRID=4674;POINT (-39.037406 -3.381477)'))) / (select extract(epoch from '2026-08-06 21:17:03'::timestamp) - extract(epoch from '2026-08-06 21:16: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'), 48129, 'SRID=4674;POINT (-39.037382 -3.381578)', '2026-08-06 21:17:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037406 -3.381477)'), GeomFromEWKT('SRID=4674;POINT (-39.037382 -3.381578)'))) / (select extract(epoch from '2026-08-06 21:17:09'::timestamp) - extract(epoch from '2026-08-06 21:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037406 -3.381477)'), GeomFromEWKT('SRID=4674;POINT (-39.037382 -3.381578)'))) / (select extract(epoch from '2026-08-06 21:17:09'::timestamp) - extract(epoch from '2026-08-06 21:17: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'), 48129, 'SRID=4674;POINT (-39.037348 -3.381718)', '2026-08-06 21:17:18', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037382 -3.381578)'), GeomFromEWKT('SRID=4674;POINT (-39.037348 -3.381718)'))) / (select extract(epoch from '2026-08-06 21:17:18'::timestamp) - extract(epoch from '2026-08-06 21:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037382 -3.381578)'), GeomFromEWKT('SRID=4674;POINT (-39.037348 -3.381718)'))) / (select extract(epoch from '2026-08-06 21:17:18'::timestamp) - extract(epoch from '2026-08-06 21:17: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'), 48129, 'SRID=4674;POINT (-39.037332 -3.381809)', '2026-08-06 21:17:25', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037348 -3.381718)'), GeomFromEWKT('SRID=4674;POINT (-39.037332 -3.381809)'))) / (select extract(epoch from '2026-08-06 21:17:25'::timestamp) - extract(epoch from '2026-08-06 21:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037348 -3.381718)'), GeomFromEWKT('SRID=4674;POINT (-39.037332 -3.381809)'))) / (select extract(epoch from '2026-08-06 21:17:25'::timestamp) - extract(epoch from '2026-08-06 21:17: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'), 48129, 'SRID=4674;POINT (-39.037293 -3.381902)', '2026-08-06 21:17:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037332 -3.381809)'), GeomFromEWKT('SRID=4674;POINT (-39.037293 -3.381902)'))) / (select extract(epoch from '2026-08-06 21:17:33'::timestamp) - extract(epoch from '2026-08-06 21:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037332 -3.381809)'), GeomFromEWKT('SRID=4674;POINT (-39.037293 -3.381902)'))) / (select extract(epoch from '2026-08-06 21:17:33'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.037245 -3.381983)', '2026-08-06 21:17:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037293 -3.381902)'), GeomFromEWKT('SRID=4674;POINT (-39.037245 -3.381983)'))) / (select extract(epoch from '2026-08-06 21:17:40'::timestamp) - extract(epoch from '2026-08-06 21:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037293 -3.381902)'), GeomFromEWKT('SRID=4674;POINT (-39.037245 -3.381983)'))) / (select extract(epoch from '2026-08-06 21:17:40'::timestamp) - extract(epoch from '2026-08-06 21:17: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'), 48129, 'SRID=4674;POINT (-39.037199 -3.382088)', '2026-08-06 21:17:48', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037245 -3.381983)'), GeomFromEWKT('SRID=4674;POINT (-39.037199 -3.382088)'))) / (select extract(epoch from '2026-08-06 21:17:48'::timestamp) - extract(epoch from '2026-08-06 21:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037245 -3.381983)'), GeomFromEWKT('SRID=4674;POINT (-39.037199 -3.382088)'))) / (select extract(epoch from '2026-08-06 21:17:48'::timestamp) - extract(epoch from '2026-08-06 21:17: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'), 48129, 'SRID=4674;POINT (-39.037206 -3.382171)', '2026-08-06 21:17:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037199 -3.382088)'), GeomFromEWKT('SRID=4674;POINT (-39.037206 -3.382171)'))) / (select extract(epoch from '2026-08-06 21:17:54'::timestamp) - extract(epoch from '2026-08-06 21:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037199 -3.382088)'), GeomFromEWKT('SRID=4674;POINT (-39.037206 -3.382171)'))) / (select extract(epoch from '2026-08-06 21:17:54'::timestamp) - extract(epoch from '2026-08-06 21:17: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'), 48129, 'SRID=4674;POINT (-39.037206 -3.382196)', '2026-08-06 21:17:56', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037206 -3.382171)'), GeomFromEWKT('SRID=4674;POINT (-39.037206 -3.382196)'))) / (select extract(epoch from '2026-08-06 21:17:56'::timestamp) - extract(epoch from '2026-08-06 21:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037206 -3.382171)'), GeomFromEWKT('SRID=4674;POINT (-39.037206 -3.382196)'))) / (select extract(epoch from '2026-08-06 21:17:56'::timestamp) - extract(epoch from '2026-08-06 21:17: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'), 48129, 'SRID=4674;POINT (-39.037197 -3.382235)', '2026-08-06 21:17:59', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037206 -3.382196)'), GeomFromEWKT('SRID=4674;POINT (-39.037197 -3.382235)'))) / (select extract(epoch from '2026-08-06 21:17:59'::timestamp) - extract(epoch from '2026-08-06 21:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037206 -3.382196)'), GeomFromEWKT('SRID=4674;POINT (-39.037197 -3.382235)'))) / (select extract(epoch from '2026-08-06 21:17:59'::timestamp) - extract(epoch from '2026-08-06 21:17: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'), 48129, 'SRID=4674;POINT (-39.037179 -3.382369)', '2026-08-06 21:18:07', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037197 -3.382235)'), GeomFromEWKT('SRID=4674;POINT (-39.037179 -3.382369)'))) / (select extract(epoch from '2026-08-06 21:18:07'::timestamp) - extract(epoch from '2026-08-06 21:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037197 -3.382235)'), GeomFromEWKT('SRID=4674;POINT (-39.037179 -3.382369)'))) / (select extract(epoch from '2026-08-06 21:18:07'::timestamp) - extract(epoch from '2026-08-06 21:17: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'), 48129, 'SRID=4674;POINT (-39.037165 -3.382482)', '2026-08-06 21:18:14', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037179 -3.382369)'), GeomFromEWKT('SRID=4674;POINT (-39.037165 -3.382482)'))) / (select extract(epoch from '2026-08-06 21:18:14'::timestamp) - extract(epoch from '2026-08-06 21:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037179 -3.382369)'), GeomFromEWKT('SRID=4674;POINT (-39.037165 -3.382482)'))) / (select extract(epoch from '2026-08-06 21:18:14'::timestamp) - extract(epoch from '2026-08-06 21:18: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'), 48129, 'SRID=4674;POINT (-39.037126 -3.382614)', '2026-08-06 21:18:22', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037165 -3.382482)'), GeomFromEWKT('SRID=4674;POINT (-39.037126 -3.382614)'))) / (select extract(epoch from '2026-08-06 21:18:22'::timestamp) - extract(epoch from '2026-08-06 21:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037165 -3.382482)'), GeomFromEWKT('SRID=4674;POINT (-39.037126 -3.382614)'))) / (select extract(epoch from '2026-08-06 21:18:22'::timestamp) - extract(epoch from '2026-08-06 21:18: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'), 48129, 'SRID=4674;POINT (-39.037105 -3.382712)', '2026-08-06 21:18:30', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037126 -3.382614)'), GeomFromEWKT('SRID=4674;POINT (-39.037105 -3.382712)'))) / (select extract(epoch from '2026-08-06 21:18:30'::timestamp) - extract(epoch from '2026-08-06 21:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037126 -3.382614)'), GeomFromEWKT('SRID=4674;POINT (-39.037105 -3.382712)'))) / (select extract(epoch from '2026-08-06 21:18:30'::timestamp) - extract(epoch from '2026-08-06 21:18: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'), 48129, 'SRID=4674;POINT (-39.037074 -3.382806)', '2026-08-06 21:18:37', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037105 -3.382712)'), GeomFromEWKT('SRID=4674;POINT (-39.037074 -3.382806)'))) / (select extract(epoch from '2026-08-06 21:18:37'::timestamp) - extract(epoch from '2026-08-06 21:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037105 -3.382712)'), GeomFromEWKT('SRID=4674;POINT (-39.037074 -3.382806)'))) / (select extract(epoch from '2026-08-06 21:18:37'::timestamp) - extract(epoch from '2026-08-06 21:18: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'), 48129, 'SRID=4674;POINT (-39.037077 -3.382899)', '2026-08-06 21:18:43', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037074 -3.382806)'), GeomFromEWKT('SRID=4674;POINT (-39.037077 -3.382899)'))) / (select extract(epoch from '2026-08-06 21:18:43'::timestamp) - extract(epoch from '2026-08-06 21:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037074 -3.382806)'), GeomFromEWKT('SRID=4674;POINT (-39.037077 -3.382899)'))) / (select extract(epoch from '2026-08-06 21:18:43'::timestamp) - extract(epoch from '2026-08-06 21:18: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'), 48129, 'SRID=4674;POINT (-39.037061 -3.382964)', '2026-08-06 21:18:49', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037077 -3.382899)'), GeomFromEWKT('SRID=4674;POINT (-39.037061 -3.382964)'))) / (select extract(epoch from '2026-08-06 21:18:49'::timestamp) - extract(epoch from '2026-08-06 21:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037077 -3.382899)'), GeomFromEWKT('SRID=4674;POINT (-39.037061 -3.382964)'))) / (select extract(epoch from '2026-08-06 21:18:49'::timestamp) - extract(epoch from '2026-08-06 21:18: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'), 48129, 'SRID=4674;POINT (-39.037047 -3.383036)', '2026-08-06 21:18:56', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037061 -3.382964)'), GeomFromEWKT('SRID=4674;POINT (-39.037047 -3.383036)'))) / (select extract(epoch from '2026-08-06 21:18:56'::timestamp) - extract(epoch from '2026-08-06 21:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037061 -3.382964)'), GeomFromEWKT('SRID=4674;POINT (-39.037047 -3.383036)'))) / (select extract(epoch from '2026-08-06 21:18:56'::timestamp) - extract(epoch from '2026-08-06 21:18: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'), 48129, 'SRID=4674;POINT (-39.037054 -3.383139)', '2026-08-06 21:19:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037047 -3.383036)'), GeomFromEWKT('SRID=4674;POINT (-39.037054 -3.383139)'))) / (select extract(epoch from '2026-08-06 21:19:04'::timestamp) - extract(epoch from '2026-08-06 21:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037047 -3.383036)'), GeomFromEWKT('SRID=4674;POINT (-39.037054 -3.383139)'))) / (select extract(epoch from '2026-08-06 21:19:04'::timestamp) - extract(epoch from '2026-08-06 21:18: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'), 48129, 'SRID=4674;POINT (-39.037038 -3.383227)', '2026-08-06 21:19:11', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037054 -3.383139)'), GeomFromEWKT('SRID=4674;POINT (-39.037038 -3.383227)'))) / (select extract(epoch from '2026-08-06 21:19:11'::timestamp) - extract(epoch from '2026-08-06 21:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037054 -3.383139)'), GeomFromEWKT('SRID=4674;POINT (-39.037038 -3.383227)'))) / (select extract(epoch from '2026-08-06 21:19:11'::timestamp) - extract(epoch from '2026-08-06 21:19: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'), 48129, 'SRID=4674;POINT (-39.036985 -3.383343)', '2026-08-06 21:19:19', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037038 -3.383227)'), GeomFromEWKT('SRID=4674;POINT (-39.036985 -3.383343)'))) / (select extract(epoch from '2026-08-06 21:19:19'::timestamp) - extract(epoch from '2026-08-06 21:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037038 -3.383227)'), GeomFromEWKT('SRID=4674;POINT (-39.036985 -3.383343)'))) / (select extract(epoch from '2026-08-06 21:19:19'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.036958 -3.383449)', '2026-08-06 21:19:26', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036985 -3.383343)'), GeomFromEWKT('SRID=4674;POINT (-39.036958 -3.383449)'))) / (select extract(epoch from '2026-08-06 21:19:26'::timestamp) - extract(epoch from '2026-08-06 21:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036985 -3.383343)'), GeomFromEWKT('SRID=4674;POINT (-39.036958 -3.383449)'))) / (select extract(epoch from '2026-08-06 21:19:26'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.036942 -3.383522)', '2026-08-06 21:19:31', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036958 -3.383449)'), GeomFromEWKT('SRID=4674;POINT (-39.036942 -3.383522)'))) / (select extract(epoch from '2026-08-06 21:19:31'::timestamp) - extract(epoch from '2026-08-06 21:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036958 -3.383449)'), GeomFromEWKT('SRID=4674;POINT (-39.036942 -3.383522)'))) / (select extract(epoch from '2026-08-06 21:19:31'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.036934 -3.383598)', '2026-08-06 21:19:37', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036942 -3.383522)'), GeomFromEWKT('SRID=4674;POINT (-39.036934 -3.383598)'))) / (select extract(epoch from '2026-08-06 21:19:37'::timestamp) - extract(epoch from '2026-08-06 21:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036942 -3.383522)'), GeomFromEWKT('SRID=4674;POINT (-39.036934 -3.383598)'))) / (select extract(epoch from '2026-08-06 21:19:37'::timestamp) - extract(epoch from '2026-08-06 21:19: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'), 48129, 'SRID=4674;POINT (-39.036909 -3.383703)', '2026-08-06 21:19:45', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036934 -3.383598)'), GeomFromEWKT('SRID=4674;POINT (-39.036909 -3.383703)'))) / (select extract(epoch from '2026-08-06 21:19:45'::timestamp) - extract(epoch from '2026-08-06 21:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036934 -3.383598)'), GeomFromEWKT('SRID=4674;POINT (-39.036909 -3.383703)'))) / (select extract(epoch from '2026-08-06 21:19:45'::timestamp) - extract(epoch from '2026-08-06 21:19: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'), 48129, 'SRID=4674;POINT (-39.036894 -3.383832)', '2026-08-06 21:19:53', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036909 -3.383703)'), GeomFromEWKT('SRID=4674;POINT (-39.036894 -3.383832)'))) / (select extract(epoch from '2026-08-06 21:19:53'::timestamp) - extract(epoch from '2026-08-06 21:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036909 -3.383703)'), GeomFromEWKT('SRID=4674;POINT (-39.036894 -3.383832)'))) / (select extract(epoch from '2026-08-06 21:19:53'::timestamp) - extract(epoch from '2026-08-06 21:19: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'), 48129, 'SRID=4674;POINT (-39.036851 -3.383938)', '2026-08-06 21:20:00', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036894 -3.383832)'), GeomFromEWKT('SRID=4674;POINT (-39.036851 -3.383938)'))) / (select extract(epoch from '2026-08-06 21:20:00'::timestamp) - extract(epoch from '2026-08-06 21:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036894 -3.383832)'), GeomFromEWKT('SRID=4674;POINT (-39.036851 -3.383938)'))) / (select extract(epoch from '2026-08-06 21:20:00'::timestamp) - extract(epoch from '2026-08-06 21:19: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'), 48129, 'SRID=4674;POINT (-39.036813 -3.384057)', '2026-08-06 21:20:07', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036851 -3.383938)'), GeomFromEWKT('SRID=4674;POINT (-39.036813 -3.384057)'))) / (select extract(epoch from '2026-08-06 21:20:07'::timestamp) - extract(epoch from '2026-08-06 21:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036851 -3.383938)'), GeomFromEWKT('SRID=4674;POINT (-39.036813 -3.384057)'))) / (select extract(epoch from '2026-08-06 21:20:07'::timestamp) - extract(epoch from '2026-08-06 21:20: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'), 48129, 'SRID=4674;POINT (-39.036809 -3.384148)', '2026-08-06 21:20:13', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036813 -3.384057)'), GeomFromEWKT('SRID=4674;POINT (-39.036809 -3.384148)'))) / (select extract(epoch from '2026-08-06 21:20:13'::timestamp) - extract(epoch from '2026-08-06 21:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036813 -3.384057)'), GeomFromEWKT('SRID=4674;POINT (-39.036809 -3.384148)'))) / (select extract(epoch from '2026-08-06 21:20:13'::timestamp) - extract(epoch from '2026-08-06 21:20: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'), 48129, 'SRID=4674;POINT (-39.036805 -3.384233)', '2026-08-06 21:20:19', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036809 -3.384148)'), GeomFromEWKT('SRID=4674;POINT (-39.036805 -3.384233)'))) / (select extract(epoch from '2026-08-06 21:20:19'::timestamp) - extract(epoch from '2026-08-06 21:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036809 -3.384148)'), GeomFromEWKT('SRID=4674;POINT (-39.036805 -3.384233)'))) / (select extract(epoch from '2026-08-06 21:20:19'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.036802 -3.384248)', '2026-08-06 21:20:20', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036805 -3.384233)'), GeomFromEWKT('SRID=4674;POINT (-39.036802 -3.384248)'))) / (select extract(epoch from '2026-08-06 21:20:20'::timestamp) - extract(epoch from '2026-08-06 21:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036805 -3.384233)'), GeomFromEWKT('SRID=4674;POINT (-39.036802 -3.384248)'))) / (select extract(epoch from '2026-08-06 21:20:20'::timestamp) - extract(epoch from '2026-08-06 21:20: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'), 48129, 'SRID=4674;POINT (-39.036793 -3.38431)', '2026-08-06 21:20:24', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036802 -3.384248)'), GeomFromEWKT('SRID=4674;POINT (-39.036793 -3.38431)'))) / (select extract(epoch from '2026-08-06 21:20:24'::timestamp) - extract(epoch from '2026-08-06 21:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036802 -3.384248)'), GeomFromEWKT('SRID=4674;POINT (-39.036793 -3.38431)'))) / (select extract(epoch from '2026-08-06 21:20:24'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.03677 -3.384393)', '2026-08-06 21:20:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036793 -3.38431)'), GeomFromEWKT('SRID=4674;POINT (-39.03677 -3.384393)'))) / (select extract(epoch from '2026-08-06 21:20:30'::timestamp) - extract(epoch from '2026-08-06 21:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036793 -3.38431)'), GeomFromEWKT('SRID=4674;POINT (-39.03677 -3.384393)'))) / (select extract(epoch from '2026-08-06 21:20:30'::timestamp) - extract(epoch from '2026-08-06 21:20: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'), 48129, 'SRID=4674;POINT (-39.036771 -3.384411)', '2026-08-06 21:20:32', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03677 -3.384393)'), GeomFromEWKT('SRID=4674;POINT (-39.036771 -3.384411)'))) / (select extract(epoch from '2026-08-06 21:20:32'::timestamp) - extract(epoch from '2026-08-06 21:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03677 -3.384393)'), GeomFromEWKT('SRID=4674;POINT (-39.036771 -3.384411)'))) / (select extract(epoch from '2026-08-06 21:20:32'::timestamp) - extract(epoch from '2026-08-06 21:20: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'), 48129, 'SRID=4674;POINT (-39.036758 -3.384464)', '2026-08-06 21:20:36', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036771 -3.384411)'), GeomFromEWKT('SRID=4674;POINT (-39.036758 -3.384464)'))) / (select extract(epoch from '2026-08-06 21:20:36'::timestamp) - extract(epoch from '2026-08-06 21:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036771 -3.384411)'), GeomFromEWKT('SRID=4674;POINT (-39.036758 -3.384464)'))) / (select extract(epoch from '2026-08-06 21:20:36'::timestamp) - extract(epoch from '2026-08-06 21:20: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'), 48129, 'SRID=4674;POINT (-39.036753 -3.384548)', '2026-08-06 21:20:42', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036758 -3.384464)'), GeomFromEWKT('SRID=4674;POINT (-39.036753 -3.384548)'))) / (select extract(epoch from '2026-08-06 21:20:42'::timestamp) - extract(epoch from '2026-08-06 21:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036758 -3.384464)'), GeomFromEWKT('SRID=4674;POINT (-39.036753 -3.384548)'))) / (select extract(epoch from '2026-08-06 21:20:42'::timestamp) - extract(epoch from '2026-08-06 21:20: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'), 48129, 'SRID=4674;POINT (-39.036726 -3.384647)', '2026-08-06 21:20:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036753 -3.384548)'), GeomFromEWKT('SRID=4674;POINT (-39.036726 -3.384647)'))) / (select extract(epoch from '2026-08-06 21:20:49'::timestamp) - extract(epoch from '2026-08-06 21:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036753 -3.384548)'), GeomFromEWKT('SRID=4674;POINT (-39.036726 -3.384647)'))) / (select extract(epoch from '2026-08-06 21:20:49'::timestamp) - extract(epoch from '2026-08-06 21:20: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'), 48129, 'SRID=4674;POINT (-39.036692 -3.384756)', '2026-08-06 21:20:57', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036726 -3.384647)'), GeomFromEWKT('SRID=4674;POINT (-39.036692 -3.384756)'))) / (select extract(epoch from '2026-08-06 21:20:57'::timestamp) - extract(epoch from '2026-08-06 21:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036726 -3.384647)'), GeomFromEWKT('SRID=4674;POINT (-39.036692 -3.384756)'))) / (select extract(epoch from '2026-08-06 21:20:57'::timestamp) - extract(epoch from '2026-08-06 21:20: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'), 48129, 'SRID=4674;POINT (-39.036694 -3.384837)', '2026-08-06 21:21:04', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036692 -3.384756)'), GeomFromEWKT('SRID=4674;POINT (-39.036694 -3.384837)'))) / (select extract(epoch from '2026-08-06 21:21:04'::timestamp) - extract(epoch from '2026-08-06 21:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036692 -3.384756)'), GeomFromEWKT('SRID=4674;POINT (-39.036694 -3.384837)'))) / (select extract(epoch from '2026-08-06 21:21:04'::timestamp) - extract(epoch from '2026-08-06 21:20: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'), 48129, 'SRID=4674;POINT (-39.036692 -3.384847)', '2026-08-06 21:21:05', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036694 -3.384837)'), GeomFromEWKT('SRID=4674;POINT (-39.036692 -3.384847)'))) / (select extract(epoch from '2026-08-06 21:21:05'::timestamp) - extract(epoch from '2026-08-06 21:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036694 -3.384837)'), GeomFromEWKT('SRID=4674;POINT (-39.036692 -3.384847)'))) / (select extract(epoch from '2026-08-06 21:21:05'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.036687 -3.384924)', '2026-08-06 21:21:11', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036692 -3.384847)'), GeomFromEWKT('SRID=4674;POINT (-39.036687 -3.384924)'))) / (select extract(epoch from '2026-08-06 21:21:11'::timestamp) - extract(epoch from '2026-08-06 21:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036692 -3.384847)'), GeomFromEWKT('SRID=4674;POINT (-39.036687 -3.384924)'))) / (select extract(epoch from '2026-08-06 21:21:11'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.036684 -3.384949)', '2026-08-06 21:21:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036687 -3.384924)'), GeomFromEWKT('SRID=4674;POINT (-39.036684 -3.384949)'))) / (select extract(epoch from '2026-08-06 21:21:13'::timestamp) - extract(epoch from '2026-08-06 21:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036687 -3.384924)'), GeomFromEWKT('SRID=4674;POINT (-39.036684 -3.384949)'))) / (select extract(epoch from '2026-08-06 21:21:13'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.036677 -3.384995)', '2026-08-06 21:21:17', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036684 -3.384949)'), GeomFromEWKT('SRID=4674;POINT (-39.036677 -3.384995)'))) / (select extract(epoch from '2026-08-06 21:21:17'::timestamp) - extract(epoch from '2026-08-06 21:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036684 -3.384949)'), GeomFromEWKT('SRID=4674;POINT (-39.036677 -3.384995)'))) / (select extract(epoch from '2026-08-06 21:21:17'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.036644 -3.385076)', '2026-08-06 21:21:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036677 -3.384995)'), GeomFromEWKT('SRID=4674;POINT (-39.036644 -3.385076)'))) / (select extract(epoch from '2026-08-06 21:21:24'::timestamp) - extract(epoch from '2026-08-06 21:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036677 -3.384995)'), GeomFromEWKT('SRID=4674;POINT (-39.036644 -3.385076)'))) / (select extract(epoch from '2026-08-06 21:21:24'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.03663 -3.385135)', '2026-08-06 21:21:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036644 -3.385076)'), GeomFromEWKT('SRID=4674;POINT (-39.03663 -3.385135)'))) / (select extract(epoch from '2026-08-06 21:21:28'::timestamp) - extract(epoch from '2026-08-06 21:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036644 -3.385076)'), GeomFromEWKT('SRID=4674;POINT (-39.03663 -3.385135)'))) / (select extract(epoch from '2026-08-06 21:21:28'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.036624 -3.385173)', '2026-08-06 21:21:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03663 -3.385135)'), GeomFromEWKT('SRID=4674;POINT (-39.036624 -3.385173)'))) / (select extract(epoch from '2026-08-06 21:21:30'::timestamp) - extract(epoch from '2026-08-06 21:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03663 -3.385135)'), GeomFromEWKT('SRID=4674;POINT (-39.036624 -3.385173)'))) / (select extract(epoch from '2026-08-06 21:21:30'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.036614 -3.385208)', '2026-08-06 21:21:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036624 -3.385173)'), GeomFromEWKT('SRID=4674;POINT (-39.036614 -3.385208)'))) / (select extract(epoch from '2026-08-06 21:21:32'::timestamp) - extract(epoch from '2026-08-06 21:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036624 -3.385173)'), GeomFromEWKT('SRID=4674;POINT (-39.036614 -3.385208)'))) / (select extract(epoch from '2026-08-06 21:21:32'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.036606 -3.38525)', '2026-08-06 21:21:35', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036614 -3.385208)'), GeomFromEWKT('SRID=4674;POINT (-39.036606 -3.38525)'))) / (select extract(epoch from '2026-08-06 21:21:35'::timestamp) - extract(epoch from '2026-08-06 21:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036614 -3.385208)'), GeomFromEWKT('SRID=4674;POINT (-39.036606 -3.38525)'))) / (select extract(epoch from '2026-08-06 21:21:35'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.036603 -3.385338)', '2026-08-06 21:21:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036606 -3.38525)'), GeomFromEWKT('SRID=4674;POINT (-39.036603 -3.385338)'))) / (select extract(epoch from '2026-08-06 21:21:42'::timestamp) - extract(epoch from '2026-08-06 21:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036606 -3.38525)'), GeomFromEWKT('SRID=4674;POINT (-39.036603 -3.385338)'))) / (select extract(epoch from '2026-08-06 21:21:42'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.036567 -3.385435)', '2026-08-06 21:21:49', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036603 -3.385338)'), GeomFromEWKT('SRID=4674;POINT (-39.036567 -3.385435)'))) / (select extract(epoch from '2026-08-06 21:21:49'::timestamp) - extract(epoch from '2026-08-06 21:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036603 -3.385338)'), GeomFromEWKT('SRID=4674;POINT (-39.036567 -3.385435)'))) / (select extract(epoch from '2026-08-06 21:21:49'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.036541 -3.385545)', '2026-08-06 21:21:56', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036567 -3.385435)'), GeomFromEWKT('SRID=4674;POINT (-39.036541 -3.385545)'))) / (select extract(epoch from '2026-08-06 21:21:56'::timestamp) - extract(epoch from '2026-08-06 21:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036567 -3.385435)'), GeomFromEWKT('SRID=4674;POINT (-39.036541 -3.385545)'))) / (select extract(epoch from '2026-08-06 21:21:56'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.03649 -3.385645)', '2026-08-06 21:22:02', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036541 -3.385545)'), GeomFromEWKT('SRID=4674;POINT (-39.03649 -3.385645)'))) / (select extract(epoch from '2026-08-06 21:22:02'::timestamp) - extract(epoch from '2026-08-06 21:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036541 -3.385545)'), GeomFromEWKT('SRID=4674;POINT (-39.03649 -3.385645)'))) / (select extract(epoch from '2026-08-06 21:22:02'::timestamp) - extract(epoch from '2026-08-06 21:21: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'), 48129, 'SRID=4674;POINT (-39.036476 -3.385757)', '2026-08-06 21:22:08', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03649 -3.385645)'), GeomFromEWKT('SRID=4674;POINT (-39.036476 -3.385757)'))) / (select extract(epoch from '2026-08-06 21:22:08'::timestamp) - extract(epoch from '2026-08-06 21:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03649 -3.385645)'), GeomFromEWKT('SRID=4674;POINT (-39.036476 -3.385757)'))) / (select extract(epoch from '2026-08-06 21:22:08'::timestamp) - extract(epoch from '2026-08-06 21:22: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'), 48129, 'SRID=4674;POINT (-39.03644 -3.385849)', '2026-08-06 21:22:14', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036476 -3.385757)'), GeomFromEWKT('SRID=4674;POINT (-39.03644 -3.385849)'))) / (select extract(epoch from '2026-08-06 21:22:14'::timestamp) - extract(epoch from '2026-08-06 21:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036476 -3.385757)'), GeomFromEWKT('SRID=4674;POINT (-39.03644 -3.385849)'))) / (select extract(epoch from '2026-08-06 21:22:14'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.036405 -3.386003)', '2026-08-06 21:22:22', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03644 -3.385849)'), GeomFromEWKT('SRID=4674;POINT (-39.036405 -3.386003)'))) / (select extract(epoch from '2026-08-06 21:22:22'::timestamp) - extract(epoch from '2026-08-06 21:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03644 -3.385849)'), GeomFromEWKT('SRID=4674;POINT (-39.036405 -3.386003)'))) / (select extract(epoch from '2026-08-06 21:22:22'::timestamp) - extract(epoch from '2026-08-06 21:22: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'), 48129, 'SRID=4674;POINT (-39.036363 -3.386123)', '2026-08-06 21:22:29', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036405 -3.386003)'), GeomFromEWKT('SRID=4674;POINT (-39.036363 -3.386123)'))) / (select extract(epoch from '2026-08-06 21:22:29'::timestamp) - extract(epoch from '2026-08-06 21:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036405 -3.386003)'), GeomFromEWKT('SRID=4674;POINT (-39.036363 -3.386123)'))) / (select extract(epoch from '2026-08-06 21:22:29'::timestamp) - extract(epoch from '2026-08-06 21:22: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'), 48129, 'SRID=4674;POINT (-39.036322 -3.386241)', '2026-08-06 21:22:36', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036363 -3.386123)'), GeomFromEWKT('SRID=4674;POINT (-39.036322 -3.386241)'))) / (select extract(epoch from '2026-08-06 21:22:36'::timestamp) - extract(epoch from '2026-08-06 21:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036363 -3.386123)'), GeomFromEWKT('SRID=4674;POINT (-39.036322 -3.386241)'))) / (select extract(epoch from '2026-08-06 21:22:36'::timestamp) - extract(epoch from '2026-08-06 21:22: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'), 48129, 'SRID=4674;POINT (-39.036299 -3.386326)', '2026-08-06 21:22:42', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036322 -3.386241)'), GeomFromEWKT('SRID=4674;POINT (-39.036299 -3.386326)'))) / (select extract(epoch from '2026-08-06 21:22:42'::timestamp) - extract(epoch from '2026-08-06 21:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036322 -3.386241)'), GeomFromEWKT('SRID=4674;POINT (-39.036299 -3.386326)'))) / (select extract(epoch from '2026-08-06 21:22:42'::timestamp) - extract(epoch from '2026-08-06 21:22: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'), 48129, 'SRID=4674;POINT (-39.036284 -3.3864)', '2026-08-06 21:22:50', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036299 -3.386326)'), GeomFromEWKT('SRID=4674;POINT (-39.036284 -3.3864)'))) / (select extract(epoch from '2026-08-06 21:22:50'::timestamp) - extract(epoch from '2026-08-06 21:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036299 -3.386326)'), GeomFromEWKT('SRID=4674;POINT (-39.036284 -3.3864)'))) / (select extract(epoch from '2026-08-06 21:22:50'::timestamp) - extract(epoch from '2026-08-06 21:22: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'), 48129, 'SRID=4674;POINT (-39.036278 -3.386477)', '2026-08-06 21:22:56', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036284 -3.3864)'), GeomFromEWKT('SRID=4674;POINT (-39.036278 -3.386477)'))) / (select extract(epoch from '2026-08-06 21:22:56'::timestamp) - extract(epoch from '2026-08-06 21:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036284 -3.3864)'), GeomFromEWKT('SRID=4674;POINT (-39.036278 -3.386477)'))) / (select extract(epoch from '2026-08-06 21:22:56'::timestamp) - extract(epoch from '2026-08-06 21:22: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'), 48129, 'SRID=4674;POINT (-39.036266 -3.38656)', '2026-08-06 21:23:02', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036278 -3.386477)'), GeomFromEWKT('SRID=4674;POINT (-39.036266 -3.38656)'))) / (select extract(epoch from '2026-08-06 21:23:02'::timestamp) - extract(epoch from '2026-08-06 21:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036278 -3.386477)'), GeomFromEWKT('SRID=4674;POINT (-39.036266 -3.38656)'))) / (select extract(epoch from '2026-08-06 21:23:02'::timestamp) - extract(epoch from '2026-08-06 21:22: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'), 48129, 'SRID=4674;POINT (-39.03623 -3.386636)', '2026-08-06 21:23:08', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036266 -3.38656)'), GeomFromEWKT('SRID=4674;POINT (-39.03623 -3.386636)'))) / (select extract(epoch from '2026-08-06 21:23:08'::timestamp) - extract(epoch from '2026-08-06 21:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036266 -3.38656)'), GeomFromEWKT('SRID=4674;POINT (-39.03623 -3.386636)'))) / (select extract(epoch from '2026-08-06 21:23:08'::timestamp) - extract(epoch from '2026-08-06 21:23: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'), 48129, 'SRID=4674;POINT (-39.036201 -3.386768)', '2026-08-06 21:23:17', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03623 -3.386636)'), GeomFromEWKT('SRID=4674;POINT (-39.036201 -3.386768)'))) / (select extract(epoch from '2026-08-06 21:23:17'::timestamp) - extract(epoch from '2026-08-06 21:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03623 -3.386636)'), GeomFromEWKT('SRID=4674;POINT (-39.036201 -3.386768)'))) / (select extract(epoch from '2026-08-06 21:23:17'::timestamp) - extract(epoch from '2026-08-06 21:23: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'), 48129, 'SRID=4674;POINT (-39.036144 -3.386903)', '2026-08-06 21:23:26', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036201 -3.386768)'), GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.386903)'))) / (select extract(epoch from '2026-08-06 21:23:26'::timestamp) - extract(epoch from '2026-08-06 21:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036201 -3.386768)'), GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.386903)'))) / (select extract(epoch from '2026-08-06 21:23:26'::timestamp) - extract(epoch from '2026-08-06 21:23: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'), 48129, 'SRID=4674;POINT (-39.036106 -3.386978)', '2026-08-06 21:23:32', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.386903)'), GeomFromEWKT('SRID=4674;POINT (-39.036106 -3.386978)'))) / (select extract(epoch from '2026-08-06 21:23:32'::timestamp) - extract(epoch from '2026-08-06 21:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.386903)'), GeomFromEWKT('SRID=4674;POINT (-39.036106 -3.386978)'))) / (select extract(epoch from '2026-08-06 21:23:32'::timestamp) - extract(epoch from '2026-08-06 21:23: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'), 48129, 'SRID=4674;POINT (-39.036078 -3.387059)', '2026-08-06 21:23:39', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036106 -3.386978)'), GeomFromEWKT('SRID=4674;POINT (-39.036078 -3.387059)'))) / (select extract(epoch from '2026-08-06 21:23:39'::timestamp) - extract(epoch from '2026-08-06 21:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036106 -3.386978)'), GeomFromEWKT('SRID=4674;POINT (-39.036078 -3.387059)'))) / (select extract(epoch from '2026-08-06 21:23:39'::timestamp) - extract(epoch from '2026-08-06 21:23: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'), 48129, 'SRID=4674;POINT (-39.036056 -3.387138)', '2026-08-06 21:23:46', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036078 -3.387059)'), GeomFromEWKT('SRID=4674;POINT (-39.036056 -3.387138)'))) / (select extract(epoch from '2026-08-06 21:23:46'::timestamp) - extract(epoch from '2026-08-06 21:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036078 -3.387059)'), GeomFromEWKT('SRID=4674;POINT (-39.036056 -3.387138)'))) / (select extract(epoch from '2026-08-06 21:23:46'::timestamp) - extract(epoch from '2026-08-06 21:23: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'), 48129, 'SRID=4674;POINT (-39.036049 -3.38722)', '2026-08-06 21:23:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036056 -3.387138)'), GeomFromEWKT('SRID=4674;POINT (-39.036049 -3.38722)'))) / (select extract(epoch from '2026-08-06 21:23:54'::timestamp) - extract(epoch from '2026-08-06 21:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036056 -3.387138)'), GeomFromEWKT('SRID=4674;POINT (-39.036049 -3.38722)'))) / (select extract(epoch from '2026-08-06 21:23:54'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.036015 -3.387327)', '2026-08-06 21:24:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036049 -3.38722)'), GeomFromEWKT('SRID=4674;POINT (-39.036015 -3.387327)'))) / (select extract(epoch from '2026-08-06 21:24:01'::timestamp) - extract(epoch from '2026-08-06 21:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036049 -3.38722)'), GeomFromEWKT('SRID=4674;POINT (-39.036015 -3.387327)'))) / (select extract(epoch from '2026-08-06 21:24:01'::timestamp) - extract(epoch from '2026-08-06 21:23: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'), 48129, 'SRID=4674;POINT (-39.035981 -3.387424)', '2026-08-06 21:24:09', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036015 -3.387327)'), GeomFromEWKT('SRID=4674;POINT (-39.035981 -3.387424)'))) / (select extract(epoch from '2026-08-06 21:24:09'::timestamp) - extract(epoch from '2026-08-06 21:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036015 -3.387327)'), GeomFromEWKT('SRID=4674;POINT (-39.035981 -3.387424)'))) / (select extract(epoch from '2026-08-06 21:24:09'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.035963 -3.387522)', '2026-08-06 21:24:16', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035981 -3.387424)'), GeomFromEWKT('SRID=4674;POINT (-39.035963 -3.387522)'))) / (select extract(epoch from '2026-08-06 21:24:16'::timestamp) - extract(epoch from '2026-08-06 21:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035981 -3.387424)'), GeomFromEWKT('SRID=4674;POINT (-39.035963 -3.387522)'))) / (select extract(epoch from '2026-08-06 21:24:16'::timestamp) - extract(epoch from '2026-08-06 21:24: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'), 48129, 'SRID=4674;POINT (-39.03596 -3.387579)', '2026-08-06 21:24:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035963 -3.387522)'), GeomFromEWKT('SRID=4674;POINT (-39.03596 -3.387579)'))) / (select extract(epoch from '2026-08-06 21:24:23'::timestamp) - extract(epoch from '2026-08-06 21:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035963 -3.387522)'), GeomFromEWKT('SRID=4674;POINT (-39.03596 -3.387579)'))) / (select extract(epoch from '2026-08-06 21:24:23'::timestamp) - extract(epoch from '2026-08-06 21:24: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'), 48129, 'SRID=4674;POINT (-39.03594 -3.38766)', '2026-08-06 21:24:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03596 -3.387579)'), GeomFromEWKT('SRID=4674;POINT (-39.03594 -3.38766)'))) / (select extract(epoch from '2026-08-06 21:24:31'::timestamp) - extract(epoch from '2026-08-06 21:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03596 -3.387579)'), GeomFromEWKT('SRID=4674;POINT (-39.03594 -3.38766)'))) / (select extract(epoch from '2026-08-06 21:24:31'::timestamp) - extract(epoch from '2026-08-06 21:24: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'), 48129, 'SRID=4674;POINT (-39.035925 -3.387746)', '2026-08-06 21:24:38', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03594 -3.38766)'), GeomFromEWKT('SRID=4674;POINT (-39.035925 -3.387746)'))) / (select extract(epoch from '2026-08-06 21:24:38'::timestamp) - extract(epoch from '2026-08-06 21:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03594 -3.38766)'), GeomFromEWKT('SRID=4674;POINT (-39.035925 -3.387746)'))) / (select extract(epoch from '2026-08-06 21:24:38'::timestamp) - extract(epoch from '2026-08-06 21:24: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'), 48129, 'SRID=4674;POINT (-39.035898 -3.387835)', '2026-08-06 21:24:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035925 -3.387746)'), GeomFromEWKT('SRID=4674;POINT (-39.035898 -3.387835)'))) / (select extract(epoch from '2026-08-06 21:24:45'::timestamp) - extract(epoch from '2026-08-06 21:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035925 -3.387746)'), GeomFromEWKT('SRID=4674;POINT (-39.035898 -3.387835)'))) / (select extract(epoch from '2026-08-06 21:24:45'::timestamp) - extract(epoch from '2026-08-06 21:24: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'), 48129, 'SRID=4674;POINT (-39.035881 -3.387911)', '2026-08-06 21:24:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035898 -3.387835)'), GeomFromEWKT('SRID=4674;POINT (-39.035881 -3.387911)'))) / (select extract(epoch from '2026-08-06 21:24:51'::timestamp) - extract(epoch from '2026-08-06 21:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035898 -3.387835)'), GeomFromEWKT('SRID=4674;POINT (-39.035881 -3.387911)'))) / (select extract(epoch from '2026-08-06 21:24:51'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.035886 -3.387925)', '2026-08-06 21:24:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035881 -3.387911)'), GeomFromEWKT('SRID=4674;POINT (-39.035886 -3.387925)'))) / (select extract(epoch from '2026-08-06 21:24:52'::timestamp) - extract(epoch from '2026-08-06 21:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035881 -3.387911)'), GeomFromEWKT('SRID=4674;POINT (-39.035886 -3.387925)'))) / (select extract(epoch from '2026-08-06 21:24:52'::timestamp) - extract(epoch from '2026-08-06 21:24: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'), 48129, 'SRID=4674;POINT (-39.035887 -3.387938)', '2026-08-06 21:24:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035886 -3.387925)'), GeomFromEWKT('SRID=4674;POINT (-39.035887 -3.387938)'))) / (select extract(epoch from '2026-08-06 21:24:53'::timestamp) - extract(epoch from '2026-08-06 21:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035886 -3.387925)'), GeomFromEWKT('SRID=4674;POINT (-39.035887 -3.387938)'))) / (select extract(epoch from '2026-08-06 21:24:53'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.035889 -3.387977)', '2026-08-06 21:24:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035887 -3.387938)'), GeomFromEWKT('SRID=4674;POINT (-39.035889 -3.387977)'))) / (select extract(epoch from '2026-08-06 21:24:56'::timestamp) - extract(epoch from '2026-08-06 21:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035887 -3.387938)'), GeomFromEWKT('SRID=4674;POINT (-39.035889 -3.387977)'))) / (select extract(epoch from '2026-08-06 21:24:56'::timestamp) - extract(epoch from '2026-08-06 21:24: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'), 48129, 'SRID=4674;POINT (-39.035891 -3.387989)', '2026-08-06 21:24:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035889 -3.387977)'), GeomFromEWKT('SRID=4674;POINT (-39.035891 -3.387989)'))) / (select extract(epoch from '2026-08-06 21:24:57'::timestamp) - extract(epoch from '2026-08-06 21:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035889 -3.387977)'), GeomFromEWKT('SRID=4674;POINT (-39.035891 -3.387989)'))) / (select extract(epoch from '2026-08-06 21:24:57'::timestamp) - extract(epoch from '2026-08-06 21:24: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'), 48129, 'SRID=4674;POINT (-39.03589 -3.388001)', '2026-08-06 21:24:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035891 -3.387989)'), GeomFromEWKT('SRID=4674;POINT (-39.03589 -3.388001)'))) / (select extract(epoch from '2026-08-06 21:24:58'::timestamp) - extract(epoch from '2026-08-06 21:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035891 -3.387989)'), GeomFromEWKT('SRID=4674;POINT (-39.03589 -3.388001)'))) / (select extract(epoch from '2026-08-06 21:24:58'::timestamp) - extract(epoch from '2026-08-06 21:24: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'), 48129, 'SRID=4674;POINT (-39.03588 -3.388078)', '2026-08-06 21:25:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03589 -3.388001)'), GeomFromEWKT('SRID=4674;POINT (-39.03588 -3.388078)'))) / (select extract(epoch from '2026-08-06 21:25:04'::timestamp) - extract(epoch from '2026-08-06 21:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03589 -3.388001)'), GeomFromEWKT('SRID=4674;POINT (-39.03588 -3.388078)'))) / (select extract(epoch from '2026-08-06 21:25:04'::timestamp) - extract(epoch from '2026-08-06 21:24: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'), 48129, 'SRID=4674;POINT (-39.035868 -3.388122)', '2026-08-06 21:25:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03588 -3.388078)'), GeomFromEWKT('SRID=4674;POINT (-39.035868 -3.388122)'))) / (select extract(epoch from '2026-08-06 21:25:09'::timestamp) - extract(epoch from '2026-08-06 21:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03588 -3.388078)'), GeomFromEWKT('SRID=4674;POINT (-39.035868 -3.388122)'))) / (select extract(epoch from '2026-08-06 21:25:09'::timestamp) - extract(epoch from '2026-08-06 21:25: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'), 48129, 'SRID=4674;POINT (-39.035856 -3.388159)', '2026-08-06 21:25:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035868 -3.388122)'), GeomFromEWKT('SRID=4674;POINT (-39.035856 -3.388159)'))) / (select extract(epoch from '2026-08-06 21:25:12'::timestamp) - extract(epoch from '2026-08-06 21:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035868 -3.388122)'), GeomFromEWKT('SRID=4674;POINT (-39.035856 -3.388159)'))) / (select extract(epoch from '2026-08-06 21:25:12'::timestamp) - extract(epoch from '2026-08-06 21:25: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'), 48129, 'SRID=4674;POINT (-39.03584 -3.388204)', '2026-08-06 21:25:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035856 -3.388159)'), GeomFromEWKT('SRID=4674;POINT (-39.03584 -3.388204)'))) / (select extract(epoch from '2026-08-06 21:25:17'::timestamp) - extract(epoch from '2026-08-06 21:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035856 -3.388159)'), GeomFromEWKT('SRID=4674;POINT (-39.03584 -3.388204)'))) / (select extract(epoch from '2026-08-06 21:25:17'::timestamp) - extract(epoch from '2026-08-06 21:25: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'), 48129, 'SRID=4674;POINT (-39.035843 -3.388236)', '2026-08-06 21:25:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03584 -3.388204)'), GeomFromEWKT('SRID=4674;POINT (-39.035843 -3.388236)'))) / (select extract(epoch from '2026-08-06 21:25:20'::timestamp) - extract(epoch from '2026-08-06 21:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03584 -3.388204)'), GeomFromEWKT('SRID=4674;POINT (-39.035843 -3.388236)'))) / (select extract(epoch from '2026-08-06 21:25:20'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.035818 -3.388334)', '2026-08-06 21:25:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035843 -3.388236)'), GeomFromEWKT('SRID=4674;POINT (-39.035818 -3.388334)'))) / (select extract(epoch from '2026-08-06 21:25:28'::timestamp) - extract(epoch from '2026-08-06 21:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035843 -3.388236)'), GeomFromEWKT('SRID=4674;POINT (-39.035818 -3.388334)'))) / (select extract(epoch from '2026-08-06 21:25:28'::timestamp) - extract(epoch from '2026-08-06 21:25: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'), 48129, 'SRID=4674;POINT (-39.035802 -3.388437)', '2026-08-06 21:25:35', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035818 -3.388334)'), GeomFromEWKT('SRID=4674;POINT (-39.035802 -3.388437)'))) / (select extract(epoch from '2026-08-06 21:25:35'::timestamp) - extract(epoch from '2026-08-06 21:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035818 -3.388334)'), GeomFromEWKT('SRID=4674;POINT (-39.035802 -3.388437)'))) / (select extract(epoch from '2026-08-06 21:25:35'::timestamp) - extract(epoch from '2026-08-06 21:25: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'), 48129, 'SRID=4674;POINT (-39.035766 -3.388557)', '2026-08-06 21:25:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035802 -3.388437)'), GeomFromEWKT('SRID=4674;POINT (-39.035766 -3.388557)'))) / (select extract(epoch from '2026-08-06 21:25:43'::timestamp) - extract(epoch from '2026-08-06 21:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035802 -3.388437)'), GeomFromEWKT('SRID=4674;POINT (-39.035766 -3.388557)'))) / (select extract(epoch from '2026-08-06 21:25:43'::timestamp) - extract(epoch from '2026-08-06 21:25: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'), 48129, 'SRID=4674;POINT (-39.035766 -3.38857)', '2026-08-06 21:25:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035766 -3.388557)'), GeomFromEWKT('SRID=4674;POINT (-39.035766 -3.38857)'))) / (select extract(epoch from '2026-08-06 21:25:44'::timestamp) - extract(epoch from '2026-08-06 21:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035766 -3.388557)'), GeomFromEWKT('SRID=4674;POINT (-39.035766 -3.38857)'))) / (select extract(epoch from '2026-08-06 21:25:44'::timestamp) - extract(epoch from '2026-08-06 21:25: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'), 48129, 'SRID=4674;POINT (-39.035749 -3.388638)', '2026-08-06 21:25:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035766 -3.38857)'), GeomFromEWKT('SRID=4674;POINT (-39.035749 -3.388638)'))) / (select extract(epoch from '2026-08-06 21:25:48'::timestamp) - extract(epoch from '2026-08-06 21:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035766 -3.38857)'), GeomFromEWKT('SRID=4674;POINT (-39.035749 -3.388638)'))) / (select extract(epoch from '2026-08-06 21:25:48'::timestamp) - extract(epoch from '2026-08-06 21:25: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'), 48129, 'SRID=4674;POINT (-39.035735 -3.388739)', '2026-08-06 21:25:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035749 -3.388638)'), GeomFromEWKT('SRID=4674;POINT (-39.035735 -3.388739)'))) / (select extract(epoch from '2026-08-06 21:25:55'::timestamp) - extract(epoch from '2026-08-06 21:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035749 -3.388638)'), GeomFromEWKT('SRID=4674;POINT (-39.035735 -3.388739)'))) / (select extract(epoch from '2026-08-06 21:25:55'::timestamp) - extract(epoch from '2026-08-06 21:25: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'), 48129, 'SRID=4674;POINT (-39.035717 -3.388808)', '2026-08-06 21:26:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035735 -3.388739)'), GeomFromEWKT('SRID=4674;POINT (-39.035717 -3.388808)'))) / (select extract(epoch from '2026-08-06 21:26:00'::timestamp) - extract(epoch from '2026-08-06 21:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035735 -3.388739)'), GeomFromEWKT('SRID=4674;POINT (-39.035717 -3.388808)'))) / (select extract(epoch from '2026-08-06 21:26:00'::timestamp) - extract(epoch from '2026-08-06 21:25: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'), 48129, 'SRID=4674;POINT (-39.035689 -3.388903)', '2026-08-06 21:26:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035717 -3.388808)'), GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.388903)'))) / (select extract(epoch from '2026-08-06 21:26:07'::timestamp) - extract(epoch from '2026-08-06 21:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035717 -3.388808)'), GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.388903)'))) / (select extract(epoch from '2026-08-06 21:26:07'::timestamp) - extract(epoch from '2026-08-06 21:26: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'), 48129, 'SRID=4674;POINT (-39.035666 -3.389013)', '2026-08-06 21:26:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.388903)'), GeomFromEWKT('SRID=4674;POINT (-39.035666 -3.389013)'))) / (select extract(epoch from '2026-08-06 21:26:15'::timestamp) - extract(epoch from '2026-08-06 21:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.388903)'), GeomFromEWKT('SRID=4674;POINT (-39.035666 -3.389013)'))) / (select extract(epoch from '2026-08-06 21:26:15'::timestamp) - extract(epoch from '2026-08-06 21:26: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'), 48129, 'SRID=4674;POINT (-39.035637 -3.389111)', '2026-08-06 21:26:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035666 -3.389013)'), GeomFromEWKT('SRID=4674;POINT (-39.035637 -3.389111)'))) / (select extract(epoch from '2026-08-06 21:26:21'::timestamp) - extract(epoch from '2026-08-06 21:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035666 -3.389013)'), GeomFromEWKT('SRID=4674;POINT (-39.035637 -3.389111)'))) / (select extract(epoch from '2026-08-06 21:26:21'::timestamp) - extract(epoch from '2026-08-06 21:26: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'), 48129, 'SRID=4674;POINT (-39.035622 -3.389221)', '2026-08-06 21:26:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035637 -3.389111)'), GeomFromEWKT('SRID=4674;POINT (-39.035622 -3.389221)'))) / (select extract(epoch from '2026-08-06 21:26:28'::timestamp) - extract(epoch from '2026-08-06 21:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035637 -3.389111)'), GeomFromEWKT('SRID=4674;POINT (-39.035622 -3.389221)'))) / (select extract(epoch from '2026-08-06 21:26:28'::timestamp) - extract(epoch from '2026-08-06 21:26: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'), 48129, 'SRID=4674;POINT (-39.03559 -3.389368)', '2026-08-06 21:26:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035622 -3.389221)'), GeomFromEWKT('SRID=4674;POINT (-39.03559 -3.389368)'))) / (select extract(epoch from '2026-08-06 21:26:37'::timestamp) - extract(epoch from '2026-08-06 21:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035622 -3.389221)'), GeomFromEWKT('SRID=4674;POINT (-39.03559 -3.389368)'))) / (select extract(epoch from '2026-08-06 21:26:37'::timestamp) - extract(epoch from '2026-08-06 21:26: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'), 48129, 'SRID=4674;POINT (-39.035588 -3.389396)', '2026-08-06 21:26:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03559 -3.389368)'), GeomFromEWKT('SRID=4674;POINT (-39.035588 -3.389396)'))) / (select extract(epoch from '2026-08-06 21:26:39'::timestamp) - extract(epoch from '2026-08-06 21:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03559 -3.389368)'), GeomFromEWKT('SRID=4674;POINT (-39.035588 -3.389396)'))) / (select extract(epoch from '2026-08-06 21:26:39'::timestamp) - extract(epoch from '2026-08-06 21:26: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'), 48129, 'SRID=4674;POINT (-39.035566 -3.389453)', '2026-08-06 21:26:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035588 -3.389396)'), GeomFromEWKT('SRID=4674;POINT (-39.035566 -3.389453)'))) / (select extract(epoch from '2026-08-06 21:26:43'::timestamp) - extract(epoch from '2026-08-06 21:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035588 -3.389396)'), GeomFromEWKT('SRID=4674;POINT (-39.035566 -3.389453)'))) / (select extract(epoch from '2026-08-06 21:26:43'::timestamp) - extract(epoch from '2026-08-06 21:26: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'), 48129, 'SRID=4674;POINT (-39.03555 -3.389562)', '2026-08-06 21:26:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035566 -3.389453)'), GeomFromEWKT('SRID=4674;POINT (-39.03555 -3.389562)'))) / (select extract(epoch from '2026-08-06 21:26:50'::timestamp) - extract(epoch from '2026-08-06 21:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035566 -3.389453)'), GeomFromEWKT('SRID=4674;POINT (-39.03555 -3.389562)'))) / (select extract(epoch from '2026-08-06 21:26:50'::timestamp) - extract(epoch from '2026-08-06 21:26: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'), 48129, 'SRID=4674;POINT (-39.035536 -3.389671)', '2026-08-06 21:26:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03555 -3.389562)'), GeomFromEWKT('SRID=4674;POINT (-39.035536 -3.389671)'))) / (select extract(epoch from '2026-08-06 21:26:57'::timestamp) - extract(epoch from '2026-08-06 21:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03555 -3.389562)'), GeomFromEWKT('SRID=4674;POINT (-39.035536 -3.389671)'))) / (select extract(epoch from '2026-08-06 21:26:57'::timestamp) - extract(epoch from '2026-08-06 21:26: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'), 48129, 'SRID=4674;POINT (-39.035512 -3.389766)', '2026-08-06 21:27:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035536 -3.389671)'), GeomFromEWKT('SRID=4674;POINT (-39.035512 -3.389766)'))) / (select extract(epoch from '2026-08-06 21:27:04'::timestamp) - extract(epoch from '2026-08-06 21:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035536 -3.389671)'), GeomFromEWKT('SRID=4674;POINT (-39.035512 -3.389766)'))) / (select extract(epoch from '2026-08-06 21:27:04'::timestamp) - extract(epoch from '2026-08-06 21:26: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'), 48129, 'SRID=4674;POINT (-39.035499 -3.389808)', '2026-08-06 21:27:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035512 -3.389766)'), GeomFromEWKT('SRID=4674;POINT (-39.035499 -3.389808)'))) / (select extract(epoch from '2026-08-06 21:27:08'::timestamp) - extract(epoch from '2026-08-06 21:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035512 -3.389766)'), GeomFromEWKT('SRID=4674;POINT (-39.035499 -3.389808)'))) / (select extract(epoch from '2026-08-06 21:27:08'::timestamp) - extract(epoch from '2026-08-06 21:27: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'), 48129, 'SRID=4674;POINT (-39.035489 -3.389828)', '2026-08-06 21:27:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035499 -3.389808)'), GeomFromEWKT('SRID=4674;POINT (-39.035489 -3.389828)'))) / (select extract(epoch from '2026-08-06 21:27:10'::timestamp) - extract(epoch from '2026-08-06 21:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035499 -3.389808)'), GeomFromEWKT('SRID=4674;POINT (-39.035489 -3.389828)'))) / (select extract(epoch from '2026-08-06 21:27:10'::timestamp) - extract(epoch from '2026-08-06 21:27: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'), 48129, 'SRID=4674;POINT (-39.035463 -3.389934)', '2026-08-06 21:27:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035489 -3.389828)'), GeomFromEWKT('SRID=4674;POINT (-39.035463 -3.389934)'))) / (select extract(epoch from '2026-08-06 21:27:18'::timestamp) - extract(epoch from '2026-08-06 21:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035489 -3.389828)'), GeomFromEWKT('SRID=4674;POINT (-39.035463 -3.389934)'))) / (select extract(epoch from '2026-08-06 21:27:18'::timestamp) - extract(epoch from '2026-08-06 21:27: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'), 48129, 'SRID=4674;POINT (-39.035434 -3.390041)', '2026-08-06 21:27:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035463 -3.389934)'), GeomFromEWKT('SRID=4674;POINT (-39.035434 -3.390041)'))) / (select extract(epoch from '2026-08-06 21:27:25'::timestamp) - extract(epoch from '2026-08-06 21:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035463 -3.389934)'), GeomFromEWKT('SRID=4674;POINT (-39.035434 -3.390041)'))) / (select extract(epoch from '2026-08-06 21:27:25'::timestamp) - extract(epoch from '2026-08-06 21:27: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'), 48129, 'SRID=4674;POINT (-39.035415 -3.390134)', '2026-08-06 21:27:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035434 -3.390041)'), GeomFromEWKT('SRID=4674;POINT (-39.035415 -3.390134)'))) / (select extract(epoch from '2026-08-06 21:27:33'::timestamp) - extract(epoch from '2026-08-06 21:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035434 -3.390041)'), GeomFromEWKT('SRID=4674;POINT (-39.035415 -3.390134)'))) / (select extract(epoch from '2026-08-06 21:27:33'::timestamp) - extract(epoch from '2026-08-06 21:27: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'), 48129, 'SRID=4674;POINT (-39.035397 -3.390253)', '2026-08-06 21:27:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035415 -3.390134)'), GeomFromEWKT('SRID=4674;POINT (-39.035397 -3.390253)'))) / (select extract(epoch from '2026-08-06 21:27:41'::timestamp) - extract(epoch from '2026-08-06 21:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035415 -3.390134)'), GeomFromEWKT('SRID=4674;POINT (-39.035397 -3.390253)'))) / (select extract(epoch from '2026-08-06 21:27:41'::timestamp) - extract(epoch from '2026-08-06 21:27: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'), 48129, 'SRID=4674;POINT (-39.035359 -3.390351)', '2026-08-06 21:27:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035397 -3.390253)'), GeomFromEWKT('SRID=4674;POINT (-39.035359 -3.390351)'))) / (select extract(epoch from '2026-08-06 21:27:49'::timestamp) - extract(epoch from '2026-08-06 21:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035397 -3.390253)'), GeomFromEWKT('SRID=4674;POINT (-39.035359 -3.390351)'))) / (select extract(epoch from '2026-08-06 21:27:49'::timestamp) - extract(epoch from '2026-08-06 21:27: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'), 48129, 'SRID=4674;POINT (-39.035357 -3.39044)', '2026-08-06 21:27:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035359 -3.390351)'), GeomFromEWKT('SRID=4674;POINT (-39.035357 -3.39044)'))) / (select extract(epoch from '2026-08-06 21:27:56'::timestamp) - extract(epoch from '2026-08-06 21:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035359 -3.390351)'), GeomFromEWKT('SRID=4674;POINT (-39.035357 -3.39044)'))) / (select extract(epoch from '2026-08-06 21:27:56'::timestamp) - extract(epoch from '2026-08-06 21:27: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'), 48129, 'SRID=4674;POINT (-39.035352 -3.390533)', '2026-08-06 21:28:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035357 -3.39044)'), GeomFromEWKT('SRID=4674;POINT (-39.035352 -3.390533)'))) / (select extract(epoch from '2026-08-06 21:28:02'::timestamp) - extract(epoch from '2026-08-06 21:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035357 -3.39044)'), GeomFromEWKT('SRID=4674;POINT (-39.035352 -3.390533)'))) / (select extract(epoch from '2026-08-06 21:28:02'::timestamp) - extract(epoch from '2026-08-06 21:27: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'), 48129, 'SRID=4674;POINT (-39.035338 -3.390626)', '2026-08-06 21:28:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035352 -3.390533)'), GeomFromEWKT('SRID=4674;POINT (-39.035338 -3.390626)'))) / (select extract(epoch from '2026-08-06 21:28:10'::timestamp) - extract(epoch from '2026-08-06 21:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035352 -3.390533)'), GeomFromEWKT('SRID=4674;POINT (-39.035338 -3.390626)'))) / (select extract(epoch from '2026-08-06 21:28:10'::timestamp) - extract(epoch from '2026-08-06 21:28: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'), 48129, 'SRID=4674;POINT (-39.035333 -3.390724)', '2026-08-06 21:28:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035338 -3.390626)'), GeomFromEWKT('SRID=4674;POINT (-39.035333 -3.390724)'))) / (select extract(epoch from '2026-08-06 21:28:17'::timestamp) - extract(epoch from '2026-08-06 21:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035338 -3.390626)'), GeomFromEWKT('SRID=4674;POINT (-39.035333 -3.390724)'))) / (select extract(epoch from '2026-08-06 21:28:17'::timestamp) - extract(epoch from '2026-08-06 21:28: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'), 48129, 'SRID=4674;POINT (-39.035343 -3.390825)', '2026-08-06 21:28:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035333 -3.390724)'), GeomFromEWKT('SRID=4674;POINT (-39.035343 -3.390825)'))) / (select extract(epoch from '2026-08-06 21:28:24'::timestamp) - extract(epoch from '2026-08-06 21:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035333 -3.390724)'), GeomFromEWKT('SRID=4674;POINT (-39.035343 -3.390825)'))) / (select extract(epoch from '2026-08-06 21:28:24'::timestamp) - extract(epoch from '2026-08-06 21:28: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'), 48129, 'SRID=4674;POINT (-39.035334 -3.390855)', '2026-08-06 21:28:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035343 -3.390825)'), GeomFromEWKT('SRID=4674;POINT (-39.035334 -3.390855)'))) / (select extract(epoch from '2026-08-06 21:28:26'::timestamp) - extract(epoch from '2026-08-06 21:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035343 -3.390825)'), GeomFromEWKT('SRID=4674;POINT (-39.035334 -3.390855)'))) / (select extract(epoch from '2026-08-06 21:28:26'::timestamp) - extract(epoch from '2026-08-06 21:28: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'), 48129, 'SRID=4674;POINT (-39.035322 -3.390889)', '2026-08-06 21:28:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035334 -3.390855)'), GeomFromEWKT('SRID=4674;POINT (-39.035322 -3.390889)'))) / (select extract(epoch from '2026-08-06 21:28:29'::timestamp) - extract(epoch from '2026-08-06 21:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035334 -3.390855)'), GeomFromEWKT('SRID=4674;POINT (-39.035322 -3.390889)'))) / (select extract(epoch from '2026-08-06 21:28:29'::timestamp) - extract(epoch from '2026-08-06 21:28: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'), 48129, 'SRID=4674;POINT (-39.035316 -3.390957)', '2026-08-06 21:28:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035322 -3.390889)'), GeomFromEWKT('SRID=4674;POINT (-39.035316 -3.390957)'))) / (select extract(epoch from '2026-08-06 21:28:36'::timestamp) - extract(epoch from '2026-08-06 21:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035322 -3.390889)'), GeomFromEWKT('SRID=4674;POINT (-39.035316 -3.390957)'))) / (select extract(epoch from '2026-08-06 21:28:36'::timestamp) - extract(epoch from '2026-08-06 21:28: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'), 48129, 'SRID=4674;POINT (-39.03531 -3.390969)', '2026-08-06 21:28:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035316 -3.390957)'), GeomFromEWKT('SRID=4674;POINT (-39.03531 -3.390969)'))) / (select extract(epoch from '2026-08-06 21:28:37'::timestamp) - extract(epoch from '2026-08-06 21:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035316 -3.390957)'), GeomFromEWKT('SRID=4674;POINT (-39.03531 -3.390969)'))) / (select extract(epoch from '2026-08-06 21:28:37'::timestamp) - extract(epoch from '2026-08-06 21:28: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'), 48129, 'SRID=4674;POINT (-39.035284 -3.391034)', '2026-08-06 21:28:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03531 -3.390969)'), GeomFromEWKT('SRID=4674;POINT (-39.035284 -3.391034)'))) / (select extract(epoch from '2026-08-06 21:28:42'::timestamp) - extract(epoch from '2026-08-06 21:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03531 -3.390969)'), GeomFromEWKT('SRID=4674;POINT (-39.035284 -3.391034)'))) / (select extract(epoch from '2026-08-06 21:28:42'::timestamp) - extract(epoch from '2026-08-06 21:28: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'), 48129, 'SRID=4674;POINT (-39.035244 -3.391113)', '2026-08-06 21:28:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035284 -3.391034)'), GeomFromEWKT('SRID=4674;POINT (-39.035244 -3.391113)'))) / (select extract(epoch from '2026-08-06 21:28:48'::timestamp) - extract(epoch from '2026-08-06 21:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035284 -3.391034)'), GeomFromEWKT('SRID=4674;POINT (-39.035244 -3.391113)'))) / (select extract(epoch from '2026-08-06 21:28:48'::timestamp) - extract(epoch from '2026-08-06 21:28: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'), 48129, 'SRID=4674;POINT (-39.035217 -3.391217)', '2026-08-06 21:28:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035244 -3.391113)'), GeomFromEWKT('SRID=4674;POINT (-39.035217 -3.391217)'))) / (select extract(epoch from '2026-08-06 21:28:55'::timestamp) - extract(epoch from '2026-08-06 21:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035244 -3.391113)'), GeomFromEWKT('SRID=4674;POINT (-39.035217 -3.391217)'))) / (select extract(epoch from '2026-08-06 21:28:55'::timestamp) - extract(epoch from '2026-08-06 21:28: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'), 48129, 'SRID=4674;POINT (-39.035179 -3.391329)', '2026-08-06 21:29:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035217 -3.391217)'), GeomFromEWKT('SRID=4674;POINT (-39.035179 -3.391329)'))) / (select extract(epoch from '2026-08-06 21:29:03'::timestamp) - extract(epoch from '2026-08-06 21:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035217 -3.391217)'), GeomFromEWKT('SRID=4674;POINT (-39.035179 -3.391329)'))) / (select extract(epoch from '2026-08-06 21:29:03'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.035168 -3.391407)', '2026-08-06 21:29:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035179 -3.391329)'), GeomFromEWKT('SRID=4674;POINT (-39.035168 -3.391407)'))) / (select extract(epoch from '2026-08-06 21:29:10'::timestamp) - extract(epoch from '2026-08-06 21:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035179 -3.391329)'), GeomFromEWKT('SRID=4674;POINT (-39.035168 -3.391407)'))) / (select extract(epoch from '2026-08-06 21:29:10'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.035167 -3.391431)', '2026-08-06 21:29:12', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035168 -3.391407)'), GeomFromEWKT('SRID=4674;POINT (-39.035167 -3.391431)'))) / (select extract(epoch from '2026-08-06 21:29:12'::timestamp) - extract(epoch from '2026-08-06 21:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035168 -3.391407)'), GeomFromEWKT('SRID=4674;POINT (-39.035167 -3.391431)'))) / (select extract(epoch from '2026-08-06 21:29:12'::timestamp) - extract(epoch from '2026-08-06 21:29: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'), 48129, 'SRID=4674;POINT (-39.035165 -3.391473)', '2026-08-06 21:29:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035167 -3.391431)'), GeomFromEWKT('SRID=4674;POINT (-39.035165 -3.391473)'))) / (select extract(epoch from '2026-08-06 21:29:15'::timestamp) - extract(epoch from '2026-08-06 21:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035167 -3.391431)'), GeomFromEWKT('SRID=4674;POINT (-39.035165 -3.391473)'))) / (select extract(epoch from '2026-08-06 21:29:15'::timestamp) - extract(epoch from '2026-08-06 21:29: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'), 48129, 'SRID=4674;POINT (-39.035161 -3.391575)', '2026-08-06 21:29:23', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035165 -3.391473)'), GeomFromEWKT('SRID=4674;POINT (-39.035161 -3.391575)'))) / (select extract(epoch from '2026-08-06 21:29:23'::timestamp) - extract(epoch from '2026-08-06 21:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035165 -3.391473)'), GeomFromEWKT('SRID=4674;POINT (-39.035161 -3.391575)'))) / (select extract(epoch from '2026-08-06 21:29:23'::timestamp) - extract(epoch from '2026-08-06 21:29: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'), 48129, 'SRID=4674;POINT (-39.035126 -3.391697)', '2026-08-06 21:29:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035161 -3.391575)'), GeomFromEWKT('SRID=4674;POINT (-39.035126 -3.391697)'))) / (select extract(epoch from '2026-08-06 21:29:31'::timestamp) - extract(epoch from '2026-08-06 21:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035161 -3.391575)'), GeomFromEWKT('SRID=4674;POINT (-39.035126 -3.391697)'))) / (select extract(epoch from '2026-08-06 21:29:31'::timestamp) - extract(epoch from '2026-08-06 21:29: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'), 48129, 'SRID=4674;POINT (-39.035099 -3.391851)', '2026-08-06 21:29:41', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035126 -3.391697)'), GeomFromEWKT('SRID=4674;POINT (-39.035099 -3.391851)'))) / (select extract(epoch from '2026-08-06 21:29:41'::timestamp) - extract(epoch from '2026-08-06 21:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035126 -3.391697)'), GeomFromEWKT('SRID=4674;POINT (-39.035099 -3.391851)'))) / (select extract(epoch from '2026-08-06 21:29:41'::timestamp) - extract(epoch from '2026-08-06 21:29: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'), 48129, 'SRID=4674;POINT (-39.035077 -3.391954)', '2026-08-06 21:29:47', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035099 -3.391851)'), GeomFromEWKT('SRID=4674;POINT (-39.035077 -3.391954)'))) / (select extract(epoch from '2026-08-06 21:29:47'::timestamp) - extract(epoch from '2026-08-06 21:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035099 -3.391851)'), GeomFromEWKT('SRID=4674;POINT (-39.035077 -3.391954)'))) / (select extract(epoch from '2026-08-06 21:29:47'::timestamp) - extract(epoch from '2026-08-06 21:29: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'), 48129, 'SRID=4674;POINT (-39.035064 -3.392071)', '2026-08-06 21:29:55', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035077 -3.391954)'), GeomFromEWKT('SRID=4674;POINT (-39.035064 -3.392071)'))) / (select extract(epoch from '2026-08-06 21:29:55'::timestamp) - extract(epoch from '2026-08-06 21:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035077 -3.391954)'), GeomFromEWKT('SRID=4674;POINT (-39.035064 -3.392071)'))) / (select extract(epoch from '2026-08-06 21:29:55'::timestamp) - extract(epoch from '2026-08-06 21:29: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'), 48129, 'SRID=4674;POINT (-39.03502 -3.392183)', '2026-08-06 21:30:03', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035064 -3.392071)'), GeomFromEWKT('SRID=4674;POINT (-39.03502 -3.392183)'))) / (select extract(epoch from '2026-08-06 21:30:03'::timestamp) - extract(epoch from '2026-08-06 21:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035064 -3.392071)'), GeomFromEWKT('SRID=4674;POINT (-39.03502 -3.392183)'))) / (select extract(epoch from '2026-08-06 21:30:03'::timestamp) - extract(epoch from '2026-08-06 21:29: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'), 48129, 'SRID=4674;POINT (-39.034988 -3.392265)', '2026-08-06 21:30:09', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03502 -3.392183)'), GeomFromEWKT('SRID=4674;POINT (-39.034988 -3.392265)'))) / (select extract(epoch from '2026-08-06 21:30:09'::timestamp) - extract(epoch from '2026-08-06 21:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03502 -3.392183)'), GeomFromEWKT('SRID=4674;POINT (-39.034988 -3.392265)'))) / (select extract(epoch from '2026-08-06 21:30:09'::timestamp) - extract(epoch from '2026-08-06 21:30: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'), 48129, 'SRID=4674;POINT (-39.034933 -3.392362)', '2026-08-06 21:30:16', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034988 -3.392265)'), GeomFromEWKT('SRID=4674;POINT (-39.034933 -3.392362)'))) / (select extract(epoch from '2026-08-06 21:30:16'::timestamp) - extract(epoch from '2026-08-06 21:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034988 -3.392265)'), GeomFromEWKT('SRID=4674;POINT (-39.034933 -3.392362)'))) / (select extract(epoch from '2026-08-06 21:30:16'::timestamp) - extract(epoch from '2026-08-06 21:30: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'), 48129, 'SRID=4674;POINT (-39.034934 -3.392462)', '2026-08-06 21:30:24', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034933 -3.392362)'), GeomFromEWKT('SRID=4674;POINT (-39.034934 -3.392462)'))) / (select extract(epoch from '2026-08-06 21:30:24'::timestamp) - extract(epoch from '2026-08-06 21:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034933 -3.392362)'), GeomFromEWKT('SRID=4674;POINT (-39.034934 -3.392462)'))) / (select extract(epoch from '2026-08-06 21:30:24'::timestamp) - extract(epoch from '2026-08-06 21:30: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'), 48129, 'SRID=4674;POINT (-39.034915 -3.392581)', '2026-08-06 21:30:31', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034934 -3.392462)'), GeomFromEWKT('SRID=4674;POINT (-39.034915 -3.392581)'))) / (select extract(epoch from '2026-08-06 21:30:31'::timestamp) - extract(epoch from '2026-08-06 21:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034934 -3.392462)'), GeomFromEWKT('SRID=4674;POINT (-39.034915 -3.392581)'))) / (select extract(epoch from '2026-08-06 21:30:31'::timestamp) - extract(epoch from '2026-08-06 21:30: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'), 48129, 'SRID=4674;POINT (-39.034887 -3.392699)', '2026-08-06 21:30:38', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034915 -3.392581)'), GeomFromEWKT('SRID=4674;POINT (-39.034887 -3.392699)'))) / (select extract(epoch from '2026-08-06 21:30:38'::timestamp) - extract(epoch from '2026-08-06 21:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034915 -3.392581)'), GeomFromEWKT('SRID=4674;POINT (-39.034887 -3.392699)'))) / (select extract(epoch from '2026-08-06 21:30:38'::timestamp) - extract(epoch from '2026-08-06 21:30: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'), 48129, 'SRID=4674;POINT (-39.034846 -3.392831)', '2026-08-06 21:30:47', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034887 -3.392699)'), GeomFromEWKT('SRID=4674;POINT (-39.034846 -3.392831)'))) / (select extract(epoch from '2026-08-06 21:30:47'::timestamp) - extract(epoch from '2026-08-06 21:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034887 -3.392699)'), GeomFromEWKT('SRID=4674;POINT (-39.034846 -3.392831)'))) / (select extract(epoch from '2026-08-06 21:30:47'::timestamp) - extract(epoch from '2026-08-06 21:30: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'), 48129, 'SRID=4674;POINT (-39.034818 -3.392946)', '2026-08-06 21:30:56', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034846 -3.392831)'), GeomFromEWKT('SRID=4674;POINT (-39.034818 -3.392946)'))) / (select extract(epoch from '2026-08-06 21:30:56'::timestamp) - extract(epoch from '2026-08-06 21:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034846 -3.392831)'), GeomFromEWKT('SRID=4674;POINT (-39.034818 -3.392946)'))) / (select extract(epoch from '2026-08-06 21:30:56'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.034779 -3.393072)', '2026-08-06 21:31:04', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034818 -3.392946)'), GeomFromEWKT('SRID=4674;POINT (-39.034779 -3.393072)'))) / (select extract(epoch from '2026-08-06 21:31:04'::timestamp) - extract(epoch from '2026-08-06 21:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034818 -3.392946)'), GeomFromEWKT('SRID=4674;POINT (-39.034779 -3.393072)'))) / (select extract(epoch from '2026-08-06 21:31:04'::timestamp) - extract(epoch from '2026-08-06 21:30: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'), 48129, 'SRID=4674;POINT (-39.03473 -3.393208)', '2026-08-06 21:31:13', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034779 -3.393072)'), GeomFromEWKT('SRID=4674;POINT (-39.03473 -3.393208)'))) / (select extract(epoch from '2026-08-06 21:31:13'::timestamp) - extract(epoch from '2026-08-06 21:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034779 -3.393072)'), GeomFromEWKT('SRID=4674;POINT (-39.03473 -3.393208)'))) / (select extract(epoch from '2026-08-06 21:31:13'::timestamp) - extract(epoch from '2026-08-06 21:31: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'), 48129, 'SRID=4674;POINT (-39.03473 -3.393299)', '2026-08-06 21:31:22', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03473 -3.393208)'), GeomFromEWKT('SRID=4674;POINT (-39.03473 -3.393299)'))) / (select extract(epoch from '2026-08-06 21:31:22'::timestamp) - extract(epoch from '2026-08-06 21:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03473 -3.393208)'), GeomFromEWKT('SRID=4674;POINT (-39.03473 -3.393299)'))) / (select extract(epoch from '2026-08-06 21:31:22'::timestamp) - extract(epoch from '2026-08-06 21:31: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'), 48129, 'SRID=4674;POINT (-39.034728 -3.393426)', '2026-08-06 21:31:31', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03473 -3.393299)'), GeomFromEWKT('SRID=4674;POINT (-39.034728 -3.393426)'))) / (select extract(epoch from '2026-08-06 21:31:31'::timestamp) - extract(epoch from '2026-08-06 21:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03473 -3.393299)'), GeomFromEWKT('SRID=4674;POINT (-39.034728 -3.393426)'))) / (select extract(epoch from '2026-08-06 21:31:31'::timestamp) - extract(epoch from '2026-08-06 21:31: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'), 48129, 'SRID=4674;POINT (-39.034713 -3.393496)', '2026-08-06 21:31:36', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034728 -3.393426)'), GeomFromEWKT('SRID=4674;POINT (-39.034713 -3.393496)'))) / (select extract(epoch from '2026-08-06 21:31:36'::timestamp) - extract(epoch from '2026-08-06 21:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034728 -3.393426)'), GeomFromEWKT('SRID=4674;POINT (-39.034713 -3.393496)'))) / (select extract(epoch from '2026-08-06 21:31:36'::timestamp) - extract(epoch from '2026-08-06 21:31: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'), 48129, 'SRID=4674;POINT (-39.034706 -3.393528)', '2026-08-06 21:31:38', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034713 -3.393496)'), GeomFromEWKT('SRID=4674;POINT (-39.034706 -3.393528)'))) / (select extract(epoch from '2026-08-06 21:31:38'::timestamp) - extract(epoch from '2026-08-06 21:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034713 -3.393496)'), GeomFromEWKT('SRID=4674;POINT (-39.034706 -3.393528)'))) / (select extract(epoch from '2026-08-06 21:31:38'::timestamp) - extract(epoch from '2026-08-06 21:31: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'), 48129, 'SRID=4674;POINT (-39.034696 -3.393623)', '2026-08-06 21:31:45', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034706 -3.393528)'), GeomFromEWKT('SRID=4674;POINT (-39.034696 -3.393623)'))) / (select extract(epoch from '2026-08-06 21:31:45'::timestamp) - extract(epoch from '2026-08-06 21:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034706 -3.393528)'), GeomFromEWKT('SRID=4674;POINT (-39.034696 -3.393623)'))) / (select extract(epoch from '2026-08-06 21:31:45'::timestamp) - extract(epoch from '2026-08-06 21:31: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'), 48129, 'SRID=4674;POINT (-39.034686 -3.393718)', '2026-08-06 21:31:52', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034696 -3.393623)'), GeomFromEWKT('SRID=4674;POINT (-39.034686 -3.393718)'))) / (select extract(epoch from '2026-08-06 21:31:52'::timestamp) - extract(epoch from '2026-08-06 21:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034696 -3.393623)'), GeomFromEWKT('SRID=4674;POINT (-39.034686 -3.393718)'))) / (select extract(epoch from '2026-08-06 21:31:52'::timestamp) - extract(epoch from '2026-08-06 21:31: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'), 48129, 'SRID=4674;POINT (-39.034661 -3.393838)', '2026-08-06 21:32:01', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034686 -3.393718)'), GeomFromEWKT('SRID=4674;POINT (-39.034661 -3.393838)'))) / (select extract(epoch from '2026-08-06 21:32:01'::timestamp) - extract(epoch from '2026-08-06 21:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034686 -3.393718)'), GeomFromEWKT('SRID=4674;POINT (-39.034661 -3.393838)'))) / (select extract(epoch from '2026-08-06 21:32:01'::timestamp) - extract(epoch from '2026-08-06 21:31: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'), 48129, 'SRID=4674;POINT (-39.034654 -3.39389)', '2026-08-06 21:32:05', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034661 -3.393838)'), GeomFromEWKT('SRID=4674;POINT (-39.034654 -3.39389)'))) / (select extract(epoch from '2026-08-06 21:32:05'::timestamp) - extract(epoch from '2026-08-06 21:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034661 -3.393838)'), GeomFromEWKT('SRID=4674;POINT (-39.034654 -3.39389)'))) / (select extract(epoch from '2026-08-06 21:32:05'::timestamp) - extract(epoch from '2026-08-06 21:32: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'), 48129, 'SRID=4674;POINT (-39.034646 -3.393916)', '2026-08-06 21:32:07', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034654 -3.39389)'), GeomFromEWKT('SRID=4674;POINT (-39.034646 -3.393916)'))) / (select extract(epoch from '2026-08-06 21:32:07'::timestamp) - extract(epoch from '2026-08-06 21:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034654 -3.39389)'), GeomFromEWKT('SRID=4674;POINT (-39.034646 -3.393916)'))) / (select extract(epoch from '2026-08-06 21:32:07'::timestamp) - extract(epoch from '2026-08-06 21:32: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'), 48129, 'SRID=4674;POINT (-39.034639 -3.394059)', '2026-08-06 21:32:15', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034646 -3.393916)'), GeomFromEWKT('SRID=4674;POINT (-39.034639 -3.394059)'))) / (select extract(epoch from '2026-08-06 21:32:15'::timestamp) - extract(epoch from '2026-08-06 21:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034646 -3.393916)'), GeomFromEWKT('SRID=4674;POINT (-39.034639 -3.394059)'))) / (select extract(epoch from '2026-08-06 21:32:15'::timestamp) - extract(epoch from '2026-08-06 21:32: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'), 48129, 'SRID=4674;POINT (-39.034629 -3.394147)', '2026-08-06 21:32:22', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034639 -3.394059)'), GeomFromEWKT('SRID=4674;POINT (-39.034629 -3.394147)'))) / (select extract(epoch from '2026-08-06 21:32:22'::timestamp) - extract(epoch from '2026-08-06 21:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034639 -3.394059)'), GeomFromEWKT('SRID=4674;POINT (-39.034629 -3.394147)'))) / (select extract(epoch from '2026-08-06 21:32:22'::timestamp) - extract(epoch from '2026-08-06 21:32: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'), 48129, 'SRID=4674;POINT (-39.034597 -3.394257)', '2026-08-06 21:32:29', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034629 -3.394147)'), GeomFromEWKT('SRID=4674;POINT (-39.034597 -3.394257)'))) / (select extract(epoch from '2026-08-06 21:32:29'::timestamp) - extract(epoch from '2026-08-06 21:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034629 -3.394147)'), GeomFromEWKT('SRID=4674;POINT (-39.034597 -3.394257)'))) / (select extract(epoch from '2026-08-06 21:32:29'::timestamp) - extract(epoch from '2026-08-06 21:32: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'), 48129, 'SRID=4674;POINT (-39.034589 -3.394377)', '2026-08-06 21:32:37', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034597 -3.394257)'), GeomFromEWKT('SRID=4674;POINT (-39.034589 -3.394377)'))) / (select extract(epoch from '2026-08-06 21:32:37'::timestamp) - extract(epoch from '2026-08-06 21:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034597 -3.394257)'), GeomFromEWKT('SRID=4674;POINT (-39.034589 -3.394377)'))) / (select extract(epoch from '2026-08-06 21:32:37'::timestamp) - extract(epoch from '2026-08-06 21:32: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'), 48129, 'SRID=4674;POINT (-39.034554 -3.394532)', '2026-08-06 21:32:46', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034589 -3.394377)'), GeomFromEWKT('SRID=4674;POINT (-39.034554 -3.394532)'))) / (select extract(epoch from '2026-08-06 21:32:46'::timestamp) - extract(epoch from '2026-08-06 21:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034589 -3.394377)'), GeomFromEWKT('SRID=4674;POINT (-39.034554 -3.394532)'))) / (select extract(epoch from '2026-08-06 21:32:46'::timestamp) - extract(epoch from '2026-08-06 21:32: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'), 48129, 'SRID=4674;POINT (-39.034521 -3.394625)', '2026-08-06 21:32:54', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034554 -3.394532)'), GeomFromEWKT('SRID=4674;POINT (-39.034521 -3.394625)'))) / (select extract(epoch from '2026-08-06 21:32:54'::timestamp) - extract(epoch from '2026-08-06 21:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034554 -3.394532)'), GeomFromEWKT('SRID=4674;POINT (-39.034521 -3.394625)'))) / (select extract(epoch from '2026-08-06 21:32:54'::timestamp) - extract(epoch from '2026-08-06 21:32: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'), 48129, 'SRID=4674;POINT (-39.034502 -3.394709)', '2026-08-06 21:33:01', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034521 -3.394625)'), GeomFromEWKT('SRID=4674;POINT (-39.034502 -3.394709)'))) / (select extract(epoch from '2026-08-06 21:33:01'::timestamp) - extract(epoch from '2026-08-06 21:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034521 -3.394625)'), GeomFromEWKT('SRID=4674;POINT (-39.034502 -3.394709)'))) / (select extract(epoch from '2026-08-06 21:33:01'::timestamp) - extract(epoch from '2026-08-06 21:32: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'), 48129, 'SRID=4674;POINT (-39.034502 -3.394795)', '2026-08-06 21:33:08', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034502 -3.394709)'), GeomFromEWKT('SRID=4674;POINT (-39.034502 -3.394795)'))) / (select extract(epoch from '2026-08-06 21:33:08'::timestamp) - extract(epoch from '2026-08-06 21:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034502 -3.394709)'), GeomFromEWKT('SRID=4674;POINT (-39.034502 -3.394795)'))) / (select extract(epoch from '2026-08-06 21:33:08'::timestamp) - extract(epoch from '2026-08-06 21:33: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'), 48129, 'SRID=4674;POINT (-39.034529 -3.394919)', '2026-08-06 21:33:16', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034502 -3.394795)'), GeomFromEWKT('SRID=4674;POINT (-39.034529 -3.394919)'))) / (select extract(epoch from '2026-08-06 21:33:16'::timestamp) - extract(epoch from '2026-08-06 21:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034502 -3.394795)'), GeomFromEWKT('SRID=4674;POINT (-39.034529 -3.394919)'))) / (select extract(epoch from '2026-08-06 21:33:16'::timestamp) - extract(epoch from '2026-08-06 21:33: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'), 48129, 'SRID=4674;POINT (-39.034533 -3.395025)', '2026-08-06 21:33:24', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034529 -3.394919)'), GeomFromEWKT('SRID=4674;POINT (-39.034533 -3.395025)'))) / (select extract(epoch from '2026-08-06 21:33:24'::timestamp) - extract(epoch from '2026-08-06 21:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034529 -3.394919)'), GeomFromEWKT('SRID=4674;POINT (-39.034533 -3.395025)'))) / (select extract(epoch from '2026-08-06 21:33:24'::timestamp) - extract(epoch from '2026-08-06 21:33: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'), 48129, 'SRID=4674;POINT (-39.034537 -3.395096)', '2026-08-06 21:33:30', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034533 -3.395025)'), GeomFromEWKT('SRID=4674;POINT (-39.034537 -3.395096)'))) / (select extract(epoch from '2026-08-06 21:33:30'::timestamp) - extract(epoch from '2026-08-06 21:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034533 -3.395025)'), GeomFromEWKT('SRID=4674;POINT (-39.034537 -3.395096)'))) / (select extract(epoch from '2026-08-06 21:33:30'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.034531 -3.395109)', '2026-08-06 21:33:31', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034537 -3.395096)'), GeomFromEWKT('SRID=4674;POINT (-39.034531 -3.395109)'))) / (select extract(epoch from '2026-08-06 21:33:31'::timestamp) - extract(epoch from '2026-08-06 21:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034537 -3.395096)'), GeomFromEWKT('SRID=4674;POINT (-39.034531 -3.395109)'))) / (select extract(epoch from '2026-08-06 21:33:31'::timestamp) - extract(epoch from '2026-08-06 21:33: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'), 48129, 'SRID=4674;POINT (-39.034518 -3.395202)', '2026-08-06 21:33:38', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034531 -3.395109)'), GeomFromEWKT('SRID=4674;POINT (-39.034518 -3.395202)'))) / (select extract(epoch from '2026-08-06 21:33:38'::timestamp) - extract(epoch from '2026-08-06 21:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034531 -3.395109)'), GeomFromEWKT('SRID=4674;POINT (-39.034518 -3.395202)'))) / (select extract(epoch from '2026-08-06 21:33:38'::timestamp) - extract(epoch from '2026-08-06 21:33: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'), 48129, 'SRID=4674;POINT (-39.034485 -3.395283)', '2026-08-06 21:33:44', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034518 -3.395202)'), GeomFromEWKT('SRID=4674;POINT (-39.034485 -3.395283)'))) / (select extract(epoch from '2026-08-06 21:33:44'::timestamp) - extract(epoch from '2026-08-06 21:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034518 -3.395202)'), GeomFromEWKT('SRID=4674;POINT (-39.034485 -3.395283)'))) / (select extract(epoch from '2026-08-06 21:33:44'::timestamp) - extract(epoch from '2026-08-06 21:33: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'), 48129, 'SRID=4674;POINT (-39.03444 -3.395378)', '2026-08-06 21:33:51', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034485 -3.395283)'), GeomFromEWKT('SRID=4674;POINT (-39.03444 -3.395378)'))) / (select extract(epoch from '2026-08-06 21:33:51'::timestamp) - extract(epoch from '2026-08-06 21:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034485 -3.395283)'), GeomFromEWKT('SRID=4674;POINT (-39.03444 -3.395378)'))) / (select extract(epoch from '2026-08-06 21:33:51'::timestamp) - extract(epoch from '2026-08-06 21:33: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'), 48129, 'SRID=4674;POINT (-39.03445 -3.395407)', '2026-08-06 21:33:54', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03444 -3.395378)'), GeomFromEWKT('SRID=4674;POINT (-39.03445 -3.395407)'))) / (select extract(epoch from '2026-08-06 21:33:54'::timestamp) - extract(epoch from '2026-08-06 21:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03444 -3.395378)'), GeomFromEWKT('SRID=4674;POINT (-39.03445 -3.395407)'))) / (select extract(epoch from '2026-08-06 21:33:54'::timestamp) - extract(epoch from '2026-08-06 21:33: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'), 48129, 'SRID=4674;POINT (-39.034457 -3.395454)', '2026-08-06 21:33:58', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03445 -3.395407)'), GeomFromEWKT('SRID=4674;POINT (-39.034457 -3.395454)'))) / (select extract(epoch from '2026-08-06 21:33:58'::timestamp) - extract(epoch from '2026-08-06 21:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03445 -3.395407)'), GeomFromEWKT('SRID=4674;POINT (-39.034457 -3.395454)'))) / (select extract(epoch from '2026-08-06 21:33:58'::timestamp) - extract(epoch from '2026-08-06 21:33: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'), 48129, 'SRID=4674;POINT (-39.034454 -3.395523)', '2026-08-06 21:34:05', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034457 -3.395454)'), GeomFromEWKT('SRID=4674;POINT (-39.034454 -3.395523)'))) / (select extract(epoch from '2026-08-06 21:34:05'::timestamp) - extract(epoch from '2026-08-06 21:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034457 -3.395454)'), GeomFromEWKT('SRID=4674;POINT (-39.034454 -3.395523)'))) / (select extract(epoch from '2026-08-06 21:34:05'::timestamp) - extract(epoch from '2026-08-06 21:33: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'), 48129, 'SRID=4674;POINT (-39.034444 -3.395625)', '2026-08-06 21:34:14', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034454 -3.395523)'), GeomFromEWKT('SRID=4674;POINT (-39.034444 -3.395625)'))) / (select extract(epoch from '2026-08-06 21:34:14'::timestamp) - extract(epoch from '2026-08-06 21:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034454 -3.395523)'), GeomFromEWKT('SRID=4674;POINT (-39.034444 -3.395625)'))) / (select extract(epoch from '2026-08-06 21:34:14'::timestamp) - extract(epoch from '2026-08-06 21:34: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'), 48129, 'SRID=4674;POINT (-39.034408 -3.395722)', '2026-08-06 21:34:21', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034444 -3.395625)'), GeomFromEWKT('SRID=4674;POINT (-39.034408 -3.395722)'))) / (select extract(epoch from '2026-08-06 21:34:21'::timestamp) - extract(epoch from '2026-08-06 21:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034444 -3.395625)'), GeomFromEWKT('SRID=4674;POINT (-39.034408 -3.395722)'))) / (select extract(epoch from '2026-08-06 21:34:21'::timestamp) - extract(epoch from '2026-08-06 21:34: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'), 48129, 'SRID=4674;POINT (-39.034386 -3.395811)', '2026-08-06 21:34:27', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034408 -3.395722)'), GeomFromEWKT('SRID=4674;POINT (-39.034386 -3.395811)'))) / (select extract(epoch from '2026-08-06 21:34:27'::timestamp) - extract(epoch from '2026-08-06 21:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034408 -3.395722)'), GeomFromEWKT('SRID=4674;POINT (-39.034386 -3.395811)'))) / (select extract(epoch from '2026-08-06 21:34:27'::timestamp) - extract(epoch from '2026-08-06 21:34: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'), 48129, 'SRID=4674;POINT (-39.034372 -3.39591)', '2026-08-06 21:34:33', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034386 -3.395811)'), GeomFromEWKT('SRID=4674;POINT (-39.034372 -3.39591)'))) / (select extract(epoch from '2026-08-06 21:34:33'::timestamp) - extract(epoch from '2026-08-06 21:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034386 -3.395811)'), GeomFromEWKT('SRID=4674;POINT (-39.034372 -3.39591)'))) / (select extract(epoch from '2026-08-06 21:34:33'::timestamp) - extract(epoch from '2026-08-06 21:34: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'), 48129, 'SRID=4674;POINT (-39.03433 -3.396011)', '2026-08-06 21:34:40', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034372 -3.39591)'), GeomFromEWKT('SRID=4674;POINT (-39.03433 -3.396011)'))) / (select extract(epoch from '2026-08-06 21:34:40'::timestamp) - extract(epoch from '2026-08-06 21:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034372 -3.39591)'), GeomFromEWKT('SRID=4674;POINT (-39.03433 -3.396011)'))) / (select extract(epoch from '2026-08-06 21:34:40'::timestamp) - extract(epoch from '2026-08-06 21:34: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'), 48129, 'SRID=4674;POINT (-39.034317 -3.396103)', '2026-08-06 21:34:47', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03433 -3.396011)'), GeomFromEWKT('SRID=4674;POINT (-39.034317 -3.396103)'))) / (select extract(epoch from '2026-08-06 21:34:47'::timestamp) - extract(epoch from '2026-08-06 21:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03433 -3.396011)'), GeomFromEWKT('SRID=4674;POINT (-39.034317 -3.396103)'))) / (select extract(epoch from '2026-08-06 21:34:47'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.034298 -3.396207)', '2026-08-06 21:34:54', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034317 -3.396103)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -3.396207)'))) / (select extract(epoch from '2026-08-06 21:34:54'::timestamp) - extract(epoch from '2026-08-06 21:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034317 -3.396103)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -3.396207)'))) / (select extract(epoch from '2026-08-06 21:34:54'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.034276 -3.396278)', '2026-08-06 21:34:59', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034298 -3.396207)'), GeomFromEWKT('SRID=4674;POINT (-39.034276 -3.396278)'))) / (select extract(epoch from '2026-08-06 21:34:59'::timestamp) - extract(epoch from '2026-08-06 21:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034298 -3.396207)'), GeomFromEWKT('SRID=4674;POINT (-39.034276 -3.396278)'))) / (select extract(epoch from '2026-08-06 21:34:59'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.034267 -3.396288)', '2026-08-06 21:35:00', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034276 -3.396278)'), GeomFromEWKT('SRID=4674;POINT (-39.034267 -3.396288)'))) / (select extract(epoch from '2026-08-06 21:35:00'::timestamp) - extract(epoch from '2026-08-06 21:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034276 -3.396278)'), GeomFromEWKT('SRID=4674;POINT (-39.034267 -3.396288)'))) / (select extract(epoch from '2026-08-06 21:35:00'::timestamp) - extract(epoch from '2026-08-06 21:34: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'), 48129, 'SRID=4674;POINT (-39.034248 -3.396369)', '2026-08-06 21:35:06', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034267 -3.396288)'), GeomFromEWKT('SRID=4674;POINT (-39.034248 -3.396369)'))) / (select extract(epoch from '2026-08-06 21:35:06'::timestamp) - extract(epoch from '2026-08-06 21:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034267 -3.396288)'), GeomFromEWKT('SRID=4674;POINT (-39.034248 -3.396369)'))) / (select extract(epoch from '2026-08-06 21:35:06'::timestamp) - extract(epoch from '2026-08-06 21:35: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'), 48129, 'SRID=4674;POINT (-39.034237 -3.396442)', '2026-08-06 21:35:12', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034248 -3.396369)'), GeomFromEWKT('SRID=4674;POINT (-39.034237 -3.396442)'))) / (select extract(epoch from '2026-08-06 21:35:12'::timestamp) - extract(epoch from '2026-08-06 21:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034248 -3.396369)'), GeomFromEWKT('SRID=4674;POINT (-39.034237 -3.396442)'))) / (select extract(epoch from '2026-08-06 21:35:12'::timestamp) - extract(epoch from '2026-08-06 21:35: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'), 48129, 'SRID=4674;POINT (-39.034214 -3.396547)', '2026-08-06 21:35:20', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034237 -3.396442)'), GeomFromEWKT('SRID=4674;POINT (-39.034214 -3.396547)'))) / (select extract(epoch from '2026-08-06 21:35:20'::timestamp) - extract(epoch from '2026-08-06 21:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034237 -3.396442)'), GeomFromEWKT('SRID=4674;POINT (-39.034214 -3.396547)'))) / (select extract(epoch from '2026-08-06 21:35:20'::timestamp) - extract(epoch from '2026-08-06 21:35: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'), 48129, 'SRID=4674;POINT (-39.03418 -3.396638)', '2026-08-06 21:35:26', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034214 -3.396547)'), GeomFromEWKT('SRID=4674;POINT (-39.03418 -3.396638)'))) / (select extract(epoch from '2026-08-06 21:35:26'::timestamp) - extract(epoch from '2026-08-06 21:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034214 -3.396547)'), GeomFromEWKT('SRID=4674;POINT (-39.03418 -3.396638)'))) / (select extract(epoch from '2026-08-06 21:35:26'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.034172 -3.39674)', '2026-08-06 21:35:34', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03418 -3.396638)'), GeomFromEWKT('SRID=4674;POINT (-39.034172 -3.39674)'))) / (select extract(epoch from '2026-08-06 21:35:34'::timestamp) - extract(epoch from '2026-08-06 21:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03418 -3.396638)'), GeomFromEWKT('SRID=4674;POINT (-39.034172 -3.39674)'))) / (select extract(epoch from '2026-08-06 21:35:34'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.03417 -3.396807)', '2026-08-06 21:35:40', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034172 -3.39674)'), GeomFromEWKT('SRID=4674;POINT (-39.03417 -3.396807)'))) / (select extract(epoch from '2026-08-06 21:35:40'::timestamp) - extract(epoch from '2026-08-06 21:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034172 -3.39674)'), GeomFromEWKT('SRID=4674;POINT (-39.03417 -3.396807)'))) / (select extract(epoch from '2026-08-06 21:35:40'::timestamp) - extract(epoch from '2026-08-06 21:35: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'), 48129, 'SRID=4674;POINT (-39.034147 -3.396948)', '2026-08-06 21:35:50', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03417 -3.396807)'), GeomFromEWKT('SRID=4674;POINT (-39.034147 -3.396948)'))) / (select extract(epoch from '2026-08-06 21:35:50'::timestamp) - extract(epoch from '2026-08-06 21:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03417 -3.396807)'), GeomFromEWKT('SRID=4674;POINT (-39.034147 -3.396948)'))) / (select extract(epoch from '2026-08-06 21:35:50'::timestamp) - extract(epoch from '2026-08-06 21:35: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'), 48129, 'SRID=4674;POINT (-39.034143 -3.397017)', '2026-08-06 21:35:55', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034147 -3.396948)'), GeomFromEWKT('SRID=4674;POINT (-39.034143 -3.397017)'))) / (select extract(epoch from '2026-08-06 21:35:55'::timestamp) - extract(epoch from '2026-08-06 21:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034147 -3.396948)'), GeomFromEWKT('SRID=4674;POINT (-39.034143 -3.397017)'))) / (select extract(epoch from '2026-08-06 21:35:55'::timestamp) - extract(epoch from '2026-08-06 21:35: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'), 48129, 'SRID=4674;POINT (-39.034132 -3.397036)', '2026-08-06 21:35:57', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034143 -3.397017)'), GeomFromEWKT('SRID=4674;POINT (-39.034132 -3.397036)'))) / (select extract(epoch from '2026-08-06 21:35:57'::timestamp) - extract(epoch from '2026-08-06 21:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034143 -3.397017)'), GeomFromEWKT('SRID=4674;POINT (-39.034132 -3.397036)'))) / (select extract(epoch from '2026-08-06 21:35:57'::timestamp) - extract(epoch from '2026-08-06 21:35: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'), 48129, 'SRID=4674;POINT (-39.034108 -3.39714)', '2026-08-06 21:36:04', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034132 -3.397036)'), GeomFromEWKT('SRID=4674;POINT (-39.034108 -3.39714)'))) / (select extract(epoch from '2026-08-06 21:36:04'::timestamp) - extract(epoch from '2026-08-06 21:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034132 -3.397036)'), GeomFromEWKT('SRID=4674;POINT (-39.034108 -3.39714)'))) / (select extract(epoch from '2026-08-06 21:36:04'::timestamp) - extract(epoch from '2026-08-06 21:35: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'), 48129, 'SRID=4674;POINT (-39.034076 -3.397239)', '2026-08-06 21:36:11', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034108 -3.39714)'), GeomFromEWKT('SRID=4674;POINT (-39.034076 -3.397239)'))) / (select extract(epoch from '2026-08-06 21:36:11'::timestamp) - extract(epoch from '2026-08-06 21:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034108 -3.39714)'), GeomFromEWKT('SRID=4674;POINT (-39.034076 -3.397239)'))) / (select extract(epoch from '2026-08-06 21:36:11'::timestamp) - extract(epoch from '2026-08-06 21:36: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'), 48129, 'SRID=4674;POINT (-39.034045 -3.397328)', '2026-08-06 21:36:17', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034076 -3.397239)'), GeomFromEWKT('SRID=4674;POINT (-39.034045 -3.397328)'))) / (select extract(epoch from '2026-08-06 21:36:17'::timestamp) - extract(epoch from '2026-08-06 21:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034076 -3.397239)'), GeomFromEWKT('SRID=4674;POINT (-39.034045 -3.397328)'))) / (select extract(epoch from '2026-08-06 21:36:17'::timestamp) - extract(epoch from '2026-08-06 21:36: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'), 48129, 'SRID=4674;POINT (-39.034 -3.397455)', '2026-08-06 21:36:26', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034045 -3.397328)'), GeomFromEWKT('SRID=4674;POINT (-39.034 -3.397455)'))) / (select extract(epoch from '2026-08-06 21:36:26'::timestamp) - extract(epoch from '2026-08-06 21:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034045 -3.397328)'), GeomFromEWKT('SRID=4674;POINT (-39.034 -3.397455)'))) / (select extract(epoch from '2026-08-06 21:36:26'::timestamp) - extract(epoch from '2026-08-06 21:36: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'), 48129, 'SRID=4674;POINT (-39.033961 -3.397559)', '2026-08-06 21:36:35', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034 -3.397455)'), GeomFromEWKT('SRID=4674;POINT (-39.033961 -3.397559)'))) / (select extract(epoch from '2026-08-06 21:36:35'::timestamp) - extract(epoch from '2026-08-06 21:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034 -3.397455)'), GeomFromEWKT('SRID=4674;POINT (-39.033961 -3.397559)'))) / (select extract(epoch from '2026-08-06 21:36:35'::timestamp) - extract(epoch from '2026-08-06 21:36: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'), 48129, 'SRID=4674;POINT (-39.033943 -3.397663)', '2026-08-06 21:36:43', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033961 -3.397559)'), GeomFromEWKT('SRID=4674;POINT (-39.033943 -3.397663)'))) / (select extract(epoch from '2026-08-06 21:36:43'::timestamp) - extract(epoch from '2026-08-06 21:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033961 -3.397559)'), GeomFromEWKT('SRID=4674;POINT (-39.033943 -3.397663)'))) / (select extract(epoch from '2026-08-06 21:36:43'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.033914 -3.397771)', '2026-08-06 21:36:50', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033943 -3.397663)'), GeomFromEWKT('SRID=4674;POINT (-39.033914 -3.397771)'))) / (select extract(epoch from '2026-08-06 21:36:50'::timestamp) - extract(epoch from '2026-08-06 21:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033943 -3.397663)'), GeomFromEWKT('SRID=4674;POINT (-39.033914 -3.397771)'))) / (select extract(epoch from '2026-08-06 21:36:50'::timestamp) - extract(epoch from '2026-08-06 21:36: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'), 48129, 'SRID=4674;POINT (-39.03386 -3.397872)', '2026-08-06 21:36:57', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033914 -3.397771)'), GeomFromEWKT('SRID=4674;POINT (-39.03386 -3.397872)'))) / (select extract(epoch from '2026-08-06 21:36:57'::timestamp) - extract(epoch from '2026-08-06 21:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033914 -3.397771)'), GeomFromEWKT('SRID=4674;POINT (-39.03386 -3.397872)'))) / (select extract(epoch from '2026-08-06 21:36:57'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.033845 -3.397972)', '2026-08-06 21:37:04', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03386 -3.397872)'), GeomFromEWKT('SRID=4674;POINT (-39.033845 -3.397972)'))) / (select extract(epoch from '2026-08-06 21:37:04'::timestamp) - extract(epoch from '2026-08-06 21:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03386 -3.397872)'), GeomFromEWKT('SRID=4674;POINT (-39.033845 -3.397972)'))) / (select extract(epoch from '2026-08-06 21:37:04'::timestamp) - extract(epoch from '2026-08-06 21:36: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'), 48129, 'SRID=4674;POINT (-39.033843 -3.398051)', '2026-08-06 21:37:13', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033845 -3.397972)'), GeomFromEWKT('SRID=4674;POINT (-39.033843 -3.398051)'))) / (select extract(epoch from '2026-08-06 21:37:13'::timestamp) - extract(epoch from '2026-08-06 21:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033845 -3.397972)'), GeomFromEWKT('SRID=4674;POINT (-39.033843 -3.398051)'))) / (select extract(epoch from '2026-08-06 21:37:13'::timestamp) - extract(epoch from '2026-08-06 21:37: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'), 48129, 'SRID=4674;POINT (-39.033832 -3.398143)', '2026-08-06 21:37:20', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033843 -3.398051)'), GeomFromEWKT('SRID=4674;POINT (-39.033832 -3.398143)'))) / (select extract(epoch from '2026-08-06 21:37:20'::timestamp) - extract(epoch from '2026-08-06 21:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033843 -3.398051)'), GeomFromEWKT('SRID=4674;POINT (-39.033832 -3.398143)'))) / (select extract(epoch from '2026-08-06 21:37:20'::timestamp) - extract(epoch from '2026-08-06 21:37: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'), 48129, 'SRID=4674;POINT (-39.033831 -3.398209)', '2026-08-06 21:37:25', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033832 -3.398143)'), GeomFromEWKT('SRID=4674;POINT (-39.033831 -3.398209)'))) / (select extract(epoch from '2026-08-06 21:37:25'::timestamp) - extract(epoch from '2026-08-06 21:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033832 -3.398143)'), GeomFromEWKT('SRID=4674;POINT (-39.033831 -3.398209)'))) / (select extract(epoch from '2026-08-06 21:37:25'::timestamp) - extract(epoch from '2026-08-06 21:37: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'), 48129, 'SRID=4674;POINT (-39.033817 -3.398247)', '2026-08-06 21:37:27', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033831 -3.398209)'), GeomFromEWKT('SRID=4674;POINT (-39.033817 -3.398247)'))) / (select extract(epoch from '2026-08-06 21:37:27'::timestamp) - extract(epoch from '2026-08-06 21:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033831 -3.398209)'), GeomFromEWKT('SRID=4674;POINT (-39.033817 -3.398247)'))) / (select extract(epoch from '2026-08-06 21:37:27'::timestamp) - extract(epoch from '2026-08-06 21:37: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'), 48129, 'SRID=4674;POINT (-39.033779 -3.398348)', '2026-08-06 21:37:33', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033817 -3.398247)'), GeomFromEWKT('SRID=4674;POINT (-39.033779 -3.398348)'))) / (select extract(epoch from '2026-08-06 21:37:33'::timestamp) - extract(epoch from '2026-08-06 21:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033817 -3.398247)'), GeomFromEWKT('SRID=4674;POINT (-39.033779 -3.398348)'))) / (select extract(epoch from '2026-08-06 21:37:33'::timestamp) - extract(epoch from '2026-08-06 21:37: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'), 48129, 'SRID=4674;POINT (-39.033734 -3.398445)', '2026-08-06 21:37:40', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033779 -3.398348)'), GeomFromEWKT('SRID=4674;POINT (-39.033734 -3.398445)'))) / (select extract(epoch from '2026-08-06 21:37:40'::timestamp) - extract(epoch from '2026-08-06 21:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033779 -3.398348)'), GeomFromEWKT('SRID=4674;POINT (-39.033734 -3.398445)'))) / (select extract(epoch from '2026-08-06 21:37:40'::timestamp) - extract(epoch from '2026-08-06 21:37: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'), 48129, 'SRID=4674;POINT (-39.033717 -3.398539)', '2026-08-06 21:37:48', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033734 -3.398445)'), GeomFromEWKT('SRID=4674;POINT (-39.033717 -3.398539)'))) / (select extract(epoch from '2026-08-06 21:37:48'::timestamp) - extract(epoch from '2026-08-06 21:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033734 -3.398445)'), GeomFromEWKT('SRID=4674;POINT (-39.033717 -3.398539)'))) / (select extract(epoch from '2026-08-06 21:37:48'::timestamp) - extract(epoch from '2026-08-06 21:37: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'), 48129, 'SRID=4674;POINT (-39.033692 -3.398639)', '2026-08-06 21:37:55', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033717 -3.398539)'), GeomFromEWKT('SRID=4674;POINT (-39.033692 -3.398639)'))) / (select extract(epoch from '2026-08-06 21:37:55'::timestamp) - extract(epoch from '2026-08-06 21:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033717 -3.398539)'), GeomFromEWKT('SRID=4674;POINT (-39.033692 -3.398639)'))) / (select extract(epoch from '2026-08-06 21:37:55'::timestamp) - extract(epoch from '2026-08-06 21:37: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'), 48129, 'SRID=4674;POINT (-39.033658 -3.398763)', '2026-08-06 21:38:02', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033692 -3.398639)'), GeomFromEWKT('SRID=4674;POINT (-39.033658 -3.398763)'))) / (select extract(epoch from '2026-08-06 21:38:02'::timestamp) - extract(epoch from '2026-08-06 21:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033692 -3.398639)'), GeomFromEWKT('SRID=4674;POINT (-39.033658 -3.398763)'))) / (select extract(epoch from '2026-08-06 21:38:02'::timestamp) - extract(epoch from '2026-08-06 21:37: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'), 48129, 'SRID=4674;POINT (-39.033637 -3.398844)', '2026-08-06 21:38:09', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033658 -3.398763)'), GeomFromEWKT('SRID=4674;POINT (-39.033637 -3.398844)'))) / (select extract(epoch from '2026-08-06 21:38:09'::timestamp) - extract(epoch from '2026-08-06 21:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033658 -3.398763)'), GeomFromEWKT('SRID=4674;POINT (-39.033637 -3.398844)'))) / (select extract(epoch from '2026-08-06 21:38:09'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.033625 -3.398943)', '2026-08-06 21:38:17', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033637 -3.398844)'), GeomFromEWKT('SRID=4674;POINT (-39.033625 -3.398943)'))) / (select extract(epoch from '2026-08-06 21:38:17'::timestamp) - extract(epoch from '2026-08-06 21:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033637 -3.398844)'), GeomFromEWKT('SRID=4674;POINT (-39.033625 -3.398943)'))) / (select extract(epoch from '2026-08-06 21:38:17'::timestamp) - extract(epoch from '2026-08-06 21:38: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'), 48129, 'SRID=4674;POINT (-39.033597 -3.399028)', '2026-08-06 21:38:25', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033625 -3.398943)'), GeomFromEWKT('SRID=4674;POINT (-39.033597 -3.399028)'))) / (select extract(epoch from '2026-08-06 21:38:25'::timestamp) - extract(epoch from '2026-08-06 21:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033625 -3.398943)'), GeomFromEWKT('SRID=4674;POINT (-39.033597 -3.399028)'))) / (select extract(epoch from '2026-08-06 21:38:25'::timestamp) - extract(epoch from '2026-08-06 21:38: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'), 48129, 'SRID=4674;POINT (-39.033574 -3.399106)', '2026-08-06 21:38:34', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033597 -3.399028)'), GeomFromEWKT('SRID=4674;POINT (-39.033574 -3.399106)'))) / (select extract(epoch from '2026-08-06 21:38:34'::timestamp) - extract(epoch from '2026-08-06 21:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033597 -3.399028)'), GeomFromEWKT('SRID=4674;POINT (-39.033574 -3.399106)'))) / (select extract(epoch from '2026-08-06 21:38:34'::timestamp) - extract(epoch from '2026-08-06 21:38: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'), 48129, 'SRID=4674;POINT (-39.033551 -3.399199)', '2026-08-06 21:38:41', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033574 -3.399106)'), GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.399199)'))) / (select extract(epoch from '2026-08-06 21:38:41'::timestamp) - extract(epoch from '2026-08-06 21:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033574 -3.399106)'), GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.399199)'))) / (select extract(epoch from '2026-08-06 21:38:41'::timestamp) - extract(epoch from '2026-08-06 21:38: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'), 48129, 'SRID=4674;POINT (-39.033536 -3.399293)', '2026-08-06 21:38:48', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.399199)'), GeomFromEWKT('SRID=4674;POINT (-39.033536 -3.399293)'))) / (select extract(epoch from '2026-08-06 21:38:48'::timestamp) - extract(epoch from '2026-08-06 21:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.399199)'), GeomFromEWKT('SRID=4674;POINT (-39.033536 -3.399293)'))) / (select extract(epoch from '2026-08-06 21:38:48'::timestamp) - extract(epoch from '2026-08-06 21:38: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'), 48129, 'SRID=4674;POINT (-39.033502 -3.399384)', '2026-08-06 21:38:55', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033536 -3.399293)'), GeomFromEWKT('SRID=4674;POINT (-39.033502 -3.399384)'))) / (select extract(epoch from '2026-08-06 21:38:55'::timestamp) - extract(epoch from '2026-08-06 21:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033536 -3.399293)'), GeomFromEWKT('SRID=4674;POINT (-39.033502 -3.399384)'))) / (select extract(epoch from '2026-08-06 21:38:55'::timestamp) - extract(epoch from '2026-08-06 21:38: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'), 48129, 'SRID=4674;POINT (-39.033482 -3.39951)', '2026-08-06 21:39:03', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033502 -3.399384)'), GeomFromEWKT('SRID=4674;POINT (-39.033482 -3.39951)'))) / (select extract(epoch from '2026-08-06 21:39:03'::timestamp) - extract(epoch from '2026-08-06 21:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033502 -3.399384)'), GeomFromEWKT('SRID=4674;POINT (-39.033482 -3.39951)'))) / (select extract(epoch from '2026-08-06 21:39:03'::timestamp) - extract(epoch from '2026-08-06 21:38: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'), 48129, 'SRID=4674;POINT (-39.033458 -3.399617)', '2026-08-06 21:39:11', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033482 -3.39951)'), GeomFromEWKT('SRID=4674;POINT (-39.033458 -3.399617)'))) / (select extract(epoch from '2026-08-06 21:39:11'::timestamp) - extract(epoch from '2026-08-06 21:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033482 -3.39951)'), GeomFromEWKT('SRID=4674;POINT (-39.033458 -3.399617)'))) / (select extract(epoch from '2026-08-06 21:39:11'::timestamp) - extract(epoch from '2026-08-06 21:39: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'), 48129, 'SRID=4674;POINT (-39.033421 -3.39973)', '2026-08-06 21:39:20', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033458 -3.399617)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.39973)'))) / (select extract(epoch from '2026-08-06 21:39:20'::timestamp) - extract(epoch from '2026-08-06 21:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033458 -3.399617)'), GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.39973)'))) / (select extract(epoch from '2026-08-06 21:39:20'::timestamp) - extract(epoch from '2026-08-06 21:39: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'), 48129, 'SRID=4674;POINT (-39.033394 -3.399812)', '2026-08-06 21:39:28', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.39973)'), GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.399812)'))) / (select extract(epoch from '2026-08-06 21:39:28'::timestamp) - extract(epoch from '2026-08-06 21:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033421 -3.39973)'), GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.399812)'))) / (select extract(epoch from '2026-08-06 21:39:28'::timestamp) - extract(epoch from '2026-08-06 21:39: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'), 48129, 'SRID=4674;POINT (-39.033393 -3.399857)', '2026-08-06 21:39:35', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.399812)'), GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.399857)'))) / (select extract(epoch from '2026-08-06 21:39:35'::timestamp) - extract(epoch from '2026-08-06 21:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033394 -3.399812)'), GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.399857)'))) / (select extract(epoch from '2026-08-06 21:39:35'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.033397 -3.399909)', '2026-08-06 21:39:40', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.399857)'), GeomFromEWKT('SRID=4674;POINT (-39.033397 -3.399909)'))) / (select extract(epoch from '2026-08-06 21:39:40'::timestamp) - extract(epoch from '2026-08-06 21:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033393 -3.399857)'), GeomFromEWKT('SRID=4674;POINT (-39.033397 -3.399909)'))) / (select extract(epoch from '2026-08-06 21:39:40'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.033381 -3.399996)', '2026-08-06 21:39:47', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033397 -3.399909)'), GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.399996)'))) / (select extract(epoch from '2026-08-06 21:39:47'::timestamp) - extract(epoch from '2026-08-06 21:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033397 -3.399909)'), GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.399996)'))) / (select extract(epoch from '2026-08-06 21:39:47'::timestamp) - extract(epoch from '2026-08-06 21:39: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'), 48129, 'SRID=4674;POINT (-39.033378 -3.400092)', '2026-08-06 21:39:55', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.399996)'), GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.400092)'))) / (select extract(epoch from '2026-08-06 21:39:55'::timestamp) - extract(epoch from '2026-08-06 21:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033381 -3.399996)'), GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.400092)'))) / (select extract(epoch from '2026-08-06 21:39:55'::timestamp) - extract(epoch from '2026-08-06 21:39: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'), 48129, 'SRID=4674;POINT (-39.033352 -3.400176)', '2026-08-06 21:40:02', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.400092)'), GeomFromEWKT('SRID=4674;POINT (-39.033352 -3.400176)'))) / (select extract(epoch from '2026-08-06 21:40:02'::timestamp) - extract(epoch from '2026-08-06 21:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033378 -3.400092)'), GeomFromEWKT('SRID=4674;POINT (-39.033352 -3.400176)'))) / (select extract(epoch from '2026-08-06 21:40:02'::timestamp) - extract(epoch from '2026-08-06 21:39: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'), 48129, 'SRID=4674;POINT (-39.033332 -3.400282)', '2026-08-06 21:40:10', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033352 -3.400176)'), GeomFromEWKT('SRID=4674;POINT (-39.033332 -3.400282)'))) / (select extract(epoch from '2026-08-06 21:40:10'::timestamp) - extract(epoch from '2026-08-06 21:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033352 -3.400176)'), GeomFromEWKT('SRID=4674;POINT (-39.033332 -3.400282)'))) / (select extract(epoch from '2026-08-06 21:40:10'::timestamp) - extract(epoch from '2026-08-06 21:40: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'), 48129, 'SRID=4674;POINT (-39.033315 -3.400388)', '2026-08-06 21:40:17', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033332 -3.400282)'), GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.400388)'))) / (select extract(epoch from '2026-08-06 21:40:17'::timestamp) - extract(epoch from '2026-08-06 21:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033332 -3.400282)'), GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.400388)'))) / (select extract(epoch from '2026-08-06 21:40:17'::timestamp) - extract(epoch from '2026-08-06 21:40: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'), 48129, 'SRID=4674;POINT (-39.033249 -3.400478)', '2026-08-06 21:40:26', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.400388)'), GeomFromEWKT('SRID=4674;POINT (-39.033249 -3.400478)'))) / (select extract(epoch from '2026-08-06 21:40:26'::timestamp) - extract(epoch from '2026-08-06 21:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.400388)'), GeomFromEWKT('SRID=4674;POINT (-39.033249 -3.400478)'))) / (select extract(epoch from '2026-08-06 21:40:26'::timestamp) - extract(epoch from '2026-08-06 21:40: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'), 48129, 'SRID=4674;POINT (-39.033228 -3.400558)', '2026-08-06 21:40:33', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033249 -3.400478)'), GeomFromEWKT('SRID=4674;POINT (-39.033228 -3.400558)'))) / (select extract(epoch from '2026-08-06 21:40:33'::timestamp) - extract(epoch from '2026-08-06 21:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033249 -3.400478)'), GeomFromEWKT('SRID=4674;POINT (-39.033228 -3.400558)'))) / (select extract(epoch from '2026-08-06 21:40:33'::timestamp) - extract(epoch from '2026-08-06 21:40: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'), 48129, 'SRID=4674;POINT (-39.03321 -3.400618)', '2026-08-06 21:40:39', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033228 -3.400558)'), GeomFromEWKT('SRID=4674;POINT (-39.03321 -3.400618)'))) / (select extract(epoch from '2026-08-06 21:40:39'::timestamp) - extract(epoch from '2026-08-06 21:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033228 -3.400558)'), GeomFromEWKT('SRID=4674;POINT (-39.03321 -3.400618)'))) / (select extract(epoch from '2026-08-06 21:40:39'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.033207 -3.400622)', '2026-08-06 21:40:40', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03321 -3.400618)'), GeomFromEWKT('SRID=4674;POINT (-39.033207 -3.400622)'))) / (select extract(epoch from '2026-08-06 21:40:40'::timestamp) - extract(epoch from '2026-08-06 21:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03321 -3.400618)'), GeomFromEWKT('SRID=4674;POINT (-39.033207 -3.400622)'))) / (select extract(epoch from '2026-08-06 21:40:40'::timestamp) - extract(epoch from '2026-08-06 21:40: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'), 48129, 'SRID=4674;POINT (-39.033214 -3.400691)', '2026-08-06 21:40:47', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033207 -3.400622)'), GeomFromEWKT('SRID=4674;POINT (-39.033214 -3.400691)'))) / (select extract(epoch from '2026-08-06 21:40:47'::timestamp) - extract(epoch from '2026-08-06 21:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033207 -3.400622)'), GeomFromEWKT('SRID=4674;POINT (-39.033214 -3.400691)'))) / (select extract(epoch from '2026-08-06 21:40:47'::timestamp) - extract(epoch from '2026-08-06 21:40: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'), 48129, 'SRID=4674;POINT (-39.033185 -3.400793)', '2026-08-06 21:40:54', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033214 -3.400691)'), GeomFromEWKT('SRID=4674;POINT (-39.033185 -3.400793)'))) / (select extract(epoch from '2026-08-06 21:40:54'::timestamp) - extract(epoch from '2026-08-06 21:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033214 -3.400691)'), GeomFromEWKT('SRID=4674;POINT (-39.033185 -3.400793)'))) / (select extract(epoch from '2026-08-06 21:40:54'::timestamp) - extract(epoch from '2026-08-06 21:40: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'), 48129, 'SRID=4674;POINT (-39.033154 -3.400894)', '2026-08-06 21:41:01', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033185 -3.400793)'), GeomFromEWKT('SRID=4674;POINT (-39.033154 -3.400894)'))) / (select extract(epoch from '2026-08-06 21:41:01'::timestamp) - extract(epoch from '2026-08-06 21:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033185 -3.400793)'), GeomFromEWKT('SRID=4674;POINT (-39.033154 -3.400894)'))) / (select extract(epoch from '2026-08-06 21:41:01'::timestamp) - extract(epoch from '2026-08-06 21:40: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'), 48129, 'SRID=4674;POINT (-39.033107 -3.400997)', '2026-08-06 21:41:07', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033154 -3.400894)'), GeomFromEWKT('SRID=4674;POINT (-39.033107 -3.400997)'))) / (select extract(epoch from '2026-08-06 21:41:07'::timestamp) - extract(epoch from '2026-08-06 21:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033154 -3.400894)'), GeomFromEWKT('SRID=4674;POINT (-39.033107 -3.400997)'))) / (select extract(epoch from '2026-08-06 21:41:07'::timestamp) - extract(epoch from '2026-08-06 21:41: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'), 48129, 'SRID=4674;POINT (-39.033067 -3.401083)', '2026-08-06 21:41:14', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033107 -3.400997)'), GeomFromEWKT('SRID=4674;POINT (-39.033067 -3.401083)'))) / (select extract(epoch from '2026-08-06 21:41:14'::timestamp) - extract(epoch from '2026-08-06 21:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033107 -3.400997)'), GeomFromEWKT('SRID=4674;POINT (-39.033067 -3.401083)'))) / (select extract(epoch from '2026-08-06 21:41:14'::timestamp) - extract(epoch from '2026-08-06 21:41: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'), 48129, 'SRID=4674;POINT (-39.033064 -3.401126)', '2026-08-06 21:41:19', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033067 -3.401083)'), GeomFromEWKT('SRID=4674;POINT (-39.033064 -3.401126)'))) / (select extract(epoch from '2026-08-06 21:41:19'::timestamp) - extract(epoch from '2026-08-06 21:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033067 -3.401083)'), GeomFromEWKT('SRID=4674;POINT (-39.033064 -3.401126)'))) / (select extract(epoch from '2026-08-06 21:41:19'::timestamp) - extract(epoch from '2026-08-06 21:41: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'), 48129, 'SRID=4674;POINT (-39.03307 -3.401149)', '2026-08-06 21:41:21', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033064 -3.401126)'), GeomFromEWKT('SRID=4674;POINT (-39.03307 -3.401149)'))) / (select extract(epoch from '2026-08-06 21:41:21'::timestamp) - extract(epoch from '2026-08-06 21:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033064 -3.401126)'), GeomFromEWKT('SRID=4674;POINT (-39.03307 -3.401149)'))) / (select extract(epoch from '2026-08-06 21:41:21'::timestamp) - extract(epoch from '2026-08-06 21:41: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'), 48129, 'SRID=4674;POINT (-39.033046 -3.401226)', '2026-08-06 21:41:28', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03307 -3.401149)'), GeomFromEWKT('SRID=4674;POINT (-39.033046 -3.401226)'))) / (select extract(epoch from '2026-08-06 21:41:28'::timestamp) - extract(epoch from '2026-08-06 21:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03307 -3.401149)'), GeomFromEWKT('SRID=4674;POINT (-39.033046 -3.401226)'))) / (select extract(epoch from '2026-08-06 21:41:28'::timestamp) - extract(epoch from '2026-08-06 21:41: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'), 48129, 'SRID=4674;POINT (-39.033027 -3.401291)', '2026-08-06 21:41:34', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033046 -3.401226)'), GeomFromEWKT('SRID=4674;POINT (-39.033027 -3.401291)'))) / (select extract(epoch from '2026-08-06 21:41:34'::timestamp) - extract(epoch from '2026-08-06 21:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033046 -3.401226)'), GeomFromEWKT('SRID=4674;POINT (-39.033027 -3.401291)'))) / (select extract(epoch from '2026-08-06 21:41:34'::timestamp) - extract(epoch from '2026-08-06 21:41: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'), 48129, 'SRID=4674;POINT (-39.033017 -3.401348)', '2026-08-06 21:41:41', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033027 -3.401291)'), GeomFromEWKT('SRID=4674;POINT (-39.033017 -3.401348)'))) / (select extract(epoch from '2026-08-06 21:41:41'::timestamp) - extract(epoch from '2026-08-06 21:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033027 -3.401291)'), GeomFromEWKT('SRID=4674;POINT (-39.033017 -3.401348)'))) / (select extract(epoch from '2026-08-06 21:41:41'::timestamp) - extract(epoch from '2026-08-06 21:41: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'), 48129, 'SRID=4674;POINT (-39.032959 -3.401445)', '2026-08-06 21:41:50', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033017 -3.401348)'), GeomFromEWKT('SRID=4674;POINT (-39.032959 -3.401445)'))) / (select extract(epoch from '2026-08-06 21:41:50'::timestamp) - extract(epoch from '2026-08-06 21:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033017 -3.401348)'), GeomFromEWKT('SRID=4674;POINT (-39.032959 -3.401445)'))) / (select extract(epoch from '2026-08-06 21:41:50'::timestamp) - extract(epoch from '2026-08-06 21:41: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'), 48129, 'SRID=4674;POINT (-39.032953 -3.401515)', '2026-08-06 21:41:58', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032959 -3.401445)'), GeomFromEWKT('SRID=4674;POINT (-39.032953 -3.401515)'))) / (select extract(epoch from '2026-08-06 21:41:58'::timestamp) - extract(epoch from '2026-08-06 21:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032959 -3.401445)'), GeomFromEWKT('SRID=4674;POINT (-39.032953 -3.401515)'))) / (select extract(epoch from '2026-08-06 21:41:58'::timestamp) - extract(epoch from '2026-08-06 21:41: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'), 48129, 'SRID=4674;POINT (-39.032944 -3.401609)', '2026-08-06 21:42:06', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032953 -3.401515)'), GeomFromEWKT('SRID=4674;POINT (-39.032944 -3.401609)'))) / (select extract(epoch from '2026-08-06 21:42:06'::timestamp) - extract(epoch from '2026-08-06 21:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032953 -3.401515)'), GeomFromEWKT('SRID=4674;POINT (-39.032944 -3.401609)'))) / (select extract(epoch from '2026-08-06 21:42:06'::timestamp) - extract(epoch from '2026-08-06 21:41: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'), 48129, 'SRID=4674;POINT (-39.032946 -3.401635)', '2026-08-06 21:42:12', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032944 -3.401609)'), GeomFromEWKT('SRID=4674;POINT (-39.032946 -3.401635)'))) / (select extract(epoch from '2026-08-06 21:42:12'::timestamp) - extract(epoch from '2026-08-06 21:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032944 -3.401609)'), GeomFromEWKT('SRID=4674;POINT (-39.032946 -3.401635)'))) / (select extract(epoch from '2026-08-06 21:42:12'::timestamp) - extract(epoch from '2026-08-06 21:42: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'), 48129, 'SRID=4674;POINT (-39.032933 -3.40166)', '2026-08-06 21:42:19', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032946 -3.401635)'), GeomFromEWKT('SRID=4674;POINT (-39.032933 -3.40166)'))) / (select extract(epoch from '2026-08-06 21:42:19'::timestamp) - extract(epoch from '2026-08-06 21:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032946 -3.401635)'), GeomFromEWKT('SRID=4674;POINT (-39.032933 -3.40166)'))) / (select extract(epoch from '2026-08-06 21:42:19'::timestamp) - extract(epoch from '2026-08-06 21:42: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'), 48129, 'SRID=4674;POINT (-39.03294 -3.401675)', '2026-08-06 21:42:27', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032933 -3.40166)'), GeomFromEWKT('SRID=4674;POINT (-39.03294 -3.401675)'))) / (select extract(epoch from '2026-08-06 21:42:27'::timestamp) - extract(epoch from '2026-08-06 21:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032933 -3.40166)'), GeomFromEWKT('SRID=4674;POINT (-39.03294 -3.401675)'))) / (select extract(epoch from '2026-08-06 21:42:27'::timestamp) - extract(epoch from '2026-08-06 21:42: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'), 48129, 'SRID=4674;POINT (-39.032995 -3.401667)', '2026-08-06 21:42:35', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03294 -3.401675)'), GeomFromEWKT('SRID=4674;POINT (-39.032995 -3.401667)'))) / (select extract(epoch from '2026-08-06 21:42:35'::timestamp) - extract(epoch from '2026-08-06 21:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03294 -3.401675)'), GeomFromEWKT('SRID=4674;POINT (-39.032995 -3.401667)'))) / (select extract(epoch from '2026-08-06 21:42:35'::timestamp) - extract(epoch from '2026-08-06 21:42: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'), 48129, 'SRID=4674;POINT (-39.033019 -3.401669)', '2026-08-06 21:42:42', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032995 -3.401667)'), GeomFromEWKT('SRID=4674;POINT (-39.033019 -3.401669)'))) / (select extract(epoch from '2026-08-06 21:42:42'::timestamp) - extract(epoch from '2026-08-06 21:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032995 -3.401667)'), GeomFromEWKT('SRID=4674;POINT (-39.033019 -3.401669)'))) / (select extract(epoch from '2026-08-06 21:42:42'::timestamp) - extract(epoch from '2026-08-06 21:42: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'), 48129, 'SRID=4674;POINT (-39.033066 -3.401674)', '2026-08-06 21:42:52', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033019 -3.401669)'), GeomFromEWKT('SRID=4674;POINT (-39.033066 -3.401674)'))) / (select extract(epoch from '2026-08-06 21:42:52'::timestamp) - extract(epoch from '2026-08-06 21:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033019 -3.401669)'), GeomFromEWKT('SRID=4674;POINT (-39.033066 -3.401674)'))) / (select extract(epoch from '2026-08-06 21:42:52'::timestamp) - extract(epoch from '2026-08-06 21:42: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'), 48129, 'SRID=4674;POINT (-39.0331 -3.401673)', '2026-08-06 21:42:59', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033066 -3.401674)'), GeomFromEWKT('SRID=4674;POINT (-39.0331 -3.401673)'))) / (select extract(epoch from '2026-08-06 21:42:59'::timestamp) - extract(epoch from '2026-08-06 21:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033066 -3.401674)'), GeomFromEWKT('SRID=4674;POINT (-39.0331 -3.401673)'))) / (select extract(epoch from '2026-08-06 21:42:59'::timestamp) - extract(epoch from '2026-08-06 21:42: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'), 48129, 'SRID=4674;POINT (-39.033131 -3.401686)', '2026-08-06 21:43:07', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0331 -3.401673)'), GeomFromEWKT('SRID=4674;POINT (-39.033131 -3.401686)'))) / (select extract(epoch from '2026-08-06 21:43:07'::timestamp) - extract(epoch from '2026-08-06 21:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0331 -3.401673)'), GeomFromEWKT('SRID=4674;POINT (-39.033131 -3.401686)'))) / (select extract(epoch from '2026-08-06 21:43:07'::timestamp) - extract(epoch from '2026-08-06 21:42: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'), 48129, 'SRID=4674;POINT (-39.033159 -3.401696)', '2026-08-06 21:43:14', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033131 -3.401686)'), GeomFromEWKT('SRID=4674;POINT (-39.033159 -3.401696)'))) / (select extract(epoch from '2026-08-06 21:43:14'::timestamp) - extract(epoch from '2026-08-06 21:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033131 -3.401686)'), GeomFromEWKT('SRID=4674;POINT (-39.033159 -3.401696)'))) / (select extract(epoch from '2026-08-06 21:43:14'::timestamp) - extract(epoch from '2026-08-06 21:43: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'), 48129, 'SRID=4674;POINT (-39.033175 -3.401701)', '2026-08-06 21:43:20', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033159 -3.401696)'), GeomFromEWKT('SRID=4674;POINT (-39.033175 -3.401701)'))) / (select extract(epoch from '2026-08-06 21:43:20'::timestamp) - extract(epoch from '2026-08-06 21:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033159 -3.401696)'), GeomFromEWKT('SRID=4674;POINT (-39.033175 -3.401701)'))) / (select extract(epoch from '2026-08-06 21:43:20'::timestamp) - extract(epoch from '2026-08-06 21:43: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'), 48129, 'SRID=4674;POINT (-39.033187 -3.401707)', '2026-08-06 21:43:29', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033175 -3.401701)'), GeomFromEWKT('SRID=4674;POINT (-39.033187 -3.401707)'))) / (select extract(epoch from '2026-08-06 21:43:29'::timestamp) - extract(epoch from '2026-08-06 21:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033175 -3.401701)'), GeomFromEWKT('SRID=4674;POINT (-39.033187 -3.401707)'))) / (select extract(epoch from '2026-08-06 21:43:29'::timestamp) - extract(epoch from '2026-08-06 21:43: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'), 48129, 'SRID=4674;POINT (-39.03323 -3.401707)', '2026-08-06 21:43:38', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033187 -3.401707)'), GeomFromEWKT('SRID=4674;POINT (-39.03323 -3.401707)'))) / (select extract(epoch from '2026-08-06 21:43:38'::timestamp) - extract(epoch from '2026-08-06 21:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033187 -3.401707)'), GeomFromEWKT('SRID=4674;POINT (-39.03323 -3.401707)'))) / (select extract(epoch from '2026-08-06 21:43:38'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.033251 -3.401704)', '2026-08-06 21:43:46', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03323 -3.401707)'), GeomFromEWKT('SRID=4674;POINT (-39.033251 -3.401704)'))) / (select extract(epoch from '2026-08-06 21:43:46'::timestamp) - extract(epoch from '2026-08-06 21:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03323 -3.401707)'), GeomFromEWKT('SRID=4674;POINT (-39.033251 -3.401704)'))) / (select extract(epoch from '2026-08-06 21:43:46'::timestamp) - extract(epoch from '2026-08-06 21:43: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'), 48129, 'SRID=4674;POINT (-39.033262 -3.4017)', '2026-08-06 21:44:05', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033251 -3.401704)'), GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.4017)'))) / (select extract(epoch from '2026-08-06 21:44:05'::timestamp) - extract(epoch from '2026-08-06 21:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033251 -3.401704)'), GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.4017)'))) / (select extract(epoch from '2026-08-06 21:44:05'::timestamp) - extract(epoch from '2026-08-06 21:43: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'), 48129, 'SRID=4674;POINT (-39.033281 -3.401705)', '2026-08-06 21:44:32', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.4017)'), GeomFromEWKT('SRID=4674;POINT (-39.033281 -3.401705)'))) / (select extract(epoch from '2026-08-06 21:44:32'::timestamp) - extract(epoch from '2026-08-06 21:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033262 -3.4017)'), GeomFromEWKT('SRID=4674;POINT (-39.033281 -3.401705)'))) / (select extract(epoch from '2026-08-06 21:44:32'::timestamp) - extract(epoch from '2026-08-06 21:44: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'), 48129, 'SRID=4674;POINT (-39.033308 -3.401712)', '2026-08-06 21:44:41', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033281 -3.401705)'), GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.401712)'))) / (select extract(epoch from '2026-08-06 21:44:41'::timestamp) - extract(epoch from '2026-08-06 21:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033281 -3.401705)'), GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.401712)'))) / (select extract(epoch from '2026-08-06 21:44:41'::timestamp) - extract(epoch from '2026-08-06 21:44: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'), 48129, 'SRID=4674;POINT (-39.033399 -3.401703)', '2026-08-06 21:44:49', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.401712)'), GeomFromEWKT('SRID=4674;POINT (-39.033399 -3.401703)'))) / (select extract(epoch from '2026-08-06 21:44:49'::timestamp) - extract(epoch from '2026-08-06 21:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033308 -3.401712)'), GeomFromEWKT('SRID=4674;POINT (-39.033399 -3.401703)'))) / (select extract(epoch from '2026-08-06 21:44:49'::timestamp) - extract(epoch from '2026-08-06 21:44: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'), 48129, 'SRID=4674;POINT (-39.033454 -3.401698)', '2026-08-06 21:44:55', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033399 -3.401703)'), GeomFromEWKT('SRID=4674;POINT (-39.033454 -3.401698)'))) / (select extract(epoch from '2026-08-06 21:44:55'::timestamp) - extract(epoch from '2026-08-06 21:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033399 -3.401703)'), GeomFromEWKT('SRID=4674;POINT (-39.033454 -3.401698)'))) / (select extract(epoch from '2026-08-06 21:44:55'::timestamp) - extract(epoch from '2026-08-06 21:44: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'), 48129, 'SRID=4674;POINT (-39.033511 -3.401699)', '2026-08-06 21:45:05', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033454 -3.401698)'), GeomFromEWKT('SRID=4674;POINT (-39.033511 -3.401699)'))) / (select extract(epoch from '2026-08-06 21:45:05'::timestamp) - extract(epoch from '2026-08-06 21:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033454 -3.401698)'), GeomFromEWKT('SRID=4674;POINT (-39.033511 -3.401699)'))) / (select extract(epoch from '2026-08-06 21:45:05'::timestamp) - extract(epoch from '2026-08-06 21:44: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'), 48129, 'SRID=4674;POINT (-39.033527 -3.401703)', '2026-08-06 21:45:18', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033511 -3.401699)'), GeomFromEWKT('SRID=4674;POINT (-39.033527 -3.401703)'))) / (select extract(epoch from '2026-08-06 21:45:18'::timestamp) - extract(epoch from '2026-08-06 21:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033511 -3.401699)'), GeomFromEWKT('SRID=4674;POINT (-39.033527 -3.401703)'))) / (select extract(epoch from '2026-08-06 21:45:18'::timestamp) - extract(epoch from '2026-08-06 21:45: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'), 48129, 'SRID=4674;POINT (-39.033539 -3.401702)', '2026-08-06 21:45:25', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033527 -3.401703)'), GeomFromEWKT('SRID=4674;POINT (-39.033539 -3.401702)'))) / (select extract(epoch from '2026-08-06 21:45:25'::timestamp) - extract(epoch from '2026-08-06 21:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033527 -3.401703)'), GeomFromEWKT('SRID=4674;POINT (-39.033539 -3.401702)'))) / (select extract(epoch from '2026-08-06 21:45:25'::timestamp) - extract(epoch from '2026-08-06 21:45: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'), 48129, 'SRID=4674;POINT (-39.033551 -3.401705)', '2026-08-06 21:45:48', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033539 -3.401702)'), GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.401705)'))) / (select extract(epoch from '2026-08-06 21:45:48'::timestamp) - extract(epoch from '2026-08-06 21:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033539 -3.401702)'), GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.401705)'))) / (select extract(epoch from '2026-08-06 21:45:48'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.033577 -3.401706)', '2026-08-06 21:45:57', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.401705)'), GeomFromEWKT('SRID=4674;POINT (-39.033577 -3.401706)'))) / (select extract(epoch from '2026-08-06 21:45:57'::timestamp) - extract(epoch from '2026-08-06 21:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033551 -3.401705)'), GeomFromEWKT('SRID=4674;POINT (-39.033577 -3.401706)'))) / (select extract(epoch from '2026-08-06 21:45:57'::timestamp) - extract(epoch from '2026-08-06 21:45: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'), 48129, 'SRID=4674;POINT (-39.033646 -3.40171)', '2026-08-06 21:46:09', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033577 -3.401706)'), GeomFromEWKT('SRID=4674;POINT (-39.033646 -3.40171)'))) / (select extract(epoch from '2026-08-06 21:46:09'::timestamp) - extract(epoch from '2026-08-06 21:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033577 -3.401706)'), GeomFromEWKT('SRID=4674;POINT (-39.033646 -3.40171)'))) / (select extract(epoch from '2026-08-06 21:46:09'::timestamp) - extract(epoch from '2026-08-06 21:45: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'), 48129, 'SRID=4674;POINT (-39.033739 -3.401723)', '2026-08-06 21:46:22', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033646 -3.40171)'), GeomFromEWKT('SRID=4674;POINT (-39.033739 -3.401723)'))) / (select extract(epoch from '2026-08-06 21:46:22'::timestamp) - extract(epoch from '2026-08-06 21:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033646 -3.40171)'), GeomFromEWKT('SRID=4674;POINT (-39.033739 -3.401723)'))) / (select extract(epoch from '2026-08-06 21:46:22'::timestamp) - extract(epoch from '2026-08-06 21:46: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'), 48129, 'SRID=4674;POINT (-39.033787 -3.401744)', '2026-08-06 21:46:29', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033739 -3.401723)'), GeomFromEWKT('SRID=4674;POINT (-39.033787 -3.401744)'))) / (select extract(epoch from '2026-08-06 21:46:29'::timestamp) - extract(epoch from '2026-08-06 21:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033739 -3.401723)'), GeomFromEWKT('SRID=4674;POINT (-39.033787 -3.401744)'))) / (select extract(epoch from '2026-08-06 21:46:29'::timestamp) - extract(epoch from '2026-08-06 21:46: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'), 48129, 'SRID=4674;POINT (-39.033814 -3.401826)', '2026-08-06 21:46:35', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033787 -3.401744)'), GeomFromEWKT('SRID=4674;POINT (-39.033814 -3.401826)'))) / (select extract(epoch from '2026-08-06 21:46:35'::timestamp) - extract(epoch from '2026-08-06 21:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033787 -3.401744)'), GeomFromEWKT('SRID=4674;POINT (-39.033814 -3.401826)'))) / (select extract(epoch from '2026-08-06 21:46:35'::timestamp) - extract(epoch from '2026-08-06 21:46: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'), 48129, 'SRID=4674;POINT (-39.033908 -3.401912)', '2026-08-06 21:46:44', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033814 -3.401826)'), GeomFromEWKT('SRID=4674;POINT (-39.033908 -3.401912)'))) / (select extract(epoch from '2026-08-06 21:46:44'::timestamp) - extract(epoch from '2026-08-06 21:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033814 -3.401826)'), GeomFromEWKT('SRID=4674;POINT (-39.033908 -3.401912)'))) / (select extract(epoch from '2026-08-06 21:46:44'::timestamp) - extract(epoch from '2026-08-06 21:46: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'), 48129, 'SRID=4674;POINT (-39.033958 -3.401977)', '2026-08-06 21:46:52', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033908 -3.401912)'), GeomFromEWKT('SRID=4674;POINT (-39.033958 -3.401977)'))) / (select extract(epoch from '2026-08-06 21:46:52'::timestamp) - extract(epoch from '2026-08-06 21:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033908 -3.401912)'), GeomFromEWKT('SRID=4674;POINT (-39.033958 -3.401977)'))) / (select extract(epoch from '2026-08-06 21:46:52'::timestamp) - extract(epoch from '2026-08-06 21:46: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'), 48129, 'SRID=4674;POINT (-39.033984 -3.40204)', '2026-08-06 21:46:59', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033958 -3.401977)'), GeomFromEWKT('SRID=4674;POINT (-39.033984 -3.40204)'))) / (select extract(epoch from '2026-08-06 21:46:59'::timestamp) - extract(epoch from '2026-08-06 21:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033958 -3.401977)'), GeomFromEWKT('SRID=4674;POINT (-39.033984 -3.40204)'))) / (select extract(epoch from '2026-08-06 21:46:59'::timestamp) - extract(epoch from '2026-08-06 21:46: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'), 48129, 'SRID=4674;POINT (-39.033952 -3.402127)', '2026-08-06 21:47:09', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033984 -3.40204)'), GeomFromEWKT('SRID=4674;POINT (-39.033952 -3.402127)'))) / (select extract(epoch from '2026-08-06 21:47:09'::timestamp) - extract(epoch from '2026-08-06 21:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033984 -3.40204)'), GeomFromEWKT('SRID=4674;POINT (-39.033952 -3.402127)'))) / (select extract(epoch from '2026-08-06 21:47:09'::timestamp) - extract(epoch from '2026-08-06 21:46: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'), 48129, 'SRID=4674;POINT (-39.03392 -3.402197)', '2026-08-06 21:47:17', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033952 -3.402127)'), GeomFromEWKT('SRID=4674;POINT (-39.03392 -3.402197)'))) / (select extract(epoch from '2026-08-06 21:47:17'::timestamp) - extract(epoch from '2026-08-06 21:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033952 -3.402127)'), GeomFromEWKT('SRID=4674;POINT (-39.03392 -3.402197)'))) / (select extract(epoch from '2026-08-06 21:47:17'::timestamp) - extract(epoch from '2026-08-06 21:47: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'), 48129, 'SRID=4674;POINT (-39.033848 -3.40226)', '2026-08-06 21:47:25', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03392 -3.402197)'), GeomFromEWKT('SRID=4674;POINT (-39.033848 -3.40226)'))) / (select extract(epoch from '2026-08-06 21:47:25'::timestamp) - extract(epoch from '2026-08-06 21:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03392 -3.402197)'), GeomFromEWKT('SRID=4674;POINT (-39.033848 -3.40226)'))) / (select extract(epoch from '2026-08-06 21:47:25'::timestamp) - extract(epoch from '2026-08-06 21:47: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'), 48129, 'SRID=4674;POINT (-39.033778 -3.402311)', '2026-08-06 21:47:33', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033848 -3.40226)'), GeomFromEWKT('SRID=4674;POINT (-39.033778 -3.402311)'))) / (select extract(epoch from '2026-08-06 21:47:33'::timestamp) - extract(epoch from '2026-08-06 21:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033848 -3.40226)'), GeomFromEWKT('SRID=4674;POINT (-39.033778 -3.402311)'))) / (select extract(epoch from '2026-08-06 21:47:33'::timestamp) - extract(epoch from '2026-08-06 21:47: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'), 48129, 'SRID=4674;POINT (-39.033739 -3.402329)', '2026-08-06 21:47:39', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033778 -3.402311)'), GeomFromEWKT('SRID=4674;POINT (-39.033739 -3.402329)'))) / (select extract(epoch from '2026-08-06 21:47:39'::timestamp) - extract(epoch from '2026-08-06 21:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033778 -3.402311)'), GeomFromEWKT('SRID=4674;POINT (-39.033739 -3.402329)'))) / (select extract(epoch from '2026-08-06 21:47:39'::timestamp) - extract(epoch from '2026-08-06 21:47: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'), 48129, 'SRID=4674;POINT (-39.033683 -3.402354)', '2026-08-06 21:47:46', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033739 -3.402329)'), GeomFromEWKT('SRID=4674;POINT (-39.033683 -3.402354)'))) / (select extract(epoch from '2026-08-06 21:47:46'::timestamp) - extract(epoch from '2026-08-06 21:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033739 -3.402329)'), GeomFromEWKT('SRID=4674;POINT (-39.033683 -3.402354)'))) / (select extract(epoch from '2026-08-06 21:47:46'::timestamp) - extract(epoch from '2026-08-06 21:47: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'), 48129, 'SRID=4674;POINT (-39.033652 -3.402379)', '2026-08-06 21:47:54', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033683 -3.402354)'), GeomFromEWKT('SRID=4674;POINT (-39.033652 -3.402379)'))) / (select extract(epoch from '2026-08-06 21:47:54'::timestamp) - extract(epoch from '2026-08-06 21:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033683 -3.402354)'), GeomFromEWKT('SRID=4674;POINT (-39.033652 -3.402379)'))) / (select extract(epoch from '2026-08-06 21:47:54'::timestamp) - extract(epoch from '2026-08-06 21:47: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'), 48129, 'SRID=4674;POINT (-39.033652 -3.402384)', '2026-08-06 21:47:55', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033652 -3.402379)'), GeomFromEWKT('SRID=4674;POINT (-39.033652 -3.402384)'))) / (select extract(epoch from '2026-08-06 21:47:55'::timestamp) - extract(epoch from '2026-08-06 21:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033652 -3.402379)'), GeomFromEWKT('SRID=4674;POINT (-39.033652 -3.402384)'))) / (select extract(epoch from '2026-08-06 21:47:55'::timestamp) - extract(epoch from '2026-08-06 21:47: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'), 48129, 'SRID=4674;POINT (-39.033649 -3.402397)', '2026-08-06 21:47:57', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033652 -3.402384)'), GeomFromEWKT('SRID=4674;POINT (-39.033649 -3.402397)'))) / (select extract(epoch from '2026-08-06 21:47:57'::timestamp) - extract(epoch from '2026-08-06 21:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033652 -3.402384)'), GeomFromEWKT('SRID=4674;POINT (-39.033649 -3.402397)'))) / (select extract(epoch from '2026-08-06 21:47:57'::timestamp) - extract(epoch from '2026-08-06 21:47: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'), 48129, 'SRID=4674;POINT (-39.033638 -3.402411)', '2026-08-06 21:47:59', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033649 -3.402397)'), GeomFromEWKT('SRID=4674;POINT (-39.033638 -3.402411)'))) / (select extract(epoch from '2026-08-06 21:47:59'::timestamp) - extract(epoch from '2026-08-06 21:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033649 -3.402397)'), GeomFromEWKT('SRID=4674;POINT (-39.033638 -3.402411)'))) / (select extract(epoch from '2026-08-06 21:47:59'::timestamp) - extract(epoch from '2026-08-06 21:47: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'), 48129, 'SRID=4674;POINT (-39.033596 -3.402449)', '2026-08-06 21:48:06', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033638 -3.402411)'), GeomFromEWKT('SRID=4674;POINT (-39.033596 -3.402449)'))) / (select extract(epoch from '2026-08-06 21:48:06'::timestamp) - extract(epoch from '2026-08-06 21:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033638 -3.402411)'), GeomFromEWKT('SRID=4674;POINT (-39.033596 -3.402449)'))) / (select extract(epoch from '2026-08-06 21:48:06'::timestamp) - extract(epoch from '2026-08-06 21:47: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'), 48129, 'SRID=4674;POINT (-39.033535 -3.402465)', '2026-08-06 21:48:13', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033596 -3.402449)'), GeomFromEWKT('SRID=4674;POINT (-39.033535 -3.402465)'))) / (select extract(epoch from '2026-08-06 21:48:13'::timestamp) - extract(epoch from '2026-08-06 21:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033596 -3.402449)'), GeomFromEWKT('SRID=4674;POINT (-39.033535 -3.402465)'))) / (select extract(epoch from '2026-08-06 21:48:13'::timestamp) - extract(epoch from '2026-08-06 21:48: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'), 48129, 'SRID=4674;POINT (-39.033524 -3.402465)', '2026-08-06 21:48:14', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033535 -3.402465)'), GeomFromEWKT('SRID=4674;POINT (-39.033524 -3.402465)'))) / (select extract(epoch from '2026-08-06 21:48:14'::timestamp) - extract(epoch from '2026-08-06 21:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033535 -3.402465)'), GeomFromEWKT('SRID=4674;POINT (-39.033524 -3.402465)'))) / (select extract(epoch from '2026-08-06 21:48:14'::timestamp) - extract(epoch from '2026-08-06 21:48: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'), 48129, 'SRID=4674;POINT (-39.033516 -3.402468)', '2026-08-06 21:48:15', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033524 -3.402465)'), GeomFromEWKT('SRID=4674;POINT (-39.033516 -3.402468)'))) / (select extract(epoch from '2026-08-06 21:48:15'::timestamp) - extract(epoch from '2026-08-06 21:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033524 -3.402465)'), GeomFromEWKT('SRID=4674;POINT (-39.033516 -3.402468)'))) / (select extract(epoch from '2026-08-06 21:48:15'::timestamp) - extract(epoch from '2026-08-06 21:48: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'), 48129, 'SRID=4674;POINT (-39.033481 -3.402502)', '2026-08-06 21:48:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033516 -3.402468)'), GeomFromEWKT('SRID=4674;POINT (-39.033481 -3.402502)'))) / (select extract(epoch from '2026-08-06 21:48:20'::timestamp) - extract(epoch from '2026-08-06 21:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033516 -3.402468)'), GeomFromEWKT('SRID=4674;POINT (-39.033481 -3.402502)'))) / (select extract(epoch from '2026-08-06 21:48:20'::timestamp) - extract(epoch from '2026-08-06 21:48: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'), 48129, 'SRID=4674;POINT (-39.033431 -3.40254)', '2026-08-06 21:48:27', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033481 -3.402502)'), GeomFromEWKT('SRID=4674;POINT (-39.033431 -3.40254)'))) / (select extract(epoch from '2026-08-06 21:48:27'::timestamp) - extract(epoch from '2026-08-06 21:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033481 -3.402502)'), GeomFromEWKT('SRID=4674;POINT (-39.033431 -3.40254)'))) / (select extract(epoch from '2026-08-06 21:48:27'::timestamp) - extract(epoch from '2026-08-06 21:48: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'), 48129, 'SRID=4674;POINT (-39.033379 -3.402596)', '2026-08-06 21:48:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033431 -3.40254)'), GeomFromEWKT('SRID=4674;POINT (-39.033379 -3.402596)'))) / (select extract(epoch from '2026-08-06 21:48:35'::timestamp) - extract(epoch from '2026-08-06 21:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033431 -3.40254)'), GeomFromEWKT('SRID=4674;POINT (-39.033379 -3.402596)'))) / (select extract(epoch from '2026-08-06 21:48:35'::timestamp) - extract(epoch from '2026-08-06 21:48: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'), 48129, 'SRID=4674;POINT (-39.033318 -3.402647)', '2026-08-06 21:48:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033379 -3.402596)'), GeomFromEWKT('SRID=4674;POINT (-39.033318 -3.402647)'))) / (select extract(epoch from '2026-08-06 21:48:44'::timestamp) - extract(epoch from '2026-08-06 21:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033379 -3.402596)'), GeomFromEWKT('SRID=4674;POINT (-39.033318 -3.402647)'))) / (select extract(epoch from '2026-08-06 21:48:44'::timestamp) - extract(epoch from '2026-08-06 21:48: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'), 48129, 'SRID=4674;POINT (-39.03325 -3.402689)', '2026-08-06 21:48:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033318 -3.402647)'), GeomFromEWKT('SRID=4674;POINT (-39.03325 -3.402689)'))) / (select extract(epoch from '2026-08-06 21:48:52'::timestamp) - extract(epoch from '2026-08-06 21:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033318 -3.402647)'), GeomFromEWKT('SRID=4674;POINT (-39.03325 -3.402689)'))) / (select extract(epoch from '2026-08-06 21:48:52'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.033195 -3.402749)', '2026-08-06 21:48:58', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03325 -3.402689)'), GeomFromEWKT('SRID=4674;POINT (-39.033195 -3.402749)'))) / (select extract(epoch from '2026-08-06 21:48:58'::timestamp) - extract(epoch from '2026-08-06 21:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03325 -3.402689)'), GeomFromEWKT('SRID=4674;POINT (-39.033195 -3.402749)'))) / (select extract(epoch from '2026-08-06 21:48:58'::timestamp) - extract(epoch from '2026-08-06 21:48: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'), 48129, 'SRID=4674;POINT (-39.033118 -3.402827)', '2026-08-06 21:49:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033195 -3.402749)'), GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.402827)'))) / (select extract(epoch from '2026-08-06 21:49:06'::timestamp) - extract(epoch from '2026-08-06 21:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033195 -3.402749)'), GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.402827)'))) / (select extract(epoch from '2026-08-06 21:49:06'::timestamp) - extract(epoch from '2026-08-06 21:48: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'), 48129, 'SRID=4674;POINT (-39.033064 -3.402875)', '2026-08-06 21:49:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.402827)'), GeomFromEWKT('SRID=4674;POINT (-39.033064 -3.402875)'))) / (select extract(epoch from '2026-08-06 21:49:14'::timestamp) - extract(epoch from '2026-08-06 21:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033118 -3.402827)'), GeomFromEWKT('SRID=4674;POINT (-39.033064 -3.402875)'))) / (select extract(epoch from '2026-08-06 21:49:14'::timestamp) - extract(epoch from '2026-08-06 21:49: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'), 48129, 'SRID=4674;POINT (-39.033008 -3.402921)', '2026-08-06 21:49:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033064 -3.402875)'), GeomFromEWKT('SRID=4674;POINT (-39.033008 -3.402921)'))) / (select extract(epoch from '2026-08-06 21:49:21'::timestamp) - extract(epoch from '2026-08-06 21:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033064 -3.402875)'), GeomFromEWKT('SRID=4674;POINT (-39.033008 -3.402921)'))) / (select extract(epoch from '2026-08-06 21:49:21'::timestamp) - extract(epoch from '2026-08-06 21:49: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'), 48129, 'SRID=4674;POINT (-39.032929 -3.402956)', '2026-08-06 21:49:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033008 -3.402921)'), GeomFromEWKT('SRID=4674;POINT (-39.032929 -3.402956)'))) / (select extract(epoch from '2026-08-06 21:49:29'::timestamp) - extract(epoch from '2026-08-06 21:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033008 -3.402921)'), GeomFromEWKT('SRID=4674;POINT (-39.032929 -3.402956)'))) / (select extract(epoch from '2026-08-06 21:49:29'::timestamp) - extract(epoch from '2026-08-06 21:49: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'), 48129, 'SRID=4674;POINT (-39.032857 -3.403001)', '2026-08-06 21:49:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032929 -3.402956)'), GeomFromEWKT('SRID=4674;POINT (-39.032857 -3.403001)'))) / (select extract(epoch from '2026-08-06 21:49:36'::timestamp) - extract(epoch from '2026-08-06 21:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032929 -3.402956)'), GeomFromEWKT('SRID=4674;POINT (-39.032857 -3.403001)'))) / (select extract(epoch from '2026-08-06 21:49:36'::timestamp) - extract(epoch from '2026-08-06 21:49: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'), 48129, 'SRID=4674;POINT (-39.032779 -3.403031)', '2026-08-06 21:49:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032857 -3.403001)'), GeomFromEWKT('SRID=4674;POINT (-39.032779 -3.403031)'))) / (select extract(epoch from '2026-08-06 21:49:42'::timestamp) - extract(epoch from '2026-08-06 21:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032857 -3.403001)'), GeomFromEWKT('SRID=4674;POINT (-39.032779 -3.403031)'))) / (select extract(epoch from '2026-08-06 21:49:42'::timestamp) - extract(epoch from '2026-08-06 21:49: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'), 48129, 'SRID=4674;POINT (-39.032719 -3.403066)', '2026-08-06 21:49:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032779 -3.403031)'), GeomFromEWKT('SRID=4674;POINT (-39.032719 -3.403066)'))) / (select extract(epoch from '2026-08-06 21:49:49'::timestamp) - extract(epoch from '2026-08-06 21:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032779 -3.403031)'), GeomFromEWKT('SRID=4674;POINT (-39.032719 -3.403066)'))) / (select extract(epoch from '2026-08-06 21:49:49'::timestamp) - extract(epoch from '2026-08-06 21:49: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'), 48129, 'SRID=4674;POINT (-39.032712 -3.403073)', '2026-08-06 21:49:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032719 -3.403066)'), GeomFromEWKT('SRID=4674;POINT (-39.032712 -3.403073)'))) / (select extract(epoch from '2026-08-06 21:49:50'::timestamp) - extract(epoch from '2026-08-06 21:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032719 -3.403066)'), GeomFromEWKT('SRID=4674;POINT (-39.032712 -3.403073)'))) / (select extract(epoch from '2026-08-06 21:49:50'::timestamp) - extract(epoch from '2026-08-06 21:49: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'), 48129, 'SRID=4674;POINT (-39.032662 -3.403102)', '2026-08-06 21:49:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032712 -3.403073)'), GeomFromEWKT('SRID=4674;POINT (-39.032662 -3.403102)'))) / (select extract(epoch from '2026-08-06 21:49:55'::timestamp) - extract(epoch from '2026-08-06 21:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032712 -3.403073)'), GeomFromEWKT('SRID=4674;POINT (-39.032662 -3.403102)'))) / (select extract(epoch from '2026-08-06 21:49:55'::timestamp) - extract(epoch from '2026-08-06 21:49: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'), 48129, 'SRID=4674;POINT (-39.032589 -3.403119)', '2026-08-06 21:50:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032662 -3.403102)'), GeomFromEWKT('SRID=4674;POINT (-39.032589 -3.403119)'))) / (select extract(epoch from '2026-08-06 21:50:01'::timestamp) - extract(epoch from '2026-08-06 21:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032662 -3.403102)'), GeomFromEWKT('SRID=4674;POINT (-39.032589 -3.403119)'))) / (select extract(epoch from '2026-08-06 21:50:01'::timestamp) - extract(epoch from '2026-08-06 21:49: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'), 48129, 'SRID=4674;POINT (-39.032488 -3.403157)', '2026-08-06 21:50:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032589 -3.403119)'), GeomFromEWKT('SRID=4674;POINT (-39.032488 -3.403157)'))) / (select extract(epoch from '2026-08-06 21:50:08'::timestamp) - extract(epoch from '2026-08-06 21:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032589 -3.403119)'), GeomFromEWKT('SRID=4674;POINT (-39.032488 -3.403157)'))) / (select extract(epoch from '2026-08-06 21:50:08'::timestamp) - extract(epoch from '2026-08-06 21:50: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'), 48129, 'SRID=4674;POINT (-39.032376 -3.403212)', '2026-08-06 21:50:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032488 -3.403157)'), GeomFromEWKT('SRID=4674;POINT (-39.032376 -3.403212)'))) / (select extract(epoch from '2026-08-06 21:50:16'::timestamp) - extract(epoch from '2026-08-06 21:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032488 -3.403157)'), GeomFromEWKT('SRID=4674;POINT (-39.032376 -3.403212)'))) / (select extract(epoch from '2026-08-06 21:50:16'::timestamp) - extract(epoch from '2026-08-06 21:50: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'), 48129, 'SRID=4674;POINT (-39.032304 -3.403255)', '2026-08-06 21:50:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032376 -3.403212)'), GeomFromEWKT('SRID=4674;POINT (-39.032304 -3.403255)'))) / (select extract(epoch from '2026-08-06 21:50:23'::timestamp) - extract(epoch from '2026-08-06 21:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032376 -3.403212)'), GeomFromEWKT('SRID=4674;POINT (-39.032304 -3.403255)'))) / (select extract(epoch from '2026-08-06 21:50:23'::timestamp) - extract(epoch from '2026-08-06 21:50: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'), 48129, 'SRID=4674;POINT (-39.032239 -3.403282)', '2026-08-06 21:50:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032304 -3.403255)'), GeomFromEWKT('SRID=4674;POINT (-39.032239 -3.403282)'))) / (select extract(epoch from '2026-08-06 21:50:30'::timestamp) - extract(epoch from '2026-08-06 21:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032304 -3.403255)'), GeomFromEWKT('SRID=4674;POINT (-39.032239 -3.403282)'))) / (select extract(epoch from '2026-08-06 21:50:30'::timestamp) - extract(epoch from '2026-08-06 21: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'), 48129, 'SRID=4674;POINT (-39.032159 -3.403299)', '2026-08-06 21:50:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032239 -3.403282)'), GeomFromEWKT('SRID=4674;POINT (-39.032159 -3.403299)'))) / (select extract(epoch from '2026-08-06 21:50:36'::timestamp) - extract(epoch from '2026-08-06 21:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032239 -3.403282)'), GeomFromEWKT('SRID=4674;POINT (-39.032159 -3.403299)'))) / (select extract(epoch from '2026-08-06 21:50:36'::timestamp) - extract(epoch from '2026-08-06 21:50: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'), 48129, 'SRID=4674;POINT (-39.032046 -3.40334)', '2026-08-06 21:50:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032159 -3.403299)'), GeomFromEWKT('SRID=4674;POINT (-39.032046 -3.40334)'))) / (select extract(epoch from '2026-08-06 21:50:44'::timestamp) - extract(epoch from '2026-08-06 21:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032159 -3.403299)'), GeomFromEWKT('SRID=4674;POINT (-39.032046 -3.40334)'))) / (select extract(epoch from '2026-08-06 21:50:44'::timestamp) - extract(epoch from '2026-08-06 21:50: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'), 48129, 'SRID=4674;POINT (-39.031949 -3.403389)', '2026-08-06 21:50:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032046 -3.40334)'), GeomFromEWKT('SRID=4674;POINT (-39.031949 -3.403389)'))) / (select extract(epoch from '2026-08-06 21:50:51'::timestamp) - extract(epoch from '2026-08-06 21:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032046 -3.40334)'), GeomFromEWKT('SRID=4674;POINT (-39.031949 -3.403389)'))) / (select extract(epoch from '2026-08-06 21:50:51'::timestamp) - extract(epoch from '2026-08-06 21:50: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'), 48129, 'SRID=4674;POINT (-39.031847 -3.403431)', '2026-08-06 21:50:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031949 -3.403389)'), GeomFromEWKT('SRID=4674;POINT (-39.031847 -3.403431)'))) / (select extract(epoch from '2026-08-06 21:50:59'::timestamp) - extract(epoch from '2026-08-06 21:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031949 -3.403389)'), GeomFromEWKT('SRID=4674;POINT (-39.031847 -3.403431)'))) / (select extract(epoch from '2026-08-06 21:50:59'::timestamp) - extract(epoch from '2026-08-06 21:50: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'), 48129, 'SRID=4674;POINT (-39.03175 -3.403474)', '2026-08-06 21:51:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031847 -3.403431)'), GeomFromEWKT('SRID=4674;POINT (-39.03175 -3.403474)'))) / (select extract(epoch from '2026-08-06 21:51:07'::timestamp) - extract(epoch from '2026-08-06 21:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031847 -3.403431)'), GeomFromEWKT('SRID=4674;POINT (-39.03175 -3.403474)'))) / (select extract(epoch from '2026-08-06 21:51:07'::timestamp) - extract(epoch from '2026-08-06 21:50: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'), 48129, 'SRID=4674;POINT (-39.031655 -3.403506)', '2026-08-06 21:51:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03175 -3.403474)'), GeomFromEWKT('SRID=4674;POINT (-39.031655 -3.403506)'))) / (select extract(epoch from '2026-08-06 21:51:15'::timestamp) - extract(epoch from '2026-08-06 21:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03175 -3.403474)'), GeomFromEWKT('SRID=4674;POINT (-39.031655 -3.403506)'))) / (select extract(epoch from '2026-08-06 21:51:15'::timestamp) - extract(epoch from '2026-08-06 21:51: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'), 48129, 'SRID=4674;POINT (-39.031574 -3.403548)', '2026-08-06 21:51:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031655 -3.403506)'), GeomFromEWKT('SRID=4674;POINT (-39.031574 -3.403548)'))) / (select extract(epoch from '2026-08-06 21:51:22'::timestamp) - extract(epoch from '2026-08-06 21:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031655 -3.403506)'), GeomFromEWKT('SRID=4674;POINT (-39.031574 -3.403548)'))) / (select extract(epoch from '2026-08-06 21:51:22'::timestamp) - extract(epoch from '2026-08-06 21:51: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'), 48129, 'SRID=4674;POINT (-39.031494 -3.403575)', '2026-08-06 21:51:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031574 -3.403548)'), GeomFromEWKT('SRID=4674;POINT (-39.031494 -3.403575)'))) / (select extract(epoch from '2026-08-06 21:51:29'::timestamp) - extract(epoch from '2026-08-06 21:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031574 -3.403548)'), GeomFromEWKT('SRID=4674;POINT (-39.031494 -3.403575)'))) / (select extract(epoch from '2026-08-06 21:51:29'::timestamp) - extract(epoch from '2026-08-06 21:51: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'), 48129, 'SRID=4674;POINT (-39.031395 -3.403615)', '2026-08-06 21:51:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031494 -3.403575)'), GeomFromEWKT('SRID=4674;POINT (-39.031395 -3.403615)'))) / (select extract(epoch from '2026-08-06 21:51:37'::timestamp) - extract(epoch from '2026-08-06 21:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031494 -3.403575)'), GeomFromEWKT('SRID=4674;POINT (-39.031395 -3.403615)'))) / (select extract(epoch from '2026-08-06 21:51:37'::timestamp) - extract(epoch from '2026-08-06 21:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
