 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.417457 -3.514238)', '2026-07-06 17:31:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417412 -3.514148)'), GeomFromEWKT('SRID=4674;POINT (-38.417457 -3.514238)'))) / (select extract(epoch from '2026-07-06 17:31:11'::timestamp) - extract(epoch from '2026-07-06 17:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417412 -3.514148)'), GeomFromEWKT('SRID=4674;POINT (-38.417457 -3.514238)'))) / (select extract(epoch from '2026-07-06 17:31:11'::timestamp) - extract(epoch from '2026-07-06 17:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.417489 -3.514365)', '2026-07-06 17:31:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417457 -3.514238)'), GeomFromEWKT('SRID=4674;POINT (-38.417489 -3.514365)'))) / (select extract(epoch from '2026-07-06 17:31:18'::timestamp) - extract(epoch from '2026-07-06 17:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417457 -3.514238)'), GeomFromEWKT('SRID=4674;POINT (-38.417489 -3.514365)'))) / (select extract(epoch from '2026-07-06 17:31:18'::timestamp) - extract(epoch from '2026-07-06 17:31: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'), 47390, 'SRID=4674;POINT (-38.417518 -3.514478)', '2026-07-06 17:31:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417489 -3.514365)'), GeomFromEWKT('SRID=4674;POINT (-38.417518 -3.514478)'))) / (select extract(epoch from '2026-07-06 17:31:24'::timestamp) - extract(epoch from '2026-07-06 17:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417489 -3.514365)'), GeomFromEWKT('SRID=4674;POINT (-38.417518 -3.514478)'))) / (select extract(epoch from '2026-07-06 17:31:24'::timestamp) - extract(epoch from '2026-07-06 17:31: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'), 47390, 'SRID=4674;POINT (-38.417579 -3.514627)', '2026-07-06 17:31:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417518 -3.514478)'), GeomFromEWKT('SRID=4674;POINT (-38.417579 -3.514627)'))) / (select extract(epoch from '2026-07-06 17:31:32'::timestamp) - extract(epoch from '2026-07-06 17:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417518 -3.514478)'), GeomFromEWKT('SRID=4674;POINT (-38.417579 -3.514627)'))) / (select extract(epoch from '2026-07-06 17:31:32'::timestamp) - extract(epoch from '2026-07-06 17:31: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'), 47390, 'SRID=4674;POINT (-38.417616 -3.51471)', '2026-07-06 17:31:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417579 -3.514627)'), GeomFromEWKT('SRID=4674;POINT (-38.417616 -3.51471)'))) / (select extract(epoch from '2026-07-06 17:31:37'::timestamp) - extract(epoch from '2026-07-06 17:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417579 -3.514627)'), GeomFromEWKT('SRID=4674;POINT (-38.417616 -3.51471)'))) / (select extract(epoch from '2026-07-06 17:31:37'::timestamp) - extract(epoch from '2026-07-06 17:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.417665 -3.514782)', '2026-07-06 17:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417616 -3.51471)'), GeomFromEWKT('SRID=4674;POINT (-38.417665 -3.514782)'))) / (select extract(epoch from '2026-07-06 17:31:42'::timestamp) - extract(epoch from '2026-07-06 17:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417616 -3.51471)'), GeomFromEWKT('SRID=4674;POINT (-38.417665 -3.514782)'))) / (select extract(epoch from '2026-07-06 17:31:42'::timestamp) - extract(epoch from '2026-07-06 17:31: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'), 47390, 'SRID=4674;POINT (-38.417716 -3.514894)', '2026-07-06 17:31:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417665 -3.514782)'), GeomFromEWKT('SRID=4674;POINT (-38.417716 -3.514894)'))) / (select extract(epoch from '2026-07-06 17:31:49'::timestamp) - extract(epoch from '2026-07-06 17:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417665 -3.514782)'), GeomFromEWKT('SRID=4674;POINT (-38.417716 -3.514894)'))) / (select extract(epoch from '2026-07-06 17:31:49'::timestamp) - extract(epoch from '2026-07-06 17:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.417778 -3.515013)', '2026-07-06 17:31:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417716 -3.514894)'), GeomFromEWKT('SRID=4674;POINT (-38.417778 -3.515013)'))) / (select extract(epoch from '2026-07-06 17:31:56'::timestamp) - extract(epoch from '2026-07-06 17:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417716 -3.514894)'), GeomFromEWKT('SRID=4674;POINT (-38.417778 -3.515013)'))) / (select extract(epoch from '2026-07-06 17:31:56'::timestamp) - extract(epoch from '2026-07-06 17:31: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'), 47390, 'SRID=4674;POINT (-38.417836 -3.515111)', '2026-07-06 17:32:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417778 -3.515013)'), GeomFromEWKT('SRID=4674;POINT (-38.417836 -3.515111)'))) / (select extract(epoch from '2026-07-06 17:32:02'::timestamp) - extract(epoch from '2026-07-06 17:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417778 -3.515013)'), GeomFromEWKT('SRID=4674;POINT (-38.417836 -3.515111)'))) / (select extract(epoch from '2026-07-06 17:32:02'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.417878 -3.515216)', '2026-07-06 17:32:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417836 -3.515111)'), GeomFromEWKT('SRID=4674;POINT (-38.417878 -3.515216)'))) / (select extract(epoch from '2026-07-06 17:32:08'::timestamp) - extract(epoch from '2026-07-06 17:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417836 -3.515111)'), GeomFromEWKT('SRID=4674;POINT (-38.417878 -3.515216)'))) / (select extract(epoch from '2026-07-06 17:32:08'::timestamp) - extract(epoch from '2026-07-06 17:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.417955 -3.515346)', '2026-07-06 17:32:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417878 -3.515216)'), GeomFromEWKT('SRID=4674;POINT (-38.417955 -3.515346)'))) / (select extract(epoch from '2026-07-06 17:32:16'::timestamp) - extract(epoch from '2026-07-06 17:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417878 -3.515216)'), GeomFromEWKT('SRID=4674;POINT (-38.417955 -3.515346)'))) / (select extract(epoch from '2026-07-06 17:32:16'::timestamp) - extract(epoch from '2026-07-06 17:32: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'), 47390, 'SRID=4674;POINT (-38.418023 -3.515453)', '2026-07-06 17:32:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417955 -3.515346)'), GeomFromEWKT('SRID=4674;POINT (-38.418023 -3.515453)'))) / (select extract(epoch from '2026-07-06 17:32:23'::timestamp) - extract(epoch from '2026-07-06 17:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417955 -3.515346)'), GeomFromEWKT('SRID=4674;POINT (-38.418023 -3.515453)'))) / (select extract(epoch from '2026-07-06 17:32:23'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.418051 -3.515569)', '2026-07-06 17:32:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418023 -3.515453)'), GeomFromEWKT('SRID=4674;POINT (-38.418051 -3.515569)'))) / (select extract(epoch from '2026-07-06 17:32:30'::timestamp) - extract(epoch from '2026-07-06 17:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418023 -3.515453)'), GeomFromEWKT('SRID=4674;POINT (-38.418051 -3.515569)'))) / (select extract(epoch from '2026-07-06 17:32:30'::timestamp) - extract(epoch from '2026-07-06 17:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.418074 -3.51572)', '2026-07-06 17:32:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418051 -3.515569)'), GeomFromEWKT('SRID=4674;POINT (-38.418074 -3.51572)'))) / (select extract(epoch from '2026-07-06 17:32:38'::timestamp) - extract(epoch from '2026-07-06 17:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418051 -3.515569)'), GeomFromEWKT('SRID=4674;POINT (-38.418074 -3.51572)'))) / (select extract(epoch from '2026-07-06 17:32:38'::timestamp) - extract(epoch from '2026-07-06 17:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.418112 -3.515855)', '2026-07-06 17:32:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418074 -3.51572)'), GeomFromEWKT('SRID=4674;POINT (-38.418112 -3.515855)'))) / (select extract(epoch from '2026-07-06 17:32:45'::timestamp) - extract(epoch from '2026-07-06 17:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418074 -3.51572)'), GeomFromEWKT('SRID=4674;POINT (-38.418112 -3.515855)'))) / (select extract(epoch from '2026-07-06 17:32:45'::timestamp) - extract(epoch from '2026-07-06 17:32: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'), 47390, 'SRID=4674;POINT (-38.418176 -3.516024)', '2026-07-06 17:32:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418112 -3.515855)'), GeomFromEWKT('SRID=4674;POINT (-38.418176 -3.516024)'))) / (select extract(epoch from '2026-07-06 17:32:54'::timestamp) - extract(epoch from '2026-07-06 17:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418112 -3.515855)'), GeomFromEWKT('SRID=4674;POINT (-38.418176 -3.516024)'))) / (select extract(epoch from '2026-07-06 17:32:54'::timestamp) - extract(epoch from '2026-07-06 17:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.418242 -3.516148)', '2026-07-06 17:33:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418176 -3.516024)'), GeomFromEWKT('SRID=4674;POINT (-38.418242 -3.516148)'))) / (select extract(epoch from '2026-07-06 17:33:01'::timestamp) - extract(epoch from '2026-07-06 17:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418176 -3.516024)'), GeomFromEWKT('SRID=4674;POINT (-38.418242 -3.516148)'))) / (select extract(epoch from '2026-07-06 17:33:01'::timestamp) - extract(epoch from '2026-07-06 17:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.4183 -3.516279)', '2026-07-06 17:33:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418242 -3.516148)'), GeomFromEWKT('SRID=4674;POINT (-38.4183 -3.516279)'))) / (select extract(epoch from '2026-07-06 17:33:09'::timestamp) - extract(epoch from '2026-07-06 17:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418242 -3.516148)'), GeomFromEWKT('SRID=4674;POINT (-38.4183 -3.516279)'))) / (select extract(epoch from '2026-07-06 17:33:09'::timestamp) - extract(epoch from '2026-07-06 17:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.418322 -3.516382)', '2026-07-06 17:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4183 -3.516279)'), GeomFromEWKT('SRID=4674;POINT (-38.418322 -3.516382)'))) / (select extract(epoch from '2026-07-06 17:33:15'::timestamp) - extract(epoch from '2026-07-06 17:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4183 -3.516279)'), GeomFromEWKT('SRID=4674;POINT (-38.418322 -3.516382)'))) / (select extract(epoch from '2026-07-06 17:33:15'::timestamp) - extract(epoch from '2026-07-06 17:33: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'), 47390, 'SRID=4674;POINT (-38.418365 -3.516511)', '2026-07-06 17:33:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418322 -3.516382)'), GeomFromEWKT('SRID=4674;POINT (-38.418365 -3.516511)'))) / (select extract(epoch from '2026-07-06 17:33:22'::timestamp) - extract(epoch from '2026-07-06 17:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418322 -3.516382)'), GeomFromEWKT('SRID=4674;POINT (-38.418365 -3.516511)'))) / (select extract(epoch from '2026-07-06 17:33:22'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.418413 -3.516609)', '2026-07-06 17:33:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418365 -3.516511)'), GeomFromEWKT('SRID=4674;POINT (-38.418413 -3.516609)'))) / (select extract(epoch from '2026-07-06 17:33:28'::timestamp) - extract(epoch from '2026-07-06 17:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418365 -3.516511)'), GeomFromEWKT('SRID=4674;POINT (-38.418413 -3.516609)'))) / (select extract(epoch from '2026-07-06 17:33:28'::timestamp) - extract(epoch from '2026-07-06 17:33: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'), 47390, 'SRID=4674;POINT (-38.41849 -3.516732)', '2026-07-06 17:33:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418413 -3.516609)'), GeomFromEWKT('SRID=4674;POINT (-38.41849 -3.516732)'))) / (select extract(epoch from '2026-07-06 17:33:35'::timestamp) - extract(epoch from '2026-07-06 17:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418413 -3.516609)'), GeomFromEWKT('SRID=4674;POINT (-38.41849 -3.516732)'))) / (select extract(epoch from '2026-07-06 17:33:35'::timestamp) - extract(epoch from '2026-07-06 17:33: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'), 47390, 'SRID=4674;POINT (-38.418543 -3.516849)', '2026-07-06 17:33:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41849 -3.516732)'), GeomFromEWKT('SRID=4674;POINT (-38.418543 -3.516849)'))) / (select extract(epoch from '2026-07-06 17:33:42'::timestamp) - extract(epoch from '2026-07-06 17:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41849 -3.516732)'), GeomFromEWKT('SRID=4674;POINT (-38.418543 -3.516849)'))) / (select extract(epoch from '2026-07-06 17:33:42'::timestamp) - extract(epoch from '2026-07-06 17:33: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'), 47390, 'SRID=4674;POINT (-38.418573 -3.516938)', '2026-07-06 17:33:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418543 -3.516849)'), GeomFromEWKT('SRID=4674;POINT (-38.418573 -3.516938)'))) / (select extract(epoch from '2026-07-06 17:33:48'::timestamp) - extract(epoch from '2026-07-06 17:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418543 -3.516849)'), GeomFromEWKT('SRID=4674;POINT (-38.418573 -3.516938)'))) / (select extract(epoch from '2026-07-06 17:33:48'::timestamp) - extract(epoch from '2026-07-06 17:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.418616 -3.517051)', '2026-07-06 17:33:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418573 -3.516938)'), GeomFromEWKT('SRID=4674;POINT (-38.418616 -3.517051)'))) / (select extract(epoch from '2026-07-06 17:33:55'::timestamp) - extract(epoch from '2026-07-06 17:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418573 -3.516938)'), GeomFromEWKT('SRID=4674;POINT (-38.418616 -3.517051)'))) / (select extract(epoch from '2026-07-06 17:33:55'::timestamp) - extract(epoch from '2026-07-06 17:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.418648 -3.517165)', '2026-07-06 17:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418616 -3.517051)'), GeomFromEWKT('SRID=4674;POINT (-38.418648 -3.517165)'))) / (select extract(epoch from '2026-07-06 17:34:02'::timestamp) - extract(epoch from '2026-07-06 17:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418616 -3.517051)'), GeomFromEWKT('SRID=4674;POINT (-38.418648 -3.517165)'))) / (select extract(epoch from '2026-07-06 17:34:02'::timestamp) - extract(epoch from '2026-07-06 17:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.418676 -3.517287)', '2026-07-06 17:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418648 -3.517165)'), GeomFromEWKT('SRID=4674;POINT (-38.418676 -3.517287)'))) / (select extract(epoch from '2026-07-06 17:34:09'::timestamp) - extract(epoch from '2026-07-06 17:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418648 -3.517165)'), GeomFromEWKT('SRID=4674;POINT (-38.418676 -3.517287)'))) / (select extract(epoch from '2026-07-06 17:34:09'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.418721 -3.517373)', '2026-07-06 17:34:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418676 -3.517287)'), GeomFromEWKT('SRID=4674;POINT (-38.418721 -3.517373)'))) / (select extract(epoch from '2026-07-06 17:34:14'::timestamp) - extract(epoch from '2026-07-06 17:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418676 -3.517287)'), GeomFromEWKT('SRID=4674;POINT (-38.418721 -3.517373)'))) / (select extract(epoch from '2026-07-06 17:34:14'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.418793 -3.517464)', '2026-07-06 17:34:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418721 -3.517373)'), GeomFromEWKT('SRID=4674;POINT (-38.418793 -3.517464)'))) / (select extract(epoch from '2026-07-06 17:34:20'::timestamp) - extract(epoch from '2026-07-06 17:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418721 -3.517373)'), GeomFromEWKT('SRID=4674;POINT (-38.418793 -3.517464)'))) / (select extract(epoch from '2026-07-06 17:34:20'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.41886 -3.517563)', '2026-07-06 17:34:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418793 -3.517464)'), GeomFromEWKT('SRID=4674;POINT (-38.41886 -3.517563)'))) / (select extract(epoch from '2026-07-06 17:34:26'::timestamp) - extract(epoch from '2026-07-06 17:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418793 -3.517464)'), GeomFromEWKT('SRID=4674;POINT (-38.41886 -3.517563)'))) / (select extract(epoch from '2026-07-06 17:34:26'::timestamp) - extract(epoch from '2026-07-06 17:34: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'), 47390, 'SRID=4674;POINT (-38.418915 -3.517665)', '2026-07-06 17:34:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41886 -3.517563)'), GeomFromEWKT('SRID=4674;POINT (-38.418915 -3.517665)'))) / (select extract(epoch from '2026-07-06 17:34:32'::timestamp) - extract(epoch from '2026-07-06 17:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41886 -3.517563)'), GeomFromEWKT('SRID=4674;POINT (-38.418915 -3.517665)'))) / (select extract(epoch from '2026-07-06 17:34:32'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.418971 -3.517752)', '2026-07-06 17:34:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418915 -3.517665)'), GeomFromEWKT('SRID=4674;POINT (-38.418971 -3.517752)'))) / (select extract(epoch from '2026-07-06 17:34:37'::timestamp) - extract(epoch from '2026-07-06 17:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418915 -3.517665)'), GeomFromEWKT('SRID=4674;POINT (-38.418971 -3.517752)'))) / (select extract(epoch from '2026-07-06 17:34:37'::timestamp) - extract(epoch from '2026-07-06 17:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.418979 -3.517783)', '2026-07-06 17:34:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418971 -3.517752)'), GeomFromEWKT('SRID=4674;POINT (-38.418979 -3.517783)'))) / (select extract(epoch from '2026-07-06 17:34:39'::timestamp) - extract(epoch from '2026-07-06 17:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418971 -3.517752)'), GeomFromEWKT('SRID=4674;POINT (-38.418979 -3.517783)'))) / (select extract(epoch from '2026-07-06 17:34:39'::timestamp) - extract(epoch from '2026-07-06 17:34: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'), 47390, 'SRID=4674;POINT (-38.419005 -3.51783)', '2026-07-06 17:34:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418979 -3.517783)'), GeomFromEWKT('SRID=4674;POINT (-38.419005 -3.51783)'))) / (select extract(epoch from '2026-07-06 17:34:42'::timestamp) - extract(epoch from '2026-07-06 17:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418979 -3.517783)'), GeomFromEWKT('SRID=4674;POINT (-38.419005 -3.51783)'))) / (select extract(epoch from '2026-07-06 17:34:42'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.419055 -3.517946)', '2026-07-06 17:34:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419005 -3.51783)'), GeomFromEWKT('SRID=4674;POINT (-38.419055 -3.517946)'))) / (select extract(epoch from '2026-07-06 17:34:49'::timestamp) - extract(epoch from '2026-07-06 17:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419005 -3.51783)'), GeomFromEWKT('SRID=4674;POINT (-38.419055 -3.517946)'))) / (select extract(epoch from '2026-07-06 17:34:49'::timestamp) - extract(epoch from '2026-07-06 17:34: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'), 47390, 'SRID=4674;POINT (-38.419111 -3.518065)', '2026-07-06 17:34:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419055 -3.517946)'), GeomFromEWKT('SRID=4674;POINT (-38.419111 -3.518065)'))) / (select extract(epoch from '2026-07-06 17:34:56'::timestamp) - extract(epoch from '2026-07-06 17:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419055 -3.517946)'), GeomFromEWKT('SRID=4674;POINT (-38.419111 -3.518065)'))) / (select extract(epoch from '2026-07-06 17:34:56'::timestamp) - extract(epoch from '2026-07-06 17:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419155 -3.518141)', '2026-07-06 17:35:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419111 -3.518065)'), GeomFromEWKT('SRID=4674;POINT (-38.419155 -3.518141)'))) / (select extract(epoch from '2026-07-06 17:35:01'::timestamp) - extract(epoch from '2026-07-06 17:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419111 -3.518065)'), GeomFromEWKT('SRID=4674;POINT (-38.419155 -3.518141)'))) / (select extract(epoch from '2026-07-06 17:35:01'::timestamp) - extract(epoch from '2026-07-06 17:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419163 -3.518154)', '2026-07-06 17:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419155 -3.518141)'), GeomFromEWKT('SRID=4674;POINT (-38.419163 -3.518154)'))) / (select extract(epoch from '2026-07-06 17:35:02'::timestamp) - extract(epoch from '2026-07-06 17:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419155 -3.518141)'), GeomFromEWKT('SRID=4674;POINT (-38.419163 -3.518154)'))) / (select extract(epoch from '2026-07-06 17:35:02'::timestamp) - extract(epoch from '2026-07-06 17:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419194 -3.518219)', '2026-07-06 17:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419163 -3.518154)'), GeomFromEWKT('SRID=4674;POINT (-38.419194 -3.518219)'))) / (select extract(epoch from '2026-07-06 17:35:06'::timestamp) - extract(epoch from '2026-07-06 17:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419163 -3.518154)'), GeomFromEWKT('SRID=4674;POINT (-38.419194 -3.518219)'))) / (select extract(epoch from '2026-07-06 17:35:06'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.419232 -3.518319)', '2026-07-06 17:35:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419194 -3.518219)'), GeomFromEWKT('SRID=4674;POINT (-38.419232 -3.518319)'))) / (select extract(epoch from '2026-07-06 17:35:12'::timestamp) - extract(epoch from '2026-07-06 17:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419194 -3.518219)'), GeomFromEWKT('SRID=4674;POINT (-38.419232 -3.518319)'))) / (select extract(epoch from '2026-07-06 17:35:12'::timestamp) - extract(epoch from '2026-07-06 17:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419243 -3.518332)', '2026-07-06 17:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419232 -3.518319)'), GeomFromEWKT('SRID=4674;POINT (-38.419243 -3.518332)'))) / (select extract(epoch from '2026-07-06 17:35:13'::timestamp) - extract(epoch from '2026-07-06 17:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419232 -3.518319)'), GeomFromEWKT('SRID=4674;POINT (-38.419243 -3.518332)'))) / (select extract(epoch from '2026-07-06 17:35:13'::timestamp) - extract(epoch from '2026-07-06 17:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.41928 -3.518432)', '2026-07-06 17:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419243 -3.518332)'), GeomFromEWKT('SRID=4674;POINT (-38.41928 -3.518432)'))) / (select extract(epoch from '2026-07-06 17:35:18'::timestamp) - extract(epoch from '2026-07-06 17:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419243 -3.518332)'), GeomFromEWKT('SRID=4674;POINT (-38.41928 -3.518432)'))) / (select extract(epoch from '2026-07-06 17:35:18'::timestamp) - extract(epoch from '2026-07-06 17:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419328 -3.518562)', '2026-07-06 17:35:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41928 -3.518432)'), GeomFromEWKT('SRID=4674;POINT (-38.419328 -3.518562)'))) / (select extract(epoch from '2026-07-06 17:35:25'::timestamp) - extract(epoch from '2026-07-06 17:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41928 -3.518432)'), GeomFromEWKT('SRID=4674;POINT (-38.419328 -3.518562)'))) / (select extract(epoch from '2026-07-06 17:35:25'::timestamp) - extract(epoch from '2026-07-06 17:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.41937 -3.518665)', '2026-07-06 17:35:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419328 -3.518562)'), GeomFromEWKT('SRID=4674;POINT (-38.41937 -3.518665)'))) / (select extract(epoch from '2026-07-06 17:35:31'::timestamp) - extract(epoch from '2026-07-06 17:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419328 -3.518562)'), GeomFromEWKT('SRID=4674;POINT (-38.41937 -3.518665)'))) / (select extract(epoch from '2026-07-06 17:35:31'::timestamp) - extract(epoch from '2026-07-06 17:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419425 -3.518779)', '2026-07-06 17:35:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41937 -3.518665)'), GeomFromEWKT('SRID=4674;POINT (-38.419425 -3.518779)'))) / (select extract(epoch from '2026-07-06 17:35:38'::timestamp) - extract(epoch from '2026-07-06 17:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41937 -3.518665)'), GeomFromEWKT('SRID=4674;POINT (-38.419425 -3.518779)'))) / (select extract(epoch from '2026-07-06 17:35:38'::timestamp) - extract(epoch from '2026-07-06 17:35:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419475 -3.518875)', '2026-07-06 17:35:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419425 -3.518779)'), GeomFromEWKT('SRID=4674;POINT (-38.419475 -3.518875)'))) / (select extract(epoch from '2026-07-06 17:35:43'::timestamp) - extract(epoch from '2026-07-06 17:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419425 -3.518779)'), GeomFromEWKT('SRID=4674;POINT (-38.419475 -3.518875)'))) / (select extract(epoch from '2026-07-06 17:35:43'::timestamp) - extract(epoch from '2026-07-06 17:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419516 -3.518989)', '2026-07-06 17:35:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419475 -3.518875)'), GeomFromEWKT('SRID=4674;POINT (-38.419516 -3.518989)'))) / (select extract(epoch from '2026-07-06 17:35:49'::timestamp) - extract(epoch from '2026-07-06 17:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419475 -3.518875)'), GeomFromEWKT('SRID=4674;POINT (-38.419516 -3.518989)'))) / (select extract(epoch from '2026-07-06 17:35:49'::timestamp) - extract(epoch from '2026-07-06 17:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419563 -3.519102)', '2026-07-06 17:35:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419516 -3.518989)'), GeomFromEWKT('SRID=4674;POINT (-38.419563 -3.519102)'))) / (select extract(epoch from '2026-07-06 17:35:55'::timestamp) - extract(epoch from '2026-07-06 17:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419516 -3.518989)'), GeomFromEWKT('SRID=4674;POINT (-38.419563 -3.519102)'))) / (select extract(epoch from '2026-07-06 17:35:55'::timestamp) - extract(epoch from '2026-07-06 17:35: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'), 47390, 'SRID=4674;POINT (-38.419604 -3.519183)', '2026-07-06 17:35:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419563 -3.519102)'), GeomFromEWKT('SRID=4674;POINT (-38.419604 -3.519183)'))) / (select extract(epoch from '2026-07-06 17:35:59'::timestamp) - extract(epoch from '2026-07-06 17:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419563 -3.519102)'), GeomFromEWKT('SRID=4674;POINT (-38.419604 -3.519183)'))) / (select extract(epoch from '2026-07-06 17:35:59'::timestamp) - extract(epoch from '2026-07-06 17:35:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419645 -3.519266)', '2026-07-06 17:36:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419604 -3.519183)'), GeomFromEWKT('SRID=4674;POINT (-38.419645 -3.519266)'))) / (select extract(epoch from '2026-07-06 17:36:04'::timestamp) - extract(epoch from '2026-07-06 17:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419604 -3.519183)'), GeomFromEWKT('SRID=4674;POINT (-38.419645 -3.519266)'))) / (select extract(epoch from '2026-07-06 17:36:04'::timestamp) - extract(epoch from '2026-07-06 17:35: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'), 47390, 'SRID=4674;POINT (-38.419716 -3.519405)', '2026-07-06 17:36:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419645 -3.519266)'), GeomFromEWKT('SRID=4674;POINT (-38.419716 -3.519405)'))) / (select extract(epoch from '2026-07-06 17:36:12'::timestamp) - extract(epoch from '2026-07-06 17:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419645 -3.519266)'), GeomFromEWKT('SRID=4674;POINT (-38.419716 -3.519405)'))) / (select extract(epoch from '2026-07-06 17:36:12'::timestamp) - extract(epoch from '2026-07-06 17:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419763 -3.519487)', '2026-07-06 17:36:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419716 -3.519405)'), GeomFromEWKT('SRID=4674;POINT (-38.419763 -3.519487)'))) / (select extract(epoch from '2026-07-06 17:36:17'::timestamp) - extract(epoch from '2026-07-06 17:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419716 -3.519405)'), GeomFromEWKT('SRID=4674;POINT (-38.419763 -3.519487)'))) / (select extract(epoch from '2026-07-06 17:36:17'::timestamp) - extract(epoch from '2026-07-06 17:36: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'), 47390, 'SRID=4674;POINT (-38.419828 -3.519607)', '2026-07-06 17:36:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419763 -3.519487)'), GeomFromEWKT('SRID=4674;POINT (-38.419828 -3.519607)'))) / (select extract(epoch from '2026-07-06 17:36:24'::timestamp) - extract(epoch from '2026-07-06 17:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419763 -3.519487)'), GeomFromEWKT('SRID=4674;POINT (-38.419828 -3.519607)'))) / (select extract(epoch from '2026-07-06 17:36:24'::timestamp) - extract(epoch from '2026-07-06 17:36:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419839 -3.519626)', '2026-07-06 17:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419828 -3.519607)'), GeomFromEWKT('SRID=4674;POINT (-38.419839 -3.519626)'))) / (select extract(epoch from '2026-07-06 17:36:25'::timestamp) - extract(epoch from '2026-07-06 17:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419828 -3.519607)'), GeomFromEWKT('SRID=4674;POINT (-38.419839 -3.519626)'))) / (select extract(epoch from '2026-07-06 17:36:25'::timestamp) - extract(epoch from '2026-07-06 17:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.419867 -3.519683)', '2026-07-06 17:36:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419839 -3.519626)'), GeomFromEWKT('SRID=4674;POINT (-38.419867 -3.519683)'))) / (select extract(epoch from '2026-07-06 17:36:28'::timestamp) - extract(epoch from '2026-07-06 17:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419839 -3.519626)'), GeomFromEWKT('SRID=4674;POINT (-38.419867 -3.519683)'))) / (select extract(epoch from '2026-07-06 17:36:28'::timestamp) - extract(epoch from '2026-07-06 17:36: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'), 47390, 'SRID=4674;POINT (-38.41991 -3.519794)', '2026-07-06 17:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419867 -3.519683)'), GeomFromEWKT('SRID=4674;POINT (-38.41991 -3.519794)'))) / (select extract(epoch from '2026-07-06 17:36:34'::timestamp) - extract(epoch from '2026-07-06 17:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419867 -3.519683)'), GeomFromEWKT('SRID=4674;POINT (-38.41991 -3.519794)'))) / (select extract(epoch from '2026-07-06 17:36:34'::timestamp) - extract(epoch from '2026-07-06 17:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.420011 -3.519962)', '2026-07-06 17:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41991 -3.519794)'), GeomFromEWKT('SRID=4674;POINT (-38.420011 -3.519962)'))) / (select extract(epoch from '2026-07-06 17:36:44'::timestamp) - extract(epoch from '2026-07-06 17:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41991 -3.519794)'), GeomFromEWKT('SRID=4674;POINT (-38.420011 -3.519962)'))) / (select extract(epoch from '2026-07-06 17:36:44'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.420055 -3.520067)', '2026-07-06 17:36:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420011 -3.519962)'), GeomFromEWKT('SRID=4674;POINT (-38.420055 -3.520067)'))) / (select extract(epoch from '2026-07-06 17:36:50'::timestamp) - extract(epoch from '2026-07-06 17:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420011 -3.519962)'), GeomFromEWKT('SRID=4674;POINT (-38.420055 -3.520067)'))) / (select extract(epoch from '2026-07-06 17:36:50'::timestamp) - extract(epoch from '2026-07-06 17:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.420094 -3.520211)', '2026-07-06 17:36:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420055 -3.520067)'), GeomFromEWKT('SRID=4674;POINT (-38.420094 -3.520211)'))) / (select extract(epoch from '2026-07-06 17:36:58'::timestamp) - extract(epoch from '2026-07-06 17:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420055 -3.520067)'), GeomFromEWKT('SRID=4674;POINT (-38.420094 -3.520211)'))) / (select extract(epoch from '2026-07-06 17:36:58'::timestamp) - extract(epoch from '2026-07-06 17:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.420105 -3.520361)', '2026-07-06 17:37:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420094 -3.520211)'), GeomFromEWKT('SRID=4674;POINT (-38.420105 -3.520361)'))) / (select extract(epoch from '2026-07-06 17:37:06'::timestamp) - extract(epoch from '2026-07-06 17:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420094 -3.520211)'), GeomFromEWKT('SRID=4674;POINT (-38.420105 -3.520361)'))) / (select extract(epoch from '2026-07-06 17:37:06'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.420118 -3.520511)', '2026-07-06 17:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420105 -3.520361)'), GeomFromEWKT('SRID=4674;POINT (-38.420118 -3.520511)'))) / (select extract(epoch from '2026-07-06 17:37:13'::timestamp) - extract(epoch from '2026-07-06 17:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420105 -3.520361)'), GeomFromEWKT('SRID=4674;POINT (-38.420118 -3.520511)'))) / (select extract(epoch from '2026-07-06 17:37:13'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.420155 -3.520688)', '2026-07-06 17:37:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420118 -3.520511)'), GeomFromEWKT('SRID=4674;POINT (-38.420155 -3.520688)'))) / (select extract(epoch from '2026-07-06 17:37:21'::timestamp) - extract(epoch from '2026-07-06 17:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420118 -3.520511)'), GeomFromEWKT('SRID=4674;POINT (-38.420155 -3.520688)'))) / (select extract(epoch from '2026-07-06 17:37:21'::timestamp) - extract(epoch from '2026-07-06 17:37:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.42018 -3.520812)', '2026-07-06 17:37:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420155 -3.520688)'), GeomFromEWKT('SRID=4674;POINT (-38.42018 -3.520812)'))) / (select extract(epoch from '2026-07-06 17:37:27'::timestamp) - extract(epoch from '2026-07-06 17:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420155 -3.520688)'), GeomFromEWKT('SRID=4674;POINT (-38.42018 -3.520812)'))) / (select extract(epoch from '2026-07-06 17:37:27'::timestamp) - extract(epoch from '2026-07-06 17:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.420239 -3.520966)', '2026-07-06 17:37:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42018 -3.520812)'), GeomFromEWKT('SRID=4674;POINT (-38.420239 -3.520966)'))) / (select extract(epoch from '2026-07-06 17:37:34'::timestamp) - extract(epoch from '2026-07-06 17:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42018 -3.520812)'), GeomFromEWKT('SRID=4674;POINT (-38.420239 -3.520966)'))) / (select extract(epoch from '2026-07-06 17:37:34'::timestamp) - extract(epoch from '2026-07-06 17:37:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.420277 -3.521092)', '2026-07-06 17:37:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420239 -3.520966)'), GeomFromEWKT('SRID=4674;POINT (-38.420277 -3.521092)'))) / (select extract(epoch from '2026-07-06 17:37:40'::timestamp) - extract(epoch from '2026-07-06 17:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420239 -3.520966)'), GeomFromEWKT('SRID=4674;POINT (-38.420277 -3.521092)'))) / (select extract(epoch from '2026-07-06 17:37:40'::timestamp) - extract(epoch from '2026-07-06 17:37: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'), 47390, 'SRID=4674;POINT (-38.420304 -3.521195)', '2026-07-06 17:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420277 -3.521092)'), GeomFromEWKT('SRID=4674;POINT (-38.420304 -3.521195)'))) / (select extract(epoch from '2026-07-06 17:37:45'::timestamp) - extract(epoch from '2026-07-06 17:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420277 -3.521092)'), GeomFromEWKT('SRID=4674;POINT (-38.420304 -3.521195)'))) / (select extract(epoch from '2026-07-06 17:37:45'::timestamp) - extract(epoch from '2026-07-06 17:37:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.420358 -3.521329)', '2026-07-06 17:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420304 -3.521195)'), GeomFromEWKT('SRID=4674;POINT (-38.420358 -3.521329)'))) / (select extract(epoch from '2026-07-06 17:37:52'::timestamp) - extract(epoch from '2026-07-06 17:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420304 -3.521195)'), GeomFromEWKT('SRID=4674;POINT (-38.420358 -3.521329)'))) / (select extract(epoch from '2026-07-06 17:37:52'::timestamp) - extract(epoch from '2026-07-06 17:37: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'), 47390, 'SRID=4674;POINT (-38.420424 -3.521442)', '2026-07-06 17:37:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420358 -3.521329)'), GeomFromEWKT('SRID=4674;POINT (-38.420424 -3.521442)'))) / (select extract(epoch from '2026-07-06 17:37:58'::timestamp) - extract(epoch from '2026-07-06 17:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420358 -3.521329)'), GeomFromEWKT('SRID=4674;POINT (-38.420424 -3.521442)'))) / (select extract(epoch from '2026-07-06 17:37:58'::timestamp) - extract(epoch from '2026-07-06 17:37: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'), 47390, 'SRID=4674;POINT (-38.420488 -3.521575)', '2026-07-06 17:38:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420424 -3.521442)'), GeomFromEWKT('SRID=4674;POINT (-38.420488 -3.521575)'))) / (select extract(epoch from '2026-07-06 17:38:05'::timestamp) - extract(epoch from '2026-07-06 17:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420424 -3.521442)'), GeomFromEWKT('SRID=4674;POINT (-38.420488 -3.521575)'))) / (select extract(epoch from '2026-07-06 17:38:05'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.420552 -3.521707)', '2026-07-06 17:38:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420488 -3.521575)'), GeomFromEWKT('SRID=4674;POINT (-38.420552 -3.521707)'))) / (select extract(epoch from '2026-07-06 17:38:12'::timestamp) - extract(epoch from '2026-07-06 17:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420488 -3.521575)'), GeomFromEWKT('SRID=4674;POINT (-38.420552 -3.521707)'))) / (select extract(epoch from '2026-07-06 17:38:12'::timestamp) - extract(epoch from '2026-07-06 17:38:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.420598 -3.521837)', '2026-07-06 17:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420552 -3.521707)'), GeomFromEWKT('SRID=4674;POINT (-38.420598 -3.521837)'))) / (select extract(epoch from '2026-07-06 17:38:19'::timestamp) - extract(epoch from '2026-07-06 17:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420552 -3.521707)'), GeomFromEWKT('SRID=4674;POINT (-38.420598 -3.521837)'))) / (select extract(epoch from '2026-07-06 17:38:19'::timestamp) - extract(epoch from '2026-07-06 17:38: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'), 47390, 'SRID=4674;POINT (-38.420612 -3.521952)', '2026-07-06 17:38:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420598 -3.521837)'), GeomFromEWKT('SRID=4674;POINT (-38.420612 -3.521952)'))) / (select extract(epoch from '2026-07-06 17:38:25'::timestamp) - extract(epoch from '2026-07-06 17:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420598 -3.521837)'), GeomFromEWKT('SRID=4674;POINT (-38.420612 -3.521952)'))) / (select extract(epoch from '2026-07-06 17:38:25'::timestamp) - extract(epoch from '2026-07-06 17:38: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'), 47390, 'SRID=4674;POINT (-38.420633 -3.522104)', '2026-07-06 17:38:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420612 -3.521952)'), GeomFromEWKT('SRID=4674;POINT (-38.420633 -3.522104)'))) / (select extract(epoch from '2026-07-06 17:38:32'::timestamp) - extract(epoch from '2026-07-06 17:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420612 -3.521952)'), GeomFromEWKT('SRID=4674;POINT (-38.420633 -3.522104)'))) / (select extract(epoch from '2026-07-06 17:38:32'::timestamp) - extract(epoch from '2026-07-06 17:38:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.420652 -3.52221)', '2026-07-06 17:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420633 -3.522104)'), GeomFromEWKT('SRID=4674;POINT (-38.420652 -3.52221)'))) / (select extract(epoch from '2026-07-06 17:38:37'::timestamp) - extract(epoch from '2026-07-06 17:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420633 -3.522104)'), GeomFromEWKT('SRID=4674;POINT (-38.420652 -3.52221)'))) / (select extract(epoch from '2026-07-06 17:38:37'::timestamp) - extract(epoch from '2026-07-06 17:38:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.420678 -3.522345)', '2026-07-06 17:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420652 -3.52221)'), GeomFromEWKT('SRID=4674;POINT (-38.420678 -3.522345)'))) / (select extract(epoch from '2026-07-06 17:38:44'::timestamp) - extract(epoch from '2026-07-06 17:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420652 -3.52221)'), GeomFromEWKT('SRID=4674;POINT (-38.420678 -3.522345)'))) / (select extract(epoch from '2026-07-06 17:38:44'::timestamp) - extract(epoch from '2026-07-06 17:38: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'), 47390, 'SRID=4674;POINT (-38.420733 -3.522484)', '2026-07-06 17:38:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420678 -3.522345)'), GeomFromEWKT('SRID=4674;POINT (-38.420733 -3.522484)'))) / (select extract(epoch from '2026-07-06 17:38:51'::timestamp) - extract(epoch from '2026-07-06 17:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420678 -3.522345)'), GeomFromEWKT('SRID=4674;POINT (-38.420733 -3.522484)'))) / (select extract(epoch from '2026-07-06 17:38:51'::timestamp) - extract(epoch from '2026-07-06 17:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.420788 -3.522602)', '2026-07-06 17:38:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420733 -3.522484)'), GeomFromEWKT('SRID=4674;POINT (-38.420788 -3.522602)'))) / (select extract(epoch from '2026-07-06 17:38:57'::timestamp) - extract(epoch from '2026-07-06 17:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420733 -3.522484)'), GeomFromEWKT('SRID=4674;POINT (-38.420788 -3.522602)'))) / (select extract(epoch from '2026-07-06 17:38:57'::timestamp) - extract(epoch from '2026-07-06 17:38: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'), 47390, 'SRID=4674;POINT (-38.42085 -3.522736)', '2026-07-06 17:39:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420788 -3.522602)'), GeomFromEWKT('SRID=4674;POINT (-38.42085 -3.522736)'))) / (select extract(epoch from '2026-07-06 17:39:04'::timestamp) - extract(epoch from '2026-07-06 17:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420788 -3.522602)'), GeomFromEWKT('SRID=4674;POINT (-38.42085 -3.522736)'))) / (select extract(epoch from '2026-07-06 17:39:04'::timestamp) - extract(epoch from '2026-07-06 17:38: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'), 47390, 'SRID=4674;POINT (-38.420915 -3.522841)', '2026-07-06 17:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42085 -3.522736)'), GeomFromEWKT('SRID=4674;POINT (-38.420915 -3.522841)'))) / (select extract(epoch from '2026-07-06 17:39:10'::timestamp) - extract(epoch from '2026-07-06 17:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42085 -3.522736)'), GeomFromEWKT('SRID=4674;POINT (-38.420915 -3.522841)'))) / (select extract(epoch from '2026-07-06 17:39:10'::timestamp) - extract(epoch from '2026-07-06 17:39: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'), 47390, 'SRID=4674;POINT (-38.420965 -3.522934)', '2026-07-06 17:39:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420915 -3.522841)'), GeomFromEWKT('SRID=4674;POINT (-38.420965 -3.522934)'))) / (select extract(epoch from '2026-07-06 17:39:15'::timestamp) - extract(epoch from '2026-07-06 17:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420915 -3.522841)'), GeomFromEWKT('SRID=4674;POINT (-38.420965 -3.522934)'))) / (select extract(epoch from '2026-07-06 17:39:15'::timestamp) - extract(epoch from '2026-07-06 17:39: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'), 47390, 'SRID=4674;POINT (-38.421014 -3.523036)', '2026-07-06 17:39:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420965 -3.522934)'), GeomFromEWKT('SRID=4674;POINT (-38.421014 -3.523036)'))) / (select extract(epoch from '2026-07-06 17:39:20'::timestamp) - extract(epoch from '2026-07-06 17:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420965 -3.522934)'), GeomFromEWKT('SRID=4674;POINT (-38.421014 -3.523036)'))) / (select extract(epoch from '2026-07-06 17:39:20'::timestamp) - extract(epoch from '2026-07-06 17:39: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'), 47390, 'SRID=4674;POINT (-38.421077 -3.523182)', '2026-07-06 17:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421014 -3.523036)'), GeomFromEWKT('SRID=4674;POINT (-38.421077 -3.523182)'))) / (select extract(epoch from '2026-07-06 17:39:27'::timestamp) - extract(epoch from '2026-07-06 17:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421014 -3.523036)'), GeomFromEWKT('SRID=4674;POINT (-38.421077 -3.523182)'))) / (select extract(epoch from '2026-07-06 17:39:27'::timestamp) - extract(epoch from '2026-07-06 17:39:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.421116 -3.523282)', '2026-07-06 17:39:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421077 -3.523182)'), GeomFromEWKT('SRID=4674;POINT (-38.421116 -3.523282)'))) / (select extract(epoch from '2026-07-06 17:39:33'::timestamp) - extract(epoch from '2026-07-06 17:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421077 -3.523182)'), GeomFromEWKT('SRID=4674;POINT (-38.421116 -3.523282)'))) / (select extract(epoch from '2026-07-06 17:39:33'::timestamp) - extract(epoch from '2026-07-06 17:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.421178 -3.523393)', '2026-07-06 17:39:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421116 -3.523282)'), GeomFromEWKT('SRID=4674;POINT (-38.421178 -3.523393)'))) / (select extract(epoch from '2026-07-06 17:39:39'::timestamp) - extract(epoch from '2026-07-06 17:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421116 -3.523282)'), GeomFromEWKT('SRID=4674;POINT (-38.421178 -3.523393)'))) / (select extract(epoch from '2026-07-06 17:39:39'::timestamp) - extract(epoch from '2026-07-06 17:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.421236 -3.523495)', '2026-07-06 17:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421178 -3.523393)'), GeomFromEWKT('SRID=4674;POINT (-38.421236 -3.523495)'))) / (select extract(epoch from '2026-07-06 17:39:45'::timestamp) - extract(epoch from '2026-07-06 17:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421178 -3.523393)'), GeomFromEWKT('SRID=4674;POINT (-38.421236 -3.523495)'))) / (select extract(epoch from '2026-07-06 17:39:45'::timestamp) - extract(epoch from '2026-07-06 17:39: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'), 47390, 'SRID=4674;POINT (-38.421282 -3.523583)', '2026-07-06 17:39:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421236 -3.523495)'), GeomFromEWKT('SRID=4674;POINT (-38.421282 -3.523583)'))) / (select extract(epoch from '2026-07-06 17:39:50'::timestamp) - extract(epoch from '2026-07-06 17:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421236 -3.523495)'), GeomFromEWKT('SRID=4674;POINT (-38.421282 -3.523583)'))) / (select extract(epoch from '2026-07-06 17:39:50'::timestamp) - extract(epoch from '2026-07-06 17:39: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'), 47390, 'SRID=4674;POINT (-38.421346 -3.523691)', '2026-07-06 17:39:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421282 -3.523583)'), GeomFromEWKT('SRID=4674;POINT (-38.421346 -3.523691)'))) / (select extract(epoch from '2026-07-06 17:39:56'::timestamp) - extract(epoch from '2026-07-06 17:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421282 -3.523583)'), GeomFromEWKT('SRID=4674;POINT (-38.421346 -3.523691)'))) / (select extract(epoch from '2026-07-06 17:39:56'::timestamp) - extract(epoch from '2026-07-06 17:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.421395 -3.523798)', '2026-07-06 17:40:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421346 -3.523691)'), GeomFromEWKT('SRID=4674;POINT (-38.421395 -3.523798)'))) / (select extract(epoch from '2026-07-06 17:40:02'::timestamp) - extract(epoch from '2026-07-06 17:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421346 -3.523691)'), GeomFromEWKT('SRID=4674;POINT (-38.421395 -3.523798)'))) / (select extract(epoch from '2026-07-06 17:40:02'::timestamp) - extract(epoch from '2026-07-06 17:39: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'), 47390, 'SRID=4674;POINT (-38.421462 -3.523936)', '2026-07-06 17:40:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421395 -3.523798)'), GeomFromEWKT('SRID=4674;POINT (-38.421462 -3.523936)'))) / (select extract(epoch from '2026-07-06 17:40:09'::timestamp) - extract(epoch from '2026-07-06 17:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421395 -3.523798)'), GeomFromEWKT('SRID=4674;POINT (-38.421462 -3.523936)'))) / (select extract(epoch from '2026-07-06 17:40:09'::timestamp) - extract(epoch from '2026-07-06 17:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.421479 -3.523976)', '2026-07-06 17:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421462 -3.523936)'), GeomFromEWKT('SRID=4674;POINT (-38.421479 -3.523976)'))) / (select extract(epoch from '2026-07-06 17:40:11'::timestamp) - extract(epoch from '2026-07-06 17:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421462 -3.523936)'), GeomFromEWKT('SRID=4674;POINT (-38.421479 -3.523976)'))) / (select extract(epoch from '2026-07-06 17:40:11'::timestamp) - extract(epoch from '2026-07-06 17:40: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'), 47390, 'SRID=4674;POINT (-38.421497 -3.524033)', '2026-07-06 17:40:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421479 -3.523976)'), GeomFromEWKT('SRID=4674;POINT (-38.421497 -3.524033)'))) / (select extract(epoch from '2026-07-06 17:40:14'::timestamp) - extract(epoch from '2026-07-06 17:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421479 -3.523976)'), GeomFromEWKT('SRID=4674;POINT (-38.421497 -3.524033)'))) / (select extract(epoch from '2026-07-06 17:40:14'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.421538 -3.524145)', '2026-07-06 17:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421497 -3.524033)'), GeomFromEWKT('SRID=4674;POINT (-38.421538 -3.524145)'))) / (select extract(epoch from '2026-07-06 17:40:20'::timestamp) - extract(epoch from '2026-07-06 17:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421497 -3.524033)'), GeomFromEWKT('SRID=4674;POINT (-38.421538 -3.524145)'))) / (select extract(epoch from '2026-07-06 17:40:20'::timestamp) - extract(epoch from '2026-07-06 17:40: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'), 47390, 'SRID=4674;POINT (-38.421596 -3.524268)', '2026-07-06 17:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421538 -3.524145)'), GeomFromEWKT('SRID=4674;POINT (-38.421596 -3.524268)'))) / (select extract(epoch from '2026-07-06 17:40:27'::timestamp) - extract(epoch from '2026-07-06 17:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421538 -3.524145)'), GeomFromEWKT('SRID=4674;POINT (-38.421596 -3.524268)'))) / (select extract(epoch from '2026-07-06 17:40:27'::timestamp) - extract(epoch from '2026-07-06 17:40: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'), 47390, 'SRID=4674;POINT (-38.421656 -3.524377)', '2026-07-06 17:40:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421596 -3.524268)'), GeomFromEWKT('SRID=4674;POINT (-38.421656 -3.524377)'))) / (select extract(epoch from '2026-07-06 17:40:33'::timestamp) - extract(epoch from '2026-07-06 17:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421596 -3.524268)'), GeomFromEWKT('SRID=4674;POINT (-38.421656 -3.524377)'))) / (select extract(epoch from '2026-07-06 17:40:33'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.421738 -3.524535)', '2026-07-06 17:40:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421656 -3.524377)'), GeomFromEWKT('SRID=4674;POINT (-38.421738 -3.524535)'))) / (select extract(epoch from '2026-07-06 17:40:41'::timestamp) - extract(epoch from '2026-07-06 17:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421656 -3.524377)'), GeomFromEWKT('SRID=4674;POINT (-38.421738 -3.524535)'))) / (select extract(epoch from '2026-07-06 17:40:41'::timestamp) - extract(epoch from '2026-07-06 17:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.421787 -3.524626)', '2026-07-06 17:40:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421738 -3.524535)'), GeomFromEWKT('SRID=4674;POINT (-38.421787 -3.524626)'))) / (select extract(epoch from '2026-07-06 17:40:46'::timestamp) - extract(epoch from '2026-07-06 17:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421738 -3.524535)'), GeomFromEWKT('SRID=4674;POINT (-38.421787 -3.524626)'))) / (select extract(epoch from '2026-07-06 17:40:46'::timestamp) - extract(epoch from '2026-07-06 17:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.421853 -3.524729)', '2026-07-06 17:40:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421787 -3.524626)'), GeomFromEWKT('SRID=4674;POINT (-38.421853 -3.524729)'))) / (select extract(epoch from '2026-07-06 17:40:52'::timestamp) - extract(epoch from '2026-07-06 17:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421787 -3.524626)'), GeomFromEWKT('SRID=4674;POINT (-38.421853 -3.524729)'))) / (select extract(epoch from '2026-07-06 17:40:52'::timestamp) - extract(epoch from '2026-07-06 17:40: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'), 47390, 'SRID=4674;POINT (-38.421927 -3.524868)', '2026-07-06 17:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421853 -3.524729)'), GeomFromEWKT('SRID=4674;POINT (-38.421927 -3.524868)'))) / (select extract(epoch from '2026-07-06 17:41:00'::timestamp) - extract(epoch from '2026-07-06 17:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421853 -3.524729)'), GeomFromEWKT('SRID=4674;POINT (-38.421927 -3.524868)'))) / (select extract(epoch from '2026-07-06 17:41:00'::timestamp) - extract(epoch from '2026-07-06 17:40: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'), 47390, 'SRID=4674;POINT (-38.421981 -3.525002)', '2026-07-06 17:41:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421927 -3.524868)'), GeomFromEWKT('SRID=4674;POINT (-38.421981 -3.525002)'))) / (select extract(epoch from '2026-07-06 17:41:07'::timestamp) - extract(epoch from '2026-07-06 17:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421927 -3.524868)'), GeomFromEWKT('SRID=4674;POINT (-38.421981 -3.525002)'))) / (select extract(epoch from '2026-07-06 17:41:07'::timestamp) - extract(epoch from '2026-07-06 17:41: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'), 47390, 'SRID=4674;POINT (-38.422035 -3.525132)', '2026-07-06 17:41:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421981 -3.525002)'), GeomFromEWKT('SRID=4674;POINT (-38.422035 -3.525132)'))) / (select extract(epoch from '2026-07-06 17:41:13'::timestamp) - extract(epoch from '2026-07-06 17:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421981 -3.525002)'), GeomFromEWKT('SRID=4674;POINT (-38.422035 -3.525132)'))) / (select extract(epoch from '2026-07-06 17:41:13'::timestamp) - extract(epoch from '2026-07-06 17:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.422097 -3.525299)', '2026-07-06 17:41:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422035 -3.525132)'), GeomFromEWKT('SRID=4674;POINT (-38.422097 -3.525299)'))) / (select extract(epoch from '2026-07-06 17:41:21'::timestamp) - extract(epoch from '2026-07-06 17:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422035 -3.525132)'), GeomFromEWKT('SRID=4674;POINT (-38.422097 -3.525299)'))) / (select extract(epoch from '2026-07-06 17:41:21'::timestamp) - extract(epoch from '2026-07-06 17:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.422136 -3.525408)', '2026-07-06 17:41:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422097 -3.525299)'), GeomFromEWKT('SRID=4674;POINT (-38.422136 -3.525408)'))) / (select extract(epoch from '2026-07-06 17:41:26'::timestamp) - extract(epoch from '2026-07-06 17:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422097 -3.525299)'), GeomFromEWKT('SRID=4674;POINT (-38.422136 -3.525408)'))) / (select extract(epoch from '2026-07-06 17:41:26'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.422185 -3.525543)', '2026-07-06 17:41:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422136 -3.525408)'), GeomFromEWKT('SRID=4674;POINT (-38.422185 -3.525543)'))) / (select extract(epoch from '2026-07-06 17:41:33'::timestamp) - extract(epoch from '2026-07-06 17:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422136 -3.525408)'), GeomFromEWKT('SRID=4674;POINT (-38.422185 -3.525543)'))) / (select extract(epoch from '2026-07-06 17:41:33'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.422237 -3.52565)', '2026-07-06 17:41:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422185 -3.525543)'), GeomFromEWKT('SRID=4674;POINT (-38.422237 -3.52565)'))) / (select extract(epoch from '2026-07-06 17:41:38'::timestamp) - extract(epoch from '2026-07-06 17:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422185 -3.525543)'), GeomFromEWKT('SRID=4674;POINT (-38.422237 -3.52565)'))) / (select extract(epoch from '2026-07-06 17:41:38'::timestamp) - extract(epoch from '2026-07-06 17:41:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.422312 -3.52582)', '2026-07-06 17:41:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422237 -3.52565)'), GeomFromEWKT('SRID=4674;POINT (-38.422312 -3.52582)'))) / (select extract(epoch from '2026-07-06 17:41:46'::timestamp) - extract(epoch from '2026-07-06 17:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422237 -3.52565)'), GeomFromEWKT('SRID=4674;POINT (-38.422312 -3.52582)'))) / (select extract(epoch from '2026-07-06 17:41:46'::timestamp) - extract(epoch from '2026-07-06 17:41: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'), 47390, 'SRID=4674;POINT (-38.422368 -3.525954)', '2026-07-06 17:41:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422312 -3.52582)'), GeomFromEWKT('SRID=4674;POINT (-38.422368 -3.525954)'))) / (select extract(epoch from '2026-07-06 17:41:52'::timestamp) - extract(epoch from '2026-07-06 17:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422312 -3.52582)'), GeomFromEWKT('SRID=4674;POINT (-38.422368 -3.525954)'))) / (select extract(epoch from '2026-07-06 17:41:52'::timestamp) - extract(epoch from '2026-07-06 17:41: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'), 47390, 'SRID=4674;POINT (-38.42243 -3.526087)', '2026-07-06 17:41:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422368 -3.525954)'), GeomFromEWKT('SRID=4674;POINT (-38.42243 -3.526087)'))) / (select extract(epoch from '2026-07-06 17:41:58'::timestamp) - extract(epoch from '2026-07-06 17:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422368 -3.525954)'), GeomFromEWKT('SRID=4674;POINT (-38.42243 -3.526087)'))) / (select extract(epoch from '2026-07-06 17:41:58'::timestamp) - extract(epoch from '2026-07-06 17:41: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'), 47390, 'SRID=4674;POINT (-38.422515 -3.52624)', '2026-07-06 17:42:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42243 -3.526087)'), GeomFromEWKT('SRID=4674;POINT (-38.422515 -3.52624)'))) / (select extract(epoch from '2026-07-06 17:42:06'::timestamp) - extract(epoch from '2026-07-06 17:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42243 -3.526087)'), GeomFromEWKT('SRID=4674;POINT (-38.422515 -3.52624)'))) / (select extract(epoch from '2026-07-06 17:42:06'::timestamp) - extract(epoch from '2026-07-06 17:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.422581 -3.526373)', '2026-07-06 17:42:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422515 -3.52624)'), GeomFromEWKT('SRID=4674;POINT (-38.422581 -3.526373)'))) / (select extract(epoch from '2026-07-06 17:42:13'::timestamp) - extract(epoch from '2026-07-06 17:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422515 -3.52624)'), GeomFromEWKT('SRID=4674;POINT (-38.422581 -3.526373)'))) / (select extract(epoch from '2026-07-06 17:42:13'::timestamp) - extract(epoch from '2026-07-06 17:42:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.422644 -3.526491)', '2026-07-06 17:42:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422581 -3.526373)'), GeomFromEWKT('SRID=4674;POINT (-38.422644 -3.526491)'))) / (select extract(epoch from '2026-07-06 17:42:19'::timestamp) - extract(epoch from '2026-07-06 17:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422581 -3.526373)'), GeomFromEWKT('SRID=4674;POINT (-38.422644 -3.526491)'))) / (select extract(epoch from '2026-07-06 17:42:19'::timestamp) - extract(epoch from '2026-07-06 17:42:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.422713 -3.526613)', '2026-07-06 17:42:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422644 -3.526491)'), GeomFromEWKT('SRID=4674;POINT (-38.422713 -3.526613)'))) / (select extract(epoch from '2026-07-06 17:42:25'::timestamp) - extract(epoch from '2026-07-06 17:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422644 -3.526491)'), GeomFromEWKT('SRID=4674;POINT (-38.422713 -3.526613)'))) / (select extract(epoch from '2026-07-06 17:42:25'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.422799 -3.526765)', '2026-07-06 17:42:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422713 -3.526613)'), GeomFromEWKT('SRID=4674;POINT (-38.422799 -3.526765)'))) / (select extract(epoch from '2026-07-06 17:42:33'::timestamp) - extract(epoch from '2026-07-06 17:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422713 -3.526613)'), GeomFromEWKT('SRID=4674;POINT (-38.422799 -3.526765)'))) / (select extract(epoch from '2026-07-06 17:42:33'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.422884 -3.526899)', '2026-07-06 17:42:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422799 -3.526765)'), GeomFromEWKT('SRID=4674;POINT (-38.422884 -3.526899)'))) / (select extract(epoch from '2026-07-06 17:42:40'::timestamp) - extract(epoch from '2026-07-06 17:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422799 -3.526765)'), GeomFromEWKT('SRID=4674;POINT (-38.422884 -3.526899)'))) / (select extract(epoch from '2026-07-06 17:42:40'::timestamp) - extract(epoch from '2026-07-06 17:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.422946 -3.527012)', '2026-07-06 17:42:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422884 -3.526899)'), GeomFromEWKT('SRID=4674;POINT (-38.422946 -3.527012)'))) / (select extract(epoch from '2026-07-06 17:42:46'::timestamp) - extract(epoch from '2026-07-06 17:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422884 -3.526899)'), GeomFromEWKT('SRID=4674;POINT (-38.422946 -3.527012)'))) / (select extract(epoch from '2026-07-06 17:42:46'::timestamp) - extract(epoch from '2026-07-06 17:42:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.423013 -3.527142)', '2026-07-06 17:42:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422946 -3.527012)'), GeomFromEWKT('SRID=4674;POINT (-38.423013 -3.527142)'))) / (select extract(epoch from '2026-07-06 17:42:53'::timestamp) - extract(epoch from '2026-07-06 17:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422946 -3.527012)'), GeomFromEWKT('SRID=4674;POINT (-38.423013 -3.527142)'))) / (select extract(epoch from '2026-07-06 17:42:53'::timestamp) - extract(epoch from '2026-07-06 17:42:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.423081 -3.527262)', '2026-07-06 17:42:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423013 -3.527142)'), GeomFromEWKT('SRID=4674;POINT (-38.423081 -3.527262)'))) / (select extract(epoch from '2026-07-06 17:42:59'::timestamp) - extract(epoch from '2026-07-06 17:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423013 -3.527142)'), GeomFromEWKT('SRID=4674;POINT (-38.423081 -3.527262)'))) / (select extract(epoch from '2026-07-06 17:42:59'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.423126 -3.527364)', '2026-07-06 17:43:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423081 -3.527262)'), GeomFromEWKT('SRID=4674;POINT (-38.423126 -3.527364)'))) / (select extract(epoch from '2026-07-06 17:43:05'::timestamp) - extract(epoch from '2026-07-06 17:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423081 -3.527262)'), GeomFromEWKT('SRID=4674;POINT (-38.423126 -3.527364)'))) / (select extract(epoch from '2026-07-06 17:43:05'::timestamp) - extract(epoch from '2026-07-06 17:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.423189 -3.527468)', '2026-07-06 17:43:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423126 -3.527364)'), GeomFromEWKT('SRID=4674;POINT (-38.423189 -3.527468)'))) / (select extract(epoch from '2026-07-06 17:43:11'::timestamp) - extract(epoch from '2026-07-06 17:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423126 -3.527364)'), GeomFromEWKT('SRID=4674;POINT (-38.423189 -3.527468)'))) / (select extract(epoch from '2026-07-06 17:43:11'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.423248 -3.527577)', '2026-07-06 17:43:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423189 -3.527468)'), GeomFromEWKT('SRID=4674;POINT (-38.423248 -3.527577)'))) / (select extract(epoch from '2026-07-06 17:43:17'::timestamp) - extract(epoch from '2026-07-06 17:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423189 -3.527468)'), GeomFromEWKT('SRID=4674;POINT (-38.423248 -3.527577)'))) / (select extract(epoch from '2026-07-06 17:43:17'::timestamp) - extract(epoch from '2026-07-06 17:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.423296 -3.5277)', '2026-07-06 17:43:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423248 -3.527577)'), GeomFromEWKT('SRID=4674;POINT (-38.423296 -3.5277)'))) / (select extract(epoch from '2026-07-06 17:43:23'::timestamp) - extract(epoch from '2026-07-06 17:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423248 -3.527577)'), GeomFromEWKT('SRID=4674;POINT (-38.423296 -3.5277)'))) / (select extract(epoch from '2026-07-06 17:43:23'::timestamp) - extract(epoch from '2026-07-06 17:43: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'), 47390, 'SRID=4674;POINT (-38.423319 -3.527819)', '2026-07-06 17:43:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423296 -3.5277)'), GeomFromEWKT('SRID=4674;POINT (-38.423319 -3.527819)'))) / (select extract(epoch from '2026-07-06 17:43:29'::timestamp) - extract(epoch from '2026-07-06 17:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423296 -3.5277)'), GeomFromEWKT('SRID=4674;POINT (-38.423319 -3.527819)'))) / (select extract(epoch from '2026-07-06 17:43:29'::timestamp) - extract(epoch from '2026-07-06 17:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.423324 -3.52793)', '2026-07-06 17:43:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423319 -3.527819)'), GeomFromEWKT('SRID=4674;POINT (-38.423324 -3.52793)'))) / (select extract(epoch from '2026-07-06 17:43:35'::timestamp) - extract(epoch from '2026-07-06 17:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423319 -3.527819)'), GeomFromEWKT('SRID=4674;POINT (-38.423324 -3.52793)'))) / (select extract(epoch from '2026-07-06 17:43:35'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.42332 -3.528092)', '2026-07-06 17:43:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423324 -3.52793)'), GeomFromEWKT('SRID=4674;POINT (-38.42332 -3.528092)'))) / (select extract(epoch from '2026-07-06 17:43:43'::timestamp) - extract(epoch from '2026-07-06 17:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423324 -3.52793)'), GeomFromEWKT('SRID=4674;POINT (-38.42332 -3.528092)'))) / (select extract(epoch from '2026-07-06 17:43:43'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.423336 -3.528182)', '2026-07-06 17:43:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42332 -3.528092)'), GeomFromEWKT('SRID=4674;POINT (-38.423336 -3.528182)'))) / (select extract(epoch from '2026-07-06 17:43:48'::timestamp) - extract(epoch from '2026-07-06 17:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42332 -3.528092)'), GeomFromEWKT('SRID=4674;POINT (-38.423336 -3.528182)'))) / (select extract(epoch from '2026-07-06 17:43:48'::timestamp) - extract(epoch from '2026-07-06 17:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.423357 -3.528278)', '2026-07-06 17:43:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423336 -3.528182)'), GeomFromEWKT('SRID=4674;POINT (-38.423357 -3.528278)'))) / (select extract(epoch from '2026-07-06 17:43:53'::timestamp) - extract(epoch from '2026-07-06 17:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423336 -3.528182)'), GeomFromEWKT('SRID=4674;POINT (-38.423357 -3.528278)'))) / (select extract(epoch from '2026-07-06 17:43:53'::timestamp) - extract(epoch from '2026-07-06 17:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.42342 -3.528402)', '2026-07-06 17:44:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423357 -3.528278)'), GeomFromEWKT('SRID=4674;POINT (-38.42342 -3.528402)'))) / (select extract(epoch from '2026-07-06 17:44:00'::timestamp) - extract(epoch from '2026-07-06 17:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423357 -3.528278)'), GeomFromEWKT('SRID=4674;POINT (-38.42342 -3.528402)'))) / (select extract(epoch from '2026-07-06 17:44:00'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.423484 -3.528504)', '2026-07-06 17:44:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42342 -3.528402)'), GeomFromEWKT('SRID=4674;POINT (-38.423484 -3.528504)'))) / (select extract(epoch from '2026-07-06 17:44:06'::timestamp) - extract(epoch from '2026-07-06 17:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42342 -3.528402)'), GeomFromEWKT('SRID=4674;POINT (-38.423484 -3.528504)'))) / (select extract(epoch from '2026-07-06 17:44:06'::timestamp) - extract(epoch from '2026-07-06 17:44: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'), 47390, 'SRID=4674;POINT (-38.423509 -3.528577)', '2026-07-06 17:44:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423484 -3.528504)'), GeomFromEWKT('SRID=4674;POINT (-38.423509 -3.528577)'))) / (select extract(epoch from '2026-07-06 17:44:10'::timestamp) - extract(epoch from '2026-07-06 17:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423484 -3.528504)'), GeomFromEWKT('SRID=4674;POINT (-38.423509 -3.528577)'))) / (select extract(epoch from '2026-07-06 17:44:10'::timestamp) - extract(epoch from '2026-07-06 17:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.423548 -3.528671)', '2026-07-06 17:44:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423509 -3.528577)'), GeomFromEWKT('SRID=4674;POINT (-38.423548 -3.528671)'))) / (select extract(epoch from '2026-07-06 17:44:15'::timestamp) - extract(epoch from '2026-07-06 17:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423509 -3.528577)'), GeomFromEWKT('SRID=4674;POINT (-38.423548 -3.528671)'))) / (select extract(epoch from '2026-07-06 17:44:15'::timestamp) - extract(epoch from '2026-07-06 17:44: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'), 47390, 'SRID=4674;POINT (-38.423603 -3.528805)', '2026-07-06 17:44:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423548 -3.528671)'), GeomFromEWKT('SRID=4674;POINT (-38.423603 -3.528805)'))) / (select extract(epoch from '2026-07-06 17:44:22'::timestamp) - extract(epoch from '2026-07-06 17:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423548 -3.528671)'), GeomFromEWKT('SRID=4674;POINT (-38.423603 -3.528805)'))) / (select extract(epoch from '2026-07-06 17:44:22'::timestamp) - extract(epoch from '2026-07-06 17:44: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'), 47390, 'SRID=4674;POINT (-38.42367 -3.528938)', '2026-07-06 17:44:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423603 -3.528805)'), GeomFromEWKT('SRID=4674;POINT (-38.42367 -3.528938)'))) / (select extract(epoch from '2026-07-06 17:44:29'::timestamp) - extract(epoch from '2026-07-06 17:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423603 -3.528805)'), GeomFromEWKT('SRID=4674;POINT (-38.42367 -3.528938)'))) / (select extract(epoch from '2026-07-06 17:44:29'::timestamp) - extract(epoch from '2026-07-06 17:44: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'), 47390, 'SRID=4674;POINT (-38.423739 -3.529053)', '2026-07-06 17:44:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42367 -3.528938)'), GeomFromEWKT('SRID=4674;POINT (-38.423739 -3.529053)'))) / (select extract(epoch from '2026-07-06 17:44:35'::timestamp) - extract(epoch from '2026-07-06 17:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42367 -3.528938)'), GeomFromEWKT('SRID=4674;POINT (-38.423739 -3.529053)'))) / (select extract(epoch from '2026-07-06 17:44:35'::timestamp) - extract(epoch from '2026-07-06 17:44: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'), 47390, 'SRID=4674;POINT (-38.42381 -3.529195)', '2026-07-06 17:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423739 -3.529053)'), GeomFromEWKT('SRID=4674;POINT (-38.42381 -3.529195)'))) / (select extract(epoch from '2026-07-06 17:44:42'::timestamp) - extract(epoch from '2026-07-06 17:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423739 -3.529053)'), GeomFromEWKT('SRID=4674;POINT (-38.42381 -3.529195)'))) / (select extract(epoch from '2026-07-06 17:44:42'::timestamp) - extract(epoch from '2026-07-06 17:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.423828 -3.529233)', '2026-07-06 17:44:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42381 -3.529195)'), GeomFromEWKT('SRID=4674;POINT (-38.423828 -3.529233)'))) / (select extract(epoch from '2026-07-06 17:44:44'::timestamp) - extract(epoch from '2026-07-06 17:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42381 -3.529195)'), GeomFromEWKT('SRID=4674;POINT (-38.423828 -3.529233)'))) / (select extract(epoch from '2026-07-06 17:44:44'::timestamp) - extract(epoch from '2026-07-06 17:44: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'), 47390, 'SRID=4674;POINT (-38.423872 -3.529294)', '2026-07-06 17:44:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423828 -3.529233)'), GeomFromEWKT('SRID=4674;POINT (-38.423872 -3.529294)'))) / (select extract(epoch from '2026-07-06 17:44:47'::timestamp) - extract(epoch from '2026-07-06 17:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423828 -3.529233)'), GeomFromEWKT('SRID=4674;POINT (-38.423872 -3.529294)'))) / (select extract(epoch from '2026-07-06 17:44:47'::timestamp) - extract(epoch from '2026-07-06 17:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.42393 -3.529397)', '2026-07-06 17:44:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423872 -3.529294)'), GeomFromEWKT('SRID=4674;POINT (-38.42393 -3.529397)'))) / (select extract(epoch from '2026-07-06 17:44:53'::timestamp) - extract(epoch from '2026-07-06 17:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423872 -3.529294)'), GeomFromEWKT('SRID=4674;POINT (-38.42393 -3.529397)'))) / (select extract(epoch from '2026-07-06 17:44:53'::timestamp) - extract(epoch from '2026-07-06 17:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.423992 -3.529509)', '2026-07-06 17:44:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42393 -3.529397)'), GeomFromEWKT('SRID=4674;POINT (-38.423992 -3.529509)'))) / (select extract(epoch from '2026-07-06 17:44:59'::timestamp) - extract(epoch from '2026-07-06 17:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42393 -3.529397)'), GeomFromEWKT('SRID=4674;POINT (-38.423992 -3.529509)'))) / (select extract(epoch from '2026-07-06 17:44:59'::timestamp) - extract(epoch from '2026-07-06 17:44: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'), 47390, 'SRID=4674;POINT (-38.42406 -3.529672)', '2026-07-06 17:45:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423992 -3.529509)'), GeomFromEWKT('SRID=4674;POINT (-38.42406 -3.529672)'))) / (select extract(epoch from '2026-07-06 17:45:07'::timestamp) - extract(epoch from '2026-07-06 17:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423992 -3.529509)'), GeomFromEWKT('SRID=4674;POINT (-38.42406 -3.529672)'))) / (select extract(epoch from '2026-07-06 17:45:07'::timestamp) - extract(epoch from '2026-07-06 17:44: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'), 47390, 'SRID=4674;POINT (-38.424074 -3.52977)', '2026-07-06 17:45:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42406 -3.529672)'), GeomFromEWKT('SRID=4674;POINT (-38.424074 -3.52977)'))) / (select extract(epoch from '2026-07-06 17:45:12'::timestamp) - extract(epoch from '2026-07-06 17:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42406 -3.529672)'), GeomFromEWKT('SRID=4674;POINT (-38.424074 -3.52977)'))) / (select extract(epoch from '2026-07-06 17:45:12'::timestamp) - extract(epoch from '2026-07-06 17:45: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'), 47390, 'SRID=4674;POINT (-38.424099 -3.529879)', '2026-07-06 17:45:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424074 -3.52977)'), GeomFromEWKT('SRID=4674;POINT (-38.424099 -3.529879)'))) / (select extract(epoch from '2026-07-06 17:45:18'::timestamp) - extract(epoch from '2026-07-06 17:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424074 -3.52977)'), GeomFromEWKT('SRID=4674;POINT (-38.424099 -3.529879)'))) / (select extract(epoch from '2026-07-06 17:45:18'::timestamp) - extract(epoch from '2026-07-06 17:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.424127 -3.529973)', '2026-07-06 17:45:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424099 -3.529879)'), GeomFromEWKT('SRID=4674;POINT (-38.424127 -3.529973)'))) / (select extract(epoch from '2026-07-06 17:45:23'::timestamp) - extract(epoch from '2026-07-06 17:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424099 -3.529879)'), GeomFromEWKT('SRID=4674;POINT (-38.424127 -3.529973)'))) / (select extract(epoch from '2026-07-06 17:45:23'::timestamp) - extract(epoch from '2026-07-06 17:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.424153 -3.530064)', '2026-07-06 17:45:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424127 -3.529973)'), GeomFromEWKT('SRID=4674;POINT (-38.424153 -3.530064)'))) / (select extract(epoch from '2026-07-06 17:45:28'::timestamp) - extract(epoch from '2026-07-06 17:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424127 -3.529973)'), GeomFromEWKT('SRID=4674;POINT (-38.424153 -3.530064)'))) / (select extract(epoch from '2026-07-06 17:45:28'::timestamp) - extract(epoch from '2026-07-06 17:45: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'), 47390, 'SRID=4674;POINT (-38.424164 -3.530184)', '2026-07-06 17:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424153 -3.530064)'), GeomFromEWKT('SRID=4674;POINT (-38.424164 -3.530184)'))) / (select extract(epoch from '2026-07-06 17:45:34'::timestamp) - extract(epoch from '2026-07-06 17:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424153 -3.530064)'), GeomFromEWKT('SRID=4674;POINT (-38.424164 -3.530184)'))) / (select extract(epoch from '2026-07-06 17:45:34'::timestamp) - extract(epoch from '2026-07-06 17:45: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'), 47390, 'SRID=4674;POINT (-38.424182 -3.530319)', '2026-07-06 17:45:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424164 -3.530184)'), GeomFromEWKT('SRID=4674;POINT (-38.424182 -3.530319)'))) / (select extract(epoch from '2026-07-06 17:45:41'::timestamp) - extract(epoch from '2026-07-06 17:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424164 -3.530184)'), GeomFromEWKT('SRID=4674;POINT (-38.424182 -3.530319)'))) / (select extract(epoch from '2026-07-06 17:45:41'::timestamp) - extract(epoch from '2026-07-06 17:45:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.42423 -3.530437)', '2026-07-06 17:45:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424182 -3.530319)'), GeomFromEWKT('SRID=4674;POINT (-38.42423 -3.530437)'))) / (select extract(epoch from '2026-07-06 17:45:47'::timestamp) - extract(epoch from '2026-07-06 17:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424182 -3.530319)'), GeomFromEWKT('SRID=4674;POINT (-38.42423 -3.530437)'))) / (select extract(epoch from '2026-07-06 17:45:47'::timestamp) - extract(epoch from '2026-07-06 17:45:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.424286 -3.530545)', '2026-07-06 17:45:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42423 -3.530437)'), GeomFromEWKT('SRID=4674;POINT (-38.424286 -3.530545)'))) / (select extract(epoch from '2026-07-06 17:45:53'::timestamp) - extract(epoch from '2026-07-06 17:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42423 -3.530437)'), GeomFromEWKT('SRID=4674;POINT (-38.424286 -3.530545)'))) / (select extract(epoch from '2026-07-06 17:45:53'::timestamp) - extract(epoch from '2026-07-06 17:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.424361 -3.530692)', '2026-07-06 17:46:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424286 -3.530545)'), GeomFromEWKT('SRID=4674;POINT (-38.424361 -3.530692)'))) / (select extract(epoch from '2026-07-06 17:46:01'::timestamp) - extract(epoch from '2026-07-06 17:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424286 -3.530545)'), GeomFromEWKT('SRID=4674;POINT (-38.424361 -3.530692)'))) / (select extract(epoch from '2026-07-06 17:46:01'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.424414 -3.530848)', '2026-07-06 17:46:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424361 -3.530692)'), GeomFromEWKT('SRID=4674;POINT (-38.424414 -3.530848)'))) / (select extract(epoch from '2026-07-06 17:46:09'::timestamp) - extract(epoch from '2026-07-06 17:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424361 -3.530692)'), GeomFromEWKT('SRID=4674;POINT (-38.424414 -3.530848)'))) / (select extract(epoch from '2026-07-06 17:46:09'::timestamp) - extract(epoch from '2026-07-06 17:46: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'), 47390, 'SRID=4674;POINT (-38.424481 -3.530976)', '2026-07-06 17:46:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424414 -3.530848)'), GeomFromEWKT('SRID=4674;POINT (-38.424481 -3.530976)'))) / (select extract(epoch from '2026-07-06 17:46:16'::timestamp) - extract(epoch from '2026-07-06 17:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424414 -3.530848)'), GeomFromEWKT('SRID=4674;POINT (-38.424481 -3.530976)'))) / (select extract(epoch from '2026-07-06 17:46:16'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.424557 -3.531099)', '2026-07-06 17:46:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424481 -3.530976)'), GeomFromEWKT('SRID=4674;POINT (-38.424557 -3.531099)'))) / (select extract(epoch from '2026-07-06 17:46:23'::timestamp) - extract(epoch from '2026-07-06 17:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424481 -3.530976)'), GeomFromEWKT('SRID=4674;POINT (-38.424557 -3.531099)'))) / (select extract(epoch from '2026-07-06 17:46:23'::timestamp) - extract(epoch from '2026-07-06 17:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.424638 -3.531255)', '2026-07-06 17:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424557 -3.531099)'), GeomFromEWKT('SRID=4674;POINT (-38.424638 -3.531255)'))) / (select extract(epoch from '2026-07-06 17:46:32'::timestamp) - extract(epoch from '2026-07-06 17:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424557 -3.531099)'), GeomFromEWKT('SRID=4674;POINT (-38.424638 -3.531255)'))) / (select extract(epoch from '2026-07-06 17:46:32'::timestamp) - extract(epoch from '2026-07-06 17:46: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'), 47390, 'SRID=4674;POINT (-38.424724 -3.531432)', '2026-07-06 17:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424638 -3.531255)'), GeomFromEWKT('SRID=4674;POINT (-38.424724 -3.531432)'))) / (select extract(epoch from '2026-07-06 17:46:41'::timestamp) - extract(epoch from '2026-07-06 17:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424638 -3.531255)'), GeomFromEWKT('SRID=4674;POINT (-38.424724 -3.531432)'))) / (select extract(epoch from '2026-07-06 17:46:41'::timestamp) - extract(epoch from '2026-07-06 17:46: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'), 47390, 'SRID=4674;POINT (-38.424782 -3.531545)', '2026-07-06 17:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424724 -3.531432)'), GeomFromEWKT('SRID=4674;POINT (-38.424782 -3.531545)'))) / (select extract(epoch from '2026-07-06 17:46:47'::timestamp) - extract(epoch from '2026-07-06 17:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424724 -3.531432)'), GeomFromEWKT('SRID=4674;POINT (-38.424782 -3.531545)'))) / (select extract(epoch from '2026-07-06 17:46:47'::timestamp) - extract(epoch from '2026-07-06 17:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.424851 -3.531671)', '2026-07-06 17:46:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424782 -3.531545)'), GeomFromEWKT('SRID=4674;POINT (-38.424851 -3.531671)'))) / (select extract(epoch from '2026-07-06 17:46:53'::timestamp) - extract(epoch from '2026-07-06 17:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424782 -3.531545)'), GeomFromEWKT('SRID=4674;POINT (-38.424851 -3.531671)'))) / (select extract(epoch from '2026-07-06 17:46:53'::timestamp) - extract(epoch from '2026-07-06 17:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.424912 -3.531795)', '2026-07-06 17:46:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424851 -3.531671)'), GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.531795)'))) / (select extract(epoch from '2026-07-06 17:46:59'::timestamp) - extract(epoch from '2026-07-06 17:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424851 -3.531671)'), GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.531795)'))) / (select extract(epoch from '2026-07-06 17:46:59'::timestamp) - extract(epoch from '2026-07-06 17:46: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'), 47390, 'SRID=4674;POINT (-38.424973 -3.531911)', '2026-07-06 17:47:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.531795)'), GeomFromEWKT('SRID=4674;POINT (-38.424973 -3.531911)'))) / (select extract(epoch from '2026-07-06 17:47:05'::timestamp) - extract(epoch from '2026-07-06 17:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.531795)'), GeomFromEWKT('SRID=4674;POINT (-38.424973 -3.531911)'))) / (select extract(epoch from '2026-07-06 17:47:05'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.425042 -3.532022)', '2026-07-06 17:47:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424973 -3.531911)'), GeomFromEWKT('SRID=4674;POINT (-38.425042 -3.532022)'))) / (select extract(epoch from '2026-07-06 17:47:11'::timestamp) - extract(epoch from '2026-07-06 17:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424973 -3.531911)'), GeomFromEWKT('SRID=4674;POINT (-38.425042 -3.532022)'))) / (select extract(epoch from '2026-07-06 17:47:11'::timestamp) - extract(epoch from '2026-07-06 17:47:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425107 -3.53215)', '2026-07-06 17:47:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425042 -3.532022)'), GeomFromEWKT('SRID=4674;POINT (-38.425107 -3.53215)'))) / (select extract(epoch from '2026-07-06 17:47:18'::timestamp) - extract(epoch from '2026-07-06 17:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425042 -3.532022)'), GeomFromEWKT('SRID=4674;POINT (-38.425107 -3.53215)'))) / (select extract(epoch from '2026-07-06 17:47:18'::timestamp) - extract(epoch from '2026-07-06 17:47:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425123 -3.532185)', '2026-07-06 17:47:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425107 -3.53215)'), GeomFromEWKT('SRID=4674;POINT (-38.425123 -3.532185)'))) / (select extract(epoch from '2026-07-06 17:47:20'::timestamp) - extract(epoch from '2026-07-06 17:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425107 -3.53215)'), GeomFromEWKT('SRID=4674;POINT (-38.425123 -3.532185)'))) / (select extract(epoch from '2026-07-06 17:47:20'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.42517 -3.532243)', '2026-07-06 17:47:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425123 -3.532185)'), GeomFromEWKT('SRID=4674;POINT (-38.42517 -3.532243)'))) / (select extract(epoch from '2026-07-06 17:47:23'::timestamp) - extract(epoch from '2026-07-06 17:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425123 -3.532185)'), GeomFromEWKT('SRID=4674;POINT (-38.42517 -3.532243)'))) / (select extract(epoch from '2026-07-06 17:47:23'::timestamp) - extract(epoch from '2026-07-06 17:47: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'), 47390, 'SRID=4674;POINT (-38.425253 -3.532363)', '2026-07-06 17:47:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42517 -3.532243)'), GeomFromEWKT('SRID=4674;POINT (-38.425253 -3.532363)'))) / (select extract(epoch from '2026-07-06 17:47:30'::timestamp) - extract(epoch from '2026-07-06 17:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42517 -3.532243)'), GeomFromEWKT('SRID=4674;POINT (-38.425253 -3.532363)'))) / (select extract(epoch from '2026-07-06 17:47:30'::timestamp) - extract(epoch from '2026-07-06 17:47:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425292 -3.532462)', '2026-07-06 17:47:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425253 -3.532363)'), GeomFromEWKT('SRID=4674;POINT (-38.425292 -3.532462)'))) / (select extract(epoch from '2026-07-06 17:47:35'::timestamp) - extract(epoch from '2026-07-06 17:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425253 -3.532363)'), GeomFromEWKT('SRID=4674;POINT (-38.425292 -3.532462)'))) / (select extract(epoch from '2026-07-06 17:47:35'::timestamp) - extract(epoch from '2026-07-06 17:47:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425319 -3.532586)', '2026-07-06 17:47:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425292 -3.532462)'), GeomFromEWKT('SRID=4674;POINT (-38.425319 -3.532586)'))) / (select extract(epoch from '2026-07-06 17:47:41'::timestamp) - extract(epoch from '2026-07-06 17:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425292 -3.532462)'), GeomFromEWKT('SRID=4674;POINT (-38.425319 -3.532586)'))) / (select extract(epoch from '2026-07-06 17:47:41'::timestamp) - extract(epoch from '2026-07-06 17:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425317 -3.532702)', '2026-07-06 17:47:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425319 -3.532586)'), GeomFromEWKT('SRID=4674;POINT (-38.425317 -3.532702)'))) / (select extract(epoch from '2026-07-06 17:47:47'::timestamp) - extract(epoch from '2026-07-06 17:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425319 -3.532586)'), GeomFromEWKT('SRID=4674;POINT (-38.425317 -3.532702)'))) / (select extract(epoch from '2026-07-06 17:47:47'::timestamp) - extract(epoch from '2026-07-06 17:47: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'), 47390, 'SRID=4674;POINT (-38.425318 -3.532829)', '2026-07-06 17:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425317 -3.532702)'), GeomFromEWKT('SRID=4674;POINT (-38.425318 -3.532829)'))) / (select extract(epoch from '2026-07-06 17:47:53'::timestamp) - extract(epoch from '2026-07-06 17:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425317 -3.532702)'), GeomFromEWKT('SRID=4674;POINT (-38.425318 -3.532829)'))) / (select extract(epoch from '2026-07-06 17:47:53'::timestamp) - extract(epoch from '2026-07-06 17:47:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425357 -3.532988)', '2026-07-06 17:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425318 -3.532829)'), GeomFromEWKT('SRID=4674;POINT (-38.425357 -3.532988)'))) / (select extract(epoch from '2026-07-06 17:48:00'::timestamp) - extract(epoch from '2026-07-06 17:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425318 -3.532829)'), GeomFromEWKT('SRID=4674;POINT (-38.425357 -3.532988)'))) / (select extract(epoch from '2026-07-06 17:48:00'::timestamp) - extract(epoch from '2026-07-06 17:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.42541 -3.533168)', '2026-07-06 17:48:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425357 -3.532988)'), GeomFromEWKT('SRID=4674;POINT (-38.42541 -3.533168)'))) / (select extract(epoch from '2026-07-06 17:48:08'::timestamp) - extract(epoch from '2026-07-06 17:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425357 -3.532988)'), GeomFromEWKT('SRID=4674;POINT (-38.42541 -3.533168)'))) / (select extract(epoch from '2026-07-06 17:48:08'::timestamp) - extract(epoch from '2026-07-06 17:48: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'), 47390, 'SRID=4674;POINT (-38.425458 -3.533291)', '2026-07-06 17:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42541 -3.533168)'), GeomFromEWKT('SRID=4674;POINT (-38.425458 -3.533291)'))) / (select extract(epoch from '2026-07-06 17:48:14'::timestamp) - extract(epoch from '2026-07-06 17:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42541 -3.533168)'), GeomFromEWKT('SRID=4674;POINT (-38.425458 -3.533291)'))) / (select extract(epoch from '2026-07-06 17:48:14'::timestamp) - extract(epoch from '2026-07-06 17:48: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'), 47390, 'SRID=4674;POINT (-38.42549 -3.533393)', '2026-07-06 17:48:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425458 -3.533291)'), GeomFromEWKT('SRID=4674;POINT (-38.42549 -3.533393)'))) / (select extract(epoch from '2026-07-06 17:48:19'::timestamp) - extract(epoch from '2026-07-06 17:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425458 -3.533291)'), GeomFromEWKT('SRID=4674;POINT (-38.42549 -3.533393)'))) / (select extract(epoch from '2026-07-06 17:48:19'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.425545 -3.53352)', '2026-07-06 17:48:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42549 -3.533393)'), GeomFromEWKT('SRID=4674;POINT (-38.425545 -3.53352)'))) / (select extract(epoch from '2026-07-06 17:48:25'::timestamp) - extract(epoch from '2026-07-06 17:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42549 -3.533393)'), GeomFromEWKT('SRID=4674;POINT (-38.425545 -3.53352)'))) / (select extract(epoch from '2026-07-06 17:48:25'::timestamp) - extract(epoch from '2026-07-06 17:48: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'), 47390, 'SRID=4674;POINT (-38.425557 -3.533575)', '2026-07-06 17:48:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425545 -3.53352)'), GeomFromEWKT('SRID=4674;POINT (-38.425557 -3.533575)'))) / (select extract(epoch from '2026-07-06 17:48:28'::timestamp) - extract(epoch from '2026-07-06 17:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425545 -3.53352)'), GeomFromEWKT('SRID=4674;POINT (-38.425557 -3.533575)'))) / (select extract(epoch from '2026-07-06 17:48:28'::timestamp) - extract(epoch from '2026-07-06 17:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425565 -3.533595)', '2026-07-06 17:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425557 -3.533575)'), GeomFromEWKT('SRID=4674;POINT (-38.425565 -3.533595)'))) / (select extract(epoch from '2026-07-06 17:48:29'::timestamp) - extract(epoch from '2026-07-06 17:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425557 -3.533575)'), GeomFromEWKT('SRID=4674;POINT (-38.425565 -3.533595)'))) / (select extract(epoch from '2026-07-06 17:48:29'::timestamp) - extract(epoch from '2026-07-06 17:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425607 -3.533718)', '2026-07-06 17:48:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425565 -3.533595)'), GeomFromEWKT('SRID=4674;POINT (-38.425607 -3.533718)'))) / (select extract(epoch from '2026-07-06 17:48:35'::timestamp) - extract(epoch from '2026-07-06 17:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425565 -3.533595)'), GeomFromEWKT('SRID=4674;POINT (-38.425607 -3.533718)'))) / (select extract(epoch from '2026-07-06 17:48:35'::timestamp) - extract(epoch from '2026-07-06 17:48:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425671 -3.533854)', '2026-07-06 17:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425607 -3.533718)'), GeomFromEWKT('SRID=4674;POINT (-38.425671 -3.533854)'))) / (select extract(epoch from '2026-07-06 17:48:42'::timestamp) - extract(epoch from '2026-07-06 17:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425607 -3.533718)'), GeomFromEWKT('SRID=4674;POINT (-38.425671 -3.533854)'))) / (select extract(epoch from '2026-07-06 17:48:42'::timestamp) - extract(epoch from '2026-07-06 17:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425735 -3.533965)', '2026-07-06 17:48:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425671 -3.533854)'), GeomFromEWKT('SRID=4674;POINT (-38.425735 -3.533965)'))) / (select extract(epoch from '2026-07-06 17:48:48'::timestamp) - extract(epoch from '2026-07-06 17:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425671 -3.533854)'), GeomFromEWKT('SRID=4674;POINT (-38.425735 -3.533965)'))) / (select extract(epoch from '2026-07-06 17:48:48'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.425806 -3.534119)', '2026-07-06 17:48:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425735 -3.533965)'), GeomFromEWKT('SRID=4674;POINT (-38.425806 -3.534119)'))) / (select extract(epoch from '2026-07-06 17:48:56'::timestamp) - extract(epoch from '2026-07-06 17:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425735 -3.533965)'), GeomFromEWKT('SRID=4674;POINT (-38.425806 -3.534119)'))) / (select extract(epoch from '2026-07-06 17:48:56'::timestamp) - extract(epoch from '2026-07-06 17:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425848 -3.534207)', '2026-07-06 17:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425806 -3.534119)'), GeomFromEWKT('SRID=4674;POINT (-38.425848 -3.534207)'))) / (select extract(epoch from '2026-07-06 17:49:01'::timestamp) - extract(epoch from '2026-07-06 17:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425806 -3.534119)'), GeomFromEWKT('SRID=4674;POINT (-38.425848 -3.534207)'))) / (select extract(epoch from '2026-07-06 17:49:01'::timestamp) - extract(epoch from '2026-07-06 17:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.425903 -3.534317)', '2026-07-06 17:49:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425848 -3.534207)'), GeomFromEWKT('SRID=4674;POINT (-38.425903 -3.534317)'))) / (select extract(epoch from '2026-07-06 17:49:07'::timestamp) - extract(epoch from '2026-07-06 17:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425848 -3.534207)'), GeomFromEWKT('SRID=4674;POINT (-38.425903 -3.534317)'))) / (select extract(epoch from '2026-07-06 17:49:07'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.425958 -3.534444)', '2026-07-06 17:49:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425903 -3.534317)'), GeomFromEWKT('SRID=4674;POINT (-38.425958 -3.534444)'))) / (select extract(epoch from '2026-07-06 17:49:14'::timestamp) - extract(epoch from '2026-07-06 17:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425903 -3.534317)'), GeomFromEWKT('SRID=4674;POINT (-38.425958 -3.534444)'))) / (select extract(epoch from '2026-07-06 17:49:14'::timestamp) - extract(epoch from '2026-07-06 17:49: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'), 47390, 'SRID=4674;POINT (-38.426006 -3.534542)', '2026-07-06 17:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425958 -3.534444)'), GeomFromEWKT('SRID=4674;POINT (-38.426006 -3.534542)'))) / (select extract(epoch from '2026-07-06 17:49:19'::timestamp) - extract(epoch from '2026-07-06 17:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425958 -3.534444)'), GeomFromEWKT('SRID=4674;POINT (-38.426006 -3.534542)'))) / (select extract(epoch from '2026-07-06 17:49:19'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.426075 -3.534694)', '2026-07-06 17:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426006 -3.534542)'), GeomFromEWKT('SRID=4674;POINT (-38.426075 -3.534694)'))) / (select extract(epoch from '2026-07-06 17:49:27'::timestamp) - extract(epoch from '2026-07-06 17:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426006 -3.534542)'), GeomFromEWKT('SRID=4674;POINT (-38.426075 -3.534694)'))) / (select extract(epoch from '2026-07-06 17:49:27'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.426148 -3.534845)', '2026-07-06 17:49:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426075 -3.534694)'), GeomFromEWKT('SRID=4674;POINT (-38.426148 -3.534845)'))) / (select extract(epoch from '2026-07-06 17:49:35'::timestamp) - extract(epoch from '2026-07-06 17:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426075 -3.534694)'), GeomFromEWKT('SRID=4674;POINT (-38.426148 -3.534845)'))) / (select extract(epoch from '2026-07-06 17:49:35'::timestamp) - extract(epoch from '2026-07-06 17:49: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'), 47390, 'SRID=4674;POINT (-38.426209 -3.534981)', '2026-07-06 17:49:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426148 -3.534845)'), GeomFromEWKT('SRID=4674;POINT (-38.426209 -3.534981)'))) / (select extract(epoch from '2026-07-06 17:49:42'::timestamp) - extract(epoch from '2026-07-06 17:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426148 -3.534845)'), GeomFromEWKT('SRID=4674;POINT (-38.426209 -3.534981)'))) / (select extract(epoch from '2026-07-06 17:49:42'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.426258 -3.535062)', '2026-07-06 17:49:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426209 -3.534981)'), GeomFromEWKT('SRID=4674;POINT (-38.426258 -3.535062)'))) / (select extract(epoch from '2026-07-06 17:49:47'::timestamp) - extract(epoch from '2026-07-06 17:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426209 -3.534981)'), GeomFromEWKT('SRID=4674;POINT (-38.426258 -3.535062)'))) / (select extract(epoch from '2026-07-06 17:49:47'::timestamp) - extract(epoch from '2026-07-06 17:49:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.426314 -3.535152)', '2026-07-06 17:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426258 -3.535062)'), GeomFromEWKT('SRID=4674;POINT (-38.426314 -3.535152)'))) / (select extract(epoch from '2026-07-06 17:49:52'::timestamp) - extract(epoch from '2026-07-06 17:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426258 -3.535062)'), GeomFromEWKT('SRID=4674;POINT (-38.426314 -3.535152)'))) / (select extract(epoch from '2026-07-06 17:49:52'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.426345 -3.535244)', '2026-07-06 17:49:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426314 -3.535152)'), GeomFromEWKT('SRID=4674;POINT (-38.426345 -3.535244)'))) / (select extract(epoch from '2026-07-06 17:49:57'::timestamp) - extract(epoch from '2026-07-06 17:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426314 -3.535152)'), GeomFromEWKT('SRID=4674;POINT (-38.426345 -3.535244)'))) / (select extract(epoch from '2026-07-06 17:49:57'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.426416 -3.535374)', '2026-07-06 17:50:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426345 -3.535244)'), GeomFromEWKT('SRID=4674;POINT (-38.426416 -3.535374)'))) / (select extract(epoch from '2026-07-06 17:50:04'::timestamp) - extract(epoch from '2026-07-06 17:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426345 -3.535244)'), GeomFromEWKT('SRID=4674;POINT (-38.426416 -3.535374)'))) / (select extract(epoch from '2026-07-06 17:50:04'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.426469 -3.535475)', '2026-07-06 17:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426416 -3.535374)'), GeomFromEWKT('SRID=4674;POINT (-38.426469 -3.535475)'))) / (select extract(epoch from '2026-07-06 17:50:09'::timestamp) - extract(epoch from '2026-07-06 17:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426416 -3.535374)'), GeomFromEWKT('SRID=4674;POINT (-38.426469 -3.535475)'))) / (select extract(epoch from '2026-07-06 17:50:09'::timestamp) - extract(epoch from '2026-07-06 17:50: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'), 47390, 'SRID=4674;POINT (-38.426536 -3.535605)', '2026-07-06 17:50:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426469 -3.535475)'), GeomFromEWKT('SRID=4674;POINT (-38.426536 -3.535605)'))) / (select extract(epoch from '2026-07-06 17:50:16'::timestamp) - extract(epoch from '2026-07-06 17:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426469 -3.535475)'), GeomFromEWKT('SRID=4674;POINT (-38.426536 -3.535605)'))) / (select extract(epoch from '2026-07-06 17:50:16'::timestamp) - extract(epoch from '2026-07-06 17:50: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'), 47390, 'SRID=4674;POINT (-38.426615 -3.535738)', '2026-07-06 17:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426536 -3.535605)'), GeomFromEWKT('SRID=4674;POINT (-38.426615 -3.535738)'))) / (select extract(epoch from '2026-07-06 17:50:23'::timestamp) - extract(epoch from '2026-07-06 17:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426536 -3.535605)'), GeomFromEWKT('SRID=4674;POINT (-38.426615 -3.535738)'))) / (select extract(epoch from '2026-07-06 17:50:23'::timestamp) - extract(epoch from '2026-07-06 17:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.426682 -3.535863)', '2026-07-06 17:50:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426615 -3.535738)'), GeomFromEWKT('SRID=4674;POINT (-38.426682 -3.535863)'))) / (select extract(epoch from '2026-07-06 17:50:30'::timestamp) - extract(epoch from '2026-07-06 17:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426615 -3.535738)'), GeomFromEWKT('SRID=4674;POINT (-38.426682 -3.535863)'))) / (select extract(epoch from '2026-07-06 17:50:30'::timestamp) - extract(epoch from '2026-07-06 17:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.42675 -3.535985)', '2026-07-06 17:50:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426682 -3.535863)'), GeomFromEWKT('SRID=4674;POINT (-38.42675 -3.535985)'))) / (select extract(epoch from '2026-07-06 17:50:37'::timestamp) - extract(epoch from '2026-07-06 17:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426682 -3.535863)'), GeomFromEWKT('SRID=4674;POINT (-38.42675 -3.535985)'))) / (select extract(epoch from '2026-07-06 17:50:37'::timestamp) - extract(epoch from '2026-07-06 17:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.426814 -3.536101)', '2026-07-06 17:50:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42675 -3.535985)'), GeomFromEWKT('SRID=4674;POINT (-38.426814 -3.536101)'))) / (select extract(epoch from '2026-07-06 17:50:43'::timestamp) - extract(epoch from '2026-07-06 17:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42675 -3.535985)'), GeomFromEWKT('SRID=4674;POINT (-38.426814 -3.536101)'))) / (select extract(epoch from '2026-07-06 17:50:43'::timestamp) - extract(epoch from '2026-07-06 17:50: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'), 47390, 'SRID=4674;POINT (-38.426862 -3.536213)', '2026-07-06 17:50:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426814 -3.536101)'), GeomFromEWKT('SRID=4674;POINT (-38.426862 -3.536213)'))) / (select extract(epoch from '2026-07-06 17:50:49'::timestamp) - extract(epoch from '2026-07-06 17:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426814 -3.536101)'), GeomFromEWKT('SRID=4674;POINT (-38.426862 -3.536213)'))) / (select extract(epoch from '2026-07-06 17:50:49'::timestamp) - extract(epoch from '2026-07-06 17:50: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'), 47390, 'SRID=4674;POINT (-38.426906 -3.536318)', '2026-07-06 17:50:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426862 -3.536213)'), GeomFromEWKT('SRID=4674;POINT (-38.426906 -3.536318)'))) / (select extract(epoch from '2026-07-06 17:50:54'::timestamp) - extract(epoch from '2026-07-06 17:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426862 -3.536213)'), GeomFromEWKT('SRID=4674;POINT (-38.426906 -3.536318)'))) / (select extract(epoch from '2026-07-06 17:50:54'::timestamp) - extract(epoch from '2026-07-06 17:50: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'), 47390, 'SRID=4674;POINT (-38.426948 -3.536421)', '2026-07-06 17:50:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426906 -3.536318)'), GeomFromEWKT('SRID=4674;POINT (-38.426948 -3.536421)'))) / (select extract(epoch from '2026-07-06 17:50:59'::timestamp) - extract(epoch from '2026-07-06 17:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426906 -3.536318)'), GeomFromEWKT('SRID=4674;POINT (-38.426948 -3.536421)'))) / (select extract(epoch from '2026-07-06 17:50:59'::timestamp) - extract(epoch from '2026-07-06 17:50: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'), 47390, 'SRID=4674;POINT (-38.427015 -3.536553)', '2026-07-06 17:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426948 -3.536421)'), GeomFromEWKT('SRID=4674;POINT (-38.427015 -3.536553)'))) / (select extract(epoch from '2026-07-06 17:51:06'::timestamp) - extract(epoch from '2026-07-06 17:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426948 -3.536421)'), GeomFromEWKT('SRID=4674;POINT (-38.427015 -3.536553)'))) / (select extract(epoch from '2026-07-06 17:51:06'::timestamp) - extract(epoch from '2026-07-06 17:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.427069 -3.536665)', '2026-07-06 17:51:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427015 -3.536553)'), GeomFromEWKT('SRID=4674;POINT (-38.427069 -3.536665)'))) / (select extract(epoch from '2026-07-06 17:51:12'::timestamp) - extract(epoch from '2026-07-06 17:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427015 -3.536553)'), GeomFromEWKT('SRID=4674;POINT (-38.427069 -3.536665)'))) / (select extract(epoch from '2026-07-06 17:51:12'::timestamp) - extract(epoch from '2026-07-06 17:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.427114 -3.536763)', '2026-07-06 17:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427069 -3.536665)'), GeomFromEWKT('SRID=4674;POINT (-38.427114 -3.536763)'))) / (select extract(epoch from '2026-07-06 17:51:18'::timestamp) - extract(epoch from '2026-07-06 17:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427069 -3.536665)'), GeomFromEWKT('SRID=4674;POINT (-38.427114 -3.536763)'))) / (select extract(epoch from '2026-07-06 17:51:18'::timestamp) - extract(epoch from '2026-07-06 17:51: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'), 47390, 'SRID=4674;POINT (-38.427163 -3.536872)', '2026-07-06 17:51:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427114 -3.536763)'), GeomFromEWKT('SRID=4674;POINT (-38.427163 -3.536872)'))) / (select extract(epoch from '2026-07-06 17:51:24'::timestamp) - extract(epoch from '2026-07-06 17:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427114 -3.536763)'), GeomFromEWKT('SRID=4674;POINT (-38.427163 -3.536872)'))) / (select extract(epoch from '2026-07-06 17:51:24'::timestamp) - extract(epoch from '2026-07-06 17:51: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'), 47390, 'SRID=4674;POINT (-38.427226 -3.536973)', '2026-07-06 17:51:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427163 -3.536872)'), GeomFromEWKT('SRID=4674;POINT (-38.427226 -3.536973)'))) / (select extract(epoch from '2026-07-06 17:51:30'::timestamp) - extract(epoch from '2026-07-06 17:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427163 -3.536872)'), GeomFromEWKT('SRID=4674;POINT (-38.427226 -3.536973)'))) / (select extract(epoch from '2026-07-06 17:51:30'::timestamp) - extract(epoch from '2026-07-06 17:51: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'), 47390, 'SRID=4674;POINT (-38.427276 -3.537054)', '2026-07-06 17:51:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427226 -3.536973)'), GeomFromEWKT('SRID=4674;POINT (-38.427276 -3.537054)'))) / (select extract(epoch from '2026-07-06 17:51:35'::timestamp) - extract(epoch from '2026-07-06 17:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427226 -3.536973)'), GeomFromEWKT('SRID=4674;POINT (-38.427276 -3.537054)'))) / (select extract(epoch from '2026-07-06 17:51:35'::timestamp) - extract(epoch from '2026-07-06 17:51:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.427337 -3.537178)', '2026-07-06 17:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427276 -3.537054)'), GeomFromEWKT('SRID=4674;POINT (-38.427337 -3.537178)'))) / (select extract(epoch from '2026-07-06 17:51:42'::timestamp) - extract(epoch from '2026-07-06 17:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427276 -3.537054)'), GeomFromEWKT('SRID=4674;POINT (-38.427337 -3.537178)'))) / (select extract(epoch from '2026-07-06 17:51:42'::timestamp) - extract(epoch from '2026-07-06 17:51: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'), 47390, 'SRID=4674;POINT (-38.427388 -3.537283)', '2026-07-06 17:51:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427337 -3.537178)'), GeomFromEWKT('SRID=4674;POINT (-38.427388 -3.537283)'))) / (select extract(epoch from '2026-07-06 17:51:48'::timestamp) - extract(epoch from '2026-07-06 17:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427337 -3.537178)'), GeomFromEWKT('SRID=4674;POINT (-38.427388 -3.537283)'))) / (select extract(epoch from '2026-07-06 17:51:48'::timestamp) - extract(epoch from '2026-07-06 17:51: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'), 47390, 'SRID=4674;POINT (-38.42742 -3.537363)', '2026-07-06 17:51:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427388 -3.537283)'), GeomFromEWKT('SRID=4674;POINT (-38.42742 -3.537363)'))) / (select extract(epoch from '2026-07-06 17:51:53'::timestamp) - extract(epoch from '2026-07-06 17:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427388 -3.537283)'), GeomFromEWKT('SRID=4674;POINT (-38.42742 -3.537363)'))) / (select extract(epoch from '2026-07-06 17:51:53'::timestamp) - extract(epoch from '2026-07-06 17:51: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'), 47390, 'SRID=4674;POINT (-38.427483 -3.537471)', '2026-07-06 17:52:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42742 -3.537363)'), GeomFromEWKT('SRID=4674;POINT (-38.427483 -3.537471)'))) / (select extract(epoch from '2026-07-06 17:52:00'::timestamp) - extract(epoch from '2026-07-06 17:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42742 -3.537363)'), GeomFromEWKT('SRID=4674;POINT (-38.427483 -3.537471)'))) / (select extract(epoch from '2026-07-06 17:52:00'::timestamp) - extract(epoch from '2026-07-06 17:51: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'), 47390, 'SRID=4674;POINT (-38.427558 -3.537642)', '2026-07-06 17:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427483 -3.537471)'), GeomFromEWKT('SRID=4674;POINT (-38.427558 -3.537642)'))) / (select extract(epoch from '2026-07-06 17:52:09'::timestamp) - extract(epoch from '2026-07-06 17:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427483 -3.537471)'), GeomFromEWKT('SRID=4674;POINT (-38.427558 -3.537642)'))) / (select extract(epoch from '2026-07-06 17:52:09'::timestamp) - extract(epoch from '2026-07-06 17:52: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'), 47390, 'SRID=4674;POINT (-38.427617 -3.537784)', '2026-07-06 17:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427558 -3.537642)'), GeomFromEWKT('SRID=4674;POINT (-38.427617 -3.537784)'))) / (select extract(epoch from '2026-07-06 17:52:16'::timestamp) - extract(epoch from '2026-07-06 17:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427558 -3.537642)'), GeomFromEWKT('SRID=4674;POINT (-38.427617 -3.537784)'))) / (select extract(epoch from '2026-07-06 17:52:16'::timestamp) - extract(epoch from '2026-07-06 17:52: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'), 47390, 'SRID=4674;POINT (-38.427662 -3.537889)', '2026-07-06 17:52:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427617 -3.537784)'), GeomFromEWKT('SRID=4674;POINT (-38.427662 -3.537889)'))) / (select extract(epoch from '2026-07-06 17:52:22'::timestamp) - extract(epoch from '2026-07-06 17:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427617 -3.537784)'), GeomFromEWKT('SRID=4674;POINT (-38.427662 -3.537889)'))) / (select extract(epoch from '2026-07-06 17:52:22'::timestamp) - extract(epoch from '2026-07-06 17:52: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'), 47390, 'SRID=4674;POINT (-38.4277 -3.537974)', '2026-07-06 17:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427662 -3.537889)'), GeomFromEWKT('SRID=4674;POINT (-38.4277 -3.537974)'))) / (select extract(epoch from '2026-07-06 17:52:26'::timestamp) - extract(epoch from '2026-07-06 17:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427662 -3.537889)'), GeomFromEWKT('SRID=4674;POINT (-38.4277 -3.537974)'))) / (select extract(epoch from '2026-07-06 17:52:26'::timestamp) - extract(epoch from '2026-07-06 17:52: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'), 47390, 'SRID=4674;POINT (-38.427746 -3.53807)', '2026-07-06 17:52:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4277 -3.537974)'), GeomFromEWKT('SRID=4674;POINT (-38.427746 -3.53807)'))) / (select extract(epoch from '2026-07-06 17:52:31'::timestamp) - extract(epoch from '2026-07-06 17:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4277 -3.537974)'), GeomFromEWKT('SRID=4674;POINT (-38.427746 -3.53807)'))) / (select extract(epoch from '2026-07-06 17:52:31'::timestamp) - extract(epoch from '2026-07-06 17:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.427814 -3.538223)', '2026-07-06 17:52:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427746 -3.53807)'), GeomFromEWKT('SRID=4674;POINT (-38.427814 -3.538223)'))) / (select extract(epoch from '2026-07-06 17:52:39'::timestamp) - extract(epoch from '2026-07-06 17:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427746 -3.53807)'), GeomFromEWKT('SRID=4674;POINT (-38.427814 -3.538223)'))) / (select extract(epoch from '2026-07-06 17:52:39'::timestamp) - extract(epoch from '2026-07-06 17:52: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'), 47390, 'SRID=4674;POINT (-38.427884 -3.538366)', '2026-07-06 17:52:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427814 -3.538223)'), GeomFromEWKT('SRID=4674;POINT (-38.427884 -3.538366)'))) / (select extract(epoch from '2026-07-06 17:52:47'::timestamp) - extract(epoch from '2026-07-06 17:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427814 -3.538223)'), GeomFromEWKT('SRID=4674;POINT (-38.427884 -3.538366)'))) / (select extract(epoch from '2026-07-06 17:52:47'::timestamp) - extract(epoch from '2026-07-06 17:52: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'), 47390, 'SRID=4674;POINT (-38.427931 -3.53846)', '2026-07-06 17:52:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427884 -3.538366)'), GeomFromEWKT('SRID=4674;POINT (-38.427931 -3.53846)'))) / (select extract(epoch from '2026-07-06 17:52:52'::timestamp) - extract(epoch from '2026-07-06 17:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427884 -3.538366)'), GeomFromEWKT('SRID=4674;POINT (-38.427931 -3.53846)'))) / (select extract(epoch from '2026-07-06 17:52:52'::timestamp) - extract(epoch from '2026-07-06 17:52: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'), 47390, 'SRID=4674;POINT (-38.427974 -3.538539)', '2026-07-06 17:52:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427931 -3.53846)'), GeomFromEWKT('SRID=4674;POINT (-38.427974 -3.538539)'))) / (select extract(epoch from '2026-07-06 17:52:56'::timestamp) - extract(epoch from '2026-07-06 17:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427931 -3.53846)'), GeomFromEWKT('SRID=4674;POINT (-38.427974 -3.538539)'))) / (select extract(epoch from '2026-07-06 17:52:56'::timestamp) - extract(epoch from '2026-07-06 17:52: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'), 47390, 'SRID=4674;POINT (-38.42802 -3.538635)', '2026-07-06 17:53:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427974 -3.538539)'), GeomFromEWKT('SRID=4674;POINT (-38.42802 -3.538635)'))) / (select extract(epoch from '2026-07-06 17:53:01'::timestamp) - extract(epoch from '2026-07-06 17:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427974 -3.538539)'), GeomFromEWKT('SRID=4674;POINT (-38.42802 -3.538635)'))) / (select extract(epoch from '2026-07-06 17:53:01'::timestamp) - extract(epoch from '2026-07-06 17:52: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'), 47390, 'SRID=4674;POINT (-38.42807 -3.538746)', '2026-07-06 17:53:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42802 -3.538635)'), GeomFromEWKT('SRID=4674;POINT (-38.42807 -3.538746)'))) / (select extract(epoch from '2026-07-06 17:53:07'::timestamp) - extract(epoch from '2026-07-06 17:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42802 -3.538635)'), GeomFromEWKT('SRID=4674;POINT (-38.42807 -3.538746)'))) / (select extract(epoch from '2026-07-06 17:53:07'::timestamp) - extract(epoch from '2026-07-06 17:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.428118 -3.538887)', '2026-07-06 17:53:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42807 -3.538746)'), GeomFromEWKT('SRID=4674;POINT (-38.428118 -3.538887)'))) / (select extract(epoch from '2026-07-06 17:53:14'::timestamp) - extract(epoch from '2026-07-06 17:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42807 -3.538746)'), GeomFromEWKT('SRID=4674;POINT (-38.428118 -3.538887)'))) / (select extract(epoch from '2026-07-06 17:53:14'::timestamp) - extract(epoch from '2026-07-06 17:53: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'), 47390, 'SRID=4674;POINT (-38.428172 -3.539018)', '2026-07-06 17:53:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428118 -3.538887)'), GeomFromEWKT('SRID=4674;POINT (-38.428172 -3.539018)'))) / (select extract(epoch from '2026-07-06 17:53:21'::timestamp) - extract(epoch from '2026-07-06 17:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428118 -3.538887)'), GeomFromEWKT('SRID=4674;POINT (-38.428172 -3.539018)'))) / (select extract(epoch from '2026-07-06 17:53:21'::timestamp) - extract(epoch from '2026-07-06 17:53: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'), 47390, 'SRID=4674;POINT (-38.428201 -3.539146)', '2026-07-06 17:53:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428172 -3.539018)'), GeomFromEWKT('SRID=4674;POINT (-38.428201 -3.539146)'))) / (select extract(epoch from '2026-07-06 17:53:27'::timestamp) - extract(epoch from '2026-07-06 17:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428172 -3.539018)'), GeomFromEWKT('SRID=4674;POINT (-38.428201 -3.539146)'))) / (select extract(epoch from '2026-07-06 17:53:27'::timestamp) - extract(epoch from '2026-07-06 17:53: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'), 47390, 'SRID=4674;POINT (-38.42824 -3.5393)', '2026-07-06 17:53:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428201 -3.539146)'), GeomFromEWKT('SRID=4674;POINT (-38.42824 -3.5393)'))) / (select extract(epoch from '2026-07-06 17:53:34'::timestamp) - extract(epoch from '2026-07-06 17:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428201 -3.539146)'), GeomFromEWKT('SRID=4674;POINT (-38.42824 -3.5393)'))) / (select extract(epoch from '2026-07-06 17:53:34'::timestamp) - extract(epoch from '2026-07-06 17:53: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'), 47390, 'SRID=4674;POINT (-38.428268 -3.539421)', '2026-07-06 17:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42824 -3.5393)'), GeomFromEWKT('SRID=4674;POINT (-38.428268 -3.539421)'))) / (select extract(epoch from '2026-07-06 17:53:40'::timestamp) - extract(epoch from '2026-07-06 17:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42824 -3.5393)'), GeomFromEWKT('SRID=4674;POINT (-38.428268 -3.539421)'))) / (select extract(epoch from '2026-07-06 17:53:40'::timestamp) - extract(epoch from '2026-07-06 17:53: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'), 47390, 'SRID=4674;POINT (-38.428295 -3.539594)', '2026-07-06 17:53:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428268 -3.539421)'), GeomFromEWKT('SRID=4674;POINT (-38.428295 -3.539594)'))) / (select extract(epoch from '2026-07-06 17:53:48'::timestamp) - extract(epoch from '2026-07-06 17:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428268 -3.539421)'), GeomFromEWKT('SRID=4674;POINT (-38.428295 -3.539594)'))) / (select extract(epoch from '2026-07-06 17:53:48'::timestamp) - extract(epoch from '2026-07-06 17:53: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'), 47390, 'SRID=4674;POINT (-38.428326 -3.539749)', '2026-07-06 17:53:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428295 -3.539594)'), GeomFromEWKT('SRID=4674;POINT (-38.428326 -3.539749)'))) / (select extract(epoch from '2026-07-06 17:53:55'::timestamp) - extract(epoch from '2026-07-06 17:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428295 -3.539594)'), GeomFromEWKT('SRID=4674;POINT (-38.428326 -3.539749)'))) / (select extract(epoch from '2026-07-06 17:53:55'::timestamp) - extract(epoch from '2026-07-06 17:53: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'), 47390, 'SRID=4674;POINT (-38.428335 -3.539866)', '2026-07-06 17:54:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428326 -3.539749)'), GeomFromEWKT('SRID=4674;POINT (-38.428335 -3.539866)'))) / (select extract(epoch from '2026-07-06 17:54:00'::timestamp) - extract(epoch from '2026-07-06 17:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428326 -3.539749)'), GeomFromEWKT('SRID=4674;POINT (-38.428335 -3.539866)'))) / (select extract(epoch from '2026-07-06 17:54:00'::timestamp) - extract(epoch from '2026-07-06 17:53: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'), 47390, 'SRID=4674;POINT (-38.428349 -3.540022)', '2026-07-06 17:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428335 -3.539866)'), GeomFromEWKT('SRID=4674;POINT (-38.428349 -3.540022)'))) / (select extract(epoch from '2026-07-06 17:54:07'::timestamp) - extract(epoch from '2026-07-06 17:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428335 -3.539866)'), GeomFromEWKT('SRID=4674;POINT (-38.428349 -3.540022)'))) / (select extract(epoch from '2026-07-06 17:54:07'::timestamp) - extract(epoch from '2026-07-06 17:54: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'), 47390, 'SRID=4674;POINT (-38.428385 -3.540156)', '2026-07-06 17:54:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428349 -3.540022)'), GeomFromEWKT('SRID=4674;POINT (-38.428385 -3.540156)'))) / (select extract(epoch from '2026-07-06 17:54:13'::timestamp) - extract(epoch from '2026-07-06 17:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428349 -3.540022)'), GeomFromEWKT('SRID=4674;POINT (-38.428385 -3.540156)'))) / (select extract(epoch from '2026-07-06 17:54:13'::timestamp) - extract(epoch from '2026-07-06 17:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.428422 -3.540262)', '2026-07-06 17:54:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428385 -3.540156)'), GeomFromEWKT('SRID=4674;POINT (-38.428422 -3.540262)'))) / (select extract(epoch from '2026-07-06 17:54:18'::timestamp) - extract(epoch from '2026-07-06 17:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428385 -3.540156)'), GeomFromEWKT('SRID=4674;POINT (-38.428422 -3.540262)'))) / (select extract(epoch from '2026-07-06 17:54:18'::timestamp) - extract(epoch from '2026-07-06 17:54: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'), 47390, 'SRID=4674;POINT (-38.428479 -3.540389)', '2026-07-06 17:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428422 -3.540262)'), GeomFromEWKT('SRID=4674;POINT (-38.428479 -3.540389)'))) / (select extract(epoch from '2026-07-06 17:54:25'::timestamp) - extract(epoch from '2026-07-06 17:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428422 -3.540262)'), GeomFromEWKT('SRID=4674;POINT (-38.428479 -3.540389)'))) / (select extract(epoch from '2026-07-06 17:54:25'::timestamp) - extract(epoch from '2026-07-06 17:54: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'), 47390, 'SRID=4674;POINT (-38.428533 -3.540521)', '2026-07-06 17:54:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428479 -3.540389)'), GeomFromEWKT('SRID=4674;POINT (-38.428533 -3.540521)'))) / (select extract(epoch from '2026-07-06 17:54:32'::timestamp) - extract(epoch from '2026-07-06 17:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428479 -3.540389)'), GeomFromEWKT('SRID=4674;POINT (-38.428533 -3.540521)'))) / (select extract(epoch from '2026-07-06 17:54:32'::timestamp) - extract(epoch from '2026-07-06 17:54: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'), 47390, 'SRID=4674;POINT (-38.428583 -3.540614)', '2026-07-06 17:54:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428533 -3.540521)'), GeomFromEWKT('SRID=4674;POINT (-38.428583 -3.540614)'))) / (select extract(epoch from '2026-07-06 17:54:37'::timestamp) - extract(epoch from '2026-07-06 17:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428533 -3.540521)'), GeomFromEWKT('SRID=4674;POINT (-38.428583 -3.540614)'))) / (select extract(epoch from '2026-07-06 17:54:37'::timestamp) - extract(epoch from '2026-07-06 17:54: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'), 47390, 'SRID=4674;POINT (-38.428617 -3.540714)', '2026-07-06 17:54:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428583 -3.540614)'), GeomFromEWKT('SRID=4674;POINT (-38.428617 -3.540714)'))) / (select extract(epoch from '2026-07-06 17:54:42'::timestamp) - extract(epoch from '2026-07-06 17:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428583 -3.540614)'), GeomFromEWKT('SRID=4674;POINT (-38.428617 -3.540714)'))) / (select extract(epoch from '2026-07-06 17:54:42'::timestamp) - extract(epoch from '2026-07-06 17:54: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'), 47390, 'SRID=4674;POINT (-38.428676 -3.540853)', '2026-07-06 17:54:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428617 -3.540714)'), GeomFromEWKT('SRID=4674;POINT (-38.428676 -3.540853)'))) / (select extract(epoch from '2026-07-06 17:54:49'::timestamp) - extract(epoch from '2026-07-06 17:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428617 -3.540714)'), GeomFromEWKT('SRID=4674;POINT (-38.428676 -3.540853)'))) / (select extract(epoch from '2026-07-06 17:54:49'::timestamp) - extract(epoch from '2026-07-06 17:54: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'), 47390, 'SRID=4674;POINT (-38.428721 -3.540947)', '2026-07-06 17:54:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428676 -3.540853)'), GeomFromEWKT('SRID=4674;POINT (-38.428721 -3.540947)'))) / (select extract(epoch from '2026-07-06 17:54:54'::timestamp) - extract(epoch from '2026-07-06 17:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428676 -3.540853)'), GeomFromEWKT('SRID=4674;POINT (-38.428721 -3.540947)'))) / (select extract(epoch from '2026-07-06 17:54:54'::timestamp) - extract(epoch from '2026-07-06 17:54: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'), 47390, 'SRID=4674;POINT (-38.428777 -3.54107)', '2026-07-06 17:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428721 -3.540947)'), GeomFromEWKT('SRID=4674;POINT (-38.428777 -3.54107)'))) / (select extract(epoch from '2026-07-06 17:55:00'::timestamp) - extract(epoch from '2026-07-06 17:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428721 -3.540947)'), GeomFromEWKT('SRID=4674;POINT (-38.428777 -3.54107)'))) / (select extract(epoch from '2026-07-06 17:55:00'::timestamp) - extract(epoch from '2026-07-06 17:54: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'), 47390, 'SRID=4674;POINT (-38.428845 -3.541203)', '2026-07-06 17:55:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428777 -3.54107)'), GeomFromEWKT('SRID=4674;POINT (-38.428845 -3.541203)'))) / (select extract(epoch from '2026-07-06 17:55:07'::timestamp) - extract(epoch from '2026-07-06 17:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428777 -3.54107)'), GeomFromEWKT('SRID=4674;POINT (-38.428845 -3.541203)'))) / (select extract(epoch from '2026-07-06 17:55:07'::timestamp) - extract(epoch from '2026-07-06 17:55: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'), 47390, 'SRID=4674;POINT (-38.428883 -3.541277)', '2026-07-06 17:55:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428845 -3.541203)'), GeomFromEWKT('SRID=4674;POINT (-38.428883 -3.541277)'))) / (select extract(epoch from '2026-07-06 17:55:12'::timestamp) - extract(epoch from '2026-07-06 17:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428845 -3.541203)'), GeomFromEWKT('SRID=4674;POINT (-38.428883 -3.541277)'))) / (select extract(epoch from '2026-07-06 17:55:12'::timestamp) - extract(epoch from '2026-07-06 17:55: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'), 47390, 'SRID=4674;POINT (-38.428944 -3.541405)', '2026-07-06 17:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428883 -3.541277)'), GeomFromEWKT('SRID=4674;POINT (-38.428944 -3.541405)'))) / (select extract(epoch from '2026-07-06 17:55:19'::timestamp) - extract(epoch from '2026-07-06 17:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428883 -3.541277)'), GeomFromEWKT('SRID=4674;POINT (-38.428944 -3.541405)'))) / (select extract(epoch from '2026-07-06 17:55:19'::timestamp) - extract(epoch from '2026-07-06 17:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.428983 -3.541491)', '2026-07-06 17:55:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428944 -3.541405)'), GeomFromEWKT('SRID=4674;POINT (-38.428983 -3.541491)'))) / (select extract(epoch from '2026-07-06 17:55:24'::timestamp) - extract(epoch from '2026-07-06 17:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428944 -3.541405)'), GeomFromEWKT('SRID=4674;POINT (-38.428983 -3.541491)'))) / (select extract(epoch from '2026-07-06 17:55:24'::timestamp) - extract(epoch from '2026-07-06 17:55: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'), 47390, 'SRID=4674;POINT (-38.429032 -3.541593)', '2026-07-06 17:55:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428983 -3.541491)'), GeomFromEWKT('SRID=4674;POINT (-38.429032 -3.541593)'))) / (select extract(epoch from '2026-07-06 17:55:29'::timestamp) - extract(epoch from '2026-07-06 17:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428983 -3.541491)'), GeomFromEWKT('SRID=4674;POINT (-38.429032 -3.541593)'))) / (select extract(epoch from '2026-07-06 17:55:29'::timestamp) - extract(epoch from '2026-07-06 17:55: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'), 47390, 'SRID=4674;POINT (-38.429067 -3.541683)', '2026-07-06 17:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429032 -3.541593)'), GeomFromEWKT('SRID=4674;POINT (-38.429067 -3.541683)'))) / (select extract(epoch from '2026-07-06 17:55:34'::timestamp) - extract(epoch from '2026-07-06 17:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429032 -3.541593)'), GeomFromEWKT('SRID=4674;POINT (-38.429067 -3.541683)'))) / (select extract(epoch from '2026-07-06 17:55:34'::timestamp) - extract(epoch from '2026-07-06 17:55: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'), 47390, 'SRID=4674;POINT (-38.42911 -3.541772)', '2026-07-06 17:55:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429067 -3.541683)'), GeomFromEWKT('SRID=4674;POINT (-38.42911 -3.541772)'))) / (select extract(epoch from '2026-07-06 17:55:39'::timestamp) - extract(epoch from '2026-07-06 17:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429067 -3.541683)'), GeomFromEWKT('SRID=4674;POINT (-38.42911 -3.541772)'))) / (select extract(epoch from '2026-07-06 17:55:39'::timestamp) - extract(epoch from '2026-07-06 17:55: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'), 47390, 'SRID=4674;POINT (-38.429122 -3.541819)', '2026-07-06 17:55:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42911 -3.541772)'), GeomFromEWKT('SRID=4674;POINT (-38.429122 -3.541819)'))) / (select extract(epoch from '2026-07-06 17:55:42'::timestamp) - extract(epoch from '2026-07-06 17:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42911 -3.541772)'), GeomFromEWKT('SRID=4674;POINT (-38.429122 -3.541819)'))) / (select extract(epoch from '2026-07-06 17:55:42'::timestamp) - extract(epoch from '2026-07-06 17:55: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'), 47390, 'SRID=4674;POINT (-38.429147 -3.541856)', '2026-07-06 17:55:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429122 -3.541819)'), GeomFromEWKT('SRID=4674;POINT (-38.429147 -3.541856)'))) / (select extract(epoch from '2026-07-06 17:55:44'::timestamp) - extract(epoch from '2026-07-06 17:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429122 -3.541819)'), GeomFromEWKT('SRID=4674;POINT (-38.429147 -3.541856)'))) / (select extract(epoch from '2026-07-06 17:55:44'::timestamp) - extract(epoch from '2026-07-06 17:55: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'), 47390, 'SRID=4674;POINT (-38.429202 -3.541958)', '2026-07-06 17:55:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429147 -3.541856)'), GeomFromEWKT('SRID=4674;POINT (-38.429202 -3.541958)'))) / (select extract(epoch from '2026-07-06 17:55:50'::timestamp) - extract(epoch from '2026-07-06 17:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429147 -3.541856)'), GeomFromEWKT('SRID=4674;POINT (-38.429202 -3.541958)'))) / (select extract(epoch from '2026-07-06 17:55:50'::timestamp) - extract(epoch from '2026-07-06 17:55: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'), 47390, 'SRID=4674;POINT (-38.429264 -3.542073)', '2026-07-06 17:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429202 -3.541958)'), GeomFromEWKT('SRID=4674;POINT (-38.429264 -3.542073)'))) / (select extract(epoch from '2026-07-06 17:55:56'::timestamp) - extract(epoch from '2026-07-06 17:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429202 -3.541958)'), GeomFromEWKT('SRID=4674;POINT (-38.429264 -3.542073)'))) / (select extract(epoch from '2026-07-06 17:55:56'::timestamp) - extract(epoch from '2026-07-06 17:55: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'), 47390, 'SRID=4674;POINT (-38.429321 -3.542196)', '2026-07-06 17:56:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429264 -3.542073)'), GeomFromEWKT('SRID=4674;POINT (-38.429321 -3.542196)'))) / (select extract(epoch from '2026-07-06 17:56:02'::timestamp) - extract(epoch from '2026-07-06 17:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429264 -3.542073)'), GeomFromEWKT('SRID=4674;POINT (-38.429321 -3.542196)'))) / (select extract(epoch from '2026-07-06 17:56:02'::timestamp) - extract(epoch from '2026-07-06 17:55: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'), 47390, 'SRID=4674;POINT (-38.429357 -3.542324)', '2026-07-06 17:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429321 -3.542196)'), GeomFromEWKT('SRID=4674;POINT (-38.429357 -3.542324)'))) / (select extract(epoch from '2026-07-06 17:56:08'::timestamp) - extract(epoch from '2026-07-06 17:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429321 -3.542196)'), GeomFromEWKT('SRID=4674;POINT (-38.429357 -3.542324)'))) / (select extract(epoch from '2026-07-06 17:56:08'::timestamp) - extract(epoch from '2026-07-06 17:56: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'), 47390, 'SRID=4674;POINT (-38.429362 -3.542345)', '2026-07-06 17:56:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429357 -3.542324)'), GeomFromEWKT('SRID=4674;POINT (-38.429362 -3.542345)'))) / (select extract(epoch from '2026-07-06 17:56:09'::timestamp) - extract(epoch from '2026-07-06 17:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429357 -3.542324)'), GeomFromEWKT('SRID=4674;POINT (-38.429362 -3.542345)'))) / (select extract(epoch from '2026-07-06 17:56:09'::timestamp) - extract(epoch from '2026-07-06 17:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.429377 -3.542419)', '2026-07-06 17:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429362 -3.542345)'), GeomFromEWKT('SRID=4674;POINT (-38.429377 -3.542419)'))) / (select extract(epoch from '2026-07-06 17:56:13'::timestamp) - extract(epoch from '2026-07-06 17:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429362 -3.542345)'), GeomFromEWKT('SRID=4674;POINT (-38.429377 -3.542419)'))) / (select extract(epoch from '2026-07-06 17:56:13'::timestamp) - extract(epoch from '2026-07-06 17:56: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'), 47390, 'SRID=4674;POINT (-38.429378 -3.54256)', '2026-07-06 17:56:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429377 -3.542419)'), GeomFromEWKT('SRID=4674;POINT (-38.429378 -3.54256)'))) / (select extract(epoch from '2026-07-06 17:56:20'::timestamp) - extract(epoch from '2026-07-06 17:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429377 -3.542419)'), GeomFromEWKT('SRID=4674;POINT (-38.429378 -3.54256)'))) / (select extract(epoch from '2026-07-06 17:56:20'::timestamp) - extract(epoch from '2026-07-06 17:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.429409 -3.542699)', '2026-07-06 17:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429378 -3.54256)'), GeomFromEWKT('SRID=4674;POINT (-38.429409 -3.542699)'))) / (select extract(epoch from '2026-07-06 17:56:26'::timestamp) - extract(epoch from '2026-07-06 17:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429378 -3.54256)'), GeomFromEWKT('SRID=4674;POINT (-38.429409 -3.542699)'))) / (select extract(epoch from '2026-07-06 17:56:26'::timestamp) - extract(epoch from '2026-07-06 17:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.429478 -3.542835)', '2026-07-06 17:56:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429409 -3.542699)'), GeomFromEWKT('SRID=4674;POINT (-38.429478 -3.542835)'))) / (select extract(epoch from '2026-07-06 17:56:33'::timestamp) - extract(epoch from '2026-07-06 17:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429409 -3.542699)'), GeomFromEWKT('SRID=4674;POINT (-38.429478 -3.542835)'))) / (select extract(epoch from '2026-07-06 17:56:33'::timestamp) - extract(epoch from '2026-07-06 17:56: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'), 47390, 'SRID=4674;POINT (-38.429532 -3.542945)', '2026-07-06 17:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429478 -3.542835)'), GeomFromEWKT('SRID=4674;POINT (-38.429532 -3.542945)'))) / (select extract(epoch from '2026-07-06 17:56:38'::timestamp) - extract(epoch from '2026-07-06 17:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429478 -3.542835)'), GeomFromEWKT('SRID=4674;POINT (-38.429532 -3.542945)'))) / (select extract(epoch from '2026-07-06 17:56:38'::timestamp) - extract(epoch from '2026-07-06 17:56: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'), 47390, 'SRID=4674;POINT (-38.429584 -3.543034)', '2026-07-06 17:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429532 -3.542945)'), GeomFromEWKT('SRID=4674;POINT (-38.429584 -3.543034)'))) / (select extract(epoch from '2026-07-06 17:56:42'::timestamp) - extract(epoch from '2026-07-06 17:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429532 -3.542945)'), GeomFromEWKT('SRID=4674;POINT (-38.429584 -3.543034)'))) / (select extract(epoch from '2026-07-06 17:56:42'::timestamp) - extract(epoch from '2026-07-06 17:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.429644 -3.543187)', '2026-07-06 17:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429584 -3.543034)'), GeomFromEWKT('SRID=4674;POINT (-38.429644 -3.543187)'))) / (select extract(epoch from '2026-07-06 17:56:49'::timestamp) - extract(epoch from '2026-07-06 17:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429584 -3.543034)'), GeomFromEWKT('SRID=4674;POINT (-38.429644 -3.543187)'))) / (select extract(epoch from '2026-07-06 17:56:49'::timestamp) - extract(epoch from '2026-07-06 17:56: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'), 47390, 'SRID=4674;POINT (-38.429696 -3.543315)', '2026-07-06 17:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429644 -3.543187)'), GeomFromEWKT('SRID=4674;POINT (-38.429696 -3.543315)'))) / (select extract(epoch from '2026-07-06 17:56:55'::timestamp) - extract(epoch from '2026-07-06 17:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429644 -3.543187)'), GeomFromEWKT('SRID=4674;POINT (-38.429696 -3.543315)'))) / (select extract(epoch from '2026-07-06 17:56:55'::timestamp) - extract(epoch from '2026-07-06 17:56: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'), 47390, 'SRID=4674;POINT (-38.429731 -3.543455)', '2026-07-06 17:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429696 -3.543315)'), GeomFromEWKT('SRID=4674;POINT (-38.429731 -3.543455)'))) / (select extract(epoch from '2026-07-06 17:57:02'::timestamp) - extract(epoch from '2026-07-06 17:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429696 -3.543315)'), GeomFromEWKT('SRID=4674;POINT (-38.429731 -3.543455)'))) / (select extract(epoch from '2026-07-06 17:57:02'::timestamp) - extract(epoch from '2026-07-06 17:56: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'), 47390, 'SRID=4674;POINT (-38.429752 -3.543596)', '2026-07-06 17:57:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429731 -3.543455)'), GeomFromEWKT('SRID=4674;POINT (-38.429752 -3.543596)'))) / (select extract(epoch from '2026-07-06 17:57:09'::timestamp) - extract(epoch from '2026-07-06 17:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429731 -3.543455)'), GeomFromEWKT('SRID=4674;POINT (-38.429752 -3.543596)'))) / (select extract(epoch from '2026-07-06 17:57:09'::timestamp) - extract(epoch from '2026-07-06 17:57: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'), 47390, 'SRID=4674;POINT (-38.429777 -3.543707)', '2026-07-06 17:57:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429752 -3.543596)'), GeomFromEWKT('SRID=4674;POINT (-38.429777 -3.543707)'))) / (select extract(epoch from '2026-07-06 17:57:14'::timestamp) - extract(epoch from '2026-07-06 17:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429752 -3.543596)'), GeomFromEWKT('SRID=4674;POINT (-38.429777 -3.543707)'))) / (select extract(epoch from '2026-07-06 17:57:14'::timestamp) - extract(epoch from '2026-07-06 17:57: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'), 47390, 'SRID=4674;POINT (-38.429785 -3.54381)', '2026-07-06 17:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429777 -3.543707)'), GeomFromEWKT('SRID=4674;POINT (-38.429785 -3.54381)'))) / (select extract(epoch from '2026-07-06 17:57:19'::timestamp) - extract(epoch from '2026-07-06 17:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429777 -3.543707)'), GeomFromEWKT('SRID=4674;POINT (-38.429785 -3.54381)'))) / (select extract(epoch from '2026-07-06 17:57:19'::timestamp) - extract(epoch from '2026-07-06 17:57: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'), 47390, 'SRID=4674;POINT (-38.429809 -3.544004)', '2026-07-06 17:57:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429785 -3.54381)'), GeomFromEWKT('SRID=4674;POINT (-38.429809 -3.544004)'))) / (select extract(epoch from '2026-07-06 17:57:28'::timestamp) - extract(epoch from '2026-07-06 17:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429785 -3.54381)'), GeomFromEWKT('SRID=4674;POINT (-38.429809 -3.544004)'))) / (select extract(epoch from '2026-07-06 17:57:28'::timestamp) - extract(epoch from '2026-07-06 17:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.429844 -3.544141)', '2026-07-06 17:57:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429809 -3.544004)'), GeomFromEWKT('SRID=4674;POINT (-38.429844 -3.544141)'))) / (select extract(epoch from '2026-07-06 17:57:35'::timestamp) - extract(epoch from '2026-07-06 17:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429809 -3.544004)'), GeomFromEWKT('SRID=4674;POINT (-38.429844 -3.544141)'))) / (select extract(epoch from '2026-07-06 17:57:35'::timestamp) - extract(epoch from '2026-07-06 17:57: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'), 47390, 'SRID=4674;POINT (-38.429853 -3.544246)', '2026-07-06 17:57:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429844 -3.544141)'), GeomFromEWKT('SRID=4674;POINT (-38.429853 -3.544246)'))) / (select extract(epoch from '2026-07-06 17:57:40'::timestamp) - extract(epoch from '2026-07-06 17:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429844 -3.544141)'), GeomFromEWKT('SRID=4674;POINT (-38.429853 -3.544246)'))) / (select extract(epoch from '2026-07-06 17:57:40'::timestamp) - extract(epoch from '2026-07-06 17:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.429872 -3.544322)', '2026-07-06 17:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429853 -3.544246)'), GeomFromEWKT('SRID=4674;POINT (-38.429872 -3.544322)'))) / (select extract(epoch from '2026-07-06 17:57:44'::timestamp) - extract(epoch from '2026-07-06 17:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429853 -3.544246)'), GeomFromEWKT('SRID=4674;POINT (-38.429872 -3.544322)'))) / (select extract(epoch from '2026-07-06 17:57:44'::timestamp) - extract(epoch from '2026-07-06 17:57: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'), 47390, 'SRID=4674;POINT (-38.429878 -3.544337)', '2026-07-06 17:57:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429872 -3.544322)'), GeomFromEWKT('SRID=4674;POINT (-38.429878 -3.544337)'))) / (select extract(epoch from '2026-07-06 17:57:45'::timestamp) - extract(epoch from '2026-07-06 17:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429872 -3.544322)'), GeomFromEWKT('SRID=4674;POINT (-38.429878 -3.544337)'))) / (select extract(epoch from '2026-07-06 17:57:45'::timestamp) - extract(epoch from '2026-07-06 17:57: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'), 47390, 'SRID=4674;POINT (-38.42991 -3.544452)', '2026-07-06 17:57:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429878 -3.544337)'), GeomFromEWKT('SRID=4674;POINT (-38.42991 -3.544452)'))) / (select extract(epoch from '2026-07-06 17:57:51'::timestamp) - extract(epoch from '2026-07-06 17:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429878 -3.544337)'), GeomFromEWKT('SRID=4674;POINT (-38.42991 -3.544452)'))) / (select extract(epoch from '2026-07-06 17:57:51'::timestamp) - extract(epoch from '2026-07-06 17:57: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'), 47390, 'SRID=4674;POINT (-38.429958 -3.54458)', '2026-07-06 17:57:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42991 -3.544452)'), GeomFromEWKT('SRID=4674;POINT (-38.429958 -3.54458)'))) / (select extract(epoch from '2026-07-06 17:57:58'::timestamp) - extract(epoch from '2026-07-06 17:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42991 -3.544452)'), GeomFromEWKT('SRID=4674;POINT (-38.429958 -3.54458)'))) / (select extract(epoch from '2026-07-06 17:57:58'::timestamp) - extract(epoch from '2026-07-06 17:57: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'), 47390, 'SRID=4674;POINT (-38.430012 -3.544739)', '2026-07-06 17:58:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429958 -3.54458)'), GeomFromEWKT('SRID=4674;POINT (-38.430012 -3.544739)'))) / (select extract(epoch from '2026-07-06 17:58:06'::timestamp) - extract(epoch from '2026-07-06 17:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429958 -3.54458)'), GeomFromEWKT('SRID=4674;POINT (-38.430012 -3.544739)'))) / (select extract(epoch from '2026-07-06 17:58:06'::timestamp) - extract(epoch from '2026-07-06 17:57: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'), 47390, 'SRID=4674;POINT (-38.430058 -3.544874)', '2026-07-06 17:58:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430012 -3.544739)'), GeomFromEWKT('SRID=4674;POINT (-38.430058 -3.544874)'))) / (select extract(epoch from '2026-07-06 17:58:13'::timestamp) - extract(epoch from '2026-07-06 17:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430012 -3.544739)'), GeomFromEWKT('SRID=4674;POINT (-38.430058 -3.544874)'))) / (select extract(epoch from '2026-07-06 17:58:13'::timestamp) - extract(epoch from '2026-07-06 17:58: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'), 47390, 'SRID=4674;POINT (-38.430101 -3.545)', '2026-07-06 17:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430058 -3.544874)'), GeomFromEWKT('SRID=4674;POINT (-38.430101 -3.545)'))) / (select extract(epoch from '2026-07-06 17:58:20'::timestamp) - extract(epoch from '2026-07-06 17:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430058 -3.544874)'), GeomFromEWKT('SRID=4674;POINT (-38.430101 -3.545)'))) / (select extract(epoch from '2026-07-06 17:58:20'::timestamp) - extract(epoch from '2026-07-06 17:58: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'), 47390, 'SRID=4674;POINT (-38.430145 -3.545141)', '2026-07-06 17:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430101 -3.545)'), GeomFromEWKT('SRID=4674;POINT (-38.430145 -3.545141)'))) / (select extract(epoch from '2026-07-06 17:58:27'::timestamp) - extract(epoch from '2026-07-06 17:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430101 -3.545)'), GeomFromEWKT('SRID=4674;POINT (-38.430145 -3.545141)'))) / (select extract(epoch from '2026-07-06 17:58:27'::timestamp) - extract(epoch from '2026-07-06 17:58: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'), 47390, 'SRID=4674;POINT (-38.430194 -3.545307)', '2026-07-06 17:58:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430145 -3.545141)'), GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.545307)'))) / (select extract(epoch from '2026-07-06 17:58:35'::timestamp) - extract(epoch from '2026-07-06 17:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430145 -3.545141)'), GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.545307)'))) / (select extract(epoch from '2026-07-06 17:58:35'::timestamp) - extract(epoch from '2026-07-06 17:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.430248 -3.545458)', '2026-07-06 17:58:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.545307)'), GeomFromEWKT('SRID=4674;POINT (-38.430248 -3.545458)'))) / (select extract(epoch from '2026-07-06 17:58:42'::timestamp) - extract(epoch from '2026-07-06 17:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.545307)'), GeomFromEWKT('SRID=4674;POINT (-38.430248 -3.545458)'))) / (select extract(epoch from '2026-07-06 17:58:42'::timestamp) - extract(epoch from '2026-07-06 17:58: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'), 47390, 'SRID=4674;POINT (-38.430287 -3.545562)', '2026-07-06 17:58:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430248 -3.545458)'), GeomFromEWKT('SRID=4674;POINT (-38.430287 -3.545562)'))) / (select extract(epoch from '2026-07-06 17:58:47'::timestamp) - extract(epoch from '2026-07-06 17:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430248 -3.545458)'), GeomFromEWKT('SRID=4674;POINT (-38.430287 -3.545562)'))) / (select extract(epoch from '2026-07-06 17:58:47'::timestamp) - extract(epoch from '2026-07-06 17:58: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'), 47390, 'SRID=4674;POINT (-38.430333 -3.545714)', '2026-07-06 17:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430287 -3.545562)'), GeomFromEWKT('SRID=4674;POINT (-38.430333 -3.545714)'))) / (select extract(epoch from '2026-07-06 17:58:54'::timestamp) - extract(epoch from '2026-07-06 17:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430287 -3.545562)'), GeomFromEWKT('SRID=4674;POINT (-38.430333 -3.545714)'))) / (select extract(epoch from '2026-07-06 17:58:54'::timestamp) - extract(epoch from '2026-07-06 17:58: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'), 47390, 'SRID=4674;POINT (-38.430407 -3.545873)', '2026-07-06 17:59:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430333 -3.545714)'), GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.545873)'))) / (select extract(epoch from '2026-07-06 17:59:02'::timestamp) - extract(epoch from '2026-07-06 17:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430333 -3.545714)'), GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.545873)'))) / (select extract(epoch from '2026-07-06 17:59:02'::timestamp) - extract(epoch from '2026-07-06 17:58: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'), 47390, 'SRID=4674;POINT (-38.430474 -3.546041)', '2026-07-06 17:59:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.545873)'), GeomFromEWKT('SRID=4674;POINT (-38.430474 -3.546041)'))) / (select extract(epoch from '2026-07-06 17:59:10'::timestamp) - extract(epoch from '2026-07-06 17:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.545873)'), GeomFromEWKT('SRID=4674;POINT (-38.430474 -3.546041)'))) / (select extract(epoch from '2026-07-06 17:59:10'::timestamp) - extract(epoch from '2026-07-06 17:59: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'), 47390, 'SRID=4674;POINT (-38.430531 -3.546158)', '2026-07-06 17:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430474 -3.546041)'), GeomFromEWKT('SRID=4674;POINT (-38.430531 -3.546158)'))) / (select extract(epoch from '2026-07-06 17:59:16'::timestamp) - extract(epoch from '2026-07-06 17:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430474 -3.546041)'), GeomFromEWKT('SRID=4674;POINT (-38.430531 -3.546158)'))) / (select extract(epoch from '2026-07-06 17:59:16'::timestamp) - extract(epoch from '2026-07-06 17:59: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'), 47390, 'SRID=4674;POINT (-38.430602 -3.546281)', '2026-07-06 17:59:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430531 -3.546158)'), GeomFromEWKT('SRID=4674;POINT (-38.430602 -3.546281)'))) / (select extract(epoch from '2026-07-06 17:59:22'::timestamp) - extract(epoch from '2026-07-06 17:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430531 -3.546158)'), GeomFromEWKT('SRID=4674;POINT (-38.430602 -3.546281)'))) / (select extract(epoch from '2026-07-06 17:59:22'::timestamp) - extract(epoch from '2026-07-06 17:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.430626 -3.546374)', '2026-07-06 17:59:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430602 -3.546281)'), GeomFromEWKT('SRID=4674;POINT (-38.430626 -3.546374)'))) / (select extract(epoch from '2026-07-06 17:59:27'::timestamp) - extract(epoch from '2026-07-06 17:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430602 -3.546281)'), GeomFromEWKT('SRID=4674;POINT (-38.430626 -3.546374)'))) / (select extract(epoch from '2026-07-06 17:59:27'::timestamp) - extract(epoch from '2026-07-06 17:59: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'), 47390, 'SRID=4674;POINT (-38.430657 -3.546488)', '2026-07-06 17:59:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430626 -3.546374)'), GeomFromEWKT('SRID=4674;POINT (-38.430657 -3.546488)'))) / (select extract(epoch from '2026-07-06 17:59:33'::timestamp) - extract(epoch from '2026-07-06 17:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430626 -3.546374)'), GeomFromEWKT('SRID=4674;POINT (-38.430657 -3.546488)'))) / (select extract(epoch from '2026-07-06 17:59:33'::timestamp) - extract(epoch from '2026-07-06 17:59: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'), 47390, 'SRID=4674;POINT (-38.430715 -3.546628)', '2026-07-06 17:59:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430657 -3.546488)'), GeomFromEWKT('SRID=4674;POINT (-38.430715 -3.546628)'))) / (select extract(epoch from '2026-07-06 17:59:40'::timestamp) - extract(epoch from '2026-07-06 17:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430657 -3.546488)'), GeomFromEWKT('SRID=4674;POINT (-38.430715 -3.546628)'))) / (select extract(epoch from '2026-07-06 17:59:40'::timestamp) - extract(epoch from '2026-07-06 17:59: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'), 47390, 'SRID=4674;POINT (-38.430779 -3.546748)', '2026-07-06 17:59:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430715 -3.546628)'), GeomFromEWKT('SRID=4674;POINT (-38.430779 -3.546748)'))) / (select extract(epoch from '2026-07-06 17:59:47'::timestamp) - extract(epoch from '2026-07-06 17:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430715 -3.546628)'), GeomFromEWKT('SRID=4674;POINT (-38.430779 -3.546748)'))) / (select extract(epoch from '2026-07-06 17:59:47'::timestamp) - extract(epoch from '2026-07-06 17:59: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'), 47390, 'SRID=4674;POINT (-38.430829 -3.546846)', '2026-07-06 17:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430779 -3.546748)'), GeomFromEWKT('SRID=4674;POINT (-38.430829 -3.546846)'))) / (select extract(epoch from '2026-07-06 17:59:53'::timestamp) - extract(epoch from '2026-07-06 17:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430779 -3.546748)'), GeomFromEWKT('SRID=4674;POINT (-38.430829 -3.546846)'))) / (select extract(epoch from '2026-07-06 17:59:53'::timestamp) - extract(epoch from '2026-07-06 17:59: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'), 47390, 'SRID=4674;POINT (-38.430897 -3.546963)', '2026-07-06 18:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430829 -3.546846)'), GeomFromEWKT('SRID=4674;POINT (-38.430897 -3.546963)'))) / (select extract(epoch from '2026-07-06 18:00:00'::timestamp) - extract(epoch from '2026-07-06 17:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430829 -3.546846)'), GeomFromEWKT('SRID=4674;POINT (-38.430897 -3.546963)'))) / (select extract(epoch from '2026-07-06 18:00:00'::timestamp) - extract(epoch from '2026-07-06 17:59: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'), 47390, 'SRID=4674;POINT (-38.430952 -3.547048)', '2026-07-06 18:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430897 -3.546963)'), GeomFromEWKT('SRID=4674;POINT (-38.430952 -3.547048)'))) / (select extract(epoch from '2026-07-06 18:00:05'::timestamp) - extract(epoch from '2026-07-06 18:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430897 -3.546963)'), GeomFromEWKT('SRID=4674;POINT (-38.430952 -3.547048)'))) / (select extract(epoch from '2026-07-06 18:00:05'::timestamp) - extract(epoch from '2026-07-06 18:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.430989 -3.547133)', '2026-07-06 18:00:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430952 -3.547048)'), GeomFromEWKT('SRID=4674;POINT (-38.430989 -3.547133)'))) / (select extract(epoch from '2026-07-06 18:00:10'::timestamp) - extract(epoch from '2026-07-06 18:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430952 -3.547048)'), GeomFromEWKT('SRID=4674;POINT (-38.430989 -3.547133)'))) / (select extract(epoch from '2026-07-06 18:00:10'::timestamp) - extract(epoch from '2026-07-06 18:00: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'), 47390, 'SRID=4674;POINT (-38.431049 -3.547239)', '2026-07-06 18:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430989 -3.547133)'), GeomFromEWKT('SRID=4674;POINT (-38.431049 -3.547239)'))) / (select extract(epoch from '2026-07-06 18:00:16'::timestamp) - extract(epoch from '2026-07-06 18:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430989 -3.547133)'), GeomFromEWKT('SRID=4674;POINT (-38.431049 -3.547239)'))) / (select extract(epoch from '2026-07-06 18:00:16'::timestamp) - extract(epoch from '2026-07-06 18:00: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'), 47390, 'SRID=4674;POINT (-38.431107 -3.547331)', '2026-07-06 18:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431049 -3.547239)'), GeomFromEWKT('SRID=4674;POINT (-38.431107 -3.547331)'))) / (select extract(epoch from '2026-07-06 18:00:21'::timestamp) - extract(epoch from '2026-07-06 18:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431049 -3.547239)'), GeomFromEWKT('SRID=4674;POINT (-38.431107 -3.547331)'))) / (select extract(epoch from '2026-07-06 18:00:21'::timestamp) - extract(epoch from '2026-07-06 18:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.431185 -3.54747)', '2026-07-06 18:00:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431107 -3.547331)'), GeomFromEWKT('SRID=4674;POINT (-38.431185 -3.54747)'))) / (select extract(epoch from '2026-07-06 18:00:29'::timestamp) - extract(epoch from '2026-07-06 18:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431107 -3.547331)'), GeomFromEWKT('SRID=4674;POINT (-38.431185 -3.54747)'))) / (select extract(epoch from '2026-07-06 18:00:29'::timestamp) - extract(epoch from '2026-07-06 18:00: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'), 47390, 'SRID=4674;POINT (-38.431255 -3.54761)', '2026-07-06 18:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431185 -3.54747)'), GeomFromEWKT('SRID=4674;POINT (-38.431255 -3.54761)'))) / (select extract(epoch from '2026-07-06 18:00:38'::timestamp) - extract(epoch from '2026-07-06 18:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431185 -3.54747)'), GeomFromEWKT('SRID=4674;POINT (-38.431255 -3.54761)'))) / (select extract(epoch from '2026-07-06 18:00:38'::timestamp) - extract(epoch from '2026-07-06 18:00: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'), 47390, 'SRID=4674;POINT (-38.431312 -3.547708)', '2026-07-06 18:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431255 -3.54761)'), GeomFromEWKT('SRID=4674;POINT (-38.431312 -3.547708)'))) / (select extract(epoch from '2026-07-06 18:00:44'::timestamp) - extract(epoch from '2026-07-06 18:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431255 -3.54761)'), GeomFromEWKT('SRID=4674;POINT (-38.431312 -3.547708)'))) / (select extract(epoch from '2026-07-06 18:00:44'::timestamp) - extract(epoch from '2026-07-06 18:00: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'), 47390, 'SRID=4674;POINT (-38.431366 -3.547822)', '2026-07-06 18:00:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431312 -3.547708)'), GeomFromEWKT('SRID=4674;POINT (-38.431366 -3.547822)'))) / (select extract(epoch from '2026-07-06 18:00:51'::timestamp) - extract(epoch from '2026-07-06 18:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431312 -3.547708)'), GeomFromEWKT('SRID=4674;POINT (-38.431366 -3.547822)'))) / (select extract(epoch from '2026-07-06 18:00:51'::timestamp) - extract(epoch from '2026-07-06 18:00: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'), 47390, 'SRID=4674;POINT (-38.431426 -3.547944)', '2026-07-06 18:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431366 -3.547822)'), GeomFromEWKT('SRID=4674;POINT (-38.431426 -3.547944)'))) / (select extract(epoch from '2026-07-06 18:00:58'::timestamp) - extract(epoch from '2026-07-06 18:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431366 -3.547822)'), GeomFromEWKT('SRID=4674;POINT (-38.431426 -3.547944)'))) / (select extract(epoch from '2026-07-06 18:00:58'::timestamp) - extract(epoch from '2026-07-06 18:00:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.431482 -3.548055)', '2026-07-06 18:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431426 -3.547944)'), GeomFromEWKT('SRID=4674;POINT (-38.431482 -3.548055)'))) / (select extract(epoch from '2026-07-06 18:01:04'::timestamp) - extract(epoch from '2026-07-06 18:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431426 -3.547944)'), GeomFromEWKT('SRID=4674;POINT (-38.431482 -3.548055)'))) / (select extract(epoch from '2026-07-06 18:01:04'::timestamp) - extract(epoch from '2026-07-06 18:00: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'), 47390, 'SRID=4674;POINT (-38.431532 -3.548162)', '2026-07-06 18:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431482 -3.548055)'), GeomFromEWKT('SRID=4674;POINT (-38.431532 -3.548162)'))) / (select extract(epoch from '2026-07-06 18:01:10'::timestamp) - extract(epoch from '2026-07-06 18:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431482 -3.548055)'), GeomFromEWKT('SRID=4674;POINT (-38.431532 -3.548162)'))) / (select extract(epoch from '2026-07-06 18:01:10'::timestamp) - extract(epoch from '2026-07-06 18:01: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'), 47390, 'SRID=4674;POINT (-38.431619 -3.54833)', '2026-07-06 18:01:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431532 -3.548162)'), GeomFromEWKT('SRID=4674;POINT (-38.431619 -3.54833)'))) / (select extract(epoch from '2026-07-06 18:01:19'::timestamp) - extract(epoch from '2026-07-06 18:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431532 -3.548162)'), GeomFromEWKT('SRID=4674;POINT (-38.431619 -3.54833)'))) / (select extract(epoch from '2026-07-06 18:01:19'::timestamp) - extract(epoch from '2026-07-06 18:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.431671 -3.548448)', '2026-07-06 18:01:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431619 -3.54833)'), GeomFromEWKT('SRID=4674;POINT (-38.431671 -3.548448)'))) / (select extract(epoch from '2026-07-06 18:01:25'::timestamp) - extract(epoch from '2026-07-06 18:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431619 -3.54833)'), GeomFromEWKT('SRID=4674;POINT (-38.431671 -3.548448)'))) / (select extract(epoch from '2026-07-06 18:01:25'::timestamp) - extract(epoch from '2026-07-06 18:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.43172 -3.548576)', '2026-07-06 18:01:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431671 -3.548448)'), GeomFromEWKT('SRID=4674;POINT (-38.43172 -3.548576)'))) / (select extract(epoch from '2026-07-06 18:01:32'::timestamp) - extract(epoch from '2026-07-06 18:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431671 -3.548448)'), GeomFromEWKT('SRID=4674;POINT (-38.43172 -3.548576)'))) / (select extract(epoch from '2026-07-06 18:01:32'::timestamp) - extract(epoch from '2026-07-06 18:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.431774 -3.548697)', '2026-07-06 18:01:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43172 -3.548576)'), GeomFromEWKT('SRID=4674;POINT (-38.431774 -3.548697)'))) / (select extract(epoch from '2026-07-06 18:01:39'::timestamp) - extract(epoch from '2026-07-06 18:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43172 -3.548576)'), GeomFromEWKT('SRID=4674;POINT (-38.431774 -3.548697)'))) / (select extract(epoch from '2026-07-06 18:01:39'::timestamp) - extract(epoch from '2026-07-06 18:01: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'), 47390, 'SRID=4674;POINT (-38.431843 -3.548813)', '2026-07-06 18:01:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431774 -3.548697)'), GeomFromEWKT('SRID=4674;POINT (-38.431843 -3.548813)'))) / (select extract(epoch from '2026-07-06 18:01:46'::timestamp) - extract(epoch from '2026-07-06 18:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431774 -3.548697)'), GeomFromEWKT('SRID=4674;POINT (-38.431843 -3.548813)'))) / (select extract(epoch from '2026-07-06 18:01:46'::timestamp) - extract(epoch from '2026-07-06 18:01: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'), 47390, 'SRID=4674;POINT (-38.431894 -3.548902)', '2026-07-06 18:01:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431843 -3.548813)'), GeomFromEWKT('SRID=4674;POINT (-38.431894 -3.548902)'))) / (select extract(epoch from '2026-07-06 18:01:51'::timestamp) - extract(epoch from '2026-07-06 18:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431843 -3.548813)'), GeomFromEWKT('SRID=4674;POINT (-38.431894 -3.548902)'))) / (select extract(epoch from '2026-07-06 18:01:51'::timestamp) - extract(epoch from '2026-07-06 18:01: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'), 47390, 'SRID=4674;POINT (-38.431965 -3.549039)', '2026-07-06 18:01:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431894 -3.548902)'), GeomFromEWKT('SRID=4674;POINT (-38.431965 -3.549039)'))) / (select extract(epoch from '2026-07-06 18:01:59'::timestamp) - extract(epoch from '2026-07-06 18:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431894 -3.548902)'), GeomFromEWKT('SRID=4674;POINT (-38.431965 -3.549039)'))) / (select extract(epoch from '2026-07-06 18:01:59'::timestamp) - extract(epoch from '2026-07-06 18:01: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'), 47390, 'SRID=4674;POINT (-38.432023 -3.549168)', '2026-07-06 18:02:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431965 -3.549039)'), GeomFromEWKT('SRID=4674;POINT (-38.432023 -3.549168)'))) / (select extract(epoch from '2026-07-06 18:02:06'::timestamp) - extract(epoch from '2026-07-06 18:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431965 -3.549039)'), GeomFromEWKT('SRID=4674;POINT (-38.432023 -3.549168)'))) / (select extract(epoch from '2026-07-06 18:02:06'::timestamp) - extract(epoch from '2026-07-06 18:01: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'), 47390, 'SRID=4674;POINT (-38.432083 -3.549274)', '2026-07-06 18:02:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432023 -3.549168)'), GeomFromEWKT('SRID=4674;POINT (-38.432083 -3.549274)'))) / (select extract(epoch from '2026-07-06 18:02:12'::timestamp) - extract(epoch from '2026-07-06 18:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432023 -3.549168)'), GeomFromEWKT('SRID=4674;POINT (-38.432083 -3.549274)'))) / (select extract(epoch from '2026-07-06 18:02:12'::timestamp) - extract(epoch from '2026-07-06 18:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.432171 -3.549411)', '2026-07-06 18:02:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432083 -3.549274)'), GeomFromEWKT('SRID=4674;POINT (-38.432171 -3.549411)'))) / (select extract(epoch from '2026-07-06 18:02:20'::timestamp) - extract(epoch from '2026-07-06 18:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432083 -3.549274)'), GeomFromEWKT('SRID=4674;POINT (-38.432171 -3.549411)'))) / (select extract(epoch from '2026-07-06 18:02:20'::timestamp) - extract(epoch from '2026-07-06 18:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.432238 -3.549519)', '2026-07-06 18:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432171 -3.549411)'), GeomFromEWKT('SRID=4674;POINT (-38.432238 -3.549519)'))) / (select extract(epoch from '2026-07-06 18:02:26'::timestamp) - extract(epoch from '2026-07-06 18:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432171 -3.549411)'), GeomFromEWKT('SRID=4674;POINT (-38.432238 -3.549519)'))) / (select extract(epoch from '2026-07-06 18:02:26'::timestamp) - extract(epoch from '2026-07-06 18:02: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'), 47390, 'SRID=4674;POINT (-38.432242 -3.549537)', '2026-07-06 18:02:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432238 -3.549519)'), GeomFromEWKT('SRID=4674;POINT (-38.432242 -3.549537)'))) / (select extract(epoch from '2026-07-06 18:02:27'::timestamp) - extract(epoch from '2026-07-06 18:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432238 -3.549519)'), GeomFromEWKT('SRID=4674;POINT (-38.432242 -3.549537)'))) / (select extract(epoch from '2026-07-06 18:02:27'::timestamp) - extract(epoch from '2026-07-06 18:02: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'), 47390, 'SRID=4674;POINT (-38.432287 -3.549615)', '2026-07-06 18:02:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432242 -3.549537)'), GeomFromEWKT('SRID=4674;POINT (-38.432287 -3.549615)'))) / (select extract(epoch from '2026-07-06 18:02:31'::timestamp) - extract(epoch from '2026-07-06 18:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432242 -3.549537)'), GeomFromEWKT('SRID=4674;POINT (-38.432287 -3.549615)'))) / (select extract(epoch from '2026-07-06 18:02:31'::timestamp) - extract(epoch from '2026-07-06 18:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.432372 -3.549791)', '2026-07-06 18:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432287 -3.549615)'), GeomFromEWKT('SRID=4674;POINT (-38.432372 -3.549791)'))) / (select extract(epoch from '2026-07-06 18:02:39'::timestamp) - extract(epoch from '2026-07-06 18:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432287 -3.549615)'), GeomFromEWKT('SRID=4674;POINT (-38.432372 -3.549791)'))) / (select extract(epoch from '2026-07-06 18:02:39'::timestamp) - extract(epoch from '2026-07-06 18:02: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'), 47390, 'SRID=4674;POINT (-38.432442 -3.549932)', '2026-07-06 18:02:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432372 -3.549791)'), GeomFromEWKT('SRID=4674;POINT (-38.432442 -3.549932)'))) / (select extract(epoch from '2026-07-06 18:02:46'::timestamp) - extract(epoch from '2026-07-06 18:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432372 -3.549791)'), GeomFromEWKT('SRID=4674;POINT (-38.432442 -3.549932)'))) / (select extract(epoch from '2026-07-06 18:02:46'::timestamp) - extract(epoch from '2026-07-06 18:02: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'), 47390, 'SRID=4674;POINT (-38.432501 -3.550043)', '2026-07-06 18:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432442 -3.549932)'), GeomFromEWKT('SRID=4674;POINT (-38.432501 -3.550043)'))) / (select extract(epoch from '2026-07-06 18:02:52'::timestamp) - extract(epoch from '2026-07-06 18:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432442 -3.549932)'), GeomFromEWKT('SRID=4674;POINT (-38.432501 -3.550043)'))) / (select extract(epoch from '2026-07-06 18:02:52'::timestamp) - extract(epoch from '2026-07-06 18:02: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'), 47390, 'SRID=4674;POINT (-38.432555 -3.550146)', '2026-07-06 18:02:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432501 -3.550043)'), GeomFromEWKT('SRID=4674;POINT (-38.432555 -3.550146)'))) / (select extract(epoch from '2026-07-06 18:02:57'::timestamp) - extract(epoch from '2026-07-06 18:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432501 -3.550043)'), GeomFromEWKT('SRID=4674;POINT (-38.432555 -3.550146)'))) / (select extract(epoch from '2026-07-06 18:02:57'::timestamp) - extract(epoch from '2026-07-06 18:02: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'), 47390, 'SRID=4674;POINT (-38.4326 -3.55025)', '2026-07-06 18:03:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432555 -3.550146)'), GeomFromEWKT('SRID=4674;POINT (-38.4326 -3.55025)'))) / (select extract(epoch from '2026-07-06 18:03:02'::timestamp) - extract(epoch from '2026-07-06 18:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432555 -3.550146)'), GeomFromEWKT('SRID=4674;POINT (-38.4326 -3.55025)'))) / (select extract(epoch from '2026-07-06 18:03:02'::timestamp) - extract(epoch from '2026-07-06 18:02: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'), 47390, 'SRID=4674;POINT (-38.432667 -3.550413)', '2026-07-06 18:03:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4326 -3.55025)'), GeomFromEWKT('SRID=4674;POINT (-38.432667 -3.550413)'))) / (select extract(epoch from '2026-07-06 18:03:10'::timestamp) - extract(epoch from '2026-07-06 18:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4326 -3.55025)'), GeomFromEWKT('SRID=4674;POINT (-38.432667 -3.550413)'))) / (select extract(epoch from '2026-07-06 18:03:10'::timestamp) - extract(epoch from '2026-07-06 18:03: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'), 47390, 'SRID=4674;POINT (-38.432733 -3.550558)', '2026-07-06 18:03:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432667 -3.550413)'), GeomFromEWKT('SRID=4674;POINT (-38.432733 -3.550558)'))) / (select extract(epoch from '2026-07-06 18:03:17'::timestamp) - extract(epoch from '2026-07-06 18:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432667 -3.550413)'), GeomFromEWKT('SRID=4674;POINT (-38.432733 -3.550558)'))) / (select extract(epoch from '2026-07-06 18:03:17'::timestamp) - extract(epoch from '2026-07-06 18:03: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'), 47390, 'SRID=4674;POINT (-38.432782 -3.550661)', '2026-07-06 18:03:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432733 -3.550558)'), GeomFromEWKT('SRID=4674;POINT (-38.432782 -3.550661)'))) / (select extract(epoch from '2026-07-06 18:03:22'::timestamp) - extract(epoch from '2026-07-06 18:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432733 -3.550558)'), GeomFromEWKT('SRID=4674;POINT (-38.432782 -3.550661)'))) / (select extract(epoch from '2026-07-06 18:03:22'::timestamp) - extract(epoch from '2026-07-06 18:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.432831 -3.55075)', '2026-07-06 18:03:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432782 -3.550661)'), GeomFromEWKT('SRID=4674;POINT (-38.432831 -3.55075)'))) / (select extract(epoch from '2026-07-06 18:03:27'::timestamp) - extract(epoch from '2026-07-06 18:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432782 -3.550661)'), GeomFromEWKT('SRID=4674;POINT (-38.432831 -3.55075)'))) / (select extract(epoch from '2026-07-06 18:03:27'::timestamp) - extract(epoch from '2026-07-06 18:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.43288 -3.550851)', '2026-07-06 18:03:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432831 -3.55075)'), GeomFromEWKT('SRID=4674;POINT (-38.43288 -3.550851)'))) / (select extract(epoch from '2026-07-06 18:03:33'::timestamp) - extract(epoch from '2026-07-06 18:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432831 -3.55075)'), GeomFromEWKT('SRID=4674;POINT (-38.43288 -3.550851)'))) / (select extract(epoch from '2026-07-06 18:03:33'::timestamp) - extract(epoch from '2026-07-06 18:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.432962 -3.55102)', '2026-07-06 18:03:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43288 -3.550851)'), GeomFromEWKT('SRID=4674;POINT (-38.432962 -3.55102)'))) / (select extract(epoch from '2026-07-06 18:03:42'::timestamp) - extract(epoch from '2026-07-06 18:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43288 -3.550851)'), GeomFromEWKT('SRID=4674;POINT (-38.432962 -3.55102)'))) / (select extract(epoch from '2026-07-06 18:03:42'::timestamp) - extract(epoch from '2026-07-06 18:03: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'), 47390, 'SRID=4674;POINT (-38.433027 -3.551121)', '2026-07-06 18:03:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432962 -3.55102)'), GeomFromEWKT('SRID=4674;POINT (-38.433027 -3.551121)'))) / (select extract(epoch from '2026-07-06 18:03:48'::timestamp) - extract(epoch from '2026-07-06 18:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432962 -3.55102)'), GeomFromEWKT('SRID=4674;POINT (-38.433027 -3.551121)'))) / (select extract(epoch from '2026-07-06 18:03:48'::timestamp) - extract(epoch from '2026-07-06 18:03: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'), 47390, 'SRID=4674;POINT (-38.433074 -3.551214)', '2026-07-06 18:03:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433027 -3.551121)'), GeomFromEWKT('SRID=4674;POINT (-38.433074 -3.551214)'))) / (select extract(epoch from '2026-07-06 18:03:53'::timestamp) - extract(epoch from '2026-07-06 18:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433027 -3.551121)'), GeomFromEWKT('SRID=4674;POINT (-38.433074 -3.551214)'))) / (select extract(epoch from '2026-07-06 18:03:53'::timestamp) - extract(epoch from '2026-07-06 18:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.433113 -3.551314)', '2026-07-06 18:03:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433074 -3.551214)'), GeomFromEWKT('SRID=4674;POINT (-38.433113 -3.551314)'))) / (select extract(epoch from '2026-07-06 18:03:58'::timestamp) - extract(epoch from '2026-07-06 18:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433074 -3.551214)'), GeomFromEWKT('SRID=4674;POINT (-38.433113 -3.551314)'))) / (select extract(epoch from '2026-07-06 18:03:58'::timestamp) - extract(epoch from '2026-07-06 18:03: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'), 47390, 'SRID=4674;POINT (-38.433159 -3.551432)', '2026-07-06 18:04:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433113 -3.551314)'), GeomFromEWKT('SRID=4674;POINT (-38.433159 -3.551432)'))) / (select extract(epoch from '2026-07-06 18:04:04'::timestamp) - extract(epoch from '2026-07-06 18:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433113 -3.551314)'), GeomFromEWKT('SRID=4674;POINT (-38.433159 -3.551432)'))) / (select extract(epoch from '2026-07-06 18:04:04'::timestamp) - extract(epoch from '2026-07-06 18:03: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'), 47390, 'SRID=4674;POINT (-38.4332 -3.551551)', '2026-07-06 18:04:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433159 -3.551432)'), GeomFromEWKT('SRID=4674;POINT (-38.4332 -3.551551)'))) / (select extract(epoch from '2026-07-06 18:04:09'::timestamp) - extract(epoch from '2026-07-06 18:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433159 -3.551432)'), GeomFromEWKT('SRID=4674;POINT (-38.4332 -3.551551)'))) / (select extract(epoch from '2026-07-06 18:04:09'::timestamp) - extract(epoch from '2026-07-06 18:04: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'), 47390, 'SRID=4674;POINT (-38.433254 -3.551676)', '2026-07-06 18:04:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4332 -3.551551)'), GeomFromEWKT('SRID=4674;POINT (-38.433254 -3.551676)'))) / (select extract(epoch from '2026-07-06 18:04:16'::timestamp) - extract(epoch from '2026-07-06 18:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4332 -3.551551)'), GeomFromEWKT('SRID=4674;POINT (-38.433254 -3.551676)'))) / (select extract(epoch from '2026-07-06 18:04:16'::timestamp) - extract(epoch from '2026-07-06 18:04: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'), 47390, 'SRID=4674;POINT (-38.433302 -3.551763)', '2026-07-06 18:04:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433254 -3.551676)'), GeomFromEWKT('SRID=4674;POINT (-38.433302 -3.551763)'))) / (select extract(epoch from '2026-07-06 18:04:21'::timestamp) - extract(epoch from '2026-07-06 18:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433254 -3.551676)'), GeomFromEWKT('SRID=4674;POINT (-38.433302 -3.551763)'))) / (select extract(epoch from '2026-07-06 18:04:21'::timestamp) - extract(epoch from '2026-07-06 18:04: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'), 47390, 'SRID=4674;POINT (-38.433352 -3.55187)', '2026-07-06 18:04:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433302 -3.551763)'), GeomFromEWKT('SRID=4674;POINT (-38.433352 -3.55187)'))) / (select extract(epoch from '2026-07-06 18:04:27'::timestamp) - extract(epoch from '2026-07-06 18:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433302 -3.551763)'), GeomFromEWKT('SRID=4674;POINT (-38.433352 -3.55187)'))) / (select extract(epoch from '2026-07-06 18:04:27'::timestamp) - extract(epoch from '2026-07-06 18:04: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'), 47390, 'SRID=4674;POINT (-38.433429 -3.552013)', '2026-07-06 18:04:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433352 -3.55187)'), GeomFromEWKT('SRID=4674;POINT (-38.433429 -3.552013)'))) / (select extract(epoch from '2026-07-06 18:04:34'::timestamp) - extract(epoch from '2026-07-06 18:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433352 -3.55187)'), GeomFromEWKT('SRID=4674;POINT (-38.433429 -3.552013)'))) / (select extract(epoch from '2026-07-06 18:04:34'::timestamp) - extract(epoch from '2026-07-06 18:04: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'), 47390, 'SRID=4674;POINT (-38.43349 -3.552171)', '2026-07-06 18:04:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433429 -3.552013)'), GeomFromEWKT('SRID=4674;POINT (-38.43349 -3.552171)'))) / (select extract(epoch from '2026-07-06 18:04:41'::timestamp) - extract(epoch from '2026-07-06 18:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433429 -3.552013)'), GeomFromEWKT('SRID=4674;POINT (-38.43349 -3.552171)'))) / (select extract(epoch from '2026-07-06 18:04:41'::timestamp) - extract(epoch from '2026-07-06 18:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.433547 -3.552341)', '2026-07-06 18:04:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43349 -3.552171)'), GeomFromEWKT('SRID=4674;POINT (-38.433547 -3.552341)'))) / (select extract(epoch from '2026-07-06 18:04:49'::timestamp) - extract(epoch from '2026-07-06 18:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43349 -3.552171)'), GeomFromEWKT('SRID=4674;POINT (-38.433547 -3.552341)'))) / (select extract(epoch from '2026-07-06 18:04:49'::timestamp) - extract(epoch from '2026-07-06 18:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.433607 -3.552479)', '2026-07-06 18:04:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433547 -3.552341)'), GeomFromEWKT('SRID=4674;POINT (-38.433607 -3.552479)'))) / (select extract(epoch from '2026-07-06 18:04:55'::timestamp) - extract(epoch from '2026-07-06 18:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433547 -3.552341)'), GeomFromEWKT('SRID=4674;POINT (-38.433607 -3.552479)'))) / (select extract(epoch from '2026-07-06 18:04:55'::timestamp) - extract(epoch from '2026-07-06 18:04: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'), 47390, 'SRID=4674;POINT (-38.433663 -3.552592)', '2026-07-06 18:05:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433607 -3.552479)'), GeomFromEWKT('SRID=4674;POINT (-38.433663 -3.552592)'))) / (select extract(epoch from '2026-07-06 18:05:01'::timestamp) - extract(epoch from '2026-07-06 18:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433607 -3.552479)'), GeomFromEWKT('SRID=4674;POINT (-38.433663 -3.552592)'))) / (select extract(epoch from '2026-07-06 18:05:01'::timestamp) - extract(epoch from '2026-07-06 18:04: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'), 47390, 'SRID=4674;POINT (-38.433701 -3.552678)', '2026-07-06 18:05:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433663 -3.552592)'), GeomFromEWKT('SRID=4674;POINT (-38.433701 -3.552678)'))) / (select extract(epoch from '2026-07-06 18:05:06'::timestamp) - extract(epoch from '2026-07-06 18:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433663 -3.552592)'), GeomFromEWKT('SRID=4674;POINT (-38.433701 -3.552678)'))) / (select extract(epoch from '2026-07-06 18:05:06'::timestamp) - extract(epoch from '2026-07-06 18:05: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'), 47390, 'SRID=4674;POINT (-38.433748 -3.552784)', '2026-07-06 18:05:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433701 -3.552678)'), GeomFromEWKT('SRID=4674;POINT (-38.433748 -3.552784)'))) / (select extract(epoch from '2026-07-06 18:05:12'::timestamp) - extract(epoch from '2026-07-06 18:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433701 -3.552678)'), GeomFromEWKT('SRID=4674;POINT (-38.433748 -3.552784)'))) / (select extract(epoch from '2026-07-06 18:05:12'::timestamp) - extract(epoch from '2026-07-06 18:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.433789 -3.552877)', '2026-07-06 18:05:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433748 -3.552784)'), GeomFromEWKT('SRID=4674;POINT (-38.433789 -3.552877)'))) / (select extract(epoch from '2026-07-06 18:05:17'::timestamp) - extract(epoch from '2026-07-06 18:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433748 -3.552784)'), GeomFromEWKT('SRID=4674;POINT (-38.433789 -3.552877)'))) / (select extract(epoch from '2026-07-06 18:05:17'::timestamp) - extract(epoch from '2026-07-06 18:05: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'), 47390, 'SRID=4674;POINT (-38.433826 -3.552983)', '2026-07-06 18:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433789 -3.552877)'), GeomFromEWKT('SRID=4674;POINT (-38.433826 -3.552983)'))) / (select extract(epoch from '2026-07-06 18:05:23'::timestamp) - extract(epoch from '2026-07-06 18:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433789 -3.552877)'), GeomFromEWKT('SRID=4674;POINT (-38.433826 -3.552983)'))) / (select extract(epoch from '2026-07-06 18:05:23'::timestamp) - extract(epoch from '2026-07-06 18:05: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'), 47390, 'SRID=4674;POINT (-38.433872 -3.553135)', '2026-07-06 18:05:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433826 -3.552983)'), GeomFromEWKT('SRID=4674;POINT (-38.433872 -3.553135)'))) / (select extract(epoch from '2026-07-06 18:05:31'::timestamp) - extract(epoch from '2026-07-06 18:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433826 -3.552983)'), GeomFromEWKT('SRID=4674;POINT (-38.433872 -3.553135)'))) / (select extract(epoch from '2026-07-06 18:05:31'::timestamp) - extract(epoch from '2026-07-06 18:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.433914 -3.553302)', '2026-07-06 18:05:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433872 -3.553135)'), GeomFromEWKT('SRID=4674;POINT (-38.433914 -3.553302)'))) / (select extract(epoch from '2026-07-06 18:05:39'::timestamp) - extract(epoch from '2026-07-06 18:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433872 -3.553135)'), GeomFromEWKT('SRID=4674;POINT (-38.433914 -3.553302)'))) / (select extract(epoch from '2026-07-06 18:05:39'::timestamp) - extract(epoch from '2026-07-06 18:05: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'), 47390, 'SRID=4674;POINT (-38.433924 -3.553428)', '2026-07-06 18:05:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433914 -3.553302)'), GeomFromEWKT('SRID=4674;POINT (-38.433924 -3.553428)'))) / (select extract(epoch from '2026-07-06 18:05:45'::timestamp) - extract(epoch from '2026-07-06 18:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433914 -3.553302)'), GeomFromEWKT('SRID=4674;POINT (-38.433924 -3.553428)'))) / (select extract(epoch from '2026-07-06 18:05:45'::timestamp) - extract(epoch from '2026-07-06 18:05: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'), 47390, 'SRID=4674;POINT (-38.433955 -3.553591)', '2026-07-06 18:05:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433924 -3.553428)'), GeomFromEWKT('SRID=4674;POINT (-38.433955 -3.553591)'))) / (select extract(epoch from '2026-07-06 18:05:53'::timestamp) - extract(epoch from '2026-07-06 18:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433924 -3.553428)'), GeomFromEWKT('SRID=4674;POINT (-38.433955 -3.553591)'))) / (select extract(epoch from '2026-07-06 18:05:53'::timestamp) - extract(epoch from '2026-07-06 18:05: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'), 47390, 'SRID=4674;POINT (-38.433988 -3.553727)', '2026-07-06 18:06:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433955 -3.553591)'), GeomFromEWKT('SRID=4674;POINT (-38.433988 -3.553727)'))) / (select extract(epoch from '2026-07-06 18:06:00'::timestamp) - extract(epoch from '2026-07-06 18:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433955 -3.553591)'), GeomFromEWKT('SRID=4674;POINT (-38.433988 -3.553727)'))) / (select extract(epoch from '2026-07-06 18:06:00'::timestamp) - extract(epoch from '2026-07-06 18:05: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'), 47390, 'SRID=4674;POINT (-38.434007 -3.55383)', '2026-07-06 18:06:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433988 -3.553727)'), GeomFromEWKT('SRID=4674;POINT (-38.434007 -3.55383)'))) / (select extract(epoch from '2026-07-06 18:06:05'::timestamp) - extract(epoch from '2026-07-06 18:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433988 -3.553727)'), GeomFromEWKT('SRID=4674;POINT (-38.434007 -3.55383)'))) / (select extract(epoch from '2026-07-06 18:06:05'::timestamp) - extract(epoch from '2026-07-06 18:06: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'), 47390, 'SRID=4674;POINT (-38.434036 -3.553943)', '2026-07-06 18:06:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434007 -3.55383)'), GeomFromEWKT('SRID=4674;POINT (-38.434036 -3.553943)'))) / (select extract(epoch from '2026-07-06 18:06:10'::timestamp) - extract(epoch from '2026-07-06 18:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434007 -3.55383)'), GeomFromEWKT('SRID=4674;POINT (-38.434036 -3.553943)'))) / (select extract(epoch from '2026-07-06 18:06:10'::timestamp) - extract(epoch from '2026-07-06 18:06: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'), 47390, 'SRID=4674;POINT (-38.434059 -3.554055)', '2026-07-06 18:06:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434036 -3.553943)'), GeomFromEWKT('SRID=4674;POINT (-38.434059 -3.554055)'))) / (select extract(epoch from '2026-07-06 18:06:15'::timestamp) - extract(epoch from '2026-07-06 18:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434036 -3.553943)'), GeomFromEWKT('SRID=4674;POINT (-38.434059 -3.554055)'))) / (select extract(epoch from '2026-07-06 18:06:15'::timestamp) - extract(epoch from '2026-07-06 18:06: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'), 47390, 'SRID=4674;POINT (-38.434105 -3.55421)', '2026-07-06 18:06:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434059 -3.554055)'), GeomFromEWKT('SRID=4674;POINT (-38.434105 -3.55421)'))) / (select extract(epoch from '2026-07-06 18:06:22'::timestamp) - extract(epoch from '2026-07-06 18:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434059 -3.554055)'), GeomFromEWKT('SRID=4674;POINT (-38.434105 -3.55421)'))) / (select extract(epoch from '2026-07-06 18:06:22'::timestamp) - extract(epoch from '2026-07-06 18:06: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'), 47390, 'SRID=4674;POINT (-38.434138 -3.554329)', '2026-07-06 18:06:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434105 -3.55421)'), GeomFromEWKT('SRID=4674;POINT (-38.434138 -3.554329)'))) / (select extract(epoch from '2026-07-06 18:06:28'::timestamp) - extract(epoch from '2026-07-06 18:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434105 -3.55421)'), GeomFromEWKT('SRID=4674;POINT (-38.434138 -3.554329)'))) / (select extract(epoch from '2026-07-06 18:06:28'::timestamp) - extract(epoch from '2026-07-06 18:06: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'), 47390, 'SRID=4674;POINT (-38.434183 -3.554448)', '2026-07-06 18:06:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434138 -3.554329)'), GeomFromEWKT('SRID=4674;POINT (-38.434183 -3.554448)'))) / (select extract(epoch from '2026-07-06 18:06:34'::timestamp) - extract(epoch from '2026-07-06 18:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434138 -3.554329)'), GeomFromEWKT('SRID=4674;POINT (-38.434183 -3.554448)'))) / (select extract(epoch from '2026-07-06 18:06:34'::timestamp) - extract(epoch from '2026-07-06 18:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.434209 -3.554536)', '2026-07-06 18:06:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434183 -3.554448)'), GeomFromEWKT('SRID=4674;POINT (-38.434209 -3.554536)'))) / (select extract(epoch from '2026-07-06 18:06:38'::timestamp) - extract(epoch from '2026-07-06 18:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434183 -3.554448)'), GeomFromEWKT('SRID=4674;POINT (-38.434209 -3.554536)'))) / (select extract(epoch from '2026-07-06 18:06:38'::timestamp) - extract(epoch from '2026-07-06 18:06: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'), 47390, 'SRID=4674;POINT (-38.43423 -3.554578)', '2026-07-06 18:06:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434209 -3.554536)'), GeomFromEWKT('SRID=4674;POINT (-38.43423 -3.554578)'))) / (select extract(epoch from '2026-07-06 18:06:40'::timestamp) - extract(epoch from '2026-07-06 18:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434209 -3.554536)'), GeomFromEWKT('SRID=4674;POINT (-38.43423 -3.554578)'))) / (select extract(epoch from '2026-07-06 18:06:40'::timestamp) - extract(epoch from '2026-07-06 18:06: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'), 47390, 'SRID=4674;POINT (-38.434282 -3.554719)', '2026-07-06 18:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43423 -3.554578)'), GeomFromEWKT('SRID=4674;POINT (-38.434282 -3.554719)'))) / (select extract(epoch from '2026-07-06 18:06:47'::timestamp) - extract(epoch from '2026-07-06 18:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43423 -3.554578)'), GeomFromEWKT('SRID=4674;POINT (-38.434282 -3.554719)'))) / (select extract(epoch from '2026-07-06 18:06:47'::timestamp) - extract(epoch from '2026-07-06 18:06: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'), 47390, 'SRID=4674;POINT (-38.434329 -3.554828)', '2026-07-06 18:06:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434282 -3.554719)'), GeomFromEWKT('SRID=4674;POINT (-38.434329 -3.554828)'))) / (select extract(epoch from '2026-07-06 18:06:53'::timestamp) - extract(epoch from '2026-07-06 18:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434282 -3.554719)'), GeomFromEWKT('SRID=4674;POINT (-38.434329 -3.554828)'))) / (select extract(epoch from '2026-07-06 18:06:53'::timestamp) - extract(epoch from '2026-07-06 18:06: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'), 47390, 'SRID=4674;POINT (-38.434369 -3.554936)', '2026-07-06 18:06:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434329 -3.554828)'), GeomFromEWKT('SRID=4674;POINT (-38.434369 -3.554936)'))) / (select extract(epoch from '2026-07-06 18:06:59'::timestamp) - extract(epoch from '2026-07-06 18:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434329 -3.554828)'), GeomFromEWKT('SRID=4674;POINT (-38.434369 -3.554936)'))) / (select extract(epoch from '2026-07-06 18:06:59'::timestamp) - extract(epoch from '2026-07-06 18:06: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'), 47390, 'SRID=4674;POINT (-38.434424 -3.555064)', '2026-07-06 18:07:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434369 -3.554936)'), GeomFromEWKT('SRID=4674;POINT (-38.434424 -3.555064)'))) / (select extract(epoch from '2026-07-06 18:07:06'::timestamp) - extract(epoch from '2026-07-06 18:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434369 -3.554936)'), GeomFromEWKT('SRID=4674;POINT (-38.434424 -3.555064)'))) / (select extract(epoch from '2026-07-06 18:07:06'::timestamp) - extract(epoch from '2026-07-06 18:06:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.43448 -3.555193)', '2026-07-06 18:07:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434424 -3.555064)'), GeomFromEWKT('SRID=4674;POINT (-38.43448 -3.555193)'))) / (select extract(epoch from '2026-07-06 18:07:13'::timestamp) - extract(epoch from '2026-07-06 18:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434424 -3.555064)'), GeomFromEWKT('SRID=4674;POINT (-38.43448 -3.555193)'))) / (select extract(epoch from '2026-07-06 18:07:13'::timestamp) - extract(epoch from '2026-07-06 18:07: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'), 47390, 'SRID=4674;POINT (-38.43453 -3.555301)', '2026-07-06 18:07:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43448 -3.555193)'), GeomFromEWKT('SRID=4674;POINT (-38.43453 -3.555301)'))) / (select extract(epoch from '2026-07-06 18:07:19'::timestamp) - extract(epoch from '2026-07-06 18:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43448 -3.555193)'), GeomFromEWKT('SRID=4674;POINT (-38.43453 -3.555301)'))) / (select extract(epoch from '2026-07-06 18:07:19'::timestamp) - extract(epoch from '2026-07-06 18:07: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'), 47390, 'SRID=4674;POINT (-38.43458 -3.555405)', '2026-07-06 18:07:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43453 -3.555301)'), GeomFromEWKT('SRID=4674;POINT (-38.43458 -3.555405)'))) / (select extract(epoch from '2026-07-06 18:07:25'::timestamp) - extract(epoch from '2026-07-06 18:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43453 -3.555301)'), GeomFromEWKT('SRID=4674;POINT (-38.43458 -3.555405)'))) / (select extract(epoch from '2026-07-06 18:07:25'::timestamp) - extract(epoch from '2026-07-06 18:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.434656 -3.55556)', '2026-07-06 18:07:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43458 -3.555405)'), GeomFromEWKT('SRID=4674;POINT (-38.434656 -3.55556)'))) / (select extract(epoch from '2026-07-06 18:07:33'::timestamp) - extract(epoch from '2026-07-06 18:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43458 -3.555405)'), GeomFromEWKT('SRID=4674;POINT (-38.434656 -3.55556)'))) / (select extract(epoch from '2026-07-06 18:07:33'::timestamp) - extract(epoch from '2026-07-06 18:07: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'), 47390, 'SRID=4674;POINT (-38.434717 -3.555673)', '2026-07-06 18:07:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434656 -3.55556)'), GeomFromEWKT('SRID=4674;POINT (-38.434717 -3.555673)'))) / (select extract(epoch from '2026-07-06 18:07:39'::timestamp) - extract(epoch from '2026-07-06 18:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434656 -3.55556)'), GeomFromEWKT('SRID=4674;POINT (-38.434717 -3.555673)'))) / (select extract(epoch from '2026-07-06 18:07:39'::timestamp) - extract(epoch from '2026-07-06 18:07:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.434774 -3.555795)', '2026-07-06 18:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434717 -3.555673)'), GeomFromEWKT('SRID=4674;POINT (-38.434774 -3.555795)'))) / (select extract(epoch from '2026-07-06 18:07:45'::timestamp) - extract(epoch from '2026-07-06 18:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434717 -3.555673)'), GeomFromEWKT('SRID=4674;POINT (-38.434774 -3.555795)'))) / (select extract(epoch from '2026-07-06 18:07:45'::timestamp) - extract(epoch from '2026-07-06 18:07: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'), 47390, 'SRID=4674;POINT (-38.434811 -3.555919)', '2026-07-06 18:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434774 -3.555795)'), GeomFromEWKT('SRID=4674;POINT (-38.434811 -3.555919)'))) / (select extract(epoch from '2026-07-06 18:07:51'::timestamp) - extract(epoch from '2026-07-06 18:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434774 -3.555795)'), GeomFromEWKT('SRID=4674;POINT (-38.434811 -3.555919)'))) / (select extract(epoch from '2026-07-06 18:07:51'::timestamp) - extract(epoch from '2026-07-06 18:07: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'), 47390, 'SRID=4674;POINT (-38.434801 -3.556033)', '2026-07-06 18:07:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434811 -3.555919)'), GeomFromEWKT('SRID=4674;POINT (-38.434801 -3.556033)'))) / (select extract(epoch from '2026-07-06 18:07:57'::timestamp) - extract(epoch from '2026-07-06 18:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434811 -3.555919)'), GeomFromEWKT('SRID=4674;POINT (-38.434801 -3.556033)'))) / (select extract(epoch from '2026-07-06 18:07:57'::timestamp) - extract(epoch from '2026-07-06 18:07: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'), 47390, 'SRID=4674;POINT (-38.434766 -3.556143)', '2026-07-06 18:08:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434801 -3.556033)'), GeomFromEWKT('SRID=4674;POINT (-38.434766 -3.556143)'))) / (select extract(epoch from '2026-07-06 18:08:04'::timestamp) - extract(epoch from '2026-07-06 18:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434801 -3.556033)'), GeomFromEWKT('SRID=4674;POINT (-38.434766 -3.556143)'))) / (select extract(epoch from '2026-07-06 18:08:04'::timestamp) - extract(epoch from '2026-07-06 18:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.43476 -3.55629)', '2026-07-06 18:08:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434766 -3.556143)'), GeomFromEWKT('SRID=4674;POINT (-38.43476 -3.55629)'))) / (select extract(epoch from '2026-07-06 18:08:12'::timestamp) - extract(epoch from '2026-07-06 18:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434766 -3.556143)'), GeomFromEWKT('SRID=4674;POINT (-38.43476 -3.55629)'))) / (select extract(epoch from '2026-07-06 18:08:12'::timestamp) - extract(epoch from '2026-07-06 18:08: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'), 47390, 'SRID=4674;POINT (-38.434779 -3.556433)', '2026-07-06 18:08:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43476 -3.55629)'), GeomFromEWKT('SRID=4674;POINT (-38.434779 -3.556433)'))) / (select extract(epoch from '2026-07-06 18:08:19'::timestamp) - extract(epoch from '2026-07-06 18:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43476 -3.55629)'), GeomFromEWKT('SRID=4674;POINT (-38.434779 -3.556433)'))) / (select extract(epoch from '2026-07-06 18:08:19'::timestamp) - extract(epoch from '2026-07-06 18:08: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'), 47390, 'SRID=4674;POINT (-38.4348 -3.556559)', '2026-07-06 18:08:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434779 -3.556433)'), GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.556559)'))) / (select extract(epoch from '2026-07-06 18:08:25'::timestamp) - extract(epoch from '2026-07-06 18:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434779 -3.556433)'), GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.556559)'))) / (select extract(epoch from '2026-07-06 18:08:25'::timestamp) - extract(epoch from '2026-07-06 18:08: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'), 47390, 'SRID=4674;POINT (-38.434821 -3.556673)', '2026-07-06 18:08:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.556559)'), GeomFromEWKT('SRID=4674;POINT (-38.434821 -3.556673)'))) / (select extract(epoch from '2026-07-06 18:08:30'::timestamp) - extract(epoch from '2026-07-06 18:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.556559)'), GeomFromEWKT('SRID=4674;POINT (-38.434821 -3.556673)'))) / (select extract(epoch from '2026-07-06 18:08:30'::timestamp) - extract(epoch from '2026-07-06 18:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.43483 -3.556781)', '2026-07-06 18:08:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434821 -3.556673)'), GeomFromEWKT('SRID=4674;POINT (-38.43483 -3.556781)'))) / (select extract(epoch from '2026-07-06 18:08:35'::timestamp) - extract(epoch from '2026-07-06 18:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434821 -3.556673)'), GeomFromEWKT('SRID=4674;POINT (-38.43483 -3.556781)'))) / (select extract(epoch from '2026-07-06 18:08:35'::timestamp) - extract(epoch from '2026-07-06 18:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.4348 -3.556938)', '2026-07-06 18:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43483 -3.556781)'), GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.556938)'))) / (select extract(epoch from '2026-07-06 18:08:43'::timestamp) - extract(epoch from '2026-07-06 18:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43483 -3.556781)'), GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.556938)'))) / (select extract(epoch from '2026-07-06 18:08:43'::timestamp) - extract(epoch from '2026-07-06 18:08: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'), 47390, 'SRID=4674;POINT (-38.434792 -3.557076)', '2026-07-06 18:08:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.556938)'), GeomFromEWKT('SRID=4674;POINT (-38.434792 -3.557076)'))) / (select extract(epoch from '2026-07-06 18:08:50'::timestamp) - extract(epoch from '2026-07-06 18:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.556938)'), GeomFromEWKT('SRID=4674;POINT (-38.434792 -3.557076)'))) / (select extract(epoch from '2026-07-06 18:08:50'::timestamp) - extract(epoch from '2026-07-06 18:08: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'), 47390, 'SRID=4674;POINT (-38.434779 -3.557193)', '2026-07-06 18:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434792 -3.557076)'), GeomFromEWKT('SRID=4674;POINT (-38.434779 -3.557193)'))) / (select extract(epoch from '2026-07-06 18:08:56'::timestamp) - extract(epoch from '2026-07-06 18:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434792 -3.557076)'), GeomFromEWKT('SRID=4674;POINT (-38.434779 -3.557193)'))) / (select extract(epoch from '2026-07-06 18:08:56'::timestamp) - extract(epoch from '2026-07-06 18:08: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'), 47390, 'SRID=4674;POINT (-38.434775 -3.557298)', '2026-07-06 18:09:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434779 -3.557193)'), GeomFromEWKT('SRID=4674;POINT (-38.434775 -3.557298)'))) / (select extract(epoch from '2026-07-06 18:09:01'::timestamp) - extract(epoch from '2026-07-06 18:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434779 -3.557193)'), GeomFromEWKT('SRID=4674;POINT (-38.434775 -3.557298)'))) / (select extract(epoch from '2026-07-06 18:09:01'::timestamp) - extract(epoch from '2026-07-06 18:08: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'), 47390, 'SRID=4674;POINT (-38.43478 -3.557419)', '2026-07-06 18:09:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434775 -3.557298)'), GeomFromEWKT('SRID=4674;POINT (-38.43478 -3.557419)'))) / (select extract(epoch from '2026-07-06 18:09:07'::timestamp) - extract(epoch from '2026-07-06 18:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434775 -3.557298)'), GeomFromEWKT('SRID=4674;POINT (-38.43478 -3.557419)'))) / (select extract(epoch from '2026-07-06 18:09:07'::timestamp) - extract(epoch from '2026-07-06 18:09: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'), 47390, 'SRID=4674;POINT (-38.434797 -3.55752)', '2026-07-06 18:09:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43478 -3.557419)'), GeomFromEWKT('SRID=4674;POINT (-38.434797 -3.55752)'))) / (select extract(epoch from '2026-07-06 18:09:12'::timestamp) - extract(epoch from '2026-07-06 18:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43478 -3.557419)'), GeomFromEWKT('SRID=4674;POINT (-38.434797 -3.55752)'))) / (select extract(epoch from '2026-07-06 18:09:12'::timestamp) - extract(epoch from '2026-07-06 18:09: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'), 47390, 'SRID=4674;POINT (-38.434821 -3.557684)', '2026-07-06 18:09:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434797 -3.55752)'), GeomFromEWKT('SRID=4674;POINT (-38.434821 -3.557684)'))) / (select extract(epoch from '2026-07-06 18:09:20'::timestamp) - extract(epoch from '2026-07-06 18:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434797 -3.55752)'), GeomFromEWKT('SRID=4674;POINT (-38.434821 -3.557684)'))) / (select extract(epoch from '2026-07-06 18:09:20'::timestamp) - extract(epoch from '2026-07-06 18:09:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.434828 -3.557798)', '2026-07-06 18:09:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434821 -3.557684)'), GeomFromEWKT('SRID=4674;POINT (-38.434828 -3.557798)'))) / (select extract(epoch from '2026-07-06 18:09:25'::timestamp) - extract(epoch from '2026-07-06 18:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434821 -3.557684)'), GeomFromEWKT('SRID=4674;POINT (-38.434828 -3.557798)'))) / (select extract(epoch from '2026-07-06 18:09:25'::timestamp) - extract(epoch from '2026-07-06 18:09: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'), 47390, 'SRID=4674;POINT (-38.434835 -3.557928)', '2026-07-06 18:09:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434828 -3.557798)'), GeomFromEWKT('SRID=4674;POINT (-38.434835 -3.557928)'))) / (select extract(epoch from '2026-07-06 18:09:31'::timestamp) - extract(epoch from '2026-07-06 18:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434828 -3.557798)'), GeomFromEWKT('SRID=4674;POINT (-38.434835 -3.557928)'))) / (select extract(epoch from '2026-07-06 18:09:31'::timestamp) - extract(epoch from '2026-07-06 18:09:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.434849 -3.55806)', '2026-07-06 18:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434835 -3.557928)'), GeomFromEWKT('SRID=4674;POINT (-38.434849 -3.55806)'))) / (select extract(epoch from '2026-07-06 18:09:37'::timestamp) - extract(epoch from '2026-07-06 18:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434835 -3.557928)'), GeomFromEWKT('SRID=4674;POINT (-38.434849 -3.55806)'))) / (select extract(epoch from '2026-07-06 18:09:37'::timestamp) - extract(epoch from '2026-07-06 18:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.434869 -3.558188)', '2026-07-06 18:09:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434849 -3.55806)'), GeomFromEWKT('SRID=4674;POINT (-38.434869 -3.558188)'))) / (select extract(epoch from '2026-07-06 18:09:43'::timestamp) - extract(epoch from '2026-07-06 18:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434849 -3.55806)'), GeomFromEWKT('SRID=4674;POINT (-38.434869 -3.558188)'))) / (select extract(epoch from '2026-07-06 18:09:43'::timestamp) - extract(epoch from '2026-07-06 18:09: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'), 47390, 'SRID=4674;POINT (-38.43489 -3.558294)', '2026-07-06 18:09:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434869 -3.558188)'), GeomFromEWKT('SRID=4674;POINT (-38.43489 -3.558294)'))) / (select extract(epoch from '2026-07-06 18:09:48'::timestamp) - extract(epoch from '2026-07-06 18:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434869 -3.558188)'), GeomFromEWKT('SRID=4674;POINT (-38.43489 -3.558294)'))) / (select extract(epoch from '2026-07-06 18:09:48'::timestamp) - extract(epoch from '2026-07-06 18:09: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'), 47390, 'SRID=4674;POINT (-38.434917 -3.558443)', '2026-07-06 18:09:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43489 -3.558294)'), GeomFromEWKT('SRID=4674;POINT (-38.434917 -3.558443)'))) / (select extract(epoch from '2026-07-06 18:09:55'::timestamp) - extract(epoch from '2026-07-06 18:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43489 -3.558294)'), GeomFromEWKT('SRID=4674;POINT (-38.434917 -3.558443)'))) / (select extract(epoch from '2026-07-06 18:09:55'::timestamp) - extract(epoch from '2026-07-06 18:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.434936 -3.558572)', '2026-07-06 18:10:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434917 -3.558443)'), GeomFromEWKT('SRID=4674;POINT (-38.434936 -3.558572)'))) / (select extract(epoch from '2026-07-06 18:10:01'::timestamp) - extract(epoch from '2026-07-06 18:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434917 -3.558443)'), GeomFromEWKT('SRID=4674;POINT (-38.434936 -3.558572)'))) / (select extract(epoch from '2026-07-06 18:10:01'::timestamp) - extract(epoch from '2026-07-06 18:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.434951 -3.558697)', '2026-07-06 18:10:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434936 -3.558572)'), GeomFromEWKT('SRID=4674;POINT (-38.434951 -3.558697)'))) / (select extract(epoch from '2026-07-06 18:10:07'::timestamp) - extract(epoch from '2026-07-06 18:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434936 -3.558572)'), GeomFromEWKT('SRID=4674;POINT (-38.434951 -3.558697)'))) / (select extract(epoch from '2026-07-06 18:10:07'::timestamp) - extract(epoch from '2026-07-06 18:10: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'), 47390, 'SRID=4674;POINT (-38.434997 -3.558819)', '2026-07-06 18:10:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434951 -3.558697)'), GeomFromEWKT('SRID=4674;POINT (-38.434997 -3.558819)'))) / (select extract(epoch from '2026-07-06 18:10:13'::timestamp) - extract(epoch from '2026-07-06 18:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434951 -3.558697)'), GeomFromEWKT('SRID=4674;POINT (-38.434997 -3.558819)'))) / (select extract(epoch from '2026-07-06 18:10:13'::timestamp) - extract(epoch from '2026-07-06 18:10:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.435061 -3.558969)', '2026-07-06 18:10:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434997 -3.558819)'), GeomFromEWKT('SRID=4674;POINT (-38.435061 -3.558969)'))) / (select extract(epoch from '2026-07-06 18:10:21'::timestamp) - extract(epoch from '2026-07-06 18:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434997 -3.558819)'), GeomFromEWKT('SRID=4674;POINT (-38.435061 -3.558969)'))) / (select extract(epoch from '2026-07-06 18:10:21'::timestamp) - extract(epoch from '2026-07-06 18:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.435111 -3.559081)', '2026-07-06 18:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435061 -3.558969)'), GeomFromEWKT('SRID=4674;POINT (-38.435111 -3.559081)'))) / (select extract(epoch from '2026-07-06 18:10:27'::timestamp) - extract(epoch from '2026-07-06 18:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435061 -3.558969)'), GeomFromEWKT('SRID=4674;POINT (-38.435111 -3.559081)'))) / (select extract(epoch from '2026-07-06 18:10:27'::timestamp) - extract(epoch from '2026-07-06 18:10: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'), 47390, 'SRID=4674;POINT (-38.435157 -3.559193)', '2026-07-06 18:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435111 -3.559081)'), GeomFromEWKT('SRID=4674;POINT (-38.435157 -3.559193)'))) / (select extract(epoch from '2026-07-06 18:10:33'::timestamp) - extract(epoch from '2026-07-06 18:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435111 -3.559081)'), GeomFromEWKT('SRID=4674;POINT (-38.435157 -3.559193)'))) / (select extract(epoch from '2026-07-06 18:10:33'::timestamp) - extract(epoch from '2026-07-06 18:10: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'), 47390, 'SRID=4674;POINT (-38.4352 -3.559277)', '2026-07-06 18:10:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435157 -3.559193)'), GeomFromEWKT('SRID=4674;POINT (-38.4352 -3.559277)'))) / (select extract(epoch from '2026-07-06 18:10:38'::timestamp) - extract(epoch from '2026-07-06 18:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435157 -3.559193)'), GeomFromEWKT('SRID=4674;POINT (-38.4352 -3.559277)'))) / (select extract(epoch from '2026-07-06 18:10:38'::timestamp) - extract(epoch from '2026-07-06 18:10: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'), 47390, 'SRID=4674;POINT (-38.435249 -3.559385)', '2026-07-06 18:10:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4352 -3.559277)'), GeomFromEWKT('SRID=4674;POINT (-38.435249 -3.559385)'))) / (select extract(epoch from '2026-07-06 18:10:44'::timestamp) - extract(epoch from '2026-07-06 18:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4352 -3.559277)'), GeomFromEWKT('SRID=4674;POINT (-38.435249 -3.559385)'))) / (select extract(epoch from '2026-07-06 18:10:44'::timestamp) - extract(epoch from '2026-07-06 18:10: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'), 47390, 'SRID=4674;POINT (-38.4353 -3.559485)', '2026-07-06 18:10:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435249 -3.559385)'), GeomFromEWKT('SRID=4674;POINT (-38.4353 -3.559485)'))) / (select extract(epoch from '2026-07-06 18:10:50'::timestamp) - extract(epoch from '2026-07-06 18:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435249 -3.559385)'), GeomFromEWKT('SRID=4674;POINT (-38.4353 -3.559485)'))) / (select extract(epoch from '2026-07-06 18:10:50'::timestamp) - extract(epoch from '2026-07-06 18:10: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'), 47390, 'SRID=4674;POINT (-38.435352 -3.559601)', '2026-07-06 18:10:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4353 -3.559485)'), GeomFromEWKT('SRID=4674;POINT (-38.435352 -3.559601)'))) / (select extract(epoch from '2026-07-06 18:10:56'::timestamp) - extract(epoch from '2026-07-06 18:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4353 -3.559485)'), GeomFromEWKT('SRID=4674;POINT (-38.435352 -3.559601)'))) / (select extract(epoch from '2026-07-06 18:10:56'::timestamp) - extract(epoch from '2026-07-06 18:10: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'), 47390, 'SRID=4674;POINT (-38.43542 -3.559758)', '2026-07-06 18:11:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435352 -3.559601)'), GeomFromEWKT('SRID=4674;POINT (-38.43542 -3.559758)'))) / (select extract(epoch from '2026-07-06 18:11:05'::timestamp) - extract(epoch from '2026-07-06 18:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435352 -3.559601)'), GeomFromEWKT('SRID=4674;POINT (-38.43542 -3.559758)'))) / (select extract(epoch from '2026-07-06 18:11:05'::timestamp) - extract(epoch from '2026-07-06 18:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.435469 -3.559862)', '2026-07-06 18:11:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43542 -3.559758)'), GeomFromEWKT('SRID=4674;POINT (-38.435469 -3.559862)'))) / (select extract(epoch from '2026-07-06 18:11:11'::timestamp) - extract(epoch from '2026-07-06 18:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43542 -3.559758)'), GeomFromEWKT('SRID=4674;POINT (-38.435469 -3.559862)'))) / (select extract(epoch from '2026-07-06 18:11:11'::timestamp) - extract(epoch from '2026-07-06 18:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.435481 -3.5599)', '2026-07-06 18:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435469 -3.559862)'), GeomFromEWKT('SRID=4674;POINT (-38.435481 -3.5599)'))) / (select extract(epoch from '2026-07-06 18:11:13'::timestamp) - extract(epoch from '2026-07-06 18:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435469 -3.559862)'), GeomFromEWKT('SRID=4674;POINT (-38.435481 -3.5599)'))) / (select extract(epoch from '2026-07-06 18:11:13'::timestamp) - extract(epoch from '2026-07-06 18:11: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'), 47390, 'SRID=4674;POINT (-38.435509 -3.559956)', '2026-07-06 18:11:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435481 -3.5599)'), GeomFromEWKT('SRID=4674;POINT (-38.435509 -3.559956)'))) / (select extract(epoch from '2026-07-06 18:11:16'::timestamp) - extract(epoch from '2026-07-06 18:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435481 -3.5599)'), GeomFromEWKT('SRID=4674;POINT (-38.435509 -3.559956)'))) / (select extract(epoch from '2026-07-06 18:11:16'::timestamp) - extract(epoch from '2026-07-06 18:11: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'), 47390, 'SRID=4674;POINT (-38.435543 -3.560036)', '2026-07-06 18:11:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435509 -3.559956)'), GeomFromEWKT('SRID=4674;POINT (-38.435543 -3.560036)'))) / (select extract(epoch from '2026-07-06 18:11:20'::timestamp) - extract(epoch from '2026-07-06 18:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435509 -3.559956)'), GeomFromEWKT('SRID=4674;POINT (-38.435543 -3.560036)'))) / (select extract(epoch from '2026-07-06 18:11:20'::timestamp) - extract(epoch from '2026-07-06 18:11: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'), 47390, 'SRID=4674;POINT (-38.435581 -3.560138)', '2026-07-06 18:11:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435543 -3.560036)'), GeomFromEWKT('SRID=4674;POINT (-38.435581 -3.560138)'))) / (select extract(epoch from '2026-07-06 18:11:25'::timestamp) - extract(epoch from '2026-07-06 18:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435543 -3.560036)'), GeomFromEWKT('SRID=4674;POINT (-38.435581 -3.560138)'))) / (select extract(epoch from '2026-07-06 18:11:25'::timestamp) - extract(epoch from '2026-07-06 18:11: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'), 47390, 'SRID=4674;POINT (-38.435637 -3.560279)', '2026-07-06 18:11:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435581 -3.560138)'), GeomFromEWKT('SRID=4674;POINT (-38.435637 -3.560279)'))) / (select extract(epoch from '2026-07-06 18:11:32'::timestamp) - extract(epoch from '2026-07-06 18:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435581 -3.560138)'), GeomFromEWKT('SRID=4674;POINT (-38.435637 -3.560279)'))) / (select extract(epoch from '2026-07-06 18:11:32'::timestamp) - extract(epoch from '2026-07-06 18:11: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'), 47390, 'SRID=4674;POINT (-38.435687 -3.5604)', '2026-07-06 18:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435637 -3.560279)'), GeomFromEWKT('SRID=4674;POINT (-38.435687 -3.5604)'))) / (select extract(epoch from '2026-07-06 18:11:38'::timestamp) - extract(epoch from '2026-07-06 18:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435637 -3.560279)'), GeomFromEWKT('SRID=4674;POINT (-38.435687 -3.5604)'))) / (select extract(epoch from '2026-07-06 18:11:38'::timestamp) - extract(epoch from '2026-07-06 18:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.435721 -3.560502)', '2026-07-06 18:11:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435687 -3.5604)'), GeomFromEWKT('SRID=4674;POINT (-38.435721 -3.560502)'))) / (select extract(epoch from '2026-07-06 18:11:43'::timestamp) - extract(epoch from '2026-07-06 18:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435687 -3.5604)'), GeomFromEWKT('SRID=4674;POINT (-38.435721 -3.560502)'))) / (select extract(epoch from '2026-07-06 18:11:43'::timestamp) - extract(epoch from '2026-07-06 18:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.435769 -3.560626)', '2026-07-06 18:11:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435721 -3.560502)'), GeomFromEWKT('SRID=4674;POINT (-38.435769 -3.560626)'))) / (select extract(epoch from '2026-07-06 18:11:49'::timestamp) - extract(epoch from '2026-07-06 18:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435721 -3.560502)'), GeomFromEWKT('SRID=4674;POINT (-38.435769 -3.560626)'))) / (select extract(epoch from '2026-07-06 18:11:49'::timestamp) - extract(epoch from '2026-07-06 18:11: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'), 47390, 'SRID=4674;POINT (-38.435815 -3.560742)', '2026-07-06 18:11:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435769 -3.560626)'), GeomFromEWKT('SRID=4674;POINT (-38.435815 -3.560742)'))) / (select extract(epoch from '2026-07-06 18:11:55'::timestamp) - extract(epoch from '2026-07-06 18:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435769 -3.560626)'), GeomFromEWKT('SRID=4674;POINT (-38.435815 -3.560742)'))) / (select extract(epoch from '2026-07-06 18:11:55'::timestamp) - extract(epoch from '2026-07-06 18:11: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'), 47390, 'SRID=4674;POINT (-38.43585 -3.560831)', '2026-07-06 18:12:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435815 -3.560742)'), GeomFromEWKT('SRID=4674;POINT (-38.43585 -3.560831)'))) / (select extract(epoch from '2026-07-06 18:12:00'::timestamp) - extract(epoch from '2026-07-06 18:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435815 -3.560742)'), GeomFromEWKT('SRID=4674;POINT (-38.43585 -3.560831)'))) / (select extract(epoch from '2026-07-06 18:12:00'::timestamp) - extract(epoch from '2026-07-06 18:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.435903 -3.560948)', '2026-07-06 18:12:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43585 -3.560831)'), GeomFromEWKT('SRID=4674;POINT (-38.435903 -3.560948)'))) / (select extract(epoch from '2026-07-06 18:12:07'::timestamp) - extract(epoch from '2026-07-06 18:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43585 -3.560831)'), GeomFromEWKT('SRID=4674;POINT (-38.435903 -3.560948)'))) / (select extract(epoch from '2026-07-06 18:12:07'::timestamp) - extract(epoch from '2026-07-06 18:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.435948 -3.561036)', '2026-07-06 18:12:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435903 -3.560948)'), GeomFromEWKT('SRID=4674;POINT (-38.435948 -3.561036)'))) / (select extract(epoch from '2026-07-06 18:12:12'::timestamp) - extract(epoch from '2026-07-06 18:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435903 -3.560948)'), GeomFromEWKT('SRID=4674;POINT (-38.435948 -3.561036)'))) / (select extract(epoch from '2026-07-06 18:12:12'::timestamp) - extract(epoch from '2026-07-06 18:12: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'), 47390, 'SRID=4674;POINT (-38.435962 -3.561079)', '2026-07-06 18:12:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435948 -3.561036)'), GeomFromEWKT('SRID=4674;POINT (-38.435962 -3.561079)'))) / (select extract(epoch from '2026-07-06 18:12:15'::timestamp) - extract(epoch from '2026-07-06 18:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435948 -3.561036)'), GeomFromEWKT('SRID=4674;POINT (-38.435962 -3.561079)'))) / (select extract(epoch from '2026-07-06 18:12:15'::timestamp) - extract(epoch from '2026-07-06 18:12: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'), 47390, 'SRID=4674;POINT (-38.435983 -3.561116)', '2026-07-06 18:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435962 -3.561079)'), GeomFromEWKT('SRID=4674;POINT (-38.435983 -3.561116)'))) / (select extract(epoch from '2026-07-06 18:12:17'::timestamp) - extract(epoch from '2026-07-06 18:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435962 -3.561079)'), GeomFromEWKT('SRID=4674;POINT (-38.435983 -3.561116)'))) / (select extract(epoch from '2026-07-06 18:12:17'::timestamp) - extract(epoch from '2026-07-06 18:12: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'), 47390, 'SRID=4674;POINT (-38.436025 -3.561217)', '2026-07-06 18:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435983 -3.561116)'), GeomFromEWKT('SRID=4674;POINT (-38.436025 -3.561217)'))) / (select extract(epoch from '2026-07-06 18:12:23'::timestamp) - extract(epoch from '2026-07-06 18:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435983 -3.561116)'), GeomFromEWKT('SRID=4674;POINT (-38.436025 -3.561217)'))) / (select extract(epoch from '2026-07-06 18:12:23'::timestamp) - extract(epoch from '2026-07-06 18:12: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'), 47390, 'SRID=4674;POINT (-38.436088 -3.561346)', '2026-07-06 18:12:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436025 -3.561217)'), GeomFromEWKT('SRID=4674;POINT (-38.436088 -3.561346)'))) / (select extract(epoch from '2026-07-06 18:12:31'::timestamp) - extract(epoch from '2026-07-06 18:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436025 -3.561217)'), GeomFromEWKT('SRID=4674;POINT (-38.436088 -3.561346)'))) / (select extract(epoch from '2026-07-06 18:12:31'::timestamp) - extract(epoch from '2026-07-06 18:12: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'), 47390, 'SRID=4674;POINT (-38.436158 -3.561494)', '2026-07-06 18:12:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436088 -3.561346)'), GeomFromEWKT('SRID=4674;POINT (-38.436158 -3.561494)'))) / (select extract(epoch from '2026-07-06 18:12:40'::timestamp) - extract(epoch from '2026-07-06 18:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436088 -3.561346)'), GeomFromEWKT('SRID=4674;POINT (-38.436158 -3.561494)'))) / (select extract(epoch from '2026-07-06 18:12:40'::timestamp) - extract(epoch from '2026-07-06 18:12: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'), 47390, 'SRID=4674;POINT (-38.436205 -3.561621)', '2026-07-06 18:12:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436158 -3.561494)'), GeomFromEWKT('SRID=4674;POINT (-38.436205 -3.561621)'))) / (select extract(epoch from '2026-07-06 18:12:47'::timestamp) - extract(epoch from '2026-07-06 18:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436158 -3.561494)'), GeomFromEWKT('SRID=4674;POINT (-38.436205 -3.561621)'))) / (select extract(epoch from '2026-07-06 18:12:47'::timestamp) - extract(epoch from '2026-07-06 18:12: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'), 47390, 'SRID=4674;POINT (-38.436247 -3.561725)', '2026-07-06 18:12:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436205 -3.561621)'), GeomFromEWKT('SRID=4674;POINT (-38.436247 -3.561725)'))) / (select extract(epoch from '2026-07-06 18:12:52'::timestamp) - extract(epoch from '2026-07-06 18:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436205 -3.561621)'), GeomFromEWKT('SRID=4674;POINT (-38.436247 -3.561725)'))) / (select extract(epoch from '2026-07-06 18:12:52'::timestamp) - extract(epoch from '2026-07-06 18:12: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'), 47390, 'SRID=4674;POINT (-38.436293 -3.561802)', '2026-07-06 18:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436247 -3.561725)'), GeomFromEWKT('SRID=4674;POINT (-38.436293 -3.561802)'))) / (select extract(epoch from '2026-07-06 18:12:56'::timestamp) - extract(epoch from '2026-07-06 18:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436247 -3.561725)'), GeomFromEWKT('SRID=4674;POINT (-38.436293 -3.561802)'))) / (select extract(epoch from '2026-07-06 18:12:56'::timestamp) - extract(epoch from '2026-07-06 18:12: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'), 47390, 'SRID=4674;POINT (-38.436339 -3.561916)', '2026-07-06 18:13:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436293 -3.561802)'), GeomFromEWKT('SRID=4674;POINT (-38.436339 -3.561916)'))) / (select extract(epoch from '2026-07-06 18:13:02'::timestamp) - extract(epoch from '2026-07-06 18:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436293 -3.561802)'), GeomFromEWKT('SRID=4674;POINT (-38.436339 -3.561916)'))) / (select extract(epoch from '2026-07-06 18:13:02'::timestamp) - extract(epoch from '2026-07-06 18:12: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'), 47390, 'SRID=4674;POINT (-38.436379 -3.562035)', '2026-07-06 18:13:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436339 -3.561916)'), GeomFromEWKT('SRID=4674;POINT (-38.436379 -3.562035)'))) / (select extract(epoch from '2026-07-06 18:13:08'::timestamp) - extract(epoch from '2026-07-06 18:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436339 -3.561916)'), GeomFromEWKT('SRID=4674;POINT (-38.436379 -3.562035)'))) / (select extract(epoch from '2026-07-06 18:13:08'::timestamp) - extract(epoch from '2026-07-06 18:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.436425 -3.56214)', '2026-07-06 18:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436379 -3.562035)'), GeomFromEWKT('SRID=4674;POINT (-38.436425 -3.56214)'))) / (select extract(epoch from '2026-07-06 18:13:13'::timestamp) - extract(epoch from '2026-07-06 18:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436379 -3.562035)'), GeomFromEWKT('SRID=4674;POINT (-38.436425 -3.56214)'))) / (select extract(epoch from '2026-07-06 18:13:13'::timestamp) - extract(epoch from '2026-07-06 18:13: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'), 47390, 'SRID=4674;POINT (-38.436468 -3.562261)', '2026-07-06 18:13:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436425 -3.56214)'), GeomFromEWKT('SRID=4674;POINT (-38.436468 -3.562261)'))) / (select extract(epoch from '2026-07-06 18:13:20'::timestamp) - extract(epoch from '2026-07-06 18:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436425 -3.56214)'), GeomFromEWKT('SRID=4674;POINT (-38.436468 -3.562261)'))) / (select extract(epoch from '2026-07-06 18:13:20'::timestamp) - extract(epoch from '2026-07-06 18:13: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'), 47390, 'SRID=4674;POINT (-38.436509 -3.56238)', '2026-07-06 18:13:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436468 -3.562261)'), GeomFromEWKT('SRID=4674;POINT (-38.436509 -3.56238)'))) / (select extract(epoch from '2026-07-06 18:13:26'::timestamp) - extract(epoch from '2026-07-06 18:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436468 -3.562261)'), GeomFromEWKT('SRID=4674;POINT (-38.436509 -3.56238)'))) / (select extract(epoch from '2026-07-06 18:13:26'::timestamp) - extract(epoch from '2026-07-06 18:13: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'), 47390, 'SRID=4674;POINT (-38.436559 -3.56248)', '2026-07-06 18:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436509 -3.56238)'), GeomFromEWKT('SRID=4674;POINT (-38.436559 -3.56248)'))) / (select extract(epoch from '2026-07-06 18:13:32'::timestamp) - extract(epoch from '2026-07-06 18:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436509 -3.56238)'), GeomFromEWKT('SRID=4674;POINT (-38.436559 -3.56248)'))) / (select extract(epoch from '2026-07-06 18:13:32'::timestamp) - extract(epoch from '2026-07-06 18:13: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'), 47390, 'SRID=4674;POINT (-38.436595 -3.562575)', '2026-07-06 18:13:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436559 -3.56248)'), GeomFromEWKT('SRID=4674;POINT (-38.436595 -3.562575)'))) / (select extract(epoch from '2026-07-06 18:13:38'::timestamp) - extract(epoch from '2026-07-06 18:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436559 -3.56248)'), GeomFromEWKT('SRID=4674;POINT (-38.436595 -3.562575)'))) / (select extract(epoch from '2026-07-06 18:13:38'::timestamp) - extract(epoch from '2026-07-06 18:13: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'), 47390, 'SRID=4674;POINT (-38.436638 -3.562678)', '2026-07-06 18:13:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436595 -3.562575)'), GeomFromEWKT('SRID=4674;POINT (-38.436638 -3.562678)'))) / (select extract(epoch from '2026-07-06 18:13:44'::timestamp) - extract(epoch from '2026-07-06 18:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436595 -3.562575)'), GeomFromEWKT('SRID=4674;POINT (-38.436638 -3.562678)'))) / (select extract(epoch from '2026-07-06 18:13:44'::timestamp) - extract(epoch from '2026-07-06 18:13:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.436679 -3.562779)', '2026-07-06 18:13:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436638 -3.562678)'), GeomFromEWKT('SRID=4674;POINT (-38.436679 -3.562779)'))) / (select extract(epoch from '2026-07-06 18:13:50'::timestamp) - extract(epoch from '2026-07-06 18:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436638 -3.562678)'), GeomFromEWKT('SRID=4674;POINT (-38.436679 -3.562779)'))) / (select extract(epoch from '2026-07-06 18:13:50'::timestamp) - extract(epoch from '2026-07-06 18:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.436705 -3.562868)', '2026-07-06 18:13:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436679 -3.562779)'), GeomFromEWKT('SRID=4674;POINT (-38.436705 -3.562868)'))) / (select extract(epoch from '2026-07-06 18:13:55'::timestamp) - extract(epoch from '2026-07-06 18:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436679 -3.562779)'), GeomFromEWKT('SRID=4674;POINT (-38.436705 -3.562868)'))) / (select extract(epoch from '2026-07-06 18:13:55'::timestamp) - extract(epoch from '2026-07-06 18:13: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'), 47390, 'SRID=4674;POINT (-38.436738 -3.562961)', '2026-07-06 18:14:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436705 -3.562868)'), GeomFromEWKT('SRID=4674;POINT (-38.436738 -3.562961)'))) / (select extract(epoch from '2026-07-06 18:14:00'::timestamp) - extract(epoch from '2026-07-06 18:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436705 -3.562868)'), GeomFromEWKT('SRID=4674;POINT (-38.436738 -3.562961)'))) / (select extract(epoch from '2026-07-06 18:14:00'::timestamp) - extract(epoch from '2026-07-06 18:13: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'), 47390, 'SRID=4674;POINT (-38.43677 -3.563098)', '2026-07-06 18:14:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436738 -3.562961)'), GeomFromEWKT('SRID=4674;POINT (-38.43677 -3.563098)'))) / (select extract(epoch from '2026-07-06 18:14:07'::timestamp) - extract(epoch from '2026-07-06 18:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436738 -3.562961)'), GeomFromEWKT('SRID=4674;POINT (-38.43677 -3.563098)'))) / (select extract(epoch from '2026-07-06 18:14:07'::timestamp) - extract(epoch from '2026-07-06 18:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.436815 -3.563231)', '2026-07-06 18:14:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43677 -3.563098)'), GeomFromEWKT('SRID=4674;POINT (-38.436815 -3.563231)'))) / (select extract(epoch from '2026-07-06 18:14:13'::timestamp) - extract(epoch from '2026-07-06 18:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43677 -3.563098)'), GeomFromEWKT('SRID=4674;POINT (-38.436815 -3.563231)'))) / (select extract(epoch from '2026-07-06 18:14:13'::timestamp) - extract(epoch from '2026-07-06 18:14: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'), 47390, 'SRID=4674;POINT (-38.436839 -3.56334)', '2026-07-06 18:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436815 -3.563231)'), GeomFromEWKT('SRID=4674;POINT (-38.436839 -3.56334)'))) / (select extract(epoch from '2026-07-06 18:14:18'::timestamp) - extract(epoch from '2026-07-06 18:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436815 -3.563231)'), GeomFromEWKT('SRID=4674;POINT (-38.436839 -3.56334)'))) / (select extract(epoch from '2026-07-06 18:14:18'::timestamp) - extract(epoch from '2026-07-06 18:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.436876 -3.56347)', '2026-07-06 18:14:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436839 -3.56334)'), GeomFromEWKT('SRID=4674;POINT (-38.436876 -3.56347)'))) / (select extract(epoch from '2026-07-06 18:14:24'::timestamp) - extract(epoch from '2026-07-06 18:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436839 -3.56334)'), GeomFromEWKT('SRID=4674;POINT (-38.436876 -3.56347)'))) / (select extract(epoch from '2026-07-06 18:14:24'::timestamp) - extract(epoch from '2026-07-06 18:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.436928 -3.563603)', '2026-07-06 18:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436876 -3.56347)'), GeomFromEWKT('SRID=4674;POINT (-38.436928 -3.563603)'))) / (select extract(epoch from '2026-07-06 18:14:30'::timestamp) - extract(epoch from '2026-07-06 18:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436876 -3.56347)'), GeomFromEWKT('SRID=4674;POINT (-38.436928 -3.563603)'))) / (select extract(epoch from '2026-07-06 18:14:30'::timestamp) - extract(epoch from '2026-07-06 18:14:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.436974 -3.563711)', '2026-07-06 18:14:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436928 -3.563603)'), GeomFromEWKT('SRID=4674;POINT (-38.436974 -3.563711)'))) / (select extract(epoch from '2026-07-06 18:14:35'::timestamp) - extract(epoch from '2026-07-06 18:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436928 -3.563603)'), GeomFromEWKT('SRID=4674;POINT (-38.436974 -3.563711)'))) / (select extract(epoch from '2026-07-06 18:14:35'::timestamp) - extract(epoch from '2026-07-06 18:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.437004 -3.563795)', '2026-07-06 18:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436974 -3.563711)'), GeomFromEWKT('SRID=4674;POINT (-38.437004 -3.563795)'))) / (select extract(epoch from '2026-07-06 18:14:39'::timestamp) - extract(epoch from '2026-07-06 18:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436974 -3.563711)'), GeomFromEWKT('SRID=4674;POINT (-38.437004 -3.563795)'))) / (select extract(epoch from '2026-07-06 18:14:39'::timestamp) - extract(epoch from '2026-07-06 18:14: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'), 47390, 'SRID=4674;POINT (-38.437044 -3.563928)', '2026-07-06 18:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437004 -3.563795)'), GeomFromEWKT('SRID=4674;POINT (-38.437044 -3.563928)'))) / (select extract(epoch from '2026-07-06 18:14:45'::timestamp) - extract(epoch from '2026-07-06 18:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437004 -3.563795)'), GeomFromEWKT('SRID=4674;POINT (-38.437044 -3.563928)'))) / (select extract(epoch from '2026-07-06 18:14:45'::timestamp) - extract(epoch from '2026-07-06 18:14: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'), 47390, 'SRID=4674;POINT (-38.437082 -3.564032)', '2026-07-06 18:14:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437044 -3.563928)'), GeomFromEWKT('SRID=4674;POINT (-38.437082 -3.564032)'))) / (select extract(epoch from '2026-07-06 18:14:50'::timestamp) - extract(epoch from '2026-07-06 18:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437044 -3.563928)'), GeomFromEWKT('SRID=4674;POINT (-38.437082 -3.564032)'))) / (select extract(epoch from '2026-07-06 18:14:50'::timestamp) - extract(epoch from '2026-07-06 18:14: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'), 47390, 'SRID=4674;POINT (-38.437121 -3.564141)', '2026-07-06 18:14:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437082 -3.564032)'), GeomFromEWKT('SRID=4674;POINT (-38.437121 -3.564141)'))) / (select extract(epoch from '2026-07-06 18:14:55'::timestamp) - extract(epoch from '2026-07-06 18:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437082 -3.564032)'), GeomFromEWKT('SRID=4674;POINT (-38.437121 -3.564141)'))) / (select extract(epoch from '2026-07-06 18:14:55'::timestamp) - extract(epoch from '2026-07-06 18:14: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'), 47390, 'SRID=4674;POINT (-38.437173 -3.564279)', '2026-07-06 18:15:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437121 -3.564141)'), GeomFromEWKT('SRID=4674;POINT (-38.437173 -3.564279)'))) / (select extract(epoch from '2026-07-06 18:15:02'::timestamp) - extract(epoch from '2026-07-06 18:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437121 -3.564141)'), GeomFromEWKT('SRID=4674;POINT (-38.437173 -3.564279)'))) / (select extract(epoch from '2026-07-06 18:15:02'::timestamp) - extract(epoch from '2026-07-06 18:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.437216 -3.564407)', '2026-07-06 18:15:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437173 -3.564279)'), GeomFromEWKT('SRID=4674;POINT (-38.437216 -3.564407)'))) / (select extract(epoch from '2026-07-06 18:15:08'::timestamp) - extract(epoch from '2026-07-06 18:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437173 -3.564279)'), GeomFromEWKT('SRID=4674;POINT (-38.437216 -3.564407)'))) / (select extract(epoch from '2026-07-06 18:15:08'::timestamp) - extract(epoch from '2026-07-06 18:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.437269 -3.564548)', '2026-07-06 18:15:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437216 -3.564407)'), GeomFromEWKT('SRID=4674;POINT (-38.437269 -3.564548)'))) / (select extract(epoch from '2026-07-06 18:15:15'::timestamp) - extract(epoch from '2026-07-06 18:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437216 -3.564407)'), GeomFromEWKT('SRID=4674;POINT (-38.437269 -3.564548)'))) / (select extract(epoch from '2026-07-06 18:15:15'::timestamp) - extract(epoch from '2026-07-06 18:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.437319 -3.564675)', '2026-07-06 18:15:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437269 -3.564548)'), GeomFromEWKT('SRID=4674;POINT (-38.437319 -3.564675)'))) / (select extract(epoch from '2026-07-06 18:15:21'::timestamp) - extract(epoch from '2026-07-06 18:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437269 -3.564548)'), GeomFromEWKT('SRID=4674;POINT (-38.437319 -3.564675)'))) / (select extract(epoch from '2026-07-06 18:15:21'::timestamp) - extract(epoch from '2026-07-06 18:15: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'), 47390, 'SRID=4674;POINT (-38.437389 -3.56481)', '2026-07-06 18:15:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437319 -3.564675)'), GeomFromEWKT('SRID=4674;POINT (-38.437389 -3.56481)'))) / (select extract(epoch from '2026-07-06 18:15:28'::timestamp) - extract(epoch from '2026-07-06 18:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437319 -3.564675)'), GeomFromEWKT('SRID=4674;POINT (-38.437389 -3.56481)'))) / (select extract(epoch from '2026-07-06 18:15:28'::timestamp) - extract(epoch from '2026-07-06 18:15: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'), 47390, 'SRID=4674;POINT (-38.437455 -3.564959)', '2026-07-06 18:15:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437389 -3.56481)'), GeomFromEWKT('SRID=4674;POINT (-38.437455 -3.564959)'))) / (select extract(epoch from '2026-07-06 18:15:36'::timestamp) - extract(epoch from '2026-07-06 18:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437389 -3.56481)'), GeomFromEWKT('SRID=4674;POINT (-38.437455 -3.564959)'))) / (select extract(epoch from '2026-07-06 18:15:36'::timestamp) - extract(epoch from '2026-07-06 18:15: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'), 47390, 'SRID=4674;POINT (-38.437506 -3.56509)', '2026-07-06 18:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437455 -3.564959)'), GeomFromEWKT('SRID=4674;POINT (-38.437506 -3.56509)'))) / (select extract(epoch from '2026-07-06 18:15:43'::timestamp) - extract(epoch from '2026-07-06 18:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437455 -3.564959)'), GeomFromEWKT('SRID=4674;POINT (-38.437506 -3.56509)'))) / (select extract(epoch from '2026-07-06 18:15:43'::timestamp) - extract(epoch from '2026-07-06 18:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.437565 -3.565253)', '2026-07-06 18:15:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437506 -3.56509)'), GeomFromEWKT('SRID=4674;POINT (-38.437565 -3.565253)'))) / (select extract(epoch from '2026-07-06 18:15:51'::timestamp) - extract(epoch from '2026-07-06 18:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437506 -3.56509)'), GeomFromEWKT('SRID=4674;POINT (-38.437565 -3.565253)'))) / (select extract(epoch from '2026-07-06 18:15:51'::timestamp) - extract(epoch from '2026-07-06 18:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.437634 -3.5654)', '2026-07-06 18:15:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437565 -3.565253)'), GeomFromEWKT('SRID=4674;POINT (-38.437634 -3.5654)'))) / (select extract(epoch from '2026-07-06 18:15:59'::timestamp) - extract(epoch from '2026-07-06 18:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437565 -3.565253)'), GeomFromEWKT('SRID=4674;POINT (-38.437634 -3.5654)'))) / (select extract(epoch from '2026-07-06 18:15:59'::timestamp) - extract(epoch from '2026-07-06 18:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.43768 -3.565502)', '2026-07-06 18:16:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437634 -3.5654)'), GeomFromEWKT('SRID=4674;POINT (-38.43768 -3.565502)'))) / (select extract(epoch from '2026-07-06 18:16:05'::timestamp) - extract(epoch from '2026-07-06 18:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437634 -3.5654)'), GeomFromEWKT('SRID=4674;POINT (-38.43768 -3.565502)'))) / (select extract(epoch from '2026-07-06 18:16:05'::timestamp) - extract(epoch from '2026-07-06 18:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.43772 -3.565612)', '2026-07-06 18:16:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43768 -3.565502)'), GeomFromEWKT('SRID=4674;POINT (-38.43772 -3.565612)'))) / (select extract(epoch from '2026-07-06 18:16:11'::timestamp) - extract(epoch from '2026-07-06 18:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43768 -3.565502)'), GeomFromEWKT('SRID=4674;POINT (-38.43772 -3.565612)'))) / (select extract(epoch from '2026-07-06 18:16:11'::timestamp) - extract(epoch from '2026-07-06 18:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.437777 -3.565732)', '2026-07-06 18:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43772 -3.565612)'), GeomFromEWKT('SRID=4674;POINT (-38.437777 -3.565732)'))) / (select extract(epoch from '2026-07-06 18:16:18'::timestamp) - extract(epoch from '2026-07-06 18:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43772 -3.565612)'), GeomFromEWKT('SRID=4674;POINT (-38.437777 -3.565732)'))) / (select extract(epoch from '2026-07-06 18:16:18'::timestamp) - extract(epoch from '2026-07-06 18:16: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'), 47390, 'SRID=4674;POINT (-38.437832 -3.565852)', '2026-07-06 18:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437777 -3.565732)'), GeomFromEWKT('SRID=4674;POINT (-38.437832 -3.565852)'))) / (select extract(epoch from '2026-07-06 18:16:24'::timestamp) - extract(epoch from '2026-07-06 18:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437777 -3.565732)'), GeomFromEWKT('SRID=4674;POINT (-38.437832 -3.565852)'))) / (select extract(epoch from '2026-07-06 18:16:24'::timestamp) - extract(epoch from '2026-07-06 18:16: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'), 47390, 'SRID=4674;POINT (-38.4379 -3.56599)', '2026-07-06 18:16:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437832 -3.565852)'), GeomFromEWKT('SRID=4674;POINT (-38.4379 -3.56599)'))) / (select extract(epoch from '2026-07-06 18:16:31'::timestamp) - extract(epoch from '2026-07-06 18:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437832 -3.565852)'), GeomFromEWKT('SRID=4674;POINT (-38.4379 -3.56599)'))) / (select extract(epoch from '2026-07-06 18:16:31'::timestamp) - extract(epoch from '2026-07-06 18:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.437951 -3.566094)', '2026-07-06 18:16:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4379 -3.56599)'), GeomFromEWKT('SRID=4674;POINT (-38.437951 -3.566094)'))) / (select extract(epoch from '2026-07-06 18:16:37'::timestamp) - extract(epoch from '2026-07-06 18:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4379 -3.56599)'), GeomFromEWKT('SRID=4674;POINT (-38.437951 -3.566094)'))) / (select extract(epoch from '2026-07-06 18:16:37'::timestamp) - extract(epoch from '2026-07-06 18:16: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'), 47390, 'SRID=4674;POINT (-38.438 -3.566204)', '2026-07-06 18:16:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437951 -3.566094)'), GeomFromEWKT('SRID=4674;POINT (-38.438 -3.566204)'))) / (select extract(epoch from '2026-07-06 18:16:43'::timestamp) - extract(epoch from '2026-07-06 18:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437951 -3.566094)'), GeomFromEWKT('SRID=4674;POINT (-38.438 -3.566204)'))) / (select extract(epoch from '2026-07-06 18:16:43'::timestamp) - extract(epoch from '2026-07-06 18:16:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.438045 -3.566294)', '2026-07-06 18:16:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438 -3.566204)'), GeomFromEWKT('SRID=4674;POINT (-38.438045 -3.566294)'))) / (select extract(epoch from '2026-07-06 18:16:48'::timestamp) - extract(epoch from '2026-07-06 18:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438 -3.566204)'), GeomFromEWKT('SRID=4674;POINT (-38.438045 -3.566294)'))) / (select extract(epoch from '2026-07-06 18:16:48'::timestamp) - extract(epoch from '2026-07-06 18:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.43809 -3.566389)', '2026-07-06 18:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438045 -3.566294)'), GeomFromEWKT('SRID=4674;POINT (-38.43809 -3.566389)'))) / (select extract(epoch from '2026-07-06 18:16:53'::timestamp) - extract(epoch from '2026-07-06 18:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438045 -3.566294)'), GeomFromEWKT('SRID=4674;POINT (-38.43809 -3.566389)'))) / (select extract(epoch from '2026-07-06 18:16:53'::timestamp) - extract(epoch from '2026-07-06 18:16: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'), 47390, 'SRID=4674;POINT (-38.438149 -3.566498)', '2026-07-06 18:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43809 -3.566389)'), GeomFromEWKT('SRID=4674;POINT (-38.438149 -3.566498)'))) / (select extract(epoch from '2026-07-06 18:16:59'::timestamp) - extract(epoch from '2026-07-06 18:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43809 -3.566389)'), GeomFromEWKT('SRID=4674;POINT (-38.438149 -3.566498)'))) / (select extract(epoch from '2026-07-06 18:16:59'::timestamp) - extract(epoch from '2026-07-06 18:16: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'), 47390, 'SRID=4674;POINT (-38.438187 -3.566584)', '2026-07-06 18:17:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438149 -3.566498)'), GeomFromEWKT('SRID=4674;POINT (-38.438187 -3.566584)'))) / (select extract(epoch from '2026-07-06 18:17:04'::timestamp) - extract(epoch from '2026-07-06 18:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438149 -3.566498)'), GeomFromEWKT('SRID=4674;POINT (-38.438187 -3.566584)'))) / (select extract(epoch from '2026-07-06 18:17:04'::timestamp) - extract(epoch from '2026-07-06 18:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.438239 -3.566687)', '2026-07-06 18:17:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438187 -3.566584)'), GeomFromEWKT('SRID=4674;POINT (-38.438239 -3.566687)'))) / (select extract(epoch from '2026-07-06 18:17:10'::timestamp) - extract(epoch from '2026-07-06 18:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438187 -3.566584)'), GeomFromEWKT('SRID=4674;POINT (-38.438239 -3.566687)'))) / (select extract(epoch from '2026-07-06 18:17:10'::timestamp) - extract(epoch from '2026-07-06 18:17: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'), 47390, 'SRID=4674;POINT (-38.438292 -3.566798)', '2026-07-06 18:17:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438239 -3.566687)'), GeomFromEWKT('SRID=4674;POINT (-38.438292 -3.566798)'))) / (select extract(epoch from '2026-07-06 18:17:16'::timestamp) - extract(epoch from '2026-07-06 18:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438239 -3.566687)'), GeomFromEWKT('SRID=4674;POINT (-38.438292 -3.566798)'))) / (select extract(epoch from '2026-07-06 18:17:16'::timestamp) - extract(epoch from '2026-07-06 18:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.438358 -3.566932)', '2026-07-06 18:17:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438292 -3.566798)'), GeomFromEWKT('SRID=4674;POINT (-38.438358 -3.566932)'))) / (select extract(epoch from '2026-07-06 18:17:23'::timestamp) - extract(epoch from '2026-07-06 18:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438292 -3.566798)'), GeomFromEWKT('SRID=4674;POINT (-38.438358 -3.566932)'))) / (select extract(epoch from '2026-07-06 18:17:23'::timestamp) - extract(epoch from '2026-07-06 18:17: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'), 47390, 'SRID=4674;POINT (-38.438365 -3.566952)', '2026-07-06 18:17:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438358 -3.566932)'), GeomFromEWKT('SRID=4674;POINT (-38.438365 -3.566952)'))) / (select extract(epoch from '2026-07-06 18:17:24'::timestamp) - extract(epoch from '2026-07-06 18:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438358 -3.566932)'), GeomFromEWKT('SRID=4674;POINT (-38.438365 -3.566952)'))) / (select extract(epoch from '2026-07-06 18:17:24'::timestamp) - extract(epoch from '2026-07-06 18:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.438398 -3.567002)', '2026-07-06 18:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438365 -3.566952)'), GeomFromEWKT('SRID=4674;POINT (-38.438398 -3.567002)'))) / (select extract(epoch from '2026-07-06 18:17:27'::timestamp) - extract(epoch from '2026-07-06 18:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438365 -3.566952)'), GeomFromEWKT('SRID=4674;POINT (-38.438398 -3.567002)'))) / (select extract(epoch from '2026-07-06 18:17:27'::timestamp) - extract(epoch from '2026-07-06 18: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'), 47390, 'SRID=4674;POINT (-38.438409 -3.567041)', '2026-07-06 18:17:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438398 -3.567002)'), GeomFromEWKT('SRID=4674;POINT (-38.438409 -3.567041)'))) / (select extract(epoch from '2026-07-06 18:17:29'::timestamp) - extract(epoch from '2026-07-06 18:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438398 -3.567002)'), GeomFromEWKT('SRID=4674;POINT (-38.438409 -3.567041)'))) / (select extract(epoch from '2026-07-06 18:17:29'::timestamp) - extract(epoch from '2026-07-06 18: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'), 47390, 'SRID=4674;POINT (-38.438441 -3.5671)', '2026-07-06 18:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438409 -3.567041)'), GeomFromEWKT('SRID=4674;POINT (-38.438441 -3.5671)'))) / (select extract(epoch from '2026-07-06 18:17:32'::timestamp) - extract(epoch from '2026-07-06 18:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438409 -3.567041)'), GeomFromEWKT('SRID=4674;POINT (-38.438441 -3.5671)'))) / (select extract(epoch from '2026-07-06 18:17:32'::timestamp) - extract(epoch from '2026-07-06 18:17:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.438479 -3.567204)', '2026-07-06 18:17:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438441 -3.5671)'), GeomFromEWKT('SRID=4674;POINT (-38.438479 -3.567204)'))) / (select extract(epoch from '2026-07-06 18:17:38'::timestamp) - extract(epoch from '2026-07-06 18:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438441 -3.5671)'), GeomFromEWKT('SRID=4674;POINT (-38.438479 -3.567204)'))) / (select extract(epoch from '2026-07-06 18:17:38'::timestamp) - extract(epoch from '2026-07-06 18:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.438545 -3.56736)', '2026-07-06 18:17:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438479 -3.567204)'), GeomFromEWKT('SRID=4674;POINT (-38.438545 -3.56736)'))) / (select extract(epoch from '2026-07-06 18:17:46'::timestamp) - extract(epoch from '2026-07-06 18:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438479 -3.567204)'), GeomFromEWKT('SRID=4674;POINT (-38.438545 -3.56736)'))) / (select extract(epoch from '2026-07-06 18:17:46'::timestamp) - extract(epoch from '2026-07-06 18:17: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'), 47390, 'SRID=4674;POINT (-38.4386 -3.567487)', '2026-07-06 18:17:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438545 -3.56736)'), GeomFromEWKT('SRID=4674;POINT (-38.4386 -3.567487)'))) / (select extract(epoch from '2026-07-06 18:17:53'::timestamp) - extract(epoch from '2026-07-06 18:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438545 -3.56736)'), GeomFromEWKT('SRID=4674;POINT (-38.4386 -3.567487)'))) / (select extract(epoch from '2026-07-06 18:17:53'::timestamp) - extract(epoch from '2026-07-06 18:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.438643 -3.567601)', '2026-07-06 18:17:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4386 -3.567487)'), GeomFromEWKT('SRID=4674;POINT (-38.438643 -3.567601)'))) / (select extract(epoch from '2026-07-06 18:17:59'::timestamp) - extract(epoch from '2026-07-06 18:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4386 -3.567487)'), GeomFromEWKT('SRID=4674;POINT (-38.438643 -3.567601)'))) / (select extract(epoch from '2026-07-06 18:17:59'::timestamp) - extract(epoch from '2026-07-06 18: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'), 47390, 'SRID=4674;POINT (-38.4387 -3.567716)', '2026-07-06 18:18:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438643 -3.567601)'), GeomFromEWKT('SRID=4674;POINT (-38.4387 -3.567716)'))) / (select extract(epoch from '2026-07-06 18:18:05'::timestamp) - extract(epoch from '2026-07-06 18:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438643 -3.567601)'), GeomFromEWKT('SRID=4674;POINT (-38.4387 -3.567716)'))) / (select extract(epoch from '2026-07-06 18:18:05'::timestamp) - extract(epoch from '2026-07-06 18:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.438766 -3.567888)', '2026-07-06 18:18:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4387 -3.567716)'), GeomFromEWKT('SRID=4674;POINT (-38.438766 -3.567888)'))) / (select extract(epoch from '2026-07-06 18:18:14'::timestamp) - extract(epoch from '2026-07-06 18:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4387 -3.567716)'), GeomFromEWKT('SRID=4674;POINT (-38.438766 -3.567888)'))) / (select extract(epoch from '2026-07-06 18:18:14'::timestamp) - extract(epoch from '2026-07-06 18:18: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'), 47390, 'SRID=4674;POINT (-38.438815 -3.568015)', '2026-07-06 18:18:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438766 -3.567888)'), GeomFromEWKT('SRID=4674;POINT (-38.438815 -3.568015)'))) / (select extract(epoch from '2026-07-06 18:18:21'::timestamp) - extract(epoch from '2026-07-06 18:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438766 -3.567888)'), GeomFromEWKT('SRID=4674;POINT (-38.438815 -3.568015)'))) / (select extract(epoch from '2026-07-06 18:18:21'::timestamp) - extract(epoch from '2026-07-06 18:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.438845 -3.568114)', '2026-07-06 18:18:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438815 -3.568015)'), GeomFromEWKT('SRID=4674;POINT (-38.438845 -3.568114)'))) / (select extract(epoch from '2026-07-06 18:18:26'::timestamp) - extract(epoch from '2026-07-06 18:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438815 -3.568015)'), GeomFromEWKT('SRID=4674;POINT (-38.438845 -3.568114)'))) / (select extract(epoch from '2026-07-06 18:18:26'::timestamp) - extract(epoch from '2026-07-06 18:18: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'), 47390, 'SRID=4674;POINT (-38.438875 -3.56821)', '2026-07-06 18:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438845 -3.568114)'), GeomFromEWKT('SRID=4674;POINT (-38.438875 -3.56821)'))) / (select extract(epoch from '2026-07-06 18:18:31'::timestamp) - extract(epoch from '2026-07-06 18:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438845 -3.568114)'), GeomFromEWKT('SRID=4674;POINT (-38.438875 -3.56821)'))) / (select extract(epoch from '2026-07-06 18:18:31'::timestamp) - extract(epoch from '2026-07-06 18:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.438902 -3.568317)', '2026-07-06 18:18:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438875 -3.56821)'), GeomFromEWKT('SRID=4674;POINT (-38.438902 -3.568317)'))) / (select extract(epoch from '2026-07-06 18:18:36'::timestamp) - extract(epoch from '2026-07-06 18:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438875 -3.56821)'), GeomFromEWKT('SRID=4674;POINT (-38.438902 -3.568317)'))) / (select extract(epoch from '2026-07-06 18:18:36'::timestamp) - extract(epoch from '2026-07-06 18:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.438955 -3.56848)', '2026-07-06 18:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438902 -3.568317)'), GeomFromEWKT('SRID=4674;POINT (-38.438955 -3.56848)'))) / (select extract(epoch from '2026-07-06 18:18:44'::timestamp) - extract(epoch from '2026-07-06 18:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438902 -3.568317)'), GeomFromEWKT('SRID=4674;POINT (-38.438955 -3.56848)'))) / (select extract(epoch from '2026-07-06 18:18:44'::timestamp) - extract(epoch from '2026-07-06 18:18:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
