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'), 46819, 'SRID=4674;POINT (-39.687884 -2.910506)', '2026-06-27 12:13:38', 24, 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'), 46819, 'SRID=4674;POINT (-39.687964 -2.910438)', '2026-06-27 12:13:42', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687884 -2.910506)'), GeomFromEWKT('SRID=4674;POINT (-39.687964 -2.910438)'))) / (select extract(epoch from '2026-06-27 12:13:42'::timestamp) - extract(epoch from '2026-06-27 12:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687884 -2.910506)'), GeomFromEWKT('SRID=4674;POINT (-39.687964 -2.910438)'))) / (select extract(epoch from '2026-06-27 12:13:42'::timestamp) - extract(epoch from '2026-06-27 12:13: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'), 46819, 'SRID=4674;POINT (-39.688133 -2.910317)', '2026-06-27 12:13:48', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687964 -2.910438)'), GeomFromEWKT('SRID=4674;POINT (-39.688133 -2.910317)'))) / (select extract(epoch from '2026-06-27 12:13:48'::timestamp) - extract(epoch from '2026-06-27 12:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687964 -2.910438)'), GeomFromEWKT('SRID=4674;POINT (-39.688133 -2.910317)'))) / (select extract(epoch from '2026-06-27 12:13:48'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.688246 -2.910265)', '2026-06-27 12:13:53', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688133 -2.910317)'), GeomFromEWKT('SRID=4674;POINT (-39.688246 -2.910265)'))) / (select extract(epoch from '2026-06-27 12:13:53'::timestamp) - extract(epoch from '2026-06-27 12:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688133 -2.910317)'), GeomFromEWKT('SRID=4674;POINT (-39.688246 -2.910265)'))) / (select extract(epoch from '2026-06-27 12:13:53'::timestamp) - extract(epoch from '2026-06-27 12:13: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'), 46819, 'SRID=4674;POINT (-39.688455 -2.910243)', '2026-06-27 12:14:00', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688246 -2.910265)'), GeomFromEWKT('SRID=4674;POINT (-39.688455 -2.910243)'))) / (select extract(epoch from '2026-06-27 12:14:00'::timestamp) - extract(epoch from '2026-06-27 12:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688246 -2.910265)'), GeomFromEWKT('SRID=4674;POINT (-39.688455 -2.910243)'))) / (select extract(epoch from '2026-06-27 12:14:00'::timestamp) - extract(epoch from '2026-06-27 12:13: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'), 46819, 'SRID=4674;POINT (-39.688625 -2.910212)', '2026-06-27 12:14:06', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688455 -2.910243)'), GeomFromEWKT('SRID=4674;POINT (-39.688625 -2.910212)'))) / (select extract(epoch from '2026-06-27 12:14:06'::timestamp) - extract(epoch from '2026-06-27 12:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688455 -2.910243)'), GeomFromEWKT('SRID=4674;POINT (-39.688625 -2.910212)'))) / (select extract(epoch from '2026-06-27 12:14:06'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46819, 'SRID=4674;POINT (-39.688817 -2.910141)', '2026-06-27 12:14:13', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688625 -2.910212)'), GeomFromEWKT('SRID=4674;POINT (-39.688817 -2.910141)'))) / (select extract(epoch from '2026-06-27 12:14:13'::timestamp) - extract(epoch from '2026-06-27 12:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688625 -2.910212)'), GeomFromEWKT('SRID=4674;POINT (-39.688817 -2.910141)'))) / (select extract(epoch from '2026-06-27 12:14:13'::timestamp) - extract(epoch from '2026-06-27 12:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.688986 -2.91004)', '2026-06-27 12:14:19', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688817 -2.910141)'), GeomFromEWKT('SRID=4674;POINT (-39.688986 -2.91004)'))) / (select extract(epoch from '2026-06-27 12:14:19'::timestamp) - extract(epoch from '2026-06-27 12:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688817 -2.910141)'), GeomFromEWKT('SRID=4674;POINT (-39.688986 -2.91004)'))) / (select extract(epoch from '2026-06-27 12:14:19'::timestamp) - extract(epoch from '2026-06-27 12:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.689077 -2.910013)', '2026-06-27 12:14:22', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688986 -2.91004)'), GeomFromEWKT('SRID=4674;POINT (-39.689077 -2.910013)'))) / (select extract(epoch from '2026-06-27 12:14:22'::timestamp) - extract(epoch from '2026-06-27 12:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688986 -2.91004)'), GeomFromEWKT('SRID=4674;POINT (-39.689077 -2.910013)'))) / (select extract(epoch from '2026-06-27 12:14:22'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46819, 'SRID=4674;POINT (-39.68925 -2.909948)', '2026-06-27 12:14:27', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689077 -2.910013)'), GeomFromEWKT('SRID=4674;POINT (-39.68925 -2.909948)'))) / (select extract(epoch from '2026-06-27 12:14:27'::timestamp) - extract(epoch from '2026-06-27 12:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689077 -2.910013)'), GeomFromEWKT('SRID=4674;POINT (-39.68925 -2.909948)'))) / (select extract(epoch from '2026-06-27 12:14:27'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46819, 'SRID=4674;POINT (-39.689468 -2.909921)', '2026-06-27 12:14:33', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68925 -2.909948)'), GeomFromEWKT('SRID=4674;POINT (-39.689468 -2.909921)'))) / (select extract(epoch from '2026-06-27 12:14:33'::timestamp) - extract(epoch from '2026-06-27 12:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68925 -2.909948)'), GeomFromEWKT('SRID=4674;POINT (-39.689468 -2.909921)'))) / (select extract(epoch from '2026-06-27 12:14:33'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46819, 'SRID=4674;POINT (-39.689574 -2.909886)', '2026-06-27 12:14:36', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689468 -2.909921)'), GeomFromEWKT('SRID=4674;POINT (-39.689574 -2.909886)'))) / (select extract(epoch from '2026-06-27 12:14:36'::timestamp) - extract(epoch from '2026-06-27 12:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689468 -2.909921)'), GeomFromEWKT('SRID=4674;POINT (-39.689574 -2.909886)'))) / (select extract(epoch from '2026-06-27 12:14:36'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46819, 'SRID=4674;POINT (-39.689778 -2.909904)', '2026-06-27 12:14:43', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689574 -2.909886)'), GeomFromEWKT('SRID=4674;POINT (-39.689778 -2.909904)'))) / (select extract(epoch from '2026-06-27 12:14:43'::timestamp) - extract(epoch from '2026-06-27 12:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689574 -2.909886)'), GeomFromEWKT('SRID=4674;POINT (-39.689778 -2.909904)'))) / (select extract(epoch from '2026-06-27 12:14:43'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46819, 'SRID=4674;POINT (-39.689943 -2.909908)', '2026-06-27 12:14:49', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689778 -2.909904)'), GeomFromEWKT('SRID=4674;POINT (-39.689943 -2.909908)'))) / (select extract(epoch from '2026-06-27 12:14:49'::timestamp) - extract(epoch from '2026-06-27 12:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689778 -2.909904)'), GeomFromEWKT('SRID=4674;POINT (-39.689943 -2.909908)'))) / (select extract(epoch from '2026-06-27 12:14:49'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46819, 'SRID=4674;POINT (-39.690131 -2.909891)', '2026-06-27 12:14:55', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689943 -2.909908)'), GeomFromEWKT('SRID=4674;POINT (-39.690131 -2.909891)'))) / (select extract(epoch from '2026-06-27 12:14:55'::timestamp) - extract(epoch from '2026-06-27 12:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689943 -2.909908)'), GeomFromEWKT('SRID=4674;POINT (-39.690131 -2.909891)'))) / (select extract(epoch from '2026-06-27 12:14:55'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.690317 -2.909939)', '2026-06-27 12:15:01', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690131 -2.909891)'), GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.909939)'))) / (select extract(epoch from '2026-06-27 12:15:01'::timestamp) - extract(epoch from '2026-06-27 12:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690131 -2.909891)'), GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.909939)'))) / (select extract(epoch from '2026-06-27 12:15:01'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46819, 'SRID=4674;POINT (-39.690348 -2.909946)', '2026-06-27 12:15:02', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.909939)'), GeomFromEWKT('SRID=4674;POINT (-39.690348 -2.909946)'))) / (select extract(epoch from '2026-06-27 12:15:02'::timestamp) - extract(epoch from '2026-06-27 12:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.909939)'), GeomFromEWKT('SRID=4674;POINT (-39.690348 -2.909946)'))) / (select extract(epoch from '2026-06-27 12:15:02'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46819, 'SRID=4674;POINT (-39.690529 -2.909972)', '2026-06-27 12:15:07', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690348 -2.909946)'), GeomFromEWKT('SRID=4674;POINT (-39.690529 -2.909972)'))) / (select extract(epoch from '2026-06-27 12:15:07'::timestamp) - extract(epoch from '2026-06-27 12:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690348 -2.909946)'), GeomFromEWKT('SRID=4674;POINT (-39.690529 -2.909972)'))) / (select extract(epoch from '2026-06-27 12:15:07'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46819, 'SRID=4674;POINT (-39.690712 -2.910012)', '2026-06-27 12:15:13', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690529 -2.909972)'), GeomFromEWKT('SRID=4674;POINT (-39.690712 -2.910012)'))) / (select extract(epoch from '2026-06-27 12:15:13'::timestamp) - extract(epoch from '2026-06-27 12:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690529 -2.909972)'), GeomFromEWKT('SRID=4674;POINT (-39.690712 -2.910012)'))) / (select extract(epoch from '2026-06-27 12:15:13'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46819, 'SRID=4674;POINT (-39.690845 -2.910063)', '2026-06-27 12:15:18', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690712 -2.910012)'), GeomFromEWKT('SRID=4674;POINT (-39.690845 -2.910063)'))) / (select extract(epoch from '2026-06-27 12:15:18'::timestamp) - extract(epoch from '2026-06-27 12:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690712 -2.910012)'), GeomFromEWKT('SRID=4674;POINT (-39.690845 -2.910063)'))) / (select extract(epoch from '2026-06-27 12:15:18'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46819, 'SRID=4674;POINT (-39.69103 -2.910106)', '2026-06-27 12:15:25', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690845 -2.910063)'), GeomFromEWKT('SRID=4674;POINT (-39.69103 -2.910106)'))) / (select extract(epoch from '2026-06-27 12:15:25'::timestamp) - extract(epoch from '2026-06-27 12:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690845 -2.910063)'), GeomFromEWKT('SRID=4674;POINT (-39.69103 -2.910106)'))) / (select extract(epoch from '2026-06-27 12:15:25'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.691213 -2.910132)', '2026-06-27 12:15:33', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69103 -2.910106)'), GeomFromEWKT('SRID=4674;POINT (-39.691213 -2.910132)'))) / (select extract(epoch from '2026-06-27 12:15:33'::timestamp) - extract(epoch from '2026-06-27 12:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69103 -2.910106)'), GeomFromEWKT('SRID=4674;POINT (-39.691213 -2.910132)'))) / (select extract(epoch from '2026-06-27 12:15:33'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.691313 -2.910122)', '2026-06-27 12:15:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691213 -2.910132)'), GeomFromEWKT('SRID=4674;POINT (-39.691313 -2.910122)'))) / (select extract(epoch from '2026-06-27 12:15:37'::timestamp) - extract(epoch from '2026-06-27 12:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691213 -2.910132)'), GeomFromEWKT('SRID=4674;POINT (-39.691313 -2.910122)'))) / (select extract(epoch from '2026-06-27 12:15:37'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46819, 'SRID=4674;POINT (-39.691484 -2.909988)', '2026-06-27 12:15:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691313 -2.910122)'), GeomFromEWKT('SRID=4674;POINT (-39.691484 -2.909988)'))) / (select extract(epoch from '2026-06-27 12:15:45'::timestamp) - extract(epoch from '2026-06-27 12:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691313 -2.910122)'), GeomFromEWKT('SRID=4674;POINT (-39.691484 -2.909988)'))) / (select extract(epoch from '2026-06-27 12:15:45'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46819, 'SRID=4674;POINT (-39.691506 -2.909982)', '2026-06-27 12:15:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691484 -2.909988)'), GeomFromEWKT('SRID=4674;POINT (-39.691506 -2.909982)'))) / (select extract(epoch from '2026-06-27 12:15:46'::timestamp) - extract(epoch from '2026-06-27 12:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691484 -2.909988)'), GeomFromEWKT('SRID=4674;POINT (-39.691506 -2.909982)'))) / (select extract(epoch from '2026-06-27 12:15:46'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46819, 'SRID=4674;POINT (-39.691683 -2.909875)', '2026-06-27 12:15:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691506 -2.909982)'), GeomFromEWKT('SRID=4674;POINT (-39.691683 -2.909875)'))) / (select extract(epoch from '2026-06-27 12:15:53'::timestamp) - extract(epoch from '2026-06-27 12:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691506 -2.909982)'), GeomFromEWKT('SRID=4674;POINT (-39.691683 -2.909875)'))) / (select extract(epoch from '2026-06-27 12:15:53'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46819, 'SRID=4674;POINT (-39.691831 -2.909809)', '2026-06-27 12:15:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691683 -2.909875)'), GeomFromEWKT('SRID=4674;POINT (-39.691831 -2.909809)'))) / (select extract(epoch from '2026-06-27 12:15:59'::timestamp) - extract(epoch from '2026-06-27 12:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691683 -2.909875)'), GeomFromEWKT('SRID=4674;POINT (-39.691831 -2.909809)'))) / (select extract(epoch from '2026-06-27 12:15:59'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46819, 'SRID=4674;POINT (-39.692008 -2.909682)', '2026-06-27 12:16:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691831 -2.909809)'), GeomFromEWKT('SRID=4674;POINT (-39.692008 -2.909682)'))) / (select extract(epoch from '2026-06-27 12:16:05'::timestamp) - extract(epoch from '2026-06-27 12:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691831 -2.909809)'), GeomFromEWKT('SRID=4674;POINT (-39.692008 -2.909682)'))) / (select extract(epoch from '2026-06-27 12:16:05'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46819, 'SRID=4674;POINT (-39.692169 -2.909645)', '2026-06-27 12:16:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692008 -2.909682)'), GeomFromEWKT('SRID=4674;POINT (-39.692169 -2.909645)'))) / (select extract(epoch from '2026-06-27 12:16:10'::timestamp) - extract(epoch from '2026-06-27 12:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692008 -2.909682)'), GeomFromEWKT('SRID=4674;POINT (-39.692169 -2.909645)'))) / (select extract(epoch from '2026-06-27 12:16:10'::timestamp) - extract(epoch from '2026-06-27 12:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.692361 -2.909636)', '2026-06-27 12:16:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692169 -2.909645)'), GeomFromEWKT('SRID=4674;POINT (-39.692361 -2.909636)'))) / (select extract(epoch from '2026-06-27 12:16:16'::timestamp) - extract(epoch from '2026-06-27 12:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692169 -2.909645)'), GeomFromEWKT('SRID=4674;POINT (-39.692361 -2.909636)'))) / (select extract(epoch from '2026-06-27 12:16:16'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46819, 'SRID=4674;POINT (-39.692448 -2.909651)', '2026-06-27 12:16:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692361 -2.909636)'), GeomFromEWKT('SRID=4674;POINT (-39.692448 -2.909651)'))) / (select extract(epoch from '2026-06-27 12:16:19'::timestamp) - extract(epoch from '2026-06-27 12:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692361 -2.909636)'), GeomFromEWKT('SRID=4674;POINT (-39.692448 -2.909651)'))) / (select extract(epoch from '2026-06-27 12:16:19'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46819, 'SRID=4674;POINT (-39.692655 -2.909691)', '2026-06-27 12:16:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692448 -2.909651)'), GeomFromEWKT('SRID=4674;POINT (-39.692655 -2.909691)'))) / (select extract(epoch from '2026-06-27 12:16:26'::timestamp) - extract(epoch from '2026-06-27 12:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692448 -2.909651)'), GeomFromEWKT('SRID=4674;POINT (-39.692655 -2.909691)'))) / (select extract(epoch from '2026-06-27 12:16:26'::timestamp) - extract(epoch from '2026-06-27 12:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.692738 -2.909709)', '2026-06-27 12:16:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692655 -2.909691)'), GeomFromEWKT('SRID=4674;POINT (-39.692738 -2.909709)'))) / (select extract(epoch from '2026-06-27 12:16:29'::timestamp) - extract(epoch from '2026-06-27 12:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692655 -2.909691)'), GeomFromEWKT('SRID=4674;POINT (-39.692738 -2.909709)'))) / (select extract(epoch from '2026-06-27 12:16:29'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46819, 'SRID=4674;POINT (-39.692933 -2.90974)', '2026-06-27 12:16:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692738 -2.909709)'), GeomFromEWKT('SRID=4674;POINT (-39.692933 -2.90974)'))) / (select extract(epoch from '2026-06-27 12:16:36'::timestamp) - extract(epoch from '2026-06-27 12:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692738 -2.909709)'), GeomFromEWKT('SRID=4674;POINT (-39.692933 -2.90974)'))) / (select extract(epoch from '2026-06-27 12:16:36'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46819, 'SRID=4674;POINT (-39.692992 -2.909749)', '2026-06-27 12:16:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692933 -2.90974)'), GeomFromEWKT('SRID=4674;POINT (-39.692992 -2.909749)'))) / (select extract(epoch from '2026-06-27 12:16:38'::timestamp) - extract(epoch from '2026-06-27 12:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692933 -2.90974)'), GeomFromEWKT('SRID=4674;POINT (-39.692992 -2.909749)'))) / (select extract(epoch from '2026-06-27 12:16:38'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.693172 -2.909769)', '2026-06-27 12:16:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692992 -2.909749)'), GeomFromEWKT('SRID=4674;POINT (-39.693172 -2.909769)'))) / (select extract(epoch from '2026-06-27 12:16:44'::timestamp) - extract(epoch from '2026-06-27 12:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692992 -2.909749)'), GeomFromEWKT('SRID=4674;POINT (-39.693172 -2.909769)'))) / (select extract(epoch from '2026-06-27 12:16:44'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46819, 'SRID=4674;POINT (-39.693272 -2.909784)', '2026-06-27 12:16:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693172 -2.909769)'), GeomFromEWKT('SRID=4674;POINT (-39.693272 -2.909784)'))) / (select extract(epoch from '2026-06-27 12:16:47'::timestamp) - extract(epoch from '2026-06-27 12:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693172 -2.909769)'), GeomFromEWKT('SRID=4674;POINT (-39.693272 -2.909784)'))) / (select extract(epoch from '2026-06-27 12:16:47'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46819, 'SRID=4674;POINT (-39.69347 -2.909809)', '2026-06-27 12:16:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693272 -2.909784)'), GeomFromEWKT('SRID=4674;POINT (-39.69347 -2.909809)'))) / (select extract(epoch from '2026-06-27 12:16:54'::timestamp) - extract(epoch from '2026-06-27 12:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693272 -2.909784)'), GeomFromEWKT('SRID=4674;POINT (-39.69347 -2.909809)'))) / (select extract(epoch from '2026-06-27 12:16:54'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46819, 'SRID=4674;POINT (-39.693493 -2.909818)', '2026-06-27 12:16:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69347 -2.909809)'), GeomFromEWKT('SRID=4674;POINT (-39.693493 -2.909818)'))) / (select extract(epoch from '2026-06-27 12:16:55'::timestamp) - extract(epoch from '2026-06-27 12:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69347 -2.909809)'), GeomFromEWKT('SRID=4674;POINT (-39.693493 -2.909818)'))) / (select extract(epoch from '2026-06-27 12:16:55'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46819, 'SRID=4674;POINT (-39.693677 -2.909849)', '2026-06-27 12:17:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693493 -2.909818)'), GeomFromEWKT('SRID=4674;POINT (-39.693677 -2.909849)'))) / (select extract(epoch from '2026-06-27 12:17:01'::timestamp) - extract(epoch from '2026-06-27 12:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693493 -2.909818)'), GeomFromEWKT('SRID=4674;POINT (-39.693677 -2.909849)'))) / (select extract(epoch from '2026-06-27 12:17:01'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46819, 'SRID=4674;POINT (-39.693741 -2.909852)', '2026-06-27 12:17:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693677 -2.909849)'), GeomFromEWKT('SRID=4674;POINT (-39.693741 -2.909852)'))) / (select extract(epoch from '2026-06-27 12:17:03'::timestamp) - extract(epoch from '2026-06-27 12:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693677 -2.909849)'), GeomFromEWKT('SRID=4674;POINT (-39.693741 -2.909852)'))) / (select extract(epoch from '2026-06-27 12:17:03'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46819, 'SRID=4674;POINT (-39.693961 -2.909861)', '2026-06-27 12:17:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693741 -2.909852)'), GeomFromEWKT('SRID=4674;POINT (-39.693961 -2.909861)'))) / (select extract(epoch from '2026-06-27 12:17:10'::timestamp) - extract(epoch from '2026-06-27 12:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693741 -2.909852)'), GeomFromEWKT('SRID=4674;POINT (-39.693961 -2.909861)'))) / (select extract(epoch from '2026-06-27 12:17:10'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.693999 -2.90987)', '2026-06-27 12:17:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693961 -2.909861)'), GeomFromEWKT('SRID=4674;POINT (-39.693999 -2.90987)'))) / (select extract(epoch from '2026-06-27 12:17:11'::timestamp) - extract(epoch from '2026-06-27 12:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693961 -2.909861)'), GeomFromEWKT('SRID=4674;POINT (-39.693999 -2.90987)'))) / (select extract(epoch from '2026-06-27 12:17:11'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46819, 'SRID=4674;POINT (-39.694201 -2.909916)', '2026-06-27 12:17:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693999 -2.90987)'), GeomFromEWKT('SRID=4674;POINT (-39.694201 -2.909916)'))) / (select extract(epoch from '2026-06-27 12:17:17'::timestamp) - extract(epoch from '2026-06-27 12:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693999 -2.90987)'), GeomFromEWKT('SRID=4674;POINT (-39.694201 -2.909916)'))) / (select extract(epoch from '2026-06-27 12:17:17'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46819, 'SRID=4674;POINT (-39.694297 -2.909939)', '2026-06-27 12:17:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694201 -2.909916)'), GeomFromEWKT('SRID=4674;POINT (-39.694297 -2.909939)'))) / (select extract(epoch from '2026-06-27 12:17:20'::timestamp) - extract(epoch from '2026-06-27 12:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694201 -2.909916)'), GeomFromEWKT('SRID=4674;POINT (-39.694297 -2.909939)'))) / (select extract(epoch from '2026-06-27 12:17:20'::timestamp) - extract(epoch from '2026-06-27 12:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.694468 -2.910012)', '2026-06-27 12:17:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694297 -2.909939)'), GeomFromEWKT('SRID=4674;POINT (-39.694468 -2.910012)'))) / (select extract(epoch from '2026-06-27 12:17:26'::timestamp) - extract(epoch from '2026-06-27 12:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694297 -2.909939)'), GeomFromEWKT('SRID=4674;POINT (-39.694468 -2.910012)'))) / (select extract(epoch from '2026-06-27 12:17:26'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46819, 'SRID=4674;POINT (-39.694534 -2.910021)', '2026-06-27 12:17:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694468 -2.910012)'), GeomFromEWKT('SRID=4674;POINT (-39.694534 -2.910021)'))) / (select extract(epoch from '2026-06-27 12:17:28'::timestamp) - extract(epoch from '2026-06-27 12:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694468 -2.910012)'), GeomFromEWKT('SRID=4674;POINT (-39.694534 -2.910021)'))) / (select extract(epoch from '2026-06-27 12:17:28'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46819, 'SRID=4674;POINT (-39.694731 -2.910041)', '2026-06-27 12:17:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694534 -2.910021)'), GeomFromEWKT('SRID=4674;POINT (-39.694731 -2.910041)'))) / (select extract(epoch from '2026-06-27 12:17:35'::timestamp) - extract(epoch from '2026-06-27 12:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694534 -2.910021)'), GeomFromEWKT('SRID=4674;POINT (-39.694731 -2.910041)'))) / (select extract(epoch from '2026-06-27 12:17:35'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46819, 'SRID=4674;POINT (-39.694761 -2.910037)', '2026-06-27 12:17:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694731 -2.910041)'), GeomFromEWKT('SRID=4674;POINT (-39.694761 -2.910037)'))) / (select extract(epoch from '2026-06-27 12:17:36'::timestamp) - extract(epoch from '2026-06-27 12:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694731 -2.910041)'), GeomFromEWKT('SRID=4674;POINT (-39.694761 -2.910037)'))) / (select extract(epoch from '2026-06-27 12:17:36'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46819, 'SRID=4674;POINT (-39.694895 -2.909969)', '2026-06-27 12:17:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694761 -2.910037)'), GeomFromEWKT('SRID=4674;POINT (-39.694895 -2.909969)'))) / (select extract(epoch from '2026-06-27 12:17:42'::timestamp) - extract(epoch from '2026-06-27 12:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694761 -2.910037)'), GeomFromEWKT('SRID=4674;POINT (-39.694895 -2.909969)'))) / (select extract(epoch from '2026-06-27 12:17:42'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46819, 'SRID=4674;POINT (-39.695041 -2.909943)', '2026-06-27 12:17:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694895 -2.909969)'), GeomFromEWKT('SRID=4674;POINT (-39.695041 -2.909943)'))) / (select extract(epoch from '2026-06-27 12:17:48'::timestamp) - extract(epoch from '2026-06-27 12:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694895 -2.909969)'), GeomFromEWKT('SRID=4674;POINT (-39.695041 -2.909943)'))) / (select extract(epoch from '2026-06-27 12:17:48'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46819, 'SRID=4674;POINT (-39.695235 -2.909932)', '2026-06-27 12:17:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695041 -2.909943)'), GeomFromEWKT('SRID=4674;POINT (-39.695235 -2.909932)'))) / (select extract(epoch from '2026-06-27 12:17:54'::timestamp) - extract(epoch from '2026-06-27 12:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695041 -2.909943)'), GeomFromEWKT('SRID=4674;POINT (-39.695235 -2.909932)'))) / (select extract(epoch from '2026-06-27 12:17:54'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.695293 -2.909932)', '2026-06-27 12:17:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695235 -2.909932)'), GeomFromEWKT('SRID=4674;POINT (-39.695293 -2.909932)'))) / (select extract(epoch from '2026-06-27 12:17:56'::timestamp) - extract(epoch from '2026-06-27 12:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695235 -2.909932)'), GeomFromEWKT('SRID=4674;POINT (-39.695293 -2.909932)'))) / (select extract(epoch from '2026-06-27 12:17:56'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.695497 -2.909907)', '2026-06-27 12:18:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695293 -2.909932)'), GeomFromEWKT('SRID=4674;POINT (-39.695497 -2.909907)'))) / (select extract(epoch from '2026-06-27 12:18:02'::timestamp) - extract(epoch from '2026-06-27 12:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695293 -2.909932)'), GeomFromEWKT('SRID=4674;POINT (-39.695497 -2.909907)'))) / (select extract(epoch from '2026-06-27 12:18:02'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.695567 -2.909896)', '2026-06-27 12:18:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695497 -2.909907)'), GeomFromEWKT('SRID=4674;POINT (-39.695567 -2.909896)'))) / (select extract(epoch from '2026-06-27 12:18:04'::timestamp) - extract(epoch from '2026-06-27 12:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695497 -2.909907)'), GeomFromEWKT('SRID=4674;POINT (-39.695567 -2.909896)'))) / (select extract(epoch from '2026-06-27 12:18:04'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46819, 'SRID=4674;POINT (-39.695751 -2.909893)', '2026-06-27 12:18:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695567 -2.909896)'), GeomFromEWKT('SRID=4674;POINT (-39.695751 -2.909893)'))) / (select extract(epoch from '2026-06-27 12:18:10'::timestamp) - extract(epoch from '2026-06-27 12:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695567 -2.909896)'), GeomFromEWKT('SRID=4674;POINT (-39.695751 -2.909893)'))) / (select extract(epoch from '2026-06-27 12:18:10'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46819, 'SRID=4674;POINT (-39.695782 -2.909894)', '2026-06-27 12:18:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695751 -2.909893)'), GeomFromEWKT('SRID=4674;POINT (-39.695782 -2.909894)'))) / (select extract(epoch from '2026-06-27 12:18:11'::timestamp) - extract(epoch from '2026-06-27 12:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695751 -2.909893)'), GeomFromEWKT('SRID=4674;POINT (-39.695782 -2.909894)'))) / (select extract(epoch from '2026-06-27 12:18:11'::timestamp) - extract(epoch from '2026-06-27 12:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.695982 -2.909942)', '2026-06-27 12:18:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695782 -2.909894)'), GeomFromEWKT('SRID=4674;POINT (-39.695982 -2.909942)'))) / (select extract(epoch from '2026-06-27 12:18:18'::timestamp) - extract(epoch from '2026-06-27 12:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695782 -2.909894)'), GeomFromEWKT('SRID=4674;POINT (-39.695982 -2.909942)'))) / (select extract(epoch from '2026-06-27 12:18:18'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46819, 'SRID=4674;POINT (-39.696148 -2.910014)', '2026-06-27 12:18:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695982 -2.909942)'), GeomFromEWKT('SRID=4674;POINT (-39.696148 -2.910014)'))) / (select extract(epoch from '2026-06-27 12:18:24'::timestamp) - extract(epoch from '2026-06-27 12:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695982 -2.909942)'), GeomFromEWKT('SRID=4674;POINT (-39.696148 -2.910014)'))) / (select extract(epoch from '2026-06-27 12:18:24'::timestamp) - extract(epoch from '2026-06-27 12:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.696201 -2.910036)', '2026-06-27 12:18:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696148 -2.910014)'), GeomFromEWKT('SRID=4674;POINT (-39.696201 -2.910036)'))) / (select extract(epoch from '2026-06-27 12:18:26'::timestamp) - extract(epoch from '2026-06-27 12:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696148 -2.910014)'), GeomFromEWKT('SRID=4674;POINT (-39.696201 -2.910036)'))) / (select extract(epoch from '2026-06-27 12:18:26'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46819, 'SRID=4674;POINT (-39.696396 -2.91009)', '2026-06-27 12:18:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696201 -2.910036)'), GeomFromEWKT('SRID=4674;POINT (-39.696396 -2.91009)'))) / (select extract(epoch from '2026-06-27 12:18:33'::timestamp) - extract(epoch from '2026-06-27 12:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696201 -2.910036)'), GeomFromEWKT('SRID=4674;POINT (-39.696396 -2.91009)'))) / (select extract(epoch from '2026-06-27 12:18:33'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46819, 'SRID=4674;POINT (-39.696456 -2.910111)', '2026-06-27 12:18:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696396 -2.91009)'), GeomFromEWKT('SRID=4674;POINT (-39.696456 -2.910111)'))) / (select extract(epoch from '2026-06-27 12:18:35'::timestamp) - extract(epoch from '2026-06-27 12:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696396 -2.91009)'), GeomFromEWKT('SRID=4674;POINT (-39.696456 -2.910111)'))) / (select extract(epoch from '2026-06-27 12:18:35'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46819, 'SRID=4674;POINT (-39.696628 -2.910155)', '2026-06-27 12:18:41', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696456 -2.910111)'), GeomFromEWKT('SRID=4674;POINT (-39.696628 -2.910155)'))) / (select extract(epoch from '2026-06-27 12:18:41'::timestamp) - extract(epoch from '2026-06-27 12:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696456 -2.910111)'), GeomFromEWKT('SRID=4674;POINT (-39.696628 -2.910155)'))) / (select extract(epoch from '2026-06-27 12:18:41'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46819, 'SRID=4674;POINT (-39.696822 -2.910211)', '2026-06-27 12:18:47', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696628 -2.910155)'), GeomFromEWKT('SRID=4674;POINT (-39.696822 -2.910211)'))) / (select extract(epoch from '2026-06-27 12:18:47'::timestamp) - extract(epoch from '2026-06-27 12:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696628 -2.910155)'), GeomFromEWKT('SRID=4674;POINT (-39.696822 -2.910211)'))) / (select extract(epoch from '2026-06-27 12:18:47'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46819, 'SRID=4674;POINT (-39.696923 -2.910237)', '2026-06-27 12:18:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696822 -2.910211)'), GeomFromEWKT('SRID=4674;POINT (-39.696923 -2.910237)'))) / (select extract(epoch from '2026-06-27 12:18:50'::timestamp) - extract(epoch from '2026-06-27 12:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696822 -2.910211)'), GeomFromEWKT('SRID=4674;POINT (-39.696923 -2.910237)'))) / (select extract(epoch from '2026-06-27 12:18:50'::timestamp) - extract(epoch from '2026-06-27 12:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.697108 -2.910276)', '2026-06-27 12:18:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696923 -2.910237)'), GeomFromEWKT('SRID=4674;POINT (-39.697108 -2.910276)'))) / (select extract(epoch from '2026-06-27 12:18:57'::timestamp) - extract(epoch from '2026-06-27 12:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696923 -2.910237)'), GeomFromEWKT('SRID=4674;POINT (-39.697108 -2.910276)'))) / (select extract(epoch from '2026-06-27 12:18:57'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46819, 'SRID=4674;POINT (-39.697209 -2.910295)', '2026-06-27 12:19:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697108 -2.910276)'), GeomFromEWKT('SRID=4674;POINT (-39.697209 -2.910295)'))) / (select extract(epoch from '2026-06-27 12:19:01'::timestamp) - extract(epoch from '2026-06-27 12:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697108 -2.910276)'), GeomFromEWKT('SRID=4674;POINT (-39.697209 -2.910295)'))) / (select extract(epoch from '2026-06-27 12:19:01'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46819, 'SRID=4674;POINT (-39.697384 -2.910346)', '2026-06-27 12:19:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697209 -2.910295)'), GeomFromEWKT('SRID=4674;POINT (-39.697384 -2.910346)'))) / (select extract(epoch from '2026-06-27 12:19:07'::timestamp) - extract(epoch from '2026-06-27 12:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697209 -2.910295)'), GeomFromEWKT('SRID=4674;POINT (-39.697384 -2.910346)'))) / (select extract(epoch from '2026-06-27 12:19:07'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46819, 'SRID=4674;POINT (-39.697482 -2.910382)', '2026-06-27 12:19:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697384 -2.910346)'), GeomFromEWKT('SRID=4674;POINT (-39.697482 -2.910382)'))) / (select extract(epoch from '2026-06-27 12:19:11'::timestamp) - extract(epoch from '2026-06-27 12:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697384 -2.910346)'), GeomFromEWKT('SRID=4674;POINT (-39.697482 -2.910382)'))) / (select extract(epoch from '2026-06-27 12:19:11'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46819, 'SRID=4674;POINT (-39.697651 -2.910451)', '2026-06-27 12:19:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697482 -2.910382)'), GeomFromEWKT('SRID=4674;POINT (-39.697651 -2.910451)'))) / (select extract(epoch from '2026-06-27 12:19:18'::timestamp) - extract(epoch from '2026-06-27 12:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697482 -2.910382)'), GeomFromEWKT('SRID=4674;POINT (-39.697651 -2.910451)'))) / (select extract(epoch from '2026-06-27 12:19:18'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.697698 -2.910472)', '2026-06-27 12:19:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697651 -2.910451)'), GeomFromEWKT('SRID=4674;POINT (-39.697698 -2.910472)'))) / (select extract(epoch from '2026-06-27 12:19:20'::timestamp) - extract(epoch from '2026-06-27 12:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697651 -2.910451)'), GeomFromEWKT('SRID=4674;POINT (-39.697698 -2.910472)'))) / (select extract(epoch from '2026-06-27 12:19:20'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46819, 'SRID=4674;POINT (-39.697883 -2.910571)', '2026-06-27 12:19:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697698 -2.910472)'), GeomFromEWKT('SRID=4674;POINT (-39.697883 -2.910571)'))) / (select extract(epoch from '2026-06-27 12:19:26'::timestamp) - extract(epoch from '2026-06-27 12:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697698 -2.910472)'), GeomFromEWKT('SRID=4674;POINT (-39.697883 -2.910571)'))) / (select extract(epoch from '2026-06-27 12:19:26'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46819, 'SRID=4674;POINT (-39.697978 -2.91066)', '2026-06-27 12:19:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697883 -2.910571)'), GeomFromEWKT('SRID=4674;POINT (-39.697978 -2.91066)'))) / (select extract(epoch from '2026-06-27 12:19:30'::timestamp) - extract(epoch from '2026-06-27 12:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697883 -2.910571)'), GeomFromEWKT('SRID=4674;POINT (-39.697978 -2.91066)'))) / (select extract(epoch from '2026-06-27 12:19:30'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.698052 -2.910786)', '2026-06-27 12:19:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697978 -2.91066)'), GeomFromEWKT('SRID=4674;POINT (-39.698052 -2.910786)'))) / (select extract(epoch from '2026-06-27 12:19:36'::timestamp) - extract(epoch from '2026-06-27 12:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697978 -2.91066)'), GeomFromEWKT('SRID=4674;POINT (-39.698052 -2.910786)'))) / (select extract(epoch from '2026-06-27 12:19:36'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46819, 'SRID=4674;POINT (-39.698183 -2.91091)', '2026-06-27 12:19:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698052 -2.910786)'), GeomFromEWKT('SRID=4674;POINT (-39.698183 -2.91091)'))) / (select extract(epoch from '2026-06-27 12:19:42'::timestamp) - extract(epoch from '2026-06-27 12:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698052 -2.910786)'), GeomFromEWKT('SRID=4674;POINT (-39.698183 -2.91091)'))) / (select extract(epoch from '2026-06-27 12:19:42'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46819, 'SRID=4674;POINT (-39.69821 -2.910928)', '2026-06-27 12:19:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698183 -2.91091)'), GeomFromEWKT('SRID=4674;POINT (-39.69821 -2.910928)'))) / (select extract(epoch from '2026-06-27 12:19:43'::timestamp) - extract(epoch from '2026-06-27 12:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698183 -2.91091)'), GeomFromEWKT('SRID=4674;POINT (-39.69821 -2.910928)'))) / (select extract(epoch from '2026-06-27 12:19:43'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46819, 'SRID=4674;POINT (-39.698366 -2.911023)', '2026-06-27 12:19:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69821 -2.910928)'), GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.911023)'))) / (select extract(epoch from '2026-06-27 12:19:49'::timestamp) - extract(epoch from '2026-06-27 12:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69821 -2.910928)'), GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.911023)'))) / (select extract(epoch from '2026-06-27 12:19:49'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46819, 'SRID=4674;POINT (-39.698452 -2.911068)', '2026-06-27 12:19:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.911023)'), GeomFromEWKT('SRID=4674;POINT (-39.698452 -2.911068)'))) / (select extract(epoch from '2026-06-27 12:19:53'::timestamp) - extract(epoch from '2026-06-27 12:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.911023)'), GeomFromEWKT('SRID=4674;POINT (-39.698452 -2.911068)'))) / (select extract(epoch from '2026-06-27 12:19:53'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46819, 'SRID=4674;POINT (-39.698626 -2.911137)', '2026-06-27 12:20:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698452 -2.911068)'), GeomFromEWKT('SRID=4674;POINT (-39.698626 -2.911137)'))) / (select extract(epoch from '2026-06-27 12:20:01'::timestamp) - extract(epoch from '2026-06-27 12:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698452 -2.911068)'), GeomFromEWKT('SRID=4674;POINT (-39.698626 -2.911137)'))) / (select extract(epoch from '2026-06-27 12:20:01'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.698649 -2.911147)', '2026-06-27 12:20:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698626 -2.911137)'), GeomFromEWKT('SRID=4674;POINT (-39.698649 -2.911147)'))) / (select extract(epoch from '2026-06-27 12:20:02'::timestamp) - extract(epoch from '2026-06-27 12:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698626 -2.911137)'), GeomFromEWKT('SRID=4674;POINT (-39.698649 -2.911147)'))) / (select extract(epoch from '2026-06-27 12:20:02'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46819, 'SRID=4674;POINT (-39.69885 -2.911209)', '2026-06-27 12:20:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698649 -2.911147)'), GeomFromEWKT('SRID=4674;POINT (-39.69885 -2.911209)'))) / (select extract(epoch from '2026-06-27 12:20:10'::timestamp) - extract(epoch from '2026-06-27 12:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698649 -2.911147)'), GeomFromEWKT('SRID=4674;POINT (-39.69885 -2.911209)'))) / (select extract(epoch from '2026-06-27 12:20:10'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46819, 'SRID=4674;POINT (-39.698918 -2.911233)', '2026-06-27 12:20:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69885 -2.911209)'), GeomFromEWKT('SRID=4674;POINT (-39.698918 -2.911233)'))) / (select extract(epoch from '2026-06-27 12:20:12'::timestamp) - extract(epoch from '2026-06-27 12:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69885 -2.911209)'), GeomFromEWKT('SRID=4674;POINT (-39.698918 -2.911233)'))) / (select extract(epoch from '2026-06-27 12:20:12'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46819, 'SRID=4674;POINT (-39.699099 -2.91127)', '2026-06-27 12:20:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698918 -2.911233)'), GeomFromEWKT('SRID=4674;POINT (-39.699099 -2.91127)'))) / (select extract(epoch from '2026-06-27 12:20:18'::timestamp) - extract(epoch from '2026-06-27 12:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698918 -2.911233)'), GeomFromEWKT('SRID=4674;POINT (-39.699099 -2.91127)'))) / (select extract(epoch from '2026-06-27 12:20:18'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46819, 'SRID=4674;POINT (-39.699168 -2.911269)', '2026-06-27 12:20:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699099 -2.91127)'), GeomFromEWKT('SRID=4674;POINT (-39.699168 -2.911269)'))) / (select extract(epoch from '2026-06-27 12:20:21'::timestamp) - extract(epoch from '2026-06-27 12:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699099 -2.91127)'), GeomFromEWKT('SRID=4674;POINT (-39.699168 -2.911269)'))) / (select extract(epoch from '2026-06-27 12:20:21'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46819, 'SRID=4674;POINT (-39.699361 -2.911302)', '2026-06-27 12:20:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699168 -2.911269)'), GeomFromEWKT('SRID=4674;POINT (-39.699361 -2.911302)'))) / (select extract(epoch from '2026-06-27 12:20:26'::timestamp) - extract(epoch from '2026-06-27 12:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699168 -2.911269)'), GeomFromEWKT('SRID=4674;POINT (-39.699361 -2.911302)'))) / (select extract(epoch from '2026-06-27 12:20:26'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46819, 'SRID=4674;POINT (-39.699463 -2.91131)', '2026-06-27 12:20:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699361 -2.911302)'), GeomFromEWKT('SRID=4674;POINT (-39.699463 -2.91131)'))) / (select extract(epoch from '2026-06-27 12:20:29'::timestamp) - extract(epoch from '2026-06-27 12:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699361 -2.911302)'), GeomFromEWKT('SRID=4674;POINT (-39.699463 -2.91131)'))) / (select extract(epoch from '2026-06-27 12:20:29'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46819, 'SRID=4674;POINT (-39.699669 -2.911289)', '2026-06-27 12:20:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699463 -2.91131)'), GeomFromEWKT('SRID=4674;POINT (-39.699669 -2.911289)'))) / (select extract(epoch from '2026-06-27 12:20:36'::timestamp) - extract(epoch from '2026-06-27 12:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699463 -2.91131)'), GeomFromEWKT('SRID=4674;POINT (-39.699669 -2.911289)'))) / (select extract(epoch from '2026-06-27 12:20:36'::timestamp) - extract(epoch from '2026-06-27 12:20:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.699702 -2.91129)', '2026-06-27 12:20:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699669 -2.911289)'), GeomFromEWKT('SRID=4674;POINT (-39.699702 -2.91129)'))) / (select extract(epoch from '2026-06-27 12:20:37'::timestamp) - extract(epoch from '2026-06-27 12:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699669 -2.911289)'), GeomFromEWKT('SRID=4674;POINT (-39.699702 -2.91129)'))) / (select extract(epoch from '2026-06-27 12:20:37'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.699892 -2.911256)', '2026-06-27 12:20:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699702 -2.91129)'), GeomFromEWKT('SRID=4674;POINT (-39.699892 -2.911256)'))) / (select extract(epoch from '2026-06-27 12:20:44'::timestamp) - extract(epoch from '2026-06-27 12:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699702 -2.91129)'), GeomFromEWKT('SRID=4674;POINT (-39.699892 -2.911256)'))) / (select extract(epoch from '2026-06-27 12:20:44'::timestamp) - extract(epoch from '2026-06-27 12:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.699922 -2.911249)', '2026-06-27 12:20:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699892 -2.911256)'), GeomFromEWKT('SRID=4674;POINT (-39.699922 -2.911249)'))) / (select extract(epoch from '2026-06-27 12:20:45'::timestamp) - extract(epoch from '2026-06-27 12:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699892 -2.911256)'), GeomFromEWKT('SRID=4674;POINT (-39.699922 -2.911249)'))) / (select extract(epoch from '2026-06-27 12:20:45'::timestamp) - extract(epoch from '2026-06-27 12:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.700112 -2.911225)', '2026-06-27 12:20:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699922 -2.911249)'), GeomFromEWKT('SRID=4674;POINT (-39.700112 -2.911225)'))) / (select extract(epoch from '2026-06-27 12:20:51'::timestamp) - extract(epoch from '2026-06-27 12:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699922 -2.911249)'), GeomFromEWKT('SRID=4674;POINT (-39.700112 -2.911225)'))) / (select extract(epoch from '2026-06-27 12:20:51'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46819, 'SRID=4674;POINT (-39.700143 -2.911224)', '2026-06-27 12:20:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700112 -2.911225)'), GeomFromEWKT('SRID=4674;POINT (-39.700143 -2.911224)'))) / (select extract(epoch from '2026-06-27 12:20:52'::timestamp) - extract(epoch from '2026-06-27 12:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700112 -2.911225)'), GeomFromEWKT('SRID=4674;POINT (-39.700143 -2.911224)'))) / (select extract(epoch from '2026-06-27 12:20:52'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46819, 'SRID=4674;POINT (-39.70033 -2.911251)', '2026-06-27 12:20:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700143 -2.911224)'), GeomFromEWKT('SRID=4674;POINT (-39.70033 -2.911251)'))) / (select extract(epoch from '2026-06-27 12:20:58'::timestamp) - extract(epoch from '2026-06-27 12:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700143 -2.911224)'), GeomFromEWKT('SRID=4674;POINT (-39.70033 -2.911251)'))) / (select extract(epoch from '2026-06-27 12:20:58'::timestamp) - extract(epoch from '2026-06-27 12:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.700388 -2.911265)', '2026-06-27 12:21:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70033 -2.911251)'), GeomFromEWKT('SRID=4674;POINT (-39.700388 -2.911265)'))) / (select extract(epoch from '2026-06-27 12:21:00'::timestamp) - extract(epoch from '2026-06-27 12:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70033 -2.911251)'), GeomFromEWKT('SRID=4674;POINT (-39.700388 -2.911265)'))) / (select extract(epoch from '2026-06-27 12:21:00'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46819, 'SRID=4674;POINT (-39.700574 -2.911316)', '2026-06-27 12:21:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700388 -2.911265)'), GeomFromEWKT('SRID=4674;POINT (-39.700574 -2.911316)'))) / (select extract(epoch from '2026-06-27 12:21:07'::timestamp) - extract(epoch from '2026-06-27 12:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700388 -2.911265)'), GeomFromEWKT('SRID=4674;POINT (-39.700574 -2.911316)'))) / (select extract(epoch from '2026-06-27 12:21:07'::timestamp) - extract(epoch from '2026-06-27 12:21:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.700643 -2.911357)', '2026-06-27 12:21:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700574 -2.911316)'), GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.911357)'))) / (select extract(epoch from '2026-06-27 12:21:10'::timestamp) - extract(epoch from '2026-06-27 12:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700574 -2.911316)'), GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.911357)'))) / (select extract(epoch from '2026-06-27 12:21:10'::timestamp) - extract(epoch from '2026-06-27 12:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.700807 -2.911471)', '2026-06-27 12:21:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.911357)'), GeomFromEWKT('SRID=4674;POINT (-39.700807 -2.911471)'))) / (select extract(epoch from '2026-06-27 12:21:17'::timestamp) - extract(epoch from '2026-06-27 12:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700643 -2.911357)'), GeomFromEWKT('SRID=4674;POINT (-39.700807 -2.911471)'))) / (select extract(epoch from '2026-06-27 12:21:17'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46819, 'SRID=4674;POINT (-39.700825 -2.911486)', '2026-06-27 12:21:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700807 -2.911471)'), GeomFromEWKT('SRID=4674;POINT (-39.700825 -2.911486)'))) / (select extract(epoch from '2026-06-27 12:21:18'::timestamp) - extract(epoch from '2026-06-27 12:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700807 -2.911471)'), GeomFromEWKT('SRID=4674;POINT (-39.700825 -2.911486)'))) / (select extract(epoch from '2026-06-27 12:21:18'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.70099 -2.911577)', '2026-06-27 12:21:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700825 -2.911486)'), GeomFromEWKT('SRID=4674;POINT (-39.70099 -2.911577)'))) / (select extract(epoch from '2026-06-27 12:21:25'::timestamp) - extract(epoch from '2026-06-27 12:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700825 -2.911486)'), GeomFromEWKT('SRID=4674;POINT (-39.70099 -2.911577)'))) / (select extract(epoch from '2026-06-27 12:21:25'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46819, 'SRID=4674;POINT (-39.701011 -2.911587)', '2026-06-27 12:21:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70099 -2.911577)'), GeomFromEWKT('SRID=4674;POINT (-39.701011 -2.911587)'))) / (select extract(epoch from '2026-06-27 12:21:26'::timestamp) - extract(epoch from '2026-06-27 12:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70099 -2.911577)'), GeomFromEWKT('SRID=4674;POINT (-39.701011 -2.911587)'))) / (select extract(epoch from '2026-06-27 12:21:26'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46819, 'SRID=4674;POINT (-39.701121 -2.911613)', '2026-06-27 12:21:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701011 -2.911587)'), GeomFromEWKT('SRID=4674;POINT (-39.701121 -2.911613)'))) / (select extract(epoch from '2026-06-27 12:21:33'::timestamp) - extract(epoch from '2026-06-27 12:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701011 -2.911587)'), GeomFromEWKT('SRID=4674;POINT (-39.701121 -2.911613)'))) / (select extract(epoch from '2026-06-27 12:21:33'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46819, 'SRID=4674;POINT (-39.70131 -2.911643)', '2026-06-27 12:21:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701121 -2.911613)'), GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.911643)'))) / (select extract(epoch from '2026-06-27 12:21:39'::timestamp) - extract(epoch from '2026-06-27 12:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701121 -2.911613)'), GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.911643)'))) / (select extract(epoch from '2026-06-27 12:21:39'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46819, 'SRID=4674;POINT (-39.701512 -2.911652)', '2026-06-27 12:21:45', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.911643)'), GeomFromEWKT('SRID=4674;POINT (-39.701512 -2.911652)'))) / (select extract(epoch from '2026-06-27 12:21:45'::timestamp) - extract(epoch from '2026-06-27 12:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.911643)'), GeomFromEWKT('SRID=4674;POINT (-39.701512 -2.911652)'))) / (select extract(epoch from '2026-06-27 12:21:45'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46819, 'SRID=4674;POINT (-39.701579 -2.911659)', '2026-06-27 12:21:47', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701512 -2.911652)'), GeomFromEWKT('SRID=4674;POINT (-39.701579 -2.911659)'))) / (select extract(epoch from '2026-06-27 12:21:47'::timestamp) - extract(epoch from '2026-06-27 12:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701512 -2.911652)'), GeomFromEWKT('SRID=4674;POINT (-39.701579 -2.911659)'))) / (select extract(epoch from '2026-06-27 12:21:47'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46819, 'SRID=4674;POINT (-39.701772 -2.911662)', '2026-06-27 12:21:52', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701579 -2.911659)'), GeomFromEWKT('SRID=4674;POINT (-39.701772 -2.911662)'))) / (select extract(epoch from '2026-06-27 12:21:52'::timestamp) - extract(epoch from '2026-06-27 12:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701579 -2.911659)'), GeomFromEWKT('SRID=4674;POINT (-39.701772 -2.911662)'))) / (select extract(epoch from '2026-06-27 12:21:52'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46819, 'SRID=4674;POINT (-39.701864 -2.911648)', '2026-06-27 12:21:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701772 -2.911662)'), GeomFromEWKT('SRID=4674;POINT (-39.701864 -2.911648)'))) / (select extract(epoch from '2026-06-27 12:21:55'::timestamp) - extract(epoch from '2026-06-27 12:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701772 -2.911662)'), GeomFromEWKT('SRID=4674;POINT (-39.701864 -2.911648)'))) / (select extract(epoch from '2026-06-27 12:21:55'::timestamp) - extract(epoch from '2026-06-27 12:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.702054 -2.911582)', '2026-06-27 12:22:01', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701864 -2.911648)'), GeomFromEWKT('SRID=4674;POINT (-39.702054 -2.911582)'))) / (select extract(epoch from '2026-06-27 12:22:01'::timestamp) - extract(epoch from '2026-06-27 12:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701864 -2.911648)'), GeomFromEWKT('SRID=4674;POINT (-39.702054 -2.911582)'))) / (select extract(epoch from '2026-06-27 12:22:01'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46819, 'SRID=4674;POINT (-39.702086 -2.911576)', '2026-06-27 12:22:02', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702054 -2.911582)'), GeomFromEWKT('SRID=4674;POINT (-39.702086 -2.911576)'))) / (select extract(epoch from '2026-06-27 12:22:02'::timestamp) - extract(epoch from '2026-06-27 12:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702054 -2.911582)'), GeomFromEWKT('SRID=4674;POINT (-39.702086 -2.911576)'))) / (select extract(epoch from '2026-06-27 12:22:02'::timestamp) - extract(epoch from '2026-06-27 12:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.702279 -2.911537)', '2026-06-27 12:22:09', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702086 -2.911576)'), GeomFromEWKT('SRID=4674;POINT (-39.702279 -2.911537)'))) / (select extract(epoch from '2026-06-27 12:22:09'::timestamp) - extract(epoch from '2026-06-27 12:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702086 -2.911576)'), GeomFromEWKT('SRID=4674;POINT (-39.702279 -2.911537)'))) / (select extract(epoch from '2026-06-27 12:22:09'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.702476 -2.91156)', '2026-06-27 12:22:15', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702279 -2.911537)'), GeomFromEWKT('SRID=4674;POINT (-39.702476 -2.91156)'))) / (select extract(epoch from '2026-06-27 12:22:15'::timestamp) - extract(epoch from '2026-06-27 12:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702279 -2.911537)'), GeomFromEWKT('SRID=4674;POINT (-39.702476 -2.91156)'))) / (select extract(epoch from '2026-06-27 12:22:15'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46819, 'SRID=4674;POINT (-39.702655 -2.911598)', '2026-06-27 12:22:21', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702476 -2.91156)'), GeomFromEWKT('SRID=4674;POINT (-39.702655 -2.911598)'))) / (select extract(epoch from '2026-06-27 12:22:21'::timestamp) - extract(epoch from '2026-06-27 12:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702476 -2.91156)'), GeomFromEWKT('SRID=4674;POINT (-39.702655 -2.911598)'))) / (select extract(epoch from '2026-06-27 12:22:21'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46819, 'SRID=4674;POINT (-39.702684 -2.911607)', '2026-06-27 12:22:22', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702655 -2.911598)'), GeomFromEWKT('SRID=4674;POINT (-39.702684 -2.911607)'))) / (select extract(epoch from '2026-06-27 12:22:22'::timestamp) - extract(epoch from '2026-06-27 12:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702655 -2.911598)'), GeomFromEWKT('SRID=4674;POINT (-39.702684 -2.911607)'))) / (select extract(epoch from '2026-06-27 12:22:22'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46819, 'SRID=4674;POINT (-39.702841 -2.91168)', '2026-06-27 12:22:28', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702684 -2.911607)'), GeomFromEWKT('SRID=4674;POINT (-39.702841 -2.91168)'))) / (select extract(epoch from '2026-06-27 12:22:28'::timestamp) - extract(epoch from '2026-06-27 12:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702684 -2.911607)'), GeomFromEWKT('SRID=4674;POINT (-39.702841 -2.91168)'))) / (select extract(epoch from '2026-06-27 12:22:28'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.703019 -2.911749)', '2026-06-27 12:22:34', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702841 -2.91168)'), GeomFromEWKT('SRID=4674;POINT (-39.703019 -2.911749)'))) / (select extract(epoch from '2026-06-27 12:22:34'::timestamp) - extract(epoch from '2026-06-27 12:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702841 -2.91168)'), GeomFromEWKT('SRID=4674;POINT (-39.703019 -2.911749)'))) / (select extract(epoch from '2026-06-27 12:22:34'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46819, 'SRID=4674;POINT (-39.703047 -2.911758)', '2026-06-27 12:22:35', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703019 -2.911749)'), GeomFromEWKT('SRID=4674;POINT (-39.703047 -2.911758)'))) / (select extract(epoch from '2026-06-27 12:22:35'::timestamp) - extract(epoch from '2026-06-27 12:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703019 -2.911749)'), GeomFromEWKT('SRID=4674;POINT (-39.703047 -2.911758)'))) / (select extract(epoch from '2026-06-27 12:22:35'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46819, 'SRID=4674;POINT (-39.703246 -2.911817)', '2026-06-27 12:22:41', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703047 -2.911758)'), GeomFromEWKT('SRID=4674;POINT (-39.703246 -2.911817)'))) / (select extract(epoch from '2026-06-27 12:22:41'::timestamp) - extract(epoch from '2026-06-27 12:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703047 -2.911758)'), GeomFromEWKT('SRID=4674;POINT (-39.703246 -2.911817)'))) / (select extract(epoch from '2026-06-27 12:22:41'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46819, 'SRID=4674;POINT (-39.703333 -2.911838)', '2026-06-27 12:22:44', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703246 -2.911817)'), GeomFromEWKT('SRID=4674;POINT (-39.703333 -2.911838)'))) / (select extract(epoch from '2026-06-27 12:22:44'::timestamp) - extract(epoch from '2026-06-27 12:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703246 -2.911817)'), GeomFromEWKT('SRID=4674;POINT (-39.703333 -2.911838)'))) / (select extract(epoch from '2026-06-27 12:22:44'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46819, 'SRID=4674;POINT (-39.703535 -2.911869)', '2026-06-27 12:22:51', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703333 -2.911838)'), GeomFromEWKT('SRID=4674;POINT (-39.703535 -2.911869)'))) / (select extract(epoch from '2026-06-27 12:22:51'::timestamp) - extract(epoch from '2026-06-27 12:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703333 -2.911838)'), GeomFromEWKT('SRID=4674;POINT (-39.703535 -2.911869)'))) / (select extract(epoch from '2026-06-27 12:22:51'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46819, 'SRID=4674;POINT (-39.703565 -2.911869)', '2026-06-27 12:22:52', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703535 -2.911869)'), GeomFromEWKT('SRID=4674;POINT (-39.703565 -2.911869)'))) / (select extract(epoch from '2026-06-27 12:22:52'::timestamp) - extract(epoch from '2026-06-27 12:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703535 -2.911869)'), GeomFromEWKT('SRID=4674;POINT (-39.703565 -2.911869)'))) / (select extract(epoch from '2026-06-27 12:22:52'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46819, 'SRID=4674;POINT (-39.703761 -2.911876)', '2026-06-27 12:22:59', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703565 -2.911869)'), GeomFromEWKT('SRID=4674;POINT (-39.703761 -2.911876)'))) / (select extract(epoch from '2026-06-27 12:22:59'::timestamp) - extract(epoch from '2026-06-27 12:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703565 -2.911869)'), GeomFromEWKT('SRID=4674;POINT (-39.703761 -2.911876)'))) / (select extract(epoch from '2026-06-27 12:22:59'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46819, 'SRID=4674;POINT (-39.703791 -2.911885)', '2026-06-27 12:23:00', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703761 -2.911876)'), GeomFromEWKT('SRID=4674;POINT (-39.703791 -2.911885)'))) / (select extract(epoch from '2026-06-27 12:23:00'::timestamp) - extract(epoch from '2026-06-27 12:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703761 -2.911876)'), GeomFromEWKT('SRID=4674;POINT (-39.703791 -2.911885)'))) / (select extract(epoch from '2026-06-27 12:23:00'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46819, 'SRID=4674;POINT (-39.703992 -2.911924)', '2026-06-27 12:23:06', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703791 -2.911885)'), GeomFromEWKT('SRID=4674;POINT (-39.703992 -2.911924)'))) / (select extract(epoch from '2026-06-27 12:23:06'::timestamp) - extract(epoch from '2026-06-27 12:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703791 -2.911885)'), GeomFromEWKT('SRID=4674;POINT (-39.703992 -2.911924)'))) / (select extract(epoch from '2026-06-27 12:23:06'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46819, 'SRID=4674;POINT (-39.704057 -2.911917)', '2026-06-27 12:23:08', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703992 -2.911924)'), GeomFromEWKT('SRID=4674;POINT (-39.704057 -2.911917)'))) / (select extract(epoch from '2026-06-27 12:23:08'::timestamp) - extract(epoch from '2026-06-27 12:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703992 -2.911924)'), GeomFromEWKT('SRID=4674;POINT (-39.704057 -2.911917)'))) / (select extract(epoch from '2026-06-27 12:23:08'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46819, 'SRID=4674;POINT (-39.704234 -2.911926)', '2026-06-27 12:23:14', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704057 -2.911917)'), GeomFromEWKT('SRID=4674;POINT (-39.704234 -2.911926)'))) / (select extract(epoch from '2026-06-27 12:23:14'::timestamp) - extract(epoch from '2026-06-27 12:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704057 -2.911917)'), GeomFromEWKT('SRID=4674;POINT (-39.704234 -2.911926)'))) / (select extract(epoch from '2026-06-27 12:23:14'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.704441 -2.911942)', '2026-06-27 12:23:21', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704234 -2.911926)'), GeomFromEWKT('SRID=4674;POINT (-39.704441 -2.911942)'))) / (select extract(epoch from '2026-06-27 12:23:21'::timestamp) - extract(epoch from '2026-06-27 12:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704234 -2.911926)'), GeomFromEWKT('SRID=4674;POINT (-39.704441 -2.911942)'))) / (select extract(epoch from '2026-06-27 12:23:21'::timestamp) - extract(epoch from '2026-06-27 12:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.704512 -2.911953)', '2026-06-27 12:23:23', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704441 -2.911942)'), GeomFromEWKT('SRID=4674;POINT (-39.704512 -2.911953)'))) / (select extract(epoch from '2026-06-27 12:23:23'::timestamp) - extract(epoch from '2026-06-27 12:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704441 -2.911942)'), GeomFromEWKT('SRID=4674;POINT (-39.704512 -2.911953)'))) / (select extract(epoch from '2026-06-27 12:23:23'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46819, 'SRID=4674;POINT (-39.704704 -2.912003)', '2026-06-27 12:23:29', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704512 -2.911953)'), GeomFromEWKT('SRID=4674;POINT (-39.704704 -2.912003)'))) / (select extract(epoch from '2026-06-27 12:23:29'::timestamp) - extract(epoch from '2026-06-27 12:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704512 -2.911953)'), GeomFromEWKT('SRID=4674;POINT (-39.704704 -2.912003)'))) / (select extract(epoch from '2026-06-27 12:23:29'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46819, 'SRID=4674;POINT (-39.704793 -2.912042)', '2026-06-27 12:23:32', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704704 -2.912003)'), GeomFromEWKT('SRID=4674;POINT (-39.704793 -2.912042)'))) / (select extract(epoch from '2026-06-27 12:23:32'::timestamp) - extract(epoch from '2026-06-27 12:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704704 -2.912003)'), GeomFromEWKT('SRID=4674;POINT (-39.704793 -2.912042)'))) / (select extract(epoch from '2026-06-27 12:23:32'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46819, 'SRID=4674;POINT (-39.704982 -2.912117)', '2026-06-27 12:23:39', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704793 -2.912042)'), GeomFromEWKT('SRID=4674;POINT (-39.704982 -2.912117)'))) / (select extract(epoch from '2026-06-27 12:23:39'::timestamp) - extract(epoch from '2026-06-27 12:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704793 -2.912042)'), GeomFromEWKT('SRID=4674;POINT (-39.704982 -2.912117)'))) / (select extract(epoch from '2026-06-27 12:23:39'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.705002 -2.912127)', '2026-06-27 12:23:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704982 -2.912117)'), GeomFromEWKT('SRID=4674;POINT (-39.705002 -2.912127)'))) / (select extract(epoch from '2026-06-27 12:23:40'::timestamp) - extract(epoch from '2026-06-27 12:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704982 -2.912117)'), GeomFromEWKT('SRID=4674;POINT (-39.705002 -2.912127)'))) / (select extract(epoch from '2026-06-27 12:23:40'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.705184 -2.912186)', '2026-06-27 12:23:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705002 -2.912127)'), GeomFromEWKT('SRID=4674;POINT (-39.705184 -2.912186)'))) / (select extract(epoch from '2026-06-27 12:23:47'::timestamp) - extract(epoch from '2026-06-27 12:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705002 -2.912127)'), GeomFromEWKT('SRID=4674;POINT (-39.705184 -2.912186)'))) / (select extract(epoch from '2026-06-27 12:23:47'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46819, 'SRID=4674;POINT (-39.705267 -2.912205)', '2026-06-27 12:23:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705184 -2.912186)'), GeomFromEWKT('SRID=4674;POINT (-39.705267 -2.912205)'))) / (select extract(epoch from '2026-06-27 12:23:50'::timestamp) - extract(epoch from '2026-06-27 12:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705184 -2.912186)'), GeomFromEWKT('SRID=4674;POINT (-39.705267 -2.912205)'))) / (select extract(epoch from '2026-06-27 12:23:50'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46819, 'SRID=4674;POINT (-39.705442 -2.912248)', '2026-06-27 12:23:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705267 -2.912205)'), GeomFromEWKT('SRID=4674;POINT (-39.705442 -2.912248)'))) / (select extract(epoch from '2026-06-27 12:23:57'::timestamp) - extract(epoch from '2026-06-27 12:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705267 -2.912205)'), GeomFromEWKT('SRID=4674;POINT (-39.705442 -2.912248)'))) / (select extract(epoch from '2026-06-27 12:23:57'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46819, 'SRID=4674;POINT (-39.705471 -2.912251)', '2026-06-27 12:23:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705442 -2.912248)'), GeomFromEWKT('SRID=4674;POINT (-39.705471 -2.912251)'))) / (select extract(epoch from '2026-06-27 12:23:58'::timestamp) - extract(epoch from '2026-06-27 12:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705442 -2.912248)'), GeomFromEWKT('SRID=4674;POINT (-39.705471 -2.912251)'))) / (select extract(epoch from '2026-06-27 12:23:58'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46819, 'SRID=4674;POINT (-39.705678 -2.912289)', '2026-06-27 12:24:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705471 -2.912251)'), GeomFromEWKT('SRID=4674;POINT (-39.705678 -2.912289)'))) / (select extract(epoch from '2026-06-27 12:24:05'::timestamp) - extract(epoch from '2026-06-27 12:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705471 -2.912251)'), GeomFromEWKT('SRID=4674;POINT (-39.705678 -2.912289)'))) / (select extract(epoch from '2026-06-27 12:24:05'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46819, 'SRID=4674;POINT (-39.705713 -2.91229)', '2026-06-27 12:24:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705678 -2.912289)'), GeomFromEWKT('SRID=4674;POINT (-39.705713 -2.91229)'))) / (select extract(epoch from '2026-06-27 12:24:06'::timestamp) - extract(epoch from '2026-06-27 12:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705678 -2.912289)'), GeomFromEWKT('SRID=4674;POINT (-39.705713 -2.91229)'))) / (select extract(epoch from '2026-06-27 12:24:06'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46819, 'SRID=4674;POINT (-39.705914 -2.912325)', '2026-06-27 12:24:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705713 -2.91229)'), GeomFromEWKT('SRID=4674;POINT (-39.705914 -2.912325)'))) / (select extract(epoch from '2026-06-27 12:24:13'::timestamp) - extract(epoch from '2026-06-27 12:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705713 -2.91229)'), GeomFromEWKT('SRID=4674;POINT (-39.705914 -2.912325)'))) / (select extract(epoch from '2026-06-27 12:24:13'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46819, 'SRID=4674;POINT (-39.705976 -2.912331)', '2026-06-27 12:24:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705914 -2.912325)'), GeomFromEWKT('SRID=4674;POINT (-39.705976 -2.912331)'))) / (select extract(epoch from '2026-06-27 12:24:15'::timestamp) - extract(epoch from '2026-06-27 12:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705914 -2.912325)'), GeomFromEWKT('SRID=4674;POINT (-39.705976 -2.912331)'))) / (select extract(epoch from '2026-06-27 12:24:15'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46819, 'SRID=4674;POINT (-39.706176 -2.912364)', '2026-06-27 12:24:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705976 -2.912331)'), GeomFromEWKT('SRID=4674;POINT (-39.706176 -2.912364)'))) / (select extract(epoch from '2026-06-27 12:24:22'::timestamp) - extract(epoch from '2026-06-27 12:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705976 -2.912331)'), GeomFromEWKT('SRID=4674;POINT (-39.706176 -2.912364)'))) / (select extract(epoch from '2026-06-27 12:24:22'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46819, 'SRID=4674;POINT (-39.706205 -2.91237)', '2026-06-27 12:24:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706176 -2.912364)'), GeomFromEWKT('SRID=4674;POINT (-39.706205 -2.91237)'))) / (select extract(epoch from '2026-06-27 12:24:23'::timestamp) - extract(epoch from '2026-06-27 12:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706176 -2.912364)'), GeomFromEWKT('SRID=4674;POINT (-39.706205 -2.91237)'))) / (select extract(epoch from '2026-06-27 12:24:23'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46819, 'SRID=4674;POINT (-39.70638 -2.912422)', '2026-06-27 12:24:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706205 -2.91237)'), GeomFromEWKT('SRID=4674;POINT (-39.70638 -2.912422)'))) / (select extract(epoch from '2026-06-27 12:24:29'::timestamp) - extract(epoch from '2026-06-27 12:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706205 -2.91237)'), GeomFromEWKT('SRID=4674;POINT (-39.70638 -2.912422)'))) / (select extract(epoch from '2026-06-27 12:24:29'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.706439 -2.912438)', '2026-06-27 12:24:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70638 -2.912422)'), GeomFromEWKT('SRID=4674;POINT (-39.706439 -2.912438)'))) / (select extract(epoch from '2026-06-27 12:24:31'::timestamp) - extract(epoch from '2026-06-27 12:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70638 -2.912422)'), GeomFromEWKT('SRID=4674;POINT (-39.706439 -2.912438)'))) / (select extract(epoch from '2026-06-27 12:24:31'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46819, 'SRID=4674;POINT (-39.706642 -2.912466)', '2026-06-27 12:24:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706439 -2.912438)'), GeomFromEWKT('SRID=4674;POINT (-39.706642 -2.912466)'))) / (select extract(epoch from '2026-06-27 12:24:38'::timestamp) - extract(epoch from '2026-06-27 12:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706439 -2.912438)'), GeomFromEWKT('SRID=4674;POINT (-39.706642 -2.912466)'))) / (select extract(epoch from '2026-06-27 12:24:38'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.70673 -2.912468)', '2026-06-27 12:24:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706642 -2.912466)'), GeomFromEWKT('SRID=4674;POINT (-39.70673 -2.912468)'))) / (select extract(epoch from '2026-06-27 12:24:41'::timestamp) - extract(epoch from '2026-06-27 12:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706642 -2.912466)'), GeomFromEWKT('SRID=4674;POINT (-39.70673 -2.912468)'))) / (select extract(epoch from '2026-06-27 12:24:41'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.706942 -2.912445)', '2026-06-27 12:24:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70673 -2.912468)'), GeomFromEWKT('SRID=4674;POINT (-39.706942 -2.912445)'))) / (select extract(epoch from '2026-06-27 12:24:48'::timestamp) - extract(epoch from '2026-06-27 12:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70673 -2.912468)'), GeomFromEWKT('SRID=4674;POINT (-39.706942 -2.912445)'))) / (select extract(epoch from '2026-06-27 12:24:48'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46819, 'SRID=4674;POINT (-39.706976 -2.912447)', '2026-06-27 12:24:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706942 -2.912445)'), GeomFromEWKT('SRID=4674;POINT (-39.706976 -2.912447)'))) / (select extract(epoch from '2026-06-27 12:24:49'::timestamp) - extract(epoch from '2026-06-27 12:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706942 -2.912445)'), GeomFromEWKT('SRID=4674;POINT (-39.706976 -2.912447)'))) / (select extract(epoch from '2026-06-27 12:24:49'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46819, 'SRID=4674;POINT (-39.707157 -2.912452)', '2026-06-27 12:24:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706976 -2.912447)'), GeomFromEWKT('SRID=4674;POINT (-39.707157 -2.912452)'))) / (select extract(epoch from '2026-06-27 12:24:54'::timestamp) - extract(epoch from '2026-06-27 12:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706976 -2.912447)'), GeomFromEWKT('SRID=4674;POINT (-39.707157 -2.912452)'))) / (select extract(epoch from '2026-06-27 12:24:54'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46819, 'SRID=4674;POINT (-39.707217 -2.912457)', '2026-06-27 12:24:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707157 -2.912452)'), GeomFromEWKT('SRID=4674;POINT (-39.707217 -2.912457)'))) / (select extract(epoch from '2026-06-27 12:24:56'::timestamp) - extract(epoch from '2026-06-27 12:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707157 -2.912452)'), GeomFromEWKT('SRID=4674;POINT (-39.707217 -2.912457)'))) / (select extract(epoch from '2026-06-27 12:24:56'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46819, 'SRID=4674;POINT (-39.707391 -2.912511)', '2026-06-27 12:25:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707217 -2.912457)'), GeomFromEWKT('SRID=4674;POINT (-39.707391 -2.912511)'))) / (select extract(epoch from '2026-06-27 12:25:02'::timestamp) - extract(epoch from '2026-06-27 12:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707217 -2.912457)'), GeomFromEWKT('SRID=4674;POINT (-39.707391 -2.912511)'))) / (select extract(epoch from '2026-06-27 12:25:02'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.707422 -2.912524)', '2026-06-27 12:25:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707391 -2.912511)'), GeomFromEWKT('SRID=4674;POINT (-39.707422 -2.912524)'))) / (select extract(epoch from '2026-06-27 12:25:03'::timestamp) - extract(epoch from '2026-06-27 12:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707391 -2.912511)'), GeomFromEWKT('SRID=4674;POINT (-39.707422 -2.912524)'))) / (select extract(epoch from '2026-06-27 12:25:03'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46819, 'SRID=4674;POINT (-39.707601 -2.912582)', '2026-06-27 12:25:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707422 -2.912524)'), GeomFromEWKT('SRID=4674;POINT (-39.707601 -2.912582)'))) / (select extract(epoch from '2026-06-27 12:25:11'::timestamp) - extract(epoch from '2026-06-27 12:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707422 -2.912524)'), GeomFromEWKT('SRID=4674;POINT (-39.707601 -2.912582)'))) / (select extract(epoch from '2026-06-27 12:25:11'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46819, 'SRID=4674;POINT (-39.707802 -2.912609)', '2026-06-27 12:25:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707601 -2.912582)'), GeomFromEWKT('SRID=4674;POINT (-39.707802 -2.912609)'))) / (select extract(epoch from '2026-06-27 12:25:19'::timestamp) - extract(epoch from '2026-06-27 12:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707601 -2.912582)'), GeomFromEWKT('SRID=4674;POINT (-39.707802 -2.912609)'))) / (select extract(epoch from '2026-06-27 12:25:19'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46819, 'SRID=4674;POINT (-39.707827 -2.912612)', '2026-06-27 12:25:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707802 -2.912609)'), GeomFromEWKT('SRID=4674;POINT (-39.707827 -2.912612)'))) / (select extract(epoch from '2026-06-27 12:25:20'::timestamp) - extract(epoch from '2026-06-27 12:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707802 -2.912609)'), GeomFromEWKT('SRID=4674;POINT (-39.707827 -2.912612)'))) / (select extract(epoch from '2026-06-27 12:25:20'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46819, 'SRID=4674;POINT (-39.708024 -2.912644)', '2026-06-27 12:25:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707827 -2.912612)'), GeomFromEWKT('SRID=4674;POINT (-39.708024 -2.912644)'))) / (select extract(epoch from '2026-06-27 12:25:27'::timestamp) - extract(epoch from '2026-06-27 12:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707827 -2.912612)'), GeomFromEWKT('SRID=4674;POINT (-39.708024 -2.912644)'))) / (select extract(epoch from '2026-06-27 12:25:27'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.708085 -2.912654)', '2026-06-27 12:25:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708024 -2.912644)'), GeomFromEWKT('SRID=4674;POINT (-39.708085 -2.912654)'))) / (select extract(epoch from '2026-06-27 12:25:29'::timestamp) - extract(epoch from '2026-06-27 12:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708024 -2.912644)'), GeomFromEWKT('SRID=4674;POINT (-39.708085 -2.912654)'))) / (select extract(epoch from '2026-06-27 12:25:29'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46819, 'SRID=4674;POINT (-39.708269 -2.912674)', '2026-06-27 12:25:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708085 -2.912654)'), GeomFromEWKT('SRID=4674;POINT (-39.708269 -2.912674)'))) / (select extract(epoch from '2026-06-27 12:25:35'::timestamp) - extract(epoch from '2026-06-27 12:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708085 -2.912654)'), GeomFromEWKT('SRID=4674;POINT (-39.708269 -2.912674)'))) / (select extract(epoch from '2026-06-27 12:25:35'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46819, 'SRID=4674;POINT (-39.708298 -2.912676)', '2026-06-27 12:25:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708269 -2.912674)'), GeomFromEWKT('SRID=4674;POINT (-39.708298 -2.912676)'))) / (select extract(epoch from '2026-06-27 12:25:36'::timestamp) - extract(epoch from '2026-06-27 12:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708269 -2.912674)'), GeomFromEWKT('SRID=4674;POINT (-39.708298 -2.912676)'))) / (select extract(epoch from '2026-06-27 12:25:36'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.708508 -2.912703)', '2026-06-27 12:25:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708298 -2.912676)'), GeomFromEWKT('SRID=4674;POINT (-39.708508 -2.912703)'))) / (select extract(epoch from '2026-06-27 12:25:43'::timestamp) - extract(epoch from '2026-06-27 12:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708298 -2.912676)'), GeomFromEWKT('SRID=4674;POINT (-39.708508 -2.912703)'))) / (select extract(epoch from '2026-06-27 12:25:43'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46819, 'SRID=4674;POINT (-39.708566 -2.912713)', '2026-06-27 12:25:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708508 -2.912703)'), GeomFromEWKT('SRID=4674;POINT (-39.708566 -2.912713)'))) / (select extract(epoch from '2026-06-27 12:25:45'::timestamp) - extract(epoch from '2026-06-27 12:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708508 -2.912703)'), GeomFromEWKT('SRID=4674;POINT (-39.708566 -2.912713)'))) / (select extract(epoch from '2026-06-27 12:25:45'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.708777 -2.912756)', '2026-06-27 12:25:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708566 -2.912713)'), GeomFromEWKT('SRID=4674;POINT (-39.708777 -2.912756)'))) / (select extract(epoch from '2026-06-27 12:25:52'::timestamp) - extract(epoch from '2026-06-27 12:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708566 -2.912713)'), GeomFromEWKT('SRID=4674;POINT (-39.708777 -2.912756)'))) / (select extract(epoch from '2026-06-27 12:25:52'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46819, 'SRID=4674;POINT (-39.70881 -2.912768)', '2026-06-27 12:25:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708777 -2.912756)'), GeomFromEWKT('SRID=4674;POINT (-39.70881 -2.912768)'))) / (select extract(epoch from '2026-06-27 12:25:53'::timestamp) - extract(epoch from '2026-06-27 12:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708777 -2.912756)'), GeomFromEWKT('SRID=4674;POINT (-39.70881 -2.912768)'))) / (select extract(epoch from '2026-06-27 12:25:53'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46819, 'SRID=4674;POINT (-39.709003 -2.912807)', '2026-06-27 12:26:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70881 -2.912768)'), GeomFromEWKT('SRID=4674;POINT (-39.709003 -2.912807)'))) / (select extract(epoch from '2026-06-27 12:26:00'::timestamp) - extract(epoch from '2026-06-27 12:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70881 -2.912768)'), GeomFromEWKT('SRID=4674;POINT (-39.709003 -2.912807)'))) / (select extract(epoch from '2026-06-27 12:26:00'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46819, 'SRID=4674;POINT (-39.709041 -2.912819)', '2026-06-27 12:26:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709003 -2.912807)'), GeomFromEWKT('SRID=4674;POINT (-39.709041 -2.912819)'))) / (select extract(epoch from '2026-06-27 12:26:01'::timestamp) - extract(epoch from '2026-06-27 12:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709003 -2.912807)'), GeomFromEWKT('SRID=4674;POINT (-39.709041 -2.912819)'))) / (select extract(epoch from '2026-06-27 12:26:01'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.709221 -2.912877)', '2026-06-27 12:26:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709041 -2.912819)'), GeomFromEWKT('SRID=4674;POINT (-39.709221 -2.912877)'))) / (select extract(epoch from '2026-06-27 12:26:07'::timestamp) - extract(epoch from '2026-06-27 12:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709041 -2.912819)'), GeomFromEWKT('SRID=4674;POINT (-39.709221 -2.912877)'))) / (select extract(epoch from '2026-06-27 12:26:07'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.709245 -2.912879)', '2026-06-27 12:26:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709221 -2.912877)'), GeomFromEWKT('SRID=4674;POINT (-39.709245 -2.912879)'))) / (select extract(epoch from '2026-06-27 12:26:08'::timestamp) - extract(epoch from '2026-06-27 12:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709221 -2.912877)'), GeomFromEWKT('SRID=4674;POINT (-39.709245 -2.912879)'))) / (select extract(epoch from '2026-06-27 12:26:08'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.709432 -2.912898)', '2026-06-27 12:26:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709245 -2.912879)'), GeomFromEWKT('SRID=4674;POINT (-39.709432 -2.912898)'))) / (select extract(epoch from '2026-06-27 12:26:14'::timestamp) - extract(epoch from '2026-06-27 12:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709245 -2.912879)'), GeomFromEWKT('SRID=4674;POINT (-39.709432 -2.912898)'))) / (select extract(epoch from '2026-06-27 12:26:14'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.709634 -2.912929)', '2026-06-27 12:26:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709432 -2.912898)'), GeomFromEWKT('SRID=4674;POINT (-39.709634 -2.912929)'))) / (select extract(epoch from '2026-06-27 12:26:20'::timestamp) - extract(epoch from '2026-06-27 12:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709432 -2.912898)'), GeomFromEWKT('SRID=4674;POINT (-39.709634 -2.912929)'))) / (select extract(epoch from '2026-06-27 12:26:20'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.709698 -2.912944)', '2026-06-27 12:26:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709634 -2.912929)'), GeomFromEWKT('SRID=4674;POINT (-39.709698 -2.912944)'))) / (select extract(epoch from '2026-06-27 12:26:22'::timestamp) - extract(epoch from '2026-06-27 12:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709634 -2.912929)'), GeomFromEWKT('SRID=4674;POINT (-39.709698 -2.912944)'))) / (select extract(epoch from '2026-06-27 12:26:22'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.709892 -2.912974)', '2026-06-27 12:26:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709698 -2.912944)'), GeomFromEWKT('SRID=4674;POINT (-39.709892 -2.912974)'))) / (select extract(epoch from '2026-06-27 12:26:29'::timestamp) - extract(epoch from '2026-06-27 12:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709698 -2.912944)'), GeomFromEWKT('SRID=4674;POINT (-39.709892 -2.912974)'))) / (select extract(epoch from '2026-06-27 12:26:29'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.709923 -2.912984)', '2026-06-27 12:26:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709892 -2.912974)'), GeomFromEWKT('SRID=4674;POINT (-39.709923 -2.912984)'))) / (select extract(epoch from '2026-06-27 12:26:30'::timestamp) - extract(epoch from '2026-06-27 12:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709892 -2.912974)'), GeomFromEWKT('SRID=4674;POINT (-39.709923 -2.912984)'))) / (select extract(epoch from '2026-06-27 12:26:30'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.710116 -2.913037)', '2026-06-27 12:26:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709923 -2.912984)'), GeomFromEWKT('SRID=4674;POINT (-39.710116 -2.913037)'))) / (select extract(epoch from '2026-06-27 12:26:36'::timestamp) - extract(epoch from '2026-06-27 12:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709923 -2.912984)'), GeomFromEWKT('SRID=4674;POINT (-39.710116 -2.913037)'))) / (select extract(epoch from '2026-06-27 12:26:36'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.710181 -2.913056)', '2026-06-27 12:26:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710116 -2.913037)'), GeomFromEWKT('SRID=4674;POINT (-39.710181 -2.913056)'))) / (select extract(epoch from '2026-06-27 12:26:38'::timestamp) - extract(epoch from '2026-06-27 12:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710116 -2.913037)'), GeomFromEWKT('SRID=4674;POINT (-39.710181 -2.913056)'))) / (select extract(epoch from '2026-06-27 12:26:38'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.710373 -2.91311)', '2026-06-27 12:26:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710181 -2.913056)'), GeomFromEWKT('SRID=4674;POINT (-39.710373 -2.91311)'))) / (select extract(epoch from '2026-06-27 12:26:44'::timestamp) - extract(epoch from '2026-06-27 12:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710181 -2.913056)'), GeomFromEWKT('SRID=4674;POINT (-39.710373 -2.91311)'))) / (select extract(epoch from '2026-06-27 12:26:44'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.710437 -2.913135)', '2026-06-27 12:26:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710373 -2.91311)'), GeomFromEWKT('SRID=4674;POINT (-39.710437 -2.913135)'))) / (select extract(epoch from '2026-06-27 12:26:46'::timestamp) - extract(epoch from '2026-06-27 12:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710373 -2.91311)'), GeomFromEWKT('SRID=4674;POINT (-39.710437 -2.913135)'))) / (select extract(epoch from '2026-06-27 12:26:46'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.710615 -2.91321)', '2026-06-27 12:26:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710437 -2.913135)'), GeomFromEWKT('SRID=4674;POINT (-39.710615 -2.91321)'))) / (select extract(epoch from '2026-06-27 12:26:52'::timestamp) - extract(epoch from '2026-06-27 12:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710437 -2.913135)'), GeomFromEWKT('SRID=4674;POINT (-39.710615 -2.91321)'))) / (select extract(epoch from '2026-06-27 12:26:52'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.710642 -2.91322)', '2026-06-27 12:26:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710615 -2.91321)'), GeomFromEWKT('SRID=4674;POINT (-39.710642 -2.91322)'))) / (select extract(epoch from '2026-06-27 12:26:53'::timestamp) - extract(epoch from '2026-06-27 12:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710615 -2.91321)'), GeomFromEWKT('SRID=4674;POINT (-39.710642 -2.91322)'))) / (select extract(epoch from '2026-06-27 12:26:53'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.710814 -2.91329)', '2026-06-27 12:26:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710642 -2.91322)'), GeomFromEWKT('SRID=4674;POINT (-39.710814 -2.91329)'))) / (select extract(epoch from '2026-06-27 12:26:59'::timestamp) - extract(epoch from '2026-06-27 12:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710642 -2.91322)'), GeomFromEWKT('SRID=4674;POINT (-39.710814 -2.91329)'))) / (select extract(epoch from '2026-06-27 12:26:59'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.710915 -2.91332)', '2026-06-27 12:27:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710814 -2.91329)'), GeomFromEWKT('SRID=4674;POINT (-39.710915 -2.91332)'))) / (select extract(epoch from '2026-06-27 12:27:03'::timestamp) - extract(epoch from '2026-06-27 12:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710814 -2.91329)'), GeomFromEWKT('SRID=4674;POINT (-39.710915 -2.91332)'))) / (select extract(epoch from '2026-06-27 12:27:03'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46819, 'SRID=4674;POINT (-39.711089 -2.913375)', '2026-06-27 12:27:09', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710915 -2.91332)'), GeomFromEWKT('SRID=4674;POINT (-39.711089 -2.913375)'))) / (select extract(epoch from '2026-06-27 12:27:09'::timestamp) - extract(epoch from '2026-06-27 12:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710915 -2.91332)'), GeomFromEWKT('SRID=4674;POINT (-39.711089 -2.913375)'))) / (select extract(epoch from '2026-06-27 12:27:09'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46819, 'SRID=4674;POINT (-39.711147 -2.91339)', '2026-06-27 12:27:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711089 -2.913375)'), GeomFromEWKT('SRID=4674;POINT (-39.711147 -2.91339)'))) / (select extract(epoch from '2026-06-27 12:27:11'::timestamp) - extract(epoch from '2026-06-27 12:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711089 -2.913375)'), GeomFromEWKT('SRID=4674;POINT (-39.711147 -2.91339)'))) / (select extract(epoch from '2026-06-27 12:27:11'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46819, 'SRID=4674;POINT (-39.71134 -2.913464)', '2026-06-27 12:27:19', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711147 -2.91339)'), GeomFromEWKT('SRID=4674;POINT (-39.71134 -2.913464)'))) / (select extract(epoch from '2026-06-27 12:27:19'::timestamp) - extract(epoch from '2026-06-27 12:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711147 -2.91339)'), GeomFromEWKT('SRID=4674;POINT (-39.71134 -2.913464)'))) / (select extract(epoch from '2026-06-27 12:27:19'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46819, 'SRID=4674;POINT (-39.711546 -2.913528)', '2026-06-27 12:27:25', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71134 -2.913464)'), GeomFromEWKT('SRID=4674;POINT (-39.711546 -2.913528)'))) / (select extract(epoch from '2026-06-27 12:27:25'::timestamp) - extract(epoch from '2026-06-27 12:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71134 -2.913464)'), GeomFromEWKT('SRID=4674;POINT (-39.711546 -2.913528)'))) / (select extract(epoch from '2026-06-27 12:27:25'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46819, 'SRID=4674;POINT (-39.711609 -2.913546)', '2026-06-27 12:27:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711546 -2.913528)'), GeomFromEWKT('SRID=4674;POINT (-39.711609 -2.913546)'))) / (select extract(epoch from '2026-06-27 12:27:27'::timestamp) - extract(epoch from '2026-06-27 12:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711546 -2.913528)'), GeomFromEWKT('SRID=4674;POINT (-39.711609 -2.913546)'))) / (select extract(epoch from '2026-06-27 12:27:27'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.71179 -2.913591)', '2026-06-27 12:27:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711609 -2.913546)'), GeomFromEWKT('SRID=4674;POINT (-39.71179 -2.913591)'))) / (select extract(epoch from '2026-06-27 12:27:33'::timestamp) - extract(epoch from '2026-06-27 12:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711609 -2.913546)'), GeomFromEWKT('SRID=4674;POINT (-39.71179 -2.913591)'))) / (select extract(epoch from '2026-06-27 12:27:33'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46819, 'SRID=4674;POINT (-39.711849 -2.913596)', '2026-06-27 12:27:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71179 -2.913591)'), GeomFromEWKT('SRID=4674;POINT (-39.711849 -2.913596)'))) / (select extract(epoch from '2026-06-27 12:27:35'::timestamp) - extract(epoch from '2026-06-27 12:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71179 -2.913591)'), GeomFromEWKT('SRID=4674;POINT (-39.711849 -2.913596)'))) / (select extract(epoch from '2026-06-27 12:27:35'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.712043 -2.913599)', '2026-06-27 12:27:42', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711849 -2.913596)'), GeomFromEWKT('SRID=4674;POINT (-39.712043 -2.913599)'))) / (select extract(epoch from '2026-06-27 12:27:42'::timestamp) - extract(epoch from '2026-06-27 12:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711849 -2.913596)'), GeomFromEWKT('SRID=4674;POINT (-39.712043 -2.913599)'))) / (select extract(epoch from '2026-06-27 12:27:42'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46819, 'SRID=4674;POINT (-39.712099 -2.913606)', '2026-06-27 12:27:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712043 -2.913599)'), GeomFromEWKT('SRID=4674;POINT (-39.712099 -2.913606)'))) / (select extract(epoch from '2026-06-27 12:27:44'::timestamp) - extract(epoch from '2026-06-27 12:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712043 -2.913599)'), GeomFromEWKT('SRID=4674;POINT (-39.712099 -2.913606)'))) / (select extract(epoch from '2026-06-27 12:27:44'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46819, 'SRID=4674;POINT (-39.712301 -2.913632)', '2026-06-27 12:27:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712099 -2.913606)'), GeomFromEWKT('SRID=4674;POINT (-39.712301 -2.913632)'))) / (select extract(epoch from '2026-06-27 12:27:50'::timestamp) - extract(epoch from '2026-06-27 12:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712099 -2.913606)'), GeomFromEWKT('SRID=4674;POINT (-39.712301 -2.913632)'))) / (select extract(epoch from '2026-06-27 12:27:50'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46819, 'SRID=4674;POINT (-39.712332 -2.913637)', '2026-06-27 12:27:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712301 -2.913632)'), GeomFromEWKT('SRID=4674;POINT (-39.712332 -2.913637)'))) / (select extract(epoch from '2026-06-27 12:27:51'::timestamp) - extract(epoch from '2026-06-27 12:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712301 -2.913632)'), GeomFromEWKT('SRID=4674;POINT (-39.712332 -2.913637)'))) / (select extract(epoch from '2026-06-27 12:27:51'::timestamp) - extract(epoch from '2026-06-27 12:27:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.712526 -2.913655)', '2026-06-27 12:27:57', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712332 -2.913637)'), GeomFromEWKT('SRID=4674;POINT (-39.712526 -2.913655)'))) / (select extract(epoch from '2026-06-27 12:27:57'::timestamp) - extract(epoch from '2026-06-27 12:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712332 -2.913637)'), GeomFromEWKT('SRID=4674;POINT (-39.712526 -2.913655)'))) / (select extract(epoch from '2026-06-27 12:27:57'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46819, 'SRID=4674;POINT (-39.712575 -2.913656)', '2026-06-27 12:27:59', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712526 -2.913655)'), GeomFromEWKT('SRID=4674;POINT (-39.712575 -2.913656)'))) / (select extract(epoch from '2026-06-27 12:27:59'::timestamp) - extract(epoch from '2026-06-27 12:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712526 -2.913655)'), GeomFromEWKT('SRID=4674;POINT (-39.712575 -2.913656)'))) / (select extract(epoch from '2026-06-27 12:27:59'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46819, 'SRID=4674;POINT (-39.712785 -2.913674)', '2026-06-27 12:28:06', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712575 -2.913656)'), GeomFromEWKT('SRID=4674;POINT (-39.712785 -2.913674)'))) / (select extract(epoch from '2026-06-27 12:28:06'::timestamp) - extract(epoch from '2026-06-27 12:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712575 -2.913656)'), GeomFromEWKT('SRID=4674;POINT (-39.712785 -2.913674)'))) / (select extract(epoch from '2026-06-27 12:28:06'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46819, 'SRID=4674;POINT (-39.712849 -2.913676)', '2026-06-27 12:28:08', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712785 -2.913674)'), GeomFromEWKT('SRID=4674;POINT (-39.712849 -2.913676)'))) / (select extract(epoch from '2026-06-27 12:28:08'::timestamp) - extract(epoch from '2026-06-27 12:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712785 -2.913674)'), GeomFromEWKT('SRID=4674;POINT (-39.712849 -2.913676)'))) / (select extract(epoch from '2026-06-27 12:28:08'::timestamp) - extract(epoch from '2026-06-27 12:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.713054 -2.913675)', '2026-06-27 12:28:14', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712849 -2.913676)'), GeomFromEWKT('SRID=4674;POINT (-39.713054 -2.913675)'))) / (select extract(epoch from '2026-06-27 12:28:14'::timestamp) - extract(epoch from '2026-06-27 12:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712849 -2.913676)'), GeomFromEWKT('SRID=4674;POINT (-39.713054 -2.913675)'))) / (select extract(epoch from '2026-06-27 12:28:14'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46819, 'SRID=4674;POINT (-39.713122 -2.913666)', '2026-06-27 12:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713054 -2.913675)'), GeomFromEWKT('SRID=4674;POINT (-39.713122 -2.913666)'))) / (select extract(epoch from '2026-06-27 12:28:16'::timestamp) - extract(epoch from '2026-06-27 12:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713054 -2.913675)'), GeomFromEWKT('SRID=4674;POINT (-39.713122 -2.913666)'))) / (select extract(epoch from '2026-06-27 12:28:16'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46819, 'SRID=4674;POINT (-39.713322 -2.913687)', '2026-06-27 12:28:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713122 -2.913666)'), GeomFromEWKT('SRID=4674;POINT (-39.713322 -2.913687)'))) / (select extract(epoch from '2026-06-27 12:28:23'::timestamp) - extract(epoch from '2026-06-27 12:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713122 -2.913666)'), GeomFromEWKT('SRID=4674;POINT (-39.713322 -2.913687)'))) / (select extract(epoch from '2026-06-27 12:28:23'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46819, 'SRID=4674;POINT (-39.71335 -2.913692)', '2026-06-27 12:28:24', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713322 -2.913687)'), GeomFromEWKT('SRID=4674;POINT (-39.71335 -2.913692)'))) / (select extract(epoch from '2026-06-27 12:28:24'::timestamp) - extract(epoch from '2026-06-27 12:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713322 -2.913687)'), GeomFromEWKT('SRID=4674;POINT (-39.71335 -2.913692)'))) / (select extract(epoch from '2026-06-27 12:28:24'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46819, 'SRID=4674;POINT (-39.713538 -2.913739)', '2026-06-27 12:28:31', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71335 -2.913692)'), GeomFromEWKT('SRID=4674;POINT (-39.713538 -2.913739)'))) / (select extract(epoch from '2026-06-27 12:28:31'::timestamp) - extract(epoch from '2026-06-27 12:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71335 -2.913692)'), GeomFromEWKT('SRID=4674;POINT (-39.713538 -2.913739)'))) / (select extract(epoch from '2026-06-27 12:28:31'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.71357 -2.913747)', '2026-06-27 12:28:32', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713538 -2.913739)'), GeomFromEWKT('SRID=4674;POINT (-39.71357 -2.913747)'))) / (select extract(epoch from '2026-06-27 12:28:32'::timestamp) - extract(epoch from '2026-06-27 12:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713538 -2.913739)'), GeomFromEWKT('SRID=4674;POINT (-39.71357 -2.913747)'))) / (select extract(epoch from '2026-06-27 12:28:32'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46819, 'SRID=4674;POINT (-39.71375 -2.91379)', '2026-06-27 12:28:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71357 -2.913747)'), GeomFromEWKT('SRID=4674;POINT (-39.71375 -2.91379)'))) / (select extract(epoch from '2026-06-27 12:28:38'::timestamp) - extract(epoch from '2026-06-27 12:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71357 -2.913747)'), GeomFromEWKT('SRID=4674;POINT (-39.71375 -2.91379)'))) / (select extract(epoch from '2026-06-27 12:28:38'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46819, 'SRID=4674;POINT (-39.713871 -2.913793)', '2026-06-27 12:28:42', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71375 -2.91379)'), GeomFromEWKT('SRID=4674;POINT (-39.713871 -2.913793)'))) / (select extract(epoch from '2026-06-27 12:28:42'::timestamp) - extract(epoch from '2026-06-27 12:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71375 -2.91379)'), GeomFromEWKT('SRID=4674;POINT (-39.713871 -2.913793)'))) / (select extract(epoch from '2026-06-27 12:28:42'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46819, 'SRID=4674;POINT (-39.714056 -2.913788)', '2026-06-27 12:28:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713871 -2.913793)'), GeomFromEWKT('SRID=4674;POINT (-39.714056 -2.913788)'))) / (select extract(epoch from '2026-06-27 12:28:48'::timestamp) - extract(epoch from '2026-06-27 12:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713871 -2.913793)'), GeomFromEWKT('SRID=4674;POINT (-39.714056 -2.913788)'))) / (select extract(epoch from '2026-06-27 12:28:48'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.714128 -2.913786)', '2026-06-27 12:28:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714056 -2.913788)'), GeomFromEWKT('SRID=4674;POINT (-39.714128 -2.913786)'))) / (select extract(epoch from '2026-06-27 12:28:51'::timestamp) - extract(epoch from '2026-06-27 12:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714056 -2.913788)'), GeomFromEWKT('SRID=4674;POINT (-39.714128 -2.913786)'))) / (select extract(epoch from '2026-06-27 12:28:51'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.714322 -2.913833)', '2026-06-27 12:28:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714128 -2.913786)'), GeomFromEWKT('SRID=4674;POINT (-39.714322 -2.913833)'))) / (select extract(epoch from '2026-06-27 12:28:58'::timestamp) - extract(epoch from '2026-06-27 12:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714128 -2.913786)'), GeomFromEWKT('SRID=4674;POINT (-39.714322 -2.913833)'))) / (select extract(epoch from '2026-06-27 12:28:58'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46819, 'SRID=4674;POINT (-39.714387 -2.913852)', '2026-06-27 12:29:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714322 -2.913833)'), GeomFromEWKT('SRID=4674;POINT (-39.714387 -2.913852)'))) / (select extract(epoch from '2026-06-27 12:29:00'::timestamp) - extract(epoch from '2026-06-27 12:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714322 -2.913833)'), GeomFromEWKT('SRID=4674;POINT (-39.714387 -2.913852)'))) / (select extract(epoch from '2026-06-27 12:29:00'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46819, 'SRID=4674;POINT (-39.714568 -2.9139)', '2026-06-27 12:29:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714387 -2.913852)'), GeomFromEWKT('SRID=4674;POINT (-39.714568 -2.9139)'))) / (select extract(epoch from '2026-06-27 12:29:06'::timestamp) - extract(epoch from '2026-06-27 12:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714387 -2.913852)'), GeomFromEWKT('SRID=4674;POINT (-39.714568 -2.9139)'))) / (select extract(epoch from '2026-06-27 12:29:06'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.714628 -2.913908)', '2026-06-27 12:29:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714568 -2.9139)'), GeomFromEWKT('SRID=4674;POINT (-39.714628 -2.913908)'))) / (select extract(epoch from '2026-06-27 12:29:08'::timestamp) - extract(epoch from '2026-06-27 12:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714568 -2.9139)'), GeomFromEWKT('SRID=4674;POINT (-39.714628 -2.913908)'))) / (select extract(epoch from '2026-06-27 12:29:08'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.714827 -2.913957)', '2026-06-27 12:29:15', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714628 -2.913908)'), GeomFromEWKT('SRID=4674;POINT (-39.714827 -2.913957)'))) / (select extract(epoch from '2026-06-27 12:29:15'::timestamp) - extract(epoch from '2026-06-27 12:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714628 -2.913908)'), GeomFromEWKT('SRID=4674;POINT (-39.714827 -2.913957)'))) / (select extract(epoch from '2026-06-27 12:29:15'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.714858 -2.913966)', '2026-06-27 12:29:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714827 -2.913957)'), GeomFromEWKT('SRID=4674;POINT (-39.714858 -2.913966)'))) / (select extract(epoch from '2026-06-27 12:29:16'::timestamp) - extract(epoch from '2026-06-27 12:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714827 -2.913957)'), GeomFromEWKT('SRID=4674;POINT (-39.714858 -2.913966)'))) / (select extract(epoch from '2026-06-27 12:29:16'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.715064 -2.914013)', '2026-06-27 12:29:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714858 -2.913966)'), GeomFromEWKT('SRID=4674;POINT (-39.715064 -2.914013)'))) / (select extract(epoch from '2026-06-27 12:29:23'::timestamp) - extract(epoch from '2026-06-27 12:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.714858 -2.913966)'), GeomFromEWKT('SRID=4674;POINT (-39.715064 -2.914013)'))) / (select extract(epoch from '2026-06-27 12:29:23'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.715128 -2.914027)', '2026-06-27 12:29:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715064 -2.914013)'), GeomFromEWKT('SRID=4674;POINT (-39.715128 -2.914027)'))) / (select extract(epoch from '2026-06-27 12:29:25'::timestamp) - extract(epoch from '2026-06-27 12:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715064 -2.914013)'), GeomFromEWKT('SRID=4674;POINT (-39.715128 -2.914027)'))) / (select extract(epoch from '2026-06-27 12:29:25'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.715334 -2.914076)', '2026-06-27 12:29:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715128 -2.914027)'), GeomFromEWKT('SRID=4674;POINT (-39.715334 -2.914076)'))) / (select extract(epoch from '2026-06-27 12:29:31'::timestamp) - extract(epoch from '2026-06-27 12:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715128 -2.914027)'), GeomFromEWKT('SRID=4674;POINT (-39.715334 -2.914076)'))) / (select extract(epoch from '2026-06-27 12:29:31'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.715394 -2.914098)', '2026-06-27 12:29:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715334 -2.914076)'), GeomFromEWKT('SRID=4674;POINT (-39.715394 -2.914098)'))) / (select extract(epoch from '2026-06-27 12:29:33'::timestamp) - extract(epoch from '2026-06-27 12:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715334 -2.914076)'), GeomFromEWKT('SRID=4674;POINT (-39.715394 -2.914098)'))) / (select extract(epoch from '2026-06-27 12:29:33'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.71558 -2.914152)', '2026-06-27 12:29:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715394 -2.914098)'), GeomFromEWKT('SRID=4674;POINT (-39.71558 -2.914152)'))) / (select extract(epoch from '2026-06-27 12:29:40'::timestamp) - extract(epoch from '2026-06-27 12:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715394 -2.914098)'), GeomFromEWKT('SRID=4674;POINT (-39.71558 -2.914152)'))) / (select extract(epoch from '2026-06-27 12:29:40'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.715636 -2.914168)', '2026-06-27 12:29:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71558 -2.914152)'), GeomFromEWKT('SRID=4674;POINT (-39.715636 -2.914168)'))) / (select extract(epoch from '2026-06-27 12:29:42'::timestamp) - extract(epoch from '2026-06-27 12:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71558 -2.914152)'), GeomFromEWKT('SRID=4674;POINT (-39.715636 -2.914168)'))) / (select extract(epoch from '2026-06-27 12:29:42'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.715833 -2.914222)', '2026-06-27 12:29:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715636 -2.914168)'), GeomFromEWKT('SRID=4674;POINT (-39.715833 -2.914222)'))) / (select extract(epoch from '2026-06-27 12:29:48'::timestamp) - extract(epoch from '2026-06-27 12:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715636 -2.914168)'), GeomFromEWKT('SRID=4674;POINT (-39.715833 -2.914222)'))) / (select extract(epoch from '2026-06-27 12:29:48'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.715884 -2.914245)', '2026-06-27 12:29:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715833 -2.914222)'), GeomFromEWKT('SRID=4674;POINT (-39.715884 -2.914245)'))) / (select extract(epoch from '2026-06-27 12:29:50'::timestamp) - extract(epoch from '2026-06-27 12:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715833 -2.914222)'), GeomFromEWKT('SRID=4674;POINT (-39.715884 -2.914245)'))) / (select extract(epoch from '2026-06-27 12:29:50'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.716019 -2.914375)', '2026-06-27 12:29:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715884 -2.914245)'), GeomFromEWKT('SRID=4674;POINT (-39.716019 -2.914375)'))) / (select extract(epoch from '2026-06-27 12:29:57'::timestamp) - extract(epoch from '2026-06-27 12:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.715884 -2.914245)'), GeomFromEWKT('SRID=4674;POINT (-39.716019 -2.914375)'))) / (select extract(epoch from '2026-06-27 12:29:57'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.716029 -2.914393)', '2026-06-27 12:29:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716019 -2.914375)'), GeomFromEWKT('SRID=4674;POINT (-39.716029 -2.914393)'))) / (select extract(epoch from '2026-06-27 12:29:58'::timestamp) - extract(epoch from '2026-06-27 12:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716019 -2.914375)'), GeomFromEWKT('SRID=4674;POINT (-39.716029 -2.914393)'))) / (select extract(epoch from '2026-06-27 12:29:58'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.716144 -2.91454)', '2026-06-27 12:30:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716029 -2.914393)'), GeomFromEWKT('SRID=4674;POINT (-39.716144 -2.91454)'))) / (select extract(epoch from '2026-06-27 12:30:06'::timestamp) - extract(epoch from '2026-06-27 12:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716029 -2.914393)'), GeomFromEWKT('SRID=4674;POINT (-39.716144 -2.91454)'))) / (select extract(epoch from '2026-06-27 12:30:06'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46819, 'SRID=4674;POINT (-39.71631 -2.914609)', '2026-06-27 12:30:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716144 -2.91454)'), GeomFromEWKT('SRID=4674;POINT (-39.71631 -2.914609)'))) / (select extract(epoch from '2026-06-27 12:30:12'::timestamp) - extract(epoch from '2026-06-27 12:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716144 -2.91454)'), GeomFromEWKT('SRID=4674;POINT (-39.71631 -2.914609)'))) / (select extract(epoch from '2026-06-27 12:30:12'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.716343 -2.914614)', '2026-06-27 12:30:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71631 -2.914609)'), GeomFromEWKT('SRID=4674;POINT (-39.716343 -2.914614)'))) / (select extract(epoch from '2026-06-27 12:30:13'::timestamp) - extract(epoch from '2026-06-27 12:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71631 -2.914609)'), GeomFromEWKT('SRID=4674;POINT (-39.716343 -2.914614)'))) / (select extract(epoch from '2026-06-27 12:30:13'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.71655 -2.914602)', '2026-06-27 12:30:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716343 -2.914614)'), GeomFromEWKT('SRID=4674;POINT (-39.71655 -2.914602)'))) / (select extract(epoch from '2026-06-27 12:30:20'::timestamp) - extract(epoch from '2026-06-27 12:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716343 -2.914614)'), GeomFromEWKT('SRID=4674;POINT (-39.71655 -2.914602)'))) / (select extract(epoch from '2026-06-27 12:30:20'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.716751 -2.914547)', '2026-06-27 12:30:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71655 -2.914602)'), GeomFromEWKT('SRID=4674;POINT (-39.716751 -2.914547)'))) / (select extract(epoch from '2026-06-27 12:30:26'::timestamp) - extract(epoch from '2026-06-27 12:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71655 -2.914602)'), GeomFromEWKT('SRID=4674;POINT (-39.716751 -2.914547)'))) / (select extract(epoch from '2026-06-27 12:30:26'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.716809 -2.914513)', '2026-06-27 12:30:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716751 -2.914547)'), GeomFromEWKT('SRID=4674;POINT (-39.716809 -2.914513)'))) / (select extract(epoch from '2026-06-27 12:30:28'::timestamp) - extract(epoch from '2026-06-27 12:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716751 -2.914547)'), GeomFromEWKT('SRID=4674;POINT (-39.716809 -2.914513)'))) / (select extract(epoch from '2026-06-27 12:30:28'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.716981 -2.914421)', '2026-06-27 12:30:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716809 -2.914513)'), GeomFromEWKT('SRID=4674;POINT (-39.716981 -2.914421)'))) / (select extract(epoch from '2026-06-27 12:30:35'::timestamp) - extract(epoch from '2026-06-27 12:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716809 -2.914513)'), GeomFromEWKT('SRID=4674;POINT (-39.716981 -2.914421)'))) / (select extract(epoch from '2026-06-27 12:30:35'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.717015 -2.914407)', '2026-06-27 12:30:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716981 -2.914421)'), GeomFromEWKT('SRID=4674;POINT (-39.717015 -2.914407)'))) / (select extract(epoch from '2026-06-27 12:30:36'::timestamp) - extract(epoch from '2026-06-27 12:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.716981 -2.914421)'), GeomFromEWKT('SRID=4674;POINT (-39.717015 -2.914407)'))) / (select extract(epoch from '2026-06-27 12:30:36'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.717205 -2.914317)', '2026-06-27 12:30:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717015 -2.914407)'), GeomFromEWKT('SRID=4674;POINT (-39.717205 -2.914317)'))) / (select extract(epoch from '2026-06-27 12:30:42'::timestamp) - extract(epoch from '2026-06-27 12:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717015 -2.914407)'), GeomFromEWKT('SRID=4674;POINT (-39.717205 -2.914317)'))) / (select extract(epoch from '2026-06-27 12:30:42'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.717258 -2.91429)', '2026-06-27 12:30:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717205 -2.914317)'), GeomFromEWKT('SRID=4674;POINT (-39.717258 -2.91429)'))) / (select extract(epoch from '2026-06-27 12:30:44'::timestamp) - extract(epoch from '2026-06-27 12:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717205 -2.914317)'), GeomFromEWKT('SRID=4674;POINT (-39.717258 -2.91429)'))) / (select extract(epoch from '2026-06-27 12:30:44'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.717452 -2.91422)', '2026-06-27 12:30:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717258 -2.91429)'), GeomFromEWKT('SRID=4674;POINT (-39.717452 -2.91422)'))) / (select extract(epoch from '2026-06-27 12:30:51'::timestamp) - extract(epoch from '2026-06-27 12:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717258 -2.91429)'), GeomFromEWKT('SRID=4674;POINT (-39.717452 -2.91422)'))) / (select extract(epoch from '2026-06-27 12:30:51'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.717487 -2.914208)', '2026-06-27 12:30:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717452 -2.91422)'), GeomFromEWKT('SRID=4674;POINT (-39.717487 -2.914208)'))) / (select extract(epoch from '2026-06-27 12:30:52'::timestamp) - extract(epoch from '2026-06-27 12:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717452 -2.91422)'), GeomFromEWKT('SRID=4674;POINT (-39.717487 -2.914208)'))) / (select extract(epoch from '2026-06-27 12:30:52'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.71767 -2.914182)', '2026-06-27 12:30:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717487 -2.914208)'), GeomFromEWKT('SRID=4674;POINT (-39.71767 -2.914182)'))) / (select extract(epoch from '2026-06-27 12:30:58'::timestamp) - extract(epoch from '2026-06-27 12:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717487 -2.914208)'), GeomFromEWKT('SRID=4674;POINT (-39.71767 -2.914182)'))) / (select extract(epoch from '2026-06-27 12:30:58'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.717706 -2.914182)', '2026-06-27 12:30:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71767 -2.914182)'), GeomFromEWKT('SRID=4674;POINT (-39.717706 -2.914182)'))) / (select extract(epoch from '2026-06-27 12:30:59'::timestamp) - extract(epoch from '2026-06-27 12:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71767 -2.914182)'), GeomFromEWKT('SRID=4674;POINT (-39.717706 -2.914182)'))) / (select extract(epoch from '2026-06-27 12:30:59'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.717903 -2.91418)', '2026-06-27 12:31:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717706 -2.914182)'), GeomFromEWKT('SRID=4674;POINT (-39.717903 -2.91418)'))) / (select extract(epoch from '2026-06-27 12:31:06'::timestamp) - extract(epoch from '2026-06-27 12:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717706 -2.914182)'), GeomFromEWKT('SRID=4674;POINT (-39.717903 -2.91418)'))) / (select extract(epoch from '2026-06-27 12:31:06'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46819, 'SRID=4674;POINT (-39.718079 -2.91412)', '2026-06-27 12:31:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717903 -2.91418)'), GeomFromEWKT('SRID=4674;POINT (-39.718079 -2.91412)'))) / (select extract(epoch from '2026-06-27 12:31:12'::timestamp) - extract(epoch from '2026-06-27 12:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.717903 -2.91418)'), GeomFromEWKT('SRID=4674;POINT (-39.718079 -2.91412)'))) / (select extract(epoch from '2026-06-27 12:31:12'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46819, 'SRID=4674;POINT (-39.718266 -2.914043)', '2026-06-27 12:31:19', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718079 -2.91412)'), GeomFromEWKT('SRID=4674;POINT (-39.718266 -2.914043)'))) / (select extract(epoch from '2026-06-27 12:31:19'::timestamp) - extract(epoch from '2026-06-27 12:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718079 -2.91412)'), GeomFromEWKT('SRID=4674;POINT (-39.718266 -2.914043)'))) / (select extract(epoch from '2026-06-27 12:31:19'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46819, 'SRID=4674;POINT (-39.718442 -2.913974)', '2026-06-27 12:31:25', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718266 -2.914043)'), GeomFromEWKT('SRID=4674;POINT (-39.718442 -2.913974)'))) / (select extract(epoch from '2026-06-27 12:31:25'::timestamp) - extract(epoch from '2026-06-27 12:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718266 -2.914043)'), GeomFromEWKT('SRID=4674;POINT (-39.718442 -2.913974)'))) / (select extract(epoch from '2026-06-27 12:31:25'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46819, 'SRID=4674;POINT (-39.718469 -2.913965)', '2026-06-27 12:31:26', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718442 -2.913974)'), GeomFromEWKT('SRID=4674;POINT (-39.718469 -2.913965)'))) / (select extract(epoch from '2026-06-27 12:31:26'::timestamp) - extract(epoch from '2026-06-27 12:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718442 -2.913974)'), GeomFromEWKT('SRID=4674;POINT (-39.718469 -2.913965)'))) / (select extract(epoch from '2026-06-27 12:31:26'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46819, 'SRID=4674;POINT (-39.718652 -2.91393)', '2026-06-27 12:31:32', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718469 -2.913965)'), GeomFromEWKT('SRID=4674;POINT (-39.718652 -2.91393)'))) / (select extract(epoch from '2026-06-27 12:31:32'::timestamp) - extract(epoch from '2026-06-27 12:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718469 -2.913965)'), GeomFromEWKT('SRID=4674;POINT (-39.718652 -2.91393)'))) / (select extract(epoch from '2026-06-27 12:31:32'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46819, 'SRID=4674;POINT (-39.718762 -2.913915)', '2026-06-27 12:31:36', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718652 -2.91393)'), GeomFromEWKT('SRID=4674;POINT (-39.718762 -2.913915)'))) / (select extract(epoch from '2026-06-27 12:31:36'::timestamp) - extract(epoch from '2026-06-27 12:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718652 -2.91393)'), GeomFromEWKT('SRID=4674;POINT (-39.718762 -2.913915)'))) / (select extract(epoch from '2026-06-27 12:31:36'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46819, 'SRID=4674;POINT (-39.718947 -2.913876)', '2026-06-27 12:31:42', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718762 -2.913915)'), GeomFromEWKT('SRID=4674;POINT (-39.718947 -2.913876)'))) / (select extract(epoch from '2026-06-27 12:31:42'::timestamp) - extract(epoch from '2026-06-27 12:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718762 -2.913915)'), GeomFromEWKT('SRID=4674;POINT (-39.718947 -2.913876)'))) / (select extract(epoch from '2026-06-27 12:31:42'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.71899 -2.913863)', '2026-06-27 12:31:44', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718947 -2.913876)'), GeomFromEWKT('SRID=4674;POINT (-39.71899 -2.913863)'))) / (select extract(epoch from '2026-06-27 12:31:44'::timestamp) - extract(epoch from '2026-06-27 12:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718947 -2.913876)'), GeomFromEWKT('SRID=4674;POINT (-39.71899 -2.913863)'))) / (select extract(epoch from '2026-06-27 12:31:44'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46819, 'SRID=4674;POINT (-39.71919 -2.913825)', '2026-06-27 12:31:50', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71899 -2.913863)'), GeomFromEWKT('SRID=4674;POINT (-39.71919 -2.913825)'))) / (select extract(epoch from '2026-06-27 12:31:50'::timestamp) - extract(epoch from '2026-06-27 12:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71899 -2.913863)'), GeomFromEWKT('SRID=4674;POINT (-39.71919 -2.913825)'))) / (select extract(epoch from '2026-06-27 12:31:50'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46819, 'SRID=4674;POINT (-39.719251 -2.913814)', '2026-06-27 12:31:52', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71919 -2.913825)'), GeomFromEWKT('SRID=4674;POINT (-39.719251 -2.913814)'))) / (select extract(epoch from '2026-06-27 12:31:52'::timestamp) - extract(epoch from '2026-06-27 12:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71919 -2.913825)'), GeomFromEWKT('SRID=4674;POINT (-39.719251 -2.913814)'))) / (select extract(epoch from '2026-06-27 12:31:52'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46819, 'SRID=4674;POINT (-39.719426 -2.913773)', '2026-06-27 12:31:58', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719251 -2.913814)'), GeomFromEWKT('SRID=4674;POINT (-39.719426 -2.913773)'))) / (select extract(epoch from '2026-06-27 12:31:58'::timestamp) - extract(epoch from '2026-06-27 12:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719251 -2.913814)'), GeomFromEWKT('SRID=4674;POINT (-39.719426 -2.913773)'))) / (select extract(epoch from '2026-06-27 12:31:58'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.719612 -2.91369)', '2026-06-27 12:32:06', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719426 -2.913773)'), GeomFromEWKT('SRID=4674;POINT (-39.719612 -2.91369)'))) / (select extract(epoch from '2026-06-27 12:32:06'::timestamp) - extract(epoch from '2026-06-27 12:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719426 -2.913773)'), GeomFromEWKT('SRID=4674;POINT (-39.719612 -2.91369)'))) / (select extract(epoch from '2026-06-27 12:32:06'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46819, 'SRID=4674;POINT (-39.719778 -2.913609)', '2026-06-27 12:32:12', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719612 -2.91369)'), GeomFromEWKT('SRID=4674;POINT (-39.719778 -2.913609)'))) / (select extract(epoch from '2026-06-27 12:32:12'::timestamp) - extract(epoch from '2026-06-27 12:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719612 -2.91369)'), GeomFromEWKT('SRID=4674;POINT (-39.719778 -2.913609)'))) / (select extract(epoch from '2026-06-27 12:32:12'::timestamp) - extract(epoch from '2026-06-27 12:32: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'), 46819, 'SRID=4674;POINT (-39.719807 -2.913602)', '2026-06-27 12:32:13', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719778 -2.913609)'), GeomFromEWKT('SRID=4674;POINT (-39.719807 -2.913602)'))) / (select extract(epoch from '2026-06-27 12:32:13'::timestamp) - extract(epoch from '2026-06-27 12:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719778 -2.913609)'), GeomFromEWKT('SRID=4674;POINT (-39.719807 -2.913602)'))) / (select extract(epoch from '2026-06-27 12:32:13'::timestamp) - extract(epoch from '2026-06-27 12:32: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'), 46819, 'SRID=4674;POINT (-39.719998 -2.913559)', '2026-06-27 12:32:20', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719807 -2.913602)'), GeomFromEWKT('SRID=4674;POINT (-39.719998 -2.913559)'))) / (select extract(epoch from '2026-06-27 12:32:20'::timestamp) - extract(epoch from '2026-06-27 12:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719807 -2.913602)'), GeomFromEWKT('SRID=4674;POINT (-39.719998 -2.913559)'))) / (select extract(epoch from '2026-06-27 12:32:20'::timestamp) - extract(epoch from '2026-06-27 12:32: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'), 46819, 'SRID=4674;POINT (-39.720191 -2.913517)', '2026-06-27 12:32:28', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719998 -2.913559)'), GeomFromEWKT('SRID=4674;POINT (-39.720191 -2.913517)'))) / (select extract(epoch from '2026-06-27 12:32:28'::timestamp) - extract(epoch from '2026-06-27 12:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719998 -2.913559)'), GeomFromEWKT('SRID=4674;POINT (-39.720191 -2.913517)'))) / (select extract(epoch from '2026-06-27 12:32:28'::timestamp) - extract(epoch from '2026-06-27 12:32: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'), 46819, 'SRID=4674;POINT (-39.720217 -2.91352)', '2026-06-27 12:32:29', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720191 -2.913517)'), GeomFromEWKT('SRID=4674;POINT (-39.720217 -2.91352)'))) / (select extract(epoch from '2026-06-27 12:32:29'::timestamp) - extract(epoch from '2026-06-27 12:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720191 -2.913517)'), GeomFromEWKT('SRID=4674;POINT (-39.720217 -2.91352)'))) / (select extract(epoch from '2026-06-27 12:32:29'::timestamp) - extract(epoch from '2026-06-27 12:32: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'), 46819, 'SRID=4674;POINT (-39.720407 -2.913502)', '2026-06-27 12:32:36', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720217 -2.91352)'), GeomFromEWKT('SRID=4674;POINT (-39.720407 -2.913502)'))) / (select extract(epoch from '2026-06-27 12:32:36'::timestamp) - extract(epoch from '2026-06-27 12:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720217 -2.91352)'), GeomFromEWKT('SRID=4674;POINT (-39.720407 -2.913502)'))) / (select extract(epoch from '2026-06-27 12:32:36'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.720431 -2.913498)', '2026-06-27 12:32:37', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720407 -2.913502)'), GeomFromEWKT('SRID=4674;POINT (-39.720431 -2.913498)'))) / (select extract(epoch from '2026-06-27 12:32:37'::timestamp) - extract(epoch from '2026-06-27 12:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720407 -2.913502)'), GeomFromEWKT('SRID=4674;POINT (-39.720431 -2.913498)'))) / (select extract(epoch from '2026-06-27 12:32:37'::timestamp) - extract(epoch from '2026-06-27 12:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.72062 -2.913479)', '2026-06-27 12:32:43', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720431 -2.913498)'), GeomFromEWKT('SRID=4674;POINT (-39.72062 -2.913479)'))) / (select extract(epoch from '2026-06-27 12:32:43'::timestamp) - extract(epoch from '2026-06-27 12:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720431 -2.913498)'), GeomFromEWKT('SRID=4674;POINT (-39.72062 -2.913479)'))) / (select extract(epoch from '2026-06-27 12:32:43'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.720676 -2.913477)', '2026-06-27 12:32:45', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72062 -2.913479)'), GeomFromEWKT('SRID=4674;POINT (-39.720676 -2.913477)'))) / (select extract(epoch from '2026-06-27 12:32:45'::timestamp) - extract(epoch from '2026-06-27 12:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72062 -2.913479)'), GeomFromEWKT('SRID=4674;POINT (-39.720676 -2.913477)'))) / (select extract(epoch from '2026-06-27 12:32:45'::timestamp) - extract(epoch from '2026-06-27 12:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.720881 -2.913471)', '2026-06-27 12:32:51', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720676 -2.913477)'), GeomFromEWKT('SRID=4674;POINT (-39.720881 -2.913471)'))) / (select extract(epoch from '2026-06-27 12:32:51'::timestamp) - extract(epoch from '2026-06-27 12:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720676 -2.913477)'), GeomFromEWKT('SRID=4674;POINT (-39.720881 -2.913471)'))) / (select extract(epoch from '2026-06-27 12:32:51'::timestamp) - extract(epoch from '2026-06-27 12:32: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'), 46819, 'SRID=4674;POINT (-39.720953 -2.913469)', '2026-06-27 12:32:53', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720881 -2.913471)'), GeomFromEWKT('SRID=4674;POINT (-39.720953 -2.913469)'))) / (select extract(epoch from '2026-06-27 12:32:53'::timestamp) - extract(epoch from '2026-06-27 12:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720881 -2.913471)'), GeomFromEWKT('SRID=4674;POINT (-39.720953 -2.913469)'))) / (select extract(epoch from '2026-06-27 12:32:53'::timestamp) - extract(epoch from '2026-06-27 12:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.721159 -2.913463)', '2026-06-27 12:33:00', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720953 -2.913469)'), GeomFromEWKT('SRID=4674;POINT (-39.721159 -2.913463)'))) / (select extract(epoch from '2026-06-27 12:33:00'::timestamp) - extract(epoch from '2026-06-27 12:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720953 -2.913469)'), GeomFromEWKT('SRID=4674;POINT (-39.721159 -2.913463)'))) / (select extract(epoch from '2026-06-27 12:33:00'::timestamp) - extract(epoch from '2026-06-27 12:32: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'), 46819, 'SRID=4674;POINT (-39.721371 -2.913464)', '2026-06-27 12:33:07', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721159 -2.913463)'), GeomFromEWKT('SRID=4674;POINT (-39.721371 -2.913464)'))) / (select extract(epoch from '2026-06-27 12:33:07'::timestamp) - extract(epoch from '2026-06-27 12:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721159 -2.913463)'), GeomFromEWKT('SRID=4674;POINT (-39.721371 -2.913464)'))) / (select extract(epoch from '2026-06-27 12:33:07'::timestamp) - extract(epoch from '2026-06-27 12:33: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'), 46819, 'SRID=4674;POINT (-39.721404 -2.913465)', '2026-06-27 12:33:08', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721371 -2.913464)'), GeomFromEWKT('SRID=4674;POINT (-39.721404 -2.913465)'))) / (select extract(epoch from '2026-06-27 12:33:08'::timestamp) - extract(epoch from '2026-06-27 12:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721371 -2.913464)'), GeomFromEWKT('SRID=4674;POINT (-39.721404 -2.913465)'))) / (select extract(epoch from '2026-06-27 12:33:08'::timestamp) - extract(epoch from '2026-06-27 12:33:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.721596 -2.9135)', '2026-06-27 12:33:14', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721404 -2.913465)'), GeomFromEWKT('SRID=4674;POINT (-39.721596 -2.9135)'))) / (select extract(epoch from '2026-06-27 12:33:14'::timestamp) - extract(epoch from '2026-06-27 12:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721404 -2.913465)'), GeomFromEWKT('SRID=4674;POINT (-39.721596 -2.9135)'))) / (select extract(epoch from '2026-06-27 12:33:14'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.721628 -2.913498)', '2026-06-27 12:33:15', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721596 -2.9135)'), GeomFromEWKT('SRID=4674;POINT (-39.721628 -2.913498)'))) / (select extract(epoch from '2026-06-27 12:33:15'::timestamp) - extract(epoch from '2026-06-27 12:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721596 -2.9135)'), GeomFromEWKT('SRID=4674;POINT (-39.721628 -2.913498)'))) / (select extract(epoch from '2026-06-27 12:33:15'::timestamp) - extract(epoch from '2026-06-27 12:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.721815 -2.913488)', '2026-06-27 12:33:21', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721628 -2.913498)'), GeomFromEWKT('SRID=4674;POINT (-39.721815 -2.913488)'))) / (select extract(epoch from '2026-06-27 12:33:21'::timestamp) - extract(epoch from '2026-06-27 12:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721628 -2.913498)'), GeomFromEWKT('SRID=4674;POINT (-39.721815 -2.913488)'))) / (select extract(epoch from '2026-06-27 12:33:21'::timestamp) - extract(epoch from '2026-06-27 12:33: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'), 46819, 'SRID=4674;POINT (-39.721879 -2.913486)', '2026-06-27 12:33:23', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721815 -2.913488)'), GeomFromEWKT('SRID=4674;POINT (-39.721879 -2.913486)'))) / (select extract(epoch from '2026-06-27 12:33:23'::timestamp) - extract(epoch from '2026-06-27 12:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721815 -2.913488)'), GeomFromEWKT('SRID=4674;POINT (-39.721879 -2.913486)'))) / (select extract(epoch from '2026-06-27 12:33:23'::timestamp) - extract(epoch from '2026-06-27 12:33: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'), 46819, 'SRID=4674;POINT (-39.722052 -2.913535)', '2026-06-27 12:33:30', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721879 -2.913486)'), GeomFromEWKT('SRID=4674;POINT (-39.722052 -2.913535)'))) / (select extract(epoch from '2026-06-27 12:33:30'::timestamp) - extract(epoch from '2026-06-27 12:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721879 -2.913486)'), GeomFromEWKT('SRID=4674;POINT (-39.722052 -2.913535)'))) / (select extract(epoch from '2026-06-27 12:33:30'::timestamp) - extract(epoch from '2026-06-27 12:33: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'), 46819, 'SRID=4674;POINT (-39.722253 -2.91354)', '2026-06-27 12:33:37', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722052 -2.913535)'), GeomFromEWKT('SRID=4674;POINT (-39.722253 -2.91354)'))) / (select extract(epoch from '2026-06-27 12:33:37'::timestamp) - extract(epoch from '2026-06-27 12:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722052 -2.913535)'), GeomFromEWKT('SRID=4674;POINT (-39.722253 -2.91354)'))) / (select extract(epoch from '2026-06-27 12:33:37'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.722438 -2.913544)', '2026-06-27 12:33:43', 31.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722253 -2.91354)'), GeomFromEWKT('SRID=4674;POINT (-39.722438 -2.913544)'))) / (select extract(epoch from '2026-06-27 12:33:43'::timestamp) - extract(epoch from '2026-06-27 12:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722253 -2.91354)'), GeomFromEWKT('SRID=4674;POINT (-39.722438 -2.913544)'))) / (select extract(epoch from '2026-06-27 12:33:43'::timestamp) - extract(epoch from '2026-06-27 12:33: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'), 46819, 'SRID=4674;POINT (-39.722466 -2.913543)', '2026-06-27 12:33:44', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722438 -2.913544)'), GeomFromEWKT('SRID=4674;POINT (-39.722466 -2.913543)'))) / (select extract(epoch from '2026-06-27 12:33:44'::timestamp) - extract(epoch from '2026-06-27 12:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722438 -2.913544)'), GeomFromEWKT('SRID=4674;POINT (-39.722466 -2.913543)'))) / (select extract(epoch from '2026-06-27 12:33:44'::timestamp) - extract(epoch from '2026-06-27 12:33: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'), 46819, 'SRID=4674;POINT (-39.722672 -2.913536)', '2026-06-27 12:33:51', 32.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722466 -2.913543)'), GeomFromEWKT('SRID=4674;POINT (-39.722672 -2.913536)'))) / (select extract(epoch from '2026-06-27 12:33:51'::timestamp) - extract(epoch from '2026-06-27 12:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722466 -2.913543)'), GeomFromEWKT('SRID=4674;POINT (-39.722672 -2.913536)'))) / (select extract(epoch from '2026-06-27 12:33:51'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.722853 -2.91352)', '2026-06-27 12:33:58', 33.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722672 -2.913536)'), GeomFromEWKT('SRID=4674;POINT (-39.722853 -2.91352)'))) / (select extract(epoch from '2026-06-27 12:33:58'::timestamp) - extract(epoch from '2026-06-27 12:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722672 -2.913536)'), GeomFromEWKT('SRID=4674;POINT (-39.722853 -2.91352)'))) / (select extract(epoch from '2026-06-27 12:33:58'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.722913 -2.913524)', '2026-06-27 12:34:00', 34, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722853 -2.91352)'), GeomFromEWKT('SRID=4674;POINT (-39.722913 -2.913524)'))) / (select extract(epoch from '2026-06-27 12:34:00'::timestamp) - extract(epoch from '2026-06-27 12:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722853 -2.91352)'), GeomFromEWKT('SRID=4674;POINT (-39.722913 -2.913524)'))) / (select extract(epoch from '2026-06-27 12:34:00'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.723101 -2.913519)', '2026-06-27 12:34:05', 34.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722913 -2.913524)'), GeomFromEWKT('SRID=4674;POINT (-39.723101 -2.913519)'))) / (select extract(epoch from '2026-06-27 12:34:05'::timestamp) - extract(epoch from '2026-06-27 12:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722913 -2.913524)'), GeomFromEWKT('SRID=4674;POINT (-39.723101 -2.913519)'))) / (select extract(epoch from '2026-06-27 12:34:05'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46819, 'SRID=4674;POINT (-39.723134 -2.913522)', '2026-06-27 12:34:06', 35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723101 -2.913519)'), GeomFromEWKT('SRID=4674;POINT (-39.723134 -2.913522)'))) / (select extract(epoch from '2026-06-27 12:34:06'::timestamp) - extract(epoch from '2026-06-27 12:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723101 -2.913519)'), GeomFromEWKT('SRID=4674;POINT (-39.723134 -2.913522)'))) / (select extract(epoch from '2026-06-27 12:34:06'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.723339 -2.913537)', '2026-06-27 12:34:12', 35.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723134 -2.913522)'), GeomFromEWKT('SRID=4674;POINT (-39.723339 -2.913537)'))) / (select extract(epoch from '2026-06-27 12:34:12'::timestamp) - extract(epoch from '2026-06-27 12:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723134 -2.913522)'), GeomFromEWKT('SRID=4674;POINT (-39.723339 -2.913537)'))) / (select extract(epoch from '2026-06-27 12:34:12'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46819, 'SRID=4674;POINT (-39.723438 -2.913538)', '2026-06-27 12:34:15', 35.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723339 -2.913537)'), GeomFromEWKT('SRID=4674;POINT (-39.723438 -2.913538)'))) / (select extract(epoch from '2026-06-27 12:34:15'::timestamp) - extract(epoch from '2026-06-27 12:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723339 -2.913537)'), GeomFromEWKT('SRID=4674;POINT (-39.723438 -2.913538)'))) / (select extract(epoch from '2026-06-27 12:34:15'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46819, 'SRID=4674;POINT (-39.723638 -2.91357)', '2026-06-27 12:34:22', 36.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723438 -2.913538)'), GeomFromEWKT('SRID=4674;POINT (-39.723638 -2.91357)'))) / (select extract(epoch from '2026-06-27 12:34:22'::timestamp) - extract(epoch from '2026-06-27 12:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723438 -2.913538)'), GeomFromEWKT('SRID=4674;POINT (-39.723638 -2.91357)'))) / (select extract(epoch from '2026-06-27 12:34:22'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46819, 'SRID=4674;POINT (-39.723666 -2.913576)', '2026-06-27 12:34:23', 36.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723638 -2.91357)'), GeomFromEWKT('SRID=4674;POINT (-39.723666 -2.913576)'))) / (select extract(epoch from '2026-06-27 12:34:23'::timestamp) - extract(epoch from '2026-06-27 12:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723638 -2.91357)'), GeomFromEWKT('SRID=4674;POINT (-39.723666 -2.913576)'))) / (select extract(epoch from '2026-06-27 12:34:23'::timestamp) - extract(epoch from '2026-06-27 12:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.723856 -2.913612)', '2026-06-27 12:34:30', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723666 -2.913576)'), GeomFromEWKT('SRID=4674;POINT (-39.723856 -2.913612)'))) / (select extract(epoch from '2026-06-27 12:34:30'::timestamp) - extract(epoch from '2026-06-27 12:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723666 -2.913576)'), GeomFromEWKT('SRID=4674;POINT (-39.723856 -2.913612)'))) / (select extract(epoch from '2026-06-27 12:34:30'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46819, 'SRID=4674;POINT (-39.723881 -2.913622)', '2026-06-27 12:34:31', 38.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723856 -2.913612)'), GeomFromEWKT('SRID=4674;POINT (-39.723881 -2.913622)'))) / (select extract(epoch from '2026-06-27 12:34:31'::timestamp) - extract(epoch from '2026-06-27 12:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723856 -2.913612)'), GeomFromEWKT('SRID=4674;POINT (-39.723881 -2.913622)'))) / (select extract(epoch from '2026-06-27 12:34:31'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46819, 'SRID=4674;POINT (-39.724064 -2.913656)', '2026-06-27 12:34:38', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723881 -2.913622)'), GeomFromEWKT('SRID=4674;POINT (-39.724064 -2.913656)'))) / (select extract(epoch from '2026-06-27 12:34:38'::timestamp) - extract(epoch from '2026-06-27 12:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723881 -2.913622)'), GeomFromEWKT('SRID=4674;POINT (-39.724064 -2.913656)'))) / (select extract(epoch from '2026-06-27 12:34:38'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46819, 'SRID=4674;POINT (-39.724121 -2.913673)', '2026-06-27 12:34:40', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724064 -2.913656)'), GeomFromEWKT('SRID=4674;POINT (-39.724121 -2.913673)'))) / (select extract(epoch from '2026-06-27 12:34:40'::timestamp) - extract(epoch from '2026-06-27 12:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724064 -2.913656)'), GeomFromEWKT('SRID=4674;POINT (-39.724121 -2.913673)'))) / (select extract(epoch from '2026-06-27 12:34:40'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46819, 'SRID=4674;POINT (-39.724326 -2.913714)', '2026-06-27 12:34:47', 39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724121 -2.913673)'), GeomFromEWKT('SRID=4674;POINT (-39.724326 -2.913714)'))) / (select extract(epoch from '2026-06-27 12:34:47'::timestamp) - extract(epoch from '2026-06-27 12:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724121 -2.913673)'), GeomFromEWKT('SRID=4674;POINT (-39.724326 -2.913714)'))) / (select extract(epoch from '2026-06-27 12:34:47'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.724449 -2.913729)', '2026-06-27 12:34:51', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724326 -2.913714)'), GeomFromEWKT('SRID=4674;POINT (-39.724449 -2.913729)'))) / (select extract(epoch from '2026-06-27 12:34:51'::timestamp) - extract(epoch from '2026-06-27 12:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724326 -2.913714)'), GeomFromEWKT('SRID=4674;POINT (-39.724449 -2.913729)'))) / (select extract(epoch from '2026-06-27 12:34:51'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.724634 -2.913745)', '2026-06-27 12:34:57', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724449 -2.913729)'), GeomFromEWKT('SRID=4674;POINT (-39.724634 -2.913745)'))) / (select extract(epoch from '2026-06-27 12:34:57'::timestamp) - extract(epoch from '2026-06-27 12:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724449 -2.913729)'), GeomFromEWKT('SRID=4674;POINT (-39.724634 -2.913745)'))) / (select extract(epoch from '2026-06-27 12:34:57'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46819, 'SRID=4674;POINT (-39.724664 -2.913746)', '2026-06-27 12:34:58', 39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724634 -2.913745)'), GeomFromEWKT('SRID=4674;POINT (-39.724664 -2.913746)'))) / (select extract(epoch from '2026-06-27 12:34:58'::timestamp) - extract(epoch from '2026-06-27 12:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724634 -2.913745)'), GeomFromEWKT('SRID=4674;POINT (-39.724664 -2.913746)'))) / (select extract(epoch from '2026-06-27 12:34:58'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46819, 'SRID=4674;POINT (-39.724844 -2.913774)', '2026-06-27 12:35:04', 39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724664 -2.913746)'), GeomFromEWKT('SRID=4674;POINT (-39.724844 -2.913774)'))) / (select extract(epoch from '2026-06-27 12:35:04'::timestamp) - extract(epoch from '2026-06-27 12:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724664 -2.913746)'), GeomFromEWKT('SRID=4674;POINT (-39.724844 -2.913774)'))) / (select extract(epoch from '2026-06-27 12:35:04'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46819, 'SRID=4674;POINT (-39.724911 -2.913774)', '2026-06-27 12:35:06', 39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724844 -2.913774)'), GeomFromEWKT('SRID=4674;POINT (-39.724911 -2.913774)'))) / (select extract(epoch from '2026-06-27 12:35:06'::timestamp) - extract(epoch from '2026-06-27 12:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724844 -2.913774)'), GeomFromEWKT('SRID=4674;POINT (-39.724911 -2.913774)'))) / (select extract(epoch from '2026-06-27 12:35:06'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46819, 'SRID=4674;POINT (-39.725103 -2.913759)', '2026-06-27 12:35:12', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724911 -2.913774)'), GeomFromEWKT('SRID=4674;POINT (-39.725103 -2.913759)'))) / (select extract(epoch from '2026-06-27 12:35:12'::timestamp) - extract(epoch from '2026-06-27 12:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724911 -2.913774)'), GeomFromEWKT('SRID=4674;POINT (-39.725103 -2.913759)'))) / (select extract(epoch from '2026-06-27 12:35:12'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.725195 -2.91377)', '2026-06-27 12:35:15', 37.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725103 -2.913759)'), GeomFromEWKT('SRID=4674;POINT (-39.725195 -2.91377)'))) / (select extract(epoch from '2026-06-27 12:35:15'::timestamp) - extract(epoch from '2026-06-27 12:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725103 -2.913759)'), GeomFromEWKT('SRID=4674;POINT (-39.725195 -2.91377)'))) / (select extract(epoch from '2026-06-27 12:35:15'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.725377 -2.913785)', '2026-06-27 12:35:22', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725195 -2.91377)'), GeomFromEWKT('SRID=4674;POINT (-39.725377 -2.913785)'))) / (select extract(epoch from '2026-06-27 12:35:22'::timestamp) - extract(epoch from '2026-06-27 12:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725195 -2.91377)'), GeomFromEWKT('SRID=4674;POINT (-39.725377 -2.913785)'))) / (select extract(epoch from '2026-06-27 12:35:22'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46819, 'SRID=4674;POINT (-39.725466 -2.913795)', '2026-06-27 12:35:25', 38.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725377 -2.913785)'), GeomFromEWKT('SRID=4674;POINT (-39.725466 -2.913795)'))) / (select extract(epoch from '2026-06-27 12:35:25'::timestamp) - extract(epoch from '2026-06-27 12:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725377 -2.913785)'), GeomFromEWKT('SRID=4674;POINT (-39.725466 -2.913795)'))) / (select extract(epoch from '2026-06-27 12:35:25'::timestamp) - extract(epoch from '2026-06-27 12:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.725673 -2.913832)', '2026-06-27 12:35:31', 39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725466 -2.913795)'), GeomFromEWKT('SRID=4674;POINT (-39.725673 -2.913832)'))) / (select extract(epoch from '2026-06-27 12:35:31'::timestamp) - extract(epoch from '2026-06-27 12:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725466 -2.913795)'), GeomFromEWKT('SRID=4674;POINT (-39.725673 -2.913832)'))) / (select extract(epoch from '2026-06-27 12:35:31'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46819, 'SRID=4674;POINT (-39.725741 -2.913826)', '2026-06-27 12:35:33', 39.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725673 -2.913832)'), GeomFromEWKT('SRID=4674;POINT (-39.725741 -2.913826)'))) / (select extract(epoch from '2026-06-27 12:35:33'::timestamp) - extract(epoch from '2026-06-27 12:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725673 -2.913832)'), GeomFromEWKT('SRID=4674;POINT (-39.725741 -2.913826)'))) / (select extract(epoch from '2026-06-27 12:35:33'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46819, 'SRID=4674;POINT (-39.725927 -2.913821)', '2026-06-27 12:35:39', 40.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725741 -2.913826)'), GeomFromEWKT('SRID=4674;POINT (-39.725927 -2.913821)'))) / (select extract(epoch from '2026-06-27 12:35:39'::timestamp) - extract(epoch from '2026-06-27 12:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725741 -2.913826)'), GeomFromEWKT('SRID=4674;POINT (-39.725927 -2.913821)'))) / (select extract(epoch from '2026-06-27 12:35:39'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46819, 'SRID=4674;POINT (-39.726029 -2.913843)', '2026-06-27 12:35:43', 42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725927 -2.913821)'), GeomFromEWKT('SRID=4674;POINT (-39.726029 -2.913843)'))) / (select extract(epoch from '2026-06-27 12:35:43'::timestamp) - extract(epoch from '2026-06-27 12:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725927 -2.913821)'), GeomFromEWKT('SRID=4674;POINT (-39.726029 -2.913843)'))) / (select extract(epoch from '2026-06-27 12:35:43'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46819, 'SRID=4674;POINT (-39.726219 -2.913885)', '2026-06-27 12:35:50', 43, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726029 -2.913843)'), GeomFromEWKT('SRID=4674;POINT (-39.726219 -2.913885)'))) / (select extract(epoch from '2026-06-27 12:35:50'::timestamp) - extract(epoch from '2026-06-27 12:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726029 -2.913843)'), GeomFromEWKT('SRID=4674;POINT (-39.726219 -2.913885)'))) / (select extract(epoch from '2026-06-27 12:35:50'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46819, 'SRID=4674;POINT (-39.726247 -2.913896)', '2026-06-27 12:35:51', 42.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726219 -2.913885)'), GeomFromEWKT('SRID=4674;POINT (-39.726247 -2.913896)'))) / (select extract(epoch from '2026-06-27 12:35:51'::timestamp) - extract(epoch from '2026-06-27 12:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726219 -2.913885)'), GeomFromEWKT('SRID=4674;POINT (-39.726247 -2.913896)'))) / (select extract(epoch from '2026-06-27 12:35:51'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.726436 -2.913978)', '2026-06-27 12:35:58', 42.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726247 -2.913896)'), GeomFromEWKT('SRID=4674;POINT (-39.726436 -2.913978)'))) / (select extract(epoch from '2026-06-27 12:35:58'::timestamp) - extract(epoch from '2026-06-27 12:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726247 -2.913896)'), GeomFromEWKT('SRID=4674;POINT (-39.726436 -2.913978)'))) / (select extract(epoch from '2026-06-27 12:35:58'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46819, 'SRID=4674;POINT (-39.726483 -2.914002)', '2026-06-27 12:36:00', 42.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726436 -2.913978)'), GeomFromEWKT('SRID=4674;POINT (-39.726483 -2.914002)'))) / (select extract(epoch from '2026-06-27 12:36:00'::timestamp) - extract(epoch from '2026-06-27 12:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726436 -2.913978)'), GeomFromEWKT('SRID=4674;POINT (-39.726483 -2.914002)'))) / (select extract(epoch from '2026-06-27 12:36:00'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46819, 'SRID=4674;POINT (-39.72666 -2.914066)', '2026-06-27 12:36:06', 43.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726483 -2.914002)'), GeomFromEWKT('SRID=4674;POINT (-39.72666 -2.914066)'))) / (select extract(epoch from '2026-06-27 12:36:06'::timestamp) - extract(epoch from '2026-06-27 12:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726483 -2.914002)'), GeomFromEWKT('SRID=4674;POINT (-39.72666 -2.914066)'))) / (select extract(epoch from '2026-06-27 12:36:06'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46819, 'SRID=4674;POINT (-39.726698 -2.914077)', '2026-06-27 12:36:07', 43.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72666 -2.914066)'), GeomFromEWKT('SRID=4674;POINT (-39.726698 -2.914077)'))) / (select extract(epoch from '2026-06-27 12:36:07'::timestamp) - extract(epoch from '2026-06-27 12:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72666 -2.914066)'), GeomFromEWKT('SRID=4674;POINT (-39.726698 -2.914077)'))) / (select extract(epoch from '2026-06-27 12:36:07'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46819, 'SRID=4674;POINT (-39.72688 -2.914126)', '2026-06-27 12:36:13', 44.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726698 -2.914077)'), GeomFromEWKT('SRID=4674;POINT (-39.72688 -2.914126)'))) / (select extract(epoch from '2026-06-27 12:36:13'::timestamp) - extract(epoch from '2026-06-27 12:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726698 -2.914077)'), GeomFromEWKT('SRID=4674;POINT (-39.72688 -2.914126)'))) / (select extract(epoch from '2026-06-27 12:36:13'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46819, 'SRID=4674;POINT (-39.727003 -2.914163)', '2026-06-27 12:36:17', 44.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72688 -2.914126)'), GeomFromEWKT('SRID=4674;POINT (-39.727003 -2.914163)'))) / (select extract(epoch from '2026-06-27 12:36:17'::timestamp) - extract(epoch from '2026-06-27 12:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72688 -2.914126)'), GeomFromEWKT('SRID=4674;POINT (-39.727003 -2.914163)'))) / (select extract(epoch from '2026-06-27 12:36:17'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46819, 'SRID=4674;POINT (-39.727198 -2.91419)', '2026-06-27 12:36:24', 44.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727003 -2.914163)'), GeomFromEWKT('SRID=4674;POINT (-39.727198 -2.91419)'))) / (select extract(epoch from '2026-06-27 12:36:24'::timestamp) - extract(epoch from '2026-06-27 12:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727003 -2.914163)'), GeomFromEWKT('SRID=4674;POINT (-39.727198 -2.91419)'))) / (select extract(epoch from '2026-06-27 12:36:24'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.727296 -2.914189)', '2026-06-27 12:36:27', 45.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727198 -2.91419)'), GeomFromEWKT('SRID=4674;POINT (-39.727296 -2.914189)'))) / (select extract(epoch from '2026-06-27 12:36:27'::timestamp) - extract(epoch from '2026-06-27 12:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727198 -2.91419)'), GeomFromEWKT('SRID=4674;POINT (-39.727296 -2.914189)'))) / (select extract(epoch from '2026-06-27 12:36:27'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46819, 'SRID=4674;POINT (-39.727498 -2.914206)', '2026-06-27 12:36:34', 44.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727296 -2.914189)'), GeomFromEWKT('SRID=4674;POINT (-39.727498 -2.914206)'))) / (select extract(epoch from '2026-06-27 12:36:34'::timestamp) - extract(epoch from '2026-06-27 12:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727296 -2.914189)'), GeomFromEWKT('SRID=4674;POINT (-39.727498 -2.914206)'))) / (select extract(epoch from '2026-06-27 12:36:34'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46819, 'SRID=4674;POINT (-39.727525 -2.914211)', '2026-06-27 12:36:35', 44.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727498 -2.914206)'), GeomFromEWKT('SRID=4674;POINT (-39.727525 -2.914211)'))) / (select extract(epoch from '2026-06-27 12:36:35'::timestamp) - extract(epoch from '2026-06-27 12:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727498 -2.914206)'), GeomFromEWKT('SRID=4674;POINT (-39.727525 -2.914211)'))) / (select extract(epoch from '2026-06-27 12:36:35'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46819, 'SRID=4674;POINT (-39.727715 -2.914231)', '2026-06-27 12:36:41', 44.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727525 -2.914211)'), GeomFromEWKT('SRID=4674;POINT (-39.727715 -2.914231)'))) / (select extract(epoch from '2026-06-27 12:36:41'::timestamp) - extract(epoch from '2026-06-27 12:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727525 -2.914211)'), GeomFromEWKT('SRID=4674;POINT (-39.727715 -2.914231)'))) / (select extract(epoch from '2026-06-27 12:36:41'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.727815 -2.914255)', '2026-06-27 12:36:44', 44.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727715 -2.914231)'), GeomFromEWKT('SRID=4674;POINT (-39.727815 -2.914255)'))) / (select extract(epoch from '2026-06-27 12:36:44'::timestamp) - extract(epoch from '2026-06-27 12:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727715 -2.914231)'), GeomFromEWKT('SRID=4674;POINT (-39.727815 -2.914255)'))) / (select extract(epoch from '2026-06-27 12:36:44'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46819, 'SRID=4674;POINT (-39.728007 -2.914298)', '2026-06-27 12:36:50', 44.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727815 -2.914255)'), GeomFromEWKT('SRID=4674;POINT (-39.728007 -2.914298)'))) / (select extract(epoch from '2026-06-27 12:36:50'::timestamp) - extract(epoch from '2026-06-27 12:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727815 -2.914255)'), GeomFromEWKT('SRID=4674;POINT (-39.728007 -2.914298)'))) / (select extract(epoch from '2026-06-27 12:36:50'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46819, 'SRID=4674;POINT (-39.728069 -2.914305)', '2026-06-27 12:36:53', 44, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728007 -2.914298)'), GeomFromEWKT('SRID=4674;POINT (-39.728069 -2.914305)'))) / (select extract(epoch from '2026-06-27 12:36:53'::timestamp) - extract(epoch from '2026-06-27 12:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728007 -2.914298)'), GeomFromEWKT('SRID=4674;POINT (-39.728069 -2.914305)'))) / (select extract(epoch from '2026-06-27 12:36:53'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.728235 -2.914325)', '2026-06-27 12:37:00', 43.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728069 -2.914305)'), GeomFromEWKT('SRID=4674;POINT (-39.728235 -2.914325)'))) / (select extract(epoch from '2026-06-27 12:37:00'::timestamp) - extract(epoch from '2026-06-27 12:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728069 -2.914305)'), GeomFromEWKT('SRID=4674;POINT (-39.728235 -2.914325)'))) / (select extract(epoch from '2026-06-27 12:37:00'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46819, 'SRID=4674;POINT (-39.728426 -2.914343)', '2026-06-27 12:37:06', 41.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728235 -2.914325)'), GeomFromEWKT('SRID=4674;POINT (-39.728426 -2.914343)'))) / (select extract(epoch from '2026-06-27 12:37:06'::timestamp) - extract(epoch from '2026-06-27 12:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728235 -2.914325)'), GeomFromEWKT('SRID=4674;POINT (-39.728426 -2.914343)'))) / (select extract(epoch from '2026-06-27 12:37:06'::timestamp) - extract(epoch from '2026-06-27 12:37: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'), 46819, 'SRID=4674;POINT (-39.728622 -2.914361)', '2026-06-27 12:37:13', 40, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728426 -2.914343)'), GeomFromEWKT('SRID=4674;POINT (-39.728622 -2.914361)'))) / (select extract(epoch from '2026-06-27 12:37:13'::timestamp) - extract(epoch from '2026-06-27 12:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728426 -2.914343)'), GeomFromEWKT('SRID=4674;POINT (-39.728622 -2.914361)'))) / (select extract(epoch from '2026-06-27 12:37:13'::timestamp) - extract(epoch from '2026-06-27 12:37: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'), 46819, 'SRID=4674;POINT (-39.728652 -2.914362)', '2026-06-27 12:37:14', 39.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728622 -2.914361)'), GeomFromEWKT('SRID=4674;POINT (-39.728652 -2.914362)'))) / (select extract(epoch from '2026-06-27 12:37:14'::timestamp) - extract(epoch from '2026-06-27 12:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728622 -2.914361)'), GeomFromEWKT('SRID=4674;POINT (-39.728652 -2.914362)'))) / (select extract(epoch from '2026-06-27 12:37:14'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.728842 -2.914348)', '2026-06-27 12:37:20', 39.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728652 -2.914362)'), GeomFromEWKT('SRID=4674;POINT (-39.728842 -2.914348)'))) / (select extract(epoch from '2026-06-27 12:37:20'::timestamp) - extract(epoch from '2026-06-27 12:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728652 -2.914362)'), GeomFromEWKT('SRID=4674;POINT (-39.728842 -2.914348)'))) / (select extract(epoch from '2026-06-27 12:37:20'::timestamp) - extract(epoch from '2026-06-27 12:37: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'), 46819, 'SRID=4674;POINT (-39.728919 -2.914344)', '2026-06-27 12:37:23', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728842 -2.914348)'), GeomFromEWKT('SRID=4674;POINT (-39.728919 -2.914344)'))) / (select extract(epoch from '2026-06-27 12:37:23'::timestamp) - extract(epoch from '2026-06-27 12:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728842 -2.914348)'), GeomFromEWKT('SRID=4674;POINT (-39.728919 -2.914344)'))) / (select extract(epoch from '2026-06-27 12:37:23'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.729103 -2.914351)', '2026-06-27 12:37:29', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728919 -2.914344)'), GeomFromEWKT('SRID=4674;POINT (-39.729103 -2.914351)'))) / (select extract(epoch from '2026-06-27 12:37:29'::timestamp) - extract(epoch from '2026-06-27 12:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728919 -2.914344)'), GeomFromEWKT('SRID=4674;POINT (-39.729103 -2.914351)'))) / (select extract(epoch from '2026-06-27 12:37:29'::timestamp) - extract(epoch from '2026-06-27 12:37: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'), 46819, 'SRID=4674;POINT (-39.729249 -2.914364)', '2026-06-27 12:37:33', 39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729103 -2.914351)'), GeomFromEWKT('SRID=4674;POINT (-39.729249 -2.914364)'))) / (select extract(epoch from '2026-06-27 12:37:33'::timestamp) - extract(epoch from '2026-06-27 12:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729103 -2.914351)'), GeomFromEWKT('SRID=4674;POINT (-39.729249 -2.914364)'))) / (select extract(epoch from '2026-06-27 12:37:33'::timestamp) - extract(epoch from '2026-06-27 12:37: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'), 46819, 'SRID=4674;POINT (-39.729436 -2.91439)', '2026-06-27 12:37:40', 37.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729249 -2.914364)'), GeomFromEWKT('SRID=4674;POINT (-39.729436 -2.91439)'))) / (select extract(epoch from '2026-06-27 12:37:40'::timestamp) - extract(epoch from '2026-06-27 12:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729249 -2.914364)'), GeomFromEWKT('SRID=4674;POINT (-39.729436 -2.91439)'))) / (select extract(epoch from '2026-06-27 12:37:40'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.729621 -2.91446)', '2026-06-27 12:37:47', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729436 -2.91439)'), GeomFromEWKT('SRID=4674;POINT (-39.729621 -2.91446)'))) / (select extract(epoch from '2026-06-27 12:37:47'::timestamp) - extract(epoch from '2026-06-27 12:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729436 -2.91439)'), GeomFromEWKT('SRID=4674;POINT (-39.729621 -2.91446)'))) / (select extract(epoch from '2026-06-27 12:37:47'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.729813 -2.914532)', '2026-06-27 12:37:55', 34.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729621 -2.91446)'), GeomFromEWKT('SRID=4674;POINT (-39.729813 -2.914532)'))) / (select extract(epoch from '2026-06-27 12:37:55'::timestamp) - extract(epoch from '2026-06-27 12:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729621 -2.91446)'), GeomFromEWKT('SRID=4674;POINT (-39.729813 -2.914532)'))) / (select extract(epoch from '2026-06-27 12:37:55'::timestamp) - extract(epoch from '2026-06-27 12:37: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'), 46819, 'SRID=4674;POINT (-39.729839 -2.914543)', '2026-06-27 12:37:56', 34.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729813 -2.914532)'), GeomFromEWKT('SRID=4674;POINT (-39.729839 -2.914543)'))) / (select extract(epoch from '2026-06-27 12:37:56'::timestamp) - extract(epoch from '2026-06-27 12:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729813 -2.914532)'), GeomFromEWKT('SRID=4674;POINT (-39.729839 -2.914543)'))) / (select extract(epoch from '2026-06-27 12:37:56'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.730018 -2.914612)', '2026-06-27 12:38:03', 33.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729839 -2.914543)'), GeomFromEWKT('SRID=4674;POINT (-39.730018 -2.914612)'))) / (select extract(epoch from '2026-06-27 12:38:03'::timestamp) - extract(epoch from '2026-06-27 12:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729839 -2.914543)'), GeomFromEWKT('SRID=4674;POINT (-39.730018 -2.914612)'))) / (select extract(epoch from '2026-06-27 12:38:03'::timestamp) - extract(epoch from '2026-06-27 12:37: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'), 46819, 'SRID=4674;POINT (-39.730078 -2.914633)', '2026-06-27 12:38:05', 32.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730018 -2.914612)'), GeomFromEWKT('SRID=4674;POINT (-39.730078 -2.914633)'))) / (select extract(epoch from '2026-06-27 12:38:05'::timestamp) - extract(epoch from '2026-06-27 12:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730018 -2.914612)'), GeomFromEWKT('SRID=4674;POINT (-39.730078 -2.914633)'))) / (select extract(epoch from '2026-06-27 12:38:05'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.730273 -2.914718)', '2026-06-27 12:38:13', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730078 -2.914633)'), GeomFromEWKT('SRID=4674;POINT (-39.730273 -2.914718)'))) / (select extract(epoch from '2026-06-27 12:38:13'::timestamp) - extract(epoch from '2026-06-27 12:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730078 -2.914633)'), GeomFromEWKT('SRID=4674;POINT (-39.730273 -2.914718)'))) / (select extract(epoch from '2026-06-27 12:38:13'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.730303 -2.91473)', '2026-06-27 12:38:14', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730273 -2.914718)'), GeomFromEWKT('SRID=4674;POINT (-39.730303 -2.91473)'))) / (select extract(epoch from '2026-06-27 12:38:14'::timestamp) - extract(epoch from '2026-06-27 12:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730273 -2.914718)'), GeomFromEWKT('SRID=4674;POINT (-39.730303 -2.91473)'))) / (select extract(epoch from '2026-06-27 12:38:14'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.730493 -2.914787)', '2026-06-27 12:38:20', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730303 -2.91473)'), GeomFromEWKT('SRID=4674;POINT (-39.730493 -2.914787)'))) / (select extract(epoch from '2026-06-27 12:38:20'::timestamp) - extract(epoch from '2026-06-27 12:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730303 -2.91473)'), GeomFromEWKT('SRID=4674;POINT (-39.730493 -2.914787)'))) / (select extract(epoch from '2026-06-27 12:38:20'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.730582 -2.914813)', '2026-06-27 12:38:23', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730493 -2.914787)'), GeomFromEWKT('SRID=4674;POINT (-39.730582 -2.914813)'))) / (select extract(epoch from '2026-06-27 12:38:23'::timestamp) - extract(epoch from '2026-06-27 12:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730493 -2.914787)'), GeomFromEWKT('SRID=4674;POINT (-39.730582 -2.914813)'))) / (select extract(epoch from '2026-06-27 12:38:23'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.730764 -2.914847)', '2026-06-27 12:38:29', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730582 -2.914813)'), GeomFromEWKT('SRID=4674;POINT (-39.730764 -2.914847)'))) / (select extract(epoch from '2026-06-27 12:38:29'::timestamp) - extract(epoch from '2026-06-27 12:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730582 -2.914813)'), GeomFromEWKT('SRID=4674;POINT (-39.730764 -2.914847)'))) / (select extract(epoch from '2026-06-27 12:38:29'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.730875 -2.914863)', '2026-06-27 12:38:32', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730764 -2.914847)'), GeomFromEWKT('SRID=4674;POINT (-39.730875 -2.914863)'))) / (select extract(epoch from '2026-06-27 12:38:32'::timestamp) - extract(epoch from '2026-06-27 12:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730764 -2.914847)'), GeomFromEWKT('SRID=4674;POINT (-39.730875 -2.914863)'))) / (select extract(epoch from '2026-06-27 12:38:32'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.731058 -2.914898)', '2026-06-27 12:38:38', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730875 -2.914863)'), GeomFromEWKT('SRID=4674;POINT (-39.731058 -2.914898)'))) / (select extract(epoch from '2026-06-27 12:38:38'::timestamp) - extract(epoch from '2026-06-27 12:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730875 -2.914863)'), GeomFromEWKT('SRID=4674;POINT (-39.731058 -2.914898)'))) / (select extract(epoch from '2026-06-27 12:38:38'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.731149 -2.914923)', '2026-06-27 12:38:41', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731058 -2.914898)'), GeomFromEWKT('SRID=4674;POINT (-39.731149 -2.914923)'))) / (select extract(epoch from '2026-06-27 12:38:41'::timestamp) - extract(epoch from '2026-06-27 12:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731058 -2.914898)'), GeomFromEWKT('SRID=4674;POINT (-39.731149 -2.914923)'))) / (select extract(epoch from '2026-06-27 12:38:41'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.731322 -2.914977)', '2026-06-27 12:38:46', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731149 -2.914923)'), GeomFromEWKT('SRID=4674;POINT (-39.731322 -2.914977)'))) / (select extract(epoch from '2026-06-27 12:38:46'::timestamp) - extract(epoch from '2026-06-27 12:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731149 -2.914923)'), GeomFromEWKT('SRID=4674;POINT (-39.731322 -2.914977)'))) / (select extract(epoch from '2026-06-27 12:38:46'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.731468 -2.915014)', '2026-06-27 12:38:50', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731322 -2.914977)'), GeomFromEWKT('SRID=4674;POINT (-39.731468 -2.915014)'))) / (select extract(epoch from '2026-06-27 12:38:50'::timestamp) - extract(epoch from '2026-06-27 12:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731322 -2.914977)'), GeomFromEWKT('SRID=4674;POINT (-39.731468 -2.915014)'))) / (select extract(epoch from '2026-06-27 12:38:50'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.731652 -2.915026)', '2026-06-27 12:38:56', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731468 -2.915014)'), GeomFromEWKT('SRID=4674;POINT (-39.731652 -2.915026)'))) / (select extract(epoch from '2026-06-27 12:38:56'::timestamp) - extract(epoch from '2026-06-27 12:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731468 -2.915014)'), GeomFromEWKT('SRID=4674;POINT (-39.731652 -2.915026)'))) / (select extract(epoch from '2026-06-27 12:38:56'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.731712 -2.915024)', '2026-06-27 12:38:58', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731652 -2.915026)'), GeomFromEWKT('SRID=4674;POINT (-39.731712 -2.915024)'))) / (select extract(epoch from '2026-06-27 12:38:58'::timestamp) - extract(epoch from '2026-06-27 12:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731652 -2.915026)'), GeomFromEWKT('SRID=4674;POINT (-39.731712 -2.915024)'))) / (select extract(epoch from '2026-06-27 12:38:58'::timestamp) - extract(epoch from '2026-06-27 12:38:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.731906 -2.915007)', '2026-06-27 12:39:05', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731712 -2.915024)'), GeomFromEWKT('SRID=4674;POINT (-39.731906 -2.915007)'))) / (select extract(epoch from '2026-06-27 12:39:05'::timestamp) - extract(epoch from '2026-06-27 12:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731712 -2.915024)'), GeomFromEWKT('SRID=4674;POINT (-39.731906 -2.915007)'))) / (select extract(epoch from '2026-06-27 12:39:05'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46819, 'SRID=4674;POINT (-39.731932 -2.915007)', '2026-06-27 12:39:06', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731906 -2.915007)'), GeomFromEWKT('SRID=4674;POINT (-39.731932 -2.915007)'))) / (select extract(epoch from '2026-06-27 12:39:06'::timestamp) - extract(epoch from '2026-06-27 12:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731906 -2.915007)'), GeomFromEWKT('SRID=4674;POINT (-39.731932 -2.915007)'))) / (select extract(epoch from '2026-06-27 12:39:06'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46819, 'SRID=4674;POINT (-39.732117 -2.914996)', '2026-06-27 12:39:12', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731932 -2.915007)'), GeomFromEWKT('SRID=4674;POINT (-39.732117 -2.914996)'))) / (select extract(epoch from '2026-06-27 12:39:12'::timestamp) - extract(epoch from '2026-06-27 12:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731932 -2.915007)'), GeomFromEWKT('SRID=4674;POINT (-39.732117 -2.914996)'))) / (select extract(epoch from '2026-06-27 12:39:12'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46819, 'SRID=4674;POINT (-39.732251 -2.914998)', '2026-06-27 12:39:16', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732117 -2.914996)'), GeomFromEWKT('SRID=4674;POINT (-39.732251 -2.914998)'))) / (select extract(epoch from '2026-06-27 12:39:16'::timestamp) - extract(epoch from '2026-06-27 12:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732117 -2.914996)'), GeomFromEWKT('SRID=4674;POINT (-39.732251 -2.914998)'))) / (select extract(epoch from '2026-06-27 12:39:16'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46819, 'SRID=4674;POINT (-39.732438 -2.914995)', '2026-06-27 12:39:23', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732251 -2.914998)'), GeomFromEWKT('SRID=4674;POINT (-39.732438 -2.914995)'))) / (select extract(epoch from '2026-06-27 12:39:23'::timestamp) - extract(epoch from '2026-06-27 12:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732251 -2.914998)'), GeomFromEWKT('SRID=4674;POINT (-39.732438 -2.914995)'))) / (select extract(epoch from '2026-06-27 12:39:23'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46819, 'SRID=4674;POINT (-39.732524 -2.914997)', '2026-06-27 12:39:26', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732438 -2.914995)'), GeomFromEWKT('SRID=4674;POINT (-39.732524 -2.914997)'))) / (select extract(epoch from '2026-06-27 12:39:26'::timestamp) - extract(epoch from '2026-06-27 12:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732438 -2.914995)'), GeomFromEWKT('SRID=4674;POINT (-39.732524 -2.914997)'))) / (select extract(epoch from '2026-06-27 12:39:26'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46819, 'SRID=4674;POINT (-39.732704 -2.91502)', '2026-06-27 12:39:33', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732524 -2.914997)'), GeomFromEWKT('SRID=4674;POINT (-39.732704 -2.91502)'))) / (select extract(epoch from '2026-06-27 12:39:33'::timestamp) - extract(epoch from '2026-06-27 12:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732524 -2.914997)'), GeomFromEWKT('SRID=4674;POINT (-39.732704 -2.91502)'))) / (select extract(epoch from '2026-06-27 12:39:33'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46819, 'SRID=4674;POINT (-39.732739 -2.91502)', '2026-06-27 12:39:34', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732704 -2.91502)'), GeomFromEWKT('SRID=4674;POINT (-39.732739 -2.91502)'))) / (select extract(epoch from '2026-06-27 12:39:34'::timestamp) - extract(epoch from '2026-06-27 12:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732704 -2.91502)'), GeomFromEWKT('SRID=4674;POINT (-39.732739 -2.91502)'))) / (select extract(epoch from '2026-06-27 12:39:34'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46819, 'SRID=4674;POINT (-39.732926 -2.915038)', '2026-06-27 12:39:40', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732739 -2.91502)'), GeomFromEWKT('SRID=4674;POINT (-39.732926 -2.915038)'))) / (select extract(epoch from '2026-06-27 12:39:40'::timestamp) - extract(epoch from '2026-06-27 12:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732739 -2.91502)'), GeomFromEWKT('SRID=4674;POINT (-39.732926 -2.915038)'))) / (select extract(epoch from '2026-06-27 12:39:40'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46819, 'SRID=4674;POINT (-39.732956 -2.915041)', '2026-06-27 12:39:41', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732926 -2.915038)'), GeomFromEWKT('SRID=4674;POINT (-39.732956 -2.915041)'))) / (select extract(epoch from '2026-06-27 12:39:41'::timestamp) - extract(epoch from '2026-06-27 12:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732926 -2.915038)'), GeomFromEWKT('SRID=4674;POINT (-39.732956 -2.915041)'))) / (select extract(epoch from '2026-06-27 12:39:41'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.733152 -2.915059)', '2026-06-27 12:39:47', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732956 -2.915041)'), GeomFromEWKT('SRID=4674;POINT (-39.733152 -2.915059)'))) / (select extract(epoch from '2026-06-27 12:39:47'::timestamp) - extract(epoch from '2026-06-27 12:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732956 -2.915041)'), GeomFromEWKT('SRID=4674;POINT (-39.733152 -2.915059)'))) / (select extract(epoch from '2026-06-27 12:39:47'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46819, 'SRID=4674;POINT (-39.733341 -2.915074)', '2026-06-27 12:39:54', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733152 -2.915059)'), GeomFromEWKT('SRID=4674;POINT (-39.733341 -2.915074)'))) / (select extract(epoch from '2026-06-27 12:39:54'::timestamp) - extract(epoch from '2026-06-27 12:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733152 -2.915059)'), GeomFromEWKT('SRID=4674;POINT (-39.733341 -2.915074)'))) / (select extract(epoch from '2026-06-27 12:39:54'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.733433 -2.915092)', '2026-06-27 12:39:57', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733341 -2.915074)'), GeomFromEWKT('SRID=4674;POINT (-39.733433 -2.915092)'))) / (select extract(epoch from '2026-06-27 12:39:57'::timestamp) - extract(epoch from '2026-06-27 12:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733341 -2.915074)'), GeomFromEWKT('SRID=4674;POINT (-39.733433 -2.915092)'))) / (select extract(epoch from '2026-06-27 12:39:57'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46819, 'SRID=4674;POINT (-39.733614 -2.915122)', '2026-06-27 12:40:03', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733433 -2.915092)'), GeomFromEWKT('SRID=4674;POINT (-39.733614 -2.915122)'))) / (select extract(epoch from '2026-06-27 12:40:03'::timestamp) - extract(epoch from '2026-06-27 12:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733433 -2.915092)'), GeomFromEWKT('SRID=4674;POINT (-39.733614 -2.915122)'))) / (select extract(epoch from '2026-06-27 12:40:03'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46819, 'SRID=4674;POINT (-39.733653 -2.915126)', '2026-06-27 12:40:05', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733614 -2.915122)'), GeomFromEWKT('SRID=4674;POINT (-39.733653 -2.915126)'))) / (select extract(epoch from '2026-06-27 12:40:05'::timestamp) - extract(epoch from '2026-06-27 12:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733614 -2.915122)'), GeomFromEWKT('SRID=4674;POINT (-39.733653 -2.915126)'))) / (select extract(epoch from '2026-06-27 12:40:05'::timestamp) - extract(epoch from '2026-06-27 12:40: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'), 46819, 'SRID=4674;POINT (-39.733849 -2.915163)', '2026-06-27 12:40:12', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733653 -2.915126)'), GeomFromEWKT('SRID=4674;POINT (-39.733849 -2.915163)'))) / (select extract(epoch from '2026-06-27 12:40:12'::timestamp) - extract(epoch from '2026-06-27 12:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733653 -2.915126)'), GeomFromEWKT('SRID=4674;POINT (-39.733849 -2.915163)'))) / (select extract(epoch from '2026-06-27 12:40:12'::timestamp) - extract(epoch from '2026-06-27 12:40: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'), 46819, 'SRID=4674;POINT (-39.733985 -2.915188)', '2026-06-27 12:40:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733849 -2.915163)'), GeomFromEWKT('SRID=4674;POINT (-39.733985 -2.915188)'))) / (select extract(epoch from '2026-06-27 12:40:16'::timestamp) - extract(epoch from '2026-06-27 12:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733849 -2.915163)'), GeomFromEWKT('SRID=4674;POINT (-39.733985 -2.915188)'))) / (select extract(epoch from '2026-06-27 12:40:16'::timestamp) - extract(epoch from '2026-06-27 12:40: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'), 46819, 'SRID=4674;POINT (-39.73418 -2.915238)', '2026-06-27 12:40:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733985 -2.915188)'), GeomFromEWKT('SRID=4674;POINT (-39.73418 -2.915238)'))) / (select extract(epoch from '2026-06-27 12:40:22'::timestamp) - extract(epoch from '2026-06-27 12:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733985 -2.915188)'), GeomFromEWKT('SRID=4674;POINT (-39.73418 -2.915238)'))) / (select extract(epoch from '2026-06-27 12:40:22'::timestamp) - extract(epoch from '2026-06-27 12:40: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'), 46819, 'SRID=4674;POINT (-39.734306 -2.915266)', '2026-06-27 12:40:26', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73418 -2.915238)'), GeomFromEWKT('SRID=4674;POINT (-39.734306 -2.915266)'))) / (select extract(epoch from '2026-06-27 12:40:26'::timestamp) - extract(epoch from '2026-06-27 12:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73418 -2.915238)'), GeomFromEWKT('SRID=4674;POINT (-39.734306 -2.915266)'))) / (select extract(epoch from '2026-06-27 12:40:26'::timestamp) - extract(epoch from '2026-06-27 12:40: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'), 46819, 'SRID=4674;POINT (-39.734493 -2.915311)', '2026-06-27 12:40:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734306 -2.915266)'), GeomFromEWKT('SRID=4674;POINT (-39.734493 -2.915311)'))) / (select extract(epoch from '2026-06-27 12:40:32'::timestamp) - extract(epoch from '2026-06-27 12:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734306 -2.915266)'), GeomFromEWKT('SRID=4674;POINT (-39.734493 -2.915311)'))) / (select extract(epoch from '2026-06-27 12:40:32'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.734533 -2.915318)', '2026-06-27 12:40:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734493 -2.915311)'), GeomFromEWKT('SRID=4674;POINT (-39.734533 -2.915318)'))) / (select extract(epoch from '2026-06-27 12:40:33'::timestamp) - extract(epoch from '2026-06-27 12:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734493 -2.915311)'), GeomFromEWKT('SRID=4674;POINT (-39.734533 -2.915318)'))) / (select extract(epoch from '2026-06-27 12:40:33'::timestamp) - extract(epoch from '2026-06-27 12:40: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'), 46819, 'SRID=4674;POINT (-39.734742 -2.915353)', '2026-06-27 12:40:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734533 -2.915318)'), GeomFromEWKT('SRID=4674;POINT (-39.734742 -2.915353)'))) / (select extract(epoch from '2026-06-27 12:40:40'::timestamp) - extract(epoch from '2026-06-27 12:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734533 -2.915318)'), GeomFromEWKT('SRID=4674;POINT (-39.734742 -2.915353)'))) / (select extract(epoch from '2026-06-27 12:40:40'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.734771 -2.915363)', '2026-06-27 12:40:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734742 -2.915353)'), GeomFromEWKT('SRID=4674;POINT (-39.734771 -2.915363)'))) / (select extract(epoch from '2026-06-27 12:40:41'::timestamp) - extract(epoch from '2026-06-27 12:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734742 -2.915353)'), GeomFromEWKT('SRID=4674;POINT (-39.734771 -2.915363)'))) / (select extract(epoch from '2026-06-27 12:40:41'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.734976 -2.915409)', '2026-06-27 12:40:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734771 -2.915363)'), GeomFromEWKT('SRID=4674;POINT (-39.734976 -2.915409)'))) / (select extract(epoch from '2026-06-27 12:40:48'::timestamp) - extract(epoch from '2026-06-27 12:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734771 -2.915363)'), GeomFromEWKT('SRID=4674;POINT (-39.734976 -2.915409)'))) / (select extract(epoch from '2026-06-27 12:40:48'::timestamp) - extract(epoch from '2026-06-27 12:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.735005 -2.915418)', '2026-06-27 12:40:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734976 -2.915409)'), GeomFromEWKT('SRID=4674;POINT (-39.735005 -2.915418)'))) / (select extract(epoch from '2026-06-27 12:40:49'::timestamp) - extract(epoch from '2026-06-27 12:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734976 -2.915409)'), GeomFromEWKT('SRID=4674;POINT (-39.735005 -2.915418)'))) / (select extract(epoch from '2026-06-27 12:40:49'::timestamp) - extract(epoch from '2026-06-27 12:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.735178 -2.915477)', '2026-06-27 12:40:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735005 -2.915418)'), GeomFromEWKT('SRID=4674;POINT (-39.735178 -2.915477)'))) / (select extract(epoch from '2026-06-27 12:40:55'::timestamp) - extract(epoch from '2026-06-27 12:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735005 -2.915418)'), GeomFromEWKT('SRID=4674;POINT (-39.735178 -2.915477)'))) / (select extract(epoch from '2026-06-27 12:40:55'::timestamp) - extract(epoch from '2026-06-27 12:40: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'), 46819, 'SRID=4674;POINT (-39.735278 -2.915494)', '2026-06-27 12:40:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735178 -2.915477)'), GeomFromEWKT('SRID=4674;POINT (-39.735278 -2.915494)'))) / (select extract(epoch from '2026-06-27 12:40:58'::timestamp) - extract(epoch from '2026-06-27 12:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735178 -2.915477)'), GeomFromEWKT('SRID=4674;POINT (-39.735278 -2.915494)'))) / (select extract(epoch from '2026-06-27 12:40:58'::timestamp) - extract(epoch from '2026-06-27 12:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.735459 -2.915514)', '2026-06-27 12:41:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735278 -2.915494)'), GeomFromEWKT('SRID=4674;POINT (-39.735459 -2.915514)'))) / (select extract(epoch from '2026-06-27 12:41:05'::timestamp) - extract(epoch from '2026-06-27 12:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735278 -2.915494)'), GeomFromEWKT('SRID=4674;POINT (-39.735459 -2.915514)'))) / (select extract(epoch from '2026-06-27 12:41:05'::timestamp) - extract(epoch from '2026-06-27 12:40: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'), 46819, 'SRID=4674;POINT (-39.735487 -2.915518)', '2026-06-27 12:41:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735459 -2.915514)'), GeomFromEWKT('SRID=4674;POINT (-39.735487 -2.915518)'))) / (select extract(epoch from '2026-06-27 12:41:06'::timestamp) - extract(epoch from '2026-06-27 12:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735459 -2.915514)'), GeomFromEWKT('SRID=4674;POINT (-39.735487 -2.915518)'))) / (select extract(epoch from '2026-06-27 12:41:06'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46819, 'SRID=4674;POINT (-39.735683 -2.915553)', '2026-06-27 12:41:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735487 -2.915518)'), GeomFromEWKT('SRID=4674;POINT (-39.735683 -2.915553)'))) / (select extract(epoch from '2026-06-27 12:41:11'::timestamp) - extract(epoch from '2026-06-27 12:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735487 -2.915518)'), GeomFromEWKT('SRID=4674;POINT (-39.735683 -2.915553)'))) / (select extract(epoch from '2026-06-27 12:41:11'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46819, 'SRID=4674;POINT (-39.735841 -2.915575)', '2026-06-27 12:41:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735683 -2.915553)'), GeomFromEWKT('SRID=4674;POINT (-39.735841 -2.915575)'))) / (select extract(epoch from '2026-06-27 12:41:16'::timestamp) - extract(epoch from '2026-06-27 12:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735683 -2.915553)'), GeomFromEWKT('SRID=4674;POINT (-39.735841 -2.915575)'))) / (select extract(epoch from '2026-06-27 12:41:16'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46819, 'SRID=4674;POINT (-39.736015 -2.915653)', '2026-06-27 12:41:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735841 -2.915575)'), GeomFromEWKT('SRID=4674;POINT (-39.736015 -2.915653)'))) / (select extract(epoch from '2026-06-27 12:41:23'::timestamp) - extract(epoch from '2026-06-27 12:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735841 -2.915575)'), GeomFromEWKT('SRID=4674;POINT (-39.736015 -2.915653)'))) / (select extract(epoch from '2026-06-27 12:41:23'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46819, 'SRID=4674;POINT (-39.736202 -2.915724)', '2026-06-27 12:41:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736015 -2.915653)'), GeomFromEWKT('SRID=4674;POINT (-39.736202 -2.915724)'))) / (select extract(epoch from '2026-06-27 12:41:29'::timestamp) - extract(epoch from '2026-06-27 12:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736015 -2.915653)'), GeomFromEWKT('SRID=4674;POINT (-39.736202 -2.915724)'))) / (select extract(epoch from '2026-06-27 12:41:29'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46819, 'SRID=4674;POINT (-39.736239 -2.915737)', '2026-06-27 12:41:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736202 -2.915724)'), GeomFromEWKT('SRID=4674;POINT (-39.736239 -2.915737)'))) / (select extract(epoch from '2026-06-27 12:41:30'::timestamp) - extract(epoch from '2026-06-27 12:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736202 -2.915724)'), GeomFromEWKT('SRID=4674;POINT (-39.736239 -2.915737)'))) / (select extract(epoch from '2026-06-27 12:41:30'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46819, 'SRID=4674;POINT (-39.736409 -2.915814)', '2026-06-27 12:41:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736239 -2.915737)'), GeomFromEWKT('SRID=4674;POINT (-39.736409 -2.915814)'))) / (select extract(epoch from '2026-06-27 12:41:35'::timestamp) - extract(epoch from '2026-06-27 12:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736239 -2.915737)'), GeomFromEWKT('SRID=4674;POINT (-39.736409 -2.915814)'))) / (select extract(epoch from '2026-06-27 12:41:35'::timestamp) - extract(epoch from '2026-06-27 12:41:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.736505 -2.915874)', '2026-06-27 12:41:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736409 -2.915814)'), GeomFromEWKT('SRID=4674;POINT (-39.736505 -2.915874)'))) / (select extract(epoch from '2026-06-27 12:41:40'::timestamp) - extract(epoch from '2026-06-27 12:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736409 -2.915814)'), GeomFromEWKT('SRID=4674;POINT (-39.736505 -2.915874)'))) / (select extract(epoch from '2026-06-27 12:41:40'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46819, 'SRID=4674;POINT (-39.736683 -2.915955)', '2026-06-27 12:41:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736505 -2.915874)'), GeomFromEWKT('SRID=4674;POINT (-39.736683 -2.915955)'))) / (select extract(epoch from '2026-06-27 12:41:47'::timestamp) - extract(epoch from '2026-06-27 12:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736505 -2.915874)'), GeomFromEWKT('SRID=4674;POINT (-39.736683 -2.915955)'))) / (select extract(epoch from '2026-06-27 12:41:47'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46819, 'SRID=4674;POINT (-39.736725 -2.915979)', '2026-06-27 12:41:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736683 -2.915955)'), GeomFromEWKT('SRID=4674;POINT (-39.736725 -2.915979)'))) / (select extract(epoch from '2026-06-27 12:41:49'::timestamp) - extract(epoch from '2026-06-27 12:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736683 -2.915955)'), GeomFromEWKT('SRID=4674;POINT (-39.736725 -2.915979)'))) / (select extract(epoch from '2026-06-27 12:41:49'::timestamp) - extract(epoch from '2026-06-27 12:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.736895 -2.916059)', '2026-06-27 12:41:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736725 -2.915979)'), GeomFromEWKT('SRID=4674;POINT (-39.736895 -2.916059)'))) / (select extract(epoch from '2026-06-27 12:41:56'::timestamp) - extract(epoch from '2026-06-27 12:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736725 -2.915979)'), GeomFromEWKT('SRID=4674;POINT (-39.736895 -2.916059)'))) / (select extract(epoch from '2026-06-27 12:41:56'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46819, 'SRID=4674;POINT (-39.736946 -2.916081)', '2026-06-27 12:41:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736895 -2.916059)'), GeomFromEWKT('SRID=4674;POINT (-39.736946 -2.916081)'))) / (select extract(epoch from '2026-06-27 12:41:58'::timestamp) - extract(epoch from '2026-06-27 12:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736895 -2.916059)'), GeomFromEWKT('SRID=4674;POINT (-39.736946 -2.916081)'))) / (select extract(epoch from '2026-06-27 12:41:58'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46819, 'SRID=4674;POINT (-39.737148 -2.916141)', '2026-06-27 12:42:05', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736946 -2.916081)'), GeomFromEWKT('SRID=4674;POINT (-39.737148 -2.916141)'))) / (select extract(epoch from '2026-06-27 12:42:05'::timestamp) - extract(epoch from '2026-06-27 12:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736946 -2.916081)'), GeomFromEWKT('SRID=4674;POINT (-39.737148 -2.916141)'))) / (select extract(epoch from '2026-06-27 12:42:05'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.737173 -2.916154)', '2026-06-27 12:42:06', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737148 -2.916141)'), GeomFromEWKT('SRID=4674;POINT (-39.737173 -2.916154)'))) / (select extract(epoch from '2026-06-27 12:42:06'::timestamp) - extract(epoch from '2026-06-27 12:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737148 -2.916141)'), GeomFromEWKT('SRID=4674;POINT (-39.737173 -2.916154)'))) / (select extract(epoch from '2026-06-27 12:42:06'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46819, 'SRID=4674;POINT (-39.73736 -2.916229)', '2026-06-27 12:42:12', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737173 -2.916154)'), GeomFromEWKT('SRID=4674;POINT (-39.73736 -2.916229)'))) / (select extract(epoch from '2026-06-27 12:42:12'::timestamp) - extract(epoch from '2026-06-27 12:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737173 -2.916154)'), GeomFromEWKT('SRID=4674;POINT (-39.73736 -2.916229)'))) / (select extract(epoch from '2026-06-27 12:42:12'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.73739 -2.916239)', '2026-06-27 12:42:13', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73736 -2.916229)'), GeomFromEWKT('SRID=4674;POINT (-39.73739 -2.916239)'))) / (select extract(epoch from '2026-06-27 12:42:13'::timestamp) - extract(epoch from '2026-06-27 12:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73736 -2.916229)'), GeomFromEWKT('SRID=4674;POINT (-39.73739 -2.916239)'))) / (select extract(epoch from '2026-06-27 12:42:13'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.737577 -2.916286)', '2026-06-27 12:42:20', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73739 -2.916239)'), GeomFromEWKT('SRID=4674;POINT (-39.737577 -2.916286)'))) / (select extract(epoch from '2026-06-27 12:42:20'::timestamp) - extract(epoch from '2026-06-27 12:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73739 -2.916239)'), GeomFromEWKT('SRID=4674;POINT (-39.737577 -2.916286)'))) / (select extract(epoch from '2026-06-27 12:42:20'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46819, 'SRID=4674;POINT (-39.737607 -2.916292)', '2026-06-27 12:42:21', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737577 -2.916286)'), GeomFromEWKT('SRID=4674;POINT (-39.737607 -2.916292)'))) / (select extract(epoch from '2026-06-27 12:42:21'::timestamp) - extract(epoch from '2026-06-27 12:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737577 -2.916286)'), GeomFromEWKT('SRID=4674;POINT (-39.737607 -2.916292)'))) / (select extract(epoch from '2026-06-27 12:42:21'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46819, 'SRID=4674;POINT (-39.737807 -2.916316)', '2026-06-27 12:42:28', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737607 -2.916292)'), GeomFromEWKT('SRID=4674;POINT (-39.737807 -2.916316)'))) / (select extract(epoch from '2026-06-27 12:42:28'::timestamp) - extract(epoch from '2026-06-27 12:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737607 -2.916292)'), GeomFromEWKT('SRID=4674;POINT (-39.737807 -2.916316)'))) / (select extract(epoch from '2026-06-27 12:42:28'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46819, 'SRID=4674;POINT (-39.737886 -2.916329)', '2026-06-27 12:42:31', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737807 -2.916316)'), GeomFromEWKT('SRID=4674;POINT (-39.737886 -2.916329)'))) / (select extract(epoch from '2026-06-27 12:42:31'::timestamp) - extract(epoch from '2026-06-27 12:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737807 -2.916316)'), GeomFromEWKT('SRID=4674;POINT (-39.737886 -2.916329)'))) / (select extract(epoch from '2026-06-27 12:42:31'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46819, 'SRID=4674;POINT (-39.738071 -2.916354)', '2026-06-27 12:42:38', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737886 -2.916329)'), GeomFromEWKT('SRID=4674;POINT (-39.738071 -2.916354)'))) / (select extract(epoch from '2026-06-27 12:42:38'::timestamp) - extract(epoch from '2026-06-27 12:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737886 -2.916329)'), GeomFromEWKT('SRID=4674;POINT (-39.738071 -2.916354)'))) / (select extract(epoch from '2026-06-27 12:42:38'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46819, 'SRID=4674;POINT (-39.738123 -2.916365)', '2026-06-27 12:42:40', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738071 -2.916354)'), GeomFromEWKT('SRID=4674;POINT (-39.738123 -2.916365)'))) / (select extract(epoch from '2026-06-27 12:42:40'::timestamp) - extract(epoch from '2026-06-27 12:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738071 -2.916354)'), GeomFromEWKT('SRID=4674;POINT (-39.738123 -2.916365)'))) / (select extract(epoch from '2026-06-27 12:42:40'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46819, 'SRID=4674;POINT (-39.738301 -2.916398)', '2026-06-27 12:42:46', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738123 -2.916365)'), GeomFromEWKT('SRID=4674;POINT (-39.738301 -2.916398)'))) / (select extract(epoch from '2026-06-27 12:42:46'::timestamp) - extract(epoch from '2026-06-27 12:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738123 -2.916365)'), GeomFromEWKT('SRID=4674;POINT (-39.738301 -2.916398)'))) / (select extract(epoch from '2026-06-27 12:42:46'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46819, 'SRID=4674;POINT (-39.738327 -2.916399)', '2026-06-27 12:42:47', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738301 -2.916398)'), GeomFromEWKT('SRID=4674;POINT (-39.738327 -2.916399)'))) / (select extract(epoch from '2026-06-27 12:42:47'::timestamp) - extract(epoch from '2026-06-27 12:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738301 -2.916398)'), GeomFromEWKT('SRID=4674;POINT (-39.738327 -2.916399)'))) / (select extract(epoch from '2026-06-27 12:42:47'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46819, 'SRID=4674;POINT (-39.738513 -2.916424)', '2026-06-27 12:42:54', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738327 -2.916399)'), GeomFromEWKT('SRID=4674;POINT (-39.738513 -2.916424)'))) / (select extract(epoch from '2026-06-27 12:42:54'::timestamp) - extract(epoch from '2026-06-27 12:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738327 -2.916399)'), GeomFromEWKT('SRID=4674;POINT (-39.738513 -2.916424)'))) / (select extract(epoch from '2026-06-27 12:42:54'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46819, 'SRID=4674;POINT (-39.738556 -2.916435)', '2026-06-27 12:42:56', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738513 -2.916424)'), GeomFromEWKT('SRID=4674;POINT (-39.738556 -2.916435)'))) / (select extract(epoch from '2026-06-27 12:42:56'::timestamp) - extract(epoch from '2026-06-27 12:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738513 -2.916424)'), GeomFromEWKT('SRID=4674;POINT (-39.738556 -2.916435)'))) / (select extract(epoch from '2026-06-27 12:42:56'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46819, 'SRID=4674;POINT (-39.738751 -2.91648)', '2026-06-27 12:43:04', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738556 -2.916435)'), GeomFromEWKT('SRID=4674;POINT (-39.738751 -2.91648)'))) / (select extract(epoch from '2026-06-27 12:43:04'::timestamp) - extract(epoch from '2026-06-27 12:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738556 -2.916435)'), GeomFromEWKT('SRID=4674;POINT (-39.738751 -2.91648)'))) / (select extract(epoch from '2026-06-27 12:43:04'::timestamp) - extract(epoch from '2026-06-27 12:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.738774 -2.916491)', '2026-06-27 12:43:05', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738751 -2.91648)'), GeomFromEWKT('SRID=4674;POINT (-39.738774 -2.916491)'))) / (select extract(epoch from '2026-06-27 12:43:05'::timestamp) - extract(epoch from '2026-06-27 12:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738751 -2.91648)'), GeomFromEWKT('SRID=4674;POINT (-39.738774 -2.916491)'))) / (select extract(epoch from '2026-06-27 12:43:05'::timestamp) - extract(epoch from '2026-06-27 12:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.738969 -2.916549)', '2026-06-27 12:43:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738774 -2.916491)'), GeomFromEWKT('SRID=4674;POINT (-39.738969 -2.916549)'))) / (select extract(epoch from '2026-06-27 12:43:12'::timestamp) - extract(epoch from '2026-06-27 12:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738774 -2.916491)'), GeomFromEWKT('SRID=4674;POINT (-39.738969 -2.916549)'))) / (select extract(epoch from '2026-06-27 12:43:12'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46819, 'SRID=4674;POINT (-39.739035 -2.916559)', '2026-06-27 12:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738969 -2.916549)'), GeomFromEWKT('SRID=4674;POINT (-39.739035 -2.916559)'))) / (select extract(epoch from '2026-06-27 12:43:14'::timestamp) - extract(epoch from '2026-06-27 12:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738969 -2.916549)'), GeomFromEWKT('SRID=4674;POINT (-39.739035 -2.916559)'))) / (select extract(epoch from '2026-06-27 12:43:14'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46819, 'SRID=4674;POINT (-39.739227 -2.91661)', '2026-06-27 12:43:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739035 -2.916559)'), GeomFromEWKT('SRID=4674;POINT (-39.739227 -2.91661)'))) / (select extract(epoch from '2026-06-27 12:43:21'::timestamp) - extract(epoch from '2026-06-27 12:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739035 -2.916559)'), GeomFromEWKT('SRID=4674;POINT (-39.739227 -2.91661)'))) / (select extract(epoch from '2026-06-27 12:43:21'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.739256 -2.916616)', '2026-06-27 12:43:22', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739227 -2.91661)'), GeomFromEWKT('SRID=4674;POINT (-39.739256 -2.916616)'))) / (select extract(epoch from '2026-06-27 12:43:22'::timestamp) - extract(epoch from '2026-06-27 12:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739227 -2.91661)'), GeomFromEWKT('SRID=4674;POINT (-39.739256 -2.916616)'))) / (select extract(epoch from '2026-06-27 12:43:22'::timestamp) - extract(epoch from '2026-06-27 12:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.739428 -2.916685)', '2026-06-27 12:43:28', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739256 -2.916616)'), GeomFromEWKT('SRID=4674;POINT (-39.739428 -2.916685)'))) / (select extract(epoch from '2026-06-27 12:43:28'::timestamp) - extract(epoch from '2026-06-27 12:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739256 -2.916616)'), GeomFromEWKT('SRID=4674;POINT (-39.739428 -2.916685)'))) / (select extract(epoch from '2026-06-27 12:43:28'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46819, 'SRID=4674;POINT (-39.739523 -2.916736)', '2026-06-27 12:43:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739428 -2.916685)'), GeomFromEWKT('SRID=4674;POINT (-39.739523 -2.916736)'))) / (select extract(epoch from '2026-06-27 12:43:32'::timestamp) - extract(epoch from '2026-06-27 12:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739428 -2.916685)'), GeomFromEWKT('SRID=4674;POINT (-39.739523 -2.916736)'))) / (select extract(epoch from '2026-06-27 12:43:32'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46819, 'SRID=4674;POINT (-39.73971 -2.916808)', '2026-06-27 12:43:38', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739523 -2.916736)'), GeomFromEWKT('SRID=4674;POINT (-39.73971 -2.916808)'))) / (select extract(epoch from '2026-06-27 12:43:38'::timestamp) - extract(epoch from '2026-06-27 12:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739523 -2.916736)'), GeomFromEWKT('SRID=4674;POINT (-39.73971 -2.916808)'))) / (select extract(epoch from '2026-06-27 12:43:38'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46819, 'SRID=4674;POINT (-39.739799 -2.916827)', '2026-06-27 12:43:40', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73971 -2.916808)'), GeomFromEWKT('SRID=4674;POINT (-39.739799 -2.916827)'))) / (select extract(epoch from '2026-06-27 12:43:40'::timestamp) - extract(epoch from '2026-06-27 12:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73971 -2.916808)'), GeomFromEWKT('SRID=4674;POINT (-39.739799 -2.916827)'))) / (select extract(epoch from '2026-06-27 12:43:40'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.739989 -2.916883)', '2026-06-27 12:43:47', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739799 -2.916827)'), GeomFromEWKT('SRID=4674;POINT (-39.739989 -2.916883)'))) / (select extract(epoch from '2026-06-27 12:43:47'::timestamp) - extract(epoch from '2026-06-27 12:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739799 -2.916827)'), GeomFromEWKT('SRID=4674;POINT (-39.739989 -2.916883)'))) / (select extract(epoch from '2026-06-27 12:43:47'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46819, 'SRID=4674;POINT (-39.74001 -2.916892)', '2026-06-27 12:43:48', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739989 -2.916883)'), GeomFromEWKT('SRID=4674;POINT (-39.74001 -2.916892)'))) / (select extract(epoch from '2026-06-27 12:43:48'::timestamp) - extract(epoch from '2026-06-27 12:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739989 -2.916883)'), GeomFromEWKT('SRID=4674;POINT (-39.74001 -2.916892)'))) / (select extract(epoch from '2026-06-27 12:43:48'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46819, 'SRID=4674;POINT (-39.740181 -2.916945)', '2026-06-27 12:43:55', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74001 -2.916892)'), GeomFromEWKT('SRID=4674;POINT (-39.740181 -2.916945)'))) / (select extract(epoch from '2026-06-27 12:43:55'::timestamp) - extract(epoch from '2026-06-27 12:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74001 -2.916892)'), GeomFromEWKT('SRID=4674;POINT (-39.740181 -2.916945)'))) / (select extract(epoch from '2026-06-27 12:43:55'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46819, 'SRID=4674;POINT (-39.740362 -2.917023)', '2026-06-27 12:44:03', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740181 -2.916945)'), GeomFromEWKT('SRID=4674;POINT (-39.740362 -2.917023)'))) / (select extract(epoch from '2026-06-27 12:44:03'::timestamp) - extract(epoch from '2026-06-27 12:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740181 -2.916945)'), GeomFromEWKT('SRID=4674;POINT (-39.740362 -2.917023)'))) / (select extract(epoch from '2026-06-27 12:44:03'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46819, 'SRID=4674;POINT (-39.74039 -2.917035)', '2026-06-27 12:44:04', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740362 -2.917023)'), GeomFromEWKT('SRID=4674;POINT (-39.74039 -2.917035)'))) / (select extract(epoch from '2026-06-27 12:44:04'::timestamp) - extract(epoch from '2026-06-27 12:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740362 -2.917023)'), GeomFromEWKT('SRID=4674;POINT (-39.74039 -2.917035)'))) / (select extract(epoch from '2026-06-27 12:44:04'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.740561 -2.917102)', '2026-06-27 12:44:09', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74039 -2.917035)'), GeomFromEWKT('SRID=4674;POINT (-39.740561 -2.917102)'))) / (select extract(epoch from '2026-06-27 12:44:09'::timestamp) - extract(epoch from '2026-06-27 12:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74039 -2.917035)'), GeomFromEWKT('SRID=4674;POINT (-39.740561 -2.917102)'))) / (select extract(epoch from '2026-06-27 12:44:09'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.740615 -2.917135)', '2026-06-27 12:44:11', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740561 -2.917102)'), GeomFromEWKT('SRID=4674;POINT (-39.740615 -2.917135)'))) / (select extract(epoch from '2026-06-27 12:44:11'::timestamp) - extract(epoch from '2026-06-27 12:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740561 -2.917102)'), GeomFromEWKT('SRID=4674;POINT (-39.740615 -2.917135)'))) / (select extract(epoch from '2026-06-27 12:44:11'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.740772 -2.91724)', '2026-06-27 12:44:18', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740615 -2.917135)'), GeomFromEWKT('SRID=4674;POINT (-39.740772 -2.91724)'))) / (select extract(epoch from '2026-06-27 12:44:18'::timestamp) - extract(epoch from '2026-06-27 12:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740615 -2.917135)'), GeomFromEWKT('SRID=4674;POINT (-39.740772 -2.91724)'))) / (select extract(epoch from '2026-06-27 12:44:18'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.740918 -2.917358)', '2026-06-27 12:44:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740772 -2.91724)'), GeomFromEWKT('SRID=4674;POINT (-39.740918 -2.917358)'))) / (select extract(epoch from '2026-06-27 12:44:25'::timestamp) - extract(epoch from '2026-06-27 12:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740772 -2.91724)'), GeomFromEWKT('SRID=4674;POINT (-39.740918 -2.917358)'))) / (select extract(epoch from '2026-06-27 12:44:25'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.740947 -2.917375)', '2026-06-27 12:44:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740918 -2.917358)'), GeomFromEWKT('SRID=4674;POINT (-39.740947 -2.917375)'))) / (select extract(epoch from '2026-06-27 12:44:26'::timestamp) - extract(epoch from '2026-06-27 12:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740918 -2.917358)'), GeomFromEWKT('SRID=4674;POINT (-39.740947 -2.917375)'))) / (select extract(epoch from '2026-06-27 12:44:26'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.741097 -2.917472)', '2026-06-27 12:44:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740947 -2.917375)'), GeomFromEWKT('SRID=4674;POINT (-39.741097 -2.917472)'))) / (select extract(epoch from '2026-06-27 12:44:32'::timestamp) - extract(epoch from '2026-06-27 12:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740947 -2.917375)'), GeomFromEWKT('SRID=4674;POINT (-39.741097 -2.917472)'))) / (select extract(epoch from '2026-06-27 12:44:32'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.741266 -2.917579)', '2026-06-27 12:44:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741097 -2.917472)'), GeomFromEWKT('SRID=4674;POINT (-39.741266 -2.917579)'))) / (select extract(epoch from '2026-06-27 12:44:38'::timestamp) - extract(epoch from '2026-06-27 12:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741097 -2.917472)'), GeomFromEWKT('SRID=4674;POINT (-39.741266 -2.917579)'))) / (select extract(epoch from '2026-06-27 12:44:38'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.741282 -2.917595)', '2026-06-27 12:44:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741266 -2.917579)'), GeomFromEWKT('SRID=4674;POINT (-39.741282 -2.917595)'))) / (select extract(epoch from '2026-06-27 12:44:39'::timestamp) - extract(epoch from '2026-06-27 12:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741266 -2.917579)'), GeomFromEWKT('SRID=4674;POINT (-39.741282 -2.917595)'))) / (select extract(epoch from '2026-06-27 12:44:39'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.741381 -2.917714)', '2026-06-27 12:44:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741282 -2.917595)'), GeomFromEWKT('SRID=4674;POINT (-39.741381 -2.917714)'))) / (select extract(epoch from '2026-06-27 12:44:46'::timestamp) - extract(epoch from '2026-06-27 12:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741282 -2.917595)'), GeomFromEWKT('SRID=4674;POINT (-39.741381 -2.917714)'))) / (select extract(epoch from '2026-06-27 12:44:46'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.741537 -2.917807)', '2026-06-27 12:44:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741381 -2.917714)'), GeomFromEWKT('SRID=4674;POINT (-39.741537 -2.917807)'))) / (select extract(epoch from '2026-06-27 12:44:52'::timestamp) - extract(epoch from '2026-06-27 12:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741381 -2.917714)'), GeomFromEWKT('SRID=4674;POINT (-39.741537 -2.917807)'))) / (select extract(epoch from '2026-06-27 12:44:52'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.741594 -2.91784)', '2026-06-27 12:44:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741537 -2.917807)'), GeomFromEWKT('SRID=4674;POINT (-39.741594 -2.91784)'))) / (select extract(epoch from '2026-06-27 12:44:54'::timestamp) - extract(epoch from '2026-06-27 12:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741537 -2.917807)'), GeomFromEWKT('SRID=4674;POINT (-39.741594 -2.91784)'))) / (select extract(epoch from '2026-06-27 12:44:54'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.741764 -2.917948)', '2026-06-27 12:45:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741594 -2.91784)'), GeomFromEWKT('SRID=4674;POINT (-39.741764 -2.917948)'))) / (select extract(epoch from '2026-06-27 12:45:00'::timestamp) - extract(epoch from '2026-06-27 12:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741594 -2.91784)'), GeomFromEWKT('SRID=4674;POINT (-39.741764 -2.917948)'))) / (select extract(epoch from '2026-06-27 12:45:00'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46819, 'SRID=4674;POINT (-39.741856 -2.918001)', '2026-06-27 12:45:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741764 -2.917948)'), GeomFromEWKT('SRID=4674;POINT (-39.741856 -2.918001)'))) / (select extract(epoch from '2026-06-27 12:45:03'::timestamp) - extract(epoch from '2026-06-27 12:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741764 -2.917948)'), GeomFromEWKT('SRID=4674;POINT (-39.741856 -2.918001)'))) / (select extract(epoch from '2026-06-27 12:45:03'::timestamp) - extract(epoch from '2026-06-27 12:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.74202 -2.918101)', '2026-06-27 12:45:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741856 -2.918001)'), GeomFromEWKT('SRID=4674;POINT (-39.74202 -2.918101)'))) / (select extract(epoch from '2026-06-27 12:45:08'::timestamp) - extract(epoch from '2026-06-27 12:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741856 -2.918001)'), GeomFromEWKT('SRID=4674;POINT (-39.74202 -2.918101)'))) / (select extract(epoch from '2026-06-27 12:45:08'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.742126 -2.918164)', '2026-06-27 12:45:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74202 -2.918101)'), GeomFromEWKT('SRID=4674;POINT (-39.742126 -2.918164)'))) / (select extract(epoch from '2026-06-27 12:45:12'::timestamp) - extract(epoch from '2026-06-27 12:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74202 -2.918101)'), GeomFromEWKT('SRID=4674;POINT (-39.742126 -2.918164)'))) / (select extract(epoch from '2026-06-27 12:45:12'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.742288 -2.918294)', '2026-06-27 12:45:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742126 -2.918164)'), GeomFromEWKT('SRID=4674;POINT (-39.742288 -2.918294)'))) / (select extract(epoch from '2026-06-27 12:45:20'::timestamp) - extract(epoch from '2026-06-27 12:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742126 -2.918164)'), GeomFromEWKT('SRID=4674;POINT (-39.742288 -2.918294)'))) / (select extract(epoch from '2026-06-27 12:45:20'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.742442 -2.918355)', '2026-06-27 12:45:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742288 -2.918294)'), GeomFromEWKT('SRID=4674;POINT (-39.742442 -2.918355)'))) / (select extract(epoch from '2026-06-27 12:45:27'::timestamp) - extract(epoch from '2026-06-27 12:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742288 -2.918294)'), GeomFromEWKT('SRID=4674;POINT (-39.742442 -2.918355)'))) / (select extract(epoch from '2026-06-27 12:45:27'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.742609 -2.918433)', '2026-06-27 12:45:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742442 -2.918355)'), GeomFromEWKT('SRID=4674;POINT (-39.742609 -2.918433)'))) / (select extract(epoch from '2026-06-27 12:45:34'::timestamp) - extract(epoch from '2026-06-27 12:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742442 -2.918355)'), GeomFromEWKT('SRID=4674;POINT (-39.742609 -2.918433)'))) / (select extract(epoch from '2026-06-27 12:45:34'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.74263 -2.918447)', '2026-06-27 12:45:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742609 -2.918433)'), GeomFromEWKT('SRID=4674;POINT (-39.74263 -2.918447)'))) / (select extract(epoch from '2026-06-27 12:45:35'::timestamp) - extract(epoch from '2026-06-27 12:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742609 -2.918433)'), GeomFromEWKT('SRID=4674;POINT (-39.74263 -2.918447)'))) / (select extract(epoch from '2026-06-27 12:45:35'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.742788 -2.918539)', '2026-06-27 12:45:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74263 -2.918447)'), GeomFromEWKT('SRID=4674;POINT (-39.742788 -2.918539)'))) / (select extract(epoch from '2026-06-27 12:45:42'::timestamp) - extract(epoch from '2026-06-27 12:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74263 -2.918447)'), GeomFromEWKT('SRID=4674;POINT (-39.742788 -2.918539)'))) / (select extract(epoch from '2026-06-27 12:45:42'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.742832 -2.918566)', '2026-06-27 12:45:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742788 -2.918539)'), GeomFromEWKT('SRID=4674;POINT (-39.742832 -2.918566)'))) / (select extract(epoch from '2026-06-27 12:45:44'::timestamp) - extract(epoch from '2026-06-27 12:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742788 -2.918539)'), GeomFromEWKT('SRID=4674;POINT (-39.742832 -2.918566)'))) / (select extract(epoch from '2026-06-27 12:45:44'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.743026 -2.918657)', '2026-06-27 12:45:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742832 -2.918566)'), GeomFromEWKT('SRID=4674;POINT (-39.743026 -2.918657)'))) / (select extract(epoch from '2026-06-27 12:45:50'::timestamp) - extract(epoch from '2026-06-27 12:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742832 -2.918566)'), GeomFromEWKT('SRID=4674;POINT (-39.743026 -2.918657)'))) / (select extract(epoch from '2026-06-27 12:45:50'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.743087 -2.918682)', '2026-06-27 12:45:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743026 -2.918657)'), GeomFromEWKT('SRID=4674;POINT (-39.743087 -2.918682)'))) / (select extract(epoch from '2026-06-27 12:45:52'::timestamp) - extract(epoch from '2026-06-27 12:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743026 -2.918657)'), GeomFromEWKT('SRID=4674;POINT (-39.743087 -2.918682)'))) / (select extract(epoch from '2026-06-27 12:45:52'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.743234 -2.918692)', '2026-06-27 12:45:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743087 -2.918682)'), GeomFromEWKT('SRID=4674;POINT (-39.743234 -2.918692)'))) / (select extract(epoch from '2026-06-27 12:45:58'::timestamp) - extract(epoch from '2026-06-27 12:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743087 -2.918682)'), GeomFromEWKT('SRID=4674;POINT (-39.743234 -2.918692)'))) / (select extract(epoch from '2026-06-27 12:45:58'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.743413 -2.918654)', '2026-06-27 12:46:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743234 -2.918692)'), GeomFromEWKT('SRID=4674;POINT (-39.743413 -2.918654)'))) / (select extract(epoch from '2026-06-27 12:46:05'::timestamp) - extract(epoch from '2026-06-27 12:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743234 -2.918692)'), GeomFromEWKT('SRID=4674;POINT (-39.743413 -2.918654)'))) / (select extract(epoch from '2026-06-27 12:46:05'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46819, 'SRID=4674;POINT (-39.743625 -2.918658)', '2026-06-27 12:46:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743413 -2.918654)'), GeomFromEWKT('SRID=4674;POINT (-39.743625 -2.918658)'))) / (select extract(epoch from '2026-06-27 12:46:12'::timestamp) - extract(epoch from '2026-06-27 12:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743413 -2.918654)'), GeomFromEWKT('SRID=4674;POINT (-39.743625 -2.918658)'))) / (select extract(epoch from '2026-06-27 12:46:12'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46819, 'SRID=4674;POINT (-39.743657 -2.918662)', '2026-06-27 12:46:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743625 -2.918658)'), GeomFromEWKT('SRID=4674;POINT (-39.743657 -2.918662)'))) / (select extract(epoch from '2026-06-27 12:46:13'::timestamp) - extract(epoch from '2026-06-27 12:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743625 -2.918658)'), GeomFromEWKT('SRID=4674;POINT (-39.743657 -2.918662)'))) / (select extract(epoch from '2026-06-27 12:46:13'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46819, 'SRID=4674;POINT (-39.743851 -2.918691)', '2026-06-27 12:46:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743657 -2.918662)'), GeomFromEWKT('SRID=4674;POINT (-39.743851 -2.918691)'))) / (select extract(epoch from '2026-06-27 12:46:20'::timestamp) - extract(epoch from '2026-06-27 12:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743657 -2.918662)'), GeomFromEWKT('SRID=4674;POINT (-39.743851 -2.918691)'))) / (select extract(epoch from '2026-06-27 12:46:20'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46819, 'SRID=4674;POINT (-39.743877 -2.918695)', '2026-06-27 12:46:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743851 -2.918691)'), GeomFromEWKT('SRID=4674;POINT (-39.743877 -2.918695)'))) / (select extract(epoch from '2026-06-27 12:46:21'::timestamp) - extract(epoch from '2026-06-27 12:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743851 -2.918691)'), GeomFromEWKT('SRID=4674;POINT (-39.743877 -2.918695)'))) / (select extract(epoch from '2026-06-27 12:46:21'::timestamp) - extract(epoch from '2026-06-27 12:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.744076 -2.918699)', '2026-06-27 12:46:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743877 -2.918695)'), GeomFromEWKT('SRID=4674;POINT (-39.744076 -2.918699)'))) / (select extract(epoch from '2026-06-27 12:46:27'::timestamp) - extract(epoch from '2026-06-27 12:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743877 -2.918695)'), GeomFromEWKT('SRID=4674;POINT (-39.744076 -2.918699)'))) / (select extract(epoch from '2026-06-27 12:46:27'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46819, 'SRID=4674;POINT (-39.744107 -2.918699)', '2026-06-27 12:46:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744076 -2.918699)'), GeomFromEWKT('SRID=4674;POINT (-39.744107 -2.918699)'))) / (select extract(epoch from '2026-06-27 12:46:28'::timestamp) - extract(epoch from '2026-06-27 12:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744076 -2.918699)'), GeomFromEWKT('SRID=4674;POINT (-39.744107 -2.918699)'))) / (select extract(epoch from '2026-06-27 12:46:28'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46819, 'SRID=4674;POINT (-39.744302 -2.9187)', '2026-06-27 12:46:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744107 -2.918699)'), GeomFromEWKT('SRID=4674;POINT (-39.744302 -2.9187)'))) / (select extract(epoch from '2026-06-27 12:46:35'::timestamp) - extract(epoch from '2026-06-27 12:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744107 -2.918699)'), GeomFromEWKT('SRID=4674;POINT (-39.744302 -2.9187)'))) / (select extract(epoch from '2026-06-27 12:46:35'::timestamp) - extract(epoch from '2026-06-27 12:46:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.744508 -2.91874)', '2026-06-27 12:46:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744302 -2.9187)'), GeomFromEWKT('SRID=4674;POINT (-39.744508 -2.91874)'))) / (select extract(epoch from '2026-06-27 12:46:41'::timestamp) - extract(epoch from '2026-06-27 12:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744302 -2.9187)'), GeomFromEWKT('SRID=4674;POINT (-39.744508 -2.91874)'))) / (select extract(epoch from '2026-06-27 12:46:41'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.744538 -2.918747)', '2026-06-27 12:46:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744508 -2.91874)'), GeomFromEWKT('SRID=4674;POINT (-39.744538 -2.918747)'))) / (select extract(epoch from '2026-06-27 12:46:42'::timestamp) - extract(epoch from '2026-06-27 12:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744508 -2.91874)'), GeomFromEWKT('SRID=4674;POINT (-39.744538 -2.918747)'))) / (select extract(epoch from '2026-06-27 12:46:42'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46819, 'SRID=4674;POINT (-39.744741 -2.918819)', '2026-06-27 12:46:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744538 -2.918747)'), GeomFromEWKT('SRID=4674;POINT (-39.744741 -2.918819)'))) / (select extract(epoch from '2026-06-27 12:46:48'::timestamp) - extract(epoch from '2026-06-27 12:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744538 -2.918747)'), GeomFromEWKT('SRID=4674;POINT (-39.744741 -2.918819)'))) / (select extract(epoch from '2026-06-27 12:46:48'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46819, 'SRID=4674;POINT (-39.744771 -2.918826)', '2026-06-27 12:46:49', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744741 -2.918819)'), GeomFromEWKT('SRID=4674;POINT (-39.744771 -2.918826)'))) / (select extract(epoch from '2026-06-27 12:46:49'::timestamp) - extract(epoch from '2026-06-27 12:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744741 -2.918819)'), GeomFromEWKT('SRID=4674;POINT (-39.744771 -2.918826)'))) / (select extract(epoch from '2026-06-27 12:46:49'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46819, 'SRID=4674;POINT (-39.744967 -2.918878)', '2026-06-27 12:46:55', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744771 -2.918826)'), GeomFromEWKT('SRID=4674;POINT (-39.744967 -2.918878)'))) / (select extract(epoch from '2026-06-27 12:46:55'::timestamp) - extract(epoch from '2026-06-27 12:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744771 -2.918826)'), GeomFromEWKT('SRID=4674;POINT (-39.744967 -2.918878)'))) / (select extract(epoch from '2026-06-27 12:46:55'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46819, 'SRID=4674;POINT (-39.745028 -2.918903)', '2026-06-27 12:46:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744967 -2.918878)'), GeomFromEWKT('SRID=4674;POINT (-39.745028 -2.918903)'))) / (select extract(epoch from '2026-06-27 12:46:57'::timestamp) - extract(epoch from '2026-06-27 12:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744967 -2.918878)'), GeomFromEWKT('SRID=4674;POINT (-39.745028 -2.918903)'))) / (select extract(epoch from '2026-06-27 12:46:57'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46819, 'SRID=4674;POINT (-39.745202 -2.91895)', '2026-06-27 12:47:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745028 -2.918903)'), GeomFromEWKT('SRID=4674;POINT (-39.745202 -2.91895)'))) / (select extract(epoch from '2026-06-27 12:47:03'::timestamp) - extract(epoch from '2026-06-27 12:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745028 -2.918903)'), GeomFromEWKT('SRID=4674;POINT (-39.745202 -2.91895)'))) / (select extract(epoch from '2026-06-27 12:47:03'::timestamp) - extract(epoch from '2026-06-27 12:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46819, 'SRID=4674;POINT (-39.745251 -2.918964)', '2026-06-27 12:47:05', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745202 -2.91895)'), GeomFromEWKT('SRID=4674;POINT (-39.745251 -2.918964)'))) / (select extract(epoch from '2026-06-27 12:47:05'::timestamp) - extract(epoch from '2026-06-27 12:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745202 -2.91895)'), GeomFromEWKT('SRID=4674;POINT (-39.745251 -2.918964)'))) / (select extract(epoch from '2026-06-27 12:47:05'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.745448 -2.919008)', '2026-06-27 12:47:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745251 -2.918964)'), GeomFromEWKT('SRID=4674;POINT (-39.745448 -2.919008)'))) / (select extract(epoch from '2026-06-27 12:47:12'::timestamp) - extract(epoch from '2026-06-27 12:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745251 -2.918964)'), GeomFromEWKT('SRID=4674;POINT (-39.745448 -2.919008)'))) / (select extract(epoch from '2026-06-27 12:47:12'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.745526 -2.919018)', '2026-06-27 12:47:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745448 -2.919008)'), GeomFromEWKT('SRID=4674;POINT (-39.745526 -2.919018)'))) / (select extract(epoch from '2026-06-27 12:47:15'::timestamp) - extract(epoch from '2026-06-27 12:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745448 -2.919008)'), GeomFromEWKT('SRID=4674;POINT (-39.745526 -2.919018)'))) / (select extract(epoch from '2026-06-27 12:47:15'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.745718 -2.919039)', '2026-06-27 12:47:21', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745526 -2.919018)'), GeomFromEWKT('SRID=4674;POINT (-39.745718 -2.919039)'))) / (select extract(epoch from '2026-06-27 12:47:21'::timestamp) - extract(epoch from '2026-06-27 12:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745526 -2.919018)'), GeomFromEWKT('SRID=4674;POINT (-39.745718 -2.919039)'))) / (select extract(epoch from '2026-06-27 12:47:21'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.745915 -2.91908)', '2026-06-27 12:47:27', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745718 -2.919039)'), GeomFromEWKT('SRID=4674;POINT (-39.745915 -2.91908)'))) / (select extract(epoch from '2026-06-27 12:47:27'::timestamp) - extract(epoch from '2026-06-27 12:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745718 -2.919039)'), GeomFromEWKT('SRID=4674;POINT (-39.745915 -2.91908)'))) / (select extract(epoch from '2026-06-27 12:47:27'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.745945 -2.919083)', '2026-06-27 12:47:28', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745915 -2.91908)'), GeomFromEWKT('SRID=4674;POINT (-39.745945 -2.919083)'))) / (select extract(epoch from '2026-06-27 12:47:28'::timestamp) - extract(epoch from '2026-06-27 12:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745915 -2.91908)'), GeomFromEWKT('SRID=4674;POINT (-39.745945 -2.919083)'))) / (select extract(epoch from '2026-06-27 12:47:28'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.746153 -2.919094)', '2026-06-27 12:47:35', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745945 -2.919083)'), GeomFromEWKT('SRID=4674;POINT (-39.746153 -2.919094)'))) / (select extract(epoch from '2026-06-27 12:47:35'::timestamp) - extract(epoch from '2026-06-27 12:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745945 -2.919083)'), GeomFromEWKT('SRID=4674;POINT (-39.746153 -2.919094)'))) / (select extract(epoch from '2026-06-27 12:47:35'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.746354 -2.919106)', '2026-06-27 12:47:42', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746153 -2.919094)'), GeomFromEWKT('SRID=4674;POINT (-39.746354 -2.919106)'))) / (select extract(epoch from '2026-06-27 12:47:42'::timestamp) - extract(epoch from '2026-06-27 12:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746153 -2.919094)'), GeomFromEWKT('SRID=4674;POINT (-39.746354 -2.919106)'))) / (select extract(epoch from '2026-06-27 12:47:42'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.746386 -2.919106)', '2026-06-27 12:47:43', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746354 -2.919106)'), GeomFromEWKT('SRID=4674;POINT (-39.746386 -2.919106)'))) / (select extract(epoch from '2026-06-27 12:47:43'::timestamp) - extract(epoch from '2026-06-27 12:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746354 -2.919106)'), GeomFromEWKT('SRID=4674;POINT (-39.746386 -2.919106)'))) / (select extract(epoch from '2026-06-27 12:47:43'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.746581 -2.919121)', '2026-06-27 12:47:49', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746386 -2.919106)'), GeomFromEWKT('SRID=4674;POINT (-39.746581 -2.919121)'))) / (select extract(epoch from '2026-06-27 12:47:49'::timestamp) - extract(epoch from '2026-06-27 12:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746386 -2.919106)'), GeomFromEWKT('SRID=4674;POINT (-39.746581 -2.919121)'))) / (select extract(epoch from '2026-06-27 12:47:49'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.746712 -2.919123)', '2026-06-27 12:47:53', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746581 -2.919121)'), GeomFromEWKT('SRID=4674;POINT (-39.746712 -2.919123)'))) / (select extract(epoch from '2026-06-27 12:47:53'::timestamp) - extract(epoch from '2026-06-27 12:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746581 -2.919121)'), GeomFromEWKT('SRID=4674;POINT (-39.746712 -2.919123)'))) / (select extract(epoch from '2026-06-27 12:47:53'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.7469 -2.919086)', '2026-06-27 12:47:59', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746712 -2.919123)'), GeomFromEWKT('SRID=4674;POINT (-39.7469 -2.919086)'))) / (select extract(epoch from '2026-06-27 12:47:59'::timestamp) - extract(epoch from '2026-06-27 12:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746712 -2.919123)'), GeomFromEWKT('SRID=4674;POINT (-39.7469 -2.919086)'))) / (select extract(epoch from '2026-06-27 12:47:59'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46819, 'SRID=4674;POINT (-39.74699 -2.919053)', '2026-06-27 12:48:02', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7469 -2.919086)'), GeomFromEWKT('SRID=4674;POINT (-39.74699 -2.919053)'))) / (select extract(epoch from '2026-06-27 12:48:02'::timestamp) - extract(epoch from '2026-06-27 12:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7469 -2.919086)'), GeomFromEWKT('SRID=4674;POINT (-39.74699 -2.919053)'))) / (select extract(epoch from '2026-06-27 12:48:02'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.747185 -2.919003)', '2026-06-27 12:48:09', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74699 -2.919053)'), GeomFromEWKT('SRID=4674;POINT (-39.747185 -2.919003)'))) / (select extract(epoch from '2026-06-27 12:48:09'::timestamp) - extract(epoch from '2026-06-27 12:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74699 -2.919053)'), GeomFromEWKT('SRID=4674;POINT (-39.747185 -2.919003)'))) / (select extract(epoch from '2026-06-27 12:48:09'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.747215 -2.918997)', '2026-06-27 12:48:10', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747185 -2.919003)'), GeomFromEWKT('SRID=4674;POINT (-39.747215 -2.918997)'))) / (select extract(epoch from '2026-06-27 12:48:10'::timestamp) - extract(epoch from '2026-06-27 12:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747185 -2.919003)'), GeomFromEWKT('SRID=4674;POINT (-39.747215 -2.918997)'))) / (select extract(epoch from '2026-06-27 12:48:10'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.747395 -2.918978)', '2026-06-27 12:48:16', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747215 -2.918997)'), GeomFromEWKT('SRID=4674;POINT (-39.747395 -2.918978)'))) / (select extract(epoch from '2026-06-27 12:48:16'::timestamp) - extract(epoch from '2026-06-27 12:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747215 -2.918997)'), GeomFromEWKT('SRID=4674;POINT (-39.747395 -2.918978)'))) / (select extract(epoch from '2026-06-27 12:48:16'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.747454 -2.918972)', '2026-06-27 12:48:18', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747395 -2.918978)'), GeomFromEWKT('SRID=4674;POINT (-39.747454 -2.918972)'))) / (select extract(epoch from '2026-06-27 12:48:18'::timestamp) - extract(epoch from '2026-06-27 12:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747395 -2.918978)'), GeomFromEWKT('SRID=4674;POINT (-39.747454 -2.918972)'))) / (select extract(epoch from '2026-06-27 12:48:18'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.74763 -2.918977)', '2026-06-27 12:48:25', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747454 -2.918972)'), GeomFromEWKT('SRID=4674;POINT (-39.74763 -2.918977)'))) / (select extract(epoch from '2026-06-27 12:48:25'::timestamp) - extract(epoch from '2026-06-27 12:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747454 -2.918972)'), GeomFromEWKT('SRID=4674;POINT (-39.74763 -2.918977)'))) / (select extract(epoch from '2026-06-27 12:48:25'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.747823 -2.918977)', '2026-06-27 12:48:32', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74763 -2.918977)'), GeomFromEWKT('SRID=4674;POINT (-39.747823 -2.918977)'))) / (select extract(epoch from '2026-06-27 12:48:32'::timestamp) - extract(epoch from '2026-06-27 12:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74763 -2.918977)'), GeomFromEWKT('SRID=4674;POINT (-39.747823 -2.918977)'))) / (select extract(epoch from '2026-06-27 12:48:32'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.747856 -2.91898)', '2026-06-27 12:48:33', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747823 -2.918977)'), GeomFromEWKT('SRID=4674;POINT (-39.747856 -2.91898)'))) / (select extract(epoch from '2026-06-27 12:48:33'::timestamp) - extract(epoch from '2026-06-27 12:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747823 -2.918977)'), GeomFromEWKT('SRID=4674;POINT (-39.747856 -2.91898)'))) / (select extract(epoch from '2026-06-27 12:48:33'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.748058 -2.918965)', '2026-06-27 12:48:40', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747856 -2.91898)'), GeomFromEWKT('SRID=4674;POINT (-39.748058 -2.918965)'))) / (select extract(epoch from '2026-06-27 12:48:40'::timestamp) - extract(epoch from '2026-06-27 12:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747856 -2.91898)'), GeomFromEWKT('SRID=4674;POINT (-39.748058 -2.918965)'))) / (select extract(epoch from '2026-06-27 12:48:40'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.748094 -2.918968)', '2026-06-27 12:48:41', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748058 -2.918965)'), GeomFromEWKT('SRID=4674;POINT (-39.748094 -2.918968)'))) / (select extract(epoch from '2026-06-27 12:48:41'::timestamp) - extract(epoch from '2026-06-27 12:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748058 -2.918965)'), GeomFromEWKT('SRID=4674;POINT (-39.748094 -2.918968)'))) / (select extract(epoch from '2026-06-27 12:48:41'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.748283 -2.919008)', '2026-06-27 12:48:48', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748094 -2.918968)'), GeomFromEWKT('SRID=4674;POINT (-39.748283 -2.919008)'))) / (select extract(epoch from '2026-06-27 12:48:48'::timestamp) - extract(epoch from '2026-06-27 12:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748094 -2.918968)'), GeomFromEWKT('SRID=4674;POINT (-39.748283 -2.919008)'))) / (select extract(epoch from '2026-06-27 12:48:48'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.74831 -2.919015)', '2026-06-27 12:48:49', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748283 -2.919008)'), GeomFromEWKT('SRID=4674;POINT (-39.74831 -2.919015)'))) / (select extract(epoch from '2026-06-27 12:48:49'::timestamp) - extract(epoch from '2026-06-27 12:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748283 -2.919008)'), GeomFromEWKT('SRID=4674;POINT (-39.74831 -2.919015)'))) / (select extract(epoch from '2026-06-27 12:48:49'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.748495 -2.919059)', '2026-06-27 12:48:56', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74831 -2.919015)'), GeomFromEWKT('SRID=4674;POINT (-39.748495 -2.919059)'))) / (select extract(epoch from '2026-06-27 12:48:56'::timestamp) - extract(epoch from '2026-06-27 12:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74831 -2.919015)'), GeomFromEWKT('SRID=4674;POINT (-39.748495 -2.919059)'))) / (select extract(epoch from '2026-06-27 12:48:56'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.748556 -2.91906)', '2026-06-27 12:48:58', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748495 -2.919059)'), GeomFromEWKT('SRID=4674;POINT (-39.748556 -2.91906)'))) / (select extract(epoch from '2026-06-27 12:48:58'::timestamp) - extract(epoch from '2026-06-27 12:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748495 -2.919059)'), GeomFromEWKT('SRID=4674;POINT (-39.748556 -2.91906)'))) / (select extract(epoch from '2026-06-27 12:48:58'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46819, 'SRID=4674;POINT (-39.748755 -2.919071)', '2026-06-27 12:49:05', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748556 -2.91906)'), GeomFromEWKT('SRID=4674;POINT (-39.748755 -2.919071)'))) / (select extract(epoch from '2026-06-27 12:49:05'::timestamp) - extract(epoch from '2026-06-27 12:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748556 -2.91906)'), GeomFromEWKT('SRID=4674;POINT (-39.748755 -2.919071)'))) / (select extract(epoch from '2026-06-27 12:49:05'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46819, 'SRID=4674;POINT (-39.748807 -2.919069)', '2026-06-27 12:49:07', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748755 -2.919071)'), GeomFromEWKT('SRID=4674;POINT (-39.748807 -2.919069)'))) / (select extract(epoch from '2026-06-27 12:49:07'::timestamp) - extract(epoch from '2026-06-27 12:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748755 -2.919071)'), GeomFromEWKT('SRID=4674;POINT (-39.748807 -2.919069)'))) / (select extract(epoch from '2026-06-27 12:49:07'::timestamp) - extract(epoch from '2026-06-27 12:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
