 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040584 -3.409124)', '2026-06-09 17:27:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04062 -3.409154)'), GeomFromEWKT('SRID=4674;POINT (-39.040584 -3.409124)'))) / (select extract(epoch from '2026-06-09 17:27:13'::timestamp) - extract(epoch from '2026-06-09 17:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04062 -3.409154)'), GeomFromEWKT('SRID=4674;POINT (-39.040584 -3.409124)'))) / (select extract(epoch from '2026-06-09 17:27:13'::timestamp) - extract(epoch from '2026-06-09 17:27: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'), 46564, 'SRID=4674;POINT (-39.04055 -3.40909)', '2026-06-09 17:27:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040584 -3.409124)'), GeomFromEWKT('SRID=4674;POINT (-39.04055 -3.40909)'))) / (select extract(epoch from '2026-06-09 17:27:20'::timestamp) - extract(epoch from '2026-06-09 17:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040584 -3.409124)'), GeomFromEWKT('SRID=4674;POINT (-39.04055 -3.40909)'))) / (select extract(epoch from '2026-06-09 17:27:20'::timestamp) - extract(epoch from '2026-06-09 17:27: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'), 46564, 'SRID=4674;POINT (-39.04052 -3.409048)', '2026-06-09 17:27:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04055 -3.40909)'), GeomFromEWKT('SRID=4674;POINT (-39.04052 -3.409048)'))) / (select extract(epoch from '2026-06-09 17:27:28'::timestamp) - extract(epoch from '2026-06-09 17:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04055 -3.40909)'), GeomFromEWKT('SRID=4674;POINT (-39.04052 -3.409048)'))) / (select extract(epoch from '2026-06-09 17:27:28'::timestamp) - extract(epoch from '2026-06-09 17:27: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'), 46564, 'SRID=4674;POINT (-39.040494 -3.408997)', '2026-06-09 17:27:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04052 -3.409048)'), GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.408997)'))) / (select extract(epoch from '2026-06-09 17:27:38'::timestamp) - extract(epoch from '2026-06-09 17:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04052 -3.409048)'), GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.408997)'))) / (select extract(epoch from '2026-06-09 17:27:38'::timestamp) - extract(epoch from '2026-06-09 17:27:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040449 -3.408939)', '2026-06-09 17:27:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.408997)'), GeomFromEWKT('SRID=4674;POINT (-39.040449 -3.408939)'))) / (select extract(epoch from '2026-06-09 17:27:49'::timestamp) - extract(epoch from '2026-06-09 17:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.408997)'), GeomFromEWKT('SRID=4674;POINT (-39.040449 -3.408939)'))) / (select extract(epoch from '2026-06-09 17:27:49'::timestamp) - extract(epoch from '2026-06-09 17:27: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'), 46564, 'SRID=4674;POINT (-39.040422 -3.408878)', '2026-06-09 17:27:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040449 -3.408939)'), GeomFromEWKT('SRID=4674;POINT (-39.040422 -3.408878)'))) / (select extract(epoch from '2026-06-09 17:27:59'::timestamp) - extract(epoch from '2026-06-09 17:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040449 -3.408939)'), GeomFromEWKT('SRID=4674;POINT (-39.040422 -3.408878)'))) / (select extract(epoch from '2026-06-09 17:27:59'::timestamp) - extract(epoch from '2026-06-09 17:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040409 -3.408858)', '2026-06-09 17:28:02', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040422 -3.408878)'), GeomFromEWKT('SRID=4674;POINT (-39.040409 -3.408858)'))) / (select extract(epoch from '2026-06-09 17:28:02'::timestamp) - extract(epoch from '2026-06-09 17:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040422 -3.408878)'), GeomFromEWKT('SRID=4674;POINT (-39.040409 -3.408858)'))) / (select extract(epoch from '2026-06-09 17:28:02'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.0404 -3.408837)', '2026-06-09 17:28:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040409 -3.408858)'), GeomFromEWKT('SRID=4674;POINT (-39.0404 -3.408837)'))) / (select extract(epoch from '2026-06-09 17:28:05'::timestamp) - extract(epoch from '2026-06-09 17:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040409 -3.408858)'), GeomFromEWKT('SRID=4674;POINT (-39.0404 -3.408837)'))) / (select extract(epoch from '2026-06-09 17:28:05'::timestamp) - extract(epoch from '2026-06-09 17:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040368 -3.408801)', '2026-06-09 17:28:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0404 -3.408837)'), GeomFromEWKT('SRID=4674;POINT (-39.040368 -3.408801)'))) / (select extract(epoch from '2026-06-09 17:28:14'::timestamp) - extract(epoch from '2026-06-09 17:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0404 -3.408837)'), GeomFromEWKT('SRID=4674;POINT (-39.040368 -3.408801)'))) / (select extract(epoch from '2026-06-09 17:28:14'::timestamp) - extract(epoch from '2026-06-09 17:28: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'), 46564, 'SRID=4674;POINT (-39.040326 -3.408773)', '2026-06-09 17:28:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040368 -3.408801)'), GeomFromEWKT('SRID=4674;POINT (-39.040326 -3.408773)'))) / (select extract(epoch from '2026-06-09 17:28:24'::timestamp) - extract(epoch from '2026-06-09 17:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040368 -3.408801)'), GeomFromEWKT('SRID=4674;POINT (-39.040326 -3.408773)'))) / (select extract(epoch from '2026-06-09 17:28:24'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.040291 -3.408747)', '2026-06-09 17:28:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040326 -3.408773)'), GeomFromEWKT('SRID=4674;POINT (-39.040291 -3.408747)'))) / (select extract(epoch from '2026-06-09 17:28:33'::timestamp) - extract(epoch from '2026-06-09 17:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040326 -3.408773)'), GeomFromEWKT('SRID=4674;POINT (-39.040291 -3.408747)'))) / (select extract(epoch from '2026-06-09 17:28:33'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.040253 -3.408716)', '2026-06-09 17:28:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040291 -3.408747)'), GeomFromEWKT('SRID=4674;POINT (-39.040253 -3.408716)'))) / (select extract(epoch from '2026-06-09 17:28:41'::timestamp) - extract(epoch from '2026-06-09 17:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040291 -3.408747)'), GeomFromEWKT('SRID=4674;POINT (-39.040253 -3.408716)'))) / (select extract(epoch from '2026-06-09 17:28:41'::timestamp) - extract(epoch from '2026-06-09 17:28: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'), 46564, 'SRID=4674;POINT (-39.040212 -3.408689)', '2026-06-09 17:28:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040253 -3.408716)'), GeomFromEWKT('SRID=4674;POINT (-39.040212 -3.408689)'))) / (select extract(epoch from '2026-06-09 17:28:50'::timestamp) - extract(epoch from '2026-06-09 17:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040253 -3.408716)'), GeomFromEWKT('SRID=4674;POINT (-39.040212 -3.408689)'))) / (select extract(epoch from '2026-06-09 17:28:50'::timestamp) - extract(epoch from '2026-06-09 17:28:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040171 -3.408671)', '2026-06-09 17:28:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040212 -3.408689)'), GeomFromEWKT('SRID=4674;POINT (-39.040171 -3.408671)'))) / (select extract(epoch from '2026-06-09 17:28:57'::timestamp) - extract(epoch from '2026-06-09 17:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040212 -3.408689)'), GeomFromEWKT('SRID=4674;POINT (-39.040171 -3.408671)'))) / (select extract(epoch from '2026-06-09 17:28:57'::timestamp) - extract(epoch from '2026-06-09 17:28: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'), 46564, 'SRID=4674;POINT (-39.040126 -3.408648)', '2026-06-09 17:29:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040171 -3.408671)'), GeomFromEWKT('SRID=4674;POINT (-39.040126 -3.408648)'))) / (select extract(epoch from '2026-06-09 17:29:06'::timestamp) - extract(epoch from '2026-06-09 17:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040171 -3.408671)'), GeomFromEWKT('SRID=4674;POINT (-39.040126 -3.408648)'))) / (select extract(epoch from '2026-06-09 17:29:06'::timestamp) - extract(epoch from '2026-06-09 17:28: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'), 46564, 'SRID=4674;POINT (-39.040076 -3.408622)', '2026-06-09 17:29:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040126 -3.408648)'), GeomFromEWKT('SRID=4674;POINT (-39.040076 -3.408622)'))) / (select extract(epoch from '2026-06-09 17:29:15'::timestamp) - extract(epoch from '2026-06-09 17:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040126 -3.408648)'), GeomFromEWKT('SRID=4674;POINT (-39.040076 -3.408622)'))) / (select extract(epoch from '2026-06-09 17:29:15'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.040022 -3.408586)', '2026-06-09 17:29:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040076 -3.408622)'), GeomFromEWKT('SRID=4674;POINT (-39.040022 -3.408586)'))) / (select extract(epoch from '2026-06-09 17:29:24'::timestamp) - extract(epoch from '2026-06-09 17:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040076 -3.408622)'), GeomFromEWKT('SRID=4674;POINT (-39.040022 -3.408586)'))) / (select extract(epoch from '2026-06-09 17:29:24'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.039969 -3.408556)', '2026-06-09 17:29:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040022 -3.408586)'), GeomFromEWKT('SRID=4674;POINT (-39.039969 -3.408556)'))) / (select extract(epoch from '2026-06-09 17:29:33'::timestamp) - extract(epoch from '2026-06-09 17:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040022 -3.408586)'), GeomFromEWKT('SRID=4674;POINT (-39.039969 -3.408556)'))) / (select extract(epoch from '2026-06-09 17:29:33'::timestamp) - extract(epoch from '2026-06-09 17:29: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'), 46564, 'SRID=4674;POINT (-39.039912 -3.408544)', '2026-06-09 17:29:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039969 -3.408556)'), GeomFromEWKT('SRID=4674;POINT (-39.039912 -3.408544)'))) / (select extract(epoch from '2026-06-09 17:29:42'::timestamp) - extract(epoch from '2026-06-09 17:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039969 -3.408556)'), GeomFromEWKT('SRID=4674;POINT (-39.039912 -3.408544)'))) / (select extract(epoch from '2026-06-09 17:29:42'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.039857 -3.408539)', '2026-06-09 17:29:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039912 -3.408544)'), GeomFromEWKT('SRID=4674;POINT (-39.039857 -3.408539)'))) / (select extract(epoch from '2026-06-09 17:29:50'::timestamp) - extract(epoch from '2026-06-09 17:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039912 -3.408544)'), GeomFromEWKT('SRID=4674;POINT (-39.039857 -3.408539)'))) / (select extract(epoch from '2026-06-09 17:29:50'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.0398 -3.408533)', '2026-06-09 17:29:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039857 -3.408539)'), GeomFromEWKT('SRID=4674;POINT (-39.0398 -3.408533)'))) / (select extract(epoch from '2026-06-09 17:29:58'::timestamp) - extract(epoch from '2026-06-09 17:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039857 -3.408539)'), GeomFromEWKT('SRID=4674;POINT (-39.0398 -3.408533)'))) / (select extract(epoch from '2026-06-09 17:29:58'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.039746 -3.408543)', '2026-06-09 17:30:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0398 -3.408533)'), GeomFromEWKT('SRID=4674;POINT (-39.039746 -3.408543)'))) / (select extract(epoch from '2026-06-09 17:30:06'::timestamp) - extract(epoch from '2026-06-09 17:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0398 -3.408533)'), GeomFromEWKT('SRID=4674;POINT (-39.039746 -3.408543)'))) / (select extract(epoch from '2026-06-09 17:30:06'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.039679 -3.408549)', '2026-06-09 17:30:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039746 -3.408543)'), GeomFromEWKT('SRID=4674;POINT (-39.039679 -3.408549)'))) / (select extract(epoch from '2026-06-09 17:30:15'::timestamp) - extract(epoch from '2026-06-09 17:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039746 -3.408543)'), GeomFromEWKT('SRID=4674;POINT (-39.039679 -3.408549)'))) / (select extract(epoch from '2026-06-09 17:30:15'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.03964 -3.408544)', '2026-06-09 17:30:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039679 -3.408549)'), GeomFromEWKT('SRID=4674;POINT (-39.03964 -3.408544)'))) / (select extract(epoch from '2026-06-09 17:30:24'::timestamp) - extract(epoch from '2026-06-09 17:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039679 -3.408549)'), GeomFromEWKT('SRID=4674;POINT (-39.03964 -3.408544)'))) / (select extract(epoch from '2026-06-09 17:30:24'::timestamp) - extract(epoch from '2026-06-09 17:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.039651 -3.408531)', '2026-06-09 17:30:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03964 -3.408544)'), GeomFromEWKT('SRID=4674;POINT (-39.039651 -3.408531)'))) / (select extract(epoch from '2026-06-09 17:30:36'::timestamp) - extract(epoch from '2026-06-09 17:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03964 -3.408544)'), GeomFromEWKT('SRID=4674;POINT (-39.039651 -3.408531)'))) / (select extract(epoch from '2026-06-09 17:30:36'::timestamp) - extract(epoch from '2026-06-09 17:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.03967 -3.408524)', '2026-06-09 17:30:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039651 -3.408531)'), GeomFromEWKT('SRID=4674;POINT (-39.03967 -3.408524)'))) / (select extract(epoch from '2026-06-09 17:30:46'::timestamp) - extract(epoch from '2026-06-09 17:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039651 -3.408531)'), GeomFromEWKT('SRID=4674;POINT (-39.03967 -3.408524)'))) / (select extract(epoch from '2026-06-09 17:30:46'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.039693 -3.408522)', '2026-06-09 17:30:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03967 -3.408524)'), GeomFromEWKT('SRID=4674;POINT (-39.039693 -3.408522)'))) / (select extract(epoch from '2026-06-09 17:30:53'::timestamp) - extract(epoch from '2026-06-09 17:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03967 -3.408524)'), GeomFromEWKT('SRID=4674;POINT (-39.039693 -3.408522)'))) / (select extract(epoch from '2026-06-09 17:30:53'::timestamp) - extract(epoch from '2026-06-09 17:30: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'), 46564, 'SRID=4674;POINT (-39.03972 -3.408524)', '2026-06-09 17:31:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039693 -3.408522)'), GeomFromEWKT('SRID=4674;POINT (-39.03972 -3.408524)'))) / (select extract(epoch from '2026-06-09 17:31:02'::timestamp) - extract(epoch from '2026-06-09 17:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039693 -3.408522)'), GeomFromEWKT('SRID=4674;POINT (-39.03972 -3.408524)'))) / (select extract(epoch from '2026-06-09 17:31:02'::timestamp) - extract(epoch from '2026-06-09 17:30: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'), 46564, 'SRID=4674;POINT (-39.039741 -3.408526)', '2026-06-09 17:31:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03972 -3.408524)'), GeomFromEWKT('SRID=4674;POINT (-39.039741 -3.408526)'))) / (select extract(epoch from '2026-06-09 17:31:10'::timestamp) - extract(epoch from '2026-06-09 17:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03972 -3.408524)'), GeomFromEWKT('SRID=4674;POINT (-39.039741 -3.408526)'))) / (select extract(epoch from '2026-06-09 17:31:10'::timestamp) - extract(epoch from '2026-06-09 17:31: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'), 46564, 'SRID=4674;POINT (-39.039787 -3.408516)', '2026-06-09 17:31:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039741 -3.408526)'), GeomFromEWKT('SRID=4674;POINT (-39.039787 -3.408516)'))) / (select extract(epoch from '2026-06-09 17:31:20'::timestamp) - extract(epoch from '2026-06-09 17:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039741 -3.408526)'), GeomFromEWKT('SRID=4674;POINT (-39.039787 -3.408516)'))) / (select extract(epoch from '2026-06-09 17:31:20'::timestamp) - extract(epoch from '2026-06-09 17:31: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'), 46564, 'SRID=4674;POINT (-39.03984 -3.408508)', '2026-06-09 17:31:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039787 -3.408516)'), GeomFromEWKT('SRID=4674;POINT (-39.03984 -3.408508)'))) / (select extract(epoch from '2026-06-09 17:31:32'::timestamp) - extract(epoch from '2026-06-09 17:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039787 -3.408516)'), GeomFromEWKT('SRID=4674;POINT (-39.03984 -3.408508)'))) / (select extract(epoch from '2026-06-09 17:31:32'::timestamp) - extract(epoch from '2026-06-09 17:31: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'), 46564, 'SRID=4674;POINT (-39.039898 -3.408502)', '2026-06-09 17:31:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03984 -3.408508)'), GeomFromEWKT('SRID=4674;POINT (-39.039898 -3.408502)'))) / (select extract(epoch from '2026-06-09 17:31:46'::timestamp) - extract(epoch from '2026-06-09 17:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03984 -3.408508)'), GeomFromEWKT('SRID=4674;POINT (-39.039898 -3.408502)'))) / (select extract(epoch from '2026-06-09 17:31:46'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.039922 -3.408488)', '2026-06-09 17:31:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039898 -3.408502)'), GeomFromEWKT('SRID=4674;POINT (-39.039922 -3.408488)'))) / (select extract(epoch from '2026-06-09 17:31:59'::timestamp) - extract(epoch from '2026-06-09 17:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039898 -3.408502)'), GeomFromEWKT('SRID=4674;POINT (-39.039922 -3.408488)'))) / (select extract(epoch from '2026-06-09 17:31:59'::timestamp) - extract(epoch from '2026-06-09 17:31: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'), 46564, 'SRID=4674;POINT (-39.03993 -3.408473)', '2026-06-09 17:32:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039922 -3.408488)'), GeomFromEWKT('SRID=4674;POINT (-39.03993 -3.408473)'))) / (select extract(epoch from '2026-06-09 17:32:19'::timestamp) - extract(epoch from '2026-06-09 17:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039922 -3.408488)'), GeomFromEWKT('SRID=4674;POINT (-39.03993 -3.408473)'))) / (select extract(epoch from '2026-06-09 17:32:19'::timestamp) - extract(epoch from '2026-06-09 17:31: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'), 46564, 'SRID=4674;POINT (-39.039925 -3.408467)', '2026-06-09 17:32:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03993 -3.408473)'), GeomFromEWKT('SRID=4674;POINT (-39.039925 -3.408467)'))) / (select extract(epoch from '2026-06-09 17:32:34'::timestamp) - extract(epoch from '2026-06-09 17:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03993 -3.408473)'), GeomFromEWKT('SRID=4674;POINT (-39.039925 -3.408467)'))) / (select extract(epoch from '2026-06-09 17:32:34'::timestamp) - extract(epoch from '2026-06-09 17:32: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'), 46564, 'SRID=4674;POINT (-39.039934 -3.408465)', '2026-06-09 17:32:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039925 -3.408467)'), GeomFromEWKT('SRID=4674;POINT (-39.039934 -3.408465)'))) / (select extract(epoch from '2026-06-09 17:32:41'::timestamp) - extract(epoch from '2026-06-09 17:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039925 -3.408467)'), GeomFromEWKT('SRID=4674;POINT (-39.039934 -3.408465)'))) / (select extract(epoch from '2026-06-09 17:32:41'::timestamp) - extract(epoch from '2026-06-09 17:32: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'), 46564, 'SRID=4674;POINT (-39.039935 -3.408461)', '2026-06-09 17:32:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039934 -3.408465)'), GeomFromEWKT('SRID=4674;POINT (-39.039935 -3.408461)'))) / (select extract(epoch from '2026-06-09 17:32:52'::timestamp) - extract(epoch from '2026-06-09 17:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039934 -3.408465)'), GeomFromEWKT('SRID=4674;POINT (-39.039935 -3.408461)'))) / (select extract(epoch from '2026-06-09 17:32:52'::timestamp) - extract(epoch from '2026-06-09 17:32: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'), 46564, 'SRID=4674;POINT (-39.039942 -3.408459)', '2026-06-09 17:32:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039935 -3.408461)'), GeomFromEWKT('SRID=4674;POINT (-39.039942 -3.408459)'))) / (select extract(epoch from '2026-06-09 17:32:59'::timestamp) - extract(epoch from '2026-06-09 17:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039935 -3.408461)'), GeomFromEWKT('SRID=4674;POINT (-39.039942 -3.408459)'))) / (select extract(epoch from '2026-06-09 17:32:59'::timestamp) - extract(epoch from '2026-06-09 17:32: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'), 46564, 'SRID=4674;POINT (-39.039943 -3.408465)', '2026-06-09 17:33:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039942 -3.408459)'), GeomFromEWKT('SRID=4674;POINT (-39.039943 -3.408465)'))) / (select extract(epoch from '2026-06-09 17:33:10'::timestamp) - extract(epoch from '2026-06-09 17:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039942 -3.408459)'), GeomFromEWKT('SRID=4674;POINT (-39.039943 -3.408465)'))) / (select extract(epoch from '2026-06-09 17:33:10'::timestamp) - extract(epoch from '2026-06-09 17:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.039953 -3.408468)', '2026-06-09 17:33:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039943 -3.408465)'), GeomFromEWKT('SRID=4674;POINT (-39.039953 -3.408468)'))) / (select extract(epoch from '2026-06-09 17:33:17'::timestamp) - extract(epoch from '2026-06-09 17:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039943 -3.408465)'), GeomFromEWKT('SRID=4674;POINT (-39.039953 -3.408468)'))) / (select extract(epoch from '2026-06-09 17:33:17'::timestamp) - extract(epoch from '2026-06-09 17:33: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'), 46564, 'SRID=4674;POINT (-39.039954 -3.408466)', '2026-06-09 17:33:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039953 -3.408468)'), GeomFromEWKT('SRID=4674;POINT (-39.039954 -3.408466)'))) / (select extract(epoch from '2026-06-09 17:33:29'::timestamp) - extract(epoch from '2026-06-09 17:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039953 -3.408468)'), GeomFromEWKT('SRID=4674;POINT (-39.039954 -3.408466)'))) / (select extract(epoch from '2026-06-09 17:33:29'::timestamp) - extract(epoch from '2026-06-09 17:33: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'), 46564, 'SRID=4674;POINT (-39.039961 -3.40847)', '2026-06-09 17:33:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039954 -3.408466)'), GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.40847)'))) / (select extract(epoch from '2026-06-09 17:33:42'::timestamp) - extract(epoch from '2026-06-09 17:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039954 -3.408466)'), GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.40847)'))) / (select extract(epoch from '2026-06-09 17:33:42'::timestamp) - extract(epoch from '2026-06-09 17:33: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'), 46564, 'SRID=4674;POINT (-39.039961 -3.408465)', '2026-06-09 17:33:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.40847)'), GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.408465)'))) / (select extract(epoch from '2026-06-09 17:33:57'::timestamp) - extract(epoch from '2026-06-09 17:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.40847)'), GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.408465)'))) / (select extract(epoch from '2026-06-09 17:33:57'::timestamp) - extract(epoch from '2026-06-09 17:33: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'), 46564, 'SRID=4674;POINT (-39.039963 -3.408464)', '2026-06-09 17:34:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.408465)'), GeomFromEWKT('SRID=4674;POINT (-39.039963 -3.408464)'))) / (select extract(epoch from '2026-06-09 17:34:10'::timestamp) - extract(epoch from '2026-06-09 17:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.408465)'), GeomFromEWKT('SRID=4674;POINT (-39.039963 -3.408464)'))) / (select extract(epoch from '2026-06-09 17:34:10'::timestamp) - extract(epoch from '2026-06-09 17:33: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'), 46564, 'SRID=4674;POINT (-39.039974 -3.408463)', '2026-06-09 17:34:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039963 -3.408464)'), GeomFromEWKT('SRID=4674;POINT (-39.039974 -3.408463)'))) / (select extract(epoch from '2026-06-09 17:34:18'::timestamp) - extract(epoch from '2026-06-09 17:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039963 -3.408464)'), GeomFromEWKT('SRID=4674;POINT (-39.039974 -3.408463)'))) / (select extract(epoch from '2026-06-09 17:34:18'::timestamp) - extract(epoch from '2026-06-09 17:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.039971 -3.40846)', '2026-06-09 17:34:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039974 -3.408463)'), GeomFromEWKT('SRID=4674;POINT (-39.039971 -3.40846)'))) / (select extract(epoch from '2026-06-09 17:34:26'::timestamp) - extract(epoch from '2026-06-09 17:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039974 -3.408463)'), GeomFromEWKT('SRID=4674;POINT (-39.039971 -3.40846)'))) / (select extract(epoch from '2026-06-09 17:34:26'::timestamp) - extract(epoch from '2026-06-09 17:34: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'), 46564, 'SRID=4674;POINT (-39.039973 -3.408459)', '2026-06-09 17:34:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039971 -3.40846)'), GeomFromEWKT('SRID=4674;POINT (-39.039973 -3.408459)'))) / (select extract(epoch from '2026-06-09 17:34:33'::timestamp) - extract(epoch from '2026-06-09 17:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039971 -3.40846)'), GeomFromEWKT('SRID=4674;POINT (-39.039973 -3.408459)'))) / (select extract(epoch from '2026-06-09 17:34:33'::timestamp) - extract(epoch from '2026-06-09 17:34: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'), 46564, 'SRID=4674;POINT (-39.039978 -3.408465)', '2026-06-09 17:34:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039973 -3.408459)'), GeomFromEWKT('SRID=4674;POINT (-39.039978 -3.408465)'))) / (select extract(epoch from '2026-06-09 17:34:43'::timestamp) - extract(epoch from '2026-06-09 17:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039973 -3.408459)'), GeomFromEWKT('SRID=4674;POINT (-39.039978 -3.408465)'))) / (select extract(epoch from '2026-06-09 17:34:43'::timestamp) - extract(epoch from '2026-06-09 17:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.039987 -3.408467)', '2026-06-09 17:34:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039978 -3.408465)'), GeomFromEWKT('SRID=4674;POINT (-39.039987 -3.408467)'))) / (select extract(epoch from '2026-06-09 17:34:53'::timestamp) - extract(epoch from '2026-06-09 17:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039978 -3.408465)'), GeomFromEWKT('SRID=4674;POINT (-39.039987 -3.408467)'))) / (select extract(epoch from '2026-06-09 17:34:53'::timestamp) - extract(epoch from '2026-06-09 17:34: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'), 46564, 'SRID=4674;POINT (-39.039993 -3.408466)', '2026-06-09 17:35:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039987 -3.408467)'), GeomFromEWKT('SRID=4674;POINT (-39.039993 -3.408466)'))) / (select extract(epoch from '2026-06-09 17:35:00'::timestamp) - extract(epoch from '2026-06-09 17:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039987 -3.408467)'), GeomFromEWKT('SRID=4674;POINT (-39.039993 -3.408466)'))) / (select extract(epoch from '2026-06-09 17:35:00'::timestamp) - extract(epoch from '2026-06-09 17:34: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'), 46564, 'SRID=4674;POINT (-39.039995 -3.408471)', '2026-06-09 17:35:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039993 -3.408466)'), GeomFromEWKT('SRID=4674;POINT (-39.039995 -3.408471)'))) / (select extract(epoch from '2026-06-09 17:35:11'::timestamp) - extract(epoch from '2026-06-09 17:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039993 -3.408466)'), GeomFromEWKT('SRID=4674;POINT (-39.039995 -3.408471)'))) / (select extract(epoch from '2026-06-09 17:35:11'::timestamp) - extract(epoch from '2026-06-09 17:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040003 -3.408473)', '2026-06-09 17:35:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039995 -3.408471)'), GeomFromEWKT('SRID=4674;POINT (-39.040003 -3.408473)'))) / (select extract(epoch from '2026-06-09 17:35:23'::timestamp) - extract(epoch from '2026-06-09 17:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039995 -3.408471)'), GeomFromEWKT('SRID=4674;POINT (-39.040003 -3.408473)'))) / (select extract(epoch from '2026-06-09 17:35:23'::timestamp) - extract(epoch from '2026-06-09 17:35: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'), 46564, 'SRID=4674;POINT (-39.040013 -3.408471)', '2026-06-09 17:35:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040003 -3.408473)'), GeomFromEWKT('SRID=4674;POINT (-39.040013 -3.408471)'))) / (select extract(epoch from '2026-06-09 17:35:33'::timestamp) - extract(epoch from '2026-06-09 17:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040003 -3.408473)'), GeomFromEWKT('SRID=4674;POINT (-39.040013 -3.408471)'))) / (select extract(epoch from '2026-06-09 17:35:33'::timestamp) - extract(epoch from '2026-06-09 17:35: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'), 46564, 'SRID=4674;POINT (-39.040028 -3.408457)', '2026-06-09 17:35:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040013 -3.408471)'), GeomFromEWKT('SRID=4674;POINT (-39.040028 -3.408457)'))) / (select extract(epoch from '2026-06-09 17:35:45'::timestamp) - extract(epoch from '2026-06-09 17:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040013 -3.408471)'), GeomFromEWKT('SRID=4674;POINT (-39.040028 -3.408457)'))) / (select extract(epoch from '2026-06-09 17:35:45'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.04003 -3.408452)', '2026-06-09 17:35:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040028 -3.408457)'), GeomFromEWKT('SRID=4674;POINT (-39.04003 -3.408452)'))) / (select extract(epoch from '2026-06-09 17:35:52'::timestamp) - extract(epoch from '2026-06-09 17:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040028 -3.408457)'), GeomFromEWKT('SRID=4674;POINT (-39.04003 -3.408452)'))) / (select extract(epoch from '2026-06-09 17:35:52'::timestamp) - extract(epoch from '2026-06-09 17:35: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'), 46564, 'SRID=4674;POINT (-39.040037 -3.40845)', '2026-06-09 17:36:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04003 -3.408452)'), GeomFromEWKT('SRID=4674;POINT (-39.040037 -3.40845)'))) / (select extract(epoch from '2026-06-09 17:36:04'::timestamp) - extract(epoch from '2026-06-09 17:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04003 -3.408452)'), GeomFromEWKT('SRID=4674;POINT (-39.040037 -3.40845)'))) / (select extract(epoch from '2026-06-09 17:36:04'::timestamp) - extract(epoch from '2026-06-09 17:35: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'), 46564, 'SRID=4674;POINT (-39.04004 -3.40845)', '2026-06-09 17:36:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040037 -3.40845)'), GeomFromEWKT('SRID=4674;POINT (-39.04004 -3.40845)'))) / (select extract(epoch from '2026-06-09 17:36:11'::timestamp) - extract(epoch from '2026-06-09 17:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040037 -3.40845)'), GeomFromEWKT('SRID=4674;POINT (-39.04004 -3.40845)'))) / (select extract(epoch from '2026-06-09 17:36:11'::timestamp) - extract(epoch from '2026-06-09 17:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040049 -3.40845)', '2026-06-09 17:36:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04004 -3.40845)'), GeomFromEWKT('SRID=4674;POINT (-39.040049 -3.40845)'))) / (select extract(epoch from '2026-06-09 17:36:21'::timestamp) - extract(epoch from '2026-06-09 17:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04004 -3.40845)'), GeomFromEWKT('SRID=4674;POINT (-39.040049 -3.40845)'))) / (select extract(epoch from '2026-06-09 17:36:21'::timestamp) - extract(epoch from '2026-06-09 17:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040056 -3.40845)', '2026-06-09 17:36:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040049 -3.40845)'), GeomFromEWKT('SRID=4674;POINT (-39.040056 -3.40845)'))) / (select extract(epoch from '2026-06-09 17:36:28'::timestamp) - extract(epoch from '2026-06-09 17:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040049 -3.40845)'), GeomFromEWKT('SRID=4674;POINT (-39.040056 -3.40845)'))) / (select extract(epoch from '2026-06-09 17:36:28'::timestamp) - extract(epoch from '2026-06-09 17:36: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'), 46564, 'SRID=4674;POINT (-39.040061 -3.408453)', '2026-06-09 17:36:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040056 -3.40845)'), GeomFromEWKT('SRID=4674;POINT (-39.040061 -3.408453)'))) / (select extract(epoch from '2026-06-09 17:36:36'::timestamp) - extract(epoch from '2026-06-09 17:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040056 -3.40845)'), GeomFromEWKT('SRID=4674;POINT (-39.040061 -3.408453)'))) / (select extract(epoch from '2026-06-09 17:36:36'::timestamp) - extract(epoch from '2026-06-09 17:36: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'), 46564, 'SRID=4674;POINT (-39.040072 -3.408446)', '2026-06-09 17:36:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040061 -3.408453)'), GeomFromEWKT('SRID=4674;POINT (-39.040072 -3.408446)'))) / (select extract(epoch from '2026-06-09 17:36:51'::timestamp) - extract(epoch from '2026-06-09 17:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040061 -3.408453)'), GeomFromEWKT('SRID=4674;POINT (-39.040072 -3.408446)'))) / (select extract(epoch from '2026-06-09 17:36:51'::timestamp) - extract(epoch from '2026-06-09 17:36: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'), 46564, 'SRID=4674;POINT (-39.04009 -3.408449)', '2026-06-09 17:37:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040072 -3.408446)'), GeomFromEWKT('SRID=4674;POINT (-39.04009 -3.408449)'))) / (select extract(epoch from '2026-06-09 17:37:11'::timestamp) - extract(epoch from '2026-06-09 17:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040072 -3.408446)'), GeomFromEWKT('SRID=4674;POINT (-39.04009 -3.408449)'))) / (select extract(epoch from '2026-06-09 17:37:11'::timestamp) - extract(epoch from '2026-06-09 17:36: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'), 46564, 'SRID=4674;POINT (-39.040116 -3.408444)', '2026-06-09 17:37:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04009 -3.408449)'), GeomFromEWKT('SRID=4674;POINT (-39.040116 -3.408444)'))) / (select extract(epoch from '2026-06-09 17:37:32'::timestamp) - extract(epoch from '2026-06-09 17:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04009 -3.408449)'), GeomFromEWKT('SRID=4674;POINT (-39.040116 -3.408444)'))) / (select extract(epoch from '2026-06-09 17:37:32'::timestamp) - extract(epoch from '2026-06-09 17:37: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'), 46564, 'SRID=4674;POINT (-39.040131 -3.408432)', '2026-06-09 17:37:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040116 -3.408444)'), GeomFromEWKT('SRID=4674;POINT (-39.040131 -3.408432)'))) / (select extract(epoch from '2026-06-09 17:37:53'::timestamp) - extract(epoch from '2026-06-09 17:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040116 -3.408444)'), GeomFromEWKT('SRID=4674;POINT (-39.040131 -3.408432)'))) / (select extract(epoch from '2026-06-09 17:37:53'::timestamp) - extract(epoch from '2026-06-09 17:37: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'), 46564, 'SRID=4674;POINT (-39.040142 -3.408435)', '2026-06-09 17:38:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040131 -3.408432)'), GeomFromEWKT('SRID=4674;POINT (-39.040142 -3.408435)'))) / (select extract(epoch from '2026-06-09 17:38:04'::timestamp) - extract(epoch from '2026-06-09 17:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040131 -3.408432)'), GeomFromEWKT('SRID=4674;POINT (-39.040142 -3.408435)'))) / (select extract(epoch from '2026-06-09 17:38:04'::timestamp) - extract(epoch from '2026-06-09 17:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040155 -3.408433)', '2026-06-09 17:38:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040142 -3.408435)'), GeomFromEWKT('SRID=4674;POINT (-39.040155 -3.408433)'))) / (select extract(epoch from '2026-06-09 17:38:17'::timestamp) - extract(epoch from '2026-06-09 17:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040142 -3.408435)'), GeomFromEWKT('SRID=4674;POINT (-39.040155 -3.408433)'))) / (select extract(epoch from '2026-06-09 17:38:17'::timestamp) - extract(epoch from '2026-06-09 17:38: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'), 46564, 'SRID=4674;POINT (-39.04017 -3.408432)', '2026-06-09 17:38:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040155 -3.408433)'), GeomFromEWKT('SRID=4674;POINT (-39.04017 -3.408432)'))) / (select extract(epoch from '2026-06-09 17:38:29'::timestamp) - extract(epoch from '2026-06-09 17:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040155 -3.408433)'), GeomFromEWKT('SRID=4674;POINT (-39.04017 -3.408432)'))) / (select extract(epoch from '2026-06-09 17:38:29'::timestamp) - extract(epoch from '2026-06-09 17:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040208 -3.408428)', '2026-06-09 17:38:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04017 -3.408432)'), GeomFromEWKT('SRID=4674;POINT (-39.040208 -3.408428)'))) / (select extract(epoch from '2026-06-09 17:38:46'::timestamp) - extract(epoch from '2026-06-09 17:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04017 -3.408432)'), GeomFromEWKT('SRID=4674;POINT (-39.040208 -3.408428)'))) / (select extract(epoch from '2026-06-09 17:38:46'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.040234 -3.408415)', '2026-06-09 17:39:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040208 -3.408428)'), GeomFromEWKT('SRID=4674;POINT (-39.040234 -3.408415)'))) / (select extract(epoch from '2026-06-09 17:39:07'::timestamp) - extract(epoch from '2026-06-09 17:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040208 -3.408428)'), GeomFromEWKT('SRID=4674;POINT (-39.040234 -3.408415)'))) / (select extract(epoch from '2026-06-09 17:39:07'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.040258 -3.408432)', '2026-06-09 17:39:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040234 -3.408415)'), GeomFromEWKT('SRID=4674;POINT (-39.040258 -3.408432)'))) / (select extract(epoch from '2026-06-09 17:39:27'::timestamp) - extract(epoch from '2026-06-09 17:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040234 -3.408415)'), GeomFromEWKT('SRID=4674;POINT (-39.040258 -3.408432)'))) / (select extract(epoch from '2026-06-09 17:39:27'::timestamp) - extract(epoch from '2026-06-09 17:39: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'), 46564, 'SRID=4674;POINT (-39.04028 -3.408432)', '2026-06-09 17:39:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040258 -3.408432)'), GeomFromEWKT('SRID=4674;POINT (-39.04028 -3.408432)'))) / (select extract(epoch from '2026-06-09 17:39:55'::timestamp) - extract(epoch from '2026-06-09 17:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040258 -3.408432)'), GeomFromEWKT('SRID=4674;POINT (-39.04028 -3.408432)'))) / (select extract(epoch from '2026-06-09 17:39:55'::timestamp) - extract(epoch from '2026-06-09 17:39: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'), 46564, 'SRID=4674;POINT (-39.040301 -3.408433)', '2026-06-09 17:40:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04028 -3.408432)'), GeomFromEWKT('SRID=4674;POINT (-39.040301 -3.408433)'))) / (select extract(epoch from '2026-06-09 17:40:18'::timestamp) - extract(epoch from '2026-06-09 17:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04028 -3.408432)'), GeomFromEWKT('SRID=4674;POINT (-39.040301 -3.408433)'))) / (select extract(epoch from '2026-06-09 17:40:18'::timestamp) - extract(epoch from '2026-06-09 17:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.04032 -3.408424)', '2026-06-09 17:40:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040301 -3.408433)'), GeomFromEWKT('SRID=4674;POINT (-39.04032 -3.408424)'))) / (select extract(epoch from '2026-06-09 17:40:32'::timestamp) - extract(epoch from '2026-06-09 17:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040301 -3.408433)'), GeomFromEWKT('SRID=4674;POINT (-39.04032 -3.408424)'))) / (select extract(epoch from '2026-06-09 17:40:32'::timestamp) - extract(epoch from '2026-06-09 17:40: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'), 46564, 'SRID=4674;POINT (-39.040338 -3.408423)', '2026-06-09 17:40:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04032 -3.408424)'), GeomFromEWKT('SRID=4674;POINT (-39.040338 -3.408423)'))) / (select extract(epoch from '2026-06-09 17:40:41'::timestamp) - extract(epoch from '2026-06-09 17:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04032 -3.408424)'), GeomFromEWKT('SRID=4674;POINT (-39.040338 -3.408423)'))) / (select extract(epoch from '2026-06-09 17:40:41'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.040363 -3.408425)', '2026-06-09 17:40:48', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040338 -3.408423)'), GeomFromEWKT('SRID=4674;POINT (-39.040363 -3.408425)'))) / (select extract(epoch from '2026-06-09 17:40:48'::timestamp) - extract(epoch from '2026-06-09 17:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040338 -3.408423)'), GeomFromEWKT('SRID=4674;POINT (-39.040363 -3.408425)'))) / (select extract(epoch from '2026-06-09 17:40:48'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.040383 -3.408427)', '2026-06-09 17:40:57', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040363 -3.408425)'), GeomFromEWKT('SRID=4674;POINT (-39.040383 -3.408427)'))) / (select extract(epoch from '2026-06-09 17:40:57'::timestamp) - extract(epoch from '2026-06-09 17:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040363 -3.408425)'), GeomFromEWKT('SRID=4674;POINT (-39.040383 -3.408427)'))) / (select extract(epoch from '2026-06-09 17:40:57'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.04039 -3.408427)', '2026-06-09 17:41:05', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040383 -3.408427)'), GeomFromEWKT('SRID=4674;POINT (-39.04039 -3.408427)'))) / (select extract(epoch from '2026-06-09 17:41:05'::timestamp) - extract(epoch from '2026-06-09 17:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040383 -3.408427)'), GeomFromEWKT('SRID=4674;POINT (-39.04039 -3.408427)'))) / (select extract(epoch from '2026-06-09 17:41:05'::timestamp) - extract(epoch from '2026-06-09 17:40: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'), 46564, 'SRID=4674;POINT (-39.040404 -3.408427)', '2026-06-09 17:41:19', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04039 -3.408427)'), GeomFromEWKT('SRID=4674;POINT (-39.040404 -3.408427)'))) / (select extract(epoch from '2026-06-09 17:41:19'::timestamp) - extract(epoch from '2026-06-09 17:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04039 -3.408427)'), GeomFromEWKT('SRID=4674;POINT (-39.040404 -3.408427)'))) / (select extract(epoch from '2026-06-09 17:41:19'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.040399 -3.408426)', '2026-06-09 17:41:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040404 -3.408427)'), GeomFromEWKT('SRID=4674;POINT (-39.040399 -3.408426)'))) / (select extract(epoch from '2026-06-09 17:41:25'::timestamp) - extract(epoch from '2026-06-09 17:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040404 -3.408427)'), GeomFromEWKT('SRID=4674;POINT (-39.040399 -3.408426)'))) / (select extract(epoch from '2026-06-09 17:41:25'::timestamp) - extract(epoch from '2026-06-09 17:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.0404 -3.408419)', '2026-06-09 17:41:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040399 -3.408426)'), GeomFromEWKT('SRID=4674;POINT (-39.0404 -3.408419)'))) / (select extract(epoch from '2026-06-09 17:41:33'::timestamp) - extract(epoch from '2026-06-09 17:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040399 -3.408426)'), GeomFromEWKT('SRID=4674;POINT (-39.0404 -3.408419)'))) / (select extract(epoch from '2026-06-09 17:41:33'::timestamp) - extract(epoch from '2026-06-09 17:41: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'), 46564, 'SRID=4674;POINT (-39.040421 -3.408417)', '2026-06-09 17:41:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0404 -3.408419)'), GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.408417)'))) / (select extract(epoch from '2026-06-09 17:41:43'::timestamp) - extract(epoch from '2026-06-09 17:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0404 -3.408419)'), GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.408417)'))) / (select extract(epoch from '2026-06-09 17:41:43'::timestamp) - extract(epoch from '2026-06-09 17:41: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'), 46564, 'SRID=4674;POINT (-39.040446 -3.408412)', '2026-06-09 17:41:53', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.408417)'), GeomFromEWKT('SRID=4674;POINT (-39.040446 -3.408412)'))) / (select extract(epoch from '2026-06-09 17:41:53'::timestamp) - extract(epoch from '2026-06-09 17:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.408417)'), GeomFromEWKT('SRID=4674;POINT (-39.040446 -3.408412)'))) / (select extract(epoch from '2026-06-09 17:41:53'::timestamp) - extract(epoch from '2026-06-09 17:41: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'), 46564, 'SRID=4674;POINT (-39.040462 -3.408407)', '2026-06-09 17:42:00', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040446 -3.408412)'), GeomFromEWKT('SRID=4674;POINT (-39.040462 -3.408407)'))) / (select extract(epoch from '2026-06-09 17:42:00'::timestamp) - extract(epoch from '2026-06-09 17:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040446 -3.408412)'), GeomFromEWKT('SRID=4674;POINT (-39.040462 -3.408407)'))) / (select extract(epoch from '2026-06-09 17:42:00'::timestamp) - extract(epoch from '2026-06-09 17:41: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'), 46564, 'SRID=4674;POINT (-39.04047 -3.408411)', '2026-06-09 17:42:02', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040462 -3.408407)'), GeomFromEWKT('SRID=4674;POINT (-39.04047 -3.408411)'))) / (select extract(epoch from '2026-06-09 17:42:02'::timestamp) - extract(epoch from '2026-06-09 17:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040462 -3.408407)'), GeomFromEWKT('SRID=4674;POINT (-39.04047 -3.408411)'))) / (select extract(epoch from '2026-06-09 17:42:02'::timestamp) - extract(epoch from '2026-06-09 17:42: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'), 46564, 'SRID=4674;POINT (-39.040481 -3.408406)', '2026-06-09 17:42:09', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04047 -3.408411)'), GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.408406)'))) / (select extract(epoch from '2026-06-09 17:42:09'::timestamp) - extract(epoch from '2026-06-09 17:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04047 -3.408411)'), GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.408406)'))) / (select extract(epoch from '2026-06-09 17:42:09'::timestamp) - extract(epoch from '2026-06-09 17:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040494 -3.408406)', '2026-06-09 17:42:18', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.408406)'), GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.408406)'))) / (select extract(epoch from '2026-06-09 17:42:18'::timestamp) - extract(epoch from '2026-06-09 17:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.408406)'), GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.408406)'))) / (select extract(epoch from '2026-06-09 17:42:18'::timestamp) - extract(epoch from '2026-06-09 17:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040507 -3.408409)', '2026-06-09 17:42:25', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.408406)'), GeomFromEWKT('SRID=4674;POINT (-39.040507 -3.408409)'))) / (select extract(epoch from '2026-06-09 17:42:25'::timestamp) - extract(epoch from '2026-06-09 17:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.408406)'), GeomFromEWKT('SRID=4674;POINT (-39.040507 -3.408409)'))) / (select extract(epoch from '2026-06-09 17:42:25'::timestamp) - extract(epoch from '2026-06-09 17:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040522 -3.408407)', '2026-06-09 17:42:35', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040507 -3.408409)'), GeomFromEWKT('SRID=4674;POINT (-39.040522 -3.408407)'))) / (select extract(epoch from '2026-06-09 17:42:35'::timestamp) - extract(epoch from '2026-06-09 17:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040507 -3.408409)'), GeomFromEWKT('SRID=4674;POINT (-39.040522 -3.408407)'))) / (select extract(epoch from '2026-06-09 17:42:35'::timestamp) - extract(epoch from '2026-06-09 17:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.040582 -3.40839)', '2026-06-09 17:42:56', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040522 -3.408407)'), GeomFromEWKT('SRID=4674;POINT (-39.040582 -3.40839)'))) / (select extract(epoch from '2026-06-09 17:42:56'::timestamp) - extract(epoch from '2026-06-09 17:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040522 -3.408407)'), GeomFromEWKT('SRID=4674;POINT (-39.040582 -3.40839)'))) / (select extract(epoch from '2026-06-09 17:42:56'::timestamp) - extract(epoch from '2026-06-09 17:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.04062 -3.408393)', '2026-06-09 17:43:15', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040582 -3.40839)'), GeomFromEWKT('SRID=4674;POINT (-39.04062 -3.408393)'))) / (select extract(epoch from '2026-06-09 17:43:15'::timestamp) - extract(epoch from '2026-06-09 17:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040582 -3.40839)'), GeomFromEWKT('SRID=4674;POINT (-39.04062 -3.408393)'))) / (select extract(epoch from '2026-06-09 17:43:15'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.040634 -3.408392)', '2026-06-09 17:43:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04062 -3.408393)'), GeomFromEWKT('SRID=4674;POINT (-39.040634 -3.408392)'))) / (select extract(epoch from '2026-06-09 17:43:23'::timestamp) - extract(epoch from '2026-06-09 17:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04062 -3.408393)'), GeomFromEWKT('SRID=4674;POINT (-39.040634 -3.408392)'))) / (select extract(epoch from '2026-06-09 17:43:23'::timestamp) - extract(epoch from '2026-06-09 17:43: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'), 46564, 'SRID=4674;POINT (-39.040649 -3.408387)', '2026-06-09 17:43:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040634 -3.408392)'), GeomFromEWKT('SRID=4674;POINT (-39.040649 -3.408387)'))) / (select extract(epoch from '2026-06-09 17:43:31'::timestamp) - extract(epoch from '2026-06-09 17:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040634 -3.408392)'), GeomFromEWKT('SRID=4674;POINT (-39.040649 -3.408387)'))) / (select extract(epoch from '2026-06-09 17:43:31'::timestamp) - extract(epoch from '2026-06-09 17:43: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'), 46564, 'SRID=4674;POINT (-39.040667 -3.408389)', '2026-06-09 17:43:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040649 -3.408387)'), GeomFromEWKT('SRID=4674;POINT (-39.040667 -3.408389)'))) / (select extract(epoch from '2026-06-09 17:43:40'::timestamp) - extract(epoch from '2026-06-09 17:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040649 -3.408387)'), GeomFromEWKT('SRID=4674;POINT (-39.040667 -3.408389)'))) / (select extract(epoch from '2026-06-09 17:43:40'::timestamp) - extract(epoch from '2026-06-09 17:43: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'), 46564, 'SRID=4674;POINT (-39.040697 -3.408382)', '2026-06-09 17:43:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040667 -3.408389)'), GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.408382)'))) / (select extract(epoch from '2026-06-09 17:43:53'::timestamp) - extract(epoch from '2026-06-09 17:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040667 -3.408389)'), GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.408382)'))) / (select extract(epoch from '2026-06-09 17:43:53'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.040722 -3.40838)', '2026-06-09 17:44:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.408382)'), GeomFromEWKT('SRID=4674;POINT (-39.040722 -3.40838)'))) / (select extract(epoch from '2026-06-09 17:44:02'::timestamp) - extract(epoch from '2026-06-09 17:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.408382)'), GeomFromEWKT('SRID=4674;POINT (-39.040722 -3.40838)'))) / (select extract(epoch from '2026-06-09 17:44:02'::timestamp) - extract(epoch from '2026-06-09 17:43: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'), 46564, 'SRID=4674;POINT (-39.040746 -3.408381)', '2026-06-09 17:44:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040722 -3.40838)'), GeomFromEWKT('SRID=4674;POINT (-39.040746 -3.408381)'))) / (select extract(epoch from '2026-06-09 17:44:12'::timestamp) - extract(epoch from '2026-06-09 17:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040722 -3.40838)'), GeomFromEWKT('SRID=4674;POINT (-39.040746 -3.408381)'))) / (select extract(epoch from '2026-06-09 17:44:12'::timestamp) - extract(epoch from '2026-06-09 17:44: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'), 46564, 'SRID=4674;POINT (-39.040767 -3.408377)', '2026-06-09 17:44:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040746 -3.408381)'), GeomFromEWKT('SRID=4674;POINT (-39.040767 -3.408377)'))) / (select extract(epoch from '2026-06-09 17:44:19'::timestamp) - extract(epoch from '2026-06-09 17:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040746 -3.408381)'), GeomFromEWKT('SRID=4674;POINT (-39.040767 -3.408377)'))) / (select extract(epoch from '2026-06-09 17:44:19'::timestamp) - extract(epoch from '2026-06-09 17:44: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'), 46564, 'SRID=4674;POINT (-39.040796 -3.408369)', '2026-06-09 17:44:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040767 -3.408377)'), GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.408369)'))) / (select extract(epoch from '2026-06-09 17:44:33'::timestamp) - extract(epoch from '2026-06-09 17:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040767 -3.408377)'), GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.408369)'))) / (select extract(epoch from '2026-06-09 17:44:33'::timestamp) - extract(epoch from '2026-06-09 17:44: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'), 46564, 'SRID=4674;POINT (-39.040833 -3.408368)', '2026-06-09 17:44:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.408369)'), GeomFromEWKT('SRID=4674;POINT (-39.040833 -3.408368)'))) / (select extract(epoch from '2026-06-09 17:44:47'::timestamp) - extract(epoch from '2026-06-09 17:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.408369)'), GeomFromEWKT('SRID=4674;POINT (-39.040833 -3.408368)'))) / (select extract(epoch from '2026-06-09 17:44:47'::timestamp) - extract(epoch from '2026-06-09 17:44: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'), 46564, 'SRID=4674;POINT (-39.040873 -3.408365)', '2026-06-09 17:45:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040833 -3.408368)'), GeomFromEWKT('SRID=4674;POINT (-39.040873 -3.408365)'))) / (select extract(epoch from '2026-06-09 17:45:09'::timestamp) - extract(epoch from '2026-06-09 17:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040833 -3.408368)'), GeomFromEWKT('SRID=4674;POINT (-39.040873 -3.408365)'))) / (select extract(epoch from '2026-06-09 17:45:09'::timestamp) - extract(epoch from '2026-06-09 17:44: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'), 46564, 'SRID=4674;POINT (-39.040919 -3.408367)', '2026-06-09 17:45:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040873 -3.408365)'), GeomFromEWKT('SRID=4674;POINT (-39.040919 -3.408367)'))) / (select extract(epoch from '2026-06-09 17:45:34'::timestamp) - extract(epoch from '2026-06-09 17:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040873 -3.408365)'), GeomFromEWKT('SRID=4674;POINT (-39.040919 -3.408367)'))) / (select extract(epoch from '2026-06-09 17:45:34'::timestamp) - extract(epoch from '2026-06-09 17:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.04094 -3.408374)', '2026-06-09 17:45:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040919 -3.408367)'), GeomFromEWKT('SRID=4674;POINT (-39.04094 -3.408374)'))) / (select extract(epoch from '2026-06-09 17:45:39'::timestamp) - extract(epoch from '2026-06-09 17:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040919 -3.408367)'), GeomFromEWKT('SRID=4674;POINT (-39.04094 -3.408374)'))) / (select extract(epoch from '2026-06-09 17:45:39'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.040959 -3.408373)', '2026-06-09 17:45:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04094 -3.408374)'), GeomFromEWKT('SRID=4674;POINT (-39.040959 -3.408373)'))) / (select extract(epoch from '2026-06-09 17:45:46'::timestamp) - extract(epoch from '2026-06-09 17:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04094 -3.408374)'), GeomFromEWKT('SRID=4674;POINT (-39.040959 -3.408373)'))) / (select extract(epoch from '2026-06-09 17:45:46'::timestamp) - extract(epoch from '2026-06-09 17:45: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'), 46564, 'SRID=4674;POINT (-39.040978 -3.408375)', '2026-06-09 17:45:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040959 -3.408373)'), GeomFromEWKT('SRID=4674;POINT (-39.040978 -3.408375)'))) / (select extract(epoch from '2026-06-09 17:45:52'::timestamp) - extract(epoch from '2026-06-09 17:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040959 -3.408373)'), GeomFromEWKT('SRID=4674;POINT (-39.040978 -3.408375)'))) / (select extract(epoch from '2026-06-09 17:45:52'::timestamp) - extract(epoch from '2026-06-09 17:45: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'), 46564, 'SRID=4674;POINT (-39.040991 -3.408388)', '2026-06-09 17:45:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040978 -3.408375)'), GeomFromEWKT('SRID=4674;POINT (-39.040991 -3.408388)'))) / (select extract(epoch from '2026-06-09 17:45:57'::timestamp) - extract(epoch from '2026-06-09 17:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040978 -3.408375)'), GeomFromEWKT('SRID=4674;POINT (-39.040991 -3.408388)'))) / (select extract(epoch from '2026-06-09 17:45:57'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.041013 -3.408391)', '2026-06-09 17:46:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040991 -3.408388)'), GeomFromEWKT('SRID=4674;POINT (-39.041013 -3.408391)'))) / (select extract(epoch from '2026-06-09 17:46:06'::timestamp) - extract(epoch from '2026-06-09 17:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040991 -3.408388)'), GeomFromEWKT('SRID=4674;POINT (-39.041013 -3.408391)'))) / (select extract(epoch from '2026-06-09 17:46:06'::timestamp) - extract(epoch from '2026-06-09 17:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041046 -3.408382)', '2026-06-09 17:46:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041013 -3.408391)'), GeomFromEWKT('SRID=4674;POINT (-39.041046 -3.408382)'))) / (select extract(epoch from '2026-06-09 17:46:16'::timestamp) - extract(epoch from '2026-06-09 17:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041013 -3.408391)'), GeomFromEWKT('SRID=4674;POINT (-39.041046 -3.408382)'))) / (select extract(epoch from '2026-06-09 17:46:16'::timestamp) - extract(epoch from '2026-06-09 17:46: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'), 46564, 'SRID=4674;POINT (-39.041089 -3.408381)', '2026-06-09 17:46:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041046 -3.408382)'), GeomFromEWKT('SRID=4674;POINT (-39.041089 -3.408381)'))) / (select extract(epoch from '2026-06-09 17:46:30'::timestamp) - extract(epoch from '2026-06-09 17:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041046 -3.408382)'), GeomFromEWKT('SRID=4674;POINT (-39.041089 -3.408381)'))) / (select extract(epoch from '2026-06-09 17:46:30'::timestamp) - extract(epoch from '2026-06-09 17:46: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'), 46564, 'SRID=4674;POINT (-39.041104 -3.408372)', '2026-06-09 17:46:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041089 -3.408381)'), GeomFromEWKT('SRID=4674;POINT (-39.041104 -3.408372)'))) / (select extract(epoch from '2026-06-09 17:46:39'::timestamp) - extract(epoch from '2026-06-09 17:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041089 -3.408381)'), GeomFromEWKT('SRID=4674;POINT (-39.041104 -3.408372)'))) / (select extract(epoch from '2026-06-09 17:46:39'::timestamp) - extract(epoch from '2026-06-09 17:46: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'), 46564, 'SRID=4674;POINT (-39.041112 -3.40837)', '2026-06-09 17:46:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041104 -3.408372)'), GeomFromEWKT('SRID=4674;POINT (-39.041112 -3.40837)'))) / (select extract(epoch from '2026-06-09 17:46:47'::timestamp) - extract(epoch from '2026-06-09 17:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041104 -3.408372)'), GeomFromEWKT('SRID=4674;POINT (-39.041112 -3.40837)'))) / (select extract(epoch from '2026-06-09 17:46:47'::timestamp) - extract(epoch from '2026-06-09 17:46: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'), 46564, 'SRID=4674;POINT (-39.041131 -3.408363)', '2026-06-09 17:47:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041112 -3.40837)'), GeomFromEWKT('SRID=4674;POINT (-39.041131 -3.408363)'))) / (select extract(epoch from '2026-06-09 17:47:01'::timestamp) - extract(epoch from '2026-06-09 17:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041112 -3.40837)'), GeomFromEWKT('SRID=4674;POINT (-39.041131 -3.408363)'))) / (select extract(epoch from '2026-06-09 17:47:01'::timestamp) - extract(epoch from '2026-06-09 17:46: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'), 46564, 'SRID=4674;POINT (-39.041136 -3.40835)', '2026-06-09 17:47:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041131 -3.408363)'), GeomFromEWKT('SRID=4674;POINT (-39.041136 -3.40835)'))) / (select extract(epoch from '2026-06-09 17:47:11'::timestamp) - extract(epoch from '2026-06-09 17:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041131 -3.408363)'), GeomFromEWKT('SRID=4674;POINT (-39.041136 -3.40835)'))) / (select extract(epoch from '2026-06-09 17:47:11'::timestamp) - extract(epoch from '2026-06-09 17:47: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'), 46564, 'SRID=4674;POINT (-39.041153 -3.408339)', '2026-06-09 17:47:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041136 -3.40835)'), GeomFromEWKT('SRID=4674;POINT (-39.041153 -3.408339)'))) / (select extract(epoch from '2026-06-09 17:47:23'::timestamp) - extract(epoch from '2026-06-09 17:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041136 -3.40835)'), GeomFromEWKT('SRID=4674;POINT (-39.041153 -3.408339)'))) / (select extract(epoch from '2026-06-09 17:47:23'::timestamp) - extract(epoch from '2026-06-09 17:47: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'), 46564, 'SRID=4674;POINT (-39.041158 -3.408344)', '2026-06-09 17:47:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041153 -3.408339)'), GeomFromEWKT('SRID=4674;POINT (-39.041158 -3.408344)'))) / (select extract(epoch from '2026-06-09 17:47:30'::timestamp) - extract(epoch from '2026-06-09 17:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041153 -3.408339)'), GeomFromEWKT('SRID=4674;POINT (-39.041158 -3.408344)'))) / (select extract(epoch from '2026-06-09 17:47:30'::timestamp) - extract(epoch from '2026-06-09 17:47: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'), 46564, 'SRID=4674;POINT (-39.041178 -3.408346)', '2026-06-09 17:47:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041158 -3.408344)'), GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.408346)'))) / (select extract(epoch from '2026-06-09 17:47:36'::timestamp) - extract(epoch from '2026-06-09 17:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041158 -3.408344)'), GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.408346)'))) / (select extract(epoch from '2026-06-09 17:47:36'::timestamp) - extract(epoch from '2026-06-09 17:47: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'), 46564, 'SRID=4674;POINT (-39.0412 -3.408338)', '2026-06-09 17:47:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.408346)'), GeomFromEWKT('SRID=4674;POINT (-39.0412 -3.408338)'))) / (select extract(epoch from '2026-06-09 17:47:45'::timestamp) - extract(epoch from '2026-06-09 17:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.408346)'), GeomFromEWKT('SRID=4674;POINT (-39.0412 -3.408338)'))) / (select extract(epoch from '2026-06-09 17:47:45'::timestamp) - extract(epoch from '2026-06-09 17:47: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'), 46564, 'SRID=4674;POINT (-39.041243 -3.408345)', '2026-06-09 17:48:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0412 -3.408338)'), GeomFromEWKT('SRID=4674;POINT (-39.041243 -3.408345)'))) / (select extract(epoch from '2026-06-09 17:48:07'::timestamp) - extract(epoch from '2026-06-09 17:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0412 -3.408338)'), GeomFromEWKT('SRID=4674;POINT (-39.041243 -3.408345)'))) / (select extract(epoch from '2026-06-09 17:48:07'::timestamp) - extract(epoch from '2026-06-09 17:47: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'), 46564, 'SRID=4674;POINT (-39.041262 -3.408336)', '2026-06-09 17:48:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041243 -3.408345)'), GeomFromEWKT('SRID=4674;POINT (-39.041262 -3.408336)'))) / (select extract(epoch from '2026-06-09 17:48:20'::timestamp) - extract(epoch from '2026-06-09 17:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041243 -3.408345)'), GeomFromEWKT('SRID=4674;POINT (-39.041262 -3.408336)'))) / (select extract(epoch from '2026-06-09 17:48:20'::timestamp) - extract(epoch from '2026-06-09 17:48: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'), 46564, 'SRID=4674;POINT (-39.041278 -3.408335)', '2026-06-09 17:48:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041262 -3.408336)'), GeomFromEWKT('SRID=4674;POINT (-39.041278 -3.408335)'))) / (select extract(epoch from '2026-06-09 17:48:28'::timestamp) - extract(epoch from '2026-06-09 17:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041262 -3.408336)'), GeomFromEWKT('SRID=4674;POINT (-39.041278 -3.408335)'))) / (select extract(epoch from '2026-06-09 17:48:28'::timestamp) - extract(epoch from '2026-06-09 17:48:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041321 -3.408337)', '2026-06-09 17:48:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041278 -3.408335)'), GeomFromEWKT('SRID=4674;POINT (-39.041321 -3.408337)'))) / (select extract(epoch from '2026-06-09 17:48:49'::timestamp) - extract(epoch from '2026-06-09 17:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041278 -3.408335)'), GeomFromEWKT('SRID=4674;POINT (-39.041321 -3.408337)'))) / (select extract(epoch from '2026-06-09 17:48:49'::timestamp) - extract(epoch from '2026-06-09 17:48: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'), 46564, 'SRID=4674;POINT (-39.041349 -3.408343)', '2026-06-09 17:49:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041321 -3.408337)'), GeomFromEWKT('SRID=4674;POINT (-39.041349 -3.408343)'))) / (select extract(epoch from '2026-06-09 17:49:01'::timestamp) - extract(epoch from '2026-06-09 17:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041321 -3.408337)'), GeomFromEWKT('SRID=4674;POINT (-39.041349 -3.408343)'))) / (select extract(epoch from '2026-06-09 17:49:01'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46564, 'SRID=4674;POINT (-39.041349 -3.408343)', '2026-06-09 17:49:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041349 -3.408343)'), GeomFromEWKT('SRID=4674;POINT (-39.041349 -3.408343)'))) / (select extract(epoch from '2026-06-09 17:49:02'::timestamp) - extract(epoch from '2026-06-09 17:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041349 -3.408343)'), GeomFromEWKT('SRID=4674;POINT (-39.041349 -3.408343)'))) / (select extract(epoch from '2026-06-09 17:49:02'::timestamp) - extract(epoch from '2026-06-09 17:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041359 -3.408346)', '2026-06-09 17:49:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041349 -3.408343)'), GeomFromEWKT('SRID=4674;POINT (-39.041359 -3.408346)'))) / (select extract(epoch from '2026-06-09 17:49:05'::timestamp) - extract(epoch from '2026-06-09 17:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041349 -3.408343)'), GeomFromEWKT('SRID=4674;POINT (-39.041359 -3.408346)'))) / (select extract(epoch from '2026-06-09 17:49:05'::timestamp) - extract(epoch from '2026-06-09 17:49: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'), 46564, 'SRID=4674;POINT (-39.041369 -3.408343)', '2026-06-09 17:49:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041359 -3.408346)'), GeomFromEWKT('SRID=4674;POINT (-39.041369 -3.408343)'))) / (select extract(epoch from '2026-06-09 17:49:14'::timestamp) - extract(epoch from '2026-06-09 17:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041359 -3.408346)'), GeomFromEWKT('SRID=4674;POINT (-39.041369 -3.408343)'))) / (select extract(epoch from '2026-06-09 17:49:14'::timestamp) - extract(epoch from '2026-06-09 17:49: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'), 46564, 'SRID=4674;POINT (-39.04139 -3.408348)', '2026-06-09 17:49:24', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041369 -3.408343)'), GeomFromEWKT('SRID=4674;POINT (-39.04139 -3.408348)'))) / (select extract(epoch from '2026-06-09 17:49:24'::timestamp) - extract(epoch from '2026-06-09 17:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041369 -3.408343)'), GeomFromEWKT('SRID=4674;POINT (-39.04139 -3.408348)'))) / (select extract(epoch from '2026-06-09 17:49:24'::timestamp) - extract(epoch from '2026-06-09 17:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041412 -3.408343)', '2026-06-09 17:49:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04139 -3.408348)'), GeomFromEWKT('SRID=4674;POINT (-39.041412 -3.408343)'))) / (select extract(epoch from '2026-06-09 17:49:34'::timestamp) - extract(epoch from '2026-06-09 17:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04139 -3.408348)'), GeomFromEWKT('SRID=4674;POINT (-39.041412 -3.408343)'))) / (select extract(epoch from '2026-06-09 17:49:34'::timestamp) - extract(epoch from '2026-06-09 17:49: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'), 46564, 'SRID=4674;POINT (-39.041424 -3.40834)', '2026-06-09 17:49:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041412 -3.408343)'), GeomFromEWKT('SRID=4674;POINT (-39.041424 -3.40834)'))) / (select extract(epoch from '2026-06-09 17:49:41'::timestamp) - extract(epoch from '2026-06-09 17:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041412 -3.408343)'), GeomFromEWKT('SRID=4674;POINT (-39.041424 -3.40834)'))) / (select extract(epoch from '2026-06-09 17:49:41'::timestamp) - extract(epoch from '2026-06-09 17:49: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'), 46564, 'SRID=4674;POINT (-39.041428 -3.408335)', '2026-06-09 17:49:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041424 -3.40834)'), GeomFromEWKT('SRID=4674;POINT (-39.041428 -3.408335)'))) / (select extract(epoch from '2026-06-09 17:49:50'::timestamp) - extract(epoch from '2026-06-09 17:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041424 -3.40834)'), GeomFromEWKT('SRID=4674;POINT (-39.041428 -3.408335)'))) / (select extract(epoch from '2026-06-09 17:49:50'::timestamp) - extract(epoch from '2026-06-09 17:49: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'), 46564, 'SRID=4674;POINT (-39.041431 -3.408337)', '2026-06-09 17:49:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041428 -3.408335)'), GeomFromEWKT('SRID=4674;POINT (-39.041431 -3.408337)'))) / (select extract(epoch from '2026-06-09 17:49:59'::timestamp) - extract(epoch from '2026-06-09 17:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041428 -3.408335)'), GeomFromEWKT('SRID=4674;POINT (-39.041431 -3.408337)'))) / (select extract(epoch from '2026-06-09 17:49:59'::timestamp) - extract(epoch from '2026-06-09 17:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041439 -3.408336)', '2026-06-09 17:50:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041431 -3.408337)'), GeomFromEWKT('SRID=4674;POINT (-39.041439 -3.408336)'))) / (select extract(epoch from '2026-06-09 17:50:06'::timestamp) - extract(epoch from '2026-06-09 17:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041431 -3.408337)'), GeomFromEWKT('SRID=4674;POINT (-39.041439 -3.408336)'))) / (select extract(epoch from '2026-06-09 17:50:06'::timestamp) - extract(epoch from '2026-06-09 17:49: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'), 46564, 'SRID=4674;POINT (-39.041456 -3.408334)', '2026-06-09 17:50:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041439 -3.408336)'), GeomFromEWKT('SRID=4674;POINT (-39.041456 -3.408334)'))) / (select extract(epoch from '2026-06-09 17:50:15'::timestamp) - extract(epoch from '2026-06-09 17:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041439 -3.408336)'), GeomFromEWKT('SRID=4674;POINT (-39.041456 -3.408334)'))) / (select extract(epoch from '2026-06-09 17:50:15'::timestamp) - extract(epoch from '2026-06-09 17:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041466 -3.408329)', '2026-06-09 17:50:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041456 -3.408334)'), GeomFromEWKT('SRID=4674;POINT (-39.041466 -3.408329)'))) / (select extract(epoch from '2026-06-09 17:50:22'::timestamp) - extract(epoch from '2026-06-09 17:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041456 -3.408334)'), GeomFromEWKT('SRID=4674;POINT (-39.041466 -3.408329)'))) / (select extract(epoch from '2026-06-09 17:50:22'::timestamp) - extract(epoch from '2026-06-09 17:50: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'), 46564, 'SRID=4674;POINT (-39.041474 -3.408329)', '2026-06-09 17:50:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041466 -3.408329)'), GeomFromEWKT('SRID=4674;POINT (-39.041474 -3.408329)'))) / (select extract(epoch from '2026-06-09 17:50:28'::timestamp) - extract(epoch from '2026-06-09 17:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041466 -3.408329)'), GeomFromEWKT('SRID=4674;POINT (-39.041474 -3.408329)'))) / (select extract(epoch from '2026-06-09 17:50:28'::timestamp) - extract(epoch from '2026-06-09 17:50: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'), 46564, 'SRID=4674;POINT (-39.041502 -3.408318)', '2026-06-09 17:50:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041474 -3.408329)'), GeomFromEWKT('SRID=4674;POINT (-39.041502 -3.408318)'))) / (select extract(epoch from '2026-06-09 17:50:42'::timestamp) - extract(epoch from '2026-06-09 17:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041474 -3.408329)'), GeomFromEWKT('SRID=4674;POINT (-39.041502 -3.408318)'))) / (select extract(epoch from '2026-06-09 17:50:42'::timestamp) - extract(epoch from '2026-06-09 17:50: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'), 46564, 'SRID=4674;POINT (-39.041521 -3.408316)', '2026-06-09 17:50:51', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041502 -3.408318)'), GeomFromEWKT('SRID=4674;POINT (-39.041521 -3.408316)'))) / (select extract(epoch from '2026-06-09 17:50:51'::timestamp) - extract(epoch from '2026-06-09 17:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041502 -3.408318)'), GeomFromEWKT('SRID=4674;POINT (-39.041521 -3.408316)'))) / (select extract(epoch from '2026-06-09 17:50:51'::timestamp) - extract(epoch from '2026-06-09 17:50: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'), 46564, 'SRID=4674;POINT (-39.041535 -3.408312)', '2026-06-09 17:50:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041521 -3.408316)'), GeomFromEWKT('SRID=4674;POINT (-39.041535 -3.408312)'))) / (select extract(epoch from '2026-06-09 17:50:59'::timestamp) - extract(epoch from '2026-06-09 17:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041521 -3.408316)'), GeomFromEWKT('SRID=4674;POINT (-39.041535 -3.408312)'))) / (select extract(epoch from '2026-06-09 17:50:59'::timestamp) - extract(epoch from '2026-06-09 17:50:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041543 -3.408316)', '2026-06-09 17:51:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041535 -3.408312)'), GeomFromEWKT('SRID=4674;POINT (-39.041543 -3.408316)'))) / (select extract(epoch from '2026-06-09 17:51:06'::timestamp) - extract(epoch from '2026-06-09 17:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041535 -3.408312)'), GeomFromEWKT('SRID=4674;POINT (-39.041543 -3.408316)'))) / (select extract(epoch from '2026-06-09 17:51:06'::timestamp) - extract(epoch from '2026-06-09 17:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041557 -3.408318)', '2026-06-09 17:51:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041543 -3.408316)'), GeomFromEWKT('SRID=4674;POINT (-39.041557 -3.408318)'))) / (select extract(epoch from '2026-06-09 17:51:20'::timestamp) - extract(epoch from '2026-06-09 17:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041543 -3.408316)'), GeomFromEWKT('SRID=4674;POINT (-39.041557 -3.408318)'))) / (select extract(epoch from '2026-06-09 17:51:20'::timestamp) - extract(epoch from '2026-06-09 17:51: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'), 46564, 'SRID=4674;POINT (-39.041574 -3.408308)', '2026-06-09 17:51:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041557 -3.408318)'), GeomFromEWKT('SRID=4674;POINT (-39.041574 -3.408308)'))) / (select extract(epoch from '2026-06-09 17:51:29'::timestamp) - extract(epoch from '2026-06-09 17:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041557 -3.408318)'), GeomFromEWKT('SRID=4674;POINT (-39.041574 -3.408308)'))) / (select extract(epoch from '2026-06-09 17:51:29'::timestamp) - extract(epoch from '2026-06-09 17:51: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'), 46564, 'SRID=4674;POINT (-39.041585 -3.408305)', '2026-06-09 17:51:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041574 -3.408308)'), GeomFromEWKT('SRID=4674;POINT (-39.041585 -3.408305)'))) / (select extract(epoch from '2026-06-09 17:51:39'::timestamp) - extract(epoch from '2026-06-09 17:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041574 -3.408308)'), GeomFromEWKT('SRID=4674;POINT (-39.041585 -3.408305)'))) / (select extract(epoch from '2026-06-09 17:51:39'::timestamp) - extract(epoch from '2026-06-09 17:51: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'), 46564, 'SRID=4674;POINT (-39.041598 -3.408303)', '2026-06-09 17:51:49', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041585 -3.408305)'), GeomFromEWKT('SRID=4674;POINT (-39.041598 -3.408303)'))) / (select extract(epoch from '2026-06-09 17:51:49'::timestamp) - extract(epoch from '2026-06-09 17:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041585 -3.408305)'), GeomFromEWKT('SRID=4674;POINT (-39.041598 -3.408303)'))) / (select extract(epoch from '2026-06-09 17:51:49'::timestamp) - extract(epoch from '2026-06-09 17:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041612 -3.4083)', '2026-06-09 17:51:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041598 -3.408303)'), GeomFromEWKT('SRID=4674;POINT (-39.041612 -3.4083)'))) / (select extract(epoch from '2026-06-09 17:51:55'::timestamp) - extract(epoch from '2026-06-09 17:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041598 -3.408303)'), GeomFromEWKT('SRID=4674;POINT (-39.041612 -3.4083)'))) / (select extract(epoch from '2026-06-09 17:51:55'::timestamp) - extract(epoch from '2026-06-09 17:51: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'), 46564, 'SRID=4674;POINT (-39.041633 -3.408297)', '2026-06-09 17:52:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041612 -3.4083)'), GeomFromEWKT('SRID=4674;POINT (-39.041633 -3.408297)'))) / (select extract(epoch from '2026-06-09 17:52:04'::timestamp) - extract(epoch from '2026-06-09 17:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041612 -3.4083)'), GeomFromEWKT('SRID=4674;POINT (-39.041633 -3.408297)'))) / (select extract(epoch from '2026-06-09 17:52:04'::timestamp) - extract(epoch from '2026-06-09 17:51: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'), 46564, 'SRID=4674;POINT (-39.041644 -3.408294)', '2026-06-09 17:52:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041633 -3.408297)'), GeomFromEWKT('SRID=4674;POINT (-39.041644 -3.408294)'))) / (select extract(epoch from '2026-06-09 17:52:11'::timestamp) - extract(epoch from '2026-06-09 17:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041633 -3.408297)'), GeomFromEWKT('SRID=4674;POINT (-39.041644 -3.408294)'))) / (select extract(epoch from '2026-06-09 17:52:11'::timestamp) - extract(epoch from '2026-06-09 17:52: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'), 46564, 'SRID=4674;POINT (-39.041661 -3.408295)', '2026-06-09 17:52:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041644 -3.408294)'), GeomFromEWKT('SRID=4674;POINT (-39.041661 -3.408295)'))) / (select extract(epoch from '2026-06-09 17:52:20'::timestamp) - extract(epoch from '2026-06-09 17:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041644 -3.408294)'), GeomFromEWKT('SRID=4674;POINT (-39.041661 -3.408295)'))) / (select extract(epoch from '2026-06-09 17:52:20'::timestamp) - extract(epoch from '2026-06-09 17:52: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'), 46564, 'SRID=4674;POINT (-39.041675 -3.408291)', '2026-06-09 17:52:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041661 -3.408295)'), GeomFromEWKT('SRID=4674;POINT (-39.041675 -3.408291)'))) / (select extract(epoch from '2026-06-09 17:52:29'::timestamp) - extract(epoch from '2026-06-09 17:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041661 -3.408295)'), GeomFromEWKT('SRID=4674;POINT (-39.041675 -3.408291)'))) / (select extract(epoch from '2026-06-09 17:52:29'::timestamp) - extract(epoch from '2026-06-09 17:52: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'), 46564, 'SRID=4674;POINT (-39.041684 -3.408285)', '2026-06-09 17:52:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041675 -3.408291)'), GeomFromEWKT('SRID=4674;POINT (-39.041684 -3.408285)'))) / (select extract(epoch from '2026-06-09 17:52:35'::timestamp) - extract(epoch from '2026-06-09 17:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041675 -3.408291)'), GeomFromEWKT('SRID=4674;POINT (-39.041684 -3.408285)'))) / (select extract(epoch from '2026-06-09 17:52:35'::timestamp) - extract(epoch from '2026-06-09 17:52: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'), 46564, 'SRID=4674;POINT (-39.041697 -3.408284)', '2026-06-09 17:52:42', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041684 -3.408285)'), GeomFromEWKT('SRID=4674;POINT (-39.041697 -3.408284)'))) / (select extract(epoch from '2026-06-09 17:52:42'::timestamp) - extract(epoch from '2026-06-09 17:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041684 -3.408285)'), GeomFromEWKT('SRID=4674;POINT (-39.041697 -3.408284)'))) / (select extract(epoch from '2026-06-09 17:52:42'::timestamp) - extract(epoch from '2026-06-09 17:52: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'), 46564, 'SRID=4674;POINT (-39.041712 -3.408283)', '2026-06-09 17:52:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041697 -3.408284)'), GeomFromEWKT('SRID=4674;POINT (-39.041712 -3.408283)'))) / (select extract(epoch from '2026-06-09 17:52:51'::timestamp) - extract(epoch from '2026-06-09 17:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041697 -3.408284)'), GeomFromEWKT('SRID=4674;POINT (-39.041712 -3.408283)'))) / (select extract(epoch from '2026-06-09 17:52:51'::timestamp) - extract(epoch from '2026-06-09 17:52: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'), 46564, 'SRID=4674;POINT (-39.041723 -3.408279)', '2026-06-09 17:52:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041712 -3.408283)'), GeomFromEWKT('SRID=4674;POINT (-39.041723 -3.408279)'))) / (select extract(epoch from '2026-06-09 17:52:58'::timestamp) - extract(epoch from '2026-06-09 17:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041712 -3.408283)'), GeomFromEWKT('SRID=4674;POINT (-39.041723 -3.408279)'))) / (select extract(epoch from '2026-06-09 17:52:58'::timestamp) - extract(epoch from '2026-06-09 17:52: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'), 46564, 'SRID=4674;POINT (-39.041754 -3.408272)', '2026-06-09 17:53:08', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041723 -3.408279)'), GeomFromEWKT('SRID=4674;POINT (-39.041754 -3.408272)'))) / (select extract(epoch from '2026-06-09 17:53:08'::timestamp) - extract(epoch from '2026-06-09 17:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041723 -3.408279)'), GeomFromEWKT('SRID=4674;POINT (-39.041754 -3.408272)'))) / (select extract(epoch from '2026-06-09 17:53:08'::timestamp) - extract(epoch from '2026-06-09 17:52: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'), 46564, 'SRID=4674;POINT (-39.041774 -3.40826)', '2026-06-09 17:53:18', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041754 -3.408272)'), GeomFromEWKT('SRID=4674;POINT (-39.041774 -3.40826)'))) / (select extract(epoch from '2026-06-09 17:53:18'::timestamp) - extract(epoch from '2026-06-09 17:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041754 -3.408272)'), GeomFromEWKT('SRID=4674;POINT (-39.041774 -3.40826)'))) / (select extract(epoch from '2026-06-09 17:53:18'::timestamp) - extract(epoch from '2026-06-09 17:53:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041784 -3.408263)', '2026-06-09 17:53:24', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041774 -3.40826)'), GeomFromEWKT('SRID=4674;POINT (-39.041784 -3.408263)'))) / (select extract(epoch from '2026-06-09 17:53:24'::timestamp) - extract(epoch from '2026-06-09 17:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041774 -3.40826)'), GeomFromEWKT('SRID=4674;POINT (-39.041784 -3.408263)'))) / (select extract(epoch from '2026-06-09 17:53:24'::timestamp) - extract(epoch from '2026-06-09 17:53: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'), 46564, 'SRID=4674;POINT (-39.041792 -3.408264)', '2026-06-09 17:53:35', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041784 -3.408263)'), GeomFromEWKT('SRID=4674;POINT (-39.041792 -3.408264)'))) / (select extract(epoch from '2026-06-09 17:53:35'::timestamp) - extract(epoch from '2026-06-09 17:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041784 -3.408263)'), GeomFromEWKT('SRID=4674;POINT (-39.041792 -3.408264)'))) / (select extract(epoch from '2026-06-09 17:53:35'::timestamp) - extract(epoch from '2026-06-09 17:53: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'), 46564, 'SRID=4674;POINT (-39.041805 -3.408265)', '2026-06-09 17:53:43', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041792 -3.408264)'), GeomFromEWKT('SRID=4674;POINT (-39.041805 -3.408265)'))) / (select extract(epoch from '2026-06-09 17:53:43'::timestamp) - extract(epoch from '2026-06-09 17:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041792 -3.408264)'), GeomFromEWKT('SRID=4674;POINT (-39.041805 -3.408265)'))) / (select extract(epoch from '2026-06-09 17:53:43'::timestamp) - extract(epoch from '2026-06-09 17:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041823 -3.408263)', '2026-06-09 17:53:51', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041805 -3.408265)'), GeomFromEWKT('SRID=4674;POINT (-39.041823 -3.408263)'))) / (select extract(epoch from '2026-06-09 17:53:51'::timestamp) - extract(epoch from '2026-06-09 17:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041805 -3.408265)'), GeomFromEWKT('SRID=4674;POINT (-39.041823 -3.408263)'))) / (select extract(epoch from '2026-06-09 17:53:51'::timestamp) - extract(epoch from '2026-06-09 17:53: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'), 46564, 'SRID=4674;POINT (-39.041849 -3.408255)', '2026-06-09 17:54:04', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041823 -3.408263)'), GeomFromEWKT('SRID=4674;POINT (-39.041849 -3.408255)'))) / (select extract(epoch from '2026-06-09 17:54:04'::timestamp) - extract(epoch from '2026-06-09 17:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041823 -3.408263)'), GeomFromEWKT('SRID=4674;POINT (-39.041849 -3.408255)'))) / (select extract(epoch from '2026-06-09 17:54:04'::timestamp) - extract(epoch from '2026-06-09 17:53: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'), 46564, 'SRID=4674;POINT (-39.041871 -3.408253)', '2026-06-09 17:54:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041849 -3.408255)'), GeomFromEWKT('SRID=4674;POINT (-39.041871 -3.408253)'))) / (select extract(epoch from '2026-06-09 17:54:14'::timestamp) - extract(epoch from '2026-06-09 17:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041849 -3.408255)'), GeomFromEWKT('SRID=4674;POINT (-39.041871 -3.408253)'))) / (select extract(epoch from '2026-06-09 17:54:14'::timestamp) - extract(epoch from '2026-06-09 17:54: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'), 46564, 'SRID=4674;POINT (-39.041889 -3.408252)', '2026-06-09 17:54:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041871 -3.408253)'), GeomFromEWKT('SRID=4674;POINT (-39.041889 -3.408252)'))) / (select extract(epoch from '2026-06-09 17:54:22'::timestamp) - extract(epoch from '2026-06-09 17:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041871 -3.408253)'), GeomFromEWKT('SRID=4674;POINT (-39.041889 -3.408252)'))) / (select extract(epoch from '2026-06-09 17:54:22'::timestamp) - extract(epoch from '2026-06-09 17:54: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'), 46564, 'SRID=4674;POINT (-39.041906 -3.408251)', '2026-06-09 17:54:30', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041889 -3.408252)'), GeomFromEWKT('SRID=4674;POINT (-39.041906 -3.408251)'))) / (select extract(epoch from '2026-06-09 17:54:30'::timestamp) - extract(epoch from '2026-06-09 17:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041889 -3.408252)'), GeomFromEWKT('SRID=4674;POINT (-39.041906 -3.408251)'))) / (select extract(epoch from '2026-06-09 17:54:30'::timestamp) - extract(epoch from '2026-06-09 17:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041916 -3.408247)', '2026-06-09 17:54:38', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041906 -3.408251)'), GeomFromEWKT('SRID=4674;POINT (-39.041916 -3.408247)'))) / (select extract(epoch from '2026-06-09 17:54:38'::timestamp) - extract(epoch from '2026-06-09 17:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041906 -3.408251)'), GeomFromEWKT('SRID=4674;POINT (-39.041916 -3.408247)'))) / (select extract(epoch from '2026-06-09 17:54:38'::timestamp) - extract(epoch from '2026-06-09 17:54: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'), 46564, 'SRID=4674;POINT (-39.041928 -3.408239)', '2026-06-09 17:54:46', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041916 -3.408247)'), GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.408239)'))) / (select extract(epoch from '2026-06-09 17:54:46'::timestamp) - extract(epoch from '2026-06-09 17:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041916 -3.408247)'), GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.408239)'))) / (select extract(epoch from '2026-06-09 17:54:46'::timestamp) - extract(epoch from '2026-06-09 17:54: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'), 46564, 'SRID=4674;POINT (-39.041954 -3.408231)', '2026-06-09 17:54:59', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.408239)'), GeomFromEWKT('SRID=4674;POINT (-39.041954 -3.408231)'))) / (select extract(epoch from '2026-06-09 17:54:59'::timestamp) - extract(epoch from '2026-06-09 17:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.408239)'), GeomFromEWKT('SRID=4674;POINT (-39.041954 -3.408231)'))) / (select extract(epoch from '2026-06-09 17:54:59'::timestamp) - extract(epoch from '2026-06-09 17:54: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'), 46564, 'SRID=4674;POINT (-39.041975 -3.408226)', '2026-06-09 17:55:10', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041954 -3.408231)'), GeomFromEWKT('SRID=4674;POINT (-39.041975 -3.408226)'))) / (select extract(epoch from '2026-06-09 17:55:10'::timestamp) - extract(epoch from '2026-06-09 17:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041954 -3.408231)'), GeomFromEWKT('SRID=4674;POINT (-39.041975 -3.408226)'))) / (select extract(epoch from '2026-06-09 17:55:10'::timestamp) - extract(epoch from '2026-06-09 17:54: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'), 46564, 'SRID=4674;POINT (-39.041999 -3.408229)', '2026-06-09 17:55:23', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041975 -3.408226)'), GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.408229)'))) / (select extract(epoch from '2026-06-09 17:55:23'::timestamp) - extract(epoch from '2026-06-09 17:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041975 -3.408226)'), GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.408229)'))) / (select extract(epoch from '2026-06-09 17:55:23'::timestamp) - extract(epoch from '2026-06-09 17:55: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'), 46564, 'SRID=4674;POINT (-39.042011 -3.408231)', '2026-06-09 17:55:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.408229)'), GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.408231)'))) / (select extract(epoch from '2026-06-09 17:55:30'::timestamp) - extract(epoch from '2026-06-09 17:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.408229)'), GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.408231)'))) / (select extract(epoch from '2026-06-09 17:55:30'::timestamp) - extract(epoch from '2026-06-09 17:55: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'), 46564, 'SRID=4674;POINT (-39.042017 -3.408224)', '2026-06-09 17:55:35', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.408231)'), GeomFromEWKT('SRID=4674;POINT (-39.042017 -3.408224)'))) / (select extract(epoch from '2026-06-09 17:55:35'::timestamp) - extract(epoch from '2026-06-09 17:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.408231)'), GeomFromEWKT('SRID=4674;POINT (-39.042017 -3.408224)'))) / (select extract(epoch from '2026-06-09 17:55:35'::timestamp) - extract(epoch from '2026-06-09 17:55:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042035 -3.408227)', '2026-06-09 17:55:43', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042017 -3.408224)'), GeomFromEWKT('SRID=4674;POINT (-39.042035 -3.408227)'))) / (select extract(epoch from '2026-06-09 17:55:43'::timestamp) - extract(epoch from '2026-06-09 17:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042017 -3.408224)'), GeomFromEWKT('SRID=4674;POINT (-39.042035 -3.408227)'))) / (select extract(epoch from '2026-06-09 17:55:43'::timestamp) - extract(epoch from '2026-06-09 17:55: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'), 46564, 'SRID=4674;POINT (-39.042053 -3.408224)', '2026-06-09 17:55:55', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042035 -3.408227)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.408224)'))) / (select extract(epoch from '2026-06-09 17:55:55'::timestamp) - extract(epoch from '2026-06-09 17:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042035 -3.408227)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.408224)'))) / (select extract(epoch from '2026-06-09 17:55:55'::timestamp) - extract(epoch from '2026-06-09 17:55: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'), 46564, 'SRID=4674;POINT (-39.04207 -3.408226)', '2026-06-09 17:56:03', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.408224)'), GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.408226)'))) / (select extract(epoch from '2026-06-09 17:56:03'::timestamp) - extract(epoch from '2026-06-09 17:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.408224)'), GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.408226)'))) / (select extract(epoch from '2026-06-09 17:56:03'::timestamp) - extract(epoch from '2026-06-09 17:55: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'), 46564, 'SRID=4674;POINT (-39.042084 -3.408225)', '2026-06-09 17:56:13', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.408226)'), GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.408225)'))) / (select extract(epoch from '2026-06-09 17:56:13'::timestamp) - extract(epoch from '2026-06-09 17:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.408226)'), GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.408225)'))) / (select extract(epoch from '2026-06-09 17:56:13'::timestamp) - extract(epoch from '2026-06-09 17:56: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'), 46564, 'SRID=4674;POINT (-39.042096 -3.408226)', '2026-06-09 17:56:20', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.408225)'), GeomFromEWKT('SRID=4674;POINT (-39.042096 -3.408226)'))) / (select extract(epoch from '2026-06-09 17:56:20'::timestamp) - extract(epoch from '2026-06-09 17:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.408225)'), GeomFromEWKT('SRID=4674;POINT (-39.042096 -3.408226)'))) / (select extract(epoch from '2026-06-09 17:56:20'::timestamp) - extract(epoch from '2026-06-09 17:56: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'), 46564, 'SRID=4674;POINT (-39.042111 -3.408227)', '2026-06-09 17:56:29', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042096 -3.408226)'), GeomFromEWKT('SRID=4674;POINT (-39.042111 -3.408227)'))) / (select extract(epoch from '2026-06-09 17:56:29'::timestamp) - extract(epoch from '2026-06-09 17:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042096 -3.408226)'), GeomFromEWKT('SRID=4674;POINT (-39.042111 -3.408227)'))) / (select extract(epoch from '2026-06-09 17:56:29'::timestamp) - extract(epoch from '2026-06-09 17:56: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'), 46564, 'SRID=4674;POINT (-39.042118 -3.408223)', '2026-06-09 17:56:37', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042111 -3.408227)'), GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.408223)'))) / (select extract(epoch from '2026-06-09 17:56:37'::timestamp) - extract(epoch from '2026-06-09 17:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042111 -3.408227)'), GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.408223)'))) / (select extract(epoch from '2026-06-09 17:56:37'::timestamp) - extract(epoch from '2026-06-09 17:56: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'), 46564, 'SRID=4674;POINT (-39.042123 -3.408223)', '2026-06-09 17:56:43', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.408223)'), GeomFromEWKT('SRID=4674;POINT (-39.042123 -3.408223)'))) / (select extract(epoch from '2026-06-09 17:56:43'::timestamp) - extract(epoch from '2026-06-09 17:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.408223)'), GeomFromEWKT('SRID=4674;POINT (-39.042123 -3.408223)'))) / (select extract(epoch from '2026-06-09 17:56:43'::timestamp) - extract(epoch from '2026-06-09 17:56: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'), 46564, 'SRID=4674;POINT (-39.042128 -3.408224)', '2026-06-09 17:56:52', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042123 -3.408223)'), GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.408224)'))) / (select extract(epoch from '2026-06-09 17:56:52'::timestamp) - extract(epoch from '2026-06-09 17:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042123 -3.408223)'), GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.408224)'))) / (select extract(epoch from '2026-06-09 17:56:52'::timestamp) - extract(epoch from '2026-06-09 17:56: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'), 46564, 'SRID=4674;POINT (-39.042143 -3.408219)', '2026-06-09 17:57:00', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.408224)'), GeomFromEWKT('SRID=4674;POINT (-39.042143 -3.408219)'))) / (select extract(epoch from '2026-06-09 17:57:00'::timestamp) - extract(epoch from '2026-06-09 17:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.408224)'), GeomFromEWKT('SRID=4674;POINT (-39.042143 -3.408219)'))) / (select extract(epoch from '2026-06-09 17:57:00'::timestamp) - extract(epoch from '2026-06-09 17:56: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'), 46564, 'SRID=4674;POINT (-39.042161 -3.408214)', '2026-06-09 17:57:11', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042143 -3.408219)'), GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.408214)'))) / (select extract(epoch from '2026-06-09 17:57:11'::timestamp) - extract(epoch from '2026-06-09 17:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042143 -3.408219)'), GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.408214)'))) / (select extract(epoch from '2026-06-09 17:57:11'::timestamp) - extract(epoch from '2026-06-09 17:57: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'), 46564, 'SRID=4674;POINT (-39.042171 -3.408215)', '2026-06-09 17:57:19', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.408214)'), GeomFromEWKT('SRID=4674;POINT (-39.042171 -3.408215)'))) / (select extract(epoch from '2026-06-09 17:57:19'::timestamp) - extract(epoch from '2026-06-09 17:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.408214)'), GeomFromEWKT('SRID=4674;POINT (-39.042171 -3.408215)'))) / (select extract(epoch from '2026-06-09 17:57:19'::timestamp) - extract(epoch from '2026-06-09 17:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042173 -3.40821)', '2026-06-09 17:57:29', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042171 -3.408215)'), GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.40821)'))) / (select extract(epoch from '2026-06-09 17:57:29'::timestamp) - extract(epoch from '2026-06-09 17:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042171 -3.408215)'), GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.40821)'))) / (select extract(epoch from '2026-06-09 17:57:29'::timestamp) - extract(epoch from '2026-06-09 17:57: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'), 46564, 'SRID=4674;POINT (-39.042186 -3.408213)', '2026-06-09 17:57:35', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.40821)'), GeomFromEWKT('SRID=4674;POINT (-39.042186 -3.408213)'))) / (select extract(epoch from '2026-06-09 17:57:35'::timestamp) - extract(epoch from '2026-06-09 17:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.40821)'), GeomFromEWKT('SRID=4674;POINT (-39.042186 -3.408213)'))) / (select extract(epoch from '2026-06-09 17:57:35'::timestamp) - extract(epoch from '2026-06-09 17:57: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'), 46564, 'SRID=4674;POINT (-39.042196 -3.408212)', '2026-06-09 17:57:41', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042186 -3.408213)'), GeomFromEWKT('SRID=4674;POINT (-39.042196 -3.408212)'))) / (select extract(epoch from '2026-06-09 17:57:41'::timestamp) - extract(epoch from '2026-06-09 17:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042186 -3.408213)'), GeomFromEWKT('SRID=4674;POINT (-39.042196 -3.408212)'))) / (select extract(epoch from '2026-06-09 17:57:41'::timestamp) - extract(epoch from '2026-06-09 17:57: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'), 46564, 'SRID=4674;POINT (-39.042209 -3.408211)', '2026-06-09 17:57:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042196 -3.408212)'), GeomFromEWKT('SRID=4674;POINT (-39.042209 -3.408211)'))) / (select extract(epoch from '2026-06-09 17:57:49'::timestamp) - extract(epoch from '2026-06-09 17:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042196 -3.408212)'), GeomFromEWKT('SRID=4674;POINT (-39.042209 -3.408211)'))) / (select extract(epoch from '2026-06-09 17:57:49'::timestamp) - extract(epoch from '2026-06-09 17:57: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'), 46564, 'SRID=4674;POINT (-39.042211 -3.408214)', '2026-06-09 17:58:02', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042209 -3.408211)'), GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.408214)'))) / (select extract(epoch from '2026-06-09 17:58:02'::timestamp) - extract(epoch from '2026-06-09 17:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042209 -3.408211)'), GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.408214)'))) / (select extract(epoch from '2026-06-09 17:58:02'::timestamp) - extract(epoch from '2026-06-09 17:57: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'), 46564, 'SRID=4674;POINT (-39.042228 -3.408213)', '2026-06-09 17:58:09', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.408214)'), GeomFromEWKT('SRID=4674;POINT (-39.042228 -3.408213)'))) / (select extract(epoch from '2026-06-09 17:58:09'::timestamp) - extract(epoch from '2026-06-09 17:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.408214)'), GeomFromEWKT('SRID=4674;POINT (-39.042228 -3.408213)'))) / (select extract(epoch from '2026-06-09 17:58:09'::timestamp) - extract(epoch from '2026-06-09 17:58: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'), 46564, 'SRID=4674;POINT (-39.042252 -3.40821)', '2026-06-09 17:58:18', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042228 -3.408213)'), GeomFromEWKT('SRID=4674;POINT (-39.042252 -3.40821)'))) / (select extract(epoch from '2026-06-09 17:58:18'::timestamp) - extract(epoch from '2026-06-09 17:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042228 -3.408213)'), GeomFromEWKT('SRID=4674;POINT (-39.042252 -3.40821)'))) / (select extract(epoch from '2026-06-09 17:58:18'::timestamp) - extract(epoch from '2026-06-09 17:58: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'), 46564, 'SRID=4674;POINT (-39.042275 -3.408205)', '2026-06-09 17:58:27', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042252 -3.40821)'), GeomFromEWKT('SRID=4674;POINT (-39.042275 -3.408205)'))) / (select extract(epoch from '2026-06-09 17:58:27'::timestamp) - extract(epoch from '2026-06-09 17:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042252 -3.40821)'), GeomFromEWKT('SRID=4674;POINT (-39.042275 -3.408205)'))) / (select extract(epoch from '2026-06-09 17:58:27'::timestamp) - extract(epoch from '2026-06-09 17:58: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'), 46564, 'SRID=4674;POINT (-39.042288 -3.408206)', '2026-06-09 17:58:36', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042275 -3.408205)'), GeomFromEWKT('SRID=4674;POINT (-39.042288 -3.408206)'))) / (select extract(epoch from '2026-06-09 17:58:36'::timestamp) - extract(epoch from '2026-06-09 17:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042275 -3.408205)'), GeomFromEWKT('SRID=4674;POINT (-39.042288 -3.408206)'))) / (select extract(epoch from '2026-06-09 17:58:36'::timestamp) - extract(epoch from '2026-06-09 17:58: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'), 46564, 'SRID=4674;POINT (-39.042314 -3.408204)', '2026-06-09 17:58:50', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042288 -3.408206)'), GeomFromEWKT('SRID=4674;POINT (-39.042314 -3.408204)'))) / (select extract(epoch from '2026-06-09 17:58:50'::timestamp) - extract(epoch from '2026-06-09 17:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042288 -3.408206)'), GeomFromEWKT('SRID=4674;POINT (-39.042314 -3.408204)'))) / (select extract(epoch from '2026-06-09 17:58:50'::timestamp) - extract(epoch from '2026-06-09 17:58: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'), 46564, 'SRID=4674;POINT (-39.042347 -3.408207)', '2026-06-09 17:59:06', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042314 -3.408204)'), GeomFromEWKT('SRID=4674;POINT (-39.042347 -3.408207)'))) / (select extract(epoch from '2026-06-09 17:59:06'::timestamp) - extract(epoch from '2026-06-09 17:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042314 -3.408204)'), GeomFromEWKT('SRID=4674;POINT (-39.042347 -3.408207)'))) / (select extract(epoch from '2026-06-09 17:59:06'::timestamp) - extract(epoch from '2026-06-09 17:58: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'), 46564, 'SRID=4674;POINT (-39.042359 -3.408206)', '2026-06-09 17:59:14', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042347 -3.408207)'), GeomFromEWKT('SRID=4674;POINT (-39.042359 -3.408206)'))) / (select extract(epoch from '2026-06-09 17:59:14'::timestamp) - extract(epoch from '2026-06-09 17:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042347 -3.408207)'), GeomFromEWKT('SRID=4674;POINT (-39.042359 -3.408206)'))) / (select extract(epoch from '2026-06-09 17:59:14'::timestamp) - extract(epoch from '2026-06-09 17:59: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'), 46564, 'SRID=4674;POINT (-39.042378 -3.408196)', '2026-06-09 17:59:23', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042359 -3.408206)'), GeomFromEWKT('SRID=4674;POINT (-39.042378 -3.408196)'))) / (select extract(epoch from '2026-06-09 17:59:23'::timestamp) - extract(epoch from '2026-06-09 17:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042359 -3.408206)'), GeomFromEWKT('SRID=4674;POINT (-39.042378 -3.408196)'))) / (select extract(epoch from '2026-06-09 17:59:23'::timestamp) - extract(epoch from '2026-06-09 17:59: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'), 46564, 'SRID=4674;POINT (-39.042388 -3.408191)', '2026-06-09 17:59:30', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042378 -3.408196)'), GeomFromEWKT('SRID=4674;POINT (-39.042388 -3.408191)'))) / (select extract(epoch from '2026-06-09 17:59:30'::timestamp) - extract(epoch from '2026-06-09 17:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042378 -3.408196)'), GeomFromEWKT('SRID=4674;POINT (-39.042388 -3.408191)'))) / (select extract(epoch from '2026-06-09 17:59:30'::timestamp) - extract(epoch from '2026-06-09 17:59: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'), 46564, 'SRID=4674;POINT (-39.042406 -3.408192)', '2026-06-09 17:59:37', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042388 -3.408191)'), GeomFromEWKT('SRID=4674;POINT (-39.042406 -3.408192)'))) / (select extract(epoch from '2026-06-09 17:59:37'::timestamp) - extract(epoch from '2026-06-09 17:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042388 -3.408191)'), GeomFromEWKT('SRID=4674;POINT (-39.042406 -3.408192)'))) / (select extract(epoch from '2026-06-09 17:59:37'::timestamp) - extract(epoch from '2026-06-09 17:59: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'), 46564, 'SRID=4674;POINT (-39.042413 -3.408185)', '2026-06-09 17:59:44', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042406 -3.408192)'), GeomFromEWKT('SRID=4674;POINT (-39.042413 -3.408185)'))) / (select extract(epoch from '2026-06-09 17:59:44'::timestamp) - extract(epoch from '2026-06-09 17:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042406 -3.408192)'), GeomFromEWKT('SRID=4674;POINT (-39.042413 -3.408185)'))) / (select extract(epoch from '2026-06-09 17:59:44'::timestamp) - extract(epoch from '2026-06-09 17:59: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'), 46564, 'SRID=4674;POINT (-39.042425 -3.408184)', '2026-06-09 17:59:54', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042413 -3.408185)'), GeomFromEWKT('SRID=4674;POINT (-39.042425 -3.408184)'))) / (select extract(epoch from '2026-06-09 17:59:54'::timestamp) - extract(epoch from '2026-06-09 17:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042413 -3.408185)'), GeomFromEWKT('SRID=4674;POINT (-39.042425 -3.408184)'))) / (select extract(epoch from '2026-06-09 17:59:54'::timestamp) - extract(epoch from '2026-06-09 17:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042445 -3.40818)', '2026-06-09 18:00:06', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042425 -3.408184)'), GeomFromEWKT('SRID=4674;POINT (-39.042445 -3.40818)'))) / (select extract(epoch from '2026-06-09 18:00:06'::timestamp) - extract(epoch from '2026-06-09 17:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042425 -3.408184)'), GeomFromEWKT('SRID=4674;POINT (-39.042445 -3.40818)'))) / (select extract(epoch from '2026-06-09 18:00:06'::timestamp) - extract(epoch from '2026-06-09 17:59: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'), 46564, 'SRID=4674;POINT (-39.042461 -3.40818)', '2026-06-09 18:00:14', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042445 -3.40818)'), GeomFromEWKT('SRID=4674;POINT (-39.042461 -3.40818)'))) / (select extract(epoch from '2026-06-09 18:00:14'::timestamp) - extract(epoch from '2026-06-09 18:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042445 -3.40818)'), GeomFromEWKT('SRID=4674;POINT (-39.042461 -3.40818)'))) / (select extract(epoch from '2026-06-09 18:00:14'::timestamp) - extract(epoch from '2026-06-09 18:00:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042482 -3.408177)', '2026-06-09 18:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042461 -3.40818)'), GeomFromEWKT('SRID=4674;POINT (-39.042482 -3.408177)'))) / (select extract(epoch from '2026-06-09 18:00:23'::timestamp) - extract(epoch from '2026-06-09 18:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042461 -3.40818)'), GeomFromEWKT('SRID=4674;POINT (-39.042482 -3.408177)'))) / (select extract(epoch from '2026-06-09 18:00:23'::timestamp) - extract(epoch from '2026-06-09 18:00: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'), 46564, 'SRID=4674;POINT (-39.042492 -3.408175)', '2026-06-09 18:00:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042482 -3.408177)'), GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.408175)'))) / (select extract(epoch from '2026-06-09 18:00:33'::timestamp) - extract(epoch from '2026-06-09 18:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042482 -3.408177)'), GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.408175)'))) / (select extract(epoch from '2026-06-09 18:00:33'::timestamp) - extract(epoch from '2026-06-09 18:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042514 -3.40817)', '2026-06-09 18:00:50', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.408175)'), GeomFromEWKT('SRID=4674;POINT (-39.042514 -3.40817)'))) / (select extract(epoch from '2026-06-09 18:00:50'::timestamp) - extract(epoch from '2026-06-09 18:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.408175)'), GeomFromEWKT('SRID=4674;POINT (-39.042514 -3.40817)'))) / (select extract(epoch from '2026-06-09 18:00:50'::timestamp) - extract(epoch from '2026-06-09 18:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042533 -3.408173)', '2026-06-09 18:01:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042514 -3.40817)'), GeomFromEWKT('SRID=4674;POINT (-39.042533 -3.408173)'))) / (select extract(epoch from '2026-06-09 18:01:03'::timestamp) - extract(epoch from '2026-06-09 18:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042514 -3.40817)'), GeomFromEWKT('SRID=4674;POINT (-39.042533 -3.408173)'))) / (select extract(epoch from '2026-06-09 18:01:03'::timestamp) - extract(epoch from '2026-06-09 18:00: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'), 46564, 'SRID=4674;POINT (-39.042559 -3.408162)', '2026-06-09 18:01:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042533 -3.408173)'), GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.408162)'))) / (select extract(epoch from '2026-06-09 18:01:24'::timestamp) - extract(epoch from '2026-06-09 18:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042533 -3.408173)'), GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.408162)'))) / (select extract(epoch from '2026-06-09 18:01:24'::timestamp) - extract(epoch from '2026-06-09 18:01: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'), 46564, 'SRID=4674;POINT (-39.042607 -3.408159)', '2026-06-09 18:01:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.408162)'), GeomFromEWKT('SRID=4674;POINT (-39.042607 -3.408159)'))) / (select extract(epoch from '2026-06-09 18:01:54'::timestamp) - extract(epoch from '2026-06-09 18:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.408162)'), GeomFromEWKT('SRID=4674;POINT (-39.042607 -3.408159)'))) / (select extract(epoch from '2026-06-09 18:01:54'::timestamp) - extract(epoch from '2026-06-09 18:01: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'), 46564, 'SRID=4674;POINT (-39.042638 -3.408164)', '2026-06-09 18:02:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042607 -3.408159)'), GeomFromEWKT('SRID=4674;POINT (-39.042638 -3.408164)'))) / (select extract(epoch from '2026-06-09 18:02:13'::timestamp) - extract(epoch from '2026-06-09 18:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042607 -3.408159)'), GeomFromEWKT('SRID=4674;POINT (-39.042638 -3.408164)'))) / (select extract(epoch from '2026-06-09 18:02:13'::timestamp) - extract(epoch from '2026-06-09 18:01: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'), 46564, 'SRID=4674;POINT (-39.042663 -3.408165)', '2026-06-09 18:02:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042638 -3.408164)'), GeomFromEWKT('SRID=4674;POINT (-39.042663 -3.408165)'))) / (select extract(epoch from '2026-06-09 18:02:25'::timestamp) - extract(epoch from '2026-06-09 18:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042638 -3.408164)'), GeomFromEWKT('SRID=4674;POINT (-39.042663 -3.408165)'))) / (select extract(epoch from '2026-06-09 18:02:25'::timestamp) - extract(epoch from '2026-06-09 18:02: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'), 46564, 'SRID=4674;POINT (-39.042691 -3.408158)', '2026-06-09 18:02:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042663 -3.408165)'), GeomFromEWKT('SRID=4674;POINT (-39.042691 -3.408158)'))) / (select extract(epoch from '2026-06-09 18:02:42'::timestamp) - extract(epoch from '2026-06-09 18:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042663 -3.408165)'), GeomFromEWKT('SRID=4674;POINT (-39.042691 -3.408158)'))) / (select extract(epoch from '2026-06-09 18:02:42'::timestamp) - extract(epoch from '2026-06-09 18:02: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'), 46564, 'SRID=4674;POINT (-39.042717 -3.408148)', '2026-06-09 18:03:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042691 -3.408158)'), GeomFromEWKT('SRID=4674;POINT (-39.042717 -3.408148)'))) / (select extract(epoch from '2026-06-09 18:03:03'::timestamp) - extract(epoch from '2026-06-09 18:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042691 -3.408158)'), GeomFromEWKT('SRID=4674;POINT (-39.042717 -3.408148)'))) / (select extract(epoch from '2026-06-09 18:03:03'::timestamp) - extract(epoch from '2026-06-09 18:02: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'), 46564, 'SRID=4674;POINT (-39.042747 -3.408137)', '2026-06-09 18:03:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042717 -3.408148)'), GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.408137)'))) / (select extract(epoch from '2026-06-09 18:03:22'::timestamp) - extract(epoch from '2026-06-09 18:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042717 -3.408148)'), GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.408137)'))) / (select extract(epoch from '2026-06-09 18:03:22'::timestamp) - extract(epoch from '2026-06-09 18:03: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'), 46564, 'SRID=4674;POINT (-39.042778 -3.408134)', '2026-06-09 18:03:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.408137)'), GeomFromEWKT('SRID=4674;POINT (-39.042778 -3.408134)'))) / (select extract(epoch from '2026-06-09 18:03:41'::timestamp) - extract(epoch from '2026-06-09 18:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.408137)'), GeomFromEWKT('SRID=4674;POINT (-39.042778 -3.408134)'))) / (select extract(epoch from '2026-06-09 18:03:41'::timestamp) - extract(epoch from '2026-06-09 18:03: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'), 46564, 'SRID=4674;POINT (-39.042794 -3.40813)', '2026-06-09 18:03:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042778 -3.408134)'), GeomFromEWKT('SRID=4674;POINT (-39.042794 -3.40813)'))) / (select extract(epoch from '2026-06-09 18:03:48'::timestamp) - extract(epoch from '2026-06-09 18:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042778 -3.408134)'), GeomFromEWKT('SRID=4674;POINT (-39.042794 -3.40813)'))) / (select extract(epoch from '2026-06-09 18:03:48'::timestamp) - extract(epoch from '2026-06-09 18:03: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'), 46564, 'SRID=4674;POINT (-39.042813 -3.408124)', '2026-06-09 18:04:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042794 -3.40813)'), GeomFromEWKT('SRID=4674;POINT (-39.042813 -3.408124)'))) / (select extract(epoch from '2026-06-09 18:04:00'::timestamp) - extract(epoch from '2026-06-09 18:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042794 -3.40813)'), GeomFromEWKT('SRID=4674;POINT (-39.042813 -3.408124)'))) / (select extract(epoch from '2026-06-09 18:04:00'::timestamp) - extract(epoch from '2026-06-09 18:03: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'), 46564, 'SRID=4674;POINT (-39.04283 -3.408121)', '2026-06-09 18:04:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042813 -3.408124)'), GeomFromEWKT('SRID=4674;POINT (-39.04283 -3.408121)'))) / (select extract(epoch from '2026-06-09 18:04:11'::timestamp) - extract(epoch from '2026-06-09 18:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042813 -3.408124)'), GeomFromEWKT('SRID=4674;POINT (-39.04283 -3.408121)'))) / (select extract(epoch from '2026-06-09 18:04:11'::timestamp) - extract(epoch from '2026-06-09 18:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042842 -3.408119)', '2026-06-09 18:04:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04283 -3.408121)'), GeomFromEWKT('SRID=4674;POINT (-39.042842 -3.408119)'))) / (select extract(epoch from '2026-06-09 18:04:17'::timestamp) - extract(epoch from '2026-06-09 18:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04283 -3.408121)'), GeomFromEWKT('SRID=4674;POINT (-39.042842 -3.408119)'))) / (select extract(epoch from '2026-06-09 18:04:17'::timestamp) - extract(epoch from '2026-06-09 18:04: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'), 46564, 'SRID=4674;POINT (-39.042855 -3.408113)', '2026-06-09 18:04:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042842 -3.408119)'), GeomFromEWKT('SRID=4674;POINT (-39.042855 -3.408113)'))) / (select extract(epoch from '2026-06-09 18:04:25'::timestamp) - extract(epoch from '2026-06-09 18:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042842 -3.408119)'), GeomFromEWKT('SRID=4674;POINT (-39.042855 -3.408113)'))) / (select extract(epoch from '2026-06-09 18:04:25'::timestamp) - extract(epoch from '2026-06-09 18:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042873 -3.40811)', '2026-06-09 18:04:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042855 -3.408113)'), GeomFromEWKT('SRID=4674;POINT (-39.042873 -3.40811)'))) / (select extract(epoch from '2026-06-09 18:04:33'::timestamp) - extract(epoch from '2026-06-09 18:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042855 -3.408113)'), GeomFromEWKT('SRID=4674;POINT (-39.042873 -3.40811)'))) / (select extract(epoch from '2026-06-09 18:04:33'::timestamp) - extract(epoch from '2026-06-09 18:04:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042889 -3.408112)', '2026-06-09 18:04:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042873 -3.40811)'), GeomFromEWKT('SRID=4674;POINT (-39.042889 -3.408112)'))) / (select extract(epoch from '2026-06-09 18:04:41'::timestamp) - extract(epoch from '2026-06-09 18:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042873 -3.40811)'), GeomFromEWKT('SRID=4674;POINT (-39.042889 -3.408112)'))) / (select extract(epoch from '2026-06-09 18:04:41'::timestamp) - extract(epoch from '2026-06-09 18:04: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'), 46564, 'SRID=4674;POINT (-39.042912 -3.408108)', '2026-06-09 18:04:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042889 -3.408112)'), GeomFromEWKT('SRID=4674;POINT (-39.042912 -3.408108)'))) / (select extract(epoch from '2026-06-09 18:04:54'::timestamp) - extract(epoch from '2026-06-09 18:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042889 -3.408112)'), GeomFromEWKT('SRID=4674;POINT (-39.042912 -3.408108)'))) / (select extract(epoch from '2026-06-09 18:04:54'::timestamp) - extract(epoch from '2026-06-09 18:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042922 -3.408108)', '2026-06-09 18:05:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042912 -3.408108)'), GeomFromEWKT('SRID=4674;POINT (-39.042922 -3.408108)'))) / (select extract(epoch from '2026-06-09 18:05:03'::timestamp) - extract(epoch from '2026-06-09 18:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042912 -3.408108)'), GeomFromEWKT('SRID=4674;POINT (-39.042922 -3.408108)'))) / (select extract(epoch from '2026-06-09 18:05:03'::timestamp) - extract(epoch from '2026-06-09 18:04: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'), 46564, 'SRID=4674;POINT (-39.042936 -3.40811)', '2026-06-09 18:05:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042922 -3.408108)'), GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.40811)'))) / (select extract(epoch from '2026-06-09 18:05:11'::timestamp) - extract(epoch from '2026-06-09 18:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042922 -3.408108)'), GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.40811)'))) / (select extract(epoch from '2026-06-09 18:05:11'::timestamp) - extract(epoch from '2026-06-09 18:05: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'), 46564, 'SRID=4674;POINT (-39.042963 -3.408113)', '2026-06-09 18:05:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.40811)'), GeomFromEWKT('SRID=4674;POINT (-39.042963 -3.408113)'))) / (select extract(epoch from '2026-06-09 18:05:23'::timestamp) - extract(epoch from '2026-06-09 18:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.40811)'), GeomFromEWKT('SRID=4674;POINT (-39.042963 -3.408113)'))) / (select extract(epoch from '2026-06-09 18:05:23'::timestamp) - extract(epoch from '2026-06-09 18:05: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'), 46564, 'SRID=4674;POINT (-39.042991 -3.408106)', '2026-06-09 18:05:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042963 -3.408113)'), GeomFromEWKT('SRID=4674;POINT (-39.042991 -3.408106)'))) / (select extract(epoch from '2026-06-09 18:05:42'::timestamp) - extract(epoch from '2026-06-09 18:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042963 -3.408113)'), GeomFromEWKT('SRID=4674;POINT (-39.042991 -3.408106)'))) / (select extract(epoch from '2026-06-09 18:05:42'::timestamp) - extract(epoch from '2026-06-09 18:05: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'), 46564, 'SRID=4674;POINT (-39.043042 -3.408107)', '2026-06-09 18:06:08', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042991 -3.408106)'), GeomFromEWKT('SRID=4674;POINT (-39.043042 -3.408107)'))) / (select extract(epoch from '2026-06-09 18:06:08'::timestamp) - extract(epoch from '2026-06-09 18:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042991 -3.408106)'), GeomFromEWKT('SRID=4674;POINT (-39.043042 -3.408107)'))) / (select extract(epoch from '2026-06-09 18:06:08'::timestamp) - extract(epoch from '2026-06-09 18:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043073 -3.408113)', '2026-06-09 18:06:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043042 -3.408107)'), GeomFromEWKT('SRID=4674;POINT (-39.043073 -3.408113)'))) / (select extract(epoch from '2026-06-09 18:06:26'::timestamp) - extract(epoch from '2026-06-09 18:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043042 -3.408107)'), GeomFromEWKT('SRID=4674;POINT (-39.043073 -3.408113)'))) / (select extract(epoch from '2026-06-09 18:06:26'::timestamp) - extract(epoch from '2026-06-09 18:06: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'), 46564, 'SRID=4674;POINT (-39.043098 -3.408089)', '2026-06-09 18:06:48', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043073 -3.408113)'), GeomFromEWKT('SRID=4674;POINT (-39.043098 -3.408089)'))) / (select extract(epoch from '2026-06-09 18:06:48'::timestamp) - extract(epoch from '2026-06-09 18:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043073 -3.408113)'), GeomFromEWKT('SRID=4674;POINT (-39.043098 -3.408089)'))) / (select extract(epoch from '2026-06-09 18:06:48'::timestamp) - extract(epoch from '2026-06-09 18:06: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'), 46564, 'SRID=4674;POINT (-39.04311 -3.408083)', '2026-06-09 18:06:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043098 -3.408089)'), GeomFromEWKT('SRID=4674;POINT (-39.04311 -3.408083)'))) / (select extract(epoch from '2026-06-09 18:06:55'::timestamp) - extract(epoch from '2026-06-09 18:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043098 -3.408089)'), GeomFromEWKT('SRID=4674;POINT (-39.04311 -3.408083)'))) / (select extract(epoch from '2026-06-09 18:06:55'::timestamp) - extract(epoch from '2026-06-09 18:06: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'), 46564, 'SRID=4674;POINT (-39.043131 -3.408078)', '2026-06-09 18:07:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04311 -3.408083)'), GeomFromEWKT('SRID=4674;POINT (-39.043131 -3.408078)'))) / (select extract(epoch from '2026-06-09 18:07:05'::timestamp) - extract(epoch from '2026-06-09 18:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04311 -3.408083)'), GeomFromEWKT('SRID=4674;POINT (-39.043131 -3.408078)'))) / (select extract(epoch from '2026-06-09 18:07:05'::timestamp) - extract(epoch from '2026-06-09 18:06: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'), 46564, 'SRID=4674;POINT (-39.043138 -3.40808)', '2026-06-09 18:07:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043131 -3.408078)'), GeomFromEWKT('SRID=4674;POINT (-39.043138 -3.40808)'))) / (select extract(epoch from '2026-06-09 18:07:10'::timestamp) - extract(epoch from '2026-06-09 18:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043131 -3.408078)'), GeomFromEWKT('SRID=4674;POINT (-39.043138 -3.40808)'))) / (select extract(epoch from '2026-06-09 18:07:10'::timestamp) - extract(epoch from '2026-06-09 18:07:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043163 -3.408074)', '2026-06-09 18:07:19', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043138 -3.40808)'), GeomFromEWKT('SRID=4674;POINT (-39.043163 -3.408074)'))) / (select extract(epoch from '2026-06-09 18:07:19'::timestamp) - extract(epoch from '2026-06-09 18:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043138 -3.40808)'), GeomFromEWKT('SRID=4674;POINT (-39.043163 -3.408074)'))) / (select extract(epoch from '2026-06-09 18:07:19'::timestamp) - extract(epoch from '2026-06-09 18:07: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'), 46564, 'SRID=4674;POINT (-39.043192 -3.408061)', '2026-06-09 18:07:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043163 -3.408074)'), GeomFromEWKT('SRID=4674;POINT (-39.043192 -3.408061)'))) / (select extract(epoch from '2026-06-09 18:07:33'::timestamp) - extract(epoch from '2026-06-09 18:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043163 -3.408074)'), GeomFromEWKT('SRID=4674;POINT (-39.043192 -3.408061)'))) / (select extract(epoch from '2026-06-09 18:07:33'::timestamp) - extract(epoch from '2026-06-09 18:07: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'), 46564, 'SRID=4674;POINT (-39.043208 -3.408059)', '2026-06-09 18:07:41', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043192 -3.408061)'), GeomFromEWKT('SRID=4674;POINT (-39.043208 -3.408059)'))) / (select extract(epoch from '2026-06-09 18:07:41'::timestamp) - extract(epoch from '2026-06-09 18:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043192 -3.408061)'), GeomFromEWKT('SRID=4674;POINT (-39.043208 -3.408059)'))) / (select extract(epoch from '2026-06-09 18:07:41'::timestamp) - extract(epoch from '2026-06-09 18:07: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'), 46564, 'SRID=4674;POINT (-39.043234 -3.408052)', '2026-06-09 18:07:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043208 -3.408059)'), GeomFromEWKT('SRID=4674;POINT (-39.043234 -3.408052)'))) / (select extract(epoch from '2026-06-09 18:07:50'::timestamp) - extract(epoch from '2026-06-09 18:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043208 -3.408059)'), GeomFromEWKT('SRID=4674;POINT (-39.043234 -3.408052)'))) / (select extract(epoch from '2026-06-09 18:07:50'::timestamp) - extract(epoch from '2026-06-09 18:07: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'), 46564, 'SRID=4674;POINT (-39.043251 -3.408053)', '2026-06-09 18:07:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043234 -3.408052)'), GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.408053)'))) / (select extract(epoch from '2026-06-09 18:07:57'::timestamp) - extract(epoch from '2026-06-09 18:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043234 -3.408052)'), GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.408053)'))) / (select extract(epoch from '2026-06-09 18:07:57'::timestamp) - extract(epoch from '2026-06-09 18:07: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'), 46564, 'SRID=4674;POINT (-39.04326 -3.40805)', '2026-06-09 18:08:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.408053)'), GeomFromEWKT('SRID=4674;POINT (-39.04326 -3.40805)'))) / (select extract(epoch from '2026-06-09 18:08:02'::timestamp) - extract(epoch from '2026-06-09 18:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.408053)'), GeomFromEWKT('SRID=4674;POINT (-39.04326 -3.40805)'))) / (select extract(epoch from '2026-06-09 18:08:02'::timestamp) - extract(epoch from '2026-06-09 18:07: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'), 46564, 'SRID=4674;POINT (-39.043278 -3.408044)', '2026-06-09 18:08:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04326 -3.40805)'), GeomFromEWKT('SRID=4674;POINT (-39.043278 -3.408044)'))) / (select extract(epoch from '2026-06-09 18:08:11'::timestamp) - extract(epoch from '2026-06-09 18:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04326 -3.40805)'), GeomFromEWKT('SRID=4674;POINT (-39.043278 -3.408044)'))) / (select extract(epoch from '2026-06-09 18:08:11'::timestamp) - extract(epoch from '2026-06-09 18:08: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'), 46564, 'SRID=4674;POINT (-39.043286 -3.408041)', '2026-06-09 18:08:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043278 -3.408044)'), GeomFromEWKT('SRID=4674;POINT (-39.043286 -3.408041)'))) / (select extract(epoch from '2026-06-09 18:08:20'::timestamp) - extract(epoch from '2026-06-09 18:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043278 -3.408044)'), GeomFromEWKT('SRID=4674;POINT (-39.043286 -3.408041)'))) / (select extract(epoch from '2026-06-09 18:08:20'::timestamp) - extract(epoch from '2026-06-09 18:08:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043298 -3.408045)', '2026-06-09 18:08:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043286 -3.408041)'), GeomFromEWKT('SRID=4674;POINT (-39.043298 -3.408045)'))) / (select extract(epoch from '2026-06-09 18:08:26'::timestamp) - extract(epoch from '2026-06-09 18:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043286 -3.408041)'), GeomFromEWKT('SRID=4674;POINT (-39.043298 -3.408045)'))) / (select extract(epoch from '2026-06-09 18:08:26'::timestamp) - extract(epoch from '2026-06-09 18:08: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'), 46564, 'SRID=4674;POINT (-39.043296 -3.408043)', '2026-06-09 18:08:39', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043298 -3.408045)'), GeomFromEWKT('SRID=4674;POINT (-39.043296 -3.408043)'))) / (select extract(epoch from '2026-06-09 18:08:39'::timestamp) - extract(epoch from '2026-06-09 18:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043298 -3.408045)'), GeomFromEWKT('SRID=4674;POINT (-39.043296 -3.408043)'))) / (select extract(epoch from '2026-06-09 18:08:39'::timestamp) - extract(epoch from '2026-06-09 18:08: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'), 46564, 'SRID=4674;POINT (-39.043312 -3.40805)', '2026-06-09 18:08:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043296 -3.408043)'), GeomFromEWKT('SRID=4674;POINT (-39.043312 -3.40805)'))) / (select extract(epoch from '2026-06-09 18:08:55'::timestamp) - extract(epoch from '2026-06-09 18:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043296 -3.408043)'), GeomFromEWKT('SRID=4674;POINT (-39.043312 -3.40805)'))) / (select extract(epoch from '2026-06-09 18:08:55'::timestamp) - extract(epoch from '2026-06-09 18:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043326 -3.408047)', '2026-06-09 18:09:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043312 -3.40805)'), GeomFromEWKT('SRID=4674;POINT (-39.043326 -3.408047)'))) / (select extract(epoch from '2026-06-09 18:09:03'::timestamp) - extract(epoch from '2026-06-09 18:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043312 -3.40805)'), GeomFromEWKT('SRID=4674;POINT (-39.043326 -3.408047)'))) / (select extract(epoch from '2026-06-09 18:09:03'::timestamp) - extract(epoch from '2026-06-09 18:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043353 -3.408041)', '2026-06-09 18:09:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043326 -3.408047)'), GeomFromEWKT('SRID=4674;POINT (-39.043353 -3.408041)'))) / (select extract(epoch from '2026-06-09 18:09:12'::timestamp) - extract(epoch from '2026-06-09 18:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043326 -3.408047)'), GeomFromEWKT('SRID=4674;POINT (-39.043353 -3.408041)'))) / (select extract(epoch from '2026-06-09 18:09:12'::timestamp) - extract(epoch from '2026-06-09 18:09: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'), 46564, 'SRID=4674;POINT (-39.043365 -3.40804)', '2026-06-09 18:09:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043353 -3.408041)'), GeomFromEWKT('SRID=4674;POINT (-39.043365 -3.40804)'))) / (select extract(epoch from '2026-06-09 18:09:18'::timestamp) - extract(epoch from '2026-06-09 18:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043353 -3.408041)'), GeomFromEWKT('SRID=4674;POINT (-39.043365 -3.40804)'))) / (select extract(epoch from '2026-06-09 18:09:18'::timestamp) - extract(epoch from '2026-06-09 18:09: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'), 46564, 'SRID=4674;POINT (-39.043369 -3.408025)', '2026-06-09 18:09:24', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043365 -3.40804)'), GeomFromEWKT('SRID=4674;POINT (-39.043369 -3.408025)'))) / (select extract(epoch from '2026-06-09 18:09:24'::timestamp) - extract(epoch from '2026-06-09 18:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043365 -3.40804)'), GeomFromEWKT('SRID=4674;POINT (-39.043369 -3.408025)'))) / (select extract(epoch from '2026-06-09 18:09:24'::timestamp) - extract(epoch from '2026-06-09 18:09: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'), 46564, 'SRID=4674;POINT (-39.043381 -3.408022)', '2026-06-09 18:09:31', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043369 -3.408025)'), GeomFromEWKT('SRID=4674;POINT (-39.043381 -3.408022)'))) / (select extract(epoch from '2026-06-09 18:09:31'::timestamp) - extract(epoch from '2026-06-09 18:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043369 -3.408025)'), GeomFromEWKT('SRID=4674;POINT (-39.043381 -3.408022)'))) / (select extract(epoch from '2026-06-09 18:09:31'::timestamp) - extract(epoch from '2026-06-09 18:09: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'), 46564, 'SRID=4674;POINT (-39.043396 -3.408021)', '2026-06-09 18:09:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043381 -3.408022)'), GeomFromEWKT('SRID=4674;POINT (-39.043396 -3.408021)'))) / (select extract(epoch from '2026-06-09 18:09:38'::timestamp) - extract(epoch from '2026-06-09 18:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043381 -3.408022)'), GeomFromEWKT('SRID=4674;POINT (-39.043396 -3.408021)'))) / (select extract(epoch from '2026-06-09 18:09:38'::timestamp) - extract(epoch from '2026-06-09 18:09: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'), 46564, 'SRID=4674;POINT (-39.043406 -3.40802)', '2026-06-09 18:09:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043396 -3.408021)'), GeomFromEWKT('SRID=4674;POINT (-39.043406 -3.40802)'))) / (select extract(epoch from '2026-06-09 18:09:44'::timestamp) - extract(epoch from '2026-06-09 18:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043396 -3.408021)'), GeomFromEWKT('SRID=4674;POINT (-39.043406 -3.40802)'))) / (select extract(epoch from '2026-06-09 18:09:44'::timestamp) - extract(epoch from '2026-06-09 18:09: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'), 46564, 'SRID=4674;POINT (-39.043418 -3.408024)', '2026-06-09 18:09:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043406 -3.40802)'), GeomFromEWKT('SRID=4674;POINT (-39.043418 -3.408024)'))) / (select extract(epoch from '2026-06-09 18:09:50'::timestamp) - extract(epoch from '2026-06-09 18:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043406 -3.40802)'), GeomFromEWKT('SRID=4674;POINT (-39.043418 -3.408024)'))) / (select extract(epoch from '2026-06-09 18:09:50'::timestamp) - extract(epoch from '2026-06-09 18:09: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'), 46564, 'SRID=4674;POINT (-39.043433 -3.40802)', '2026-06-09 18:09:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043418 -3.408024)'), GeomFromEWKT('SRID=4674;POINT (-39.043433 -3.40802)'))) / (select extract(epoch from '2026-06-09 18:09:55'::timestamp) - extract(epoch from '2026-06-09 18:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043418 -3.408024)'), GeomFromEWKT('SRID=4674;POINT (-39.043433 -3.40802)'))) / (select extract(epoch from '2026-06-09 18:09:55'::timestamp) - extract(epoch from '2026-06-09 18:09: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'), 46564, 'SRID=4674;POINT (-39.043435 -3.408023)', '2026-06-09 18:09:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043433 -3.40802)'), GeomFromEWKT('SRID=4674;POINT (-39.043435 -3.408023)'))) / (select extract(epoch from '2026-06-09 18:09:56'::timestamp) - extract(epoch from '2026-06-09 18:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043433 -3.40802)'), GeomFromEWKT('SRID=4674;POINT (-39.043435 -3.408023)'))) / (select extract(epoch from '2026-06-09 18:09:56'::timestamp) - extract(epoch from '2026-06-09 18:09: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'), 46564, 'SRID=4674;POINT (-39.043438 -3.408022)', '2026-06-09 18:10:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043435 -3.408023)'), GeomFromEWKT('SRID=4674;POINT (-39.043438 -3.408022)'))) / (select extract(epoch from '2026-06-09 18:10:06'::timestamp) - extract(epoch from '2026-06-09 18:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043435 -3.408023)'), GeomFromEWKT('SRID=4674;POINT (-39.043438 -3.408022)'))) / (select extract(epoch from '2026-06-09 18:10:06'::timestamp) - extract(epoch from '2026-06-09 18:09: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'), 46564, 'SRID=4674;POINT (-39.04345 -3.408018)', '2026-06-09 18:10:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043438 -3.408022)'), GeomFromEWKT('SRID=4674;POINT (-39.04345 -3.408018)'))) / (select extract(epoch from '2026-06-09 18:10:13'::timestamp) - extract(epoch from '2026-06-09 18:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043438 -3.408022)'), GeomFromEWKT('SRID=4674;POINT (-39.04345 -3.408018)'))) / (select extract(epoch from '2026-06-09 18:10:13'::timestamp) - extract(epoch from '2026-06-09 18:10: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'), 46564, 'SRID=4674;POINT (-39.04347 -3.408011)', '2026-06-09 18:10:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04345 -3.408018)'), GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.408011)'))) / (select extract(epoch from '2026-06-09 18:10:23'::timestamp) - extract(epoch from '2026-06-09 18:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04345 -3.408018)'), GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.408011)'))) / (select extract(epoch from '2026-06-09 18:10:23'::timestamp) - extract(epoch from '2026-06-09 18:10: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'), 46564, 'SRID=4674;POINT (-39.043493 -3.408007)', '2026-06-09 18:10:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.408011)'), GeomFromEWKT('SRID=4674;POINT (-39.043493 -3.408007)'))) / (select extract(epoch from '2026-06-09 18:10:31'::timestamp) - extract(epoch from '2026-06-09 18:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.408011)'), GeomFromEWKT('SRID=4674;POINT (-39.043493 -3.408007)'))) / (select extract(epoch from '2026-06-09 18:10:31'::timestamp) - extract(epoch from '2026-06-09 18:10:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043506 -3.407998)', '2026-06-09 18:10:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043493 -3.408007)'), GeomFromEWKT('SRID=4674;POINT (-39.043506 -3.407998)'))) / (select extract(epoch from '2026-06-09 18:10:39'::timestamp) - extract(epoch from '2026-06-09 18:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043493 -3.408007)'), GeomFromEWKT('SRID=4674;POINT (-39.043506 -3.407998)'))) / (select extract(epoch from '2026-06-09 18:10:39'::timestamp) - extract(epoch from '2026-06-09 18:10: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'), 46564, 'SRID=4674;POINT (-39.043524 -3.407991)', '2026-06-09 18:10:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043506 -3.407998)'), GeomFromEWKT('SRID=4674;POINT (-39.043524 -3.407991)'))) / (select extract(epoch from '2026-06-09 18:10:46'::timestamp) - extract(epoch from '2026-06-09 18:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043506 -3.407998)'), GeomFromEWKT('SRID=4674;POINT (-39.043524 -3.407991)'))) / (select extract(epoch from '2026-06-09 18:10:46'::timestamp) - extract(epoch from '2026-06-09 18:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043534 -3.407987)', '2026-06-09 18:10:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043524 -3.407991)'), GeomFromEWKT('SRID=4674;POINT (-39.043534 -3.407987)'))) / (select extract(epoch from '2026-06-09 18:10:53'::timestamp) - extract(epoch from '2026-06-09 18:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043524 -3.407991)'), GeomFromEWKT('SRID=4674;POINT (-39.043534 -3.407987)'))) / (select extract(epoch from '2026-06-09 18:10:53'::timestamp) - extract(epoch from '2026-06-09 18:10: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'), 46564, 'SRID=4674;POINT (-39.043546 -3.407985)', '2026-06-09 18:11:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043534 -3.407987)'), GeomFromEWKT('SRID=4674;POINT (-39.043546 -3.407985)'))) / (select extract(epoch from '2026-06-09 18:11:01'::timestamp) - extract(epoch from '2026-06-09 18:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043534 -3.407987)'), GeomFromEWKT('SRID=4674;POINT (-39.043546 -3.407985)'))) / (select extract(epoch from '2026-06-09 18:11:01'::timestamp) - extract(epoch from '2026-06-09 18:10: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'), 46564, 'SRID=4674;POINT (-39.043553 -3.407979)', '2026-06-09 18:11:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043546 -3.407985)'), GeomFromEWKT('SRID=4674;POINT (-39.043553 -3.407979)'))) / (select extract(epoch from '2026-06-09 18:11:10'::timestamp) - extract(epoch from '2026-06-09 18:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043546 -3.407985)'), GeomFromEWKT('SRID=4674;POINT (-39.043553 -3.407979)'))) / (select extract(epoch from '2026-06-09 18:11:10'::timestamp) - extract(epoch from '2026-06-09 18:11: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'), 46564, 'SRID=4674;POINT (-39.043581 -3.407978)', '2026-06-09 18:11:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043553 -3.407979)'), GeomFromEWKT('SRID=4674;POINT (-39.043581 -3.407978)'))) / (select extract(epoch from '2026-06-09 18:11:23'::timestamp) - extract(epoch from '2026-06-09 18:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043553 -3.407979)'), GeomFromEWKT('SRID=4674;POINT (-39.043581 -3.407978)'))) / (select extract(epoch from '2026-06-09 18:11:23'::timestamp) - extract(epoch from '2026-06-09 18:11: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'), 46564, 'SRID=4674;POINT (-39.043605 -3.407975)', '2026-06-09 18:11:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043581 -3.407978)'), GeomFromEWKT('SRID=4674;POINT (-39.043605 -3.407975)'))) / (select extract(epoch from '2026-06-09 18:11:30'::timestamp) - extract(epoch from '2026-06-09 18:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043581 -3.407978)'), GeomFromEWKT('SRID=4674;POINT (-39.043605 -3.407975)'))) / (select extract(epoch from '2026-06-09 18:11:30'::timestamp) - extract(epoch from '2026-06-09 18:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.04362 -3.407973)', '2026-06-09 18:11:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043605 -3.407975)'), GeomFromEWKT('SRID=4674;POINT (-39.04362 -3.407973)'))) / (select extract(epoch from '2026-06-09 18:11:36'::timestamp) - extract(epoch from '2026-06-09 18:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043605 -3.407975)'), GeomFromEWKT('SRID=4674;POINT (-39.04362 -3.407973)'))) / (select extract(epoch from '2026-06-09 18:11:36'::timestamp) - extract(epoch from '2026-06-09 18:11: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'), 46564, 'SRID=4674;POINT (-39.043629 -3.407957)', '2026-06-09 18:11:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04362 -3.407973)'), GeomFromEWKT('SRID=4674;POINT (-39.043629 -3.407957)'))) / (select extract(epoch from '2026-06-09 18:11:46'::timestamp) - extract(epoch from '2026-06-09 18:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04362 -3.407973)'), GeomFromEWKT('SRID=4674;POINT (-39.043629 -3.407957)'))) / (select extract(epoch from '2026-06-09 18:11:46'::timestamp) - extract(epoch from '2026-06-09 18:11: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'), 46564, 'SRID=4674;POINT (-39.043648 -3.407955)', '2026-06-09 18:11:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043629 -3.407957)'), GeomFromEWKT('SRID=4674;POINT (-39.043648 -3.407955)'))) / (select extract(epoch from '2026-06-09 18:11:55'::timestamp) - extract(epoch from '2026-06-09 18:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043629 -3.407957)'), GeomFromEWKT('SRID=4674;POINT (-39.043648 -3.407955)'))) / (select extract(epoch from '2026-06-09 18:11:55'::timestamp) - extract(epoch from '2026-06-09 18:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.04366 -3.407955)', '2026-06-09 18:12:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043648 -3.407955)'), GeomFromEWKT('SRID=4674;POINT (-39.04366 -3.407955)'))) / (select extract(epoch from '2026-06-09 18:12:02'::timestamp) - extract(epoch from '2026-06-09 18:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043648 -3.407955)'), GeomFromEWKT('SRID=4674;POINT (-39.04366 -3.407955)'))) / (select extract(epoch from '2026-06-09 18:12:02'::timestamp) - extract(epoch from '2026-06-09 18:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043676 -3.407957)', '2026-06-09 18:12:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04366 -3.407955)'), GeomFromEWKT('SRID=4674;POINT (-39.043676 -3.407957)'))) / (select extract(epoch from '2026-06-09 18:12:10'::timestamp) - extract(epoch from '2026-06-09 18:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04366 -3.407955)'), GeomFromEWKT('SRID=4674;POINT (-39.043676 -3.407957)'))) / (select extract(epoch from '2026-06-09 18:12:10'::timestamp) - extract(epoch from '2026-06-09 18:12: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'), 46564, 'SRID=4674;POINT (-39.043687 -3.40795)', '2026-06-09 18:12:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043676 -3.407957)'), GeomFromEWKT('SRID=4674;POINT (-39.043687 -3.40795)'))) / (select extract(epoch from '2026-06-09 18:12:18'::timestamp) - extract(epoch from '2026-06-09 18:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043676 -3.407957)'), GeomFromEWKT('SRID=4674;POINT (-39.043687 -3.40795)'))) / (select extract(epoch from '2026-06-09 18:12:18'::timestamp) - extract(epoch from '2026-06-09 18:12: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'), 46564, 'SRID=4674;POINT (-39.043704 -3.407947)', '2026-06-09 18:12:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043687 -3.40795)'), GeomFromEWKT('SRID=4674;POINT (-39.043704 -3.407947)'))) / (select extract(epoch from '2026-06-09 18:12:27'::timestamp) - extract(epoch from '2026-06-09 18:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043687 -3.40795)'), GeomFromEWKT('SRID=4674;POINT (-39.043704 -3.407947)'))) / (select extract(epoch from '2026-06-09 18:12:27'::timestamp) - extract(epoch from '2026-06-09 18:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.04372 -3.407951)', '2026-06-09 18:12:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043704 -3.407947)'), GeomFromEWKT('SRID=4674;POINT (-39.04372 -3.407951)'))) / (select extract(epoch from '2026-06-09 18:12:33'::timestamp) - extract(epoch from '2026-06-09 18:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043704 -3.407947)'), GeomFromEWKT('SRID=4674;POINT (-39.04372 -3.407951)'))) / (select extract(epoch from '2026-06-09 18:12:33'::timestamp) - extract(epoch from '2026-06-09 18:12: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'), 46564, 'SRID=4674;POINT (-39.043732 -3.407954)', '2026-06-09 18:12:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04372 -3.407951)'), GeomFromEWKT('SRID=4674;POINT (-39.043732 -3.407954)'))) / (select extract(epoch from '2026-06-09 18:12:41'::timestamp) - extract(epoch from '2026-06-09 18:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04372 -3.407951)'), GeomFromEWKT('SRID=4674;POINT (-39.043732 -3.407954)'))) / (select extract(epoch from '2026-06-09 18:12:41'::timestamp) - extract(epoch from '2026-06-09 18:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.04375 -3.407954)', '2026-06-09 18:12:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043732 -3.407954)'), GeomFromEWKT('SRID=4674;POINT (-39.04375 -3.407954)'))) / (select extract(epoch from '2026-06-09 18:12:50'::timestamp) - extract(epoch from '2026-06-09 18:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043732 -3.407954)'), GeomFromEWKT('SRID=4674;POINT (-39.04375 -3.407954)'))) / (select extract(epoch from '2026-06-09 18:12:50'::timestamp) - extract(epoch from '2026-06-09 18:12:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043765 -3.407947)', '2026-06-09 18:12:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04375 -3.407954)'), GeomFromEWKT('SRID=4674;POINT (-39.043765 -3.407947)'))) / (select extract(epoch from '2026-06-09 18:12:59'::timestamp) - extract(epoch from '2026-06-09 18:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04375 -3.407954)'), GeomFromEWKT('SRID=4674;POINT (-39.043765 -3.407947)'))) / (select extract(epoch from '2026-06-09 18:12:59'::timestamp) - extract(epoch from '2026-06-09 18:12: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'), 46564, 'SRID=4674;POINT (-39.043777 -3.407953)', '2026-06-09 18:13:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043765 -3.407947)'), GeomFromEWKT('SRID=4674;POINT (-39.043777 -3.407953)'))) / (select extract(epoch from '2026-06-09 18:13:04'::timestamp) - extract(epoch from '2026-06-09 18:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043765 -3.407947)'), GeomFromEWKT('SRID=4674;POINT (-39.043777 -3.407953)'))) / (select extract(epoch from '2026-06-09 18:13:04'::timestamp) - extract(epoch from '2026-06-09 18:12: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'), 46564, 'SRID=4674;POINT (-39.043778 -3.407952)', '2026-06-09 18:13:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043777 -3.407953)'), GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.407952)'))) / (select extract(epoch from '2026-06-09 18:13:09'::timestamp) - extract(epoch from '2026-06-09 18:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043777 -3.407953)'), GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.407952)'))) / (select extract(epoch from '2026-06-09 18:13:09'::timestamp) - extract(epoch from '2026-06-09 18:13: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'), 46564, 'SRID=4674;POINT (-39.043786 -3.407947)', '2026-06-09 18:13:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.407952)'), GeomFromEWKT('SRID=4674;POINT (-39.043786 -3.407947)'))) / (select extract(epoch from '2026-06-09 18:13:24'::timestamp) - extract(epoch from '2026-06-09 18:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.407952)'), GeomFromEWKT('SRID=4674;POINT (-39.043786 -3.407947)'))) / (select extract(epoch from '2026-06-09 18:13:24'::timestamp) - extract(epoch from '2026-06-09 18:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.0438 -3.407949)', '2026-06-09 18:13:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043786 -3.407947)'), GeomFromEWKT('SRID=4674;POINT (-39.0438 -3.407949)'))) / (select extract(epoch from '2026-06-09 18:13:33'::timestamp) - extract(epoch from '2026-06-09 18:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043786 -3.407947)'), GeomFromEWKT('SRID=4674;POINT (-39.0438 -3.407949)'))) / (select extract(epoch from '2026-06-09 18:13:33'::timestamp) - extract(epoch from '2026-06-09 18:13: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'), 46564, 'SRID=4674;POINT (-39.043812 -3.407942)', '2026-06-09 18:13:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0438 -3.407949)'), GeomFromEWKT('SRID=4674;POINT (-39.043812 -3.407942)'))) / (select extract(epoch from '2026-06-09 18:13:42'::timestamp) - extract(epoch from '2026-06-09 18:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0438 -3.407949)'), GeomFromEWKT('SRID=4674;POINT (-39.043812 -3.407942)'))) / (select extract(epoch from '2026-06-09 18:13:42'::timestamp) - extract(epoch from '2026-06-09 18:13: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'), 46564, 'SRID=4674;POINT (-39.043831 -3.407943)', '2026-06-09 18:13:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043812 -3.407942)'), GeomFromEWKT('SRID=4674;POINT (-39.043831 -3.407943)'))) / (select extract(epoch from '2026-06-09 18:13:52'::timestamp) - extract(epoch from '2026-06-09 18:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043812 -3.407942)'), GeomFromEWKT('SRID=4674;POINT (-39.043831 -3.407943)'))) / (select extract(epoch from '2026-06-09 18:13:52'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043843 -3.407936)', '2026-06-09 18:13:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043831 -3.407943)'), GeomFromEWKT('SRID=4674;POINT (-39.043843 -3.407936)'))) / (select extract(epoch from '2026-06-09 18:13:59'::timestamp) - extract(epoch from '2026-06-09 18:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043831 -3.407943)'), GeomFromEWKT('SRID=4674;POINT (-39.043843 -3.407936)'))) / (select extract(epoch from '2026-06-09 18:13:59'::timestamp) - extract(epoch from '2026-06-09 18:13: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'), 46564, 'SRID=4674;POINT (-39.04386 -3.407922)', '2026-06-09 18:14:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043843 -3.407936)'), GeomFromEWKT('SRID=4674;POINT (-39.04386 -3.407922)'))) / (select extract(epoch from '2026-06-09 18:14:06'::timestamp) - extract(epoch from '2026-06-09 18:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043843 -3.407936)'), GeomFromEWKT('SRID=4674;POINT (-39.04386 -3.407922)'))) / (select extract(epoch from '2026-06-09 18:14:06'::timestamp) - extract(epoch from '2026-06-09 18:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043871 -3.407922)', '2026-06-09 18:14:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04386 -3.407922)'), GeomFromEWKT('SRID=4674;POINT (-39.043871 -3.407922)'))) / (select extract(epoch from '2026-06-09 18:14:12'::timestamp) - extract(epoch from '2026-06-09 18:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04386 -3.407922)'), GeomFromEWKT('SRID=4674;POINT (-39.043871 -3.407922)'))) / (select extract(epoch from '2026-06-09 18:14:12'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043888 -3.407918)', '2026-06-09 18:14:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043871 -3.407922)'), GeomFromEWKT('SRID=4674;POINT (-39.043888 -3.407918)'))) / (select extract(epoch from '2026-06-09 18:14:21'::timestamp) - extract(epoch from '2026-06-09 18:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043871 -3.407922)'), GeomFromEWKT('SRID=4674;POINT (-39.043888 -3.407918)'))) / (select extract(epoch from '2026-06-09 18:14:21'::timestamp) - extract(epoch from '2026-06-09 18:14: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'), 46564, 'SRID=4674;POINT (-39.043893 -3.407915)', '2026-06-09 18:14:32', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043888 -3.407918)'), GeomFromEWKT('SRID=4674;POINT (-39.043893 -3.407915)'))) / (select extract(epoch from '2026-06-09 18:14:32'::timestamp) - extract(epoch from '2026-06-09 18:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043888 -3.407918)'), GeomFromEWKT('SRID=4674;POINT (-39.043893 -3.407915)'))) / (select extract(epoch from '2026-06-09 18:14:32'::timestamp) - extract(epoch from '2026-06-09 18:14: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'), 46564, 'SRID=4674;POINT (-39.043896 -3.407909)', '2026-06-09 18:14:41', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043893 -3.407915)'), GeomFromEWKT('SRID=4674;POINT (-39.043896 -3.407909)'))) / (select extract(epoch from '2026-06-09 18:14:41'::timestamp) - extract(epoch from '2026-06-09 18:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043893 -3.407915)'), GeomFromEWKT('SRID=4674;POINT (-39.043896 -3.407909)'))) / (select extract(epoch from '2026-06-09 18:14:41'::timestamp) - extract(epoch from '2026-06-09 18:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043917 -3.4079)', '2026-06-09 18:14:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043896 -3.407909)'), GeomFromEWKT('SRID=4674;POINT (-39.043917 -3.4079)'))) / (select extract(epoch from '2026-06-09 18:14:47'::timestamp) - extract(epoch from '2026-06-09 18:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043896 -3.407909)'), GeomFromEWKT('SRID=4674;POINT (-39.043917 -3.4079)'))) / (select extract(epoch from '2026-06-09 18:14:47'::timestamp) - extract(epoch from '2026-06-09 18:14: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'), 46564, 'SRID=4674;POINT (-39.043954 -3.4079)', '2026-06-09 18:14:55', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043917 -3.4079)'), GeomFromEWKT('SRID=4674;POINT (-39.043954 -3.4079)'))) / (select extract(epoch from '2026-06-09 18:14:55'::timestamp) - extract(epoch from '2026-06-09 18:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043917 -3.4079)'), GeomFromEWKT('SRID=4674;POINT (-39.043954 -3.4079)'))) / (select extract(epoch from '2026-06-09 18:14:55'::timestamp) - extract(epoch from '2026-06-09 18:14:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043971 -3.407921)', '2026-06-09 18:15:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043954 -3.4079)'), GeomFromEWKT('SRID=4674;POINT (-39.043971 -3.407921)'))) / (select extract(epoch from '2026-06-09 18:15:04'::timestamp) - extract(epoch from '2026-06-09 18:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043954 -3.4079)'), GeomFromEWKT('SRID=4674;POINT (-39.043971 -3.407921)'))) / (select extract(epoch from '2026-06-09 18:15:04'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043969 -3.407954)', '2026-06-09 18:15:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043971 -3.407921)'), GeomFromEWKT('SRID=4674;POINT (-39.043969 -3.407954)'))) / (select extract(epoch from '2026-06-09 18:15:11'::timestamp) - extract(epoch from '2026-06-09 18:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043971 -3.407921)'), GeomFromEWKT('SRID=4674;POINT (-39.043969 -3.407954)'))) / (select extract(epoch from '2026-06-09 18:15:11'::timestamp) - extract(epoch from '2026-06-09 18:15: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'), 46564, 'SRID=4674;POINT (-39.043959 -3.408002)', '2026-06-09 18:15:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043969 -3.407954)'), GeomFromEWKT('SRID=4674;POINT (-39.043959 -3.408002)'))) / (select extract(epoch from '2026-06-09 18:15:19'::timestamp) - extract(epoch from '2026-06-09 18:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043969 -3.407954)'), GeomFromEWKT('SRID=4674;POINT (-39.043959 -3.408002)'))) / (select extract(epoch from '2026-06-09 18:15:19'::timestamp) - extract(epoch from '2026-06-09 18:15: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'), 46564, 'SRID=4674;POINT (-39.043941 -3.408051)', '2026-06-09 18:15:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043959 -3.408002)'), GeomFromEWKT('SRID=4674;POINT (-39.043941 -3.408051)'))) / (select extract(epoch from '2026-06-09 18:15:26'::timestamp) - extract(epoch from '2026-06-09 18:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043959 -3.408002)'), GeomFromEWKT('SRID=4674;POINT (-39.043941 -3.408051)'))) / (select extract(epoch from '2026-06-09 18:15:26'::timestamp) - extract(epoch from '2026-06-09 18:15: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'), 46564, 'SRID=4674;POINT (-39.043925 -3.408084)', '2026-06-09 18:15:31', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043941 -3.408051)'), GeomFromEWKT('SRID=4674;POINT (-39.043925 -3.408084)'))) / (select extract(epoch from '2026-06-09 18:15:31'::timestamp) - extract(epoch from '2026-06-09 18:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043941 -3.408051)'), GeomFromEWKT('SRID=4674;POINT (-39.043925 -3.408084)'))) / (select extract(epoch from '2026-06-09 18:15:31'::timestamp) - extract(epoch from '2026-06-09 18:15: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'), 46564, 'SRID=4674;POINT (-39.043912 -3.408104)', '2026-06-09 18:15:34', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043925 -3.408084)'), GeomFromEWKT('SRID=4674;POINT (-39.043912 -3.408104)'))) / (select extract(epoch from '2026-06-09 18:15:34'::timestamp) - extract(epoch from '2026-06-09 18:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043925 -3.408084)'), GeomFromEWKT('SRID=4674;POINT (-39.043912 -3.408104)'))) / (select extract(epoch from '2026-06-09 18:15:34'::timestamp) - extract(epoch from '2026-06-09 18:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043909 -3.408126)', '2026-06-09 18:15:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043912 -3.408104)'), GeomFromEWKT('SRID=4674;POINT (-39.043909 -3.408126)'))) / (select extract(epoch from '2026-06-09 18:15:36'::timestamp) - extract(epoch from '2026-06-09 18:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043912 -3.408104)'), GeomFromEWKT('SRID=4674;POINT (-39.043909 -3.408126)'))) / (select extract(epoch from '2026-06-09 18:15:36'::timestamp) - extract(epoch from '2026-06-09 18:15: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'), 46564, 'SRID=4674;POINT (-39.043906 -3.408132)', '2026-06-09 18:15:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043909 -3.408126)'), GeomFromEWKT('SRID=4674;POINT (-39.043906 -3.408132)'))) / (select extract(epoch from '2026-06-09 18:15:37'::timestamp) - extract(epoch from '2026-06-09 18:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043909 -3.408126)'), GeomFromEWKT('SRID=4674;POINT (-39.043906 -3.408132)'))) / (select extract(epoch from '2026-06-09 18:15:37'::timestamp) - extract(epoch from '2026-06-09 18:15: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'), 46564, 'SRID=4674;POINT (-39.043899 -3.408149)', '2026-06-09 18:15:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043906 -3.408132)'), GeomFromEWKT('SRID=4674;POINT (-39.043899 -3.408149)'))) / (select extract(epoch from '2026-06-09 18:15:40'::timestamp) - extract(epoch from '2026-06-09 18:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043906 -3.408132)'), GeomFromEWKT('SRID=4674;POINT (-39.043899 -3.408149)'))) / (select extract(epoch from '2026-06-09 18:15:40'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043896 -3.408169)', '2026-06-09 18:15:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043899 -3.408149)'), GeomFromEWKT('SRID=4674;POINT (-39.043896 -3.408169)'))) / (select extract(epoch from '2026-06-09 18:15:43'::timestamp) - extract(epoch from '2026-06-09 18:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043899 -3.408149)'), GeomFromEWKT('SRID=4674;POINT (-39.043896 -3.408169)'))) / (select extract(epoch from '2026-06-09 18:15:43'::timestamp) - extract(epoch from '2026-06-09 18:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043873 -3.408217)', '2026-06-09 18:15:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043896 -3.408169)'), GeomFromEWKT('SRID=4674;POINT (-39.043873 -3.408217)'))) / (select extract(epoch from '2026-06-09 18:15:51'::timestamp) - extract(epoch from '2026-06-09 18:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043896 -3.408169)'), GeomFromEWKT('SRID=4674;POINT (-39.043873 -3.408217)'))) / (select extract(epoch from '2026-06-09 18:15:51'::timestamp) - extract(epoch from '2026-06-09 18:15: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'), 46564, 'SRID=4674;POINT (-39.04385 -3.408264)', '2026-06-09 18:15:59', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043873 -3.408217)'), GeomFromEWKT('SRID=4674;POINT (-39.04385 -3.408264)'))) / (select extract(epoch from '2026-06-09 18:15:59'::timestamp) - extract(epoch from '2026-06-09 18:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043873 -3.408217)'), GeomFromEWKT('SRID=4674;POINT (-39.04385 -3.408264)'))) / (select extract(epoch from '2026-06-09 18:15:59'::timestamp) - extract(epoch from '2026-06-09 18:15: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'), 46564, 'SRID=4674;POINT (-39.043839 -3.408311)', '2026-06-09 18:16:07', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04385 -3.408264)'), GeomFromEWKT('SRID=4674;POINT (-39.043839 -3.408311)'))) / (select extract(epoch from '2026-06-09 18:16:07'::timestamp) - extract(epoch from '2026-06-09 18:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04385 -3.408264)'), GeomFromEWKT('SRID=4674;POINT (-39.043839 -3.408311)'))) / (select extract(epoch from '2026-06-09 18:16:07'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043835 -3.408325)', '2026-06-09 18:16:09', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043839 -3.408311)'), GeomFromEWKT('SRID=4674;POINT (-39.043835 -3.408325)'))) / (select extract(epoch from '2026-06-09 18:16:09'::timestamp) - extract(epoch from '2026-06-09 18:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043839 -3.408311)'), GeomFromEWKT('SRID=4674;POINT (-39.043835 -3.408325)'))) / (select extract(epoch from '2026-06-09 18:16:09'::timestamp) - extract(epoch from '2026-06-09 18:16: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'), 46564, 'SRID=4674;POINT (-39.043815 -3.408359)', '2026-06-09 18:16:14', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043835 -3.408325)'), GeomFromEWKT('SRID=4674;POINT (-39.043815 -3.408359)'))) / (select extract(epoch from '2026-06-09 18:16:14'::timestamp) - extract(epoch from '2026-06-09 18:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043835 -3.408325)'), GeomFromEWKT('SRID=4674;POINT (-39.043815 -3.408359)'))) / (select extract(epoch from '2026-06-09 18:16:14'::timestamp) - extract(epoch from '2026-06-09 18:16: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'), 46564, 'SRID=4674;POINT (-39.043797 -3.408411)', '2026-06-09 18:16:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043815 -3.408359)'), GeomFromEWKT('SRID=4674;POINT (-39.043797 -3.408411)'))) / (select extract(epoch from '2026-06-09 18:16:22'::timestamp) - extract(epoch from '2026-06-09 18:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043815 -3.408359)'), GeomFromEWKT('SRID=4674;POINT (-39.043797 -3.408411)'))) / (select extract(epoch from '2026-06-09 18:16:22'::timestamp) - extract(epoch from '2026-06-09 18:16: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'), 46564, 'SRID=4674;POINT (-39.04378 -3.408467)', '2026-06-09 18:16:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043797 -3.408411)'), GeomFromEWKT('SRID=4674;POINT (-39.04378 -3.408467)'))) / (select extract(epoch from '2026-06-09 18:16:30'::timestamp) - extract(epoch from '2026-06-09 18:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043797 -3.408411)'), GeomFromEWKT('SRID=4674;POINT (-39.04378 -3.408467)'))) / (select extract(epoch from '2026-06-09 18:16:30'::timestamp) - extract(epoch from '2026-06-09 18:16: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'), 46564, 'SRID=4674;POINT (-39.043763 -3.408512)', '2026-06-09 18:16:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04378 -3.408467)'), GeomFromEWKT('SRID=4674;POINT (-39.043763 -3.408512)'))) / (select extract(epoch from '2026-06-09 18:16:37'::timestamp) - extract(epoch from '2026-06-09 18:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04378 -3.408467)'), GeomFromEWKT('SRID=4674;POINT (-39.043763 -3.408512)'))) / (select extract(epoch from '2026-06-09 18:16:37'::timestamp) - extract(epoch from '2026-06-09 18:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043749 -3.408542)', '2026-06-09 18:16:42', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043763 -3.408512)'), GeomFromEWKT('SRID=4674;POINT (-39.043749 -3.408542)'))) / (select extract(epoch from '2026-06-09 18:16:42'::timestamp) - extract(epoch from '2026-06-09 18:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043763 -3.408512)'), GeomFromEWKT('SRID=4674;POINT (-39.043749 -3.408542)'))) / (select extract(epoch from '2026-06-09 18:16:42'::timestamp) - extract(epoch from '2026-06-09 18:16: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'), 46564, 'SRID=4674;POINT (-39.043736 -3.40859)', '2026-06-09 18:16:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043749 -3.408542)'), GeomFromEWKT('SRID=4674;POINT (-39.043736 -3.40859)'))) / (select extract(epoch from '2026-06-09 18:16:50'::timestamp) - extract(epoch from '2026-06-09 18:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043749 -3.408542)'), GeomFromEWKT('SRID=4674;POINT (-39.043736 -3.40859)'))) / (select extract(epoch from '2026-06-09 18:16:50'::timestamp) - extract(epoch from '2026-06-09 18:16: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'), 46564, 'SRID=4674;POINT (-39.043716 -3.408641)', '2026-06-09 18:16:59', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043736 -3.40859)'), GeomFromEWKT('SRID=4674;POINT (-39.043716 -3.408641)'))) / (select extract(epoch from '2026-06-09 18:16:59'::timestamp) - extract(epoch from '2026-06-09 18:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043736 -3.40859)'), GeomFromEWKT('SRID=4674;POINT (-39.043716 -3.408641)'))) / (select extract(epoch from '2026-06-09 18:16:59'::timestamp) - extract(epoch from '2026-06-09 18:16:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043691 -3.408686)', '2026-06-09 18:17:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043716 -3.408641)'), GeomFromEWKT('SRID=4674;POINT (-39.043691 -3.408686)'))) / (select extract(epoch from '2026-06-09 18:17:07'::timestamp) - extract(epoch from '2026-06-09 18:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043716 -3.408641)'), GeomFromEWKT('SRID=4674;POINT (-39.043691 -3.408686)'))) / (select extract(epoch from '2026-06-09 18:17:07'::timestamp) - extract(epoch from '2026-06-09 18:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043692 -3.408696)', '2026-06-09 18:17:08', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043691 -3.408686)'), GeomFromEWKT('SRID=4674;POINT (-39.043692 -3.408696)'))) / (select extract(epoch from '2026-06-09 18:17:08'::timestamp) - extract(epoch from '2026-06-09 18:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043691 -3.408686)'), GeomFromEWKT('SRID=4674;POINT (-39.043692 -3.408696)'))) / (select extract(epoch from '2026-06-09 18:17:08'::timestamp) - extract(epoch from '2026-06-09 18:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043686 -3.40872)', '2026-06-09 18:17:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043692 -3.408696)'), GeomFromEWKT('SRID=4674;POINT (-39.043686 -3.40872)'))) / (select extract(epoch from '2026-06-09 18:17:12'::timestamp) - extract(epoch from '2026-06-09 18:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043692 -3.408696)'), GeomFromEWKT('SRID=4674;POINT (-39.043686 -3.40872)'))) / (select extract(epoch from '2026-06-09 18:17:12'::timestamp) - extract(epoch from '2026-06-09 18:17: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'), 46564, 'SRID=4674;POINT (-39.043685 -3.408735)', '2026-06-09 18:17:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043686 -3.40872)'), GeomFromEWKT('SRID=4674;POINT (-39.043685 -3.408735)'))) / (select extract(epoch from '2026-06-09 18:17:14'::timestamp) - extract(epoch from '2026-06-09 18:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043686 -3.40872)'), GeomFromEWKT('SRID=4674;POINT (-39.043685 -3.408735)'))) / (select extract(epoch from '2026-06-09 18:17:14'::timestamp) - extract(epoch from '2026-06-09 18:17: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'), 46564, 'SRID=4674;POINT (-39.043681 -3.408757)', '2026-06-09 18:17:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043685 -3.408735)'), GeomFromEWKT('SRID=4674;POINT (-39.043681 -3.408757)'))) / (select extract(epoch from '2026-06-09 18:17:17'::timestamp) - extract(epoch from '2026-06-09 18:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043685 -3.408735)'), GeomFromEWKT('SRID=4674;POINT (-39.043681 -3.408757)'))) / (select extract(epoch from '2026-06-09 18:17:17'::timestamp) - extract(epoch from '2026-06-09 18:17: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'), 46564, 'SRID=4674;POINT (-39.043674 -3.408803)', '2026-06-09 18:17:23', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043681 -3.408757)'), GeomFromEWKT('SRID=4674;POINT (-39.043674 -3.408803)'))) / (select extract(epoch from '2026-06-09 18:17:23'::timestamp) - extract(epoch from '2026-06-09 18:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043681 -3.408757)'), GeomFromEWKT('SRID=4674;POINT (-39.043674 -3.408803)'))) / (select extract(epoch from '2026-06-09 18:17:23'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043659 -3.408834)', '2026-06-09 18:17:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043674 -3.408803)'), GeomFromEWKT('SRID=4674;POINT (-39.043659 -3.408834)'))) / (select extract(epoch from '2026-06-09 18:17:29'::timestamp) - extract(epoch from '2026-06-09 18:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043674 -3.408803)'), GeomFromEWKT('SRID=4674;POINT (-39.043659 -3.408834)'))) / (select extract(epoch from '2026-06-09 18:17:29'::timestamp) - extract(epoch from '2026-06-09 18:17: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'), 46564, 'SRID=4674;POINT (-39.043632 -3.408877)', '2026-06-09 18:17:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043659 -3.408834)'), GeomFromEWKT('SRID=4674;POINT (-39.043632 -3.408877)'))) / (select extract(epoch from '2026-06-09 18:17:37'::timestamp) - extract(epoch from '2026-06-09 18:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043659 -3.408834)'), GeomFromEWKT('SRID=4674;POINT (-39.043632 -3.408877)'))) / (select extract(epoch from '2026-06-09 18:17:37'::timestamp) - extract(epoch from '2026-06-09 18:17: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'), 46564, 'SRID=4674;POINT (-39.043614 -3.408918)', '2026-06-09 18:17:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043632 -3.408877)'), GeomFromEWKT('SRID=4674;POINT (-39.043614 -3.408918)'))) / (select extract(epoch from '2026-06-09 18:17:43'::timestamp) - extract(epoch from '2026-06-09 18:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043632 -3.408877)'), GeomFromEWKT('SRID=4674;POINT (-39.043614 -3.408918)'))) / (select extract(epoch from '2026-06-09 18:17:43'::timestamp) - extract(epoch from '2026-06-09 18:17: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'), 46564, 'SRID=4674;POINT (-39.0436 -3.408954)', '2026-06-09 18:17:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043614 -3.408918)'), GeomFromEWKT('SRID=4674;POINT (-39.0436 -3.408954)'))) / (select extract(epoch from '2026-06-09 18:17:49'::timestamp) - extract(epoch from '2026-06-09 18:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043614 -3.408918)'), GeomFromEWKT('SRID=4674;POINT (-39.0436 -3.408954)'))) / (select extract(epoch from '2026-06-09 18:17:49'::timestamp) - extract(epoch from '2026-06-09 18:17: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'), 46564, 'SRID=4674;POINT (-39.043571 -3.409005)', '2026-06-09 18:17:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0436 -3.408954)'), GeomFromEWKT('SRID=4674;POINT (-39.043571 -3.409005)'))) / (select extract(epoch from '2026-06-09 18:17:58'::timestamp) - extract(epoch from '2026-06-09 18:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0436 -3.408954)'), GeomFromEWKT('SRID=4674;POINT (-39.043571 -3.409005)'))) / (select extract(epoch from '2026-06-09 18:17:58'::timestamp) - extract(epoch from '2026-06-09 18:17: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'), 46564, 'SRID=4674;POINT (-39.043544 -3.409049)', '2026-06-09 18:18:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043571 -3.409005)'), GeomFromEWKT('SRID=4674;POINT (-39.043544 -3.409049)'))) / (select extract(epoch from '2026-06-09 18:18:06'::timestamp) - extract(epoch from '2026-06-09 18:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043571 -3.409005)'), GeomFromEWKT('SRID=4674;POINT (-39.043544 -3.409049)'))) / (select extract(epoch from '2026-06-09 18:18:06'::timestamp) - extract(epoch from '2026-06-09 18:17: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'), 46564, 'SRID=4674;POINT (-39.043521 -3.40911)', '2026-06-09 18:18:16', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043544 -3.409049)'), GeomFromEWKT('SRID=4674;POINT (-39.043521 -3.40911)'))) / (select extract(epoch from '2026-06-09 18:18:16'::timestamp) - extract(epoch from '2026-06-09 18:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043544 -3.409049)'), GeomFromEWKT('SRID=4674;POINT (-39.043521 -3.40911)'))) / (select extract(epoch from '2026-06-09 18:18:16'::timestamp) - extract(epoch from '2026-06-09 18:18: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'), 46564, 'SRID=4674;POINT (-39.043503 -3.409155)', '2026-06-09 18:18:23', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043521 -3.40911)'), GeomFromEWKT('SRID=4674;POINT (-39.043503 -3.409155)'))) / (select extract(epoch from '2026-06-09 18:18:23'::timestamp) - extract(epoch from '2026-06-09 18:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043521 -3.40911)'), GeomFromEWKT('SRID=4674;POINT (-39.043503 -3.409155)'))) / (select extract(epoch from '2026-06-09 18:18:23'::timestamp) - extract(epoch from '2026-06-09 18:18: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'), 46564, 'SRID=4674;POINT (-39.04349 -3.409209)', '2026-06-09 18:18:31', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043503 -3.409155)'), GeomFromEWKT('SRID=4674;POINT (-39.04349 -3.409209)'))) / (select extract(epoch from '2026-06-09 18:18:31'::timestamp) - extract(epoch from '2026-06-09 18:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043503 -3.409155)'), GeomFromEWKT('SRID=4674;POINT (-39.04349 -3.409209)'))) / (select extract(epoch from '2026-06-09 18:18:31'::timestamp) - extract(epoch from '2026-06-09 18:18: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'), 46564, 'SRID=4674;POINT (-39.043458 -3.409268)', '2026-06-09 18:18:40', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04349 -3.409209)'), GeomFromEWKT('SRID=4674;POINT (-39.043458 -3.409268)'))) / (select extract(epoch from '2026-06-09 18:18:40'::timestamp) - extract(epoch from '2026-06-09 18:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04349 -3.409209)'), GeomFromEWKT('SRID=4674;POINT (-39.043458 -3.409268)'))) / (select extract(epoch from '2026-06-09 18:18:40'::timestamp) - extract(epoch from '2026-06-09 18:18: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'), 46564, 'SRID=4674;POINT (-39.043433 -3.409314)', '2026-06-09 18:18:47', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043458 -3.409268)'), GeomFromEWKT('SRID=4674;POINT (-39.043433 -3.409314)'))) / (select extract(epoch from '2026-06-09 18:18:47'::timestamp) - extract(epoch from '2026-06-09 18:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043458 -3.409268)'), GeomFromEWKT('SRID=4674;POINT (-39.043433 -3.409314)'))) / (select extract(epoch from '2026-06-09 18:18:47'::timestamp) - extract(epoch from '2026-06-09 18:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043416 -3.409363)', '2026-06-09 18:18:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043433 -3.409314)'), GeomFromEWKT('SRID=4674;POINT (-39.043416 -3.409363)'))) / (select extract(epoch from '2026-06-09 18:18:54'::timestamp) - extract(epoch from '2026-06-09 18:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043433 -3.409314)'), GeomFromEWKT('SRID=4674;POINT (-39.043416 -3.409363)'))) / (select extract(epoch from '2026-06-09 18:18:54'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043404 -3.409395)', '2026-06-09 18:18:59', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043416 -3.409363)'), GeomFromEWKT('SRID=4674;POINT (-39.043404 -3.409395)'))) / (select extract(epoch from '2026-06-09 18:18:59'::timestamp) - extract(epoch from '2026-06-09 18:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043416 -3.409363)'), GeomFromEWKT('SRID=4674;POINT (-39.043404 -3.409395)'))) / (select extract(epoch from '2026-06-09 18:18:59'::timestamp) - extract(epoch from '2026-06-09 18:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043402 -3.409409)', '2026-06-09 18:19:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043404 -3.409395)'), GeomFromEWKT('SRID=4674;POINT (-39.043402 -3.409409)'))) / (select extract(epoch from '2026-06-09 18:19:01'::timestamp) - extract(epoch from '2026-06-09 18:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043404 -3.409395)'), GeomFromEWKT('SRID=4674;POINT (-39.043402 -3.409409)'))) / (select extract(epoch from '2026-06-09 18:19:01'::timestamp) - extract(epoch from '2026-06-09 18:18: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'), 46564, 'SRID=4674;POINT (-39.043385 -3.409432)', '2026-06-09 18:19:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043402 -3.409409)'), GeomFromEWKT('SRID=4674;POINT (-39.043385 -3.409432)'))) / (select extract(epoch from '2026-06-09 18:19:05'::timestamp) - extract(epoch from '2026-06-09 18:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043402 -3.409409)'), GeomFromEWKT('SRID=4674;POINT (-39.043385 -3.409432)'))) / (select extract(epoch from '2026-06-09 18:19:05'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043378 -3.409445)', '2026-06-09 18:19:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043385 -3.409432)'), GeomFromEWKT('SRID=4674;POINT (-39.043378 -3.409445)'))) / (select extract(epoch from '2026-06-09 18:19:07'::timestamp) - extract(epoch from '2026-06-09 18:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043385 -3.409432)'), GeomFromEWKT('SRID=4674;POINT (-39.043378 -3.409445)'))) / (select extract(epoch from '2026-06-09 18:19:07'::timestamp) - extract(epoch from '2026-06-09 18:19: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'), 46564, 'SRID=4674;POINT (-39.043358 -3.409477)', '2026-06-09 18:19:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043378 -3.409445)'), GeomFromEWKT('SRID=4674;POINT (-39.043358 -3.409477)'))) / (select extract(epoch from '2026-06-09 18:19:14'::timestamp) - extract(epoch from '2026-06-09 18:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043378 -3.409445)'), GeomFromEWKT('SRID=4674;POINT (-39.043358 -3.409477)'))) / (select extract(epoch from '2026-06-09 18:19:14'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043341 -3.409513)', '2026-06-09 18:19:21', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043358 -3.409477)'), GeomFromEWKT('SRID=4674;POINT (-39.043341 -3.409513)'))) / (select extract(epoch from '2026-06-09 18:19:21'::timestamp) - extract(epoch from '2026-06-09 18:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043358 -3.409477)'), GeomFromEWKT('SRID=4674;POINT (-39.043341 -3.409513)'))) / (select extract(epoch from '2026-06-09 18:19:21'::timestamp) - extract(epoch from '2026-06-09 18:19: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'), 46564, 'SRID=4674;POINT (-39.043318 -3.409556)', '2026-06-09 18:19:29', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043341 -3.409513)'), GeomFromEWKT('SRID=4674;POINT (-39.043318 -3.409556)'))) / (select extract(epoch from '2026-06-09 18:19:29'::timestamp) - extract(epoch from '2026-06-09 18:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043341 -3.409513)'), GeomFromEWKT('SRID=4674;POINT (-39.043318 -3.409556)'))) / (select extract(epoch from '2026-06-09 18:19:29'::timestamp) - extract(epoch from '2026-06-09 18:19: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'), 46564, 'SRID=4674;POINT (-39.043294 -3.409604)', '2026-06-09 18:19:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043318 -3.409556)'), GeomFromEWKT('SRID=4674;POINT (-39.043294 -3.409604)'))) / (select extract(epoch from '2026-06-09 18:19:37'::timestamp) - extract(epoch from '2026-06-09 18:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043318 -3.409556)'), GeomFromEWKT('SRID=4674;POINT (-39.043294 -3.409604)'))) / (select extract(epoch from '2026-06-09 18:19:37'::timestamp) - extract(epoch from '2026-06-09 18:19: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'), 46564, 'SRID=4674;POINT (-39.04328 -3.409649)', '2026-06-09 18:19:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043294 -3.409604)'), GeomFromEWKT('SRID=4674;POINT (-39.04328 -3.409649)'))) / (select extract(epoch from '2026-06-09 18:19:43'::timestamp) - extract(epoch from '2026-06-09 18:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043294 -3.409604)'), GeomFromEWKT('SRID=4674;POINT (-39.04328 -3.409649)'))) / (select extract(epoch from '2026-06-09 18:19:43'::timestamp) - extract(epoch from '2026-06-09 18:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.04327 -3.409666)', '2026-06-09 18:19:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04328 -3.409649)'), GeomFromEWKT('SRID=4674;POINT (-39.04327 -3.409666)'))) / (select extract(epoch from '2026-06-09 18:19:46'::timestamp) - extract(epoch from '2026-06-09 18:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04328 -3.409649)'), GeomFromEWKT('SRID=4674;POINT (-39.04327 -3.409666)'))) / (select extract(epoch from '2026-06-09 18:19:46'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043258 -3.409693)', '2026-06-09 18:19:50', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04327 -3.409666)'), GeomFromEWKT('SRID=4674;POINT (-39.043258 -3.409693)'))) / (select extract(epoch from '2026-06-09 18:19:50'::timestamp) - extract(epoch from '2026-06-09 18:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04327 -3.409666)'), GeomFromEWKT('SRID=4674;POINT (-39.043258 -3.409693)'))) / (select extract(epoch from '2026-06-09 18:19:50'::timestamp) - extract(epoch from '2026-06-09 18:19: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'), 46564, 'SRID=4674;POINT (-39.043238 -3.409738)', '2026-06-09 18:19:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043258 -3.409693)'), GeomFromEWKT('SRID=4674;POINT (-39.043238 -3.409738)'))) / (select extract(epoch from '2026-06-09 18:19:58'::timestamp) - extract(epoch from '2026-06-09 18:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043258 -3.409693)'), GeomFromEWKT('SRID=4674;POINT (-39.043238 -3.409738)'))) / (select extract(epoch from '2026-06-09 18:19:58'::timestamp) - extract(epoch from '2026-06-09 18:19: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'), 46564, 'SRID=4674;POINT (-39.043222 -3.409775)', '2026-06-09 18:20:05', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043238 -3.409738)'), GeomFromEWKT('SRID=4674;POINT (-39.043222 -3.409775)'))) / (select extract(epoch from '2026-06-09 18:20:05'::timestamp) - extract(epoch from '2026-06-09 18:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043238 -3.409738)'), GeomFromEWKT('SRID=4674;POINT (-39.043222 -3.409775)'))) / (select extract(epoch from '2026-06-09 18:20:05'::timestamp) - extract(epoch from '2026-06-09 18:19: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'), 46564, 'SRID=4674;POINT (-39.043197 -3.409821)', '2026-06-09 18:20:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043222 -3.409775)'), GeomFromEWKT('SRID=4674;POINT (-39.043197 -3.409821)'))) / (select extract(epoch from '2026-06-09 18:20:13'::timestamp) - extract(epoch from '2026-06-09 18:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043222 -3.409775)'), GeomFromEWKT('SRID=4674;POINT (-39.043197 -3.409821)'))) / (select extract(epoch from '2026-06-09 18:20:13'::timestamp) - extract(epoch from '2026-06-09 18:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043164 -3.409871)', '2026-06-09 18:20:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043197 -3.409821)'), GeomFromEWKT('SRID=4674;POINT (-39.043164 -3.409871)'))) / (select extract(epoch from '2026-06-09 18:20:21'::timestamp) - extract(epoch from '2026-06-09 18:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043197 -3.409821)'), GeomFromEWKT('SRID=4674;POINT (-39.043164 -3.409871)'))) / (select extract(epoch from '2026-06-09 18:20:21'::timestamp) - extract(epoch from '2026-06-09 18:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043151 -3.409891)', '2026-06-09 18:20:24', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043164 -3.409871)'), GeomFromEWKT('SRID=4674;POINT (-39.043151 -3.409891)'))) / (select extract(epoch from '2026-06-09 18:20:24'::timestamp) - extract(epoch from '2026-06-09 18:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043164 -3.409871)'), GeomFromEWKT('SRID=4674;POINT (-39.043151 -3.409891)'))) / (select extract(epoch from '2026-06-09 18:20:24'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043136 -3.409914)', '2026-06-09 18:20:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043151 -3.409891)'), GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.409914)'))) / (select extract(epoch from '2026-06-09 18:20:28'::timestamp) - extract(epoch from '2026-06-09 18:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043151 -3.409891)'), GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.409914)'))) / (select extract(epoch from '2026-06-09 18:20:28'::timestamp) - extract(epoch from '2026-06-09 18:20:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.043106 -3.409966)', '2026-06-09 18:20:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.409914)'), GeomFromEWKT('SRID=4674;POINT (-39.043106 -3.409966)'))) / (select extract(epoch from '2026-06-09 18:20:36'::timestamp) - extract(epoch from '2026-06-09 18:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.409914)'), GeomFromEWKT('SRID=4674;POINT (-39.043106 -3.409966)'))) / (select extract(epoch from '2026-06-09 18:20:36'::timestamp) - extract(epoch from '2026-06-09 18:20: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'), 46564, 'SRID=4674;POINT (-39.043071 -3.41003)', '2026-06-09 18:20:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043106 -3.409966)'), GeomFromEWKT('SRID=4674;POINT (-39.043071 -3.41003)'))) / (select extract(epoch from '2026-06-09 18:20:46'::timestamp) - extract(epoch from '2026-06-09 18:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043106 -3.409966)'), GeomFromEWKT('SRID=4674;POINT (-39.043071 -3.41003)'))) / (select extract(epoch from '2026-06-09 18:20:46'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.043053 -3.41008)', '2026-06-09 18:20:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043071 -3.41003)'), GeomFromEWKT('SRID=4674;POINT (-39.043053 -3.41008)'))) / (select extract(epoch from '2026-06-09 18:20:53'::timestamp) - extract(epoch from '2026-06-09 18:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043071 -3.41003)'), GeomFromEWKT('SRID=4674;POINT (-39.043053 -3.41008)'))) / (select extract(epoch from '2026-06-09 18:20:53'::timestamp) - extract(epoch from '2026-06-09 18:20: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'), 46564, 'SRID=4674;POINT (-39.043026 -3.410142)', '2026-06-09 18:21:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043053 -3.41008)'), GeomFromEWKT('SRID=4674;POINT (-39.043026 -3.410142)'))) / (select extract(epoch from '2026-06-09 18:21:02'::timestamp) - extract(epoch from '2026-06-09 18:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043053 -3.41008)'), GeomFromEWKT('SRID=4674;POINT (-39.043026 -3.410142)'))) / (select extract(epoch from '2026-06-09 18:21:02'::timestamp) - extract(epoch from '2026-06-09 18:20: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'), 46564, 'SRID=4674;POINT (-39.043021 -3.410156)', '2026-06-09 18:21:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043026 -3.410142)'), GeomFromEWKT('SRID=4674;POINT (-39.043021 -3.410156)'))) / (select extract(epoch from '2026-06-09 18:21:04'::timestamp) - extract(epoch from '2026-06-09 18:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043026 -3.410142)'), GeomFromEWKT('SRID=4674;POINT (-39.043021 -3.410156)'))) / (select extract(epoch from '2026-06-09 18:21:04'::timestamp) - extract(epoch from '2026-06-09 18:21: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'), 46564, 'SRID=4674;POINT (-39.043008 -3.410185)', '2026-06-09 18:21:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043021 -3.410156)'), GeomFromEWKT('SRID=4674;POINT (-39.043008 -3.410185)'))) / (select extract(epoch from '2026-06-09 18:21:09'::timestamp) - extract(epoch from '2026-06-09 18:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043021 -3.410156)'), GeomFromEWKT('SRID=4674;POINT (-39.043008 -3.410185)'))) / (select extract(epoch from '2026-06-09 18:21:09'::timestamp) - extract(epoch from '2026-06-09 18:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042988 -3.410238)', '2026-06-09 18:21:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043008 -3.410185)'), GeomFromEWKT('SRID=4674;POINT (-39.042988 -3.410238)'))) / (select extract(epoch from '2026-06-09 18:21:17'::timestamp) - extract(epoch from '2026-06-09 18:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043008 -3.410185)'), GeomFromEWKT('SRID=4674;POINT (-39.042988 -3.410238)'))) / (select extract(epoch from '2026-06-09 18:21:17'::timestamp) - extract(epoch from '2026-06-09 18:21: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'), 46564, 'SRID=4674;POINT (-39.042972 -3.410304)', '2026-06-09 18:21:25', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042988 -3.410238)'), GeomFromEWKT('SRID=4674;POINT (-39.042972 -3.410304)'))) / (select extract(epoch from '2026-06-09 18:21:25'::timestamp) - extract(epoch from '2026-06-09 18:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042988 -3.410238)'), GeomFromEWKT('SRID=4674;POINT (-39.042972 -3.410304)'))) / (select extract(epoch from '2026-06-09 18:21:25'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042941 -3.410354)', '2026-06-09 18:21:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042972 -3.410304)'), GeomFromEWKT('SRID=4674;POINT (-39.042941 -3.410354)'))) / (select extract(epoch from '2026-06-09 18:21:33'::timestamp) - extract(epoch from '2026-06-09 18:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042972 -3.410304)'), GeomFromEWKT('SRID=4674;POINT (-39.042941 -3.410354)'))) / (select extract(epoch from '2026-06-09 18:21:33'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042936 -3.410382)', '2026-06-09 18:21:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042941 -3.410354)'), GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.410382)'))) / (select extract(epoch from '2026-06-09 18:21:36'::timestamp) - extract(epoch from '2026-06-09 18:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042941 -3.410354)'), GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.410382)'))) / (select extract(epoch from '2026-06-09 18:21:36'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042933 -3.41041)', '2026-06-09 18:21:39', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.410382)'), GeomFromEWKT('SRID=4674;POINT (-39.042933 -3.41041)'))) / (select extract(epoch from '2026-06-09 18:21:39'::timestamp) - extract(epoch from '2026-06-09 18:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.410382)'), GeomFromEWKT('SRID=4674;POINT (-39.042933 -3.41041)'))) / (select extract(epoch from '2026-06-09 18:21:39'::timestamp) - extract(epoch from '2026-06-09 18:21:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042922 -3.410429)', '2026-06-09 18:21:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042933 -3.41041)'), GeomFromEWKT('SRID=4674;POINT (-39.042922 -3.410429)'))) / (select extract(epoch from '2026-06-09 18:21:42'::timestamp) - extract(epoch from '2026-06-09 18:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042933 -3.41041)'), GeomFromEWKT('SRID=4674;POINT (-39.042922 -3.410429)'))) / (select extract(epoch from '2026-06-09 18:21:42'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042914 -3.41046)', '2026-06-09 18:21:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042922 -3.410429)'), GeomFromEWKT('SRID=4674;POINT (-39.042914 -3.41046)'))) / (select extract(epoch from '2026-06-09 18:21:46'::timestamp) - extract(epoch from '2026-06-09 18:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042922 -3.410429)'), GeomFromEWKT('SRID=4674;POINT (-39.042914 -3.41046)'))) / (select extract(epoch from '2026-06-09 18:21:46'::timestamp) - extract(epoch from '2026-06-09 18:21:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042899 -3.410497)', '2026-06-09 18:21:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042914 -3.41046)'), GeomFromEWKT('SRID=4674;POINT (-39.042899 -3.410497)'))) / (select extract(epoch from '2026-06-09 18:21:51'::timestamp) - extract(epoch from '2026-06-09 18:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042914 -3.41046)'), GeomFromEWKT('SRID=4674;POINT (-39.042899 -3.410497)'))) / (select extract(epoch from '2026-06-09 18:21:51'::timestamp) - extract(epoch from '2026-06-09 18:21: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'), 46564, 'SRID=4674;POINT (-39.042892 -3.410515)', '2026-06-09 18:21:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042899 -3.410497)'), GeomFromEWKT('SRID=4674;POINT (-39.042892 -3.410515)'))) / (select extract(epoch from '2026-06-09 18:21:54'::timestamp) - extract(epoch from '2026-06-09 18:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042899 -3.410497)'), GeomFromEWKT('SRID=4674;POINT (-39.042892 -3.410515)'))) / (select extract(epoch from '2026-06-09 18:21:54'::timestamp) - extract(epoch from '2026-06-09 18:21: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'), 46564, 'SRID=4674;POINT (-39.042882 -3.41054)', '2026-06-09 18:21:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042892 -3.410515)'), GeomFromEWKT('SRID=4674;POINT (-39.042882 -3.41054)'))) / (select extract(epoch from '2026-06-09 18:21:57'::timestamp) - extract(epoch from '2026-06-09 18:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042892 -3.410515)'), GeomFromEWKT('SRID=4674;POINT (-39.042882 -3.41054)'))) / (select extract(epoch from '2026-06-09 18:21:57'::timestamp) - extract(epoch from '2026-06-09 18:21: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'), 46564, 'SRID=4674;POINT (-39.042857 -3.410577)', '2026-06-09 18:22:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042882 -3.41054)'), GeomFromEWKT('SRID=4674;POINT (-39.042857 -3.410577)'))) / (select extract(epoch from '2026-06-09 18:22:03'::timestamp) - extract(epoch from '2026-06-09 18:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042882 -3.41054)'), GeomFromEWKT('SRID=4674;POINT (-39.042857 -3.410577)'))) / (select extract(epoch from '2026-06-09 18:22:03'::timestamp) - extract(epoch from '2026-06-09 18:21: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'), 46564, 'SRID=4674;POINT (-39.042851 -3.41059)', '2026-06-09 18:22:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042857 -3.410577)'), GeomFromEWKT('SRID=4674;POINT (-39.042851 -3.41059)'))) / (select extract(epoch from '2026-06-09 18:22:05'::timestamp) - extract(epoch from '2026-06-09 18:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042857 -3.410577)'), GeomFromEWKT('SRID=4674;POINT (-39.042851 -3.41059)'))) / (select extract(epoch from '2026-06-09 18:22:05'::timestamp) - extract(epoch from '2026-06-09 18:22: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'), 46564, 'SRID=4674;POINT (-39.042832 -3.410623)', '2026-06-09 18:22:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042851 -3.41059)'), GeomFromEWKT('SRID=4674;POINT (-39.042832 -3.410623)'))) / (select extract(epoch from '2026-06-09 18:22:10'::timestamp) - extract(epoch from '2026-06-09 18:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042851 -3.41059)'), GeomFromEWKT('SRID=4674;POINT (-39.042832 -3.410623)'))) / (select extract(epoch from '2026-06-09 18:22:10'::timestamp) - extract(epoch from '2026-06-09 18:22: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'), 46564, 'SRID=4674;POINT (-39.042808 -3.410668)', '2026-06-09 18:22:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042832 -3.410623)'), GeomFromEWKT('SRID=4674;POINT (-39.042808 -3.410668)'))) / (select extract(epoch from '2026-06-09 18:22:17'::timestamp) - extract(epoch from '2026-06-09 18:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042832 -3.410623)'), GeomFromEWKT('SRID=4674;POINT (-39.042808 -3.410668)'))) / (select extract(epoch from '2026-06-09 18:22:17'::timestamp) - extract(epoch from '2026-06-09 18:22: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'), 46564, 'SRID=4674;POINT (-39.042784 -3.410728)', '2026-06-09 18:22:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042808 -3.410668)'), GeomFromEWKT('SRID=4674;POINT (-39.042784 -3.410728)'))) / (select extract(epoch from '2026-06-09 18:22:26'::timestamp) - extract(epoch from '2026-06-09 18:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042808 -3.410668)'), GeomFromEWKT('SRID=4674;POINT (-39.042784 -3.410728)'))) / (select extract(epoch from '2026-06-09 18:22:26'::timestamp) - extract(epoch from '2026-06-09 18:22: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'), 46564, 'SRID=4674;POINT (-39.042771 -3.410771)', '2026-06-09 18:22:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042784 -3.410728)'), GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.410771)'))) / (select extract(epoch from '2026-06-09 18:22:35'::timestamp) - extract(epoch from '2026-06-09 18:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042784 -3.410728)'), GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.410771)'))) / (select extract(epoch from '2026-06-09 18:22:35'::timestamp) - extract(epoch from '2026-06-09 18:22: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'), 46564, 'SRID=4674;POINT (-39.042777 -3.4108)', '2026-06-09 18:22:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.410771)'), GeomFromEWKT('SRID=4674;POINT (-39.042777 -3.4108)'))) / (select extract(epoch from '2026-06-09 18:22:47'::timestamp) - extract(epoch from '2026-06-09 18:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.410771)'), GeomFromEWKT('SRID=4674;POINT (-39.042777 -3.4108)'))) / (select extract(epoch from '2026-06-09 18:22:47'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042771 -3.410798)', '2026-06-09 18:22:56', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042777 -3.4108)'), GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.410798)'))) / (select extract(epoch from '2026-06-09 18:22:56'::timestamp) - extract(epoch from '2026-06-09 18:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042777 -3.4108)'), GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.410798)'))) / (select extract(epoch from '2026-06-09 18:22:56'::timestamp) - extract(epoch from '2026-06-09 18:22: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'), 46564, 'SRID=4674;POINT (-39.042791 -3.410803)', '2026-06-09 18:23:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.410798)'), GeomFromEWKT('SRID=4674;POINT (-39.042791 -3.410803)'))) / (select extract(epoch from '2026-06-09 18:23:04'::timestamp) - extract(epoch from '2026-06-09 18:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.410798)'), GeomFromEWKT('SRID=4674;POINT (-39.042791 -3.410803)'))) / (select extract(epoch from '2026-06-09 18:23:04'::timestamp) - extract(epoch from '2026-06-09 18:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042801 -3.410791)', '2026-06-09 18:23:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042791 -3.410803)'), GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.410791)'))) / (select extract(epoch from '2026-06-09 18:23:11'::timestamp) - extract(epoch from '2026-06-09 18:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042791 -3.410803)'), GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.410791)'))) / (select extract(epoch from '2026-06-09 18:23:11'::timestamp) - extract(epoch from '2026-06-09 18:23: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'), 46564, 'SRID=4674;POINT (-39.042777 -3.41081)', '2026-06-09 18:23:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.410791)'), GeomFromEWKT('SRID=4674;POINT (-39.042777 -3.41081)'))) / (select extract(epoch from '2026-06-09 18:23:17'::timestamp) - extract(epoch from '2026-06-09 18:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.410791)'), GeomFromEWKT('SRID=4674;POINT (-39.042777 -3.41081)'))) / (select extract(epoch from '2026-06-09 18:23:17'::timestamp) - extract(epoch from '2026-06-09 18:23: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'), 46564, 'SRID=4674;POINT (-39.04273 -3.410856)', '2026-06-09 18:23:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042777 -3.41081)'), GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.410856)'))) / (select extract(epoch from '2026-06-09 18:23:26'::timestamp) - extract(epoch from '2026-06-09 18:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042777 -3.41081)'), GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.410856)'))) / (select extract(epoch from '2026-06-09 18:23:26'::timestamp) - extract(epoch from '2026-06-09 18:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042682 -3.410888)', '2026-06-09 18:23:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.410856)'), GeomFromEWKT('SRID=4674;POINT (-39.042682 -3.410888)'))) / (select extract(epoch from '2026-06-09 18:23:34'::timestamp) - extract(epoch from '2026-06-09 18:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.410856)'), GeomFromEWKT('SRID=4674;POINT (-39.042682 -3.410888)'))) / (select extract(epoch from '2026-06-09 18:23:34'::timestamp) - extract(epoch from '2026-06-09 18:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042675 -3.410893)', '2026-06-09 18:23:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042682 -3.410888)'), GeomFromEWKT('SRID=4674;POINT (-39.042675 -3.410893)'))) / (select extract(epoch from '2026-06-09 18:23:35'::timestamp) - extract(epoch from '2026-06-09 18:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042682 -3.410888)'), GeomFromEWKT('SRID=4674;POINT (-39.042675 -3.410893)'))) / (select extract(epoch from '2026-06-09 18:23:35'::timestamp) - extract(epoch from '2026-06-09 18:23: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'), 46564, 'SRID=4674;POINT (-39.04261 -3.410932)', '2026-06-09 18:23:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042675 -3.410893)'), GeomFromEWKT('SRID=4674;POINT (-39.04261 -3.410932)'))) / (select extract(epoch from '2026-06-09 18:23:44'::timestamp) - extract(epoch from '2026-06-09 18:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042675 -3.410893)'), GeomFromEWKT('SRID=4674;POINT (-39.04261 -3.410932)'))) / (select extract(epoch from '2026-06-09 18:23:44'::timestamp) - extract(epoch from '2026-06-09 18:23: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'), 46564, 'SRID=4674;POINT (-39.042566 -3.410962)', '2026-06-09 18:23:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04261 -3.410932)'), GeomFromEWKT('SRID=4674;POINT (-39.042566 -3.410962)'))) / (select extract(epoch from '2026-06-09 18:23:51'::timestamp) - extract(epoch from '2026-06-09 18:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04261 -3.410932)'), GeomFromEWKT('SRID=4674;POINT (-39.042566 -3.410962)'))) / (select extract(epoch from '2026-06-09 18:23:51'::timestamp) - extract(epoch from '2026-06-09 18:23: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'), 46564, 'SRID=4674;POINT (-39.04255 -3.410963)', '2026-06-09 18:23:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042566 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-39.04255 -3.410963)'))) / (select extract(epoch from '2026-06-09 18:23:53'::timestamp) - extract(epoch from '2026-06-09 18:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042566 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-39.04255 -3.410963)'))) / (select extract(epoch from '2026-06-09 18:23:53'::timestamp) - extract(epoch from '2026-06-09 18:23: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'), 46564, 'SRID=4674;POINT (-39.042534 -3.410964)', '2026-06-09 18:23:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04255 -3.410963)'), GeomFromEWKT('SRID=4674;POINT (-39.042534 -3.410964)'))) / (select extract(epoch from '2026-06-09 18:23:55'::timestamp) - extract(epoch from '2026-06-09 18:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04255 -3.410963)'), GeomFromEWKT('SRID=4674;POINT (-39.042534 -3.410964)'))) / (select extract(epoch from '2026-06-09 18:23:55'::timestamp) - extract(epoch from '2026-06-09 18:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042524 -3.410976)', '2026-06-09 18:23:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042534 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.042524 -3.410976)'))) / (select extract(epoch from '2026-06-09 18:23:57'::timestamp) - extract(epoch from '2026-06-09 18:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042534 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.042524 -3.410976)'))) / (select extract(epoch from '2026-06-09 18:23:57'::timestamp) - extract(epoch from '2026-06-09 18:23: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'), 46564, 'SRID=4674;POINT (-39.04252 -3.41098)', '2026-06-09 18:23:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042524 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.04252 -3.41098)'))) / (select extract(epoch from '2026-06-09 18:23:58'::timestamp) - extract(epoch from '2026-06-09 18:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042524 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.04252 -3.41098)'))) / (select extract(epoch from '2026-06-09 18:23:58'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042477 -3.410997)', '2026-06-09 18:24:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04252 -3.41098)'), GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.410997)'))) / (select extract(epoch from '2026-06-09 18:24:05'::timestamp) - extract(epoch from '2026-06-09 18:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04252 -3.41098)'), GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.410997)'))) / (select extract(epoch from '2026-06-09 18:24:05'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042416 -3.411002)', '2026-06-09 18:24:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.410997)'), GeomFromEWKT('SRID=4674;POINT (-39.042416 -3.411002)'))) / (select extract(epoch from '2026-06-09 18:24:13'::timestamp) - extract(epoch from '2026-06-09 18:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.410997)'), GeomFromEWKT('SRID=4674;POINT (-39.042416 -3.411002)'))) / (select extract(epoch from '2026-06-09 18:24:13'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042379 -3.411016)', '2026-06-09 18:24:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042416 -3.411002)'), GeomFromEWKT('SRID=4674;POINT (-39.042379 -3.411016)'))) / (select extract(epoch from '2026-06-09 18:24:19'::timestamp) - extract(epoch from '2026-06-09 18:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042416 -3.411002)'), GeomFromEWKT('SRID=4674;POINT (-39.042379 -3.411016)'))) / (select extract(epoch from '2026-06-09 18:24:19'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042369 -3.411027)', '2026-06-09 18:24:21', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042379 -3.411016)'), GeomFromEWKT('SRID=4674;POINT (-39.042369 -3.411027)'))) / (select extract(epoch from '2026-06-09 18:24:21'::timestamp) - extract(epoch from '2026-06-09 18:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042379 -3.411016)'), GeomFromEWKT('SRID=4674;POINT (-39.042369 -3.411027)'))) / (select extract(epoch from '2026-06-09 18:24:21'::timestamp) - extract(epoch from '2026-06-09 18:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042345 -3.41103)', '2026-06-09 18:24:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042369 -3.411027)'), GeomFromEWKT('SRID=4674;POINT (-39.042345 -3.41103)'))) / (select extract(epoch from '2026-06-09 18:24:25'::timestamp) - extract(epoch from '2026-06-09 18:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042369 -3.411027)'), GeomFromEWKT('SRID=4674;POINT (-39.042345 -3.41103)'))) / (select extract(epoch from '2026-06-09 18:24:25'::timestamp) - extract(epoch from '2026-06-09 18:24: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'), 46564, 'SRID=4674;POINT (-39.042287 -3.411044)', '2026-06-09 18:24:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042345 -3.41103)'), GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.411044)'))) / (select extract(epoch from '2026-06-09 18:24:34'::timestamp) - extract(epoch from '2026-06-09 18:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042345 -3.41103)'), GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.411044)'))) / (select extract(epoch from '2026-06-09 18:24:34'::timestamp) - extract(epoch from '2026-06-09 18:24: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'), 46564, 'SRID=4674;POINT (-39.042261 -3.411047)', '2026-06-09 18:24:42', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.411044)'), GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.411047)'))) / (select extract(epoch from '2026-06-09 18:24:42'::timestamp) - extract(epoch from '2026-06-09 18:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.411044)'), GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.411047)'))) / (select extract(epoch from '2026-06-09 18:24:42'::timestamp) - extract(epoch from '2026-06-09 18:24: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'), 46564, 'SRID=4674;POINT (-39.042241 -3.411049)', '2026-06-09 18:24:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.411047)'), GeomFromEWKT('SRID=4674;POINT (-39.042241 -3.411049)'))) / (select extract(epoch from '2026-06-09 18:24:51'::timestamp) - extract(epoch from '2026-06-09 18:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.411047)'), GeomFromEWKT('SRID=4674;POINT (-39.042241 -3.411049)'))) / (select extract(epoch from '2026-06-09 18:24:51'::timestamp) - extract(epoch from '2026-06-09 18:24: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'), 46564, 'SRID=4674;POINT (-39.042253 -3.411032)', '2026-06-09 18:25:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042241 -3.411049)'), GeomFromEWKT('SRID=4674;POINT (-39.042253 -3.411032)'))) / (select extract(epoch from '2026-06-09 18:25:04'::timestamp) - extract(epoch from '2026-06-09 18:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042241 -3.411049)'), GeomFromEWKT('SRID=4674;POINT (-39.042253 -3.411032)'))) / (select extract(epoch from '2026-06-09 18:25:04'::timestamp) - extract(epoch from '2026-06-09 18:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042298 -3.411018)', '2026-06-09 18:25:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042253 -3.411032)'), GeomFromEWKT('SRID=4674;POINT (-39.042298 -3.411018)'))) / (select extract(epoch from '2026-06-09 18:25:25'::timestamp) - extract(epoch from '2026-06-09 18:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042253 -3.411032)'), GeomFromEWKT('SRID=4674;POINT (-39.042298 -3.411018)'))) / (select extract(epoch from '2026-06-09 18:25:25'::timestamp) - extract(epoch from '2026-06-09 18:25:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042314 -3.411022)', '2026-06-09 18:25:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042298 -3.411018)'), GeomFromEWKT('SRID=4674;POINT (-39.042314 -3.411022)'))) / (select extract(epoch from '2026-06-09 18:25:45'::timestamp) - extract(epoch from '2026-06-09 18:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042298 -3.411018)'), GeomFromEWKT('SRID=4674;POINT (-39.042314 -3.411022)'))) / (select extract(epoch from '2026-06-09 18:25:45'::timestamp) - extract(epoch from '2026-06-09 18:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042276 -3.41101)', '2026-06-09 18:25:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042314 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.042276 -3.41101)'))) / (select extract(epoch from '2026-06-09 18:25:57'::timestamp) - extract(epoch from '2026-06-09 18:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042314 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.042276 -3.41101)'))) / (select extract(epoch from '2026-06-09 18:25:57'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042234 -3.411016)', '2026-06-09 18:26:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042276 -3.41101)'), GeomFromEWKT('SRID=4674;POINT (-39.042234 -3.411016)'))) / (select extract(epoch from '2026-06-09 18:26:09'::timestamp) - extract(epoch from '2026-06-09 18:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042276 -3.41101)'), GeomFromEWKT('SRID=4674;POINT (-39.042234 -3.411016)'))) / (select extract(epoch from '2026-06-09 18:26:09'::timestamp) - extract(epoch from '2026-06-09 18:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042218 -3.411014)', '2026-06-09 18:26:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042234 -3.411016)'), GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.411014)'))) / (select extract(epoch from '2026-06-09 18:26:22'::timestamp) - extract(epoch from '2026-06-09 18:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042234 -3.411016)'), GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.411014)'))) / (select extract(epoch from '2026-06-09 18:26:22'::timestamp) - extract(epoch from '2026-06-09 18:26: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'), 46564, 'SRID=4674;POINT (-39.042185 -3.411013)', '2026-06-09 18:26:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.411014)'), GeomFromEWKT('SRID=4674;POINT (-39.042185 -3.411013)'))) / (select extract(epoch from '2026-06-09 18:26:31'::timestamp) - extract(epoch from '2026-06-09 18:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.411014)'), GeomFromEWKT('SRID=4674;POINT (-39.042185 -3.411013)'))) / (select extract(epoch from '2026-06-09 18:26:31'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042162 -3.411015)', '2026-06-09 18:26:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042185 -3.411013)'), GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.411015)'))) / (select extract(epoch from '2026-06-09 18:26:38'::timestamp) - extract(epoch from '2026-06-09 18:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042185 -3.411013)'), GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.411015)'))) / (select extract(epoch from '2026-06-09 18:26:38'::timestamp) - extract(epoch from '2026-06-09 18:26: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'), 46564, 'SRID=4674;POINT (-39.042141 -3.411018)', '2026-06-09 18:26:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.411015)'), GeomFromEWKT('SRID=4674;POINT (-39.042141 -3.411018)'))) / (select extract(epoch from '2026-06-09 18:26:47'::timestamp) - extract(epoch from '2026-06-09 18:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.411015)'), GeomFromEWKT('SRID=4674;POINT (-39.042141 -3.411018)'))) / (select extract(epoch from '2026-06-09 18:26:47'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042106 -3.411014)', '2026-06-09 18:27:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042141 -3.411018)'), GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.411014)'))) / (select extract(epoch from '2026-06-09 18:27:03'::timestamp) - extract(epoch from '2026-06-09 18:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042141 -3.411018)'), GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.411014)'))) / (select extract(epoch from '2026-06-09 18:27:03'::timestamp) - extract(epoch from '2026-06-09 18:26: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'), 46564, 'SRID=4674;POINT (-39.042056 -3.411)', '2026-06-09 18:27:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.411014)'), GeomFromEWKT('SRID=4674;POINT (-39.042056 -3.411)'))) / (select extract(epoch from '2026-06-09 18:27:23'::timestamp) - extract(epoch from '2026-06-09 18:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.411014)'), GeomFromEWKT('SRID=4674;POINT (-39.042056 -3.411)'))) / (select extract(epoch from '2026-06-09 18:27:23'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.041999 -3.410987)', '2026-06-09 18:27:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042056 -3.411)'), GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.410987)'))) / (select extract(epoch from '2026-06-09 18:27:44'::timestamp) - extract(epoch from '2026-06-09 18:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042056 -3.411)'), GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.410987)'))) / (select extract(epoch from '2026-06-09 18:27:44'::timestamp) - extract(epoch from '2026-06-09 18:27: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'), 46564, 'SRID=4674;POINT (-39.041982 -3.410981)', '2026-06-09 18:27:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.410987)'), GeomFromEWKT('SRID=4674;POINT (-39.041982 -3.410981)'))) / (select extract(epoch from '2026-06-09 18:27:54'::timestamp) - extract(epoch from '2026-06-09 18:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.410987)'), GeomFromEWKT('SRID=4674;POINT (-39.041982 -3.410981)'))) / (select extract(epoch from '2026-06-09 18:27:54'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042011 -3.410984)', '2026-06-09 18:28:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041982 -3.410981)'), GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410984)'))) / (select extract(epoch from '2026-06-09 18:28:11'::timestamp) - extract(epoch from '2026-06-09 18:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041982 -3.410981)'), GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410984)'))) / (select extract(epoch from '2026-06-09 18:28:11'::timestamp) - extract(epoch from '2026-06-09 18:27: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'), 46564, 'SRID=4674;POINT (-39.042022 -3.410975)', '2026-06-09 18:28:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410984)'), GeomFromEWKT('SRID=4674;POINT (-39.042022 -3.410975)'))) / (select extract(epoch from '2026-06-09 18:28:31'::timestamp) - extract(epoch from '2026-06-09 18:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410984)'), GeomFromEWKT('SRID=4674;POINT (-39.042022 -3.410975)'))) / (select extract(epoch from '2026-06-09 18:28:31'::timestamp) - extract(epoch from '2026-06-09 18:28: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'), 46564, 'SRID=4674;POINT (-39.042041 -3.410976)', '2026-06-09 18:28:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042022 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042041 -3.410976)'))) / (select extract(epoch from '2026-06-09 18:28:58'::timestamp) - extract(epoch from '2026-06-09 18:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042022 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042041 -3.410976)'))) / (select extract(epoch from '2026-06-09 18:28:58'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042048 -3.410974)', '2026-06-09 18:29:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042041 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.410974)'))) / (select extract(epoch from '2026-06-09 18:29:10'::timestamp) - extract(epoch from '2026-06-09 18:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042041 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.410974)'))) / (select extract(epoch from '2026-06-09 18:29:10'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042059 -3.410985)', '2026-06-09 18:29:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.410974)'), GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.410985)'))) / (select extract(epoch from '2026-06-09 18:29:23'::timestamp) - extract(epoch from '2026-06-09 18:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.410974)'), GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.410985)'))) / (select extract(epoch from '2026-06-09 18:29:23'::timestamp) - extract(epoch from '2026-06-09 18:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042065 -3.410989)', '2026-06-09 18:29:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.410985)'), GeomFromEWKT('SRID=4674;POINT (-39.042065 -3.410989)'))) / (select extract(epoch from '2026-06-09 18:29:38'::timestamp) - extract(epoch from '2026-06-09 18:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.410985)'), GeomFromEWKT('SRID=4674;POINT (-39.042065 -3.410989)'))) / (select extract(epoch from '2026-06-09 18:29:38'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042078 -3.410976)', '2026-06-09 18:29:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042065 -3.410989)'), GeomFromEWKT('SRID=4674;POINT (-39.042078 -3.410976)'))) / (select extract(epoch from '2026-06-09 18:29:52'::timestamp) - extract(epoch from '2026-06-09 18:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042065 -3.410989)'), GeomFromEWKT('SRID=4674;POINT (-39.042078 -3.410976)'))) / (select extract(epoch from '2026-06-09 18:29:52'::timestamp) - extract(epoch from '2026-06-09 18:29: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'), 46564, 'SRID=4674;POINT (-39.042089 -3.410975)', '2026-06-09 18:30:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042078 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.042089 -3.410975)'))) / (select extract(epoch from '2026-06-09 18:30:13'::timestamp) - extract(epoch from '2026-06-09 18:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042078 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.042089 -3.410975)'))) / (select extract(epoch from '2026-06-09 18:30:13'::timestamp) - extract(epoch from '2026-06-09 18:29: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'), 46564, 'SRID=4674;POINT (-39.042106 -3.410973)', '2026-06-09 18:30:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042089 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.410973)'))) / (select extract(epoch from '2026-06-09 18:30:31'::timestamp) - extract(epoch from '2026-06-09 18:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042089 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.410973)'))) / (select extract(epoch from '2026-06-09 18:30:31'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042119 -3.410975)', '2026-06-09 18:30:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.410973)'), GeomFromEWKT('SRID=4674;POINT (-39.042119 -3.410975)'))) / (select extract(epoch from '2026-06-09 18:30:40'::timestamp) - extract(epoch from '2026-06-09 18:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.410973)'), GeomFromEWKT('SRID=4674;POINT (-39.042119 -3.410975)'))) / (select extract(epoch from '2026-06-09 18:30:40'::timestamp) - extract(epoch from '2026-06-09 18:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042129 -3.410964)', '2026-06-09 18:30:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042119 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042129 -3.410964)'))) / (select extract(epoch from '2026-06-09 18:30:59'::timestamp) - extract(epoch from '2026-06-09 18:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042119 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042129 -3.410964)'))) / (select extract(epoch from '2026-06-09 18:30:59'::timestamp) - extract(epoch from '2026-06-09 18:30: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'), 46564, 'SRID=4674;POINT (-39.042137 -3.410971)', '2026-06-09 18:31:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042129 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.042137 -3.410971)'))) / (select extract(epoch from '2026-06-09 18:31:12'::timestamp) - extract(epoch from '2026-06-09 18:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042129 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.042137 -3.410971)'))) / (select extract(epoch from '2026-06-09 18:31:12'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042151 -3.410976)', '2026-06-09 18:31:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042137 -3.410971)'), GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.410976)'))) / (select extract(epoch from '2026-06-09 18:31:23'::timestamp) - extract(epoch from '2026-06-09 18:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042137 -3.410971)'), GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.410976)'))) / (select extract(epoch from '2026-06-09 18:31:23'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042162 -3.410969)', '2026-06-09 18:31:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.410969)'))) / (select extract(epoch from '2026-06-09 18:31:36'::timestamp) - extract(epoch from '2026-06-09 18:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.410969)'))) / (select extract(epoch from '2026-06-09 18:31:36'::timestamp) - extract(epoch from '2026-06-09 18:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042172 -3.410955)', '2026-06-09 18:31:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.410969)'), GeomFromEWKT('SRID=4674;POINT (-39.042172 -3.410955)'))) / (select extract(epoch from '2026-06-09 18:31:55'::timestamp) - extract(epoch from '2026-06-09 18:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.410969)'), GeomFromEWKT('SRID=4674;POINT (-39.042172 -3.410955)'))) / (select extract(epoch from '2026-06-09 18:31:55'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.04217 -3.410956)', '2026-06-09 18:32:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042172 -3.410955)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410956)'))) / (select extract(epoch from '2026-06-09 18:32:19'::timestamp) - extract(epoch from '2026-06-09 18:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042172 -3.410955)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410956)'))) / (select extract(epoch from '2026-06-09 18:32:19'::timestamp) - extract(epoch from '2026-06-09 18:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042179 -3.410962)', '2026-06-09 18:32:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410956)'), GeomFromEWKT('SRID=4674;POINT (-39.042179 -3.410962)'))) / (select extract(epoch from '2026-06-09 18:32:43'::timestamp) - extract(epoch from '2026-06-09 18:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410956)'), GeomFromEWKT('SRID=4674;POINT (-39.042179 -3.410962)'))) / (select extract(epoch from '2026-06-09 18:32:43'::timestamp) - extract(epoch from '2026-06-09 18:32: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'), 46564, 'SRID=4674;POINT (-39.042188 -3.410971)', '2026-06-09 18:32:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042179 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-39.042188 -3.410971)'))) / (select extract(epoch from '2026-06-09 18:32:56'::timestamp) - extract(epoch from '2026-06-09 18:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042179 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-39.042188 -3.410971)'))) / (select extract(epoch from '2026-06-09 18:32:56'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042197 -3.410972)', '2026-06-09 18:33:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042188 -3.410971)'), GeomFromEWKT('SRID=4674;POINT (-39.042197 -3.410972)'))) / (select extract(epoch from '2026-06-09 18:33:06'::timestamp) - extract(epoch from '2026-06-09 18:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042188 -3.410971)'), GeomFromEWKT('SRID=4674;POINT (-39.042197 -3.410972)'))) / (select extract(epoch from '2026-06-09 18:33:06'::timestamp) - extract(epoch from '2026-06-09 18:32: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'), 46564, 'SRID=4674;POINT (-39.042211 -3.410975)', '2026-06-09 18:33:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042197 -3.410972)'), GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.410975)'))) / (select extract(epoch from '2026-06-09 18:33:18'::timestamp) - extract(epoch from '2026-06-09 18:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042197 -3.410972)'), GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.410975)'))) / (select extract(epoch from '2026-06-09 18:33:18'::timestamp) - extract(epoch from '2026-06-09 18:33: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'), 46564, 'SRID=4674;POINT (-39.042212 -3.41098)', '2026-06-09 18:33:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.41098)'))) / (select extract(epoch from '2026-06-09 18:33:25'::timestamp) - extract(epoch from '2026-06-09 18:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.41098)'))) / (select extract(epoch from '2026-06-09 18:33:25'::timestamp) - extract(epoch from '2026-06-09 18:33: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'), 46564, 'SRID=4674;POINT (-39.042214 -3.410979)', '2026-06-09 18:33:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.41098)'), GeomFromEWKT('SRID=4674;POINT (-39.042214 -3.410979)'))) / (select extract(epoch from '2026-06-09 18:33:37'::timestamp) - extract(epoch from '2026-06-09 18:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.41098)'), GeomFromEWKT('SRID=4674;POINT (-39.042214 -3.410979)'))) / (select extract(epoch from '2026-06-09 18:33:37'::timestamp) - extract(epoch from '2026-06-09 18:33: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'), 46564, 'SRID=4674;POINT (-39.042213 -3.41098)', '2026-06-09 18:33:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042214 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.042213 -3.41098)'))) / (select extract(epoch from '2026-06-09 18:33:50'::timestamp) - extract(epoch from '2026-06-09 18:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042214 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.042213 -3.41098)'))) / (select extract(epoch from '2026-06-09 18:33:50'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042218 -3.410985)', '2026-06-09 18:34:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042213 -3.41098)'), GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.410985)'))) / (select extract(epoch from '2026-06-09 18:34:03'::timestamp) - extract(epoch from '2026-06-09 18:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042213 -3.41098)'), GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.410985)'))) / (select extract(epoch from '2026-06-09 18:34:03'::timestamp) - extract(epoch from '2026-06-09 18:33: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'), 46564, 'SRID=4674;POINT (-39.042229 -3.410982)', '2026-06-09 18:34:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.410985)'), GeomFromEWKT('SRID=4674;POINT (-39.042229 -3.410982)'))) / (select extract(epoch from '2026-06-09 18:34:11'::timestamp) - extract(epoch from '2026-06-09 18:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.410985)'), GeomFromEWKT('SRID=4674;POINT (-39.042229 -3.410982)'))) / (select extract(epoch from '2026-06-09 18:34:11'::timestamp) - extract(epoch from '2026-06-09 18:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042242 -3.410978)', '2026-06-09 18:34:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042229 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.410978)'))) / (select extract(epoch from '2026-06-09 18:34:24'::timestamp) - extract(epoch from '2026-06-09 18:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042229 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.410978)'))) / (select extract(epoch from '2026-06-09 18:34:24'::timestamp) - extract(epoch from '2026-06-09 18:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042249 -3.410976)', '2026-06-09 18:34:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.410978)'), GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.410976)'))) / (select extract(epoch from '2026-06-09 18:34:35'::timestamp) - extract(epoch from '2026-06-09 18:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.410978)'), GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.410976)'))) / (select extract(epoch from '2026-06-09 18:34:35'::timestamp) - extract(epoch from '2026-06-09 18:34: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'), 46564, 'SRID=4674;POINT (-39.042256 -3.410977)', '2026-06-09 18:34:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.042256 -3.410977)'))) / (select extract(epoch from '2026-06-09 18:34:45'::timestamp) - extract(epoch from '2026-06-09 18:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.042256 -3.410977)'))) / (select extract(epoch from '2026-06-09 18:34:45'::timestamp) - extract(epoch from '2026-06-09 18:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042267 -3.410979)', '2026-06-09 18:34:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042256 -3.410977)'), GeomFromEWKT('SRID=4674;POINT (-39.042267 -3.410979)'))) / (select extract(epoch from '2026-06-09 18:34:57'::timestamp) - extract(epoch from '2026-06-09 18:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042256 -3.410977)'), GeomFromEWKT('SRID=4674;POINT (-39.042267 -3.410979)'))) / (select extract(epoch from '2026-06-09 18:34:57'::timestamp) - extract(epoch from '2026-06-09 18:34: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'), 46564, 'SRID=4674;POINT (-39.042294 -3.410981)', '2026-06-09 18:35:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042267 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.410981)'))) / (select extract(epoch from '2026-06-09 18:35:09'::timestamp) - extract(epoch from '2026-06-09 18:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042267 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.410981)'))) / (select extract(epoch from '2026-06-09 18:35:09'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042329 -3.410977)', '2026-06-09 18:35:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.410981)'), GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.410977)'))) / (select extract(epoch from '2026-06-09 18:35:18'::timestamp) - extract(epoch from '2026-06-09 18:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.410981)'), GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.410977)'))) / (select extract(epoch from '2026-06-09 18:35:18'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46564, 'SRID=4674;POINT (-39.042345 -3.410978)', '2026-06-09 18:35:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.410977)'), GeomFromEWKT('SRID=4674;POINT (-39.042345 -3.410978)'))) / (select extract(epoch from '2026-06-09 18:35:26'::timestamp) - extract(epoch from '2026-06-09 18:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.410977)'), GeomFromEWKT('SRID=4674;POINT (-39.042345 -3.410978)'))) / (select extract(epoch from '2026-06-09 18:35:26'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46564, 'SRID=4674;POINT (-39.042339 -3.410967)', '2026-06-09 18:35:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042345 -3.410978)'), GeomFromEWKT('SRID=4674;POINT (-39.042339 -3.410967)'))) / (select extract(epoch from '2026-06-09 18:35:32'::timestamp) - extract(epoch from '2026-06-09 18:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042345 -3.410978)'), GeomFromEWKT('SRID=4674;POINT (-39.042339 -3.410967)'))) / (select extract(epoch from '2026-06-09 18:35:32'::timestamp) - extract(epoch from '2026-06-09 18:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042295 -3.410959)', '2026-06-09 18:35:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042339 -3.410967)'), GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.410959)'))) / (select extract(epoch from '2026-06-09 18:35:39'::timestamp) - extract(epoch from '2026-06-09 18:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042339 -3.410967)'), GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.410959)'))) / (select extract(epoch from '2026-06-09 18:35:39'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46564, 'SRID=4674;POINT (-39.042231 -3.41098)', '2026-06-09 18:35:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.410959)'), GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.41098)'))) / (select extract(epoch from '2026-06-09 18:35:48'::timestamp) - extract(epoch from '2026-06-09 18:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.410959)'), GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.41098)'))) / (select extract(epoch from '2026-06-09 18:35:48'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.042161 -3.411005)', '2026-06-09 18:35:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.41098)'), GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.411005)'))) / (select extract(epoch from '2026-06-09 18:35:56'::timestamp) - extract(epoch from '2026-06-09 18:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.41098)'), GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.411005)'))) / (select extract(epoch from '2026-06-09 18:35:56'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46564, 'SRID=4674;POINT (-39.042152 -3.411005)', '2026-06-09 18:35:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.411005)'), GeomFromEWKT('SRID=4674;POINT (-39.042152 -3.411005)'))) / (select extract(epoch from '2026-06-09 18:35:57'::timestamp) - extract(epoch from '2026-06-09 18:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.411005)'), GeomFromEWKT('SRID=4674;POINT (-39.042152 -3.411005)'))) / (select extract(epoch from '2026-06-09 18:35:57'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46564, 'SRID=4674;POINT (-39.042117 -3.411013)', '2026-06-09 18:36:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042152 -3.411005)'), GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.411013)'))) / (select extract(epoch from '2026-06-09 18:36:01'::timestamp) - extract(epoch from '2026-06-09 18:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042152 -3.411005)'), GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.411013)'))) / (select extract(epoch from '2026-06-09 18:36:01'::timestamp) - extract(epoch from '2026-06-09 18:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042095 -3.411023)', '2026-06-09 18:36:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.411013)'), GeomFromEWKT('SRID=4674;POINT (-39.042095 -3.411023)'))) / (select extract(epoch from '2026-06-09 18:36:04'::timestamp) - extract(epoch from '2026-06-09 18:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.411013)'), GeomFromEWKT('SRID=4674;POINT (-39.042095 -3.411023)'))) / (select extract(epoch from '2026-06-09 18:36:04'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46564, 'SRID=4674;POINT (-39.042085 -3.411024)', '2026-06-09 18:36:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042095 -3.411023)'), GeomFromEWKT('SRID=4674;POINT (-39.042085 -3.411024)'))) / (select extract(epoch from '2026-06-09 18:36:05'::timestamp) - extract(epoch from '2026-06-09 18:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042095 -3.411023)'), GeomFromEWKT('SRID=4674;POINT (-39.042085 -3.411024)'))) / (select extract(epoch from '2026-06-09 18:36:05'::timestamp) - extract(epoch from '2026-06-09 18:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.042047 -3.411035)', '2026-06-09 18:36:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042085 -3.411024)'), GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.411035)'))) / (select extract(epoch from '2026-06-09 18:36:10'::timestamp) - extract(epoch from '2026-06-09 18:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042085 -3.411024)'), GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.411035)'))) / (select extract(epoch from '2026-06-09 18:36:10'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46564, 'SRID=4674;POINT (-39.041997 -3.41105)', '2026-06-09 18:36:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.411035)'), GeomFromEWKT('SRID=4674;POINT (-39.041997 -3.41105)'))) / (select extract(epoch from '2026-06-09 18:36:16'::timestamp) - extract(epoch from '2026-06-09 18:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.411035)'), GeomFromEWKT('SRID=4674;POINT (-39.041997 -3.41105)'))) / (select extract(epoch from '2026-06-09 18:36:16'::timestamp) - extract(epoch from '2026-06-09 18:36:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041952 -3.411055)', '2026-06-09 18:36:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041997 -3.41105)'), GeomFromEWKT('SRID=4674;POINT (-39.041952 -3.411055)'))) / (select extract(epoch from '2026-06-09 18:36:21'::timestamp) - extract(epoch from '2026-06-09 18:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041997 -3.41105)'), GeomFromEWKT('SRID=4674;POINT (-39.041952 -3.411055)'))) / (select extract(epoch from '2026-06-09 18:36:21'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46564, 'SRID=4674;POINT (-39.041934 -3.411059)', '2026-06-09 18:36:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041952 -3.411055)'), GeomFromEWKT('SRID=4674;POINT (-39.041934 -3.411059)'))) / (select extract(epoch from '2026-06-09 18:36:23'::timestamp) - extract(epoch from '2026-06-09 18:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041952 -3.411055)'), GeomFromEWKT('SRID=4674;POINT (-39.041934 -3.411059)'))) / (select extract(epoch from '2026-06-09 18:36:23'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46564, 'SRID=4674;POINT (-39.041908 -3.411057)', '2026-06-09 18:36:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041934 -3.411059)'), GeomFromEWKT('SRID=4674;POINT (-39.041908 -3.411057)'))) / (select extract(epoch from '2026-06-09 18:36:26'::timestamp) - extract(epoch from '2026-06-09 18:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041934 -3.411059)'), GeomFromEWKT('SRID=4674;POINT (-39.041908 -3.411057)'))) / (select extract(epoch from '2026-06-09 18:36:26'::timestamp) - extract(epoch from '2026-06-09 18:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041884 -3.411066)', '2026-06-09 18:36:29', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041908 -3.411057)'), GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.411066)'))) / (select extract(epoch from '2026-06-09 18:36:29'::timestamp) - extract(epoch from '2026-06-09 18:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041908 -3.411057)'), GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.411066)'))) / (select extract(epoch from '2026-06-09 18:36:29'::timestamp) - extract(epoch from '2026-06-09 18:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041822 -3.411072)', '2026-06-09 18:36:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.411066)'), GeomFromEWKT('SRID=4674;POINT (-39.041822 -3.411072)'))) / (select extract(epoch from '2026-06-09 18:36:37'::timestamp) - extract(epoch from '2026-06-09 18:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.411066)'), GeomFromEWKT('SRID=4674;POINT (-39.041822 -3.411072)'))) / (select extract(epoch from '2026-06-09 18:36:37'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46564, 'SRID=4674;POINT (-39.041791 -3.411084)', '2026-06-09 18:36:41', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041822 -3.411072)'), GeomFromEWKT('SRID=4674;POINT (-39.041791 -3.411084)'))) / (select extract(epoch from '2026-06-09 18:36:41'::timestamp) - extract(epoch from '2026-06-09 18:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041822 -3.411072)'), GeomFromEWKT('SRID=4674;POINT (-39.041791 -3.411084)'))) / (select extract(epoch from '2026-06-09 18:36:41'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46564, 'SRID=4674;POINT (-39.041776 -3.41109)', '2026-06-09 18:36:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041791 -3.411084)'), GeomFromEWKT('SRID=4674;POINT (-39.041776 -3.41109)'))) / (select extract(epoch from '2026-06-09 18:36:43'::timestamp) - extract(epoch from '2026-06-09 18:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041791 -3.411084)'), GeomFromEWKT('SRID=4674;POINT (-39.041776 -3.41109)'))) / (select extract(epoch from '2026-06-09 18:36:43'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.041768 -3.411088)', '2026-06-09 18:36:44', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041776 -3.41109)'), GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.411088)'))) / (select extract(epoch from '2026-06-09 18:36:44'::timestamp) - extract(epoch from '2026-06-09 18:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041776 -3.41109)'), GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.411088)'))) / (select extract(epoch from '2026-06-09 18:36:44'::timestamp) - extract(epoch from '2026-06-09 18:36:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.04176 -3.411088)', '2026-06-09 18:36:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.411088)'), GeomFromEWKT('SRID=4674;POINT (-39.04176 -3.411088)'))) / (select extract(epoch from '2026-06-09 18:36:45'::timestamp) - extract(epoch from '2026-06-09 18:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.411088)'), GeomFromEWKT('SRID=4674;POINT (-39.04176 -3.411088)'))) / (select extract(epoch from '2026-06-09 18:36:45'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.041743 -3.411092)', '2026-06-09 18:36:47', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04176 -3.411088)'), GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.411092)'))) / (select extract(epoch from '2026-06-09 18:36:47'::timestamp) - extract(epoch from '2026-06-09 18:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04176 -3.411088)'), GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.411092)'))) / (select extract(epoch from '2026-06-09 18:36:47'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46564, 'SRID=4674;POINT (-39.041716 -3.411098)', '2026-06-09 18:36:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.411092)'), GeomFromEWKT('SRID=4674;POINT (-39.041716 -3.411098)'))) / (select extract(epoch from '2026-06-09 18:36:50'::timestamp) - extract(epoch from '2026-06-09 18:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.411092)'), GeomFromEWKT('SRID=4674;POINT (-39.041716 -3.411098)'))) / (select extract(epoch from '2026-06-09 18:36:50'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46564, 'SRID=4674;POINT (-39.041668 -3.411107)', '2026-06-09 18:36:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041716 -3.411098)'), GeomFromEWKT('SRID=4674;POINT (-39.041668 -3.411107)'))) / (select extract(epoch from '2026-06-09 18:36:56'::timestamp) - extract(epoch from '2026-06-09 18:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041716 -3.411098)'), GeomFromEWKT('SRID=4674;POINT (-39.041668 -3.411107)'))) / (select extract(epoch from '2026-06-09 18:36:56'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.041659 -3.411108)', '2026-06-09 18:36:57', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041668 -3.411107)'), GeomFromEWKT('SRID=4674;POINT (-39.041659 -3.411108)'))) / (select extract(epoch from '2026-06-09 18:36:57'::timestamp) - extract(epoch from '2026-06-09 18:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041668 -3.411107)'), GeomFromEWKT('SRID=4674;POINT (-39.041659 -3.411108)'))) / (select extract(epoch from '2026-06-09 18:36:57'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46564, 'SRID=4674;POINT (-39.041618 -3.411116)', '2026-06-09 18:37:02', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041659 -3.411108)'), GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.411116)'))) / (select extract(epoch from '2026-06-09 18:37:02'::timestamp) - extract(epoch from '2026-06-09 18:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041659 -3.411108)'), GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.411116)'))) / (select extract(epoch from '2026-06-09 18:37:02'::timestamp) - extract(epoch from '2026-06-09 18:36:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46564, 'SRID=4674;POINT (-39.041609 -3.411115)', '2026-06-09 18:37:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.411116)'), GeomFromEWKT('SRID=4674;POINT (-39.041609 -3.411115)'))) / (select extract(epoch from '2026-06-09 18:37:03'::timestamp) - extract(epoch from '2026-06-09 18:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.411116)'), GeomFromEWKT('SRID=4674;POINT (-39.041609 -3.411115)'))) / (select extract(epoch from '2026-06-09 18:37:03'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46564, 'SRID=4674;POINT (-39.041553 -3.411123)', '2026-06-09 18:37:09', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041609 -3.411115)'), GeomFromEWKT('SRID=4674;POINT (-39.041553 -3.411123)'))) / (select extract(epoch from '2026-06-09 18:37:09'::timestamp) - extract(epoch from '2026-06-09 18:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041609 -3.411115)'), GeomFromEWKT('SRID=4674;POINT (-39.041553 -3.411123)'))) / (select extract(epoch from '2026-06-09 18:37:09'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46564, 'SRID=4674;POINT (-39.041544 -3.411124)', '2026-06-09 18:37:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041553 -3.411123)'), GeomFromEWKT('SRID=4674;POINT (-39.041544 -3.411124)'))) / (select extract(epoch from '2026-06-09 18:37:10'::timestamp) - extract(epoch from '2026-06-09 18:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041553 -3.411123)'), GeomFromEWKT('SRID=4674;POINT (-39.041544 -3.411124)'))) / (select extract(epoch from '2026-06-09 18:37:10'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46564, 'SRID=4674;POINT (-39.041503 -3.411127)', '2026-06-09 18:37:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041544 -3.411124)'), GeomFromEWKT('SRID=4674;POINT (-39.041503 -3.411127)'))) / (select extract(epoch from '2026-06-09 18:37:15'::timestamp) - extract(epoch from '2026-06-09 18:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041544 -3.411124)'), GeomFromEWKT('SRID=4674;POINT (-39.041503 -3.411127)'))) / (select extract(epoch from '2026-06-09 18:37:15'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46564, 'SRID=4674;POINT (-39.041434 -3.411141)', '2026-06-09 18:37:23', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041503 -3.411127)'), GeomFromEWKT('SRID=4674;POINT (-39.041434 -3.411141)'))) / (select extract(epoch from '2026-06-09 18:37:23'::timestamp) - extract(epoch from '2026-06-09 18:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041503 -3.411127)'), GeomFromEWKT('SRID=4674;POINT (-39.041434 -3.411141)'))) / (select extract(epoch from '2026-06-09 18:37:23'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46564, 'SRID=4674;POINT (-39.041354 -3.411153)', '2026-06-09 18:37:32', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041434 -3.411141)'), GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.411153)'))) / (select extract(epoch from '2026-06-09 18:37:32'::timestamp) - extract(epoch from '2026-06-09 18:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041434 -3.411141)'), GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.411153)'))) / (select extract(epoch from '2026-06-09 18:37:32'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46564, 'SRID=4674;POINT (-39.041314 -3.411158)', '2026-06-09 18:37:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.411153)'), GeomFromEWKT('SRID=4674;POINT (-39.041314 -3.411158)'))) / (select extract(epoch from '2026-06-09 18:37:37'::timestamp) - extract(epoch from '2026-06-09 18:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.411153)'), GeomFromEWKT('SRID=4674;POINT (-39.041314 -3.411158)'))) / (select extract(epoch from '2026-06-09 18:37:37'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46564, 'SRID=4674;POINT (-39.041296 -3.411167)', '2026-06-09 18:37:39', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041314 -3.411158)'), GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.411167)'))) / (select extract(epoch from '2026-06-09 18:37:39'::timestamp) - extract(epoch from '2026-06-09 18:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041314 -3.411158)'), GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.411167)'))) / (select extract(epoch from '2026-06-09 18:37:39'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46564, 'SRID=4674;POINT (-39.041279 -3.411173)', '2026-06-09 18:37:41', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.411167)'), GeomFromEWKT('SRID=4674;POINT (-39.041279 -3.411173)'))) / (select extract(epoch from '2026-06-09 18:37:41'::timestamp) - extract(epoch from '2026-06-09 18:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.411167)'), GeomFromEWKT('SRID=4674;POINT (-39.041279 -3.411173)'))) / (select extract(epoch from '2026-06-09 18:37:41'::timestamp) - extract(epoch from '2026-06-09 18:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
