 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525427 -3.579793)', '2026-07-18 17:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525403 -3.579701)'), GeomFromEWKT('SRID=4674;POINT (-38.525427 -3.579793)'))) / (select extract(epoch from '2026-07-18 17:16:45'::timestamp) - extract(epoch from '2026-07-18 17:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525403 -3.579701)'), GeomFromEWKT('SRID=4674;POINT (-38.525427 -3.579793)'))) / (select extract(epoch from '2026-07-18 17:16:45'::timestamp) - extract(epoch from '2026-07-18 17:16: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'), 47391, 'SRID=4674;POINT (-38.525442 -3.579901)', '2026-07-18 17:16:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525427 -3.579793)'), GeomFromEWKT('SRID=4674;POINT (-38.525442 -3.579901)'))) / (select extract(epoch from '2026-07-18 17:16:51'::timestamp) - extract(epoch from '2026-07-18 17:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525427 -3.579793)'), GeomFromEWKT('SRID=4674;POINT (-38.525442 -3.579901)'))) / (select extract(epoch from '2026-07-18 17:16:51'::timestamp) - extract(epoch from '2026-07-18 17:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525453 -3.579986)', '2026-07-18 17:16:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525442 -3.579901)'), GeomFromEWKT('SRID=4674;POINT (-38.525453 -3.579986)'))) / (select extract(epoch from '2026-07-18 17:16:56'::timestamp) - extract(epoch from '2026-07-18 17:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525442 -3.579901)'), GeomFromEWKT('SRID=4674;POINT (-38.525453 -3.579986)'))) / (select extract(epoch from '2026-07-18 17:16:56'::timestamp) - extract(epoch from '2026-07-18 17:16: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'), 47391, 'SRID=4674;POINT (-38.525467 -3.580018)', '2026-07-18 17:16:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525453 -3.579986)'), GeomFromEWKT('SRID=4674;POINT (-38.525467 -3.580018)'))) / (select extract(epoch from '2026-07-18 17:16:58'::timestamp) - extract(epoch from '2026-07-18 17:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525453 -3.579986)'), GeomFromEWKT('SRID=4674;POINT (-38.525467 -3.580018)'))) / (select extract(epoch from '2026-07-18 17:16:58'::timestamp) - extract(epoch from '2026-07-18 17:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525473 -3.580046)', '2026-07-18 17:17:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525467 -3.580018)'), GeomFromEWKT('SRID=4674;POINT (-38.525473 -3.580046)'))) / (select extract(epoch from '2026-07-18 17:17:01'::timestamp) - extract(epoch from '2026-07-18 17:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525467 -3.580018)'), GeomFromEWKT('SRID=4674;POINT (-38.525473 -3.580046)'))) / (select extract(epoch from '2026-07-18 17:17:01'::timestamp) - extract(epoch from '2026-07-18 17:16: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'), 47391, 'SRID=4674;POINT (-38.52552 -3.58012)', '2026-07-18 17:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525473 -3.580046)'), GeomFromEWKT('SRID=4674;POINT (-38.52552 -3.58012)'))) / (select extract(epoch from '2026-07-18 17:17:07'::timestamp) - extract(epoch from '2026-07-18 17:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525473 -3.580046)'), GeomFromEWKT('SRID=4674;POINT (-38.52552 -3.58012)'))) / (select extract(epoch from '2026-07-18 17:17:07'::timestamp) - extract(epoch from '2026-07-18 17:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525551 -3.580184)', '2026-07-18 17:17:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52552 -3.58012)'), GeomFromEWKT('SRID=4674;POINT (-38.525551 -3.580184)'))) / (select extract(epoch from '2026-07-18 17:17:12'::timestamp) - extract(epoch from '2026-07-18 17:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52552 -3.58012)'), GeomFromEWKT('SRID=4674;POINT (-38.525551 -3.580184)'))) / (select extract(epoch from '2026-07-18 17:17:12'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.52557 -3.580222)', '2026-07-18 17:17:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525551 -3.580184)'), GeomFromEWKT('SRID=4674;POINT (-38.52557 -3.580222)'))) / (select extract(epoch from '2026-07-18 17:17:15'::timestamp) - extract(epoch from '2026-07-18 17:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525551 -3.580184)'), GeomFromEWKT('SRID=4674;POINT (-38.52557 -3.580222)'))) / (select extract(epoch from '2026-07-18 17:17:15'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.525574 -3.580255)', '2026-07-18 17:17:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52557 -3.580222)'), GeomFromEWKT('SRID=4674;POINT (-38.525574 -3.580255)'))) / (select extract(epoch from '2026-07-18 17:17:17'::timestamp) - extract(epoch from '2026-07-18 17:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52557 -3.580222)'), GeomFromEWKT('SRID=4674;POINT (-38.525574 -3.580255)'))) / (select extract(epoch from '2026-07-18 17:17:17'::timestamp) - extract(epoch from '2026-07-18 17:17: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'), 47391, 'SRID=4674;POINT (-38.525607 -3.580332)', '2026-07-18 17:17:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525574 -3.580255)'), GeomFromEWKT('SRID=4674;POINT (-38.525607 -3.580332)'))) / (select extract(epoch from '2026-07-18 17:17:22'::timestamp) - extract(epoch from '2026-07-18 17:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525574 -3.580255)'), GeomFromEWKT('SRID=4674;POINT (-38.525607 -3.580332)'))) / (select extract(epoch from '2026-07-18 17:17:22'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.525612 -3.580362)', '2026-07-18 17:17:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525607 -3.580332)'), GeomFromEWKT('SRID=4674;POINT (-38.525612 -3.580362)'))) / (select extract(epoch from '2026-07-18 17:17:24'::timestamp) - extract(epoch from '2026-07-18 17:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525607 -3.580332)'), GeomFromEWKT('SRID=4674;POINT (-38.525612 -3.580362)'))) / (select extract(epoch from '2026-07-18 17:17:24'::timestamp) - extract(epoch from '2026-07-18 17:17: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'), 47391, 'SRID=4674;POINT (-38.525648 -3.58041)', '2026-07-18 17:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525612 -3.580362)'), GeomFromEWKT('SRID=4674;POINT (-38.525648 -3.58041)'))) / (select extract(epoch from '2026-07-18 17:17:27'::timestamp) - extract(epoch from '2026-07-18 17:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525612 -3.580362)'), GeomFromEWKT('SRID=4674;POINT (-38.525648 -3.58041)'))) / (select extract(epoch from '2026-07-18 17:17:27'::timestamp) - extract(epoch from '2026-07-18 17:17: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'), 47391, 'SRID=4674;POINT (-38.525654 -3.580426)', '2026-07-18 17:17:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525648 -3.58041)'), GeomFromEWKT('SRID=4674;POINT (-38.525654 -3.580426)'))) / (select extract(epoch from '2026-07-18 17:17:28'::timestamp) - extract(epoch from '2026-07-18 17:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525648 -3.58041)'), GeomFromEWKT('SRID=4674;POINT (-38.525654 -3.580426)'))) / (select extract(epoch from '2026-07-18 17:17:28'::timestamp) - extract(epoch from '2026-07-18 17:17: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'), 47391, 'SRID=4674;POINT (-38.525664 -3.580474)', '2026-07-18 17:17:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525654 -3.580426)'), GeomFromEWKT('SRID=4674;POINT (-38.525664 -3.580474)'))) / (select extract(epoch from '2026-07-18 17:17:31'::timestamp) - extract(epoch from '2026-07-18 17:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525654 -3.580426)'), GeomFromEWKT('SRID=4674;POINT (-38.525664 -3.580474)'))) / (select extract(epoch from '2026-07-18 17:17:31'::timestamp) - extract(epoch from '2026-07-18 17:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525698 -3.580542)', '2026-07-18 17:17:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525664 -3.580474)'), GeomFromEWKT('SRID=4674;POINT (-38.525698 -3.580542)'))) / (select extract(epoch from '2026-07-18 17:17:35'::timestamp) - extract(epoch from '2026-07-18 17:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525664 -3.580474)'), GeomFromEWKT('SRID=4674;POINT (-38.525698 -3.580542)'))) / (select extract(epoch from '2026-07-18 17:17:35'::timestamp) - extract(epoch from '2026-07-18 17:17: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'), 47391, 'SRID=4674;POINT (-38.525699 -3.580558)', '2026-07-18 17:17:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525698 -3.580542)'), GeomFromEWKT('SRID=4674;POINT (-38.525699 -3.580558)'))) / (select extract(epoch from '2026-07-18 17:17:36'::timestamp) - extract(epoch from '2026-07-18 17:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525698 -3.580542)'), GeomFromEWKT('SRID=4674;POINT (-38.525699 -3.580558)'))) / (select extract(epoch from '2026-07-18 17:17:36'::timestamp) - extract(epoch from '2026-07-18 17:17:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525739 -3.580638)', '2026-07-18 17:17:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525699 -3.580558)'), GeomFromEWKT('SRID=4674;POINT (-38.525739 -3.580638)'))) / (select extract(epoch from '2026-07-18 17:17:41'::timestamp) - extract(epoch from '2026-07-18 17:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525699 -3.580558)'), GeomFromEWKT('SRID=4674;POINT (-38.525739 -3.580638)'))) / (select extract(epoch from '2026-07-18 17:17:41'::timestamp) - extract(epoch from '2026-07-18 17:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525767 -3.58072)', '2026-07-18 17:17:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525739 -3.580638)'), GeomFromEWKT('SRID=4674;POINT (-38.525767 -3.58072)'))) / (select extract(epoch from '2026-07-18 17:17:47'::timestamp) - extract(epoch from '2026-07-18 17:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525739 -3.580638)'), GeomFromEWKT('SRID=4674;POINT (-38.525767 -3.58072)'))) / (select extract(epoch from '2026-07-18 17:17:47'::timestamp) - extract(epoch from '2026-07-18 17:17: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'), 47391, 'SRID=4674;POINT (-38.525793 -3.580792)', '2026-07-18 17:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525767 -3.58072)'), GeomFromEWKT('SRID=4674;POINT (-38.525793 -3.580792)'))) / (select extract(epoch from '2026-07-18 17:17:52'::timestamp) - extract(epoch from '2026-07-18 17:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525767 -3.58072)'), GeomFromEWKT('SRID=4674;POINT (-38.525793 -3.580792)'))) / (select extract(epoch from '2026-07-18 17:17:52'::timestamp) - extract(epoch from '2026-07-18 17:17: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'), 47391, 'SRID=4674;POINT (-38.525802 -3.580811)', '2026-07-18 17:17:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525793 -3.580792)'), GeomFromEWKT('SRID=4674;POINT (-38.525802 -3.580811)'))) / (select extract(epoch from '2026-07-18 17:17:53'::timestamp) - extract(epoch from '2026-07-18 17:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525793 -3.580792)'), GeomFromEWKT('SRID=4674;POINT (-38.525802 -3.580811)'))) / (select extract(epoch from '2026-07-18 17:17:53'::timestamp) - extract(epoch from '2026-07-18 17:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525819 -3.580872)', '2026-07-18 17:17:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525802 -3.580811)'), GeomFromEWKT('SRID=4674;POINT (-38.525819 -3.580872)'))) / (select extract(epoch from '2026-07-18 17:17:58'::timestamp) - extract(epoch from '2026-07-18 17:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525802 -3.580811)'), GeomFromEWKT('SRID=4674;POINT (-38.525819 -3.580872)'))) / (select extract(epoch from '2026-07-18 17:17:58'::timestamp) - extract(epoch from '2026-07-18 17:17: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'), 47391, 'SRID=4674;POINT (-38.525865 -3.580956)', '2026-07-18 17:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525819 -3.580872)'), GeomFromEWKT('SRID=4674;POINT (-38.525865 -3.580956)'))) / (select extract(epoch from '2026-07-18 17:18:04'::timestamp) - extract(epoch from '2026-07-18 17:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525819 -3.580872)'), GeomFromEWKT('SRID=4674;POINT (-38.525865 -3.580956)'))) / (select extract(epoch from '2026-07-18 17:18:04'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.525923 -3.581087)', '2026-07-18 17:18:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525865 -3.580956)'), GeomFromEWKT('SRID=4674;POINT (-38.525923 -3.581087)'))) / (select extract(epoch from '2026-07-18 17:18:12'::timestamp) - extract(epoch from '2026-07-18 17:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525865 -3.580956)'), GeomFromEWKT('SRID=4674;POINT (-38.525923 -3.581087)'))) / (select extract(epoch from '2026-07-18 17:18:12'::timestamp) - extract(epoch from '2026-07-18 17:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525959 -3.581165)', '2026-07-18 17:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525923 -3.581087)'), GeomFromEWKT('SRID=4674;POINT (-38.525959 -3.581165)'))) / (select extract(epoch from '2026-07-18 17:18:17'::timestamp) - extract(epoch from '2026-07-18 17:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525923 -3.581087)'), GeomFromEWKT('SRID=4674;POINT (-38.525959 -3.581165)'))) / (select extract(epoch from '2026-07-18 17:18:17'::timestamp) - extract(epoch from '2026-07-18 17:18: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'), 47391, 'SRID=4674;POINT (-38.525979 -3.581243)', '2026-07-18 17:18:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525959 -3.581165)'), GeomFromEWKT('SRID=4674;POINT (-38.525979 -3.581243)'))) / (select extract(epoch from '2026-07-18 17:18:22'::timestamp) - extract(epoch from '2026-07-18 17:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525959 -3.581165)'), GeomFromEWKT('SRID=4674;POINT (-38.525979 -3.581243)'))) / (select extract(epoch from '2026-07-18 17:18:22'::timestamp) - extract(epoch from '2026-07-18 17:18: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'), 47391, 'SRID=4674;POINT (-38.52602 -3.581353)', '2026-07-18 17:18:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525979 -3.581243)'), GeomFromEWKT('SRID=4674;POINT (-38.52602 -3.581353)'))) / (select extract(epoch from '2026-07-18 17:18:29'::timestamp) - extract(epoch from '2026-07-18 17:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525979 -3.581243)'), GeomFromEWKT('SRID=4674;POINT (-38.52602 -3.581353)'))) / (select extract(epoch from '2026-07-18 17:18:29'::timestamp) - extract(epoch from '2026-07-18 17:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526052 -3.58149)', '2026-07-18 17:18:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52602 -3.581353)'), GeomFromEWKT('SRID=4674;POINT (-38.526052 -3.58149)'))) / (select extract(epoch from '2026-07-18 17:18:36'::timestamp) - extract(epoch from '2026-07-18 17:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52602 -3.581353)'), GeomFromEWKT('SRID=4674;POINT (-38.526052 -3.58149)'))) / (select extract(epoch from '2026-07-18 17:18:36'::timestamp) - extract(epoch from '2026-07-18 17:18: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'), 47391, 'SRID=4674;POINT (-38.526076 -3.581608)', '2026-07-18 17:18:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526052 -3.58149)'), GeomFromEWKT('SRID=4674;POINT (-38.526076 -3.581608)'))) / (select extract(epoch from '2026-07-18 17:18:43'::timestamp) - extract(epoch from '2026-07-18 17:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526052 -3.58149)'), GeomFromEWKT('SRID=4674;POINT (-38.526076 -3.581608)'))) / (select extract(epoch from '2026-07-18 17:18:43'::timestamp) - extract(epoch from '2026-07-18 17:18: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'), 47391, 'SRID=4674;POINT (-38.526076 -3.581621)', '2026-07-18 17:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526076 -3.581608)'), GeomFromEWKT('SRID=4674;POINT (-38.526076 -3.581621)'))) / (select extract(epoch from '2026-07-18 17:18:44'::timestamp) - extract(epoch from '2026-07-18 17:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526076 -3.581608)'), GeomFromEWKT('SRID=4674;POINT (-38.526076 -3.581621)'))) / (select extract(epoch from '2026-07-18 17:18:44'::timestamp) - extract(epoch from '2026-07-18 17:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526111 -3.581713)', '2026-07-18 17:18:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526076 -3.581621)'), GeomFromEWKT('SRID=4674;POINT (-38.526111 -3.581713)'))) / (select extract(epoch from '2026-07-18 17:18:50'::timestamp) - extract(epoch from '2026-07-18 17:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526076 -3.581621)'), GeomFromEWKT('SRID=4674;POINT (-38.526111 -3.581713)'))) / (select extract(epoch from '2026-07-18 17:18:50'::timestamp) - extract(epoch from '2026-07-18 17:18: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'), 47391, 'SRID=4674;POINT (-38.52616 -3.581812)', '2026-07-18 17:18:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526111 -3.581713)'), GeomFromEWKT('SRID=4674;POINT (-38.52616 -3.581812)'))) / (select extract(epoch from '2026-07-18 17:18:56'::timestamp) - extract(epoch from '2026-07-18 17:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526111 -3.581713)'), GeomFromEWKT('SRID=4674;POINT (-38.52616 -3.581812)'))) / (select extract(epoch from '2026-07-18 17:18:56'::timestamp) - extract(epoch from '2026-07-18 17:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526183 -3.58193)', '2026-07-18 17:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52616 -3.581812)'), GeomFromEWKT('SRID=4674;POINT (-38.526183 -3.58193)'))) / (select extract(epoch from '2026-07-18 17:19:03'::timestamp) - extract(epoch from '2026-07-18 17:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52616 -3.581812)'), GeomFromEWKT('SRID=4674;POINT (-38.526183 -3.58193)'))) / (select extract(epoch from '2026-07-18 17:19:03'::timestamp) - extract(epoch from '2026-07-18 17:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526217 -3.582039)', '2026-07-18 17:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526183 -3.58193)'), GeomFromEWKT('SRID=4674;POINT (-38.526217 -3.582039)'))) / (select extract(epoch from '2026-07-18 17:19:09'::timestamp) - extract(epoch from '2026-07-18 17:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526183 -3.58193)'), GeomFromEWKT('SRID=4674;POINT (-38.526217 -3.582039)'))) / (select extract(epoch from '2026-07-18 17:19:09'::timestamp) - extract(epoch from '2026-07-18 17:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526232 -3.582112)', '2026-07-18 17:19:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526217 -3.582039)'), GeomFromEWKT('SRID=4674;POINT (-38.526232 -3.582112)'))) / (select extract(epoch from '2026-07-18 17:19:13'::timestamp) - extract(epoch from '2026-07-18 17:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526217 -3.582039)'), GeomFromEWKT('SRID=4674;POINT (-38.526232 -3.582112)'))) / (select extract(epoch from '2026-07-18 17:19:13'::timestamp) - extract(epoch from '2026-07-18 17:19: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'), 47391, 'SRID=4674;POINT (-38.526262 -3.582176)', '2026-07-18 17:19:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526232 -3.582112)'), GeomFromEWKT('SRID=4674;POINT (-38.526262 -3.582176)'))) / (select extract(epoch from '2026-07-18 17:19:17'::timestamp) - extract(epoch from '2026-07-18 17:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526232 -3.582112)'), GeomFromEWKT('SRID=4674;POINT (-38.526262 -3.582176)'))) / (select extract(epoch from '2026-07-18 17:19:17'::timestamp) - extract(epoch from '2026-07-18 17:19: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'), 47391, 'SRID=4674;POINT (-38.526297 -3.582276)', '2026-07-18 17:19:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526262 -3.582176)'), GeomFromEWKT('SRID=4674;POINT (-38.526297 -3.582276)'))) / (select extract(epoch from '2026-07-18 17:19:22'::timestamp) - extract(epoch from '2026-07-18 17:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526262 -3.582176)'), GeomFromEWKT('SRID=4674;POINT (-38.526297 -3.582276)'))) / (select extract(epoch from '2026-07-18 17:19:22'::timestamp) - extract(epoch from '2026-07-18 17:19: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'), 47391, 'SRID=4674;POINT (-38.5263 -3.582326)', '2026-07-18 17:19:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526297 -3.582276)'), GeomFromEWKT('SRID=4674;POINT (-38.5263 -3.582326)'))) / (select extract(epoch from '2026-07-18 17:19:25'::timestamp) - extract(epoch from '2026-07-18 17:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526297 -3.582276)'), GeomFromEWKT('SRID=4674;POINT (-38.5263 -3.582326)'))) / (select extract(epoch from '2026-07-18 17:19:25'::timestamp) - extract(epoch from '2026-07-18 17:19: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'), 47391, 'SRID=4674;POINT (-38.526306 -3.582345)', '2026-07-18 17:19:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5263 -3.582326)'), GeomFromEWKT('SRID=4674;POINT (-38.526306 -3.582345)'))) / (select extract(epoch from '2026-07-18 17:19:26'::timestamp) - extract(epoch from '2026-07-18 17:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5263 -3.582326)'), GeomFromEWKT('SRID=4674;POINT (-38.526306 -3.582345)'))) / (select extract(epoch from '2026-07-18 17:19:26'::timestamp) - extract(epoch from '2026-07-18 17:19: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'), 47391, 'SRID=4674;POINT (-38.526339 -3.582426)', '2026-07-18 17:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526306 -3.582345)'), GeomFromEWKT('SRID=4674;POINT (-38.526339 -3.582426)'))) / (select extract(epoch from '2026-07-18 17:19:31'::timestamp) - extract(epoch from '2026-07-18 17:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526306 -3.582345)'), GeomFromEWKT('SRID=4674;POINT (-38.526339 -3.582426)'))) / (select extract(epoch from '2026-07-18 17:19:31'::timestamp) - extract(epoch from '2026-07-18 17:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526339 -3.58244)', '2026-07-18 17:19:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526339 -3.582426)'), GeomFromEWKT('SRID=4674;POINT (-38.526339 -3.58244)'))) / (select extract(epoch from '2026-07-18 17:19:32'::timestamp) - extract(epoch from '2026-07-18 17:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526339 -3.582426)'), GeomFromEWKT('SRID=4674;POINT (-38.526339 -3.58244)'))) / (select extract(epoch from '2026-07-18 17:19:32'::timestamp) - extract(epoch from '2026-07-18 17:19:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526345 -3.582484)', '2026-07-18 17:19:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526339 -3.58244)'), GeomFromEWKT('SRID=4674;POINT (-38.526345 -3.582484)'))) / (select extract(epoch from '2026-07-18 17:19:34'::timestamp) - extract(epoch from '2026-07-18 17:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526339 -3.58244)'), GeomFromEWKT('SRID=4674;POINT (-38.526345 -3.582484)'))) / (select extract(epoch from '2026-07-18 17:19:34'::timestamp) - extract(epoch from '2026-07-18 17:19: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'), 47391, 'SRID=4674;POINT (-38.526357 -3.582507)', '2026-07-18 17:19:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526345 -3.582484)'), GeomFromEWKT('SRID=4674;POINT (-38.526357 -3.582507)'))) / (select extract(epoch from '2026-07-18 17:19:35'::timestamp) - extract(epoch from '2026-07-18 17:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526345 -3.582484)'), GeomFromEWKT('SRID=4674;POINT (-38.526357 -3.582507)'))) / (select extract(epoch from '2026-07-18 17:19:35'::timestamp) - extract(epoch from '2026-07-18 17:19: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'), 47391, 'SRID=4674;POINT (-38.526383 -3.58259)', '2026-07-18 17:19:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526357 -3.582507)'), GeomFromEWKT('SRID=4674;POINT (-38.526383 -3.58259)'))) / (select extract(epoch from '2026-07-18 17:19:40'::timestamp) - extract(epoch from '2026-07-18 17:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526357 -3.582507)'), GeomFromEWKT('SRID=4674;POINT (-38.526383 -3.58259)'))) / (select extract(epoch from '2026-07-18 17:19:40'::timestamp) - extract(epoch from '2026-07-18 17:19: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'), 47391, 'SRID=4674;POINT (-38.526414 -3.582693)', '2026-07-18 17:19:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526383 -3.58259)'), GeomFromEWKT('SRID=4674;POINT (-38.526414 -3.582693)'))) / (select extract(epoch from '2026-07-18 17:19:46'::timestamp) - extract(epoch from '2026-07-18 17:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526383 -3.58259)'), GeomFromEWKT('SRID=4674;POINT (-38.526414 -3.582693)'))) / (select extract(epoch from '2026-07-18 17:19:46'::timestamp) - extract(epoch from '2026-07-18 17:19:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526444 -3.582808)', '2026-07-18 17:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526414 -3.582693)'), GeomFromEWKT('SRID=4674;POINT (-38.526444 -3.582808)'))) / (select extract(epoch from '2026-07-18 17:19:53'::timestamp) - extract(epoch from '2026-07-18 17:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526414 -3.582693)'), GeomFromEWKT('SRID=4674;POINT (-38.526444 -3.582808)'))) / (select extract(epoch from '2026-07-18 17:19:53'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.526474 -3.582897)', '2026-07-18 17:19:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526444 -3.582808)'), GeomFromEWKT('SRID=4674;POINT (-38.526474 -3.582897)'))) / (select extract(epoch from '2026-07-18 17:19:58'::timestamp) - extract(epoch from '2026-07-18 17:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526444 -3.582808)'), GeomFromEWKT('SRID=4674;POINT (-38.526474 -3.582897)'))) / (select extract(epoch from '2026-07-18 17:19:58'::timestamp) - extract(epoch from '2026-07-18 17:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526513 -3.583012)', '2026-07-18 17:20:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526474 -3.582897)'), GeomFromEWKT('SRID=4674;POINT (-38.526513 -3.583012)'))) / (select extract(epoch from '2026-07-18 17:20:05'::timestamp) - extract(epoch from '2026-07-18 17:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526474 -3.582897)'), GeomFromEWKT('SRID=4674;POINT (-38.526513 -3.583012)'))) / (select extract(epoch from '2026-07-18 17:20:05'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.526559 -3.583146)', '2026-07-18 17:20:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526513 -3.583012)'), GeomFromEWKT('SRID=4674;POINT (-38.526559 -3.583146)'))) / (select extract(epoch from '2026-07-18 17:20:13'::timestamp) - extract(epoch from '2026-07-18 17:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526513 -3.583012)'), GeomFromEWKT('SRID=4674;POINT (-38.526559 -3.583146)'))) / (select extract(epoch from '2026-07-18 17:20:13'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.526567 -3.583187)', '2026-07-18 17:20:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526559 -3.583146)'), GeomFromEWKT('SRID=4674;POINT (-38.526567 -3.583187)'))) / (select extract(epoch from '2026-07-18 17:20:15'::timestamp) - extract(epoch from '2026-07-18 17:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526559 -3.583146)'), GeomFromEWKT('SRID=4674;POINT (-38.526567 -3.583187)'))) / (select extract(epoch from '2026-07-18 17:20:15'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.526592 -3.583252)', '2026-07-18 17:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526567 -3.583187)'), GeomFromEWKT('SRID=4674;POINT (-38.526592 -3.583252)'))) / (select extract(epoch from '2026-07-18 17:20:19'::timestamp) - extract(epoch from '2026-07-18 17:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526567 -3.583187)'), GeomFromEWKT('SRID=4674;POINT (-38.526592 -3.583252)'))) / (select extract(epoch from '2026-07-18 17:20:19'::timestamp) - extract(epoch from '2026-07-18 17:20: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'), 47391, 'SRID=4674;POINT (-38.526632 -3.583353)', '2026-07-18 17:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526592 -3.583252)'), GeomFromEWKT('SRID=4674;POINT (-38.526632 -3.583353)'))) / (select extract(epoch from '2026-07-18 17:20:25'::timestamp) - extract(epoch from '2026-07-18 17:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526592 -3.583252)'), GeomFromEWKT('SRID=4674;POINT (-38.526632 -3.583353)'))) / (select extract(epoch from '2026-07-18 17:20:25'::timestamp) - extract(epoch from '2026-07-18 17:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526674 -3.583433)', '2026-07-18 17:20:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526632 -3.583353)'), GeomFromEWKT('SRID=4674;POINT (-38.526674 -3.583433)'))) / (select extract(epoch from '2026-07-18 17:20:30'::timestamp) - extract(epoch from '2026-07-18 17:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526632 -3.583353)'), GeomFromEWKT('SRID=4674;POINT (-38.526674 -3.583433)'))) / (select extract(epoch from '2026-07-18 17:20:30'::timestamp) - extract(epoch from '2026-07-18 17:20: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'), 47391, 'SRID=4674;POINT (-38.526703 -3.583512)', '2026-07-18 17:20:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526674 -3.583433)'), GeomFromEWKT('SRID=4674;POINT (-38.526703 -3.583512)'))) / (select extract(epoch from '2026-07-18 17:20:35'::timestamp) - extract(epoch from '2026-07-18 17:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526674 -3.583433)'), GeomFromEWKT('SRID=4674;POINT (-38.526703 -3.583512)'))) / (select extract(epoch from '2026-07-18 17:20:35'::timestamp) - extract(epoch from '2026-07-18 17:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526741 -3.583644)', '2026-07-18 17:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526703 -3.583512)'), GeomFromEWKT('SRID=4674;POINT (-38.526741 -3.583644)'))) / (select extract(epoch from '2026-07-18 17:20:42'::timestamp) - extract(epoch from '2026-07-18 17:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526703 -3.583512)'), GeomFromEWKT('SRID=4674;POINT (-38.526741 -3.583644)'))) / (select extract(epoch from '2026-07-18 17:20:42'::timestamp) - extract(epoch from '2026-07-18 17:20: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'), 47391, 'SRID=4674;POINT (-38.526783 -3.583804)', '2026-07-18 17:20:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526741 -3.583644)'), GeomFromEWKT('SRID=4674;POINT (-38.526783 -3.583804)'))) / (select extract(epoch from '2026-07-18 17:20:50'::timestamp) - extract(epoch from '2026-07-18 17:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526741 -3.583644)'), GeomFromEWKT('SRID=4674;POINT (-38.526783 -3.583804)'))) / (select extract(epoch from '2026-07-18 17:20:50'::timestamp) - extract(epoch from '2026-07-18 17:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526789 -3.58384)', '2026-07-18 17:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526783 -3.583804)'), GeomFromEWKT('SRID=4674;POINT (-38.526789 -3.58384)'))) / (select extract(epoch from '2026-07-18 17:20:52'::timestamp) - extract(epoch from '2026-07-18 17:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526783 -3.583804)'), GeomFromEWKT('SRID=4674;POINT (-38.526789 -3.58384)'))) / (select extract(epoch from '2026-07-18 17:20:52'::timestamp) - extract(epoch from '2026-07-18 17:20: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'), 47391, 'SRID=4674;POINT (-38.526799 -3.583875)', '2026-07-18 17:20:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526789 -3.58384)'), GeomFromEWKT('SRID=4674;POINT (-38.526799 -3.583875)'))) / (select extract(epoch from '2026-07-18 17:20:54'::timestamp) - extract(epoch from '2026-07-18 17:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526789 -3.58384)'), GeomFromEWKT('SRID=4674;POINT (-38.526799 -3.583875)'))) / (select extract(epoch from '2026-07-18 17:20:54'::timestamp) - extract(epoch from '2026-07-18 17:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52681 -3.583886)', '2026-07-18 17:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526799 -3.583875)'), GeomFromEWKT('SRID=4674;POINT (-38.52681 -3.583886)'))) / (select extract(epoch from '2026-07-18 17:20:55'::timestamp) - extract(epoch from '2026-07-18 17:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526799 -3.583875)'), GeomFromEWKT('SRID=4674;POINT (-38.52681 -3.583886)'))) / (select extract(epoch from '2026-07-18 17:20:55'::timestamp) - extract(epoch from '2026-07-18 17:20: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'), 47391, 'SRID=4674;POINT (-38.52684 -3.583971)', '2026-07-18 17:21:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52681 -3.583886)'), GeomFromEWKT('SRID=4674;POINT (-38.52684 -3.583971)'))) / (select extract(epoch from '2026-07-18 17:21:00'::timestamp) - extract(epoch from '2026-07-18 17:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52681 -3.583886)'), GeomFromEWKT('SRID=4674;POINT (-38.52684 -3.583971)'))) / (select extract(epoch from '2026-07-18 17:21:00'::timestamp) - extract(epoch from '2026-07-18 17:20: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'), 47391, 'SRID=4674;POINT (-38.526861 -3.584051)', '2026-07-18 17:21:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52684 -3.583971)'), GeomFromEWKT('SRID=4674;POINT (-38.526861 -3.584051)'))) / (select extract(epoch from '2026-07-18 17:21:05'::timestamp) - extract(epoch from '2026-07-18 17:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52684 -3.583971)'), GeomFromEWKT('SRID=4674;POINT (-38.526861 -3.584051)'))) / (select extract(epoch from '2026-07-18 17:21:05'::timestamp) - extract(epoch from '2026-07-18 17:21:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526906 -3.584124)', '2026-07-18 17:21:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526861 -3.584051)'), GeomFromEWKT('SRID=4674;POINT (-38.526906 -3.584124)'))) / (select extract(epoch from '2026-07-18 17:21:10'::timestamp) - extract(epoch from '2026-07-18 17:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526861 -3.584051)'), GeomFromEWKT('SRID=4674;POINT (-38.526906 -3.584124)'))) / (select extract(epoch from '2026-07-18 17:21:10'::timestamp) - extract(epoch from '2026-07-18 17:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526941 -3.584185)', '2026-07-18 17:21:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526906 -3.584124)'), GeomFromEWKT('SRID=4674;POINT (-38.526941 -3.584185)'))) / (select extract(epoch from '2026-07-18 17:21:14'::timestamp) - extract(epoch from '2026-07-18 17:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526906 -3.584124)'), GeomFromEWKT('SRID=4674;POINT (-38.526941 -3.584185)'))) / (select extract(epoch from '2026-07-18 17:21:14'::timestamp) - extract(epoch from '2026-07-18 17:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526941 -3.584201)', '2026-07-18 17:21:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526941 -3.584185)'), GeomFromEWKT('SRID=4674;POINT (-38.526941 -3.584201)'))) / (select extract(epoch from '2026-07-18 17:21:15'::timestamp) - extract(epoch from '2026-07-18 17:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526941 -3.584185)'), GeomFromEWKT('SRID=4674;POINT (-38.526941 -3.584201)'))) / (select extract(epoch from '2026-07-18 17:21:15'::timestamp) - extract(epoch from '2026-07-18 17:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526955 -3.584266)', '2026-07-18 17:21:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526941 -3.584201)'), GeomFromEWKT('SRID=4674;POINT (-38.526955 -3.584266)'))) / (select extract(epoch from '2026-07-18 17:21:19'::timestamp) - extract(epoch from '2026-07-18 17:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526941 -3.584201)'), GeomFromEWKT('SRID=4674;POINT (-38.526955 -3.584266)'))) / (select extract(epoch from '2026-07-18 17:21:19'::timestamp) - extract(epoch from '2026-07-18 17:21: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'), 47391, 'SRID=4674;POINT (-38.526973 -3.584322)', '2026-07-18 17:21:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526955 -3.584266)'), GeomFromEWKT('SRID=4674;POINT (-38.526973 -3.584322)'))) / (select extract(epoch from '2026-07-18 17:21:23'::timestamp) - extract(epoch from '2026-07-18 17:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526955 -3.584266)'), GeomFromEWKT('SRID=4674;POINT (-38.526973 -3.584322)'))) / (select extract(epoch from '2026-07-18 17:21:23'::timestamp) - extract(epoch from '2026-07-18 17:21: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'), 47391, 'SRID=4674;POINT (-38.526976 -3.584342)', '2026-07-18 17:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526973 -3.584322)'), GeomFromEWKT('SRID=4674;POINT (-38.526976 -3.584342)'))) / (select extract(epoch from '2026-07-18 17:21:24'::timestamp) - extract(epoch from '2026-07-18 17:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526973 -3.584322)'), GeomFromEWKT('SRID=4674;POINT (-38.526976 -3.584342)'))) / (select extract(epoch from '2026-07-18 17:21:24'::timestamp) - extract(epoch from '2026-07-18 17:21: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'), 47391, 'SRID=4674;POINT (-38.527016 -3.584409)', '2026-07-18 17:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526976 -3.584342)'), GeomFromEWKT('SRID=4674;POINT (-38.527016 -3.584409)'))) / (select extract(epoch from '2026-07-18 17:21:27'::timestamp) - extract(epoch from '2026-07-18 17:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526976 -3.584342)'), GeomFromEWKT('SRID=4674;POINT (-38.527016 -3.584409)'))) / (select extract(epoch from '2026-07-18 17:21:27'::timestamp) - extract(epoch from '2026-07-18 17:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527024 -3.584424)', '2026-07-18 17:21:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527016 -3.584409)'), GeomFromEWKT('SRID=4674;POINT (-38.527024 -3.584424)'))) / (select extract(epoch from '2026-07-18 17:21:28'::timestamp) - extract(epoch from '2026-07-18 17:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527016 -3.584409)'), GeomFromEWKT('SRID=4674;POINT (-38.527024 -3.584424)'))) / (select extract(epoch from '2026-07-18 17:21:28'::timestamp) - extract(epoch from '2026-07-18 17:21: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'), 47391, 'SRID=4674;POINT (-38.527026 -3.584468)', '2026-07-18 17:21:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527024 -3.584424)'), GeomFromEWKT('SRID=4674;POINT (-38.527026 -3.584468)'))) / (select extract(epoch from '2026-07-18 17:21:31'::timestamp) - extract(epoch from '2026-07-18 17:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527024 -3.584424)'), GeomFromEWKT('SRID=4674;POINT (-38.527026 -3.584468)'))) / (select extract(epoch from '2026-07-18 17:21:31'::timestamp) - extract(epoch from '2026-07-18 17:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527052 -3.58459)', '2026-07-18 17:21:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527026 -3.584468)'), GeomFromEWKT('SRID=4674;POINT (-38.527052 -3.58459)'))) / (select extract(epoch from '2026-07-18 17:21:38'::timestamp) - extract(epoch from '2026-07-18 17:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527026 -3.584468)'), GeomFromEWKT('SRID=4674;POINT (-38.527052 -3.58459)'))) / (select extract(epoch from '2026-07-18 17:21:38'::timestamp) - extract(epoch from '2026-07-18 17:21: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'), 47391, 'SRID=4674;POINT (-38.527075 -3.584672)', '2026-07-18 17:21:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527052 -3.58459)'), GeomFromEWKT('SRID=4674;POINT (-38.527075 -3.584672)'))) / (select extract(epoch from '2026-07-18 17:21:43'::timestamp) - extract(epoch from '2026-07-18 17:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527052 -3.58459)'), GeomFromEWKT('SRID=4674;POINT (-38.527075 -3.584672)'))) / (select extract(epoch from '2026-07-18 17:21:43'::timestamp) - extract(epoch from '2026-07-18 17:21: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'), 47391, 'SRID=4674;POINT (-38.527101 -3.584755)', '2026-07-18 17:21:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527075 -3.584672)'), GeomFromEWKT('SRID=4674;POINT (-38.527101 -3.584755)'))) / (select extract(epoch from '2026-07-18 17:21:48'::timestamp) - extract(epoch from '2026-07-18 17:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527075 -3.584672)'), GeomFromEWKT('SRID=4674;POINT (-38.527101 -3.584755)'))) / (select extract(epoch from '2026-07-18 17:21:48'::timestamp) - extract(epoch from '2026-07-18 17:21: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'), 47391, 'SRID=4674;POINT (-38.527135 -3.584901)', '2026-07-18 17:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527101 -3.584755)'), GeomFromEWKT('SRID=4674;POINT (-38.527135 -3.584901)'))) / (select extract(epoch from '2026-07-18 17:21:55'::timestamp) - extract(epoch from '2026-07-18 17:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527101 -3.584755)'), GeomFromEWKT('SRID=4674;POINT (-38.527135 -3.584901)'))) / (select extract(epoch from '2026-07-18 17:21:55'::timestamp) - extract(epoch from '2026-07-18 17:21: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'), 47391, 'SRID=4674;POINT (-38.527157 -3.584966)', '2026-07-18 17:21:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527135 -3.584901)'), GeomFromEWKT('SRID=4674;POINT (-38.527157 -3.584966)'))) / (select extract(epoch from '2026-07-18 17:21:59'::timestamp) - extract(epoch from '2026-07-18 17:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527135 -3.584901)'), GeomFromEWKT('SRID=4674;POINT (-38.527157 -3.584966)'))) / (select extract(epoch from '2026-07-18 17:21:59'::timestamp) - extract(epoch from '2026-07-18 17:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527155 -3.584985)', '2026-07-18 17:22:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527157 -3.584966)'), GeomFromEWKT('SRID=4674;POINT (-38.527155 -3.584985)'))) / (select extract(epoch from '2026-07-18 17:22:00'::timestamp) - extract(epoch from '2026-07-18 17:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527157 -3.584966)'), GeomFromEWKT('SRID=4674;POINT (-38.527155 -3.584985)'))) / (select extract(epoch from '2026-07-18 17:22:00'::timestamp) - extract(epoch from '2026-07-18 17:21: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'), 47391, 'SRID=4674;POINT (-38.527159 -3.585007)', '2026-07-18 17:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527155 -3.584985)'), GeomFromEWKT('SRID=4674;POINT (-38.527159 -3.585007)'))) / (select extract(epoch from '2026-07-18 17:22:01'::timestamp) - extract(epoch from '2026-07-18 17:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527155 -3.584985)'), GeomFromEWKT('SRID=4674;POINT (-38.527159 -3.585007)'))) / (select extract(epoch from '2026-07-18 17:22:01'::timestamp) - extract(epoch from '2026-07-18 17:22: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'), 47391, 'SRID=4674;POINT (-38.527183 -3.585062)', '2026-07-18 17:22:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527159 -3.585007)'), GeomFromEWKT('SRID=4674;POINT (-38.527183 -3.585062)'))) / (select extract(epoch from '2026-07-18 17:22:04'::timestamp) - extract(epoch from '2026-07-18 17:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527159 -3.585007)'), GeomFromEWKT('SRID=4674;POINT (-38.527183 -3.585062)'))) / (select extract(epoch from '2026-07-18 17:22:04'::timestamp) - extract(epoch from '2026-07-18 17:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527198 -3.58518)', '2026-07-18 17:22:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527183 -3.585062)'), GeomFromEWKT('SRID=4674;POINT (-38.527198 -3.58518)'))) / (select extract(epoch from '2026-07-18 17:22:10'::timestamp) - extract(epoch from '2026-07-18 17:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527183 -3.585062)'), GeomFromEWKT('SRID=4674;POINT (-38.527198 -3.58518)'))) / (select extract(epoch from '2026-07-18 17:22:10'::timestamp) - extract(epoch from '2026-07-18 17:22: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'), 47391, 'SRID=4674;POINT (-38.527211 -3.585292)', '2026-07-18 17:22:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527198 -3.58518)'), GeomFromEWKT('SRID=4674;POINT (-38.527211 -3.585292)'))) / (select extract(epoch from '2026-07-18 17:22:16'::timestamp) - extract(epoch from '2026-07-18 17:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527198 -3.58518)'), GeomFromEWKT('SRID=4674;POINT (-38.527211 -3.585292)'))) / (select extract(epoch from '2026-07-18 17:22:16'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.52722 -3.585417)', '2026-07-18 17:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527211 -3.585292)'), GeomFromEWKT('SRID=4674;POINT (-38.52722 -3.585417)'))) / (select extract(epoch from '2026-07-18 17:22:23'::timestamp) - extract(epoch from '2026-07-18 17:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527211 -3.585292)'), GeomFromEWKT('SRID=4674;POINT (-38.52722 -3.585417)'))) / (select extract(epoch from '2026-07-18 17:22:23'::timestamp) - extract(epoch from '2026-07-18 17:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527236 -3.58554)', '2026-07-18 17:22:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52722 -3.585417)'), GeomFromEWKT('SRID=4674;POINT (-38.527236 -3.58554)'))) / (select extract(epoch from '2026-07-18 17:22:29'::timestamp) - extract(epoch from '2026-07-18 17:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52722 -3.585417)'), GeomFromEWKT('SRID=4674;POINT (-38.527236 -3.58554)'))) / (select extract(epoch from '2026-07-18 17:22:29'::timestamp) - extract(epoch from '2026-07-18 17:22: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'), 47391, 'SRID=4674;POINT (-38.527264 -3.585601)', '2026-07-18 17:22:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527236 -3.58554)'), GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.585601)'))) / (select extract(epoch from '2026-07-18 17:22:33'::timestamp) - extract(epoch from '2026-07-18 17:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527236 -3.58554)'), GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.585601)'))) / (select extract(epoch from '2026-07-18 17:22:33'::timestamp) - extract(epoch from '2026-07-18 17:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527264 -3.585617)', '2026-07-18 17:22:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.585601)'), GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.585617)'))) / (select extract(epoch from '2026-07-18 17:22:34'::timestamp) - extract(epoch from '2026-07-18 17:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.585601)'), GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.585617)'))) / (select extract(epoch from '2026-07-18 17:22:34'::timestamp) - extract(epoch from '2026-07-18 17:22: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'), 47391, 'SRID=4674;POINT (-38.527292 -3.585709)', '2026-07-18 17:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.585617)'), GeomFromEWKT('SRID=4674;POINT (-38.527292 -3.585709)'))) / (select extract(epoch from '2026-07-18 17:22:40'::timestamp) - extract(epoch from '2026-07-18 17:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.585617)'), GeomFromEWKT('SRID=4674;POINT (-38.527292 -3.585709)'))) / (select extract(epoch from '2026-07-18 17:22:40'::timestamp) - extract(epoch from '2026-07-18 17:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527327 -3.585811)', '2026-07-18 17:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527292 -3.585709)'), GeomFromEWKT('SRID=4674;POINT (-38.527327 -3.585811)'))) / (select extract(epoch from '2026-07-18 17:22:47'::timestamp) - extract(epoch from '2026-07-18 17:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527292 -3.585709)'), GeomFromEWKT('SRID=4674;POINT (-38.527327 -3.585811)'))) / (select extract(epoch from '2026-07-18 17:22:47'::timestamp) - extract(epoch from '2026-07-18 17:22: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'), 47391, 'SRID=4674;POINT (-38.527335 -3.585862)', '2026-07-18 17:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527327 -3.585811)'), GeomFromEWKT('SRID=4674;POINT (-38.527335 -3.585862)'))) / (select extract(epoch from '2026-07-18 17:22:50'::timestamp) - extract(epoch from '2026-07-18 17:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527327 -3.585811)'), GeomFromEWKT('SRID=4674;POINT (-38.527335 -3.585862)'))) / (select extract(epoch from '2026-07-18 17:22:50'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.527356 -3.585898)', '2026-07-18 17:22:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527335 -3.585862)'), GeomFromEWKT('SRID=4674;POINT (-38.527356 -3.585898)'))) / (select extract(epoch from '2026-07-18 17:22:52'::timestamp) - extract(epoch from '2026-07-18 17:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527335 -3.585862)'), GeomFromEWKT('SRID=4674;POINT (-38.527356 -3.585898)'))) / (select extract(epoch from '2026-07-18 17:22:52'::timestamp) - extract(epoch from '2026-07-18 17:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527377 -3.585953)', '2026-07-18 17:22:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527356 -3.585898)'), GeomFromEWKT('SRID=4674;POINT (-38.527377 -3.585953)'))) / (select extract(epoch from '2026-07-18 17:22:55'::timestamp) - extract(epoch from '2026-07-18 17:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527356 -3.585898)'), GeomFromEWKT('SRID=4674;POINT (-38.527377 -3.585953)'))) / (select extract(epoch from '2026-07-18 17:22:55'::timestamp) - extract(epoch from '2026-07-18 17:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527377 -3.58599)', '2026-07-18 17:22:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527377 -3.585953)'), GeomFromEWKT('SRID=4674;POINT (-38.527377 -3.58599)'))) / (select extract(epoch from '2026-07-18 17:22:57'::timestamp) - extract(epoch from '2026-07-18 17:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527377 -3.585953)'), GeomFromEWKT('SRID=4674;POINT (-38.527377 -3.58599)'))) / (select extract(epoch from '2026-07-18 17:22:57'::timestamp) - extract(epoch from '2026-07-18 17:22: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'), 47391, 'SRID=4674;POINT (-38.527409 -3.586086)', '2026-07-18 17:23:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527377 -3.58599)'), GeomFromEWKT('SRID=4674;POINT (-38.527409 -3.586086)'))) / (select extract(epoch from '2026-07-18 17:23:02'::timestamp) - extract(epoch from '2026-07-18 17:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527377 -3.58599)'), GeomFromEWKT('SRID=4674;POINT (-38.527409 -3.586086)'))) / (select extract(epoch from '2026-07-18 17:23:02'::timestamp) - extract(epoch from '2026-07-18 17:22: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'), 47391, 'SRID=4674;POINT (-38.527433 -3.586178)', '2026-07-18 17:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527409 -3.586086)'), GeomFromEWKT('SRID=4674;POINT (-38.527433 -3.586178)'))) / (select extract(epoch from '2026-07-18 17:23:07'::timestamp) - extract(epoch from '2026-07-18 17:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527409 -3.586086)'), GeomFromEWKT('SRID=4674;POINT (-38.527433 -3.586178)'))) / (select extract(epoch from '2026-07-18 17:23:07'::timestamp) - extract(epoch from '2026-07-18 17:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527453 -3.586299)', '2026-07-18 17:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527433 -3.586178)'), GeomFromEWKT('SRID=4674;POINT (-38.527453 -3.586299)'))) / (select extract(epoch from '2026-07-18 17:23:14'::timestamp) - extract(epoch from '2026-07-18 17:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527433 -3.586178)'), GeomFromEWKT('SRID=4674;POINT (-38.527453 -3.586299)'))) / (select extract(epoch from '2026-07-18 17:23:14'::timestamp) - extract(epoch from '2026-07-18 17:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527489 -3.586434)', '2026-07-18 17:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527453 -3.586299)'), GeomFromEWKT('SRID=4674;POINT (-38.527489 -3.586434)'))) / (select extract(epoch from '2026-07-18 17:23:22'::timestamp) - extract(epoch from '2026-07-18 17:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527453 -3.586299)'), GeomFromEWKT('SRID=4674;POINT (-38.527489 -3.586434)'))) / (select extract(epoch from '2026-07-18 17:23:22'::timestamp) - extract(epoch from '2026-07-18 17:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527505 -3.586488)', '2026-07-18 17:23:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527489 -3.586434)'), GeomFromEWKT('SRID=4674;POINT (-38.527505 -3.586488)'))) / (select extract(epoch from '2026-07-18 17:23:25'::timestamp) - extract(epoch from '2026-07-18 17:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527489 -3.586434)'), GeomFromEWKT('SRID=4674;POINT (-38.527505 -3.586488)'))) / (select extract(epoch from '2026-07-18 17:23:25'::timestamp) - extract(epoch from '2026-07-18 17:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527506 -3.586522)', '2026-07-18 17:23:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527505 -3.586488)'), GeomFromEWKT('SRID=4674;POINT (-38.527506 -3.586522)'))) / (select extract(epoch from '2026-07-18 17:23:27'::timestamp) - extract(epoch from '2026-07-18 17:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527505 -3.586488)'), GeomFromEWKT('SRID=4674;POINT (-38.527506 -3.586522)'))) / (select extract(epoch from '2026-07-18 17:23:27'::timestamp) - extract(epoch from '2026-07-18 17:23: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'), 47391, 'SRID=4674;POINT (-38.527521 -3.586632)', '2026-07-18 17:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527506 -3.586522)'), GeomFromEWKT('SRID=4674;POINT (-38.527521 -3.586632)'))) / (select extract(epoch from '2026-07-18 17:23:33'::timestamp) - extract(epoch from '2026-07-18 17:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527506 -3.586522)'), GeomFromEWKT('SRID=4674;POINT (-38.527521 -3.586632)'))) / (select extract(epoch from '2026-07-18 17:23:33'::timestamp) - extract(epoch from '2026-07-18 17:23: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'), 47391, 'SRID=4674;POINT (-38.527536 -3.586744)', '2026-07-18 17:23:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527521 -3.586632)'), GeomFromEWKT('SRID=4674;POINT (-38.527536 -3.586744)'))) / (select extract(epoch from '2026-07-18 17:23:40'::timestamp) - extract(epoch from '2026-07-18 17:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527521 -3.586632)'), GeomFromEWKT('SRID=4674;POINT (-38.527536 -3.586744)'))) / (select extract(epoch from '2026-07-18 17:23:40'::timestamp) - extract(epoch from '2026-07-18 17:23: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'), 47391, 'SRID=4674;POINT (-38.52757 -3.586831)', '2026-07-18 17:23:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527536 -3.586744)'), GeomFromEWKT('SRID=4674;POINT (-38.52757 -3.586831)'))) / (select extract(epoch from '2026-07-18 17:23:45'::timestamp) - extract(epoch from '2026-07-18 17:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527536 -3.586744)'), GeomFromEWKT('SRID=4674;POINT (-38.52757 -3.586831)'))) / (select extract(epoch from '2026-07-18 17:23:45'::timestamp) - extract(epoch from '2026-07-18 17:23:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527591 -3.586914)', '2026-07-18 17:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52757 -3.586831)'), GeomFromEWKT('SRID=4674;POINT (-38.527591 -3.586914)'))) / (select extract(epoch from '2026-07-18 17:23:50'::timestamp) - extract(epoch from '2026-07-18 17:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52757 -3.586831)'), GeomFromEWKT('SRID=4674;POINT (-38.527591 -3.586914)'))) / (select extract(epoch from '2026-07-18 17:23:50'::timestamp) - extract(epoch from '2026-07-18 17:23: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'), 47391, 'SRID=4674;POINT (-38.527615 -3.587017)', '2026-07-18 17:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527591 -3.586914)'), GeomFromEWKT('SRID=4674;POINT (-38.527615 -3.587017)'))) / (select extract(epoch from '2026-07-18 17:23:56'::timestamp) - extract(epoch from '2026-07-18 17:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527591 -3.586914)'), GeomFromEWKT('SRID=4674;POINT (-38.527615 -3.587017)'))) / (select extract(epoch from '2026-07-18 17:23:56'::timestamp) - extract(epoch from '2026-07-18 17:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527635 -3.587068)', '2026-07-18 17:23:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527615 -3.587017)'), GeomFromEWKT('SRID=4674;POINT (-38.527635 -3.587068)'))) / (select extract(epoch from '2026-07-18 17:23:59'::timestamp) - extract(epoch from '2026-07-18 17:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527615 -3.587017)'), GeomFromEWKT('SRID=4674;POINT (-38.527635 -3.587068)'))) / (select extract(epoch from '2026-07-18 17:23:59'::timestamp) - extract(epoch from '2026-07-18 17:23: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'), 47391, 'SRID=4674;POINT (-38.527638 -3.587108)', '2026-07-18 17:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527635 -3.587068)'), GeomFromEWKT('SRID=4674;POINT (-38.527638 -3.587108)'))) / (select extract(epoch from '2026-07-18 17:24:01'::timestamp) - extract(epoch from '2026-07-18 17:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527635 -3.587068)'), GeomFromEWKT('SRID=4674;POINT (-38.527638 -3.587108)'))) / (select extract(epoch from '2026-07-18 17:24:01'::timestamp) - extract(epoch from '2026-07-18 17:23: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'), 47391, 'SRID=4674;POINT (-38.527656 -3.587213)', '2026-07-18 17:24:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527638 -3.587108)'), GeomFromEWKT('SRID=4674;POINT (-38.527656 -3.587213)'))) / (select extract(epoch from '2026-07-18 17:24:07'::timestamp) - extract(epoch from '2026-07-18 17:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527638 -3.587108)'), GeomFromEWKT('SRID=4674;POINT (-38.527656 -3.587213)'))) / (select extract(epoch from '2026-07-18 17:24:07'::timestamp) - extract(epoch from '2026-07-18 17:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527674 -3.587348)', '2026-07-18 17:24:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527656 -3.587213)'), GeomFromEWKT('SRID=4674;POINT (-38.527674 -3.587348)'))) / (select extract(epoch from '2026-07-18 17:24:14'::timestamp) - extract(epoch from '2026-07-18 17:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527656 -3.587213)'), GeomFromEWKT('SRID=4674;POINT (-38.527674 -3.587348)'))) / (select extract(epoch from '2026-07-18 17:24:14'::timestamp) - extract(epoch from '2026-07-18 17:24: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'), 47391, 'SRID=4674;POINT (-38.527698 -3.587459)', '2026-07-18 17:24:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527674 -3.587348)'), GeomFromEWKT('SRID=4674;POINT (-38.527698 -3.587459)'))) / (select extract(epoch from '2026-07-18 17:24:20'::timestamp) - extract(epoch from '2026-07-18 17:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527674 -3.587348)'), GeomFromEWKT('SRID=4674;POINT (-38.527698 -3.587459)'))) / (select extract(epoch from '2026-07-18 17:24:20'::timestamp) - extract(epoch from '2026-07-18 17:24: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'), 47391, 'SRID=4674;POINT (-38.527705 -3.587549)', '2026-07-18 17:24:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527698 -3.587459)'), GeomFromEWKT('SRID=4674;POINT (-38.527705 -3.587549)'))) / (select extract(epoch from '2026-07-18 17:24:25'::timestamp) - extract(epoch from '2026-07-18 17:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527698 -3.587459)'), GeomFromEWKT('SRID=4674;POINT (-38.527705 -3.587549)'))) / (select extract(epoch from '2026-07-18 17:24:25'::timestamp) - extract(epoch from '2026-07-18 17:24: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'), 47391, 'SRID=4674;POINT (-38.527721 -3.587663)', '2026-07-18 17:24:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527705 -3.587549)'), GeomFromEWKT('SRID=4674;POINT (-38.527721 -3.587663)'))) / (select extract(epoch from '2026-07-18 17:24:31'::timestamp) - extract(epoch from '2026-07-18 17:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527705 -3.587549)'), GeomFromEWKT('SRID=4674;POINT (-38.527721 -3.587663)'))) / (select extract(epoch from '2026-07-18 17:24:31'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.52774 -3.587781)', '2026-07-18 17:24:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527721 -3.587663)'), GeomFromEWKT('SRID=4674;POINT (-38.52774 -3.587781)'))) / (select extract(epoch from '2026-07-18 17:24:37'::timestamp) - extract(epoch from '2026-07-18 17:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527721 -3.587663)'), GeomFromEWKT('SRID=4674;POINT (-38.52774 -3.587781)'))) / (select extract(epoch from '2026-07-18 17:24:37'::timestamp) - extract(epoch from '2026-07-18 17:24:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527759 -3.587885)', '2026-07-18 17:24:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52774 -3.587781)'), GeomFromEWKT('SRID=4674;POINT (-38.527759 -3.587885)'))) / (select extract(epoch from '2026-07-18 17:24:43'::timestamp) - extract(epoch from '2026-07-18 17:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52774 -3.587781)'), GeomFromEWKT('SRID=4674;POINT (-38.527759 -3.587885)'))) / (select extract(epoch from '2026-07-18 17:24:43'::timestamp) - extract(epoch from '2026-07-18 17:24: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'), 47391, 'SRID=4674;POINT (-38.527777 -3.587971)', '2026-07-18 17:24:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527759 -3.587885)'), GeomFromEWKT('SRID=4674;POINT (-38.527777 -3.587971)'))) / (select extract(epoch from '2026-07-18 17:24:48'::timestamp) - extract(epoch from '2026-07-18 17:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527759 -3.587885)'), GeomFromEWKT('SRID=4674;POINT (-38.527777 -3.587971)'))) / (select extract(epoch from '2026-07-18 17:24:48'::timestamp) - extract(epoch from '2026-07-18 17:24: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'), 47391, 'SRID=4674;POINT (-38.527799 -3.588062)', '2026-07-18 17:24:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527777 -3.587971)'), GeomFromEWKT('SRID=4674;POINT (-38.527799 -3.588062)'))) / (select extract(epoch from '2026-07-18 17:24:53'::timestamp) - extract(epoch from '2026-07-18 17:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527777 -3.587971)'), GeomFromEWKT('SRID=4674;POINT (-38.527799 -3.588062)'))) / (select extract(epoch from '2026-07-18 17:24:53'::timestamp) - extract(epoch from '2026-07-18 17:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527825 -3.588133)', '2026-07-18 17:24:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527799 -3.588062)'), GeomFromEWKT('SRID=4674;POINT (-38.527825 -3.588133)'))) / (select extract(epoch from '2026-07-18 17:24:58'::timestamp) - extract(epoch from '2026-07-18 17:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527799 -3.588062)'), GeomFromEWKT('SRID=4674;POINT (-38.527825 -3.588133)'))) / (select extract(epoch from '2026-07-18 17:24:58'::timestamp) - extract(epoch from '2026-07-18 17:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527867 -3.588253)', '2026-07-18 17:25:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527825 -3.588133)'), GeomFromEWKT('SRID=4674;POINT (-38.527867 -3.588253)'))) / (select extract(epoch from '2026-07-18 17:25:05'::timestamp) - extract(epoch from '2026-07-18 17:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527825 -3.588133)'), GeomFromEWKT('SRID=4674;POINT (-38.527867 -3.588253)'))) / (select extract(epoch from '2026-07-18 17:25:05'::timestamp) - extract(epoch from '2026-07-18 17:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527894 -3.588354)', '2026-07-18 17:25:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527867 -3.588253)'), GeomFromEWKT('SRID=4674;POINT (-38.527894 -3.588354)'))) / (select extract(epoch from '2026-07-18 17:25:11'::timestamp) - extract(epoch from '2026-07-18 17:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527867 -3.588253)'), GeomFromEWKT('SRID=4674;POINT (-38.527894 -3.588354)'))) / (select extract(epoch from '2026-07-18 17:25:11'::timestamp) - extract(epoch from '2026-07-18 17:25: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'), 47391, 'SRID=4674;POINT (-38.527914 -3.588424)', '2026-07-18 17:25:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527894 -3.588354)'), GeomFromEWKT('SRID=4674;POINT (-38.527914 -3.588424)'))) / (select extract(epoch from '2026-07-18 17:25:16'::timestamp) - extract(epoch from '2026-07-18 17:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527894 -3.588354)'), GeomFromEWKT('SRID=4674;POINT (-38.527914 -3.588424)'))) / (select extract(epoch from '2026-07-18 17:25:16'::timestamp) - extract(epoch from '2026-07-18 17:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527916 -3.588465)', '2026-07-18 17:25:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527914 -3.588424)'), GeomFromEWKT('SRID=4674;POINT (-38.527916 -3.588465)'))) / (select extract(epoch from '2026-07-18 17:25:19'::timestamp) - extract(epoch from '2026-07-18 17:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527914 -3.588424)'), GeomFromEWKT('SRID=4674;POINT (-38.527916 -3.588465)'))) / (select extract(epoch from '2026-07-18 17:25:19'::timestamp) - extract(epoch from '2026-07-18 17:25: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'), 47391, 'SRID=4674;POINT (-38.527922 -3.588485)', '2026-07-18 17:25:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527916 -3.588465)'), GeomFromEWKT('SRID=4674;POINT (-38.527922 -3.588485)'))) / (select extract(epoch from '2026-07-18 17:25:20'::timestamp) - extract(epoch from '2026-07-18 17:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527916 -3.588465)'), GeomFromEWKT('SRID=4674;POINT (-38.527922 -3.588485)'))) / (select extract(epoch from '2026-07-18 17:25:20'::timestamp) - extract(epoch from '2026-07-18 17:25:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527933 -3.588512)', '2026-07-18 17:25:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527922 -3.588485)'), GeomFromEWKT('SRID=4674;POINT (-38.527933 -3.588512)'))) / (select extract(epoch from '2026-07-18 17:25:22'::timestamp) - extract(epoch from '2026-07-18 17:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527922 -3.588485)'), GeomFromEWKT('SRID=4674;POINT (-38.527933 -3.588512)'))) / (select extract(epoch from '2026-07-18 17:25:22'::timestamp) - extract(epoch from '2026-07-18 17:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527941 -3.588537)', '2026-07-18 17:25:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527933 -3.588512)'), GeomFromEWKT('SRID=4674;POINT (-38.527941 -3.588537)'))) / (select extract(epoch from '2026-07-18 17:25:24'::timestamp) - extract(epoch from '2026-07-18 17:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527933 -3.588512)'), GeomFromEWKT('SRID=4674;POINT (-38.527941 -3.588537)'))) / (select extract(epoch from '2026-07-18 17:25:24'::timestamp) - extract(epoch from '2026-07-18 17:25: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'), 47391, 'SRID=4674;POINT (-38.527976 -3.588638)', '2026-07-18 17:25:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527941 -3.588537)'), GeomFromEWKT('SRID=4674;POINT (-38.527976 -3.588638)'))) / (select extract(epoch from '2026-07-18 17:25:29'::timestamp) - extract(epoch from '2026-07-18 17:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527941 -3.588537)'), GeomFromEWKT('SRID=4674;POINT (-38.527976 -3.588638)'))) / (select extract(epoch from '2026-07-18 17:25:29'::timestamp) - extract(epoch from '2026-07-18 17:25: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'), 47391, 'SRID=4674;POINT (-38.527997 -3.588716)', '2026-07-18 17:25:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527976 -3.588638)'), GeomFromEWKT('SRID=4674;POINT (-38.527997 -3.588716)'))) / (select extract(epoch from '2026-07-18 17:25:33'::timestamp) - extract(epoch from '2026-07-18 17:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527976 -3.588638)'), GeomFromEWKT('SRID=4674;POINT (-38.527997 -3.588716)'))) / (select extract(epoch from '2026-07-18 17:25:33'::timestamp) - extract(epoch from '2026-07-18 17:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527997 -3.58874)', '2026-07-18 17:25:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527997 -3.588716)'), GeomFromEWKT('SRID=4674;POINT (-38.527997 -3.58874)'))) / (select extract(epoch from '2026-07-18 17:25:34'::timestamp) - extract(epoch from '2026-07-18 17:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527997 -3.588716)'), GeomFromEWKT('SRID=4674;POINT (-38.527997 -3.58874)'))) / (select extract(epoch from '2026-07-18 17:25:34'::timestamp) - extract(epoch from '2026-07-18 17:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528013 -3.588811)', '2026-07-18 17:25:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527997 -3.58874)'), GeomFromEWKT('SRID=4674;POINT (-38.528013 -3.588811)'))) / (select extract(epoch from '2026-07-18 17:25:38'::timestamp) - extract(epoch from '2026-07-18 17:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527997 -3.58874)'), GeomFromEWKT('SRID=4674;POINT (-38.528013 -3.588811)'))) / (select extract(epoch from '2026-07-18 17:25:38'::timestamp) - extract(epoch from '2026-07-18 17:25: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'), 47391, 'SRID=4674;POINT (-38.52802 -3.588853)', '2026-07-18 17:25:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528013 -3.588811)'), GeomFromEWKT('SRID=4674;POINT (-38.52802 -3.588853)'))) / (select extract(epoch from '2026-07-18 17:25:42'::timestamp) - extract(epoch from '2026-07-18 17:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528013 -3.588811)'), GeomFromEWKT('SRID=4674;POINT (-38.52802 -3.588853)'))) / (select extract(epoch from '2026-07-18 17:25:42'::timestamp) - extract(epoch from '2026-07-18 17:25: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'), 47391, 'SRID=4674;POINT (-38.528033 -3.588896)', '2026-07-18 17:25:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52802 -3.588853)'), GeomFromEWKT('SRID=4674;POINT (-38.528033 -3.588896)'))) / (select extract(epoch from '2026-07-18 17:25:45'::timestamp) - extract(epoch from '2026-07-18 17:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52802 -3.588853)'), GeomFromEWKT('SRID=4674;POINT (-38.528033 -3.588896)'))) / (select extract(epoch from '2026-07-18 17:25:45'::timestamp) - extract(epoch from '2026-07-18 17:25: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'), 47391, 'SRID=4674;POINT (-38.528053 -3.588987)', '2026-07-18 17:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528033 -3.588896)'), GeomFromEWKT('SRID=4674;POINT (-38.528053 -3.588987)'))) / (select extract(epoch from '2026-07-18 17:25:50'::timestamp) - extract(epoch from '2026-07-18 17:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528033 -3.588896)'), GeomFromEWKT('SRID=4674;POINT (-38.528053 -3.588987)'))) / (select extract(epoch from '2026-07-18 17:25:50'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.528089 -3.589079)', '2026-07-18 17:25:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528053 -3.588987)'), GeomFromEWKT('SRID=4674;POINT (-38.528089 -3.589079)'))) / (select extract(epoch from '2026-07-18 17:25:56'::timestamp) - extract(epoch from '2026-07-18 17:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528053 -3.588987)'), GeomFromEWKT('SRID=4674;POINT (-38.528089 -3.589079)'))) / (select extract(epoch from '2026-07-18 17:25:56'::timestamp) - extract(epoch from '2026-07-18 17:25: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'), 47391, 'SRID=4674;POINT (-38.528116 -3.589178)', '2026-07-18 17:26:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528089 -3.589079)'), GeomFromEWKT('SRID=4674;POINT (-38.528116 -3.589178)'))) / (select extract(epoch from '2026-07-18 17:26:03'::timestamp) - extract(epoch from '2026-07-18 17:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528089 -3.589079)'), GeomFromEWKT('SRID=4674;POINT (-38.528116 -3.589178)'))) / (select extract(epoch from '2026-07-18 17:26:03'::timestamp) - extract(epoch from '2026-07-18 17:25: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'), 47391, 'SRID=4674;POINT (-38.528161 -3.589278)', '2026-07-18 17:26:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528116 -3.589178)'), GeomFromEWKT('SRID=4674;POINT (-38.528161 -3.589278)'))) / (select extract(epoch from '2026-07-18 17:26:09'::timestamp) - extract(epoch from '2026-07-18 17:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528116 -3.589178)'), GeomFromEWKT('SRID=4674;POINT (-38.528161 -3.589278)'))) / (select extract(epoch from '2026-07-18 17:26:09'::timestamp) - extract(epoch from '2026-07-18 17:26: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'), 47391, 'SRID=4674;POINT (-38.528193 -3.58939)', '2026-07-18 17:26:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528161 -3.589278)'), GeomFromEWKT('SRID=4674;POINT (-38.528193 -3.58939)'))) / (select extract(epoch from '2026-07-18 17:26:15'::timestamp) - extract(epoch from '2026-07-18 17:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528161 -3.589278)'), GeomFromEWKT('SRID=4674;POINT (-38.528193 -3.58939)'))) / (select extract(epoch from '2026-07-18 17:26:15'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.528203 -3.589445)', '2026-07-18 17:26:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528193 -3.58939)'), GeomFromEWKT('SRID=4674;POINT (-38.528203 -3.589445)'))) / (select extract(epoch from '2026-07-18 17:26:18'::timestamp) - extract(epoch from '2026-07-18 17:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528193 -3.58939)'), GeomFromEWKT('SRID=4674;POINT (-38.528203 -3.589445)'))) / (select extract(epoch from '2026-07-18 17:26:18'::timestamp) - extract(epoch from '2026-07-18 17:26:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528216 -3.589477)', '2026-07-18 17:26:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528203 -3.589445)'), GeomFromEWKT('SRID=4674;POINT (-38.528216 -3.589477)'))) / (select extract(epoch from '2026-07-18 17:26:20'::timestamp) - extract(epoch from '2026-07-18 17:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528203 -3.589445)'), GeomFromEWKT('SRID=4674;POINT (-38.528216 -3.589477)'))) / (select extract(epoch from '2026-07-18 17:26:20'::timestamp) - extract(epoch from '2026-07-18 17:26:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528242 -3.589597)', '2026-07-18 17:26:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528216 -3.589477)'), GeomFromEWKT('SRID=4674;POINT (-38.528242 -3.589597)'))) / (select extract(epoch from '2026-07-18 17:26:27'::timestamp) - extract(epoch from '2026-07-18 17:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528216 -3.589477)'), GeomFromEWKT('SRID=4674;POINT (-38.528242 -3.589597)'))) / (select extract(epoch from '2026-07-18 17:26:27'::timestamp) - extract(epoch from '2026-07-18 17:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528267 -3.589694)', '2026-07-18 17:26:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528242 -3.589597)'), GeomFromEWKT('SRID=4674;POINT (-38.528267 -3.589694)'))) / (select extract(epoch from '2026-07-18 17:26:32'::timestamp) - extract(epoch from '2026-07-18 17:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528242 -3.589597)'), GeomFromEWKT('SRID=4674;POINT (-38.528267 -3.589694)'))) / (select extract(epoch from '2026-07-18 17:26:32'::timestamp) - extract(epoch from '2026-07-18 17:26: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'), 47391, 'SRID=4674;POINT (-38.528289 -3.589753)', '2026-07-18 17:26:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528267 -3.589694)'), GeomFromEWKT('SRID=4674;POINT (-38.528289 -3.589753)'))) / (select extract(epoch from '2026-07-18 17:26:36'::timestamp) - extract(epoch from '2026-07-18 17:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528267 -3.589694)'), GeomFromEWKT('SRID=4674;POINT (-38.528289 -3.589753)'))) / (select extract(epoch from '2026-07-18 17:26:36'::timestamp) - extract(epoch from '2026-07-18 17:26: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'), 47391, 'SRID=4674;POINT (-38.528287 -3.589766)', '2026-07-18 17:26:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528289 -3.589753)'), GeomFromEWKT('SRID=4674;POINT (-38.528287 -3.589766)'))) / (select extract(epoch from '2026-07-18 17:26:37'::timestamp) - extract(epoch from '2026-07-18 17:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528289 -3.589753)'), GeomFromEWKT('SRID=4674;POINT (-38.528287 -3.589766)'))) / (select extract(epoch from '2026-07-18 17:26:37'::timestamp) - extract(epoch from '2026-07-18 17:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528293 -3.589865)', '2026-07-18 17:26:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528287 -3.589766)'), GeomFromEWKT('SRID=4674;POINT (-38.528293 -3.589865)'))) / (select extract(epoch from '2026-07-18 17:26:43'::timestamp) - extract(epoch from '2026-07-18 17:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528287 -3.589766)'), GeomFromEWKT('SRID=4674;POINT (-38.528293 -3.589865)'))) / (select extract(epoch from '2026-07-18 17:26:43'::timestamp) - extract(epoch from '2026-07-18 17:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528314 -3.589968)', '2026-07-18 17:26:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528293 -3.589865)'), GeomFromEWKT('SRID=4674;POINT (-38.528314 -3.589968)'))) / (select extract(epoch from '2026-07-18 17:26:49'::timestamp) - extract(epoch from '2026-07-18 17:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528293 -3.589865)'), GeomFromEWKT('SRID=4674;POINT (-38.528314 -3.589968)'))) / (select extract(epoch from '2026-07-18 17:26:49'::timestamp) - extract(epoch from '2026-07-18 17:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528343 -3.590063)', '2026-07-18 17:26:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528314 -3.589968)'), GeomFromEWKT('SRID=4674;POINT (-38.528343 -3.590063)'))) / (select extract(epoch from '2026-07-18 17:26:54'::timestamp) - extract(epoch from '2026-07-18 17:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528314 -3.589968)'), GeomFromEWKT('SRID=4674;POINT (-38.528343 -3.590063)'))) / (select extract(epoch from '2026-07-18 17:26:54'::timestamp) - extract(epoch from '2026-07-18 17:26: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'), 47391, 'SRID=4674;POINT (-38.528341 -3.590097)', '2026-07-18 17:26:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528343 -3.590063)'), GeomFromEWKT('SRID=4674;POINT (-38.528341 -3.590097)'))) / (select extract(epoch from '2026-07-18 17:26:56'::timestamp) - extract(epoch from '2026-07-18 17:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528343 -3.590063)'), GeomFromEWKT('SRID=4674;POINT (-38.528341 -3.590097)'))) / (select extract(epoch from '2026-07-18 17:26:56'::timestamp) - extract(epoch from '2026-07-18 17:26: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'), 47391, 'SRID=4674;POINT (-38.528364 -3.590144)', '2026-07-18 17:26:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528341 -3.590097)'), GeomFromEWKT('SRID=4674;POINT (-38.528364 -3.590144)'))) / (select extract(epoch from '2026-07-18 17:26:59'::timestamp) - extract(epoch from '2026-07-18 17:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528341 -3.590097)'), GeomFromEWKT('SRID=4674;POINT (-38.528364 -3.590144)'))) / (select extract(epoch from '2026-07-18 17:26:59'::timestamp) - extract(epoch from '2026-07-18 17:26: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'), 47391, 'SRID=4674;POINT (-38.528389 -3.590249)', '2026-07-18 17:27:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528364 -3.590144)'), GeomFromEWKT('SRID=4674;POINT (-38.528389 -3.590249)'))) / (select extract(epoch from '2026-07-18 17:27:05'::timestamp) - extract(epoch from '2026-07-18 17:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528364 -3.590144)'), GeomFromEWKT('SRID=4674;POINT (-38.528389 -3.590249)'))) / (select extract(epoch from '2026-07-18 17:27:05'::timestamp) - extract(epoch from '2026-07-18 17:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528406 -3.59037)', '2026-07-18 17:27:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528389 -3.590249)'), GeomFromEWKT('SRID=4674;POINT (-38.528406 -3.59037)'))) / (select extract(epoch from '2026-07-18 17:27:12'::timestamp) - extract(epoch from '2026-07-18 17:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528389 -3.590249)'), GeomFromEWKT('SRID=4674;POINT (-38.528406 -3.59037)'))) / (select extract(epoch from '2026-07-18 17:27:12'::timestamp) - extract(epoch from '2026-07-18 17:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528425 -3.590461)', '2026-07-18 17:27:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528406 -3.59037)'), GeomFromEWKT('SRID=4674;POINT (-38.528425 -3.590461)'))) / (select extract(epoch from '2026-07-18 17:27:18'::timestamp) - extract(epoch from '2026-07-18 17:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528406 -3.59037)'), GeomFromEWKT('SRID=4674;POINT (-38.528425 -3.590461)'))) / (select extract(epoch from '2026-07-18 17:27:18'::timestamp) - extract(epoch from '2026-07-18 17:27: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'), 47391, 'SRID=4674;POINT (-38.528446 -3.590545)', '2026-07-18 17:27:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528425 -3.590461)'), GeomFromEWKT('SRID=4674;POINT (-38.528446 -3.590545)'))) / (select extract(epoch from '2026-07-18 17:27:23'::timestamp) - extract(epoch from '2026-07-18 17:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528425 -3.590461)'), GeomFromEWKT('SRID=4674;POINT (-38.528446 -3.590545)'))) / (select extract(epoch from '2026-07-18 17:27:23'::timestamp) - extract(epoch from '2026-07-18 17:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528448 -3.590562)', '2026-07-18 17:27:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528446 -3.590545)'), GeomFromEWKT('SRID=4674;POINT (-38.528448 -3.590562)'))) / (select extract(epoch from '2026-07-18 17:27:24'::timestamp) - extract(epoch from '2026-07-18 17:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528446 -3.590545)'), GeomFromEWKT('SRID=4674;POINT (-38.528448 -3.590562)'))) / (select extract(epoch from '2026-07-18 17:27:24'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.52847 -3.590647)', '2026-07-18 17:27:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528448 -3.590562)'), GeomFromEWKT('SRID=4674;POINT (-38.52847 -3.590647)'))) / (select extract(epoch from '2026-07-18 17:27:29'::timestamp) - extract(epoch from '2026-07-18 17:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528448 -3.590562)'), GeomFromEWKT('SRID=4674;POINT (-38.52847 -3.590647)'))) / (select extract(epoch from '2026-07-18 17:27:29'::timestamp) - extract(epoch from '2026-07-18 17:27: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'), 47391, 'SRID=4674;POINT (-38.528503 -3.590751)', '2026-07-18 17:27:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52847 -3.590647)'), GeomFromEWKT('SRID=4674;POINT (-38.528503 -3.590751)'))) / (select extract(epoch from '2026-07-18 17:27:35'::timestamp) - extract(epoch from '2026-07-18 17:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52847 -3.590647)'), GeomFromEWKT('SRID=4674;POINT (-38.528503 -3.590751)'))) / (select extract(epoch from '2026-07-18 17:27:35'::timestamp) - extract(epoch from '2026-07-18 17:27: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'), 47391, 'SRID=4674;POINT (-38.528534 -3.590868)', '2026-07-18 17:27:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528503 -3.590751)'), GeomFromEWKT('SRID=4674;POINT (-38.528534 -3.590868)'))) / (select extract(epoch from '2026-07-18 17:27:42'::timestamp) - extract(epoch from '2026-07-18 17:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528503 -3.590751)'), GeomFromEWKT('SRID=4674;POINT (-38.528534 -3.590868)'))) / (select extract(epoch from '2026-07-18 17:27:42'::timestamp) - extract(epoch from '2026-07-18 17:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528546 -3.590952)', '2026-07-18 17:27:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528534 -3.590868)'), GeomFromEWKT('SRID=4674;POINT (-38.528546 -3.590952)'))) / (select extract(epoch from '2026-07-18 17:27:47'::timestamp) - extract(epoch from '2026-07-18 17:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528534 -3.590868)'), GeomFromEWKT('SRID=4674;POINT (-38.528546 -3.590952)'))) / (select extract(epoch from '2026-07-18 17:27:47'::timestamp) - extract(epoch from '2026-07-18 17:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528573 -3.591047)', '2026-07-18 17:27:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528546 -3.590952)'), GeomFromEWKT('SRID=4674;POINT (-38.528573 -3.591047)'))) / (select extract(epoch from '2026-07-18 17:27:52'::timestamp) - extract(epoch from '2026-07-18 17:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528546 -3.590952)'), GeomFromEWKT('SRID=4674;POINT (-38.528573 -3.591047)'))) / (select extract(epoch from '2026-07-18 17:27:52'::timestamp) - extract(epoch from '2026-07-18 17:27: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'), 47391, 'SRID=4674;POINT (-38.528598 -3.591128)', '2026-07-18 17:27:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528573 -3.591047)'), GeomFromEWKT('SRID=4674;POINT (-38.528598 -3.591128)'))) / (select extract(epoch from '2026-07-18 17:27:57'::timestamp) - extract(epoch from '2026-07-18 17:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528573 -3.591047)'), GeomFromEWKT('SRID=4674;POINT (-38.528598 -3.591128)'))) / (select extract(epoch from '2026-07-18 17:27:57'::timestamp) - extract(epoch from '2026-07-18 17:27: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'), 47391, 'SRID=4674;POINT (-38.528622 -3.591214)', '2026-07-18 17:28:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528598 -3.591128)'), GeomFromEWKT('SRID=4674;POINT (-38.528622 -3.591214)'))) / (select extract(epoch from '2026-07-18 17:28:02'::timestamp) - extract(epoch from '2026-07-18 17:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528598 -3.591128)'), GeomFromEWKT('SRID=4674;POINT (-38.528622 -3.591214)'))) / (select extract(epoch from '2026-07-18 17:28:02'::timestamp) - extract(epoch from '2026-07-18 17:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528634 -3.59123)', '2026-07-18 17:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528622 -3.591214)'), GeomFromEWKT('SRID=4674;POINT (-38.528634 -3.59123)'))) / (select extract(epoch from '2026-07-18 17:28:03'::timestamp) - extract(epoch from '2026-07-18 17:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528622 -3.591214)'), GeomFromEWKT('SRID=4674;POINT (-38.528634 -3.59123)'))) / (select extract(epoch from '2026-07-18 17:28:03'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.528663 -3.59133)', '2026-07-18 17:28:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528634 -3.59123)'), GeomFromEWKT('SRID=4674;POINT (-38.528663 -3.59133)'))) / (select extract(epoch from '2026-07-18 17:28:08'::timestamp) - extract(epoch from '2026-07-18 17:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528634 -3.59123)'), GeomFromEWKT('SRID=4674;POINT (-38.528663 -3.59133)'))) / (select extract(epoch from '2026-07-18 17:28:08'::timestamp) - extract(epoch from '2026-07-18 17:28: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'), 47391, 'SRID=4674;POINT (-38.528677 -3.591404)', '2026-07-18 17:28:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528663 -3.59133)'), GeomFromEWKT('SRID=4674;POINT (-38.528677 -3.591404)'))) / (select extract(epoch from '2026-07-18 17:28:13'::timestamp) - extract(epoch from '2026-07-18 17:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528663 -3.59133)'), GeomFromEWKT('SRID=4674;POINT (-38.528677 -3.591404)'))) / (select extract(epoch from '2026-07-18 17:28:13'::timestamp) - extract(epoch from '2026-07-18 17:28:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528697 -3.591509)', '2026-07-18 17:28:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528677 -3.591404)'), GeomFromEWKT('SRID=4674;POINT (-38.528697 -3.591509)'))) / (select extract(epoch from '2026-07-18 17:28:19'::timestamp) - extract(epoch from '2026-07-18 17:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528677 -3.591404)'), GeomFromEWKT('SRID=4674;POINT (-38.528697 -3.591509)'))) / (select extract(epoch from '2026-07-18 17:28:19'::timestamp) - extract(epoch from '2026-07-18 17:28: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'), 47391, 'SRID=4674;POINT (-38.528728 -3.591611)', '2026-07-18 17:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528697 -3.591509)'), GeomFromEWKT('SRID=4674;POINT (-38.528728 -3.591611)'))) / (select extract(epoch from '2026-07-18 17:28:25'::timestamp) - extract(epoch from '2026-07-18 17:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528697 -3.591509)'), GeomFromEWKT('SRID=4674;POINT (-38.528728 -3.591611)'))) / (select extract(epoch from '2026-07-18 17:28:25'::timestamp) - extract(epoch from '2026-07-18 17:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528756 -3.591662)', '2026-07-18 17:28:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528728 -3.591611)'), GeomFromEWKT('SRID=4674;POINT (-38.528756 -3.591662)'))) / (select extract(epoch from '2026-07-18 17:28:28'::timestamp) - extract(epoch from '2026-07-18 17:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528728 -3.591611)'), GeomFromEWKT('SRID=4674;POINT (-38.528756 -3.591662)'))) / (select extract(epoch from '2026-07-18 17:28:28'::timestamp) - extract(epoch from '2026-07-18 17:28: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'), 47391, 'SRID=4674;POINT (-38.528756 -3.591681)', '2026-07-18 17:28:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528756 -3.591662)'), GeomFromEWKT('SRID=4674;POINT (-38.528756 -3.591681)'))) / (select extract(epoch from '2026-07-18 17:28:29'::timestamp) - extract(epoch from '2026-07-18 17:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528756 -3.591662)'), GeomFromEWKT('SRID=4674;POINT (-38.528756 -3.591681)'))) / (select extract(epoch from '2026-07-18 17:28:29'::timestamp) - extract(epoch from '2026-07-18 17:28: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'), 47391, 'SRID=4674;POINT (-38.528759 -3.591774)', '2026-07-18 17:28:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528756 -3.591681)'), GeomFromEWKT('SRID=4674;POINT (-38.528759 -3.591774)'))) / (select extract(epoch from '2026-07-18 17:28:36'::timestamp) - extract(epoch from '2026-07-18 17:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528756 -3.591681)'), GeomFromEWKT('SRID=4674;POINT (-38.528759 -3.591774)'))) / (select extract(epoch from '2026-07-18 17:28:36'::timestamp) - extract(epoch from '2026-07-18 17:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528778 -3.591848)', '2026-07-18 17:28:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528759 -3.591774)'), GeomFromEWKT('SRID=4674;POINT (-38.528778 -3.591848)'))) / (select extract(epoch from '2026-07-18 17:28:41'::timestamp) - extract(epoch from '2026-07-18 17:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528759 -3.591774)'), GeomFromEWKT('SRID=4674;POINT (-38.528778 -3.591848)'))) / (select extract(epoch from '2026-07-18 17:28:41'::timestamp) - extract(epoch from '2026-07-18 17:28:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528825 -3.591959)', '2026-07-18 17:28:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528778 -3.591848)'), GeomFromEWKT('SRID=4674;POINT (-38.528825 -3.591959)'))) / (select extract(epoch from '2026-07-18 17:28:48'::timestamp) - extract(epoch from '2026-07-18 17:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528778 -3.591848)'), GeomFromEWKT('SRID=4674;POINT (-38.528825 -3.591959)'))) / (select extract(epoch from '2026-07-18 17:28:48'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.528848 -3.59207)', '2026-07-18 17:28:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528825 -3.591959)'), GeomFromEWKT('SRID=4674;POINT (-38.528848 -3.59207)'))) / (select extract(epoch from '2026-07-18 17:28:55'::timestamp) - extract(epoch from '2026-07-18 17:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528825 -3.591959)'), GeomFromEWKT('SRID=4674;POINT (-38.528848 -3.59207)'))) / (select extract(epoch from '2026-07-18 17:28:55'::timestamp) - extract(epoch from '2026-07-18 17:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528854 -3.592079)', '2026-07-18 17:28:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528848 -3.59207)'), GeomFromEWKT('SRID=4674;POINT (-38.528854 -3.592079)'))) / (select extract(epoch from '2026-07-18 17:28:56'::timestamp) - extract(epoch from '2026-07-18 17:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528848 -3.59207)'), GeomFromEWKT('SRID=4674;POINT (-38.528854 -3.592079)'))) / (select extract(epoch from '2026-07-18 17:28:56'::timestamp) - extract(epoch from '2026-07-18 17:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528863 -3.59213)', '2026-07-18 17:29:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528854 -3.592079)'), GeomFromEWKT('SRID=4674;POINT (-38.528863 -3.59213)'))) / (select extract(epoch from '2026-07-18 17:29:00'::timestamp) - extract(epoch from '2026-07-18 17:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528854 -3.592079)'), GeomFromEWKT('SRID=4674;POINT (-38.528863 -3.59213)'))) / (select extract(epoch from '2026-07-18 17:29:00'::timestamp) - extract(epoch from '2026-07-18 17:28: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'), 47391, 'SRID=4674;POINT (-38.528894 -3.592206)', '2026-07-18 17:29:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528863 -3.59213)'), GeomFromEWKT('SRID=4674;POINT (-38.528894 -3.592206)'))) / (select extract(epoch from '2026-07-18 17:29:05'::timestamp) - extract(epoch from '2026-07-18 17:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528863 -3.59213)'), GeomFromEWKT('SRID=4674;POINT (-38.528894 -3.592206)'))) / (select extract(epoch from '2026-07-18 17:29:05'::timestamp) - extract(epoch from '2026-07-18 17:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528897 -3.592222)', '2026-07-18 17:29:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528894 -3.592206)'), GeomFromEWKT('SRID=4674;POINT (-38.528897 -3.592222)'))) / (select extract(epoch from '2026-07-18 17:29:06'::timestamp) - extract(epoch from '2026-07-18 17:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528894 -3.592206)'), GeomFromEWKT('SRID=4674;POINT (-38.528897 -3.592222)'))) / (select extract(epoch from '2026-07-18 17:29:06'::timestamp) - extract(epoch from '2026-07-18 17:29: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'), 47391, 'SRID=4674;POINT (-38.528925 -3.592287)', '2026-07-18 17:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528897 -3.592222)'), GeomFromEWKT('SRID=4674;POINT (-38.528925 -3.592287)'))) / (select extract(epoch from '2026-07-18 17:29:10'::timestamp) - extract(epoch from '2026-07-18 17:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528897 -3.592222)'), GeomFromEWKT('SRID=4674;POINT (-38.528925 -3.592287)'))) / (select extract(epoch from '2026-07-18 17:29:10'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.528945 -3.592408)', '2026-07-18 17:29:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528925 -3.592287)'), GeomFromEWKT('SRID=4674;POINT (-38.528945 -3.592408)'))) / (select extract(epoch from '2026-07-18 17:29:17'::timestamp) - extract(epoch from '2026-07-18 17:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528925 -3.592287)'), GeomFromEWKT('SRID=4674;POINT (-38.528945 -3.592408)'))) / (select extract(epoch from '2026-07-18 17:29:17'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.528958 -3.59249)', '2026-07-18 17:29:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528945 -3.592408)'), GeomFromEWKT('SRID=4674;POINT (-38.528958 -3.59249)'))) / (select extract(epoch from '2026-07-18 17:29:22'::timestamp) - extract(epoch from '2026-07-18 17:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528945 -3.592408)'), GeomFromEWKT('SRID=4674;POINT (-38.528958 -3.59249)'))) / (select extract(epoch from '2026-07-18 17:29:22'::timestamp) - extract(epoch from '2026-07-18 17:29: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'), 47391, 'SRID=4674;POINT (-38.528965 -3.592501)', '2026-07-18 17:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528958 -3.59249)'), GeomFromEWKT('SRID=4674;POINT (-38.528965 -3.592501)'))) / (select extract(epoch from '2026-07-18 17:29:23'::timestamp) - extract(epoch from '2026-07-18 17:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528958 -3.59249)'), GeomFromEWKT('SRID=4674;POINT (-38.528965 -3.592501)'))) / (select extract(epoch from '2026-07-18 17:29:23'::timestamp) - extract(epoch from '2026-07-18 17:29: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'), 47391, 'SRID=4674;POINT (-38.528967 -3.592527)', '2026-07-18 17:29:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528965 -3.592501)'), GeomFromEWKT('SRID=4674;POINT (-38.528967 -3.592527)'))) / (select extract(epoch from '2026-07-18 17:29:25'::timestamp) - extract(epoch from '2026-07-18 17:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528965 -3.592501)'), GeomFromEWKT('SRID=4674;POINT (-38.528967 -3.592527)'))) / (select extract(epoch from '2026-07-18 17:29:25'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.528984 -3.592572)', '2026-07-18 17:29:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528967 -3.592527)'), GeomFromEWKT('SRID=4674;POINT (-38.528984 -3.592572)'))) / (select extract(epoch from '2026-07-18 17:29:28'::timestamp) - extract(epoch from '2026-07-18 17:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528967 -3.592527)'), GeomFromEWKT('SRID=4674;POINT (-38.528984 -3.592572)'))) / (select extract(epoch from '2026-07-18 17:29:28'::timestamp) - extract(epoch from '2026-07-18 17:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529029 -3.592677)', '2026-07-18 17:29:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528984 -3.592572)'), GeomFromEWKT('SRID=4674;POINT (-38.529029 -3.592677)'))) / (select extract(epoch from '2026-07-18 17:29:34'::timestamp) - extract(epoch from '2026-07-18 17:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528984 -3.592572)'), GeomFromEWKT('SRID=4674;POINT (-38.529029 -3.592677)'))) / (select extract(epoch from '2026-07-18 17:29:34'::timestamp) - extract(epoch from '2026-07-18 17:29: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'), 47391, 'SRID=4674;POINT (-38.529067 -3.592771)', '2026-07-18 17:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529029 -3.592677)'), GeomFromEWKT('SRID=4674;POINT (-38.529067 -3.592771)'))) / (select extract(epoch from '2026-07-18 17:29:40'::timestamp) - extract(epoch from '2026-07-18 17:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529029 -3.592677)'), GeomFromEWKT('SRID=4674;POINT (-38.529067 -3.592771)'))) / (select extract(epoch from '2026-07-18 17:29:40'::timestamp) - extract(epoch from '2026-07-18 17:29: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'), 47391, 'SRID=4674;POINT (-38.529099 -3.592875)', '2026-07-18 17:29:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529067 -3.592771)'), GeomFromEWKT('SRID=4674;POINT (-38.529099 -3.592875)'))) / (select extract(epoch from '2026-07-18 17:29:46'::timestamp) - extract(epoch from '2026-07-18 17:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529067 -3.592771)'), GeomFromEWKT('SRID=4674;POINT (-38.529099 -3.592875)'))) / (select extract(epoch from '2026-07-18 17:29:46'::timestamp) - extract(epoch from '2026-07-18 17:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52913 -3.592968)', '2026-07-18 17:29:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529099 -3.592875)'), GeomFromEWKT('SRID=4674;POINT (-38.52913 -3.592968)'))) / (select extract(epoch from '2026-07-18 17:29:52'::timestamp) - extract(epoch from '2026-07-18 17:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529099 -3.592875)'), GeomFromEWKT('SRID=4674;POINT (-38.52913 -3.592968)'))) / (select extract(epoch from '2026-07-18 17:29:52'::timestamp) - extract(epoch from '2026-07-18 17:29: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'), 47391, 'SRID=4674;POINT (-38.529164 -3.59305)', '2026-07-18 17:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52913 -3.592968)'), GeomFromEWKT('SRID=4674;POINT (-38.529164 -3.59305)'))) / (select extract(epoch from '2026-07-18 17:29:57'::timestamp) - extract(epoch from '2026-07-18 17:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52913 -3.592968)'), GeomFromEWKT('SRID=4674;POINT (-38.529164 -3.59305)'))) / (select extract(epoch from '2026-07-18 17:29:57'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.529193 -3.59314)', '2026-07-18 17:30:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529164 -3.59305)'), GeomFromEWKT('SRID=4674;POINT (-38.529193 -3.59314)'))) / (select extract(epoch from '2026-07-18 17:30:01'::timestamp) - extract(epoch from '2026-07-18 17:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529164 -3.59305)'), GeomFromEWKT('SRID=4674;POINT (-38.529193 -3.59314)'))) / (select extract(epoch from '2026-07-18 17:30:01'::timestamp) - extract(epoch from '2026-07-18 17:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529208 -3.593225)', '2026-07-18 17:30:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529193 -3.59314)'), GeomFromEWKT('SRID=4674;POINT (-38.529208 -3.593225)'))) / (select extract(epoch from '2026-07-18 17:30:06'::timestamp) - extract(epoch from '2026-07-18 17:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529193 -3.59314)'), GeomFromEWKT('SRID=4674;POINT (-38.529208 -3.593225)'))) / (select extract(epoch from '2026-07-18 17:30:06'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529225 -3.593317)', '2026-07-18 17:30:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529208 -3.593225)'), GeomFromEWKT('SRID=4674;POINT (-38.529225 -3.593317)'))) / (select extract(epoch from '2026-07-18 17:30:12'::timestamp) - extract(epoch from '2026-07-18 17:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529208 -3.593225)'), GeomFromEWKT('SRID=4674;POINT (-38.529225 -3.593317)'))) / (select extract(epoch from '2026-07-18 17:30:12'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.529238 -3.59337)', '2026-07-18 17:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529225 -3.593317)'), GeomFromEWKT('SRID=4674;POINT (-38.529238 -3.59337)'))) / (select extract(epoch from '2026-07-18 17:30:16'::timestamp) - extract(epoch from '2026-07-18 17:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529225 -3.593317)'), GeomFromEWKT('SRID=4674;POINT (-38.529238 -3.59337)'))) / (select extract(epoch from '2026-07-18 17:30:16'::timestamp) - extract(epoch from '2026-07-18 17:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529237 -3.59338)', '2026-07-18 17:30:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529238 -3.59337)'), GeomFromEWKT('SRID=4674;POINT (-38.529237 -3.59338)'))) / (select extract(epoch from '2026-07-18 17:30:17'::timestamp) - extract(epoch from '2026-07-18 17:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529238 -3.59337)'), GeomFromEWKT('SRID=4674;POINT (-38.529237 -3.59338)'))) / (select extract(epoch from '2026-07-18 17:30:17'::timestamp) - extract(epoch from '2026-07-18 17:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529245 -3.593411)', '2026-07-18 17:30:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529237 -3.59338)'), GeomFromEWKT('SRID=4674;POINT (-38.529245 -3.593411)'))) / (select extract(epoch from '2026-07-18 17:30:19'::timestamp) - extract(epoch from '2026-07-18 17:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529237 -3.59338)'), GeomFromEWKT('SRID=4674;POINT (-38.529245 -3.593411)'))) / (select extract(epoch from '2026-07-18 17:30:19'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529261 -3.593432)', '2026-07-18 17:30:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529245 -3.593411)'), GeomFromEWKT('SRID=4674;POINT (-38.529261 -3.593432)'))) / (select extract(epoch from '2026-07-18 17:30:21'::timestamp) - extract(epoch from '2026-07-18 17:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529245 -3.593411)'), GeomFromEWKT('SRID=4674;POINT (-38.529261 -3.593432)'))) / (select extract(epoch from '2026-07-18 17:30:21'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529285 -3.593514)', '2026-07-18 17:30:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529261 -3.593432)'), GeomFromEWKT('SRID=4674;POINT (-38.529285 -3.593514)'))) / (select extract(epoch from '2026-07-18 17:30:27'::timestamp) - extract(epoch from '2026-07-18 17:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529261 -3.593432)'), GeomFromEWKT('SRID=4674;POINT (-38.529285 -3.593514)'))) / (select extract(epoch from '2026-07-18 17:30:27'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529289 -3.593531)', '2026-07-18 17:30:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529285 -3.593514)'), GeomFromEWKT('SRID=4674;POINT (-38.529289 -3.593531)'))) / (select extract(epoch from '2026-07-18 17:30:28'::timestamp) - extract(epoch from '2026-07-18 17:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529285 -3.593514)'), GeomFromEWKT('SRID=4674;POINT (-38.529289 -3.593531)'))) / (select extract(epoch from '2026-07-18 17:30:28'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529296 -3.593583)', '2026-07-18 17:30:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529289 -3.593531)'), GeomFromEWKT('SRID=4674;POINT (-38.529296 -3.593583)'))) / (select extract(epoch from '2026-07-18 17:30:31'::timestamp) - extract(epoch from '2026-07-18 17:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529289 -3.593531)'), GeomFromEWKT('SRID=4674;POINT (-38.529296 -3.593583)'))) / (select extract(epoch from '2026-07-18 17:30:31'::timestamp) - extract(epoch from '2026-07-18 17:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529298 -3.593598)', '2026-07-18 17:30:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529296 -3.593583)'), GeomFromEWKT('SRID=4674;POINT (-38.529298 -3.593598)'))) / (select extract(epoch from '2026-07-18 17:30:32'::timestamp) - extract(epoch from '2026-07-18 17:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529296 -3.593583)'), GeomFromEWKT('SRID=4674;POINT (-38.529298 -3.593598)'))) / (select extract(epoch from '2026-07-18 17:30:32'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.529304 -3.593636)', '2026-07-18 17:30:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529298 -3.593598)'), GeomFromEWKT('SRID=4674;POINT (-38.529304 -3.593636)'))) / (select extract(epoch from '2026-07-18 17:30:34'::timestamp) - extract(epoch from '2026-07-18 17:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529298 -3.593598)'), GeomFromEWKT('SRID=4674;POINT (-38.529304 -3.593636)'))) / (select extract(epoch from '2026-07-18 17:30:34'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529316 -3.593656)', '2026-07-18 17:30:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529304 -3.593636)'), GeomFromEWKT('SRID=4674;POINT (-38.529316 -3.593656)'))) / (select extract(epoch from '2026-07-18 17:30:35'::timestamp) - extract(epoch from '2026-07-18 17:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529304 -3.593636)'), GeomFromEWKT('SRID=4674;POINT (-38.529316 -3.593656)'))) / (select extract(epoch from '2026-07-18 17:30:35'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529331 -3.593692)', '2026-07-18 17:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529316 -3.593656)'), GeomFromEWKT('SRID=4674;POINT (-38.529331 -3.593692)'))) / (select extract(epoch from '2026-07-18 17:30:37'::timestamp) - extract(epoch from '2026-07-18 17:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529316 -3.593656)'), GeomFromEWKT('SRID=4674;POINT (-38.529331 -3.593692)'))) / (select extract(epoch from '2026-07-18 17:30:37'::timestamp) - extract(epoch from '2026-07-18 17:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529337 -3.593724)', '2026-07-18 17:30:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529331 -3.593692)'), GeomFromEWKT('SRID=4674;POINT (-38.529337 -3.593724)'))) / (select extract(epoch from '2026-07-18 17:30:39'::timestamp) - extract(epoch from '2026-07-18 17:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529331 -3.593692)'), GeomFromEWKT('SRID=4674;POINT (-38.529337 -3.593724)'))) / (select extract(epoch from '2026-07-18 17:30:39'::timestamp) - extract(epoch from '2026-07-18 17:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529349 -3.593749)', '2026-07-18 17:30:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529337 -3.593724)'), GeomFromEWKT('SRID=4674;POINT (-38.529349 -3.593749)'))) / (select extract(epoch from '2026-07-18 17:30:41'::timestamp) - extract(epoch from '2026-07-18 17:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529337 -3.593724)'), GeomFromEWKT('SRID=4674;POINT (-38.529349 -3.593749)'))) / (select extract(epoch from '2026-07-18 17:30:41'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529364 -3.593809)', '2026-07-18 17:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529349 -3.593749)'), GeomFromEWKT('SRID=4674;POINT (-38.529364 -3.593809)'))) / (select extract(epoch from '2026-07-18 17:30:45'::timestamp) - extract(epoch from '2026-07-18 17:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529349 -3.593749)'), GeomFromEWKT('SRID=4674;POINT (-38.529364 -3.593809)'))) / (select extract(epoch from '2026-07-18 17:30:45'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529389 -3.593902)', '2026-07-18 17:30:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529364 -3.593809)'), GeomFromEWKT('SRID=4674;POINT (-38.529389 -3.593902)'))) / (select extract(epoch from '2026-07-18 17:30:50'::timestamp) - extract(epoch from '2026-07-18 17:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529364 -3.593809)'), GeomFromEWKT('SRID=4674;POINT (-38.529389 -3.593902)'))) / (select extract(epoch from '2026-07-18 17:30:50'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529408 -3.594003)', '2026-07-18 17:30:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529389 -3.593902)'), GeomFromEWKT('SRID=4674;POINT (-38.529408 -3.594003)'))) / (select extract(epoch from '2026-07-18 17:30:56'::timestamp) - extract(epoch from '2026-07-18 17:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529389 -3.593902)'), GeomFromEWKT('SRID=4674;POINT (-38.529408 -3.594003)'))) / (select extract(epoch from '2026-07-18 17:30:56'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529407 -3.594019)', '2026-07-18 17:30:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529408 -3.594003)'), GeomFromEWKT('SRID=4674;POINT (-38.529407 -3.594019)'))) / (select extract(epoch from '2026-07-18 17:30:57'::timestamp) - extract(epoch from '2026-07-18 17:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529408 -3.594003)'), GeomFromEWKT('SRID=4674;POINT (-38.529407 -3.594019)'))) / (select extract(epoch from '2026-07-18 17:30:57'::timestamp) - extract(epoch from '2026-07-18 17:30:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529401 -3.594048)', '2026-07-18 17:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529407 -3.594019)'), GeomFromEWKT('SRID=4674;POINT (-38.529401 -3.594048)'))) / (select extract(epoch from '2026-07-18 17:30:59'::timestamp) - extract(epoch from '2026-07-18 17:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529407 -3.594019)'), GeomFromEWKT('SRID=4674;POINT (-38.529401 -3.594048)'))) / (select extract(epoch from '2026-07-18 17:30:59'::timestamp) - extract(epoch from '2026-07-18 17:30: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'), 47391, 'SRID=4674;POINT (-38.529403 -3.59406)', '2026-07-18 17:31:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529401 -3.594048)'), GeomFromEWKT('SRID=4674;POINT (-38.529403 -3.59406)'))) / (select extract(epoch from '2026-07-18 17:31:00'::timestamp) - extract(epoch from '2026-07-18 17:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529401 -3.594048)'), GeomFromEWKT('SRID=4674;POINT (-38.529403 -3.59406)'))) / (select extract(epoch from '2026-07-18 17:31:00'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.529428 -3.594176)', '2026-07-18 17:31:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529403 -3.59406)'), GeomFromEWKT('SRID=4674;POINT (-38.529428 -3.594176)'))) / (select extract(epoch from '2026-07-18 17:31:07'::timestamp) - extract(epoch from '2026-07-18 17:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529403 -3.59406)'), GeomFromEWKT('SRID=4674;POINT (-38.529428 -3.594176)'))) / (select extract(epoch from '2026-07-18 17:31:07'::timestamp) - extract(epoch from '2026-07-18 17:31: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'), 47391, 'SRID=4674;POINT (-38.529466 -3.59426)', '2026-07-18 17:31:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529428 -3.594176)'), GeomFromEWKT('SRID=4674;POINT (-38.529466 -3.59426)'))) / (select extract(epoch from '2026-07-18 17:31:13'::timestamp) - extract(epoch from '2026-07-18 17:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529428 -3.594176)'), GeomFromEWKT('SRID=4674;POINT (-38.529466 -3.59426)'))) / (select extract(epoch from '2026-07-18 17:31:13'::timestamp) - extract(epoch from '2026-07-18 17:31: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'), 47391, 'SRID=4674;POINT (-38.529514 -3.594375)', '2026-07-18 17:31:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529466 -3.59426)'), GeomFromEWKT('SRID=4674;POINT (-38.529514 -3.594375)'))) / (select extract(epoch from '2026-07-18 17:31:20'::timestamp) - extract(epoch from '2026-07-18 17:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529466 -3.59426)'), GeomFromEWKT('SRID=4674;POINT (-38.529514 -3.594375)'))) / (select extract(epoch from '2026-07-18 17:31:20'::timestamp) - extract(epoch from '2026-07-18 17:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529544 -3.594489)', '2026-07-18 17:31:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529514 -3.594375)'), GeomFromEWKT('SRID=4674;POINT (-38.529544 -3.594489)'))) / (select extract(epoch from '2026-07-18 17:31:27'::timestamp) - extract(epoch from '2026-07-18 17:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529514 -3.594375)'), GeomFromEWKT('SRID=4674;POINT (-38.529544 -3.594489)'))) / (select extract(epoch from '2026-07-18 17:31:27'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.52958 -3.594635)', '2026-07-18 17:31:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529544 -3.594489)'), GeomFromEWKT('SRID=4674;POINT (-38.52958 -3.594635)'))) / (select extract(epoch from '2026-07-18 17:31:35'::timestamp) - extract(epoch from '2026-07-18 17:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529544 -3.594489)'), GeomFromEWKT('SRID=4674;POINT (-38.52958 -3.594635)'))) / (select extract(epoch from '2026-07-18 17:31:35'::timestamp) - extract(epoch from '2026-07-18 17:31: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'), 47391, 'SRID=4674;POINT (-38.529596 -3.594741)', '2026-07-18 17:31:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52958 -3.594635)'), GeomFromEWKT('SRID=4674;POINT (-38.529596 -3.594741)'))) / (select extract(epoch from '2026-07-18 17:31:41'::timestamp) - extract(epoch from '2026-07-18 17:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52958 -3.594635)'), GeomFromEWKT('SRID=4674;POINT (-38.529596 -3.594741)'))) / (select extract(epoch from '2026-07-18 17:31:41'::timestamp) - extract(epoch from '2026-07-18 17:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529606 -3.594777)', '2026-07-18 17:31:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529596 -3.594741)'), GeomFromEWKT('SRID=4674;POINT (-38.529606 -3.594777)'))) / (select extract(epoch from '2026-07-18 17:31:44'::timestamp) - extract(epoch from '2026-07-18 17:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529596 -3.594741)'), GeomFromEWKT('SRID=4674;POINT (-38.529606 -3.594777)'))) / (select extract(epoch from '2026-07-18 17:31:44'::timestamp) - extract(epoch from '2026-07-18 17:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529614 -3.594804)', '2026-07-18 17:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529606 -3.594777)'), GeomFromEWKT('SRID=4674;POINT (-38.529614 -3.594804)'))) / (select extract(epoch from '2026-07-18 17:31:46'::timestamp) - extract(epoch from '2026-07-18 17:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529606 -3.594777)'), GeomFromEWKT('SRID=4674;POINT (-38.529614 -3.594804)'))) / (select extract(epoch from '2026-07-18 17:31:46'::timestamp) - extract(epoch from '2026-07-18 17:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529631 -3.594824)', '2026-07-18 17:31:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529614 -3.594804)'), GeomFromEWKT('SRID=4674;POINT (-38.529631 -3.594824)'))) / (select extract(epoch from '2026-07-18 17:31:48'::timestamp) - extract(epoch from '2026-07-18 17:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529614 -3.594804)'), GeomFromEWKT('SRID=4674;POINT (-38.529631 -3.594824)'))) / (select extract(epoch from '2026-07-18 17:31:48'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.529641 -3.594859)', '2026-07-18 17:31:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529631 -3.594824)'), GeomFromEWKT('SRID=4674;POINT (-38.529641 -3.594859)'))) / (select extract(epoch from '2026-07-18 17:31:51'::timestamp) - extract(epoch from '2026-07-18 17:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529631 -3.594824)'), GeomFromEWKT('SRID=4674;POINT (-38.529641 -3.594859)'))) / (select extract(epoch from '2026-07-18 17:31:51'::timestamp) - extract(epoch from '2026-07-18 17:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529682 -3.594917)', '2026-07-18 17:31:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529641 -3.594859)'), GeomFromEWKT('SRID=4674;POINT (-38.529682 -3.594917)'))) / (select extract(epoch from '2026-07-18 17:31:55'::timestamp) - extract(epoch from '2026-07-18 17:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529641 -3.594859)'), GeomFromEWKT('SRID=4674;POINT (-38.529682 -3.594917)'))) / (select extract(epoch from '2026-07-18 17:31:55'::timestamp) - extract(epoch from '2026-07-18 17:31: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'), 47391, 'SRID=4674;POINT (-38.529685 -3.594934)', '2026-07-18 17:31:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529682 -3.594917)'), GeomFromEWKT('SRID=4674;POINT (-38.529685 -3.594934)'))) / (select extract(epoch from '2026-07-18 17:31:56'::timestamp) - extract(epoch from '2026-07-18 17:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529682 -3.594917)'), GeomFromEWKT('SRID=4674;POINT (-38.529685 -3.594934)'))) / (select extract(epoch from '2026-07-18 17:31:56'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.529694 -3.594953)', '2026-07-18 17:31:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529685 -3.594934)'), GeomFromEWKT('SRID=4674;POINT (-38.529694 -3.594953)'))) / (select extract(epoch from '2026-07-18 17:31:57'::timestamp) - extract(epoch from '2026-07-18 17:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529685 -3.594934)'), GeomFromEWKT('SRID=4674;POINT (-38.529694 -3.594953)'))) / (select extract(epoch from '2026-07-18 17:31:57'::timestamp) - extract(epoch from '2026-07-18 17:31: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'), 47391, 'SRID=4674;POINT (-38.52972 -3.595005)', '2026-07-18 17:32:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529694 -3.594953)'), GeomFromEWKT('SRID=4674;POINT (-38.52972 -3.595005)'))) / (select extract(epoch from '2026-07-18 17:32:00'::timestamp) - extract(epoch from '2026-07-18 17:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529694 -3.594953)'), GeomFromEWKT('SRID=4674;POINT (-38.52972 -3.595005)'))) / (select extract(epoch from '2026-07-18 17:32:00'::timestamp) - extract(epoch from '2026-07-18 17:31: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'), 47391, 'SRID=4674;POINT (-38.529746 -3.595103)', '2026-07-18 17:32:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52972 -3.595005)'), GeomFromEWKT('SRID=4674;POINT (-38.529746 -3.595103)'))) / (select extract(epoch from '2026-07-18 17:32:06'::timestamp) - extract(epoch from '2026-07-18 17:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52972 -3.595005)'), GeomFromEWKT('SRID=4674;POINT (-38.529746 -3.595103)'))) / (select extract(epoch from '2026-07-18 17:32:06'::timestamp) - extract(epoch from '2026-07-18 17:32: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'), 47391, 'SRID=4674;POINT (-38.529766 -3.595181)', '2026-07-18 17:32:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529746 -3.595103)'), GeomFromEWKT('SRID=4674;POINT (-38.529766 -3.595181)'))) / (select extract(epoch from '2026-07-18 17:32:11'::timestamp) - extract(epoch from '2026-07-18 17:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529746 -3.595103)'), GeomFromEWKT('SRID=4674;POINT (-38.529766 -3.595181)'))) / (select extract(epoch from '2026-07-18 17:32:11'::timestamp) - extract(epoch from '2026-07-18 17:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529773 -3.595214)', '2026-07-18 17:32:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529766 -3.595181)'), GeomFromEWKT('SRID=4674;POINT (-38.529773 -3.595214)'))) / (select extract(epoch from '2026-07-18 17:32:13'::timestamp) - extract(epoch from '2026-07-18 17:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529766 -3.595181)'), GeomFromEWKT('SRID=4674;POINT (-38.529773 -3.595214)'))) / (select extract(epoch from '2026-07-18 17:32:13'::timestamp) - extract(epoch from '2026-07-18 17:32: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'), 47391, 'SRID=4674;POINT (-38.529784 -3.595244)', '2026-07-18 17:32:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529773 -3.595214)'), GeomFromEWKT('SRID=4674;POINT (-38.529784 -3.595244)'))) / (select extract(epoch from '2026-07-18 17:32:15'::timestamp) - extract(epoch from '2026-07-18 17:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529773 -3.595214)'), GeomFromEWKT('SRID=4674;POINT (-38.529784 -3.595244)'))) / (select extract(epoch from '2026-07-18 17:32:15'::timestamp) - extract(epoch from '2026-07-18 17:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529789 -3.595262)', '2026-07-18 17:32:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529784 -3.595244)'), GeomFromEWKT('SRID=4674;POINT (-38.529789 -3.595262)'))) / (select extract(epoch from '2026-07-18 17:32:16'::timestamp) - extract(epoch from '2026-07-18 17:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529784 -3.595244)'), GeomFromEWKT('SRID=4674;POINT (-38.529789 -3.595262)'))) / (select extract(epoch from '2026-07-18 17:32:16'::timestamp) - extract(epoch from '2026-07-18 17:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529823 -3.595364)', '2026-07-18 17:32:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529789 -3.595262)'), GeomFromEWKT('SRID=4674;POINT (-38.529823 -3.595364)'))) / (select extract(epoch from '2026-07-18 17:32:22'::timestamp) - extract(epoch from '2026-07-18 17:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529789 -3.595262)'), GeomFromEWKT('SRID=4674;POINT (-38.529823 -3.595364)'))) / (select extract(epoch from '2026-07-18 17:32:22'::timestamp) - extract(epoch from '2026-07-18 17:32: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'), 47391, 'SRID=4674;POINT (-38.529846 -3.595467)', '2026-07-18 17:32:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529823 -3.595364)'), GeomFromEWKT('SRID=4674;POINT (-38.529846 -3.595467)'))) / (select extract(epoch from '2026-07-18 17:32:28'::timestamp) - extract(epoch from '2026-07-18 17:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529823 -3.595364)'), GeomFromEWKT('SRID=4674;POINT (-38.529846 -3.595467)'))) / (select extract(epoch from '2026-07-18 17:32:28'::timestamp) - extract(epoch from '2026-07-18 17:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529874 -3.595566)', '2026-07-18 17:32:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529846 -3.595467)'), GeomFromEWKT('SRID=4674;POINT (-38.529874 -3.595566)'))) / (select extract(epoch from '2026-07-18 17:32:34'::timestamp) - extract(epoch from '2026-07-18 17:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529846 -3.595467)'), GeomFromEWKT('SRID=4674;POINT (-38.529874 -3.595566)'))) / (select extract(epoch from '2026-07-18 17:32:34'::timestamp) - extract(epoch from '2026-07-18 17:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529907 -3.595685)', '2026-07-18 17:32:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529874 -3.595566)'), GeomFromEWKT('SRID=4674;POINT (-38.529907 -3.595685)'))) / (select extract(epoch from '2026-07-18 17:32:41'::timestamp) - extract(epoch from '2026-07-18 17:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529874 -3.595566)'), GeomFromEWKT('SRID=4674;POINT (-38.529907 -3.595685)'))) / (select extract(epoch from '2026-07-18 17:32:41'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.52993 -3.5958)', '2026-07-18 17:32:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529907 -3.595685)'), GeomFromEWKT('SRID=4674;POINT (-38.52993 -3.5958)'))) / (select extract(epoch from '2026-07-18 17:32:47'::timestamp) - extract(epoch from '2026-07-18 17:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529907 -3.595685)'), GeomFromEWKT('SRID=4674;POINT (-38.52993 -3.5958)'))) / (select extract(epoch from '2026-07-18 17:32:47'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.529938 -3.595892)', '2026-07-18 17:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52993 -3.5958)'), GeomFromEWKT('SRID=4674;POINT (-38.529938 -3.595892)'))) / (select extract(epoch from '2026-07-18 17:32:52'::timestamp) - extract(epoch from '2026-07-18 17:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52993 -3.5958)'), GeomFromEWKT('SRID=4674;POINT (-38.529938 -3.595892)'))) / (select extract(epoch from '2026-07-18 17:32:52'::timestamp) - extract(epoch from '2026-07-18 17:32: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'), 47391, 'SRID=4674;POINT (-38.529961 -3.59597)', '2026-07-18 17:32:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529938 -3.595892)'), GeomFromEWKT('SRID=4674;POINT (-38.529961 -3.59597)'))) / (select extract(epoch from '2026-07-18 17:32:55'::timestamp) - extract(epoch from '2026-07-18 17:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529938 -3.595892)'), GeomFromEWKT('SRID=4674;POINT (-38.529961 -3.59597)'))) / (select extract(epoch from '2026-07-18 17:32:55'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.529966 -3.595997)', '2026-07-18 17:32:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529961 -3.59597)'), GeomFromEWKT('SRID=4674;POINT (-38.529966 -3.595997)'))) / (select extract(epoch from '2026-07-18 17:32:57'::timestamp) - extract(epoch from '2026-07-18 17:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529961 -3.59597)'), GeomFromEWKT('SRID=4674;POINT (-38.529966 -3.595997)'))) / (select extract(epoch from '2026-07-18 17:32:57'::timestamp) - extract(epoch from '2026-07-18 17:32: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'), 47391, 'SRID=4674;POINT (-38.529956 -3.596032)', '2026-07-18 17:32:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529966 -3.595997)'), GeomFromEWKT('SRID=4674;POINT (-38.529956 -3.596032)'))) / (select extract(epoch from '2026-07-18 17:32:59'::timestamp) - extract(epoch from '2026-07-18 17:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529966 -3.595997)'), GeomFromEWKT('SRID=4674;POINT (-38.529956 -3.596032)'))) / (select extract(epoch from '2026-07-18 17:32:59'::timestamp) - extract(epoch from '2026-07-18 17:32: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'), 47391, 'SRID=4674;POINT (-38.529976 -3.596116)', '2026-07-18 17:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529956 -3.596032)'), GeomFromEWKT('SRID=4674;POINT (-38.529976 -3.596116)'))) / (select extract(epoch from '2026-07-18 17:33:03'::timestamp) - extract(epoch from '2026-07-18 17:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529956 -3.596032)'), GeomFromEWKT('SRID=4674;POINT (-38.529976 -3.596116)'))) / (select extract(epoch from '2026-07-18 17:33:03'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.529978 -3.596129)', '2026-07-18 17:33:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529976 -3.596116)'), GeomFromEWKT('SRID=4674;POINT (-38.529978 -3.596129)'))) / (select extract(epoch from '2026-07-18 17:33:04'::timestamp) - extract(epoch from '2026-07-18 17:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529976 -3.596116)'), GeomFromEWKT('SRID=4674;POINT (-38.529978 -3.596129)'))) / (select extract(epoch from '2026-07-18 17:33:04'::timestamp) - extract(epoch from '2026-07-18 17:33: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'), 47391, 'SRID=4674;POINT (-38.529979 -3.596151)', '2026-07-18 17:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529978 -3.596129)'), GeomFromEWKT('SRID=4674;POINT (-38.529979 -3.596151)'))) / (select extract(epoch from '2026-07-18 17:33:06'::timestamp) - extract(epoch from '2026-07-18 17:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529978 -3.596129)'), GeomFromEWKT('SRID=4674;POINT (-38.529979 -3.596151)'))) / (select extract(epoch from '2026-07-18 17:33:06'::timestamp) - extract(epoch from '2026-07-18 17:33: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'), 47391, 'SRID=4674;POINT (-38.529983 -3.596157)', '2026-07-18 17:33:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529979 -3.596151)'), GeomFromEWKT('SRID=4674;POINT (-38.529983 -3.596157)'))) / (select extract(epoch from '2026-07-18 17:33:07'::timestamp) - extract(epoch from '2026-07-18 17:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529979 -3.596151)'), GeomFromEWKT('SRID=4674;POINT (-38.529983 -3.596157)'))) / (select extract(epoch from '2026-07-18 17:33:07'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.530035 -3.596276)', '2026-07-18 17:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529983 -3.596157)'), GeomFromEWKT('SRID=4674;POINT (-38.530035 -3.596276)'))) / (select extract(epoch from '2026-07-18 17:33:15'::timestamp) - extract(epoch from '2026-07-18 17:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529983 -3.596157)'), GeomFromEWKT('SRID=4674;POINT (-38.530035 -3.596276)'))) / (select extract(epoch from '2026-07-18 17:33:15'::timestamp) - extract(epoch from '2026-07-18 17:33:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530065 -3.596393)', '2026-07-18 17:33:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530035 -3.596276)'), GeomFromEWKT('SRID=4674;POINT (-38.530065 -3.596393)'))) / (select extract(epoch from '2026-07-18 17:33:21'::timestamp) - extract(epoch from '2026-07-18 17:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530035 -3.596276)'), GeomFromEWKT('SRID=4674;POINT (-38.530065 -3.596393)'))) / (select extract(epoch from '2026-07-18 17:33:21'::timestamp) - extract(epoch from '2026-07-18 17:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530079 -3.59649)', '2026-07-18 17:33:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530065 -3.596393)'), GeomFromEWKT('SRID=4674;POINT (-38.530079 -3.59649)'))) / (select extract(epoch from '2026-07-18 17:33:27'::timestamp) - extract(epoch from '2026-07-18 17:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530065 -3.596393)'), GeomFromEWKT('SRID=4674;POINT (-38.530079 -3.59649)'))) / (select extract(epoch from '2026-07-18 17:33:27'::timestamp) - extract(epoch from '2026-07-18 17:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530114 -3.596603)', '2026-07-18 17:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530079 -3.59649)'), GeomFromEWKT('SRID=4674;POINT (-38.530114 -3.596603)'))) / (select extract(epoch from '2026-07-18 17:33:34'::timestamp) - extract(epoch from '2026-07-18 17:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530079 -3.59649)'), GeomFromEWKT('SRID=4674;POINT (-38.530114 -3.596603)'))) / (select extract(epoch from '2026-07-18 17:33:34'::timestamp) - extract(epoch from '2026-07-18 17:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530148 -3.596716)', '2026-07-18 17:33:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530114 -3.596603)'), GeomFromEWKT('SRID=4674;POINT (-38.530148 -3.596716)'))) / (select extract(epoch from '2026-07-18 17:33:40'::timestamp) - extract(epoch from '2026-07-18 17:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530114 -3.596603)'), GeomFromEWKT('SRID=4674;POINT (-38.530148 -3.596716)'))) / (select extract(epoch from '2026-07-18 17:33:40'::timestamp) - extract(epoch from '2026-07-18 17:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530162 -3.596768)', '2026-07-18 17:33:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530148 -3.596716)'), GeomFromEWKT('SRID=4674;POINT (-38.530162 -3.596768)'))) / (select extract(epoch from '2026-07-18 17:33:44'::timestamp) - extract(epoch from '2026-07-18 17:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530148 -3.596716)'), GeomFromEWKT('SRID=4674;POINT (-38.530162 -3.596768)'))) / (select extract(epoch from '2026-07-18 17:33:44'::timestamp) - extract(epoch from '2026-07-18 17:33:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530181 -3.596839)', '2026-07-18 17:33:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530162 -3.596768)'), GeomFromEWKT('SRID=4674;POINT (-38.530181 -3.596839)'))) / (select extract(epoch from '2026-07-18 17:33:51'::timestamp) - extract(epoch from '2026-07-18 17:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530162 -3.596768)'), GeomFromEWKT('SRID=4674;POINT (-38.530181 -3.596839)'))) / (select extract(epoch from '2026-07-18 17:33:51'::timestamp) - extract(epoch from '2026-07-18 17:33:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530183 -3.596855)', '2026-07-18 17:33:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530181 -3.596839)'), GeomFromEWKT('SRID=4674;POINT (-38.530183 -3.596855)'))) / (select extract(epoch from '2026-07-18 17:33:52'::timestamp) - extract(epoch from '2026-07-18 17:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530181 -3.596839)'), GeomFromEWKT('SRID=4674;POINT (-38.530183 -3.596855)'))) / (select extract(epoch from '2026-07-18 17:33:52'::timestamp) - extract(epoch from '2026-07-18 17:33:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530212 -3.596921)', '2026-07-18 17:33:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530183 -3.596855)'), GeomFromEWKT('SRID=4674;POINT (-38.530212 -3.596921)'))) / (select extract(epoch from '2026-07-18 17:33:56'::timestamp) - extract(epoch from '2026-07-18 17:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530183 -3.596855)'), GeomFromEWKT('SRID=4674;POINT (-38.530212 -3.596921)'))) / (select extract(epoch from '2026-07-18 17:33:56'::timestamp) - extract(epoch from '2026-07-18 17:33: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'), 47391, 'SRID=4674;POINT (-38.530242 -3.597023)', '2026-07-18 17:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530212 -3.596921)'), GeomFromEWKT('SRID=4674;POINT (-38.530242 -3.597023)'))) / (select extract(epoch from '2026-07-18 17:34:02'::timestamp) - extract(epoch from '2026-07-18 17:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530212 -3.596921)'), GeomFromEWKT('SRID=4674;POINT (-38.530242 -3.597023)'))) / (select extract(epoch from '2026-07-18 17:34:02'::timestamp) - extract(epoch from '2026-07-18 17:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530257 -3.597129)', '2026-07-18 17:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530242 -3.597023)'), GeomFromEWKT('SRID=4674;POINT (-38.530257 -3.597129)'))) / (select extract(epoch from '2026-07-18 17:34:09'::timestamp) - extract(epoch from '2026-07-18 17:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530242 -3.597023)'), GeomFromEWKT('SRID=4674;POINT (-38.530257 -3.597129)'))) / (select extract(epoch from '2026-07-18 17:34:09'::timestamp) - extract(epoch from '2026-07-18 17:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530283 -3.597218)', '2026-07-18 17:34:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530257 -3.597129)'), GeomFromEWKT('SRID=4674;POINT (-38.530283 -3.597218)'))) / (select extract(epoch from '2026-07-18 17:34:14'::timestamp) - extract(epoch from '2026-07-18 17:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530257 -3.597129)'), GeomFromEWKT('SRID=4674;POINT (-38.530283 -3.597218)'))) / (select extract(epoch from '2026-07-18 17:34:14'::timestamp) - extract(epoch from '2026-07-18 17:34: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'), 47391, 'SRID=4674;POINT (-38.530286 -3.597258)', '2026-07-18 17:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530283 -3.597218)'), GeomFromEWKT('SRID=4674;POINT (-38.530286 -3.597258)'))) / (select extract(epoch from '2026-07-18 17:34:17'::timestamp) - extract(epoch from '2026-07-18 17:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530283 -3.597218)'), GeomFromEWKT('SRID=4674;POINT (-38.530286 -3.597258)'))) / (select extract(epoch from '2026-07-18 17:34:17'::timestamp) - extract(epoch from '2026-07-18 17:34:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530299 -3.597287)', '2026-07-18 17:34:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530286 -3.597258)'), GeomFromEWKT('SRID=4674;POINT (-38.530299 -3.597287)'))) / (select extract(epoch from '2026-07-18 17:34:19'::timestamp) - extract(epoch from '2026-07-18 17:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530286 -3.597258)'), GeomFromEWKT('SRID=4674;POINT (-38.530299 -3.597287)'))) / (select extract(epoch from '2026-07-18 17:34:19'::timestamp) - extract(epoch from '2026-07-18 17:34: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'), 47391, 'SRID=4674;POINT (-38.530347 -3.597421)', '2026-07-18 17:34:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530299 -3.597287)'), GeomFromEWKT('SRID=4674;POINT (-38.530347 -3.597421)'))) / (select extract(epoch from '2026-07-18 17:34:26'::timestamp) - extract(epoch from '2026-07-18 17:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530299 -3.597287)'), GeomFromEWKT('SRID=4674;POINT (-38.530347 -3.597421)'))) / (select extract(epoch from '2026-07-18 17:34:26'::timestamp) - extract(epoch from '2026-07-18 17:34: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'), 47391, 'SRID=4674;POINT (-38.530365 -3.597543)', '2026-07-18 17:34:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530347 -3.597421)'), GeomFromEWKT('SRID=4674;POINT (-38.530365 -3.597543)'))) / (select extract(epoch from '2026-07-18 17:34:33'::timestamp) - extract(epoch from '2026-07-18 17:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530347 -3.597421)'), GeomFromEWKT('SRID=4674;POINT (-38.530365 -3.597543)'))) / (select extract(epoch from '2026-07-18 17:34:33'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.530389 -3.597617)', '2026-07-18 17:34:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530365 -3.597543)'), GeomFromEWKT('SRID=4674;POINT (-38.530389 -3.597617)'))) / (select extract(epoch from '2026-07-18 17:34:39'::timestamp) - extract(epoch from '2026-07-18 17:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530365 -3.597543)'), GeomFromEWKT('SRID=4674;POINT (-38.530389 -3.597617)'))) / (select extract(epoch from '2026-07-18 17:34:39'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.530412 -3.597664)', '2026-07-18 17:34:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530389 -3.597617)'), GeomFromEWKT('SRID=4674;POINT (-38.530412 -3.597664)'))) / (select extract(epoch from '2026-07-18 17:34:43'::timestamp) - extract(epoch from '2026-07-18 17:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530389 -3.597617)'), GeomFromEWKT('SRID=4674;POINT (-38.530412 -3.597664)'))) / (select extract(epoch from '2026-07-18 17:34:43'::timestamp) - extract(epoch from '2026-07-18 17:34: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'), 47391, 'SRID=4674;POINT (-38.530432 -3.597736)', '2026-07-18 17:34:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530412 -3.597664)'), GeomFromEWKT('SRID=4674;POINT (-38.530432 -3.597736)'))) / (select extract(epoch from '2026-07-18 17:34:46'::timestamp) - extract(epoch from '2026-07-18 17:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530412 -3.597664)'), GeomFromEWKT('SRID=4674;POINT (-38.530432 -3.597736)'))) / (select extract(epoch from '2026-07-18 17:34:46'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.530446 -3.597807)', '2026-07-18 17:34:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530432 -3.597736)'), GeomFromEWKT('SRID=4674;POINT (-38.530446 -3.597807)'))) / (select extract(epoch from '2026-07-18 17:34:50'::timestamp) - extract(epoch from '2026-07-18 17:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530432 -3.597736)'), GeomFromEWKT('SRID=4674;POINT (-38.530446 -3.597807)'))) / (select extract(epoch from '2026-07-18 17:34:50'::timestamp) - extract(epoch from '2026-07-18 17:34: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'), 47391, 'SRID=4674;POINT (-38.530448 -3.597823)', '2026-07-18 17:34:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530446 -3.597807)'), GeomFromEWKT('SRID=4674;POINT (-38.530448 -3.597823)'))) / (select extract(epoch from '2026-07-18 17:34:51'::timestamp) - extract(epoch from '2026-07-18 17:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530446 -3.597807)'), GeomFromEWKT('SRID=4674;POINT (-38.530448 -3.597823)'))) / (select extract(epoch from '2026-07-18 17:34:51'::timestamp) - extract(epoch from '2026-07-18 17:34: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'), 47391, 'SRID=4674;POINT (-38.530469 -3.597883)', '2026-07-18 17:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530448 -3.597823)'), GeomFromEWKT('SRID=4674;POINT (-38.530469 -3.597883)'))) / (select extract(epoch from '2026-07-18 17:34:55'::timestamp) - extract(epoch from '2026-07-18 17:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530448 -3.597823)'), GeomFromEWKT('SRID=4674;POINT (-38.530469 -3.597883)'))) / (select extract(epoch from '2026-07-18 17:34:55'::timestamp) - extract(epoch from '2026-07-18 17:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530492 -3.59798)', '2026-07-18 17:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530469 -3.597883)'), GeomFromEWKT('SRID=4674;POINT (-38.530492 -3.59798)'))) / (select extract(epoch from '2026-07-18 17:35:02'::timestamp) - extract(epoch from '2026-07-18 17:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530469 -3.597883)'), GeomFromEWKT('SRID=4674;POINT (-38.530492 -3.59798)'))) / (select extract(epoch from '2026-07-18 17:35:02'::timestamp) - extract(epoch from '2026-07-18 17:34: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'), 47391, 'SRID=4674;POINT (-38.530518 -3.598086)', '2026-07-18 17:35:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530492 -3.59798)'), GeomFromEWKT('SRID=4674;POINT (-38.530518 -3.598086)'))) / (select extract(epoch from '2026-07-18 17:35:09'::timestamp) - extract(epoch from '2026-07-18 17:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530492 -3.59798)'), GeomFromEWKT('SRID=4674;POINT (-38.530518 -3.598086)'))) / (select extract(epoch from '2026-07-18 17:35:09'::timestamp) - extract(epoch from '2026-07-18 17:35: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'), 47391, 'SRID=4674;POINT (-38.530546 -3.598164)', '2026-07-18 17:35:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530518 -3.598086)'), GeomFromEWKT('SRID=4674;POINT (-38.530546 -3.598164)'))) / (select extract(epoch from '2026-07-18 17:35:15'::timestamp) - extract(epoch from '2026-07-18 17:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530518 -3.598086)'), GeomFromEWKT('SRID=4674;POINT (-38.530546 -3.598164)'))) / (select extract(epoch from '2026-07-18 17:35:15'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.530571 -3.598252)', '2026-07-18 17:35:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530546 -3.598164)'), GeomFromEWKT('SRID=4674;POINT (-38.530571 -3.598252)'))) / (select extract(epoch from '2026-07-18 17:35:21'::timestamp) - extract(epoch from '2026-07-18 17:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530546 -3.598164)'), GeomFromEWKT('SRID=4674;POINT (-38.530571 -3.598252)'))) / (select extract(epoch from '2026-07-18 17:35:21'::timestamp) - extract(epoch from '2026-07-18 17:35:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530583 -3.598333)', '2026-07-18 17:35:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530571 -3.598252)'), GeomFromEWKT('SRID=4674;POINT (-38.530583 -3.598333)'))) / (select extract(epoch from '2026-07-18 17:35:27'::timestamp) - extract(epoch from '2026-07-18 17:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530571 -3.598252)'), GeomFromEWKT('SRID=4674;POINT (-38.530583 -3.598333)'))) / (select extract(epoch from '2026-07-18 17:35:27'::timestamp) - extract(epoch from '2026-07-18 17:35: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'), 47391, 'SRID=4674;POINT (-38.530599 -3.598423)', '2026-07-18 17:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530583 -3.598333)'), GeomFromEWKT('SRID=4674;POINT (-38.530599 -3.598423)'))) / (select extract(epoch from '2026-07-18 17:35:33'::timestamp) - extract(epoch from '2026-07-18 17:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530583 -3.598333)'), GeomFromEWKT('SRID=4674;POINT (-38.530599 -3.598423)'))) / (select extract(epoch from '2026-07-18 17:35:33'::timestamp) - extract(epoch from '2026-07-18 17:35: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'), 47391, 'SRID=4674;POINT (-38.530605 -3.598455)', '2026-07-18 17:35:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530599 -3.598423)'), GeomFromEWKT('SRID=4674;POINT (-38.530605 -3.598455)'))) / (select extract(epoch from '2026-07-18 17:35:35'::timestamp) - extract(epoch from '2026-07-18 17:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530599 -3.598423)'), GeomFromEWKT('SRID=4674;POINT (-38.530605 -3.598455)'))) / (select extract(epoch from '2026-07-18 17:35:35'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.530619 -3.598509)', '2026-07-18 17:35:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530605 -3.598455)'), GeomFromEWKT('SRID=4674;POINT (-38.530619 -3.598509)'))) / (select extract(epoch from '2026-07-18 17:35:39'::timestamp) - extract(epoch from '2026-07-18 17:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530605 -3.598455)'), GeomFromEWKT('SRID=4674;POINT (-38.530619 -3.598509)'))) / (select extract(epoch from '2026-07-18 17:35:39'::timestamp) - extract(epoch from '2026-07-18 17:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530645 -3.598592)', '2026-07-18 17:35:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530619 -3.598509)'), GeomFromEWKT('SRID=4674;POINT (-38.530645 -3.598592)'))) / (select extract(epoch from '2026-07-18 17:35:44'::timestamp) - extract(epoch from '2026-07-18 17:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530619 -3.598509)'), GeomFromEWKT('SRID=4674;POINT (-38.530645 -3.598592)'))) / (select extract(epoch from '2026-07-18 17:35:44'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.530661 -3.598629)', '2026-07-18 17:35:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530645 -3.598592)'), GeomFromEWKT('SRID=4674;POINT (-38.530661 -3.598629)'))) / (select extract(epoch from '2026-07-18 17:35:46'::timestamp) - extract(epoch from '2026-07-18 17:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530645 -3.598592)'), GeomFromEWKT('SRID=4674;POINT (-38.530661 -3.598629)'))) / (select extract(epoch from '2026-07-18 17:35:46'::timestamp) - extract(epoch from '2026-07-18 17:35: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'), 47391, 'SRID=4674;POINT (-38.530678 -3.598666)', '2026-07-18 17:35:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530661 -3.598629)'), GeomFromEWKT('SRID=4674;POINT (-38.530678 -3.598666)'))) / (select extract(epoch from '2026-07-18 17:35:48'::timestamp) - extract(epoch from '2026-07-18 17:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530661 -3.598629)'), GeomFromEWKT('SRID=4674;POINT (-38.530678 -3.598666)'))) / (select extract(epoch from '2026-07-18 17:35:48'::timestamp) - extract(epoch from '2026-07-18 17:35:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530701 -3.598796)', '2026-07-18 17:35:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530678 -3.598666)'), GeomFromEWKT('SRID=4674;POINT (-38.530701 -3.598796)'))) / (select extract(epoch from '2026-07-18 17:35:56'::timestamp) - extract(epoch from '2026-07-18 17:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530678 -3.598666)'), GeomFromEWKT('SRID=4674;POINT (-38.530701 -3.598796)'))) / (select extract(epoch from '2026-07-18 17:35:56'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.530714 -3.598891)', '2026-07-18 17:36:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530701 -3.598796)'), GeomFromEWKT('SRID=4674;POINT (-38.530714 -3.598891)'))) / (select extract(epoch from '2026-07-18 17:36:02'::timestamp) - extract(epoch from '2026-07-18 17:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530701 -3.598796)'), GeomFromEWKT('SRID=4674;POINT (-38.530714 -3.598891)'))) / (select extract(epoch from '2026-07-18 17:36:02'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.53073 -3.598989)', '2026-07-18 17:36:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530714 -3.598891)'), GeomFromEWKT('SRID=4674;POINT (-38.53073 -3.598989)'))) / (select extract(epoch from '2026-07-18 17:36:09'::timestamp) - extract(epoch from '2026-07-18 17:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530714 -3.598891)'), GeomFromEWKT('SRID=4674;POINT (-38.53073 -3.598989)'))) / (select extract(epoch from '2026-07-18 17:36:09'::timestamp) - extract(epoch from '2026-07-18 17:36: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'), 47391, 'SRID=4674;POINT (-38.53075 -3.599069)', '2026-07-18 17:36:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53073 -3.598989)'), GeomFromEWKT('SRID=4674;POINT (-38.53075 -3.599069)'))) / (select extract(epoch from '2026-07-18 17:36:14'::timestamp) - extract(epoch from '2026-07-18 17:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53073 -3.598989)'), GeomFromEWKT('SRID=4674;POINT (-38.53075 -3.599069)'))) / (select extract(epoch from '2026-07-18 17:36:14'::timestamp) - extract(epoch from '2026-07-18 17:36: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'), 47391, 'SRID=4674;POINT (-38.530761 -3.599084)', '2026-07-18 17:36:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53075 -3.599069)'), GeomFromEWKT('SRID=4674;POINT (-38.530761 -3.599084)'))) / (select extract(epoch from '2026-07-18 17:36:15'::timestamp) - extract(epoch from '2026-07-18 17:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53075 -3.599069)'), GeomFromEWKT('SRID=4674;POINT (-38.530761 -3.599084)'))) / (select extract(epoch from '2026-07-18 17:36:15'::timestamp) - extract(epoch from '2026-07-18 17:36: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'), 47391, 'SRID=4674;POINT (-38.530786 -3.599157)', '2026-07-18 17:36:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530761 -3.599084)'), GeomFromEWKT('SRID=4674;POINT (-38.530786 -3.599157)'))) / (select extract(epoch from '2026-07-18 17:36:20'::timestamp) - extract(epoch from '2026-07-18 17:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530761 -3.599084)'), GeomFromEWKT('SRID=4674;POINT (-38.530786 -3.599157)'))) / (select extract(epoch from '2026-07-18 17:36:20'::timestamp) - extract(epoch from '2026-07-18 17:36: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'), 47391, 'SRID=4674;POINT (-38.530818 -3.599275)', '2026-07-18 17:36:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530786 -3.599157)'), GeomFromEWKT('SRID=4674;POINT (-38.530818 -3.599275)'))) / (select extract(epoch from '2026-07-18 17:36:27'::timestamp) - extract(epoch from '2026-07-18 17:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530786 -3.599157)'), GeomFromEWKT('SRID=4674;POINT (-38.530818 -3.599275)'))) / (select extract(epoch from '2026-07-18 17:36:27'::timestamp) - extract(epoch from '2026-07-18 17:36: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'), 47391, 'SRID=4674;POINT (-38.530849 -3.599396)', '2026-07-18 17:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530818 -3.599275)'), GeomFromEWKT('SRID=4674;POINT (-38.530849 -3.599396)'))) / (select extract(epoch from '2026-07-18 17:36:34'::timestamp) - extract(epoch from '2026-07-18 17:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530818 -3.599275)'), GeomFromEWKT('SRID=4674;POINT (-38.530849 -3.599396)'))) / (select extract(epoch from '2026-07-18 17:36:34'::timestamp) - extract(epoch from '2026-07-18 17:36:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530864 -3.599485)', '2026-07-18 17:36:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530849 -3.599396)'), GeomFromEWKT('SRID=4674;POINT (-38.530864 -3.599485)'))) / (select extract(epoch from '2026-07-18 17:36:40'::timestamp) - extract(epoch from '2026-07-18 17:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530849 -3.599396)'), GeomFromEWKT('SRID=4674;POINT (-38.530864 -3.599485)'))) / (select extract(epoch from '2026-07-18 17:36:40'::timestamp) - extract(epoch from '2026-07-18 17:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530865 -3.59953)', '2026-07-18 17:36:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530864 -3.599485)'), GeomFromEWKT('SRID=4674;POINT (-38.530865 -3.59953)'))) / (select extract(epoch from '2026-07-18 17:36:43'::timestamp) - extract(epoch from '2026-07-18 17:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530864 -3.599485)'), GeomFromEWKT('SRID=4674;POINT (-38.530865 -3.59953)'))) / (select extract(epoch from '2026-07-18 17:36:43'::timestamp) - extract(epoch from '2026-07-18 17:36: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'), 47391, 'SRID=4674;POINT (-38.53087 -3.599574)', '2026-07-18 17:36:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530865 -3.59953)'), GeomFromEWKT('SRID=4674;POINT (-38.53087 -3.599574)'))) / (select extract(epoch from '2026-07-18 17:36:46'::timestamp) - extract(epoch from '2026-07-18 17:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530865 -3.59953)'), GeomFromEWKT('SRID=4674;POINT (-38.53087 -3.599574)'))) / (select extract(epoch from '2026-07-18 17:36:46'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.530877 -3.599682)', '2026-07-18 17:36:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53087 -3.599574)'), GeomFromEWKT('SRID=4674;POINT (-38.530877 -3.599682)'))) / (select extract(epoch from '2026-07-18 17:36:53'::timestamp) - extract(epoch from '2026-07-18 17:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53087 -3.599574)'), GeomFromEWKT('SRID=4674;POINT (-38.530877 -3.599682)'))) / (select extract(epoch from '2026-07-18 17:36:53'::timestamp) - extract(epoch from '2026-07-18 17:36: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'), 47391, 'SRID=4674;POINT (-38.530896 -3.599766)', '2026-07-18 17:36:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530877 -3.599682)'), GeomFromEWKT('SRID=4674;POINT (-38.530896 -3.599766)'))) / (select extract(epoch from '2026-07-18 17:36:58'::timestamp) - extract(epoch from '2026-07-18 17:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530877 -3.599682)'), GeomFromEWKT('SRID=4674;POINT (-38.530896 -3.599766)'))) / (select extract(epoch from '2026-07-18 17:36:58'::timestamp) - extract(epoch from '2026-07-18 17:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530899 -3.599785)', '2026-07-18 17:36:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530896 -3.599766)'), GeomFromEWKT('SRID=4674;POINT (-38.530899 -3.599785)'))) / (select extract(epoch from '2026-07-18 17:36:59'::timestamp) - extract(epoch from '2026-07-18 17:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530896 -3.599766)'), GeomFromEWKT('SRID=4674;POINT (-38.530899 -3.599785)'))) / (select extract(epoch from '2026-07-18 17:36:59'::timestamp) - extract(epoch from '2026-07-18 17:36: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'), 47391, 'SRID=4674;POINT (-38.53092 -3.599877)', '2026-07-18 17:37:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530899 -3.599785)'), GeomFromEWKT('SRID=4674;POINT (-38.53092 -3.599877)'))) / (select extract(epoch from '2026-07-18 17:37:06'::timestamp) - extract(epoch from '2026-07-18 17:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530899 -3.599785)'), GeomFromEWKT('SRID=4674;POINT (-38.53092 -3.599877)'))) / (select extract(epoch from '2026-07-18 17:37:06'::timestamp) - extract(epoch from '2026-07-18 17:36: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'), 47391, 'SRID=4674;POINT (-38.530938 -3.599974)', '2026-07-18 17:37:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53092 -3.599877)'), GeomFromEWKT('SRID=4674;POINT (-38.530938 -3.599974)'))) / (select extract(epoch from '2026-07-18 17:37:12'::timestamp) - extract(epoch from '2026-07-18 17:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53092 -3.599877)'), GeomFromEWKT('SRID=4674;POINT (-38.530938 -3.599974)'))) / (select extract(epoch from '2026-07-18 17:37:12'::timestamp) - extract(epoch from '2026-07-18 17:37:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530944 -3.60008)', '2026-07-18 17:37:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530938 -3.599974)'), GeomFromEWKT('SRID=4674;POINT (-38.530944 -3.60008)'))) / (select extract(epoch from '2026-07-18 17:37:18'::timestamp) - extract(epoch from '2026-07-18 17:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530938 -3.599974)'), GeomFromEWKT('SRID=4674;POINT (-38.530944 -3.60008)'))) / (select extract(epoch from '2026-07-18 17:37:18'::timestamp) - extract(epoch from '2026-07-18 17:37: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'), 47391, 'SRID=4674;POINT (-38.530956 -3.600139)', '2026-07-18 17:37:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530944 -3.60008)'), GeomFromEWKT('SRID=4674;POINT (-38.530956 -3.600139)'))) / (select extract(epoch from '2026-07-18 17:37:22'::timestamp) - extract(epoch from '2026-07-18 17:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530944 -3.60008)'), GeomFromEWKT('SRID=4674;POINT (-38.530956 -3.600139)'))) / (select extract(epoch from '2026-07-18 17:37:22'::timestamp) - extract(epoch from '2026-07-18 17:37: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'), 47391, 'SRID=4674;POINT (-38.530967 -3.600159)', '2026-07-18 17:37:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530956 -3.600139)'), GeomFromEWKT('SRID=4674;POINT (-38.530967 -3.600159)'))) / (select extract(epoch from '2026-07-18 17:37:23'::timestamp) - extract(epoch from '2026-07-18 17:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530956 -3.600139)'), GeomFromEWKT('SRID=4674;POINT (-38.530967 -3.600159)'))) / (select extract(epoch from '2026-07-18 17:37:23'::timestamp) - extract(epoch from '2026-07-18 17:37: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'), 47391, 'SRID=4674;POINT (-38.530991 -3.60024)', '2026-07-18 17:37:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530967 -3.600159)'), GeomFromEWKT('SRID=4674;POINT (-38.530991 -3.60024)'))) / (select extract(epoch from '2026-07-18 17:37:28'::timestamp) - extract(epoch from '2026-07-18 17:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530967 -3.600159)'), GeomFromEWKT('SRID=4674;POINT (-38.530991 -3.60024)'))) / (select extract(epoch from '2026-07-18 17:37:28'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.530997 -3.600256)', '2026-07-18 17:37:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530991 -3.60024)'), GeomFromEWKT('SRID=4674;POINT (-38.530997 -3.600256)'))) / (select extract(epoch from '2026-07-18 17:37:29'::timestamp) - extract(epoch from '2026-07-18 17:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530991 -3.60024)'), GeomFromEWKT('SRID=4674;POINT (-38.530997 -3.600256)'))) / (select extract(epoch from '2026-07-18 17:37:29'::timestamp) - extract(epoch from '2026-07-18 17:37: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'), 47391, 'SRID=4674;POINT (-38.531007 -3.600286)', '2026-07-18 17:37:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530997 -3.600256)'), GeomFromEWKT('SRID=4674;POINT (-38.531007 -3.600286)'))) / (select extract(epoch from '2026-07-18 17:37:32'::timestamp) - extract(epoch from '2026-07-18 17:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530997 -3.600256)'), GeomFromEWKT('SRID=4674;POINT (-38.531007 -3.600286)'))) / (select extract(epoch from '2026-07-18 17:37:32'::timestamp) - extract(epoch from '2026-07-18 17:37:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530999 -3.600334)', '2026-07-18 17:37:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531007 -3.600286)'), GeomFromEWKT('SRID=4674;POINT (-38.530999 -3.600334)'))) / (select extract(epoch from '2026-07-18 17:37:35'::timestamp) - extract(epoch from '2026-07-18 17:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531007 -3.600286)'), GeomFromEWKT('SRID=4674;POINT (-38.530999 -3.600334)'))) / (select extract(epoch from '2026-07-18 17:37:35'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.531019 -3.600388)', '2026-07-18 17:37:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530999 -3.600334)'), GeomFromEWKT('SRID=4674;POINT (-38.531019 -3.600388)'))) / (select extract(epoch from '2026-07-18 17:37:37'::timestamp) - extract(epoch from '2026-07-18 17:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530999 -3.600334)'), GeomFromEWKT('SRID=4674;POINT (-38.531019 -3.600388)'))) / (select extract(epoch from '2026-07-18 17:37:37'::timestamp) - extract(epoch from '2026-07-18 17:37: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'), 47391, 'SRID=4674;POINT (-38.531029 -3.600453)', '2026-07-18 17:37:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531019 -3.600388)'), GeomFromEWKT('SRID=4674;POINT (-38.531029 -3.600453)'))) / (select extract(epoch from '2026-07-18 17:37:41'::timestamp) - extract(epoch from '2026-07-18 17:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531019 -3.600388)'), GeomFromEWKT('SRID=4674;POINT (-38.531029 -3.600453)'))) / (select extract(epoch from '2026-07-18 17:37:41'::timestamp) - extract(epoch from '2026-07-18 17: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'), 47391, 'SRID=4674;POINT (-38.531047 -3.600541)', '2026-07-18 17:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531029 -3.600453)'), GeomFromEWKT('SRID=4674;POINT (-38.531047 -3.600541)'))) / (select extract(epoch from '2026-07-18 17:37:46'::timestamp) - extract(epoch from '2026-07-18 17:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531029 -3.600453)'), GeomFromEWKT('SRID=4674;POINT (-38.531047 -3.600541)'))) / (select extract(epoch from '2026-07-18 17:37:46'::timestamp) - extract(epoch from '2026-07-18 17:37: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'), 47391, 'SRID=4674;POINT (-38.531059 -3.600596)', '2026-07-18 17:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531047 -3.600541)'), GeomFromEWKT('SRID=4674;POINT (-38.531059 -3.600596)'))) / (select extract(epoch from '2026-07-18 17:37:49'::timestamp) - extract(epoch from '2026-07-18 17:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531047 -3.600541)'), GeomFromEWKT('SRID=4674;POINT (-38.531059 -3.600596)'))) / (select extract(epoch from '2026-07-18 17:37:49'::timestamp) - extract(epoch from '2026-07-18 17:37: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'), 47391, 'SRID=4674;POINT (-38.531065 -3.60061)', '2026-07-18 17:37:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531059 -3.600596)'), GeomFromEWKT('SRID=4674;POINT (-38.531065 -3.60061)'))) / (select extract(epoch from '2026-07-18 17:37:50'::timestamp) - extract(epoch from '2026-07-18 17:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531059 -3.600596)'), GeomFromEWKT('SRID=4674;POINT (-38.531065 -3.60061)'))) / (select extract(epoch from '2026-07-18 17:37:50'::timestamp) - extract(epoch from '2026-07-18 17:37: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'), 47391, 'SRID=4674;POINT (-38.531069 -3.600663)', '2026-07-18 17:37:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531065 -3.60061)'), GeomFromEWKT('SRID=4674;POINT (-38.531069 -3.600663)'))) / (select extract(epoch from '2026-07-18 17:37:54'::timestamp) - extract(epoch from '2026-07-18 17:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531065 -3.60061)'), GeomFromEWKT('SRID=4674;POINT (-38.531069 -3.600663)'))) / (select extract(epoch from '2026-07-18 17:37:54'::timestamp) - extract(epoch from '2026-07-18 17:37: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'), 47391, 'SRID=4674;POINT (-38.531086 -3.600734)', '2026-07-18 17:37:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531069 -3.600663)'), GeomFromEWKT('SRID=4674;POINT (-38.531086 -3.600734)'))) / (select extract(epoch from '2026-07-18 17:37:58'::timestamp) - extract(epoch from '2026-07-18 17:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531069 -3.600663)'), GeomFromEWKT('SRID=4674;POINT (-38.531086 -3.600734)'))) / (select extract(epoch from '2026-07-18 17:37:58'::timestamp) - extract(epoch from '2026-07-18 17:37: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'), 47391, 'SRID=4674;POINT (-38.531103 -3.600847)', '2026-07-18 17:38:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531086 -3.600734)'), GeomFromEWKT('SRID=4674;POINT (-38.531103 -3.600847)'))) / (select extract(epoch from '2026-07-18 17:38:04'::timestamp) - extract(epoch from '2026-07-18 17:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531086 -3.600734)'), GeomFromEWKT('SRID=4674;POINT (-38.531103 -3.600847)'))) / (select extract(epoch from '2026-07-18 17:38:04'::timestamp) - extract(epoch from '2026-07-18 17:37: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'), 47391, 'SRID=4674;POINT (-38.531112 -3.600947)', '2026-07-18 17:38:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531103 -3.600847)'), GeomFromEWKT('SRID=4674;POINT (-38.531112 -3.600947)'))) / (select extract(epoch from '2026-07-18 17:38:10'::timestamp) - extract(epoch from '2026-07-18 17:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531103 -3.600847)'), GeomFromEWKT('SRID=4674;POINT (-38.531112 -3.600947)'))) / (select extract(epoch from '2026-07-18 17:38:10'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.531122 -3.601062)', '2026-07-18 17:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531112 -3.600947)'), GeomFromEWKT('SRID=4674;POINT (-38.531122 -3.601062)'))) / (select extract(epoch from '2026-07-18 17:38:17'::timestamp) - extract(epoch from '2026-07-18 17:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531112 -3.600947)'), GeomFromEWKT('SRID=4674;POINT (-38.531122 -3.601062)'))) / (select extract(epoch from '2026-07-18 17:38:17'::timestamp) - extract(epoch from '2026-07-18 17:38: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'), 47391, 'SRID=4674;POINT (-38.531132 -3.601138)', '2026-07-18 17:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531122 -3.601062)'), GeomFromEWKT('SRID=4674;POINT (-38.531132 -3.601138)'))) / (select extract(epoch from '2026-07-18 17:38:22'::timestamp) - extract(epoch from '2026-07-18 17:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531122 -3.601062)'), GeomFromEWKT('SRID=4674;POINT (-38.531132 -3.601138)'))) / (select extract(epoch from '2026-07-18 17:38:22'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.531138 -3.601149)', '2026-07-18 17:38:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531132 -3.601138)'), GeomFromEWKT('SRID=4674;POINT (-38.531138 -3.601149)'))) / (select extract(epoch from '2026-07-18 17:38:23'::timestamp) - extract(epoch from '2026-07-18 17:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531132 -3.601138)'), GeomFromEWKT('SRID=4674;POINT (-38.531138 -3.601149)'))) / (select extract(epoch from '2026-07-18 17:38:23'::timestamp) - extract(epoch from '2026-07-18 17:38: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'), 47391, 'SRID=4674;POINT (-38.531139 -3.601163)', '2026-07-18 17:38:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531138 -3.601149)'), GeomFromEWKT('SRID=4674;POINT (-38.531139 -3.601163)'))) / (select extract(epoch from '2026-07-18 17:38:24'::timestamp) - extract(epoch from '2026-07-18 17:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531138 -3.601149)'), GeomFromEWKT('SRID=4674;POINT (-38.531139 -3.601163)'))) / (select extract(epoch from '2026-07-18 17:38:24'::timestamp) - extract(epoch from '2026-07-18 17:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531136 -3.601193)', '2026-07-18 17:38:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531139 -3.601163)'), GeomFromEWKT('SRID=4674;POINT (-38.531136 -3.601193)'))) / (select extract(epoch from '2026-07-18 17:38:26'::timestamp) - extract(epoch from '2026-07-18 17:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531139 -3.601163)'), GeomFromEWKT('SRID=4674;POINT (-38.531136 -3.601193)'))) / (select extract(epoch from '2026-07-18 17:38:26'::timestamp) - extract(epoch from '2026-07-18 17:38: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'), 47391, 'SRID=4674;POINT (-38.531145 -3.601207)', '2026-07-18 17:38:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531136 -3.601193)'), GeomFromEWKT('SRID=4674;POINT (-38.531145 -3.601207)'))) / (select extract(epoch from '2026-07-18 17:38:27'::timestamp) - extract(epoch from '2026-07-18 17:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531136 -3.601193)'), GeomFromEWKT('SRID=4674;POINT (-38.531145 -3.601207)'))) / (select extract(epoch from '2026-07-18 17:38:27'::timestamp) - extract(epoch from '2026-07-18 17:38: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'), 47391, 'SRID=4674;POINT (-38.531171 -3.601291)', '2026-07-18 17:38:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531145 -3.601207)'), GeomFromEWKT('SRID=4674;POINT (-38.531171 -3.601291)'))) / (select extract(epoch from '2026-07-18 17:38:33'::timestamp) - extract(epoch from '2026-07-18 17:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531145 -3.601207)'), GeomFromEWKT('SRID=4674;POINT (-38.531171 -3.601291)'))) / (select extract(epoch from '2026-07-18 17:38:33'::timestamp) - extract(epoch from '2026-07-18 17:38: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'), 47391, 'SRID=4674;POINT (-38.531188 -3.601408)', '2026-07-18 17:38:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531171 -3.601291)'), GeomFromEWKT('SRID=4674;POINT (-38.531188 -3.601408)'))) / (select extract(epoch from '2026-07-18 17:38:40'::timestamp) - extract(epoch from '2026-07-18 17:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531171 -3.601291)'), GeomFromEWKT('SRID=4674;POINT (-38.531188 -3.601408)'))) / (select extract(epoch from '2026-07-18 17:38:40'::timestamp) - extract(epoch from '2026-07-18 17:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531211 -3.601546)', '2026-07-18 17:38:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531188 -3.601408)'), GeomFromEWKT('SRID=4674;POINT (-38.531211 -3.601546)'))) / (select extract(epoch from '2026-07-18 17:38:48'::timestamp) - extract(epoch from '2026-07-18 17:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531188 -3.601408)'), GeomFromEWKT('SRID=4674;POINT (-38.531211 -3.601546)'))) / (select extract(epoch from '2026-07-18 17:38:48'::timestamp) - extract(epoch from '2026-07-18 17:38: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'), 47391, 'SRID=4674;POINT (-38.531224 -3.601624)', '2026-07-18 17:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531211 -3.601546)'), GeomFromEWKT('SRID=4674;POINT (-38.531224 -3.601624)'))) / (select extract(epoch from '2026-07-18 17:38:53'::timestamp) - extract(epoch from '2026-07-18 17:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531211 -3.601546)'), GeomFromEWKT('SRID=4674;POINT (-38.531224 -3.601624)'))) / (select extract(epoch from '2026-07-18 17:38:53'::timestamp) - extract(epoch from '2026-07-18 17:38:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53122 -3.601641)', '2026-07-18 17:38:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531224 -3.601624)'), GeomFromEWKT('SRID=4674;POINT (-38.53122 -3.601641)'))) / (select extract(epoch from '2026-07-18 17:38:54'::timestamp) - extract(epoch from '2026-07-18 17:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531224 -3.601624)'), GeomFromEWKT('SRID=4674;POINT (-38.53122 -3.601641)'))) / (select extract(epoch from '2026-07-18 17:38:54'::timestamp) - extract(epoch from '2026-07-18 17:38: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'), 47391, 'SRID=4674;POINT (-38.531233 -3.601724)', '2026-07-18 17:38:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53122 -3.601641)'), GeomFromEWKT('SRID=4674;POINT (-38.531233 -3.601724)'))) / (select extract(epoch from '2026-07-18 17:38:59'::timestamp) - extract(epoch from '2026-07-18 17:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53122 -3.601641)'), GeomFromEWKT('SRID=4674;POINT (-38.531233 -3.601724)'))) / (select extract(epoch from '2026-07-18 17:38:59'::timestamp) - extract(epoch from '2026-07-18 17:38: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'), 47391, 'SRID=4674;POINT (-38.531264 -3.601853)', '2026-07-18 17:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531233 -3.601724)'), GeomFromEWKT('SRID=4674;POINT (-38.531264 -3.601853)'))) / (select extract(epoch from '2026-07-18 17:39:07'::timestamp) - extract(epoch from '2026-07-18 17:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531233 -3.601724)'), GeomFromEWKT('SRID=4674;POINT (-38.531264 -3.601853)'))) / (select extract(epoch from '2026-07-18 17:39:07'::timestamp) - extract(epoch from '2026-07-18 17:38: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'), 47391, 'SRID=4674;POINT (-38.531274 -3.601947)', '2026-07-18 17:39:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531264 -3.601853)'), GeomFromEWKT('SRID=4674;POINT (-38.531274 -3.601947)'))) / (select extract(epoch from '2026-07-18 17:39:13'::timestamp) - extract(epoch from '2026-07-18 17:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531264 -3.601853)'), GeomFromEWKT('SRID=4674;POINT (-38.531274 -3.601947)'))) / (select extract(epoch from '2026-07-18 17:39:13'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.531299 -3.602026)', '2026-07-18 17:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531274 -3.601947)'), GeomFromEWKT('SRID=4674;POINT (-38.531299 -3.602026)'))) / (select extract(epoch from '2026-07-18 17:39:18'::timestamp) - extract(epoch from '2026-07-18 17:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531274 -3.601947)'), GeomFromEWKT('SRID=4674;POINT (-38.531299 -3.602026)'))) / (select extract(epoch from '2026-07-18 17:39:18'::timestamp) - extract(epoch from '2026-07-18 17:39: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'), 47391, 'SRID=4674;POINT (-38.531329 -3.602126)', '2026-07-18 17:39:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531299 -3.602026)'), GeomFromEWKT('SRID=4674;POINT (-38.531329 -3.602126)'))) / (select extract(epoch from '2026-07-18 17:39:24'::timestamp) - extract(epoch from '2026-07-18 17:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531299 -3.602026)'), GeomFromEWKT('SRID=4674;POINT (-38.531329 -3.602126)'))) / (select extract(epoch from '2026-07-18 17:39:24'::timestamp) - extract(epoch from '2026-07-18 17:39: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'), 47391, 'SRID=4674;POINT (-38.531366 -3.602239)', '2026-07-18 17:39:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531329 -3.602126)'), GeomFromEWKT('SRID=4674;POINT (-38.531366 -3.602239)'))) / (select extract(epoch from '2026-07-18 17:39:31'::timestamp) - extract(epoch from '2026-07-18 17:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531329 -3.602126)'), GeomFromEWKT('SRID=4674;POINT (-38.531366 -3.602239)'))) / (select extract(epoch from '2026-07-18 17:39:31'::timestamp) - extract(epoch from '2026-07-18 17:39: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'), 47391, 'SRID=4674;POINT (-38.531398 -3.602326)', '2026-07-18 17:39:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531366 -3.602239)'), GeomFromEWKT('SRID=4674;POINT (-38.531398 -3.602326)'))) / (select extract(epoch from '2026-07-18 17:39:37'::timestamp) - extract(epoch from '2026-07-18 17:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531366 -3.602239)'), GeomFromEWKT('SRID=4674;POINT (-38.531398 -3.602326)'))) / (select extract(epoch from '2026-07-18 17:39:37'::timestamp) - extract(epoch from '2026-07-18 17:39: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'), 47391, 'SRID=4674;POINT (-38.53145 -3.602453)', '2026-07-18 17:39:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531398 -3.602326)'), GeomFromEWKT('SRID=4674;POINT (-38.53145 -3.602453)'))) / (select extract(epoch from '2026-07-18 17:39:47'::timestamp) - extract(epoch from '2026-07-18 17:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531398 -3.602326)'), GeomFromEWKT('SRID=4674;POINT (-38.53145 -3.602453)'))) / (select extract(epoch from '2026-07-18 17:39:47'::timestamp) - extract(epoch from '2026-07-18 17:39: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'), 47391, 'SRID=4674;POINT (-38.531487 -3.602563)', '2026-07-18 17:39:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53145 -3.602453)'), GeomFromEWKT('SRID=4674;POINT (-38.531487 -3.602563)'))) / (select extract(epoch from '2026-07-18 17:39:54'::timestamp) - extract(epoch from '2026-07-18 17:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53145 -3.602453)'), GeomFromEWKT('SRID=4674;POINT (-38.531487 -3.602563)'))) / (select extract(epoch from '2026-07-18 17:39:54'::timestamp) - extract(epoch from '2026-07-18 17:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531501 -3.602627)', '2026-07-18 17:39:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531487 -3.602563)'), GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.602627)'))) / (select extract(epoch from '2026-07-18 17:39:58'::timestamp) - extract(epoch from '2026-07-18 17:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531487 -3.602563)'), GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.602627)'))) / (select extract(epoch from '2026-07-18 17:39:58'::timestamp) - extract(epoch from '2026-07-18 17:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531501 -3.602646)', '2026-07-18 17:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.602627)'), GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.602646)'))) / (select extract(epoch from '2026-07-18 17:39:59'::timestamp) - extract(epoch from '2026-07-18 17:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.602627)'), GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.602646)'))) / (select extract(epoch from '2026-07-18 17:39:59'::timestamp) - extract(epoch from '2026-07-18 17:39: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'), 47391, 'SRID=4674;POINT (-38.531516 -3.602736)', '2026-07-18 17:40:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.602646)'), GeomFromEWKT('SRID=4674;POINT (-38.531516 -3.602736)'))) / (select extract(epoch from '2026-07-18 17:40:05'::timestamp) - extract(epoch from '2026-07-18 17:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.602646)'), GeomFromEWKT('SRID=4674;POINT (-38.531516 -3.602736)'))) / (select extract(epoch from '2026-07-18 17:40:05'::timestamp) - extract(epoch from '2026-07-18 17:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531547 -3.602833)', '2026-07-18 17:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531516 -3.602736)'), GeomFromEWKT('SRID=4674;POINT (-38.531547 -3.602833)'))) / (select extract(epoch from '2026-07-18 17:40:11'::timestamp) - extract(epoch from '2026-07-18 17:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531516 -3.602736)'), GeomFromEWKT('SRID=4674;POINT (-38.531547 -3.602833)'))) / (select extract(epoch from '2026-07-18 17:40:11'::timestamp) - extract(epoch from '2026-07-18 17:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531571 -3.6029)', '2026-07-18 17:40:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531547 -3.602833)'), GeomFromEWKT('SRID=4674;POINT (-38.531571 -3.6029)'))) / (select extract(epoch from '2026-07-18 17:40:16'::timestamp) - extract(epoch from '2026-07-18 17:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531547 -3.602833)'), GeomFromEWKT('SRID=4674;POINT (-38.531571 -3.6029)'))) / (select extract(epoch from '2026-07-18 17:40:16'::timestamp) - extract(epoch from '2026-07-18 17:40: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'), 47391, 'SRID=4674;POINT (-38.531581 -3.602925)', '2026-07-18 17:40:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531571 -3.6029)'), GeomFromEWKT('SRID=4674;POINT (-38.531581 -3.602925)'))) / (select extract(epoch from '2026-07-18 17:40:18'::timestamp) - extract(epoch from '2026-07-18 17:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531571 -3.6029)'), GeomFromEWKT('SRID=4674;POINT (-38.531581 -3.602925)'))) / (select extract(epoch from '2026-07-18 17:40:18'::timestamp) - extract(epoch from '2026-07-18 17:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531603 -3.602973)', '2026-07-18 17:40:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531581 -3.602925)'), GeomFromEWKT('SRID=4674;POINT (-38.531603 -3.602973)'))) / (select extract(epoch from '2026-07-18 17:40:22'::timestamp) - extract(epoch from '2026-07-18 17:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531581 -3.602925)'), GeomFromEWKT('SRID=4674;POINT (-38.531603 -3.602973)'))) / (select extract(epoch from '2026-07-18 17:40:22'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.531606 -3.602992)', '2026-07-18 17:40:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531603 -3.602973)'), GeomFromEWKT('SRID=4674;POINT (-38.531606 -3.602992)'))) / (select extract(epoch from '2026-07-18 17:40:23'::timestamp) - extract(epoch from '2026-07-18 17:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531603 -3.602973)'), GeomFromEWKT('SRID=4674;POINT (-38.531606 -3.602992)'))) / (select extract(epoch from '2026-07-18 17:40:23'::timestamp) - extract(epoch from '2026-07-18 17:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53165 -3.603067)', '2026-07-18 17:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531606 -3.602992)'), GeomFromEWKT('SRID=4674;POINT (-38.53165 -3.603067)'))) / (select extract(epoch from '2026-07-18 17:40:27'::timestamp) - extract(epoch from '2026-07-18 17:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531606 -3.602992)'), GeomFromEWKT('SRID=4674;POINT (-38.53165 -3.603067)'))) / (select extract(epoch from '2026-07-18 17:40:27'::timestamp) - extract(epoch from '2026-07-18 17:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531661 -3.603127)', '2026-07-18 17:40:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53165 -3.603067)'), GeomFromEWKT('SRID=4674;POINT (-38.531661 -3.603127)'))) / (select extract(epoch from '2026-07-18 17:40:32'::timestamp) - extract(epoch from '2026-07-18 17:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53165 -3.603067)'), GeomFromEWKT('SRID=4674;POINT (-38.531661 -3.603127)'))) / (select extract(epoch from '2026-07-18 17:40:32'::timestamp) - extract(epoch from '2026-07-18 17:40: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'), 47391, 'SRID=4674;POINT (-38.531688 -3.603223)', '2026-07-18 17:40:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531661 -3.603127)'), GeomFromEWKT('SRID=4674;POINT (-38.531688 -3.603223)'))) / (select extract(epoch from '2026-07-18 17:40:38'::timestamp) - extract(epoch from '2026-07-18 17:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531661 -3.603127)'), GeomFromEWKT('SRID=4674;POINT (-38.531688 -3.603223)'))) / (select extract(epoch from '2026-07-18 17:40:38'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.531693 -3.603239)', '2026-07-18 17:40:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531688 -3.603223)'), GeomFromEWKT('SRID=4674;POINT (-38.531693 -3.603239)'))) / (select extract(epoch from '2026-07-18 17:40:39'::timestamp) - extract(epoch from '2026-07-18 17:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531688 -3.603223)'), GeomFromEWKT('SRID=4674;POINT (-38.531693 -3.603239)'))) / (select extract(epoch from '2026-07-18 17:40:39'::timestamp) - extract(epoch from '2026-07-18 17:40: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'), 47391, 'SRID=4674;POINT (-38.5317 -3.603297)', '2026-07-18 17:40:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531693 -3.603239)'), GeomFromEWKT('SRID=4674;POINT (-38.5317 -3.603297)'))) / (select extract(epoch from '2026-07-18 17:40:43'::timestamp) - extract(epoch from '2026-07-18 17:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531693 -3.603239)'), GeomFromEWKT('SRID=4674;POINT (-38.5317 -3.603297)'))) / (select extract(epoch from '2026-07-18 17:40:43'::timestamp) - extract(epoch from '2026-07-18 17:40:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531711 -3.603407)', '2026-07-18 17:40:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5317 -3.603297)'), GeomFromEWKT('SRID=4674;POINT (-38.531711 -3.603407)'))) / (select extract(epoch from '2026-07-18 17:40:50'::timestamp) - extract(epoch from '2026-07-18 17:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5317 -3.603297)'), GeomFromEWKT('SRID=4674;POINT (-38.531711 -3.603407)'))) / (select extract(epoch from '2026-07-18 17:40:50'::timestamp) - extract(epoch from '2026-07-18 17:40: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'), 47391, 'SRID=4674;POINT (-38.531737 -3.603527)', '2026-07-18 17:40:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531711 -3.603407)'), GeomFromEWKT('SRID=4674;POINT (-38.531737 -3.603527)'))) / (select extract(epoch from '2026-07-18 17:40:58'::timestamp) - extract(epoch from '2026-07-18 17:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531711 -3.603407)'), GeomFromEWKT('SRID=4674;POINT (-38.531737 -3.603527)'))) / (select extract(epoch from '2026-07-18 17:40:58'::timestamp) - extract(epoch from '2026-07-18 17:40: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'), 47391, 'SRID=4674;POINT (-38.531759 -3.603629)', '2026-07-18 17:41:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531737 -3.603527)'), GeomFromEWKT('SRID=4674;POINT (-38.531759 -3.603629)'))) / (select extract(epoch from '2026-07-18 17:41:04'::timestamp) - extract(epoch from '2026-07-18 17:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531737 -3.603527)'), GeomFromEWKT('SRID=4674;POINT (-38.531759 -3.603629)'))) / (select extract(epoch from '2026-07-18 17:41:04'::timestamp) - extract(epoch from '2026-07-18 17:40:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531786 -3.603731)', '2026-07-18 17:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531759 -3.603629)'), GeomFromEWKT('SRID=4674;POINT (-38.531786 -3.603731)'))) / (select extract(epoch from '2026-07-18 17:41:10'::timestamp) - extract(epoch from '2026-07-18 17:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531759 -3.603629)'), GeomFromEWKT('SRID=4674;POINT (-38.531786 -3.603731)'))) / (select extract(epoch from '2026-07-18 17:41:10'::timestamp) - extract(epoch from '2026-07-18 17:41: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'), 47391, 'SRID=4674;POINT (-38.531788 -3.603754)', '2026-07-18 17:41:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531786 -3.603731)'), GeomFromEWKT('SRID=4674;POINT (-38.531788 -3.603754)'))) / (select extract(epoch from '2026-07-18 17:41:12'::timestamp) - extract(epoch from '2026-07-18 17:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531786 -3.603731)'), GeomFromEWKT('SRID=4674;POINT (-38.531788 -3.603754)'))) / (select extract(epoch from '2026-07-18 17:41:12'::timestamp) - extract(epoch from '2026-07-18 17:41: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'), 47391, 'SRID=4674;POINT (-38.531795 -3.603796)', '2026-07-18 17:41:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531788 -3.603754)'), GeomFromEWKT('SRID=4674;POINT (-38.531795 -3.603796)'))) / (select extract(epoch from '2026-07-18 17:41:14'::timestamp) - extract(epoch from '2026-07-18 17:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531788 -3.603754)'), GeomFromEWKT('SRID=4674;POINT (-38.531795 -3.603796)'))) / (select extract(epoch from '2026-07-18 17:41:14'::timestamp) - extract(epoch from '2026-07-18 17:41: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'), 47391, 'SRID=4674;POINT (-38.531807 -3.603831)', '2026-07-18 17:41:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531795 -3.603796)'), GeomFromEWKT('SRID=4674;POINT (-38.531807 -3.603831)'))) / (select extract(epoch from '2026-07-18 17:41:17'::timestamp) - extract(epoch from '2026-07-18 17:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531795 -3.603796)'), GeomFromEWKT('SRID=4674;POINT (-38.531807 -3.603831)'))) / (select extract(epoch from '2026-07-18 17:41:17'::timestamp) - extract(epoch from '2026-07-18 17:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531806 -3.603858)', '2026-07-18 17:41:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531807 -3.603831)'), GeomFromEWKT('SRID=4674;POINT (-38.531806 -3.603858)'))) / (select extract(epoch from '2026-07-18 17:41:19'::timestamp) - extract(epoch from '2026-07-18 17:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531807 -3.603831)'), GeomFromEWKT('SRID=4674;POINT (-38.531806 -3.603858)'))) / (select extract(epoch from '2026-07-18 17:41:19'::timestamp) - extract(epoch from '2026-07-18 17:41: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'), 47391, 'SRID=4674;POINT (-38.531803 -3.603879)', '2026-07-18 17:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531806 -3.603858)'), GeomFromEWKT('SRID=4674;POINT (-38.531803 -3.603879)'))) / (select extract(epoch from '2026-07-18 17:41:20'::timestamp) - extract(epoch from '2026-07-18 17:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531806 -3.603858)'), GeomFromEWKT('SRID=4674;POINT (-38.531803 -3.603879)'))) / (select extract(epoch from '2026-07-18 17:41:20'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.53181 -3.6039)', '2026-07-18 17:41:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531803 -3.603879)'), GeomFromEWKT('SRID=4674;POINT (-38.53181 -3.6039)'))) / (select extract(epoch from '2026-07-18 17:41:21'::timestamp) - extract(epoch from '2026-07-18 17:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531803 -3.603879)'), GeomFromEWKT('SRID=4674;POINT (-38.53181 -3.6039)'))) / (select extract(epoch from '2026-07-18 17:41:21'::timestamp) - extract(epoch from '2026-07-18 17:41: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'), 47391, 'SRID=4674;POINT (-38.531814 -3.60392)', '2026-07-18 17:41:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53181 -3.6039)'), GeomFromEWKT('SRID=4674;POINT (-38.531814 -3.60392)'))) / (select extract(epoch from '2026-07-18 17:41:23'::timestamp) - extract(epoch from '2026-07-18 17:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53181 -3.6039)'), GeomFromEWKT('SRID=4674;POINT (-38.531814 -3.60392)'))) / (select extract(epoch from '2026-07-18 17:41:23'::timestamp) - extract(epoch from '2026-07-18 17:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531815 -3.60394)', '2026-07-18 17:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531814 -3.60392)'), GeomFromEWKT('SRID=4674;POINT (-38.531815 -3.60394)'))) / (select extract(epoch from '2026-07-18 17:41:24'::timestamp) - extract(epoch from '2026-07-18 17:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531814 -3.60392)'), GeomFromEWKT('SRID=4674;POINT (-38.531815 -3.60394)'))) / (select extract(epoch from '2026-07-18 17:41:24'::timestamp) - extract(epoch from '2026-07-18 17:41:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531825 -3.603976)', '2026-07-18 17:41:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531815 -3.60394)'), GeomFromEWKT('SRID=4674;POINT (-38.531825 -3.603976)'))) / (select extract(epoch from '2026-07-18 17:41:26'::timestamp) - extract(epoch from '2026-07-18 17:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531815 -3.60394)'), GeomFromEWKT('SRID=4674;POINT (-38.531825 -3.603976)'))) / (select extract(epoch from '2026-07-18 17:41:26'::timestamp) - extract(epoch from '2026-07-18 17:41: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'), 47391, 'SRID=4674;POINT (-38.531846 -3.604058)', '2026-07-18 17:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531825 -3.603976)'), GeomFromEWKT('SRID=4674;POINT (-38.531846 -3.604058)'))) / (select extract(epoch from '2026-07-18 17:41:31'::timestamp) - extract(epoch from '2026-07-18 17:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531825 -3.603976)'), GeomFromEWKT('SRID=4674;POINT (-38.531846 -3.604058)'))) / (select extract(epoch from '2026-07-18 17:41:31'::timestamp) - extract(epoch from '2026-07-18 17:41: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'), 47391, 'SRID=4674;POINT (-38.531879 -3.604215)', '2026-07-18 17:41:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531846 -3.604058)'), GeomFromEWKT('SRID=4674;POINT (-38.531879 -3.604215)'))) / (select extract(epoch from '2026-07-18 17:41:39'::timestamp) - extract(epoch from '2026-07-18 17:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531846 -3.604058)'), GeomFromEWKT('SRID=4674;POINT (-38.531879 -3.604215)'))) / (select extract(epoch from '2026-07-18 17:41:39'::timestamp) - extract(epoch from '2026-07-18 17:41: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'), 47391, 'SRID=4674;POINT (-38.5319 -3.604316)', '2026-07-18 17:41:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531879 -3.604215)'), GeomFromEWKT('SRID=4674;POINT (-38.5319 -3.604316)'))) / (select extract(epoch from '2026-07-18 17:41:45'::timestamp) - extract(epoch from '2026-07-18 17:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531879 -3.604215)'), GeomFromEWKT('SRID=4674;POINT (-38.5319 -3.604316)'))) / (select extract(epoch from '2026-07-18 17:41:45'::timestamp) - extract(epoch from '2026-07-18 17:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531903 -3.604365)', '2026-07-18 17:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5319 -3.604316)'), GeomFromEWKT('SRID=4674;POINT (-38.531903 -3.604365)'))) / (select extract(epoch from '2026-07-18 17:41:49'::timestamp) - extract(epoch from '2026-07-18 17:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5319 -3.604316)'), GeomFromEWKT('SRID=4674;POINT (-38.531903 -3.604365)'))) / (select extract(epoch from '2026-07-18 17:41:49'::timestamp) - extract(epoch from '2026-07-18 17:41: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'), 47391, 'SRID=4674;POINT (-38.531916 -3.604403)', '2026-07-18 17:41:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531903 -3.604365)'), GeomFromEWKT('SRID=4674;POINT (-38.531916 -3.604403)'))) / (select extract(epoch from '2026-07-18 17:41:51'::timestamp) - extract(epoch from '2026-07-18 17:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531903 -3.604365)'), GeomFromEWKT('SRID=4674;POINT (-38.531916 -3.604403)'))) / (select extract(epoch from '2026-07-18 17:41:51'::timestamp) - extract(epoch from '2026-07-18 17:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531934 -3.60444)', '2026-07-18 17:41:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531916 -3.604403)'), GeomFromEWKT('SRID=4674;POINT (-38.531934 -3.60444)'))) / (select extract(epoch from '2026-07-18 17:41:53'::timestamp) - extract(epoch from '2026-07-18 17:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531916 -3.604403)'), GeomFromEWKT('SRID=4674;POINT (-38.531934 -3.60444)'))) / (select extract(epoch from '2026-07-18 17:41:53'::timestamp) - extract(epoch from '2026-07-18 17:41: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'), 47391, 'SRID=4674;POINT (-38.53196 -3.60456)', '2026-07-18 17:42:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531934 -3.60444)'), GeomFromEWKT('SRID=4674;POINT (-38.53196 -3.60456)'))) / (select extract(epoch from '2026-07-18 17:42:00'::timestamp) - extract(epoch from '2026-07-18 17:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531934 -3.60444)'), GeomFromEWKT('SRID=4674;POINT (-38.53196 -3.60456)'))) / (select extract(epoch from '2026-07-18 17:42:00'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.531963 -3.604605)', '2026-07-18 17:42:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53196 -3.60456)'), GeomFromEWKT('SRID=4674;POINT (-38.531963 -3.604605)'))) / (select extract(epoch from '2026-07-18 17:42:03'::timestamp) - extract(epoch from '2026-07-18 17:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53196 -3.60456)'), GeomFromEWKT('SRID=4674;POINT (-38.531963 -3.604605)'))) / (select extract(epoch from '2026-07-18 17:42:03'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.531966 -3.604643)', '2026-07-18 17:42:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531963 -3.604605)'), GeomFromEWKT('SRID=4674;POINT (-38.531966 -3.604643)'))) / (select extract(epoch from '2026-07-18 17:42:05'::timestamp) - extract(epoch from '2026-07-18 17:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531963 -3.604605)'), GeomFromEWKT('SRID=4674;POINT (-38.531966 -3.604643)'))) / (select extract(epoch from '2026-07-18 17:42:05'::timestamp) - extract(epoch from '2026-07-18 17:42: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'), 47391, 'SRID=4674;POINT (-38.531979 -3.604739)', '2026-07-18 17:42:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531966 -3.604643)'), GeomFromEWKT('SRID=4674;POINT (-38.531979 -3.604739)'))) / (select extract(epoch from '2026-07-18 17:42:11'::timestamp) - extract(epoch from '2026-07-18 17:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531966 -3.604643)'), GeomFromEWKT('SRID=4674;POINT (-38.531979 -3.604739)'))) / (select extract(epoch from '2026-07-18 17:42:11'::timestamp) - extract(epoch from '2026-07-18 17:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531998 -3.604796)', '2026-07-18 17:42:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531979 -3.604739)'), GeomFromEWKT('SRID=4674;POINT (-38.531998 -3.604796)'))) / (select extract(epoch from '2026-07-18 17:42:15'::timestamp) - extract(epoch from '2026-07-18 17:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531979 -3.604739)'), GeomFromEWKT('SRID=4674;POINT (-38.531998 -3.604796)'))) / (select extract(epoch from '2026-07-18 17:42:15'::timestamp) - extract(epoch from '2026-07-18 17:42: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'), 47391, 'SRID=4674;POINT (-38.532019 -3.604859)', '2026-07-18 17:42:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531998 -3.604796)'), GeomFromEWKT('SRID=4674;POINT (-38.532019 -3.604859)'))) / (select extract(epoch from '2026-07-18 17:42:19'::timestamp) - extract(epoch from '2026-07-18 17:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531998 -3.604796)'), GeomFromEWKT('SRID=4674;POINT (-38.532019 -3.604859)'))) / (select extract(epoch from '2026-07-18 17:42:19'::timestamp) - extract(epoch from '2026-07-18 17:42: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'), 47391, 'SRID=4674;POINT (-38.532033 -3.60487)', '2026-07-18 17:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532019 -3.604859)'), GeomFromEWKT('SRID=4674;POINT (-38.532033 -3.60487)'))) / (select extract(epoch from '2026-07-18 17:42:20'::timestamp) - extract(epoch from '2026-07-18 17:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532019 -3.604859)'), GeomFromEWKT('SRID=4674;POINT (-38.532033 -3.60487)'))) / (select extract(epoch from '2026-07-18 17:42:20'::timestamp) - extract(epoch from '2026-07-18 17:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532042 -3.604881)', '2026-07-18 17:42:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532033 -3.60487)'), GeomFromEWKT('SRID=4674;POINT (-38.532042 -3.604881)'))) / (select extract(epoch from '2026-07-18 17:42:21'::timestamp) - extract(epoch from '2026-07-18 17:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532033 -3.60487)'), GeomFromEWKT('SRID=4674;POINT (-38.532042 -3.604881)'))) / (select extract(epoch from '2026-07-18 17:42:21'::timestamp) - extract(epoch from '2026-07-18 17:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53206 -3.604935)', '2026-07-18 17:42:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532042 -3.604881)'), GeomFromEWKT('SRID=4674;POINT (-38.53206 -3.604935)'))) / (select extract(epoch from '2026-07-18 17:42:25'::timestamp) - extract(epoch from '2026-07-18 17:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532042 -3.604881)'), GeomFromEWKT('SRID=4674;POINT (-38.53206 -3.604935)'))) / (select extract(epoch from '2026-07-18 17:42:25'::timestamp) - extract(epoch from '2026-07-18 17:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5321 -3.605025)', '2026-07-18 17:42:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53206 -3.604935)'), GeomFromEWKT('SRID=4674;POINT (-38.5321 -3.605025)'))) / (select extract(epoch from '2026-07-18 17:42:31'::timestamp) - extract(epoch from '2026-07-18 17:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53206 -3.604935)'), GeomFromEWKT('SRID=4674;POINT (-38.5321 -3.605025)'))) / (select extract(epoch from '2026-07-18 17:42:31'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.532117 -3.605111)', '2026-07-18 17:42:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5321 -3.605025)'), GeomFromEWKT('SRID=4674;POINT (-38.532117 -3.605111)'))) / (select extract(epoch from '2026-07-18 17:42:36'::timestamp) - extract(epoch from '2026-07-18 17:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5321 -3.605025)'), GeomFromEWKT('SRID=4674;POINT (-38.532117 -3.605111)'))) / (select extract(epoch from '2026-07-18 17:42:36'::timestamp) - extract(epoch from '2026-07-18 17:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532128 -3.605205)', '2026-07-18 17:42:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532117 -3.605111)'), GeomFromEWKT('SRID=4674;POINT (-38.532128 -3.605205)'))) / (select extract(epoch from '2026-07-18 17:42:41'::timestamp) - extract(epoch from '2026-07-18 17:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532117 -3.605111)'), GeomFromEWKT('SRID=4674;POINT (-38.532128 -3.605205)'))) / (select extract(epoch from '2026-07-18 17:42:41'::timestamp) - extract(epoch from '2026-07-18 17:42: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'), 47391, 'SRID=4674;POINT (-38.532126 -3.605262)', '2026-07-18 17:42:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532128 -3.605205)'), GeomFromEWKT('SRID=4674;POINT (-38.532126 -3.605262)'))) / (select extract(epoch from '2026-07-18 17:42:45'::timestamp) - extract(epoch from '2026-07-18 17:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532128 -3.605205)'), GeomFromEWKT('SRID=4674;POINT (-38.532126 -3.605262)'))) / (select extract(epoch from '2026-07-18 17:42:45'::timestamp) - extract(epoch from '2026-07-18 17:42:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532137 -3.605291)', '2026-07-18 17:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532126 -3.605262)'), GeomFromEWKT('SRID=4674;POINT (-38.532137 -3.605291)'))) / (select extract(epoch from '2026-07-18 17:42:47'::timestamp) - extract(epoch from '2026-07-18 17:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532126 -3.605262)'), GeomFromEWKT('SRID=4674;POINT (-38.532137 -3.605291)'))) / (select extract(epoch from '2026-07-18 17:42:47'::timestamp) - extract(epoch from '2026-07-18 17:42: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'), 47391, 'SRID=4674;POINT (-38.532144 -3.605336)', '2026-07-18 17:42:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532137 -3.605291)'), GeomFromEWKT('SRID=4674;POINT (-38.532144 -3.605336)'))) / (select extract(epoch from '2026-07-18 17:42:50'::timestamp) - extract(epoch from '2026-07-18 17:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532137 -3.605291)'), GeomFromEWKT('SRID=4674;POINT (-38.532144 -3.605336)'))) / (select extract(epoch from '2026-07-18 17:42:50'::timestamp) - extract(epoch from '2026-07-18 17:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532157 -3.605377)', '2026-07-18 17:42:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532144 -3.605336)'), GeomFromEWKT('SRID=4674;POINT (-38.532157 -3.605377)'))) / (select extract(epoch from '2026-07-18 17:42:53'::timestamp) - extract(epoch from '2026-07-18 17:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532144 -3.605336)'), GeomFromEWKT('SRID=4674;POINT (-38.532157 -3.605377)'))) / (select extract(epoch from '2026-07-18 17:42:53'::timestamp) - extract(epoch from '2026-07-18 17:42: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'), 47391, 'SRID=4674;POINT (-38.532184 -3.60549)', '2026-07-18 17:43:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532157 -3.605377)'), GeomFromEWKT('SRID=4674;POINT (-38.532184 -3.60549)'))) / (select extract(epoch from '2026-07-18 17:43:00'::timestamp) - extract(epoch from '2026-07-18 17:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532157 -3.605377)'), GeomFromEWKT('SRID=4674;POINT (-38.532184 -3.60549)'))) / (select extract(epoch from '2026-07-18 17:43:00'::timestamp) - extract(epoch from '2026-07-18 17:42: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'), 47391, 'SRID=4674;POINT (-38.532193 -3.605561)', '2026-07-18 17:43:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532184 -3.60549)'), GeomFromEWKT('SRID=4674;POINT (-38.532193 -3.605561)'))) / (select extract(epoch from '2026-07-18 17:43:05'::timestamp) - extract(epoch from '2026-07-18 17:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532184 -3.60549)'), GeomFromEWKT('SRID=4674;POINT (-38.532193 -3.605561)'))) / (select extract(epoch from '2026-07-18 17:43:05'::timestamp) - extract(epoch from '2026-07-18 17:43: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'), 47391, 'SRID=4674;POINT (-38.532202 -3.605573)', '2026-07-18 17:43:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532193 -3.605561)'), GeomFromEWKT('SRID=4674;POINT (-38.532202 -3.605573)'))) / (select extract(epoch from '2026-07-18 17:43:06'::timestamp) - extract(epoch from '2026-07-18 17:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532193 -3.605561)'), GeomFromEWKT('SRID=4674;POINT (-38.532202 -3.605573)'))) / (select extract(epoch from '2026-07-18 17:43:06'::timestamp) - extract(epoch from '2026-07-18 17:43:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532235 -3.605671)', '2026-07-18 17:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532202 -3.605573)'), GeomFromEWKT('SRID=4674;POINT (-38.532235 -3.605671)'))) / (select extract(epoch from '2026-07-18 17:43:14'::timestamp) - extract(epoch from '2026-07-18 17:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532202 -3.605573)'), GeomFromEWKT('SRID=4674;POINT (-38.532235 -3.605671)'))) / (select extract(epoch from '2026-07-18 17:43:14'::timestamp) - extract(epoch from '2026-07-18 17:43: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'), 47391, 'SRID=4674;POINT (-38.532262 -3.605776)', '2026-07-18 17:43:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532235 -3.605671)'), GeomFromEWKT('SRID=4674;POINT (-38.532262 -3.605776)'))) / (select extract(epoch from '2026-07-18 17:43:21'::timestamp) - extract(epoch from '2026-07-18 17:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532235 -3.605671)'), GeomFromEWKT('SRID=4674;POINT (-38.532262 -3.605776)'))) / (select extract(epoch from '2026-07-18 17:43:21'::timestamp) - extract(epoch from '2026-07-18 17:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532287 -3.605914)', '2026-07-18 17:43:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532262 -3.605776)'), GeomFromEWKT('SRID=4674;POINT (-38.532287 -3.605914)'))) / (select extract(epoch from '2026-07-18 17:43:29'::timestamp) - extract(epoch from '2026-07-18 17:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532262 -3.605776)'), GeomFromEWKT('SRID=4674;POINT (-38.532287 -3.605914)'))) / (select extract(epoch from '2026-07-18 17:43:29'::timestamp) - extract(epoch from '2026-07-18 17:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532304 -3.60601)', '2026-07-18 17:43:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532287 -3.605914)'), GeomFromEWKT('SRID=4674;POINT (-38.532304 -3.60601)'))) / (select extract(epoch from '2026-07-18 17:43:35'::timestamp) - extract(epoch from '2026-07-18 17:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532287 -3.605914)'), GeomFromEWKT('SRID=4674;POINT (-38.532304 -3.60601)'))) / (select extract(epoch from '2026-07-18 17:43:35'::timestamp) - extract(epoch from '2026-07-18 17:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532302 -3.60605)', '2026-07-18 17:43:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532304 -3.60601)'), GeomFromEWKT('SRID=4674;POINT (-38.532302 -3.60605)'))) / (select extract(epoch from '2026-07-18 17:43:38'::timestamp) - extract(epoch from '2026-07-18 17:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532304 -3.60601)'), GeomFromEWKT('SRID=4674;POINT (-38.532302 -3.60605)'))) / (select extract(epoch from '2026-07-18 17:43:38'::timestamp) - extract(epoch from '2026-07-18 17:43: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'), 47391, 'SRID=4674;POINT (-38.532306 -3.606085)', '2026-07-18 17:43:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532302 -3.60605)'), GeomFromEWKT('SRID=4674;POINT (-38.532306 -3.606085)'))) / (select extract(epoch from '2026-07-18 17:43:40'::timestamp) - extract(epoch from '2026-07-18 17:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532302 -3.60605)'), GeomFromEWKT('SRID=4674;POINT (-38.532306 -3.606085)'))) / (select extract(epoch from '2026-07-18 17:43:40'::timestamp) - extract(epoch from '2026-07-18 17:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532324 -3.606155)', '2026-07-18 17:43:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532306 -3.606085)'), GeomFromEWKT('SRID=4674;POINT (-38.532324 -3.606155)'))) / (select extract(epoch from '2026-07-18 17:43:44'::timestamp) - extract(epoch from '2026-07-18 17:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532306 -3.606085)'), GeomFromEWKT('SRID=4674;POINT (-38.532324 -3.606155)'))) / (select extract(epoch from '2026-07-18 17:43:44'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.532323 -3.60619)', '2026-07-18 17:43:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532324 -3.606155)'), GeomFromEWKT('SRID=4674;POINT (-38.532323 -3.60619)'))) / (select extract(epoch from '2026-07-18 17:43:46'::timestamp) - extract(epoch from '2026-07-18 17:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532324 -3.606155)'), GeomFromEWKT('SRID=4674;POINT (-38.532323 -3.60619)'))) / (select extract(epoch from '2026-07-18 17:43:46'::timestamp) - extract(epoch from '2026-07-18 17:43: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'), 47391, 'SRID=4674;POINT (-38.532333 -3.606311)', '2026-07-18 17:43:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532323 -3.60619)'), GeomFromEWKT('SRID=4674;POINT (-38.532333 -3.606311)'))) / (select extract(epoch from '2026-07-18 17:43:53'::timestamp) - extract(epoch from '2026-07-18 17:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532323 -3.60619)'), GeomFromEWKT('SRID=4674;POINT (-38.532333 -3.606311)'))) / (select extract(epoch from '2026-07-18 17:43:53'::timestamp) - extract(epoch from '2026-07-18 17:43:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532338 -3.60634)', '2026-07-18 17:43:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532333 -3.606311)'), GeomFromEWKT('SRID=4674;POINT (-38.532338 -3.60634)'))) / (select extract(epoch from '2026-07-18 17:43:55'::timestamp) - extract(epoch from '2026-07-18 17:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532333 -3.606311)'), GeomFromEWKT('SRID=4674;POINT (-38.532338 -3.60634)'))) / (select extract(epoch from '2026-07-18 17:43:55'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.532355 -3.606386)', '2026-07-18 17:43:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532338 -3.60634)'), GeomFromEWKT('SRID=4674;POINT (-38.532355 -3.606386)'))) / (select extract(epoch from '2026-07-18 17:43:58'::timestamp) - extract(epoch from '2026-07-18 17:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532338 -3.60634)'), GeomFromEWKT('SRID=4674;POINT (-38.532355 -3.606386)'))) / (select extract(epoch from '2026-07-18 17:43:58'::timestamp) - extract(epoch from '2026-07-18 17:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532366 -3.606453)', '2026-07-18 17:44:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532355 -3.606386)'), GeomFromEWKT('SRID=4674;POINT (-38.532366 -3.606453)'))) / (select extract(epoch from '2026-07-18 17:44:03'::timestamp) - extract(epoch from '2026-07-18 17:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532355 -3.606386)'), GeomFromEWKT('SRID=4674;POINT (-38.532366 -3.606453)'))) / (select extract(epoch from '2026-07-18 17:44:03'::timestamp) - extract(epoch from '2026-07-18 17:43: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'), 47391, 'SRID=4674;POINT (-38.532379 -3.606481)', '2026-07-18 17:44:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532366 -3.606453)'), GeomFromEWKT('SRID=4674;POINT (-38.532379 -3.606481)'))) / (select extract(epoch from '2026-07-18 17:44:05'::timestamp) - extract(epoch from '2026-07-18 17:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532366 -3.606453)'), GeomFromEWKT('SRID=4674;POINT (-38.532379 -3.606481)'))) / (select extract(epoch from '2026-07-18 17:44:05'::timestamp) - extract(epoch from '2026-07-18 17:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532391 -3.606537)', '2026-07-18 17:44:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532379 -3.606481)'), GeomFromEWKT('SRID=4674;POINT (-38.532391 -3.606537)'))) / (select extract(epoch from '2026-07-18 17:44:09'::timestamp) - extract(epoch from '2026-07-18 17:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532379 -3.606481)'), GeomFromEWKT('SRID=4674;POINT (-38.532391 -3.606537)'))) / (select extract(epoch from '2026-07-18 17:44:09'::timestamp) - extract(epoch from '2026-07-18 17:44:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532403 -3.606569)', '2026-07-18 17:44:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532391 -3.606537)'), GeomFromEWKT('SRID=4674;POINT (-38.532403 -3.606569)'))) / (select extract(epoch from '2026-07-18 17:44:11'::timestamp) - extract(epoch from '2026-07-18 17:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532391 -3.606537)'), GeomFromEWKT('SRID=4674;POINT (-38.532403 -3.606569)'))) / (select extract(epoch from '2026-07-18 17:44:11'::timestamp) - extract(epoch from '2026-07-18 17:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53243 -3.606653)', '2026-07-18 17:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532403 -3.606569)'), GeomFromEWKT('SRID=4674;POINT (-38.53243 -3.606653)'))) / (select extract(epoch from '2026-07-18 17:44:17'::timestamp) - extract(epoch from '2026-07-18 17:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532403 -3.606569)'), GeomFromEWKT('SRID=4674;POINT (-38.53243 -3.606653)'))) / (select extract(epoch from '2026-07-18 17:44:17'::timestamp) - extract(epoch from '2026-07-18 17:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532461 -3.606756)', '2026-07-18 17:44:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53243 -3.606653)'), GeomFromEWKT('SRID=4674;POINT (-38.532461 -3.606756)'))) / (select extract(epoch from '2026-07-18 17:44:23'::timestamp) - extract(epoch from '2026-07-18 17:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53243 -3.606653)'), GeomFromEWKT('SRID=4674;POINT (-38.532461 -3.606756)'))) / (select extract(epoch from '2026-07-18 17:44:23'::timestamp) - extract(epoch from '2026-07-18 17:44: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'), 47391, 'SRID=4674;POINT (-38.532467 -3.606773)', '2026-07-18 17:44:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532461 -3.606756)'), GeomFromEWKT('SRID=4674;POINT (-38.532467 -3.606773)'))) / (select extract(epoch from '2026-07-18 17:44:24'::timestamp) - extract(epoch from '2026-07-18 17:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532461 -3.606756)'), GeomFromEWKT('SRID=4674;POINT (-38.532467 -3.606773)'))) / (select extract(epoch from '2026-07-18 17:44:24'::timestamp) - extract(epoch from '2026-07-18 17:44: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'), 47391, 'SRID=4674;POINT (-38.532487 -3.606825)', '2026-07-18 17:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532467 -3.606773)'), GeomFromEWKT('SRID=4674;POINT (-38.532487 -3.606825)'))) / (select extract(epoch from '2026-07-18 17:44:27'::timestamp) - extract(epoch from '2026-07-18 17:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532467 -3.606773)'), GeomFromEWKT('SRID=4674;POINT (-38.532487 -3.606825)'))) / (select extract(epoch from '2026-07-18 17:44:27'::timestamp) - extract(epoch from '2026-07-18 17:44: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'), 47391, 'SRID=4674;POINT (-38.532503 -3.606904)', '2026-07-18 17:44:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532487 -3.606825)'), GeomFromEWKT('SRID=4674;POINT (-38.532503 -3.606904)'))) / (select extract(epoch from '2026-07-18 17:44:32'::timestamp) - extract(epoch from '2026-07-18 17:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532487 -3.606825)'), GeomFromEWKT('SRID=4674;POINT (-38.532503 -3.606904)'))) / (select extract(epoch from '2026-07-18 17:44:32'::timestamp) - extract(epoch from '2026-07-18 17:44: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'), 47391, 'SRID=4674;POINT (-38.532513 -3.606916)', '2026-07-18 17:44:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532503 -3.606904)'), GeomFromEWKT('SRID=4674;POINT (-38.532513 -3.606916)'))) / (select extract(epoch from '2026-07-18 17:44:33'::timestamp) - extract(epoch from '2026-07-18 17:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532503 -3.606904)'), GeomFromEWKT('SRID=4674;POINT (-38.532513 -3.606916)'))) / (select extract(epoch from '2026-07-18 17:44:33'::timestamp) - extract(epoch from '2026-07-18 17:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532532 -3.606959)', '2026-07-18 17:44:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532513 -3.606916)'), GeomFromEWKT('SRID=4674;POINT (-38.532532 -3.606959)'))) / (select extract(epoch from '2026-07-18 17:44:37'::timestamp) - extract(epoch from '2026-07-18 17:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532513 -3.606916)'), GeomFromEWKT('SRID=4674;POINT (-38.532532 -3.606959)'))) / (select extract(epoch from '2026-07-18 17:44:37'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.532548 -3.60698)', '2026-07-18 17:44:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532532 -3.606959)'), GeomFromEWKT('SRID=4674;POINT (-38.532548 -3.60698)'))) / (select extract(epoch from '2026-07-18 17:44:39'::timestamp) - extract(epoch from '2026-07-18 17:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532532 -3.606959)'), GeomFromEWKT('SRID=4674;POINT (-38.532548 -3.60698)'))) / (select extract(epoch from '2026-07-18 17:44:39'::timestamp) - extract(epoch from '2026-07-18 17:44: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'), 47391, 'SRID=4674;POINT (-38.53255 -3.606996)', '2026-07-18 17:44:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532548 -3.60698)'), GeomFromEWKT('SRID=4674;POINT (-38.53255 -3.606996)'))) / (select extract(epoch from '2026-07-18 17:44:40'::timestamp) - extract(epoch from '2026-07-18 17:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532548 -3.60698)'), GeomFromEWKT('SRID=4674;POINT (-38.53255 -3.606996)'))) / (select extract(epoch from '2026-07-18 17:44:40'::timestamp) - extract(epoch from '2026-07-18 17:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532591 -3.607071)', '2026-07-18 17:44:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53255 -3.606996)'), GeomFromEWKT('SRID=4674;POINT (-38.532591 -3.607071)'))) / (select extract(epoch from '2026-07-18 17:44:45'::timestamp) - extract(epoch from '2026-07-18 17:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53255 -3.606996)'), GeomFromEWKT('SRID=4674;POINT (-38.532591 -3.607071)'))) / (select extract(epoch from '2026-07-18 17:44:45'::timestamp) - extract(epoch from '2026-07-18 17:44: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'), 47391, 'SRID=4674;POINT (-38.532626 -3.607163)', '2026-07-18 17:44:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532591 -3.607071)'), GeomFromEWKT('SRID=4674;POINT (-38.532626 -3.607163)'))) / (select extract(epoch from '2026-07-18 17:44:50'::timestamp) - extract(epoch from '2026-07-18 17:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532591 -3.607071)'), GeomFromEWKT('SRID=4674;POINT (-38.532626 -3.607163)'))) / (select extract(epoch from '2026-07-18 17:44:50'::timestamp) - extract(epoch from '2026-07-18 17:44: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'), 47391, 'SRID=4674;POINT (-38.532655 -3.607287)', '2026-07-18 17:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532626 -3.607163)'), GeomFromEWKT('SRID=4674;POINT (-38.532655 -3.607287)'))) / (select extract(epoch from '2026-07-18 17:44:57'::timestamp) - extract(epoch from '2026-07-18 17:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532626 -3.607163)'), GeomFromEWKT('SRID=4674;POINT (-38.532655 -3.607287)'))) / (select extract(epoch from '2026-07-18 17:44:57'::timestamp) - extract(epoch from '2026-07-18 17:44: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'), 47391, 'SRID=4674;POINT (-38.532675 -3.607408)', '2026-07-18 17:45:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532655 -3.607287)'), GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.607408)'))) / (select extract(epoch from '2026-07-18 17:45:04'::timestamp) - extract(epoch from '2026-07-18 17:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532655 -3.607287)'), GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.607408)'))) / (select extract(epoch from '2026-07-18 17:45:04'::timestamp) - extract(epoch from '2026-07-18 17:44: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'), 47391, 'SRID=4674;POINT (-38.532675 -3.607437)', '2026-07-18 17:45:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.607408)'), GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.607437)'))) / (select extract(epoch from '2026-07-18 17:45:06'::timestamp) - extract(epoch from '2026-07-18 17:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.607408)'), GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.607437)'))) / (select extract(epoch from '2026-07-18 17:45:06'::timestamp) - extract(epoch from '2026-07-18 17:45: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'), 47391, 'SRID=4674;POINT (-38.53268 -3.607481)', '2026-07-18 17:45:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.607437)'), GeomFromEWKT('SRID=4674;POINT (-38.53268 -3.607481)'))) / (select extract(epoch from '2026-07-18 17:45:09'::timestamp) - extract(epoch from '2026-07-18 17:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.607437)'), GeomFromEWKT('SRID=4674;POINT (-38.53268 -3.607481)'))) / (select extract(epoch from '2026-07-18 17:45:09'::timestamp) - extract(epoch from '2026-07-18 17:45: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'), 47391, 'SRID=4674;POINT (-38.532697 -3.607547)', '2026-07-18 17:45:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53268 -3.607481)'), GeomFromEWKT('SRID=4674;POINT (-38.532697 -3.607547)'))) / (select extract(epoch from '2026-07-18 17:45:14'::timestamp) - extract(epoch from '2026-07-18 17:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53268 -3.607481)'), GeomFromEWKT('SRID=4674;POINT (-38.532697 -3.607547)'))) / (select extract(epoch from '2026-07-18 17:45:14'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.532707 -3.607559)', '2026-07-18 17:45:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532697 -3.607547)'), GeomFromEWKT('SRID=4674;POINT (-38.532707 -3.607559)'))) / (select extract(epoch from '2026-07-18 17:45:15'::timestamp) - extract(epoch from '2026-07-18 17:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532697 -3.607547)'), GeomFromEWKT('SRID=4674;POINT (-38.532707 -3.607559)'))) / (select extract(epoch from '2026-07-18 17:45:15'::timestamp) - extract(epoch from '2026-07-18 17:45: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'), 47391, 'SRID=4674;POINT (-38.532753 -3.60765)', '2026-07-18 17:45:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532707 -3.607559)'), GeomFromEWKT('SRID=4674;POINT (-38.532753 -3.60765)'))) / (select extract(epoch from '2026-07-18 17:45:21'::timestamp) - extract(epoch from '2026-07-18 17:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532707 -3.607559)'), GeomFromEWKT('SRID=4674;POINT (-38.532753 -3.60765)'))) / (select extract(epoch from '2026-07-18 17:45:21'::timestamp) - extract(epoch from '2026-07-18 17:45: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'), 47391, 'SRID=4674;POINT (-38.532779 -3.607736)', '2026-07-18 17:45:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532753 -3.60765)'), GeomFromEWKT('SRID=4674;POINT (-38.532779 -3.607736)'))) / (select extract(epoch from '2026-07-18 17:45:27'::timestamp) - extract(epoch from '2026-07-18 17:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532753 -3.60765)'), GeomFromEWKT('SRID=4674;POINT (-38.532779 -3.607736)'))) / (select extract(epoch from '2026-07-18 17:45:27'::timestamp) - extract(epoch from '2026-07-18 17:45: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'), 47391, 'SRID=4674;POINT (-38.532783 -3.607761)', '2026-07-18 17:45:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532779 -3.607736)'), GeomFromEWKT('SRID=4674;POINT (-38.532783 -3.607761)'))) / (select extract(epoch from '2026-07-18 17:45:29'::timestamp) - extract(epoch from '2026-07-18 17:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532779 -3.607736)'), GeomFromEWKT('SRID=4674;POINT (-38.532783 -3.607761)'))) / (select extract(epoch from '2026-07-18 17:45:29'::timestamp) - extract(epoch from '2026-07-18 17:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532799 -3.607808)', '2026-07-18 17:45:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532783 -3.607761)'), GeomFromEWKT('SRID=4674;POINT (-38.532799 -3.607808)'))) / (select extract(epoch from '2026-07-18 17:45:32'::timestamp) - extract(epoch from '2026-07-18 17:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532783 -3.607761)'), GeomFromEWKT('SRID=4674;POINT (-38.532799 -3.607808)'))) / (select extract(epoch from '2026-07-18 17:45:32'::timestamp) - extract(epoch from '2026-07-18 17:45: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'), 47391, 'SRID=4674;POINT (-38.532827 -3.60793)', '2026-07-18 17:45:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532799 -3.607808)'), GeomFromEWKT('SRID=4674;POINT (-38.532827 -3.60793)'))) / (select extract(epoch from '2026-07-18 17:45:39'::timestamp) - extract(epoch from '2026-07-18 17:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532799 -3.607808)'), GeomFromEWKT('SRID=4674;POINT (-38.532827 -3.60793)'))) / (select extract(epoch from '2026-07-18 17:45:39'::timestamp) - extract(epoch from '2026-07-18 17:45: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'), 47391, 'SRID=4674;POINT (-38.532854 -3.608037)', '2026-07-18 17:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532827 -3.60793)'), GeomFromEWKT('SRID=4674;POINT (-38.532854 -3.608037)'))) / (select extract(epoch from '2026-07-18 17:45:44'::timestamp) - extract(epoch from '2026-07-18 17:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532827 -3.60793)'), GeomFromEWKT('SRID=4674;POINT (-38.532854 -3.608037)'))) / (select extract(epoch from '2026-07-18 17:45:44'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.532866 -3.608068)', '2026-07-18 17:45:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532854 -3.608037)'), GeomFromEWKT('SRID=4674;POINT (-38.532866 -3.608068)'))) / (select extract(epoch from '2026-07-18 17:45:46'::timestamp) - extract(epoch from '2026-07-18 17:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532854 -3.608037)'), GeomFromEWKT('SRID=4674;POINT (-38.532866 -3.608068)'))) / (select extract(epoch from '2026-07-18 17:45:46'::timestamp) - extract(epoch from '2026-07-18 17:45:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532862 -3.608093)', '2026-07-18 17:45:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532866 -3.608068)'), GeomFromEWKT('SRID=4674;POINT (-38.532862 -3.608093)'))) / (select extract(epoch from '2026-07-18 17:45:48'::timestamp) - extract(epoch from '2026-07-18 17:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532866 -3.608068)'), GeomFromEWKT('SRID=4674;POINT (-38.532862 -3.608093)'))) / (select extract(epoch from '2026-07-18 17:45:48'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.532876 -3.608169)', '2026-07-18 17:45:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532862 -3.608093)'), GeomFromEWKT('SRID=4674;POINT (-38.532876 -3.608169)'))) / (select extract(epoch from '2026-07-18 17:45:53'::timestamp) - extract(epoch from '2026-07-18 17:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532862 -3.608093)'), GeomFromEWKT('SRID=4674;POINT (-38.532876 -3.608169)'))) / (select extract(epoch from '2026-07-18 17:45:53'::timestamp) - extract(epoch from '2026-07-18 17:45:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532898 -3.608235)', '2026-07-18 17:45:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532876 -3.608169)'), GeomFromEWKT('SRID=4674;POINT (-38.532898 -3.608235)'))) / (select extract(epoch from '2026-07-18 17:45:58'::timestamp) - extract(epoch from '2026-07-18 17:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532876 -3.608169)'), GeomFromEWKT('SRID=4674;POINT (-38.532898 -3.608235)'))) / (select extract(epoch from '2026-07-18 17:45:58'::timestamp) - extract(epoch from '2026-07-18 17:45: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'), 47391, 'SRID=4674;POINT (-38.532936 -3.608319)', '2026-07-18 17:46:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532898 -3.608235)'), GeomFromEWKT('SRID=4674;POINT (-38.532936 -3.608319)'))) / (select extract(epoch from '2026-07-18 17:46:03'::timestamp) - extract(epoch from '2026-07-18 17:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532898 -3.608235)'), GeomFromEWKT('SRID=4674;POINT (-38.532936 -3.608319)'))) / (select extract(epoch from '2026-07-18 17:46:03'::timestamp) - extract(epoch from '2026-07-18 17:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532979 -3.608428)', '2026-07-18 17:46:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532936 -3.608319)'), GeomFromEWKT('SRID=4674;POINT (-38.532979 -3.608428)'))) / (select extract(epoch from '2026-07-18 17:46:09'::timestamp) - extract(epoch from '2026-07-18 17:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532936 -3.608319)'), GeomFromEWKT('SRID=4674;POINT (-38.532979 -3.608428)'))) / (select extract(epoch from '2026-07-18 17:46:09'::timestamp) - extract(epoch from '2026-07-18 17:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533009 -3.608498)', '2026-07-18 17:46:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532979 -3.608428)'), GeomFromEWKT('SRID=4674;POINT (-38.533009 -3.608498)'))) / (select extract(epoch from '2026-07-18 17:46:14'::timestamp) - extract(epoch from '2026-07-18 17:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532979 -3.608428)'), GeomFromEWKT('SRID=4674;POINT (-38.533009 -3.608498)'))) / (select extract(epoch from '2026-07-18 17:46:14'::timestamp) - extract(epoch from '2026-07-18 17:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533039 -3.608558)', '2026-07-18 17:46:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533009 -3.608498)'), GeomFromEWKT('SRID=4674;POINT (-38.533039 -3.608558)'))) / (select extract(epoch from '2026-07-18 17:46:18'::timestamp) - extract(epoch from '2026-07-18 17:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533009 -3.608498)'), GeomFromEWKT('SRID=4674;POINT (-38.533039 -3.608558)'))) / (select extract(epoch from '2026-07-18 17:46:18'::timestamp) - extract(epoch from '2026-07-18 17:46: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'), 47391, 'SRID=4674;POINT (-38.53304 -3.608574)', '2026-07-18 17:46:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533039 -3.608558)'), GeomFromEWKT('SRID=4674;POINT (-38.53304 -3.608574)'))) / (select extract(epoch from '2026-07-18 17:46:19'::timestamp) - extract(epoch from '2026-07-18 17:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533039 -3.608558)'), GeomFromEWKT('SRID=4674;POINT (-38.53304 -3.608574)'))) / (select extract(epoch from '2026-07-18 17:46:19'::timestamp) - extract(epoch from '2026-07-18 17:46: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'), 47391, 'SRID=4674;POINT (-38.533045 -3.608605)', '2026-07-18 17:46:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53304 -3.608574)'), GeomFromEWKT('SRID=4674;POINT (-38.533045 -3.608605)'))) / (select extract(epoch from '2026-07-18 17:46:21'::timestamp) - extract(epoch from '2026-07-18 17:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53304 -3.608574)'), GeomFromEWKT('SRID=4674;POINT (-38.533045 -3.608605)'))) / (select extract(epoch from '2026-07-18 17:46:21'::timestamp) - extract(epoch from '2026-07-18 17:46: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'), 47391, 'SRID=4674;POINT (-38.533061 -3.608653)', '2026-07-18 17:46:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533045 -3.608605)'), GeomFromEWKT('SRID=4674;POINT (-38.533061 -3.608653)'))) / (select extract(epoch from '2026-07-18 17:46:24'::timestamp) - extract(epoch from '2026-07-18 17:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533045 -3.608605)'), GeomFromEWKT('SRID=4674;POINT (-38.533061 -3.608653)'))) / (select extract(epoch from '2026-07-18 17:46:24'::timestamp) - extract(epoch from '2026-07-18 17:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533078 -3.60875)', '2026-07-18 17:46:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533061 -3.608653)'), GeomFromEWKT('SRID=4674;POINT (-38.533078 -3.60875)'))) / (select extract(epoch from '2026-07-18 17:46:30'::timestamp) - extract(epoch from '2026-07-18 17:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533061 -3.608653)'), GeomFromEWKT('SRID=4674;POINT (-38.533078 -3.60875)'))) / (select extract(epoch from '2026-07-18 17:46:30'::timestamp) - extract(epoch from '2026-07-18 17:46: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'), 47391, 'SRID=4674;POINT (-38.533095 -3.608876)', '2026-07-18 17:46:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533078 -3.60875)'), GeomFromEWKT('SRID=4674;POINT (-38.533095 -3.608876)'))) / (select extract(epoch from '2026-07-18 17:46:38'::timestamp) - extract(epoch from '2026-07-18 17:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533078 -3.60875)'), GeomFromEWKT('SRID=4674;POINT (-38.533095 -3.608876)'))) / (select extract(epoch from '2026-07-18 17:46:38'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.53311 -3.608986)', '2026-07-18 17:46:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533095 -3.608876)'), GeomFromEWKT('SRID=4674;POINT (-38.53311 -3.608986)'))) / (select extract(epoch from '2026-07-18 17:46:45'::timestamp) - extract(epoch from '2026-07-18 17:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533095 -3.608876)'), GeomFromEWKT('SRID=4674;POINT (-38.53311 -3.608986)'))) / (select extract(epoch from '2026-07-18 17:46:45'::timestamp) - extract(epoch from '2026-07-18 17:46: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'), 47391, 'SRID=4674;POINT (-38.533113 -3.609002)', '2026-07-18 17:46:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53311 -3.608986)'), GeomFromEWKT('SRID=4674;POINT (-38.533113 -3.609002)'))) / (select extract(epoch from '2026-07-18 17:46:46'::timestamp) - extract(epoch from '2026-07-18 17:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53311 -3.608986)'), GeomFromEWKT('SRID=4674;POINT (-38.533113 -3.609002)'))) / (select extract(epoch from '2026-07-18 17:46:46'::timestamp) - extract(epoch from '2026-07-18 17:46: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'), 47391, 'SRID=4674;POINT (-38.533129 -3.609077)', '2026-07-18 17:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533113 -3.609002)'), GeomFromEWKT('SRID=4674;POINT (-38.533129 -3.609077)'))) / (select extract(epoch from '2026-07-18 17:46:50'::timestamp) - extract(epoch from '2026-07-18 17:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533113 -3.609002)'), GeomFromEWKT('SRID=4674;POINT (-38.533129 -3.609077)'))) / (select extract(epoch from '2026-07-18 17:46:50'::timestamp) - extract(epoch from '2026-07-18 17:46: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'), 47391, 'SRID=4674;POINT (-38.533128 -3.609138)', '2026-07-18 17:46:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533129 -3.609077)'), GeomFromEWKT('SRID=4674;POINT (-38.533128 -3.609138)'))) / (select extract(epoch from '2026-07-18 17:46:54'::timestamp) - extract(epoch from '2026-07-18 17:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533129 -3.609077)'), GeomFromEWKT('SRID=4674;POINT (-38.533128 -3.609138)'))) / (select extract(epoch from '2026-07-18 17:46:54'::timestamp) - extract(epoch from '2026-07-18 17:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533138 -3.609159)', '2026-07-18 17:46:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533128 -3.609138)'), GeomFromEWKT('SRID=4674;POINT (-38.533138 -3.609159)'))) / (select extract(epoch from '2026-07-18 17:46:55'::timestamp) - extract(epoch from '2026-07-18 17:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533128 -3.609138)'), GeomFromEWKT('SRID=4674;POINT (-38.533138 -3.609159)'))) / (select extract(epoch from '2026-07-18 17:46:55'::timestamp) - extract(epoch from '2026-07-18 17:46: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'), 47391, 'SRID=4674;POINT (-38.533147 -3.609194)', '2026-07-18 17:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533138 -3.609159)'), GeomFromEWKT('SRID=4674;POINT (-38.533147 -3.609194)'))) / (select extract(epoch from '2026-07-18 17:46:57'::timestamp) - extract(epoch from '2026-07-18 17:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533138 -3.609159)'), GeomFromEWKT('SRID=4674;POINT (-38.533147 -3.609194)'))) / (select extract(epoch from '2026-07-18 17:46:57'::timestamp) - extract(epoch from '2026-07-18 17:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533147 -3.609228)', '2026-07-18 17:46:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533147 -3.609194)'), GeomFromEWKT('SRID=4674;POINT (-38.533147 -3.609228)'))) / (select extract(epoch from '2026-07-18 17:46:59'::timestamp) - extract(epoch from '2026-07-18 17:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533147 -3.609194)'), GeomFromEWKT('SRID=4674;POINT (-38.533147 -3.609228)'))) / (select extract(epoch from '2026-07-18 17:46:59'::timestamp) - extract(epoch from '2026-07-18 17:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533169 -3.609304)', '2026-07-18 17:47:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533147 -3.609228)'), GeomFromEWKT('SRID=4674;POINT (-38.533169 -3.609304)'))) / (select extract(epoch from '2026-07-18 17:47:04'::timestamp) - extract(epoch from '2026-07-18 17:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533147 -3.609228)'), GeomFromEWKT('SRID=4674;POINT (-38.533169 -3.609304)'))) / (select extract(epoch from '2026-07-18 17:47:04'::timestamp) - extract(epoch from '2026-07-18 17:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533198 -3.609408)', '2026-07-18 17:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533169 -3.609304)'), GeomFromEWKT('SRID=4674;POINT (-38.533198 -3.609408)'))) / (select extract(epoch from '2026-07-18 17:47:10'::timestamp) - extract(epoch from '2026-07-18 17:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533169 -3.609304)'), GeomFromEWKT('SRID=4674;POINT (-38.533198 -3.609408)'))) / (select extract(epoch from '2026-07-18 17:47:10'::timestamp) - extract(epoch from '2026-07-18 17:47: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'), 47391, 'SRID=4674;POINT (-38.533213 -3.609451)', '2026-07-18 17:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533198 -3.609408)'), GeomFromEWKT('SRID=4674;POINT (-38.533213 -3.609451)'))) / (select extract(epoch from '2026-07-18 17:47:13'::timestamp) - extract(epoch from '2026-07-18 17:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533198 -3.609408)'), GeomFromEWKT('SRID=4674;POINT (-38.533213 -3.609451)'))) / (select extract(epoch from '2026-07-18 17:47:13'::timestamp) - extract(epoch from '2026-07-18 17:47: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'), 47391, 'SRID=4674;POINT (-38.53323 -3.609523)', '2026-07-18 17:47:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533213 -3.609451)'), GeomFromEWKT('SRID=4674;POINT (-38.53323 -3.609523)'))) / (select extract(epoch from '2026-07-18 17:47:18'::timestamp) - extract(epoch from '2026-07-18 17:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533213 -3.609451)'), GeomFromEWKT('SRID=4674;POINT (-38.53323 -3.609523)'))) / (select extract(epoch from '2026-07-18 17:47:18'::timestamp) - extract(epoch from '2026-07-18 17:47: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'), 47391, 'SRID=4674;POINT (-38.533246 -3.609608)', '2026-07-18 17:47:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53323 -3.609523)'), GeomFromEWKT('SRID=4674;POINT (-38.533246 -3.609608)'))) / (select extract(epoch from '2026-07-18 17:47:24'::timestamp) - extract(epoch from '2026-07-18 17:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53323 -3.609523)'), GeomFromEWKT('SRID=4674;POINT (-38.533246 -3.609608)'))) / (select extract(epoch from '2026-07-18 17:47:24'::timestamp) - extract(epoch from '2026-07-18 17:47: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'), 47391, 'SRID=4674;POINT (-38.533262 -3.609689)', '2026-07-18 17:47:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533246 -3.609608)'), GeomFromEWKT('SRID=4674;POINT (-38.533262 -3.609689)'))) / (select extract(epoch from '2026-07-18 17:47:29'::timestamp) - extract(epoch from '2026-07-18 17:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533246 -3.609608)'), GeomFromEWKT('SRID=4674;POINT (-38.533262 -3.609689)'))) / (select extract(epoch from '2026-07-18 17:47:29'::timestamp) - extract(epoch from '2026-07-18 17:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53328 -3.60977)', '2026-07-18 17:47:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533262 -3.609689)'), GeomFromEWKT('SRID=4674;POINT (-38.53328 -3.60977)'))) / (select extract(epoch from '2026-07-18 17:47:34'::timestamp) - extract(epoch from '2026-07-18 17:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533262 -3.609689)'), GeomFromEWKT('SRID=4674;POINT (-38.53328 -3.60977)'))) / (select extract(epoch from '2026-07-18 17:47:34'::timestamp) - extract(epoch from '2026-07-18 17:47: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'), 47391, 'SRID=4674;POINT (-38.533308 -3.609867)', '2026-07-18 17:47:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53328 -3.60977)'), GeomFromEWKT('SRID=4674;POINT (-38.533308 -3.609867)'))) / (select extract(epoch from '2026-07-18 17:47:40'::timestamp) - extract(epoch from '2026-07-18 17:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53328 -3.60977)'), GeomFromEWKT('SRID=4674;POINT (-38.533308 -3.609867)'))) / (select extract(epoch from '2026-07-18 17:47:40'::timestamp) - extract(epoch from '2026-07-18 17:47: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'), 47391, 'SRID=4674;POINT (-38.533338 -3.609953)', '2026-07-18 17:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533308 -3.609867)'), GeomFromEWKT('SRID=4674;POINT (-38.533338 -3.609953)'))) / (select extract(epoch from '2026-07-18 17:47:46'::timestamp) - extract(epoch from '2026-07-18 17:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533308 -3.609867)'), GeomFromEWKT('SRID=4674;POINT (-38.533338 -3.609953)'))) / (select extract(epoch from '2026-07-18 17:47:46'::timestamp) - extract(epoch from '2026-07-18 17:47: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'), 47391, 'SRID=4674;POINT (-38.533359 -3.610081)', '2026-07-18 17:47:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533338 -3.609953)'), GeomFromEWKT('SRID=4674;POINT (-38.533359 -3.610081)'))) / (select extract(epoch from '2026-07-18 17:47:54'::timestamp) - extract(epoch from '2026-07-18 17:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533338 -3.609953)'), GeomFromEWKT('SRID=4674;POINT (-38.533359 -3.610081)'))) / (select extract(epoch from '2026-07-18 17:47:54'::timestamp) - extract(epoch from '2026-07-18 17:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533375 -3.610175)', '2026-07-18 17:48:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533359 -3.610081)'), GeomFromEWKT('SRID=4674;POINT (-38.533375 -3.610175)'))) / (select extract(epoch from '2026-07-18 17:48:01'::timestamp) - extract(epoch from '2026-07-18 17:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533359 -3.610081)'), GeomFromEWKT('SRID=4674;POINT (-38.533375 -3.610175)'))) / (select extract(epoch from '2026-07-18 17:48:01'::timestamp) - extract(epoch from '2026-07-18 17:47:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533403 -3.610243)', '2026-07-18 17:48:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533375 -3.610175)'), GeomFromEWKT('SRID=4674;POINT (-38.533403 -3.610243)'))) / (select extract(epoch from '2026-07-18 17:48:06'::timestamp) - extract(epoch from '2026-07-18 17:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533375 -3.610175)'), GeomFromEWKT('SRID=4674;POINT (-38.533403 -3.610243)'))) / (select extract(epoch from '2026-07-18 17:48:06'::timestamp) - extract(epoch from '2026-07-18 17:48: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'), 47391, 'SRID=4674;POINT (-38.533435 -3.610314)', '2026-07-18 17:48:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533403 -3.610243)'), GeomFromEWKT('SRID=4674;POINT (-38.533435 -3.610314)'))) / (select extract(epoch from '2026-07-18 17:48:09'::timestamp) - extract(epoch from '2026-07-18 17:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533403 -3.610243)'), GeomFromEWKT('SRID=4674;POINT (-38.533435 -3.610314)'))) / (select extract(epoch from '2026-07-18 17:48:09'::timestamp) - extract(epoch from '2026-07-18 17:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533454 -3.610361)', '2026-07-18 17:48:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533435 -3.610314)'), GeomFromEWKT('SRID=4674;POINT (-38.533454 -3.610361)'))) / (select extract(epoch from '2026-07-18 17:48:13'::timestamp) - extract(epoch from '2026-07-18 17:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533435 -3.610314)'), GeomFromEWKT('SRID=4674;POINT (-38.533454 -3.610361)'))) / (select extract(epoch from '2026-07-18 17:48:13'::timestamp) - extract(epoch from '2026-07-18 17:48:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533456 -3.610374)', '2026-07-18 17:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533454 -3.610361)'), GeomFromEWKT('SRID=4674;POINT (-38.533456 -3.610374)'))) / (select extract(epoch from '2026-07-18 17:48:14'::timestamp) - extract(epoch from '2026-07-18 17:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533454 -3.610361)'), GeomFromEWKT('SRID=4674;POINT (-38.533456 -3.610374)'))) / (select extract(epoch from '2026-07-18 17:48:14'::timestamp) - extract(epoch from '2026-07-18 17:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533464 -3.610388)', '2026-07-18 17:48:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533456 -3.610374)'), GeomFromEWKT('SRID=4674;POINT (-38.533464 -3.610388)'))) / (select extract(epoch from '2026-07-18 17:48:15'::timestamp) - extract(epoch from '2026-07-18 17:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533456 -3.610374)'), GeomFromEWKT('SRID=4674;POINT (-38.533464 -3.610388)'))) / (select extract(epoch from '2026-07-18 17:48:15'::timestamp) - extract(epoch from '2026-07-18 17:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533491 -3.61041)', '2026-07-18 17:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533464 -3.610388)'), GeomFromEWKT('SRID=4674;POINT (-38.533491 -3.61041)'))) / (select extract(epoch from '2026-07-18 17:48:18'::timestamp) - extract(epoch from '2026-07-18 17:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533464 -3.610388)'), GeomFromEWKT('SRID=4674;POINT (-38.533491 -3.61041)'))) / (select extract(epoch from '2026-07-18 17:48:18'::timestamp) - extract(epoch from '2026-07-18 17:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533514 -3.610492)', '2026-07-18 17:48:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533491 -3.61041)'), GeomFromEWKT('SRID=4674;POINT (-38.533514 -3.610492)'))) / (select extract(epoch from '2026-07-18 17:48:24'::timestamp) - extract(epoch from '2026-07-18 17:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533491 -3.61041)'), GeomFromEWKT('SRID=4674;POINT (-38.533514 -3.610492)'))) / (select extract(epoch from '2026-07-18 17:48:24'::timestamp) - extract(epoch from '2026-07-18 17:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533554 -3.610611)', '2026-07-18 17:48:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533514 -3.610492)'), GeomFromEWKT('SRID=4674;POINT (-38.533554 -3.610611)'))) / (select extract(epoch from '2026-07-18 17:48:32'::timestamp) - extract(epoch from '2026-07-18 17:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533514 -3.610492)'), GeomFromEWKT('SRID=4674;POINT (-38.533554 -3.610611)'))) / (select extract(epoch from '2026-07-18 17:48:32'::timestamp) - extract(epoch from '2026-07-18 17:48: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'), 47391, 'SRID=4674;POINT (-38.533587 -3.61074)', '2026-07-18 17:48:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533554 -3.610611)'), GeomFromEWKT('SRID=4674;POINT (-38.533587 -3.61074)'))) / (select extract(epoch from '2026-07-18 17:48:40'::timestamp) - extract(epoch from '2026-07-18 17:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533554 -3.610611)'), GeomFromEWKT('SRID=4674;POINT (-38.533587 -3.61074)'))) / (select extract(epoch from '2026-07-18 17:48:40'::timestamp) - extract(epoch from '2026-07-18 17:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533589 -3.610775)', '2026-07-18 17:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533587 -3.61074)'), GeomFromEWKT('SRID=4674;POINT (-38.533589 -3.610775)'))) / (select extract(epoch from '2026-07-18 17:48:42'::timestamp) - extract(epoch from '2026-07-18 17:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533587 -3.61074)'), GeomFromEWKT('SRID=4674;POINT (-38.533589 -3.610775)'))) / (select extract(epoch from '2026-07-18 17:48:42'::timestamp) - extract(epoch from '2026-07-18 17:48:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533604 -3.610819)', '2026-07-18 17:48:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533589 -3.610775)'), GeomFromEWKT('SRID=4674;POINT (-38.533604 -3.610819)'))) / (select extract(epoch from '2026-07-18 17:48:46'::timestamp) - extract(epoch from '2026-07-18 17:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533589 -3.610775)'), GeomFromEWKT('SRID=4674;POINT (-38.533604 -3.610819)'))) / (select extract(epoch from '2026-07-18 17:48:46'::timestamp) - extract(epoch from '2026-07-18 17:48: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'), 47391, 'SRID=4674;POINT (-38.533639 -3.610932)', '2026-07-18 17:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533604 -3.610819)'), GeomFromEWKT('SRID=4674;POINT (-38.533639 -3.610932)'))) / (select extract(epoch from '2026-07-18 17:48:54'::timestamp) - extract(epoch from '2026-07-18 17:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533604 -3.610819)'), GeomFromEWKT('SRID=4674;POINT (-38.533639 -3.610932)'))) / (select extract(epoch from '2026-07-18 17:48:54'::timestamp) - extract(epoch from '2026-07-18 17:48: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'), 47391, 'SRID=4674;POINT (-38.533672 -3.611074)', '2026-07-18 17:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533639 -3.610932)'), GeomFromEWKT('SRID=4674;POINT (-38.533672 -3.611074)'))) / (select extract(epoch from '2026-07-18 17:49:01'::timestamp) - extract(epoch from '2026-07-18 17:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533639 -3.610932)'), GeomFromEWKT('SRID=4674;POINT (-38.533672 -3.611074)'))) / (select extract(epoch from '2026-07-18 17:49:01'::timestamp) - extract(epoch from '2026-07-18 17:48: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'), 47391, 'SRID=4674;POINT (-38.533667 -3.611175)', '2026-07-18 17:49:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533672 -3.611074)'), GeomFromEWKT('SRID=4674;POINT (-38.533667 -3.611175)'))) / (select extract(epoch from '2026-07-18 17:49:08'::timestamp) - extract(epoch from '2026-07-18 17:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533672 -3.611074)'), GeomFromEWKT('SRID=4674;POINT (-38.533667 -3.611175)'))) / (select extract(epoch from '2026-07-18 17:49:08'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.533683 -3.611249)', '2026-07-18 17:49:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533667 -3.611175)'), GeomFromEWKT('SRID=4674;POINT (-38.533683 -3.611249)'))) / (select extract(epoch from '2026-07-18 17:49:14'::timestamp) - extract(epoch from '2026-07-18 17:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533667 -3.611175)'), GeomFromEWKT('SRID=4674;POINT (-38.533683 -3.611249)'))) / (select extract(epoch from '2026-07-18 17:49:14'::timestamp) - extract(epoch from '2026-07-18 17:49: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'), 47391, 'SRID=4674;POINT (-38.533699 -3.611317)', '2026-07-18 17:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533683 -3.611249)'), GeomFromEWKT('SRID=4674;POINT (-38.533699 -3.611317)'))) / (select extract(epoch from '2026-07-18 17:49:19'::timestamp) - extract(epoch from '2026-07-18 17:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533683 -3.611249)'), GeomFromEWKT('SRID=4674;POINT (-38.533699 -3.611317)'))) / (select extract(epoch from '2026-07-18 17:49:19'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.533721 -3.611392)', '2026-07-18 17:49:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533699 -3.611317)'), GeomFromEWKT('SRID=4674;POINT (-38.533721 -3.611392)'))) / (select extract(epoch from '2026-07-18 17:49:24'::timestamp) - extract(epoch from '2026-07-18 17:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533699 -3.611317)'), GeomFromEWKT('SRID=4674;POINT (-38.533721 -3.611392)'))) / (select extract(epoch from '2026-07-18 17:49:24'::timestamp) - extract(epoch from '2026-07-18 17:49: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'), 47391, 'SRID=4674;POINT (-38.53373 -3.611466)', '2026-07-18 17:49:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533721 -3.611392)'), GeomFromEWKT('SRID=4674;POINT (-38.53373 -3.611466)'))) / (select extract(epoch from '2026-07-18 17:49:28'::timestamp) - extract(epoch from '2026-07-18 17:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533721 -3.611392)'), GeomFromEWKT('SRID=4674;POINT (-38.53373 -3.611466)'))) / (select extract(epoch from '2026-07-18 17:49:28'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.533738 -3.611483)', '2026-07-18 17:49:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53373 -3.611466)'), GeomFromEWKT('SRID=4674;POINT (-38.533738 -3.611483)'))) / (select extract(epoch from '2026-07-18 17:49:29'::timestamp) - extract(epoch from '2026-07-18 17:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53373 -3.611466)'), GeomFromEWKT('SRID=4674;POINT (-38.533738 -3.611483)'))) / (select extract(epoch from '2026-07-18 17:49:29'::timestamp) - extract(epoch from '2026-07-18 17:49: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'), 47391, 'SRID=4674;POINT (-38.533761 -3.611584)', '2026-07-18 17:49:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533738 -3.611483)'), GeomFromEWKT('SRID=4674;POINT (-38.533761 -3.611584)'))) / (select extract(epoch from '2026-07-18 17:49:35'::timestamp) - extract(epoch from '2026-07-18 17:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533738 -3.611483)'), GeomFromEWKT('SRID=4674;POINT (-38.533761 -3.611584)'))) / (select extract(epoch from '2026-07-18 17:49:35'::timestamp) - extract(epoch from '2026-07-18 17:49:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533772 -3.611685)', '2026-07-18 17:49:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533761 -3.611584)'), GeomFromEWKT('SRID=4674;POINT (-38.533772 -3.611685)'))) / (select extract(epoch from '2026-07-18 17:49:41'::timestamp) - extract(epoch from '2026-07-18 17:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533761 -3.611584)'), GeomFromEWKT('SRID=4674;POINT (-38.533772 -3.611685)'))) / (select extract(epoch from '2026-07-18 17:49:41'::timestamp) - extract(epoch from '2026-07-18 17:49: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'), 47391, 'SRID=4674;POINT (-38.533794 -3.611781)', '2026-07-18 17:49:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533772 -3.611685)'), GeomFromEWKT('SRID=4674;POINT (-38.533794 -3.611781)'))) / (select extract(epoch from '2026-07-18 17:49:47'::timestamp) - extract(epoch from '2026-07-18 17:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533772 -3.611685)'), GeomFromEWKT('SRID=4674;POINT (-38.533794 -3.611781)'))) / (select extract(epoch from '2026-07-18 17:49:47'::timestamp) - extract(epoch from '2026-07-18 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'), 47391, 'SRID=4674;POINT (-38.533791 -3.611808)', '2026-07-18 17:49:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533794 -3.611781)'), GeomFromEWKT('SRID=4674;POINT (-38.533791 -3.611808)'))) / (select extract(epoch from '2026-07-18 17:49:49'::timestamp) - extract(epoch from '2026-07-18 17:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533794 -3.611781)'), GeomFromEWKT('SRID=4674;POINT (-38.533791 -3.611808)'))) / (select extract(epoch from '2026-07-18 17:49:49'::timestamp) - extract(epoch from '2026-07-18 17:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533808 -3.611859)', '2026-07-18 17:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533791 -3.611808)'), GeomFromEWKT('SRID=4674;POINT (-38.533808 -3.611859)'))) / (select extract(epoch from '2026-07-18 17:49:52'::timestamp) - extract(epoch from '2026-07-18 17:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533791 -3.611808)'), GeomFromEWKT('SRID=4674;POINT (-38.533808 -3.611859)'))) / (select extract(epoch from '2026-07-18 17:49:52'::timestamp) - extract(epoch from '2026-07-18 17:49:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533827 -3.611932)', '2026-07-18 17:49:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533808 -3.611859)'), GeomFromEWKT('SRID=4674;POINT (-38.533827 -3.611932)'))) / (select extract(epoch from '2026-07-18 17:49:57'::timestamp) - extract(epoch from '2026-07-18 17:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533808 -3.611859)'), GeomFromEWKT('SRID=4674;POINT (-38.533827 -3.611932)'))) / (select extract(epoch from '2026-07-18 17:49:57'::timestamp) - extract(epoch from '2026-07-18 17:49: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'), 47391, 'SRID=4674;POINT (-38.533861 -3.611977)', '2026-07-18 17:50:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533827 -3.611932)'), GeomFromEWKT('SRID=4674;POINT (-38.533861 -3.611977)'))) / (select extract(epoch from '2026-07-18 17:50:00'::timestamp) - extract(epoch from '2026-07-18 17:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533827 -3.611932)'), GeomFromEWKT('SRID=4674;POINT (-38.533861 -3.611977)'))) / (select extract(epoch from '2026-07-18 17:50:00'::timestamp) - extract(epoch from '2026-07-18 17:49: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'), 47391, 'SRID=4674;POINT (-38.533861 -3.611995)', '2026-07-18 17:50:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533861 -3.611977)'), GeomFromEWKT('SRID=4674;POINT (-38.533861 -3.611995)'))) / (select extract(epoch from '2026-07-18 17:50:01'::timestamp) - extract(epoch from '2026-07-18 17:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533861 -3.611977)'), GeomFromEWKT('SRID=4674;POINT (-38.533861 -3.611995)'))) / (select extract(epoch from '2026-07-18 17:50:01'::timestamp) - extract(epoch from '2026-07-18 17:50: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'), 47391, 'SRID=4674;POINT (-38.533869 -3.612023)', '2026-07-18 17:50:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533861 -3.611995)'), GeomFromEWKT('SRID=4674;POINT (-38.533869 -3.612023)'))) / (select extract(epoch from '2026-07-18 17:50:03'::timestamp) - extract(epoch from '2026-07-18 17:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533861 -3.611995)'), GeomFromEWKT('SRID=4674;POINT (-38.533869 -3.612023)'))) / (select extract(epoch from '2026-07-18 17:50:03'::timestamp) - extract(epoch from '2026-07-18 17:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533885 -3.612058)', '2026-07-18 17:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533869 -3.612023)'), GeomFromEWKT('SRID=4674;POINT (-38.533885 -3.612058)'))) / (select extract(epoch from '2026-07-18 17:50:05'::timestamp) - extract(epoch from '2026-07-18 17:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533869 -3.612023)'), GeomFromEWKT('SRID=4674;POINT (-38.533885 -3.612058)'))) / (select extract(epoch from '2026-07-18 17:50:05'::timestamp) - extract(epoch from '2026-07-18 17:50: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'), 47391, 'SRID=4674;POINT (-38.533917 -3.612187)', '2026-07-18 17:50:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533885 -3.612058)'), GeomFromEWKT('SRID=4674;POINT (-38.533917 -3.612187)'))) / (select extract(epoch from '2026-07-18 17:50:12'::timestamp) - extract(epoch from '2026-07-18 17:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533885 -3.612058)'), GeomFromEWKT('SRID=4674;POINT (-38.533917 -3.612187)'))) / (select extract(epoch from '2026-07-18 17:50:12'::timestamp) - extract(epoch from '2026-07-18 17:50: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'), 47391, 'SRID=4674;POINT (-38.53393 -3.612294)', '2026-07-18 17:50:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533917 -3.612187)'), GeomFromEWKT('SRID=4674;POINT (-38.53393 -3.612294)'))) / (select extract(epoch from '2026-07-18 17:50:18'::timestamp) - extract(epoch from '2026-07-18 17:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533917 -3.612187)'), GeomFromEWKT('SRID=4674;POINT (-38.53393 -3.612294)'))) / (select extract(epoch from '2026-07-18 17:50:18'::timestamp) - extract(epoch from '2026-07-18 17:50: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'), 47391, 'SRID=4674;POINT (-38.533948 -3.612404)', '2026-07-18 17:50:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53393 -3.612294)'), GeomFromEWKT('SRID=4674;POINT (-38.533948 -3.612404)'))) / (select extract(epoch from '2026-07-18 17:50:24'::timestamp) - extract(epoch from '2026-07-18 17:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53393 -3.612294)'), GeomFromEWKT('SRID=4674;POINT (-38.533948 -3.612404)'))) / (select extract(epoch from '2026-07-18 17:50:24'::timestamp) - extract(epoch from '2026-07-18 17:50: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'), 47391, 'SRID=4674;POINT (-38.533943 -3.612518)', '2026-07-18 17:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533948 -3.612404)'), GeomFromEWKT('SRID=4674;POINT (-38.533943 -3.612518)'))) / (select extract(epoch from '2026-07-18 17:50:31'::timestamp) - extract(epoch from '2026-07-18 17:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533948 -3.612404)'), GeomFromEWKT('SRID=4674;POINT (-38.533943 -3.612518)'))) / (select extract(epoch from '2026-07-18 17:50:31'::timestamp) - extract(epoch from '2026-07-18 17:50: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'), 47391, 'SRID=4674;POINT (-38.533963 -3.612584)', '2026-07-18 17:50:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533943 -3.612518)'), GeomFromEWKT('SRID=4674;POINT (-38.533963 -3.612584)'))) / (select extract(epoch from '2026-07-18 17:50:35'::timestamp) - extract(epoch from '2026-07-18 17:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533943 -3.612518)'), GeomFromEWKT('SRID=4674;POINT (-38.533963 -3.612584)'))) / (select extract(epoch from '2026-07-18 17:50:35'::timestamp) - extract(epoch from '2026-07-18 17:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533962 -3.612598)', '2026-07-18 17:50:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533963 -3.612584)'), GeomFromEWKT('SRID=4674;POINT (-38.533962 -3.612598)'))) / (select extract(epoch from '2026-07-18 17:50:36'::timestamp) - extract(epoch from '2026-07-18 17:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533963 -3.612584)'), GeomFromEWKT('SRID=4674;POINT (-38.533962 -3.612598)'))) / (select extract(epoch from '2026-07-18 17:50:36'::timestamp) - extract(epoch from '2026-07-18 17:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
