 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425293 -3.665)', '2026-07-07 07:54:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425336 -3.664934)'), GeomFromEWKT('SRID=4674;POINT (-38.425293 -3.665)'))) / (select extract(epoch from '2026-07-07 07:54:05'::timestamp) - extract(epoch from '2026-07-07 07:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425336 -3.664934)'), GeomFromEWKT('SRID=4674;POINT (-38.425293 -3.665)'))) / (select extract(epoch from '2026-07-07 07:54:05'::timestamp) - extract(epoch from '2026-07-07 07:54:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425274 -3.665035)', '2026-07-07 07:54:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425293 -3.665)'), GeomFromEWKT('SRID=4674;POINT (-38.425274 -3.665035)'))) / (select extract(epoch from '2026-07-07 07:54:07'::timestamp) - extract(epoch from '2026-07-07 07:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425293 -3.665)'), GeomFromEWKT('SRID=4674;POINT (-38.425274 -3.665035)'))) / (select extract(epoch from '2026-07-07 07:54:07'::timestamp) - extract(epoch from '2026-07-07 07:54:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425231 -3.665111)', '2026-07-07 07:54:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425274 -3.665035)'), GeomFromEWKT('SRID=4674;POINT (-38.425231 -3.665111)'))) / (select extract(epoch from '2026-07-07 07:54:12'::timestamp) - extract(epoch from '2026-07-07 07:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425274 -3.665035)'), GeomFromEWKT('SRID=4674;POINT (-38.425231 -3.665111)'))) / (select extract(epoch from '2026-07-07 07:54:12'::timestamp) - extract(epoch from '2026-07-07 07:54:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425195 -3.665173)', '2026-07-07 07:54:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425231 -3.665111)'), GeomFromEWKT('SRID=4674;POINT (-38.425195 -3.665173)'))) / (select extract(epoch from '2026-07-07 07:54:16'::timestamp) - extract(epoch from '2026-07-07 07:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425231 -3.665111)'), GeomFromEWKT('SRID=4674;POINT (-38.425195 -3.665173)'))) / (select extract(epoch from '2026-07-07 07:54:16'::timestamp) - extract(epoch from '2026-07-07 07:54:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425157 -3.665254)', '2026-07-07 07:54:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425195 -3.665173)'), GeomFromEWKT('SRID=4674;POINT (-38.425157 -3.665254)'))) / (select extract(epoch from '2026-07-07 07:54:22'::timestamp) - extract(epoch from '2026-07-07 07:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425195 -3.665173)'), GeomFromEWKT('SRID=4674;POINT (-38.425157 -3.665254)'))) / (select extract(epoch from '2026-07-07 07:54:22'::timestamp) - extract(epoch from '2026-07-07 07:54:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425127 -3.665352)', '2026-07-07 07:54:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425157 -3.665254)'), GeomFromEWKT('SRID=4674;POINT (-38.425127 -3.665352)'))) / (select extract(epoch from '2026-07-07 07:54:28'::timestamp) - extract(epoch from '2026-07-07 07:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425157 -3.665254)'), GeomFromEWKT('SRID=4674;POINT (-38.425127 -3.665352)'))) / (select extract(epoch from '2026-07-07 07:54:28'::timestamp) - extract(epoch from '2026-07-07 07:54:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425078 -3.665458)', '2026-07-07 07:54:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425127 -3.665352)'), GeomFromEWKT('SRID=4674;POINT (-38.425078 -3.665458)'))) / (select extract(epoch from '2026-07-07 07:54:35'::timestamp) - extract(epoch from '2026-07-07 07:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425127 -3.665352)'), GeomFromEWKT('SRID=4674;POINT (-38.425078 -3.665458)'))) / (select extract(epoch from '2026-07-07 07:54:35'::timestamp) - extract(epoch from '2026-07-07 07:54:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425046 -3.665522)', '2026-07-07 07:54:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425078 -3.665458)'), GeomFromEWKT('SRID=4674;POINT (-38.425046 -3.665522)'))) / (select extract(epoch from '2026-07-07 07:54:39'::timestamp) - extract(epoch from '2026-07-07 07:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425078 -3.665458)'), GeomFromEWKT('SRID=4674;POINT (-38.425046 -3.665522)'))) / (select extract(epoch from '2026-07-07 07:54:39'::timestamp) - extract(epoch from '2026-07-07 07:54:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425038 -3.665562)', '2026-07-07 07:54:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425046 -3.665522)'), GeomFromEWKT('SRID=4674;POINT (-38.425038 -3.665562)'))) / (select extract(epoch from '2026-07-07 07:54:41'::timestamp) - extract(epoch from '2026-07-07 07:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425046 -3.665522)'), GeomFromEWKT('SRID=4674;POINT (-38.425038 -3.665562)'))) / (select extract(epoch from '2026-07-07 07:54:41'::timestamp) - extract(epoch from '2026-07-07 07:54:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424998 -3.665644)', '2026-07-07 07:54:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425038 -3.665562)'), GeomFromEWKT('SRID=4674;POINT (-38.424998 -3.665644)'))) / (select extract(epoch from '2026-07-07 07:54:46'::timestamp) - extract(epoch from '2026-07-07 07:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425038 -3.665562)'), GeomFromEWKT('SRID=4674;POINT (-38.424998 -3.665644)'))) / (select extract(epoch from '2026-07-07 07:54:46'::timestamp) - extract(epoch from '2026-07-07 07:54:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424949 -3.665735)', '2026-07-07 07:54:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424998 -3.665644)'), GeomFromEWKT('SRID=4674;POINT (-38.424949 -3.665735)'))) / (select extract(epoch from '2026-07-07 07:54:52'::timestamp) - extract(epoch from '2026-07-07 07:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424998 -3.665644)'), GeomFromEWKT('SRID=4674;POINT (-38.424949 -3.665735)'))) / (select extract(epoch from '2026-07-07 07:54:52'::timestamp) - extract(epoch from '2026-07-07 07:54:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424912 -3.665811)', '2026-07-07 07:54:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424949 -3.665735)'), GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.665811)'))) / (select extract(epoch from '2026-07-07 07:54:57'::timestamp) - extract(epoch from '2026-07-07 07:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424949 -3.665735)'), GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.665811)'))) / (select extract(epoch from '2026-07-07 07:54:57'::timestamp) - extract(epoch from '2026-07-07 07:54:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424859 -3.665905)', '2026-07-07 07:55:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.665811)'), GeomFromEWKT('SRID=4674;POINT (-38.424859 -3.665905)'))) / (select extract(epoch from '2026-07-07 07:55:03'::timestamp) - extract(epoch from '2026-07-07 07:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.665811)'), GeomFromEWKT('SRID=4674;POINT (-38.424859 -3.665905)'))) / (select extract(epoch from '2026-07-07 07:55:03'::timestamp) - extract(epoch from '2026-07-07 07:54:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424805 -3.666008)', '2026-07-07 07:55:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424859 -3.665905)'), GeomFromEWKT('SRID=4674;POINT (-38.424805 -3.666008)'))) / (select extract(epoch from '2026-07-07 07:55:09'::timestamp) - extract(epoch from '2026-07-07 07:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424859 -3.665905)'), GeomFromEWKT('SRID=4674;POINT (-38.424805 -3.666008)'))) / (select extract(epoch from '2026-07-07 07:55:09'::timestamp) - extract(epoch from '2026-07-07 07:55:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424796 -3.666025)', '2026-07-07 07:55:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424805 -3.666008)'), GeomFromEWKT('SRID=4674;POINT (-38.424796 -3.666025)'))) / (select extract(epoch from '2026-07-07 07:55:10'::timestamp) - extract(epoch from '2026-07-07 07:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424805 -3.666008)'), GeomFromEWKT('SRID=4674;POINT (-38.424796 -3.666025)'))) / (select extract(epoch from '2026-07-07 07:55:10'::timestamp) - extract(epoch from '2026-07-07 07:55:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424752 -3.666097)', '2026-07-07 07:55:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424796 -3.666025)'), GeomFromEWKT('SRID=4674;POINT (-38.424752 -3.666097)'))) / (select extract(epoch from '2026-07-07 07:55:14'::timestamp) - extract(epoch from '2026-07-07 07:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424796 -3.666025)'), GeomFromEWKT('SRID=4674;POINT (-38.424752 -3.666097)'))) / (select extract(epoch from '2026-07-07 07:55:14'::timestamp) - extract(epoch from '2026-07-07 07:55:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42472 -3.666135)', '2026-07-07 07:55:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424752 -3.666097)'), GeomFromEWKT('SRID=4674;POINT (-38.42472 -3.666135)'))) / (select extract(epoch from '2026-07-07 07:55:17'::timestamp) - extract(epoch from '2026-07-07 07:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424752 -3.666097)'), GeomFromEWKT('SRID=4674;POINT (-38.42472 -3.666135)'))) / (select extract(epoch from '2026-07-07 07:55:17'::timestamp) - extract(epoch from '2026-07-07 07:55:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424691 -3.66616)', '2026-07-07 07:55:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42472 -3.666135)'), GeomFromEWKT('SRID=4674;POINT (-38.424691 -3.66616)'))) / (select extract(epoch from '2026-07-07 07:55:19'::timestamp) - extract(epoch from '2026-07-07 07:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42472 -3.666135)'), GeomFromEWKT('SRID=4674;POINT (-38.424691 -3.66616)'))) / (select extract(epoch from '2026-07-07 07:55:19'::timestamp) - extract(epoch from '2026-07-07 07:55:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424656 -3.666196)', '2026-07-07 07:55:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424691 -3.66616)'), GeomFromEWKT('SRID=4674;POINT (-38.424656 -3.666196)'))) / (select extract(epoch from '2026-07-07 07:55:22'::timestamp) - extract(epoch from '2026-07-07 07:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424691 -3.66616)'), GeomFromEWKT('SRID=4674;POINT (-38.424656 -3.666196)'))) / (select extract(epoch from '2026-07-07 07:55:22'::timestamp) - extract(epoch from '2026-07-07 07:55:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424616 -3.666234)', '2026-07-07 07:55:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424656 -3.666196)'), GeomFromEWKT('SRID=4674;POINT (-38.424616 -3.666234)'))) / (select extract(epoch from '2026-07-07 07:55:25'::timestamp) - extract(epoch from '2026-07-07 07:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424656 -3.666196)'), GeomFromEWKT('SRID=4674;POINT (-38.424616 -3.666234)'))) / (select extract(epoch from '2026-07-07 07:55:25'::timestamp) - extract(epoch from '2026-07-07 07:55:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424548 -3.666293)', '2026-07-07 07:55:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424616 -3.666234)'), GeomFromEWKT('SRID=4674;POINT (-38.424548 -3.666293)'))) / (select extract(epoch from '2026-07-07 07:55:30'::timestamp) - extract(epoch from '2026-07-07 07:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424616 -3.666234)'), GeomFromEWKT('SRID=4674;POINT (-38.424548 -3.666293)'))) / (select extract(epoch from '2026-07-07 07:55:30'::timestamp) - extract(epoch from '2026-07-07 07:55:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424483 -3.666352)', '2026-07-07 07:55:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424548 -3.666293)'), GeomFromEWKT('SRID=4674;POINT (-38.424483 -3.666352)'))) / (select extract(epoch from '2026-07-07 07:55:35'::timestamp) - extract(epoch from '2026-07-07 07:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424548 -3.666293)'), GeomFromEWKT('SRID=4674;POINT (-38.424483 -3.666352)'))) / (select extract(epoch from '2026-07-07 07:55:35'::timestamp) - extract(epoch from '2026-07-07 07:55:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424399 -3.666448)', '2026-07-07 07:55:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424483 -3.666352)'), GeomFromEWKT('SRID=4674;POINT (-38.424399 -3.666448)'))) / (select extract(epoch from '2026-07-07 07:55:42'::timestamp) - extract(epoch from '2026-07-07 07:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424483 -3.666352)'), GeomFromEWKT('SRID=4674;POINT (-38.424399 -3.666448)'))) / (select extract(epoch from '2026-07-07 07:55:42'::timestamp) - extract(epoch from '2026-07-07 07:55:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42433 -3.666518)', '2026-07-07 07:55:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424399 -3.666448)'), GeomFromEWKT('SRID=4674;POINT (-38.42433 -3.666518)'))) / (select extract(epoch from '2026-07-07 07:55:47'::timestamp) - extract(epoch from '2026-07-07 07:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424399 -3.666448)'), GeomFromEWKT('SRID=4674;POINT (-38.42433 -3.666518)'))) / (select extract(epoch from '2026-07-07 07:55:47'::timestamp) - extract(epoch from '2026-07-07 07:55:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424271 -3.666577)', '2026-07-07 07:55:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42433 -3.666518)'), GeomFromEWKT('SRID=4674;POINT (-38.424271 -3.666577)'))) / (select extract(epoch from '2026-07-07 07:55:52'::timestamp) - extract(epoch from '2026-07-07 07:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42433 -3.666518)'), GeomFromEWKT('SRID=4674;POINT (-38.424271 -3.666577)'))) / (select extract(epoch from '2026-07-07 07:55:52'::timestamp) - extract(epoch from '2026-07-07 07:55:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424263 -3.66659)', '2026-07-07 07:55:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424271 -3.666577)'), GeomFromEWKT('SRID=4674;POINT (-38.424263 -3.66659)'))) / (select extract(epoch from '2026-07-07 07:55:53'::timestamp) - extract(epoch from '2026-07-07 07:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424271 -3.666577)'), GeomFromEWKT('SRID=4674;POINT (-38.424263 -3.66659)'))) / (select extract(epoch from '2026-07-07 07:55:53'::timestamp) - extract(epoch from '2026-07-07 07:55:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424228 -3.666626)', '2026-07-07 07:55:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424263 -3.66659)'), GeomFromEWKT('SRID=4674;POINT (-38.424228 -3.666626)'))) / (select extract(epoch from '2026-07-07 07:55:56'::timestamp) - extract(epoch from '2026-07-07 07:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424263 -3.66659)'), GeomFromEWKT('SRID=4674;POINT (-38.424228 -3.666626)'))) / (select extract(epoch from '2026-07-07 07:55:56'::timestamp) - extract(epoch from '2026-07-07 07:55:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424178 -3.666697)', '2026-07-07 07:56:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424228 -3.666626)'), GeomFromEWKT('SRID=4674;POINT (-38.424178 -3.666697)'))) / (select extract(epoch from '2026-07-07 07:56:01'::timestamp) - extract(epoch from '2026-07-07 07:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424228 -3.666626)'), GeomFromEWKT('SRID=4674;POINT (-38.424178 -3.666697)'))) / (select extract(epoch from '2026-07-07 07:56:01'::timestamp) - extract(epoch from '2026-07-07 07:55:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424125 -3.666773)', '2026-07-07 07:56:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424178 -3.666697)'), GeomFromEWKT('SRID=4674;POINT (-38.424125 -3.666773)'))) / (select extract(epoch from '2026-07-07 07:56:06'::timestamp) - extract(epoch from '2026-07-07 07:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424178 -3.666697)'), GeomFromEWKT('SRID=4674;POINT (-38.424125 -3.666773)'))) / (select extract(epoch from '2026-07-07 07:56:06'::timestamp) - extract(epoch from '2026-07-07 07:56:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424113 -3.666787)', '2026-07-07 07:56:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424125 -3.666773)'), GeomFromEWKT('SRID=4674;POINT (-38.424113 -3.666787)'))) / (select extract(epoch from '2026-07-07 07:56:07'::timestamp) - extract(epoch from '2026-07-07 07:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424125 -3.666773)'), GeomFromEWKT('SRID=4674;POINT (-38.424113 -3.666787)'))) / (select extract(epoch from '2026-07-07 07:56:07'::timestamp) - extract(epoch from '2026-07-07 07:56:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424084 -3.666832)', '2026-07-07 07:56:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424113 -3.666787)'), GeomFromEWKT('SRID=4674;POINT (-38.424084 -3.666832)'))) / (select extract(epoch from '2026-07-07 07:56:10'::timestamp) - extract(epoch from '2026-07-07 07:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424113 -3.666787)'), GeomFromEWKT('SRID=4674;POINT (-38.424084 -3.666832)'))) / (select extract(epoch from '2026-07-07 07:56:10'::timestamp) - extract(epoch from '2026-07-07 07:56:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42403 -3.666913)', '2026-07-07 07:56:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424084 -3.666832)'), GeomFromEWKT('SRID=4674;POINT (-38.42403 -3.666913)'))) / (select extract(epoch from '2026-07-07 07:56:15'::timestamp) - extract(epoch from '2026-07-07 07:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424084 -3.666832)'), GeomFromEWKT('SRID=4674;POINT (-38.42403 -3.666913)'))) / (select extract(epoch from '2026-07-07 07:56:15'::timestamp) - extract(epoch from '2026-07-07 07:56:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423977 -3.666958)', '2026-07-07 07:56:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42403 -3.666913)'), GeomFromEWKT('SRID=4674;POINT (-38.423977 -3.666958)'))) / (select extract(epoch from '2026-07-07 07:56:19'::timestamp) - extract(epoch from '2026-07-07 07:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42403 -3.666913)'), GeomFromEWKT('SRID=4674;POINT (-38.423977 -3.666958)'))) / (select extract(epoch from '2026-07-07 07:56:19'::timestamp) - extract(epoch from '2026-07-07 07:56:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423969 -3.666973)', '2026-07-07 07:56:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423977 -3.666958)'), GeomFromEWKT('SRID=4674;POINT (-38.423969 -3.666973)'))) / (select extract(epoch from '2026-07-07 07:56:20'::timestamp) - extract(epoch from '2026-07-07 07:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423977 -3.666958)'), GeomFromEWKT('SRID=4674;POINT (-38.423969 -3.666973)'))) / (select extract(epoch from '2026-07-07 07:56:20'::timestamp) - extract(epoch from '2026-07-07 07:56:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423956 -3.666982)', '2026-07-07 07:56:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423969 -3.666973)'), GeomFromEWKT('SRID=4674;POINT (-38.423956 -3.666982)'))) / (select extract(epoch from '2026-07-07 07:56:21'::timestamp) - extract(epoch from '2026-07-07 07:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423969 -3.666973)'), GeomFromEWKT('SRID=4674;POINT (-38.423956 -3.666982)'))) / (select extract(epoch from '2026-07-07 07:56:21'::timestamp) - extract(epoch from '2026-07-07 07:56:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423901 -3.66701)', '2026-07-07 07:56:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423956 -3.666982)'), GeomFromEWKT('SRID=4674;POINT (-38.423901 -3.66701)'))) / (select extract(epoch from '2026-07-07 07:56:24'::timestamp) - extract(epoch from '2026-07-07 07:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423956 -3.666982)'), GeomFromEWKT('SRID=4674;POINT (-38.423901 -3.66701)'))) / (select extract(epoch from '2026-07-07 07:56:24'::timestamp) - extract(epoch from '2026-07-07 07:56:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423837 -3.667068)', '2026-07-07 07:56:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423901 -3.66701)'), GeomFromEWKT('SRID=4674;POINT (-38.423837 -3.667068)'))) / (select extract(epoch from '2026-07-07 07:56:29'::timestamp) - extract(epoch from '2026-07-07 07:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423901 -3.66701)'), GeomFromEWKT('SRID=4674;POINT (-38.423837 -3.667068)'))) / (select extract(epoch from '2026-07-07 07:56:29'::timestamp) - extract(epoch from '2026-07-07 07:56:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423763 -3.667167)', '2026-07-07 07:56:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423837 -3.667068)'), GeomFromEWKT('SRID=4674;POINT (-38.423763 -3.667167)'))) / (select extract(epoch from '2026-07-07 07:56:36'::timestamp) - extract(epoch from '2026-07-07 07:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423837 -3.667068)'), GeomFromEWKT('SRID=4674;POINT (-38.423763 -3.667167)'))) / (select extract(epoch from '2026-07-07 07:56:36'::timestamp) - extract(epoch from '2026-07-07 07:56:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423702 -3.667251)', '2026-07-07 07:56:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423763 -3.667167)'), GeomFromEWKT('SRID=4674;POINT (-38.423702 -3.667251)'))) / (select extract(epoch from '2026-07-07 07:56:42'::timestamp) - extract(epoch from '2026-07-07 07:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423763 -3.667167)'), GeomFromEWKT('SRID=4674;POINT (-38.423702 -3.667251)'))) / (select extract(epoch from '2026-07-07 07:56:42'::timestamp) - extract(epoch from '2026-07-07 07:56:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423637 -3.667338)', '2026-07-07 07:56:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423702 -3.667251)'), GeomFromEWKT('SRID=4674;POINT (-38.423637 -3.667338)'))) / (select extract(epoch from '2026-07-07 07:56:48'::timestamp) - extract(epoch from '2026-07-07 07:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423702 -3.667251)'), GeomFromEWKT('SRID=4674;POINT (-38.423637 -3.667338)'))) / (select extract(epoch from '2026-07-07 07:56:48'::timestamp) - extract(epoch from '2026-07-07 07:56:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423559 -3.667419)', '2026-07-07 07:56:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423637 -3.667338)'), GeomFromEWKT('SRID=4674;POINT (-38.423559 -3.667419)'))) / (select extract(epoch from '2026-07-07 07:56:55'::timestamp) - extract(epoch from '2026-07-07 07:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423637 -3.667338)'), GeomFromEWKT('SRID=4674;POINT (-38.423559 -3.667419)'))) / (select extract(epoch from '2026-07-07 07:56:55'::timestamp) - extract(epoch from '2026-07-07 07:56:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423503 -3.667509)', '2026-07-07 07:57:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423559 -3.667419)'), GeomFromEWKT('SRID=4674;POINT (-38.423503 -3.667509)'))) / (select extract(epoch from '2026-07-07 07:57:01'::timestamp) - extract(epoch from '2026-07-07 07:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423559 -3.667419)'), GeomFromEWKT('SRID=4674;POINT (-38.423503 -3.667509)'))) / (select extract(epoch from '2026-07-07 07:57:01'::timestamp) - extract(epoch from '2026-07-07 07:56:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423494 -3.667523)', '2026-07-07 07:57:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423503 -3.667509)'), GeomFromEWKT('SRID=4674;POINT (-38.423494 -3.667523)'))) / (select extract(epoch from '2026-07-07 07:57:02'::timestamp) - extract(epoch from '2026-07-07 07:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423503 -3.667509)'), GeomFromEWKT('SRID=4674;POINT (-38.423494 -3.667523)'))) / (select extract(epoch from '2026-07-07 07:57:02'::timestamp) - extract(epoch from '2026-07-07 07:57:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423456 -3.667578)', '2026-07-07 07:57:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423494 -3.667523)'), GeomFromEWKT('SRID=4674;POINT (-38.423456 -3.667578)'))) / (select extract(epoch from '2026-07-07 07:57:06'::timestamp) - extract(epoch from '2026-07-07 07:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423494 -3.667523)'), GeomFromEWKT('SRID=4674;POINT (-38.423456 -3.667578)'))) / (select extract(epoch from '2026-07-07 07:57:06'::timestamp) - extract(epoch from '2026-07-07 07:57:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423404 -3.667642)', '2026-07-07 07:57:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423456 -3.667578)'), GeomFromEWKT('SRID=4674;POINT (-38.423404 -3.667642)'))) / (select extract(epoch from '2026-07-07 07:57:11'::timestamp) - extract(epoch from '2026-07-07 07:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423456 -3.667578)'), GeomFromEWKT('SRID=4674;POINT (-38.423404 -3.667642)'))) / (select extract(epoch from '2026-07-07 07:57:11'::timestamp) - extract(epoch from '2026-07-07 07:57:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423337 -3.667727)', '2026-07-07 07:57:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423404 -3.667642)'), GeomFromEWKT('SRID=4674;POINT (-38.423337 -3.667727)'))) / (select extract(epoch from '2026-07-07 07:57:17'::timestamp) - extract(epoch from '2026-07-07 07:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423404 -3.667642)'), GeomFromEWKT('SRID=4674;POINT (-38.423337 -3.667727)'))) / (select extract(epoch from '2026-07-07 07:57:17'::timestamp) - extract(epoch from '2026-07-07 07:57:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423281 -3.667781)', '2026-07-07 07:57:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423337 -3.667727)'), GeomFromEWKT('SRID=4674;POINT (-38.423281 -3.667781)'))) / (select extract(epoch from '2026-07-07 07:57:21'::timestamp) - extract(epoch from '2026-07-07 07:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423337 -3.667727)'), GeomFromEWKT('SRID=4674;POINT (-38.423281 -3.667781)'))) / (select extract(epoch from '2026-07-07 07:57:21'::timestamp) - extract(epoch from '2026-07-07 07:57:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42327 -3.66779)', '2026-07-07 07:57:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423281 -3.667781)'), GeomFromEWKT('SRID=4674;POINT (-38.42327 -3.66779)'))) / (select extract(epoch from '2026-07-07 07:57:22'::timestamp) - extract(epoch from '2026-07-07 07:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423281 -3.667781)'), GeomFromEWKT('SRID=4674;POINT (-38.42327 -3.66779)'))) / (select extract(epoch from '2026-07-07 07:57:22'::timestamp) - extract(epoch from '2026-07-07 07:57:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423189 -3.667875)', '2026-07-07 07:57:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42327 -3.66779)'), GeomFromEWKT('SRID=4674;POINT (-38.423189 -3.667875)'))) / (select extract(epoch from '2026-07-07 07:57:29'::timestamp) - extract(epoch from '2026-07-07 07:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42327 -3.66779)'), GeomFromEWKT('SRID=4674;POINT (-38.423189 -3.667875)'))) / (select extract(epoch from '2026-07-07 07:57:29'::timestamp) - extract(epoch from '2026-07-07 07:57:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423134 -3.667948)', '2026-07-07 07:57:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423189 -3.667875)'), GeomFromEWKT('SRID=4674;POINT (-38.423134 -3.667948)'))) / (select extract(epoch from '2026-07-07 07:57:34'::timestamp) - extract(epoch from '2026-07-07 07:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423189 -3.667875)'), GeomFromEWKT('SRID=4674;POINT (-38.423134 -3.667948)'))) / (select extract(epoch from '2026-07-07 07:57:34'::timestamp) - extract(epoch from '2026-07-07 07:57:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423118 -3.66796)', '2026-07-07 07:57:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423134 -3.667948)'), GeomFromEWKT('SRID=4674;POINT (-38.423118 -3.66796)'))) / (select extract(epoch from '2026-07-07 07:57:35'::timestamp) - extract(epoch from '2026-07-07 07:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423134 -3.667948)'), GeomFromEWKT('SRID=4674;POINT (-38.423118 -3.66796)'))) / (select extract(epoch from '2026-07-07 07:57:35'::timestamp) - extract(epoch from '2026-07-07 07:57:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423077 -3.668038)', '2026-07-07 07:57:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423118 -3.66796)'), GeomFromEWKT('SRID=4674;POINT (-38.423077 -3.668038)'))) / (select extract(epoch from '2026-07-07 07:57:40'::timestamp) - extract(epoch from '2026-07-07 07:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423118 -3.66796)'), GeomFromEWKT('SRID=4674;POINT (-38.423077 -3.668038)'))) / (select extract(epoch from '2026-07-07 07:57:40'::timestamp) - extract(epoch from '2026-07-07 07:57:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42305 -3.668144)', '2026-07-07 07:57:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423077 -3.668038)'), GeomFromEWKT('SRID=4674;POINT (-38.42305 -3.668144)'))) / (select extract(epoch from '2026-07-07 07:57:46'::timestamp) - extract(epoch from '2026-07-07 07:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423077 -3.668038)'), GeomFromEWKT('SRID=4674;POINT (-38.42305 -3.668144)'))) / (select extract(epoch from '2026-07-07 07:57:46'::timestamp) - extract(epoch from '2026-07-07 07:57:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423029 -3.668242)', '2026-07-07 07:57:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42305 -3.668144)'), GeomFromEWKT('SRID=4674;POINT (-38.423029 -3.668242)'))) / (select extract(epoch from '2026-07-07 07:57:51'::timestamp) - extract(epoch from '2026-07-07 07:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42305 -3.668144)'), GeomFromEWKT('SRID=4674;POINT (-38.423029 -3.668242)'))) / (select extract(epoch from '2026-07-07 07:57:51'::timestamp) - extract(epoch from '2026-07-07 07:57:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42303 -3.668359)', '2026-07-07 07:57:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423029 -3.668242)'), GeomFromEWKT('SRID=4674;POINT (-38.42303 -3.668359)'))) / (select extract(epoch from '2026-07-07 07:57:57'::timestamp) - extract(epoch from '2026-07-07 07:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423029 -3.668242)'), GeomFromEWKT('SRID=4674;POINT (-38.42303 -3.668359)'))) / (select extract(epoch from '2026-07-07 07:57:57'::timestamp) - extract(epoch from '2026-07-07 07:57:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42303 -3.668444)', '2026-07-07 07:58:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42303 -3.668359)'), GeomFromEWKT('SRID=4674;POINT (-38.42303 -3.668444)'))) / (select extract(epoch from '2026-07-07 07:58:01'::timestamp) - extract(epoch from '2026-07-07 07:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42303 -3.668359)'), GeomFromEWKT('SRID=4674;POINT (-38.42303 -3.668444)'))) / (select extract(epoch from '2026-07-07 07:58:01'::timestamp) - extract(epoch from '2026-07-07 07:57:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423028 -3.668465)', '2026-07-07 07:58:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42303 -3.668444)'), GeomFromEWKT('SRID=4674;POINT (-38.423028 -3.668465)'))) / (select extract(epoch from '2026-07-07 07:58:02'::timestamp) - extract(epoch from '2026-07-07 07:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42303 -3.668444)'), GeomFromEWKT('SRID=4674;POINT (-38.423028 -3.668465)'))) / (select extract(epoch from '2026-07-07 07:58:02'::timestamp) - extract(epoch from '2026-07-07 07:58:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423033 -3.668546)', '2026-07-07 07:58:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423028 -3.668465)'), GeomFromEWKT('SRID=4674;POINT (-38.423033 -3.668546)'))) / (select extract(epoch from '2026-07-07 07:58:06'::timestamp) - extract(epoch from '2026-07-07 07:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423028 -3.668465)'), GeomFromEWKT('SRID=4674;POINT (-38.423033 -3.668546)'))) / (select extract(epoch from '2026-07-07 07:58:06'::timestamp) - extract(epoch from '2026-07-07 07:58:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423029 -3.668563)', '2026-07-07 07:58:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423033 -3.668546)'), GeomFromEWKT('SRID=4674;POINT (-38.423029 -3.668563)'))) / (select extract(epoch from '2026-07-07 07:58:07'::timestamp) - extract(epoch from '2026-07-07 07:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423033 -3.668546)'), GeomFromEWKT('SRID=4674;POINT (-38.423029 -3.668563)'))) / (select extract(epoch from '2026-07-07 07:58:07'::timestamp) - extract(epoch from '2026-07-07 07:58:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423022 -3.668669)', '2026-07-07 07:58:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423029 -3.668563)'), GeomFromEWKT('SRID=4674;POINT (-38.423022 -3.668669)'))) / (select extract(epoch from '2026-07-07 07:58:12'::timestamp) - extract(epoch from '2026-07-07 07:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423029 -3.668563)'), GeomFromEWKT('SRID=4674;POINT (-38.423022 -3.668669)'))) / (select extract(epoch from '2026-07-07 07:58:12'::timestamp) - extract(epoch from '2026-07-07 07:58:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423008 -3.66876)', '2026-07-07 07:58:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423022 -3.668669)'), GeomFromEWKT('SRID=4674;POINT (-38.423008 -3.66876)'))) / (select extract(epoch from '2026-07-07 07:58:17'::timestamp) - extract(epoch from '2026-07-07 07:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423022 -3.668669)'), GeomFromEWKT('SRID=4674;POINT (-38.423008 -3.66876)'))) / (select extract(epoch from '2026-07-07 07:58:17'::timestamp) - extract(epoch from '2026-07-07 07:58:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.422996 -3.668877)', '2026-07-07 07:58:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423008 -3.66876)'), GeomFromEWKT('SRID=4674;POINT (-38.422996 -3.668877)'))) / (select extract(epoch from '2026-07-07 07:58:23'::timestamp) - extract(epoch from '2026-07-07 07:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423008 -3.66876)'), GeomFromEWKT('SRID=4674;POINT (-38.422996 -3.668877)'))) / (select extract(epoch from '2026-07-07 07:58:23'::timestamp) - extract(epoch from '2026-07-07 07:58:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.422988 -3.668995)', '2026-07-07 07:58:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422996 -3.668877)'), GeomFromEWKT('SRID=4674;POINT (-38.422988 -3.668995)'))) / (select extract(epoch from '2026-07-07 07:58:29'::timestamp) - extract(epoch from '2026-07-07 07:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422996 -3.668877)'), GeomFromEWKT('SRID=4674;POINT (-38.422988 -3.668995)'))) / (select extract(epoch from '2026-07-07 07:58:29'::timestamp) - extract(epoch from '2026-07-07 07:58:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423003 -3.669139)', '2026-07-07 07:58:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422988 -3.668995)'), GeomFromEWKT('SRID=4674;POINT (-38.423003 -3.669139)'))) / (select extract(epoch from '2026-07-07 07:58:36'::timestamp) - extract(epoch from '2026-07-07 07:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422988 -3.668995)'), GeomFromEWKT('SRID=4674;POINT (-38.423003 -3.669139)'))) / (select extract(epoch from '2026-07-07 07:58:36'::timestamp) - extract(epoch from '2026-07-07 07:58:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423016 -3.669208)', '2026-07-07 07:58:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423003 -3.669139)'), GeomFromEWKT('SRID=4674;POINT (-38.423016 -3.669208)'))) / (select extract(epoch from '2026-07-07 07:58:39'::timestamp) - extract(epoch from '2026-07-07 07:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423003 -3.669139)'), GeomFromEWKT('SRID=4674;POINT (-38.423016 -3.669208)'))) / (select extract(epoch from '2026-07-07 07:58:39'::timestamp) - extract(epoch from '2026-07-07 07:58:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423021 -3.669245)', '2026-07-07 07:58:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423016 -3.669208)'), GeomFromEWKT('SRID=4674;POINT (-38.423021 -3.669245)'))) / (select extract(epoch from '2026-07-07 07:58:41'::timestamp) - extract(epoch from '2026-07-07 07:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423016 -3.669208)'), GeomFromEWKT('SRID=4674;POINT (-38.423021 -3.669245)'))) / (select extract(epoch from '2026-07-07 07:58:41'::timestamp) - extract(epoch from '2026-07-07 07:58:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423037 -3.669352)', '2026-07-07 07:58:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423021 -3.669245)'), GeomFromEWKT('SRID=4674;POINT (-38.423037 -3.669352)'))) / (select extract(epoch from '2026-07-07 07:58:47'::timestamp) - extract(epoch from '2026-07-07 07:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423021 -3.669245)'), GeomFromEWKT('SRID=4674;POINT (-38.423037 -3.669352)'))) / (select extract(epoch from '2026-07-07 07:58:47'::timestamp) - extract(epoch from '2026-07-07 07:58:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423047 -3.66947)', '2026-07-07 07:58:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423037 -3.669352)'), GeomFromEWKT('SRID=4674;POINT (-38.423047 -3.66947)'))) / (select extract(epoch from '2026-07-07 07:58:53'::timestamp) - extract(epoch from '2026-07-07 07:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423037 -3.669352)'), GeomFromEWKT('SRID=4674;POINT (-38.423047 -3.66947)'))) / (select extract(epoch from '2026-07-07 07:58:53'::timestamp) - extract(epoch from '2026-07-07 07:58:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423057 -3.669589)', '2026-07-07 07:58:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423047 -3.66947)'), GeomFromEWKT('SRID=4674;POINT (-38.423057 -3.669589)'))) / (select extract(epoch from '2026-07-07 07:58:59'::timestamp) - extract(epoch from '2026-07-07 07:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423047 -3.66947)'), GeomFromEWKT('SRID=4674;POINT (-38.423057 -3.669589)'))) / (select extract(epoch from '2026-07-07 07:58:59'::timestamp) - extract(epoch from '2026-07-07 07:58:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423047 -3.66968)', '2026-07-07 07:59:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423057 -3.669589)'), GeomFromEWKT('SRID=4674;POINT (-38.423047 -3.66968)'))) / (select extract(epoch from '2026-07-07 07:59:04'::timestamp) - extract(epoch from '2026-07-07 07:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423057 -3.669589)'), GeomFromEWKT('SRID=4674;POINT (-38.423047 -3.66968)'))) / (select extract(epoch from '2026-07-07 07:59:04'::timestamp) - extract(epoch from '2026-07-07 07:58:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423045 -3.669796)', '2026-07-07 07:59:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423047 -3.66968)'), GeomFromEWKT('SRID=4674;POINT (-38.423045 -3.669796)'))) / (select extract(epoch from '2026-07-07 07:59:10'::timestamp) - extract(epoch from '2026-07-07 07:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423047 -3.66968)'), GeomFromEWKT('SRID=4674;POINT (-38.423045 -3.669796)'))) / (select extract(epoch from '2026-07-07 07:59:10'::timestamp) - extract(epoch from '2026-07-07 07:59:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423057 -3.669889)', '2026-07-07 07:59:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423045 -3.669796)'), GeomFromEWKT('SRID=4674;POINT (-38.423057 -3.669889)'))) / (select extract(epoch from '2026-07-07 07:59:15'::timestamp) - extract(epoch from '2026-07-07 07:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423045 -3.669796)'), GeomFromEWKT('SRID=4674;POINT (-38.423057 -3.669889)'))) / (select extract(epoch from '2026-07-07 07:59:15'::timestamp) - extract(epoch from '2026-07-07 07:59:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423086 -3.66999)', '2026-07-07 07:59:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423057 -3.669889)'), GeomFromEWKT('SRID=4674;POINT (-38.423086 -3.66999)'))) / (select extract(epoch from '2026-07-07 07:59:20'::timestamp) - extract(epoch from '2026-07-07 07:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423057 -3.669889)'), GeomFromEWKT('SRID=4674;POINT (-38.423086 -3.66999)'))) / (select extract(epoch from '2026-07-07 07:59:20'::timestamp) - extract(epoch from '2026-07-07 07:59:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423098 -3.67003)', '2026-07-07 07:59:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423086 -3.66999)'), GeomFromEWKT('SRID=4674;POINT (-38.423098 -3.67003)'))) / (select extract(epoch from '2026-07-07 07:59:22'::timestamp) - extract(epoch from '2026-07-07 07:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423086 -3.66999)'), GeomFromEWKT('SRID=4674;POINT (-38.423098 -3.67003)'))) / (select extract(epoch from '2026-07-07 07:59:22'::timestamp) - extract(epoch from '2026-07-07 07:59:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423124 -3.670076)', '2026-07-07 07:59:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423098 -3.67003)'), GeomFromEWKT('SRID=4674;POINT (-38.423124 -3.670076)'))) / (select extract(epoch from '2026-07-07 07:59:24'::timestamp) - extract(epoch from '2026-07-07 07:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423098 -3.67003)'), GeomFromEWKT('SRID=4674;POINT (-38.423124 -3.670076)'))) / (select extract(epoch from '2026-07-07 07:59:24'::timestamp) - extract(epoch from '2026-07-07 07:59:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423148 -3.670153)', '2026-07-07 07:59:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423124 -3.670076)'), GeomFromEWKT('SRID=4674;POINT (-38.423148 -3.670153)'))) / (select extract(epoch from '2026-07-07 07:59:28'::timestamp) - extract(epoch from '2026-07-07 07:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423124 -3.670076)'), GeomFromEWKT('SRID=4674;POINT (-38.423148 -3.670153)'))) / (select extract(epoch from '2026-07-07 07:59:28'::timestamp) - extract(epoch from '2026-07-07 07:59:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423202 -3.670256)', '2026-07-07 07:59:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423148 -3.670153)'), GeomFromEWKT('SRID=4674;POINT (-38.423202 -3.670256)'))) / (select extract(epoch from '2026-07-07 07:59:33'::timestamp) - extract(epoch from '2026-07-07 07:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423148 -3.670153)'), GeomFromEWKT('SRID=4674;POINT (-38.423202 -3.670256)'))) / (select extract(epoch from '2026-07-07 07:59:33'::timestamp) - extract(epoch from '2026-07-07 07:59:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42325 -3.670338)', '2026-07-07 07:59:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423202 -3.670256)'), GeomFromEWKT('SRID=4674;POINT (-38.42325 -3.670338)'))) / (select extract(epoch from '2026-07-07 07:59:37'::timestamp) - extract(epoch from '2026-07-07 07:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423202 -3.670256)'), GeomFromEWKT('SRID=4674;POINT (-38.42325 -3.670338)'))) / (select extract(epoch from '2026-07-07 07:59:37'::timestamp) - extract(epoch from '2026-07-07 07:59:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423266 -3.670381)', '2026-07-07 07:59:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42325 -3.670338)'), GeomFromEWKT('SRID=4674;POINT (-38.423266 -3.670381)'))) / (select extract(epoch from '2026-07-07 07:59:39'::timestamp) - extract(epoch from '2026-07-07 07:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42325 -3.670338)'), GeomFromEWKT('SRID=4674;POINT (-38.423266 -3.670381)'))) / (select extract(epoch from '2026-07-07 07:59:39'::timestamp) - extract(epoch from '2026-07-07 07:59:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423298 -3.670422)', '2026-07-07 07:59:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423266 -3.670381)'), GeomFromEWKT('SRID=4674;POINT (-38.423298 -3.670422)'))) / (select extract(epoch from '2026-07-07 07:59:41'::timestamp) - extract(epoch from '2026-07-07 07:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423266 -3.670381)'), GeomFromEWKT('SRID=4674;POINT (-38.423298 -3.670422)'))) / (select extract(epoch from '2026-07-07 07:59:41'::timestamp) - extract(epoch from '2026-07-07 07:59:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423317 -3.670474)', '2026-07-07 07:59:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423298 -3.670422)'), GeomFromEWKT('SRID=4674;POINT (-38.423317 -3.670474)'))) / (select extract(epoch from '2026-07-07 07:59:44'::timestamp) - extract(epoch from '2026-07-07 07:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423298 -3.670422)'), GeomFromEWKT('SRID=4674;POINT (-38.423317 -3.670474)'))) / (select extract(epoch from '2026-07-07 07:59:44'::timestamp) - extract(epoch from '2026-07-07 07:59:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423329 -3.670491)', '2026-07-07 07:59:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423317 -3.670474)'), GeomFromEWKT('SRID=4674;POINT (-38.423329 -3.670491)'))) / (select extract(epoch from '2026-07-07 07:59:45'::timestamp) - extract(epoch from '2026-07-07 07:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423317 -3.670474)'), GeomFromEWKT('SRID=4674;POINT (-38.423329 -3.670491)'))) / (select extract(epoch from '2026-07-07 07:59:45'::timestamp) - extract(epoch from '2026-07-07 07:59:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423392 -3.670594)', '2026-07-07 07:59:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423329 -3.670491)'), GeomFromEWKT('SRID=4674;POINT (-38.423392 -3.670594)'))) / (select extract(epoch from '2026-07-07 07:59:50'::timestamp) - extract(epoch from '2026-07-07 07:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423329 -3.670491)'), GeomFromEWKT('SRID=4674;POINT (-38.423392 -3.670594)'))) / (select extract(epoch from '2026-07-07 07:59:50'::timestamp) - extract(epoch from '2026-07-07 07:59:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423456 -3.670686)', '2026-07-07 07:59:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423392 -3.670594)'), GeomFromEWKT('SRID=4674;POINT (-38.423456 -3.670686)'))) / (select extract(epoch from '2026-07-07 07:59:55'::timestamp) - extract(epoch from '2026-07-07 07:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423392 -3.670594)'), GeomFromEWKT('SRID=4674;POINT (-38.423456 -3.670686)'))) / (select extract(epoch from '2026-07-07 07:59:55'::timestamp) - extract(epoch from '2026-07-07 07:59:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423512 -3.67078)', '2026-07-07 08:00:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423456 -3.670686)'), GeomFromEWKT('SRID=4674;POINT (-38.423512 -3.67078)'))) / (select extract(epoch from '2026-07-07 08:00:00'::timestamp) - extract(epoch from '2026-07-07 07:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423456 -3.670686)'), GeomFromEWKT('SRID=4674;POINT (-38.423512 -3.67078)'))) / (select extract(epoch from '2026-07-07 08:00:00'::timestamp) - extract(epoch from '2026-07-07 07:59:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423562 -3.670898)', '2026-07-07 08:00:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423512 -3.67078)'), GeomFromEWKT('SRID=4674;POINT (-38.423562 -3.670898)'))) / (select extract(epoch from '2026-07-07 08:00:06'::timestamp) - extract(epoch from '2026-07-07 08:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423512 -3.67078)'), GeomFromEWKT('SRID=4674;POINT (-38.423562 -3.670898)'))) / (select extract(epoch from '2026-07-07 08:00:06'::timestamp) - extract(epoch from '2026-07-07 08:00:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423573 -3.670917)', '2026-07-07 08:00:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423562 -3.670898)'), GeomFromEWKT('SRID=4674;POINT (-38.423573 -3.670917)'))) / (select extract(epoch from '2026-07-07 08:00:07'::timestamp) - extract(epoch from '2026-07-07 08:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423562 -3.670898)'), GeomFromEWKT('SRID=4674;POINT (-38.423573 -3.670917)'))) / (select extract(epoch from '2026-07-07 08:00:07'::timestamp) - extract(epoch from '2026-07-07 08:00:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423617 -3.670976)', '2026-07-07 08:00:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423573 -3.670917)'), GeomFromEWKT('SRID=4674;POINT (-38.423617 -3.670976)'))) / (select extract(epoch from '2026-07-07 08:00:10'::timestamp) - extract(epoch from '2026-07-07 08:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423573 -3.670917)'), GeomFromEWKT('SRID=4674;POINT (-38.423617 -3.670976)'))) / (select extract(epoch from '2026-07-07 08:00:10'::timestamp) - extract(epoch from '2026-07-07 08:00:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423678 -3.671072)', '2026-07-07 08:00:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423617 -3.670976)'), GeomFromEWKT('SRID=4674;POINT (-38.423678 -3.671072)'))) / (select extract(epoch from '2026-07-07 08:00:15'::timestamp) - extract(epoch from '2026-07-07 08:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423617 -3.670976)'), GeomFromEWKT('SRID=4674;POINT (-38.423678 -3.671072)'))) / (select extract(epoch from '2026-07-07 08:00:15'::timestamp) - extract(epoch from '2026-07-07 08:00:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423753 -3.671189)', '2026-07-07 08:00:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423678 -3.671072)'), GeomFromEWKT('SRID=4674;POINT (-38.423753 -3.671189)'))) / (select extract(epoch from '2026-07-07 08:00:21'::timestamp) - extract(epoch from '2026-07-07 08:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423678 -3.671072)'), GeomFromEWKT('SRID=4674;POINT (-38.423753 -3.671189)'))) / (select extract(epoch from '2026-07-07 08:00:21'::timestamp) - extract(epoch from '2026-07-07 08:00:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423811 -3.671281)', '2026-07-07 08:00:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423753 -3.671189)'), GeomFromEWKT('SRID=4674;POINT (-38.423811 -3.671281)'))) / (select extract(epoch from '2026-07-07 08:00:26'::timestamp) - extract(epoch from '2026-07-07 08:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423753 -3.671189)'), GeomFromEWKT('SRID=4674;POINT (-38.423811 -3.671281)'))) / (select extract(epoch from '2026-07-07 08:00:26'::timestamp) - extract(epoch from '2026-07-07 08:00:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423883 -3.67138)', '2026-07-07 08:00:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423811 -3.671281)'), GeomFromEWKT('SRID=4674;POINT (-38.423883 -3.67138)'))) / (select extract(epoch from '2026-07-07 08:00:31'::timestamp) - extract(epoch from '2026-07-07 08:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423811 -3.671281)'), GeomFromEWKT('SRID=4674;POINT (-38.423883 -3.67138)'))) / (select extract(epoch from '2026-07-07 08:00:31'::timestamp) - extract(epoch from '2026-07-07 08:00:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423936 -3.671447)', '2026-07-07 08:00:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423883 -3.67138)'), GeomFromEWKT('SRID=4674;POINT (-38.423936 -3.671447)'))) / (select extract(epoch from '2026-07-07 08:00:35'::timestamp) - extract(epoch from '2026-07-07 08:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423883 -3.67138)'), GeomFromEWKT('SRID=4674;POINT (-38.423936 -3.671447)'))) / (select extract(epoch from '2026-07-07 08:00:35'::timestamp) - extract(epoch from '2026-07-07 08:00:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.423997 -3.671538)', '2026-07-07 08:00:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423936 -3.671447)'), GeomFromEWKT('SRID=4674;POINT (-38.423997 -3.671538)'))) / (select extract(epoch from '2026-07-07 08:00:40'::timestamp) - extract(epoch from '2026-07-07 08:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423936 -3.671447)'), GeomFromEWKT('SRID=4674;POINT (-38.423997 -3.671538)'))) / (select extract(epoch from '2026-07-07 08:00:40'::timestamp) - extract(epoch from '2026-07-07 08:00:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42406 -3.671633)', '2026-07-07 08:00:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423997 -3.671538)'), GeomFromEWKT('SRID=4674;POINT (-38.42406 -3.671633)'))) / (select extract(epoch from '2026-07-07 08:00:45'::timestamp) - extract(epoch from '2026-07-07 08:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423997 -3.671538)'), GeomFromEWKT('SRID=4674;POINT (-38.42406 -3.671633)'))) / (select extract(epoch from '2026-07-07 08:00:45'::timestamp) - extract(epoch from '2026-07-07 08:00:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424117 -3.671727)', '2026-07-07 08:00:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42406 -3.671633)'), GeomFromEWKT('SRID=4674;POINT (-38.424117 -3.671727)'))) / (select extract(epoch from '2026-07-07 08:00:50'::timestamp) - extract(epoch from '2026-07-07 08:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42406 -3.671633)'), GeomFromEWKT('SRID=4674;POINT (-38.424117 -3.671727)'))) / (select extract(epoch from '2026-07-07 08:00:50'::timestamp) - extract(epoch from '2026-07-07 08:00:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424174 -3.671818)', '2026-07-07 08:00:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424117 -3.671727)'), GeomFromEWKT('SRID=4674;POINT (-38.424174 -3.671818)'))) / (select extract(epoch from '2026-07-07 08:00:55'::timestamp) - extract(epoch from '2026-07-07 08:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424117 -3.671727)'), GeomFromEWKT('SRID=4674;POINT (-38.424174 -3.671818)'))) / (select extract(epoch from '2026-07-07 08:00:55'::timestamp) - extract(epoch from '2026-07-07 08:00:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42427 -3.671932)', '2026-07-07 08:01:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424174 -3.671818)'), GeomFromEWKT('SRID=4674;POINT (-38.42427 -3.671932)'))) / (select extract(epoch from '2026-07-07 08:01:01'::timestamp) - extract(epoch from '2026-07-07 08:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424174 -3.671818)'), GeomFromEWKT('SRID=4674;POINT (-38.42427 -3.671932)'))) / (select extract(epoch from '2026-07-07 08:01:01'::timestamp) - extract(epoch from '2026-07-07 08:00:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424316 -3.672)', '2026-07-07 08:01:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42427 -3.671932)'), GeomFromEWKT('SRID=4674;POINT (-38.424316 -3.672)'))) / (select extract(epoch from '2026-07-07 08:01:05'::timestamp) - extract(epoch from '2026-07-07 08:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42427 -3.671932)'), GeomFromEWKT('SRID=4674;POINT (-38.424316 -3.672)'))) / (select extract(epoch from '2026-07-07 08:01:05'::timestamp) - extract(epoch from '2026-07-07 08:01:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424386 -3.672101)', '2026-07-07 08:01:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424316 -3.672)'), GeomFromEWKT('SRID=4674;POINT (-38.424386 -3.672101)'))) / (select extract(epoch from '2026-07-07 08:01:10'::timestamp) - extract(epoch from '2026-07-07 08:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424316 -3.672)'), GeomFromEWKT('SRID=4674;POINT (-38.424386 -3.672101)'))) / (select extract(epoch from '2026-07-07 08:01:10'::timestamp) - extract(epoch from '2026-07-07 08:01:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424439 -3.672194)', '2026-07-07 08:01:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424386 -3.672101)'), GeomFromEWKT('SRID=4674;POINT (-38.424439 -3.672194)'))) / (select extract(epoch from '2026-07-07 08:01:15'::timestamp) - extract(epoch from '2026-07-07 08:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424386 -3.672101)'), GeomFromEWKT('SRID=4674;POINT (-38.424439 -3.672194)'))) / (select extract(epoch from '2026-07-07 08:01:15'::timestamp) - extract(epoch from '2026-07-07 08:01:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424494 -3.672318)', '2026-07-07 08:01:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424439 -3.672194)'), GeomFromEWKT('SRID=4674;POINT (-38.424494 -3.672318)'))) / (select extract(epoch from '2026-07-07 08:01:21'::timestamp) - extract(epoch from '2026-07-07 08:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424439 -3.672194)'), GeomFromEWKT('SRID=4674;POINT (-38.424494 -3.672318)'))) / (select extract(epoch from '2026-07-07 08:01:21'::timestamp) - extract(epoch from '2026-07-07 08:01:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424536 -3.672396)', '2026-07-07 08:01:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424494 -3.672318)'), GeomFromEWKT('SRID=4674;POINT (-38.424536 -3.672396)'))) / (select extract(epoch from '2026-07-07 08:01:25'::timestamp) - extract(epoch from '2026-07-07 08:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424494 -3.672318)'), GeomFromEWKT('SRID=4674;POINT (-38.424536 -3.672396)'))) / (select extract(epoch from '2026-07-07 08:01:25'::timestamp) - extract(epoch from '2026-07-07 08:01:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424571 -3.672457)', '2026-07-07 08:01:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424536 -3.672396)'), GeomFromEWKT('SRID=4674;POINT (-38.424571 -3.672457)'))) / (select extract(epoch from '2026-07-07 08:01:28'::timestamp) - extract(epoch from '2026-07-07 08:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424536 -3.672396)'), GeomFromEWKT('SRID=4674;POINT (-38.424571 -3.672457)'))) / (select extract(epoch from '2026-07-07 08:01:28'::timestamp) - extract(epoch from '2026-07-07 08:01:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424572 -3.672474)', '2026-07-07 08:01:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424571 -3.672457)'), GeomFromEWKT('SRID=4674;POINT (-38.424572 -3.672474)'))) / (select extract(epoch from '2026-07-07 08:01:29'::timestamp) - extract(epoch from '2026-07-07 08:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424571 -3.672457)'), GeomFromEWKT('SRID=4674;POINT (-38.424572 -3.672474)'))) / (select extract(epoch from '2026-07-07 08:01:29'::timestamp) - extract(epoch from '2026-07-07 08:01:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424578 -3.672492)', '2026-07-07 08:01:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424572 -3.672474)'), GeomFromEWKT('SRID=4674;POINT (-38.424578 -3.672492)'))) / (select extract(epoch from '2026-07-07 08:01:30'::timestamp) - extract(epoch from '2026-07-07 08:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424572 -3.672474)'), GeomFromEWKT('SRID=4674;POINT (-38.424578 -3.672492)'))) / (select extract(epoch from '2026-07-07 08:01:30'::timestamp) - extract(epoch from '2026-07-07 08:01:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424622 -3.672558)', '2026-07-07 08:01:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424578 -3.672492)'), GeomFromEWKT('SRID=4674;POINT (-38.424622 -3.672558)'))) / (select extract(epoch from '2026-07-07 08:01:33'::timestamp) - extract(epoch from '2026-07-07 08:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424578 -3.672492)'), GeomFromEWKT('SRID=4674;POINT (-38.424622 -3.672558)'))) / (select extract(epoch from '2026-07-07 08:01:33'::timestamp) - extract(epoch from '2026-07-07 08:01:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424662 -3.67266)', '2026-07-07 08:01:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424622 -3.672558)'), GeomFromEWKT('SRID=4674;POINT (-38.424662 -3.67266)'))) / (select extract(epoch from '2026-07-07 08:01:38'::timestamp) - extract(epoch from '2026-07-07 08:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424622 -3.672558)'), GeomFromEWKT('SRID=4674;POINT (-38.424662 -3.67266)'))) / (select extract(epoch from '2026-07-07 08:01:38'::timestamp) - extract(epoch from '2026-07-07 08:01:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424689 -3.672731)', '2026-07-07 08:01:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424662 -3.67266)'), GeomFromEWKT('SRID=4674;POINT (-38.424689 -3.672731)'))) / (select extract(epoch from '2026-07-07 08:01:42'::timestamp) - extract(epoch from '2026-07-07 08:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424662 -3.67266)'), GeomFromEWKT('SRID=4674;POINT (-38.424689 -3.672731)'))) / (select extract(epoch from '2026-07-07 08:01:42'::timestamp) - extract(epoch from '2026-07-07 08:01:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424747 -3.672827)', '2026-07-07 08:01:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424689 -3.672731)'), GeomFromEWKT('SRID=4674;POINT (-38.424747 -3.672827)'))) / (select extract(epoch from '2026-07-07 08:01:47'::timestamp) - extract(epoch from '2026-07-07 08:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424689 -3.672731)'), GeomFromEWKT('SRID=4674;POINT (-38.424747 -3.672827)'))) / (select extract(epoch from '2026-07-07 08:01:47'::timestamp) - extract(epoch from '2026-07-07 08:01:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424794 -3.672925)', '2026-07-07 08:01:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424747 -3.672827)'), GeomFromEWKT('SRID=4674;POINT (-38.424794 -3.672925)'))) / (select extract(epoch from '2026-07-07 08:01:52'::timestamp) - extract(epoch from '2026-07-07 08:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424747 -3.672827)'), GeomFromEWKT('SRID=4674;POINT (-38.424794 -3.672925)'))) / (select extract(epoch from '2026-07-07 08:01:52'::timestamp) - extract(epoch from '2026-07-07 08:01:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424854 -3.673042)', '2026-07-07 08:01:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424794 -3.672925)'), GeomFromEWKT('SRID=4674;POINT (-38.424854 -3.673042)'))) / (select extract(epoch from '2026-07-07 08:01:58'::timestamp) - extract(epoch from '2026-07-07 08:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424794 -3.672925)'), GeomFromEWKT('SRID=4674;POINT (-38.424854 -3.673042)'))) / (select extract(epoch from '2026-07-07 08:01:58'::timestamp) - extract(epoch from '2026-07-07 08:01:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424895 -3.67313)', '2026-07-07 08:02:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424854 -3.673042)'), GeomFromEWKT('SRID=4674;POINT (-38.424895 -3.67313)'))) / (select extract(epoch from '2026-07-07 08:02:02'::timestamp) - extract(epoch from '2026-07-07 08:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424854 -3.673042)'), GeomFromEWKT('SRID=4674;POINT (-38.424895 -3.67313)'))) / (select extract(epoch from '2026-07-07 08:02:02'::timestamp) - extract(epoch from '2026-07-07 08:01:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.424912 -3.673148)', '2026-07-07 08:02:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424895 -3.67313)'), GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.673148)'))) / (select extract(epoch from '2026-07-07 08:02:03'::timestamp) - extract(epoch from '2026-07-07 08:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424895 -3.67313)'), GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.673148)'))) / (select extract(epoch from '2026-07-07 08:02:03'::timestamp) - extract(epoch from '2026-07-07 08:02:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42497 -3.673232)', '2026-07-07 08:02:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.673148)'), GeomFromEWKT('SRID=4674;POINT (-38.42497 -3.673232)'))) / (select extract(epoch from '2026-07-07 08:02:08'::timestamp) - extract(epoch from '2026-07-07 08:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424912 -3.673148)'), GeomFromEWKT('SRID=4674;POINT (-38.42497 -3.673232)'))) / (select extract(epoch from '2026-07-07 08:02:08'::timestamp) - extract(epoch from '2026-07-07 08:02:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42499 -3.673249)', '2026-07-07 08:02:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42497 -3.673232)'), GeomFromEWKT('SRID=4674;POINT (-38.42499 -3.673249)'))) / (select extract(epoch from '2026-07-07 08:02:09'::timestamp) - extract(epoch from '2026-07-07 08:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42497 -3.673232)'), GeomFromEWKT('SRID=4674;POINT (-38.42499 -3.673249)'))) / (select extract(epoch from '2026-07-07 08:02:09'::timestamp) - extract(epoch from '2026-07-07 08:02:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425029 -3.67328)', '2026-07-07 08:02:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42499 -3.673249)'), GeomFromEWKT('SRID=4674;POINT (-38.425029 -3.67328)'))) / (select extract(epoch from '2026-07-07 08:02:11'::timestamp) - extract(epoch from '2026-07-07 08:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42499 -3.673249)'), GeomFromEWKT('SRID=4674;POINT (-38.425029 -3.67328)'))) / (select extract(epoch from '2026-07-07 08:02:11'::timestamp) - extract(epoch from '2026-07-07 08:02:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42504 -3.673299)', '2026-07-07 08:02:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425029 -3.67328)'), GeomFromEWKT('SRID=4674;POINT (-38.42504 -3.673299)'))) / (select extract(epoch from '2026-07-07 08:02:12'::timestamp) - extract(epoch from '2026-07-07 08:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425029 -3.67328)'), GeomFromEWKT('SRID=4674;POINT (-38.42504 -3.673299)'))) / (select extract(epoch from '2026-07-07 08:02:12'::timestamp) - extract(epoch from '2026-07-07 08:02:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425087 -3.673379)', '2026-07-07 08:02:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42504 -3.673299)'), GeomFromEWKT('SRID=4674;POINT (-38.425087 -3.673379)'))) / (select extract(epoch from '2026-07-07 08:02:16'::timestamp) - extract(epoch from '2026-07-07 08:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42504 -3.673299)'), GeomFromEWKT('SRID=4674;POINT (-38.425087 -3.673379)'))) / (select extract(epoch from '2026-07-07 08:02:16'::timestamp) - extract(epoch from '2026-07-07 08:02:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425108 -3.673394)', '2026-07-07 08:02:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425087 -3.673379)'), GeomFromEWKT('SRID=4674;POINT (-38.425108 -3.673394)'))) / (select extract(epoch from '2026-07-07 08:02:17'::timestamp) - extract(epoch from '2026-07-07 08:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425087 -3.673379)'), GeomFromEWKT('SRID=4674;POINT (-38.425108 -3.673394)'))) / (select extract(epoch from '2026-07-07 08:02:17'::timestamp) - extract(epoch from '2026-07-07 08:02:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425179 -3.673488)', '2026-07-07 08:02:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425108 -3.673394)'), GeomFromEWKT('SRID=4674;POINT (-38.425179 -3.673488)'))) / (select extract(epoch from '2026-07-07 08:02:22'::timestamp) - extract(epoch from '2026-07-07 08:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425108 -3.673394)'), GeomFromEWKT('SRID=4674;POINT (-38.425179 -3.673488)'))) / (select extract(epoch from '2026-07-07 08:02:22'::timestamp) - extract(epoch from '2026-07-07 08:02:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425266 -3.673573)', '2026-07-07 08:02:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425179 -3.673488)'), GeomFromEWKT('SRID=4674;POINT (-38.425266 -3.673573)'))) / (select extract(epoch from '2026-07-07 08:02:27'::timestamp) - extract(epoch from '2026-07-07 08:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425179 -3.673488)'), GeomFromEWKT('SRID=4674;POINT (-38.425266 -3.673573)'))) / (select extract(epoch from '2026-07-07 08:02:27'::timestamp) - extract(epoch from '2026-07-07 08:02:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425297 -3.673608)', '2026-07-07 08:02:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425266 -3.673573)'), GeomFromEWKT('SRID=4674;POINT (-38.425297 -3.673608)'))) / (select extract(epoch from '2026-07-07 08:02:29'::timestamp) - extract(epoch from '2026-07-07 08:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425266 -3.673573)'), GeomFromEWKT('SRID=4674;POINT (-38.425297 -3.673608)'))) / (select extract(epoch from '2026-07-07 08:02:29'::timestamp) - extract(epoch from '2026-07-07 08:02:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425318 -3.673639)', '2026-07-07 08:02:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425297 -3.673608)'), GeomFromEWKT('SRID=4674;POINT (-38.425318 -3.673639)'))) / (select extract(epoch from '2026-07-07 08:02:31'::timestamp) - extract(epoch from '2026-07-07 08:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425297 -3.673608)'), GeomFromEWKT('SRID=4674;POINT (-38.425318 -3.673639)'))) / (select extract(epoch from '2026-07-07 08:02:31'::timestamp) - extract(epoch from '2026-07-07 08:02:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425417 -3.673711)', '2026-07-07 08:02:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425318 -3.673639)'), GeomFromEWKT('SRID=4674;POINT (-38.425417 -3.673711)'))) / (select extract(epoch from '2026-07-07 08:02:36'::timestamp) - extract(epoch from '2026-07-07 08:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425318 -3.673639)'), GeomFromEWKT('SRID=4674;POINT (-38.425417 -3.673711)'))) / (select extract(epoch from '2026-07-07 08:02:36'::timestamp) - extract(epoch from '2026-07-07 08:02:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425552 -3.673772)', '2026-07-07 08:02:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425417 -3.673711)'), GeomFromEWKT('SRID=4674;POINT (-38.425552 -3.673772)'))) / (select extract(epoch from '2026-07-07 08:02:42'::timestamp) - extract(epoch from '2026-07-07 08:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425417 -3.673711)'), GeomFromEWKT('SRID=4674;POINT (-38.425552 -3.673772)'))) / (select extract(epoch from '2026-07-07 08:02:42'::timestamp) - extract(epoch from '2026-07-07 08:02:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425693 -3.673841)', '2026-07-07 08:02:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425552 -3.673772)'), GeomFromEWKT('SRID=4674;POINT (-38.425693 -3.673841)'))) / (select extract(epoch from '2026-07-07 08:02:48'::timestamp) - extract(epoch from '2026-07-07 08:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425552 -3.673772)'), GeomFromEWKT('SRID=4674;POINT (-38.425693 -3.673841)'))) / (select extract(epoch from '2026-07-07 08:02:48'::timestamp) - extract(epoch from '2026-07-07 08:02:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425809 -3.673894)', '2026-07-07 08:02:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425693 -3.673841)'), GeomFromEWKT('SRID=4674;POINT (-38.425809 -3.673894)'))) / (select extract(epoch from '2026-07-07 08:02:53'::timestamp) - extract(epoch from '2026-07-07 08:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425693 -3.673841)'), GeomFromEWKT('SRID=4674;POINT (-38.425809 -3.673894)'))) / (select extract(epoch from '2026-07-07 08:02:53'::timestamp) - extract(epoch from '2026-07-07 08:02:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425911 -3.673954)', '2026-07-07 08:02:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425809 -3.673894)'), GeomFromEWKT('SRID=4674;POINT (-38.425911 -3.673954)'))) / (select extract(epoch from '2026-07-07 08:02:58'::timestamp) - extract(epoch from '2026-07-07 08:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425809 -3.673894)'), GeomFromEWKT('SRID=4674;POINT (-38.425911 -3.673954)'))) / (select extract(epoch from '2026-07-07 08:02:58'::timestamp) - extract(epoch from '2026-07-07 08:02:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426024 -3.673981)', '2026-07-07 08:03:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425911 -3.673954)'), GeomFromEWKT('SRID=4674;POINT (-38.426024 -3.673981)'))) / (select extract(epoch from '2026-07-07 08:03:02'::timestamp) - extract(epoch from '2026-07-07 08:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425911 -3.673954)'), GeomFromEWKT('SRID=4674;POINT (-38.426024 -3.673981)'))) / (select extract(epoch from '2026-07-07 08:03:02'::timestamp) - extract(epoch from '2026-07-07 08:02:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42614 -3.673974)', '2026-07-07 08:03:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426024 -3.673981)'), GeomFromEWKT('SRID=4674;POINT (-38.42614 -3.673974)'))) / (select extract(epoch from '2026-07-07 08:03:07'::timestamp) - extract(epoch from '2026-07-07 08:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426024 -3.673981)'), GeomFromEWKT('SRID=4674;POINT (-38.42614 -3.673974)'))) / (select extract(epoch from '2026-07-07 08:03:07'::timestamp) - extract(epoch from '2026-07-07 08:03:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426276 -3.673981)', '2026-07-07 08:03:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42614 -3.673974)'), GeomFromEWKT('SRID=4674;POINT (-38.426276 -3.673981)'))) / (select extract(epoch from '2026-07-07 08:03:11'::timestamp) - extract(epoch from '2026-07-07 08:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42614 -3.673974)'), GeomFromEWKT('SRID=4674;POINT (-38.426276 -3.673981)'))) / (select extract(epoch from '2026-07-07 08:03:11'::timestamp) - extract(epoch from '2026-07-07 08:03:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426394 -3.673983)', '2026-07-07 08:03:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426276 -3.673981)'), GeomFromEWKT('SRID=4674;POINT (-38.426394 -3.673983)'))) / (select extract(epoch from '2026-07-07 08:03:16'::timestamp) - extract(epoch from '2026-07-07 08:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426276 -3.673981)'), GeomFromEWKT('SRID=4674;POINT (-38.426394 -3.673983)'))) / (select extract(epoch from '2026-07-07 08:03:16'::timestamp) - extract(epoch from '2026-07-07 08:03:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426571 -3.674011)', '2026-07-07 08:03:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426394 -3.673983)'), GeomFromEWKT('SRID=4674;POINT (-38.426571 -3.674011)'))) / (select extract(epoch from '2026-07-07 08:03:22'::timestamp) - extract(epoch from '2026-07-07 08:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426394 -3.673983)'), GeomFromEWKT('SRID=4674;POINT (-38.426571 -3.674011)'))) / (select extract(epoch from '2026-07-07 08:03:22'::timestamp) - extract(epoch from '2026-07-07 08:03:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426705 -3.674014)', '2026-07-07 08:03:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426571 -3.674011)'), GeomFromEWKT('SRID=4674;POINT (-38.426705 -3.674014)'))) / (select extract(epoch from '2026-07-07 08:03:27'::timestamp) - extract(epoch from '2026-07-07 08:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426571 -3.674011)'), GeomFromEWKT('SRID=4674;POINT (-38.426705 -3.674014)'))) / (select extract(epoch from '2026-07-07 08:03:27'::timestamp) - extract(epoch from '2026-07-07 08:03:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42684 -3.67403)', '2026-07-07 08:03:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426705 -3.674014)'), GeomFromEWKT('SRID=4674;POINT (-38.42684 -3.67403)'))) / (select extract(epoch from '2026-07-07 08:03:32'::timestamp) - extract(epoch from '2026-07-07 08:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426705 -3.674014)'), GeomFromEWKT('SRID=4674;POINT (-38.42684 -3.67403)'))) / (select extract(epoch from '2026-07-07 08:03:32'::timestamp) - extract(epoch from '2026-07-07 08:03:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427007 -3.674041)', '2026-07-07 08:03:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42684 -3.67403)'), GeomFromEWKT('SRID=4674;POINT (-38.427007 -3.674041)'))) / (select extract(epoch from '2026-07-07 08:03:38'::timestamp) - extract(epoch from '2026-07-07 08:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42684 -3.67403)'), GeomFromEWKT('SRID=4674;POINT (-38.427007 -3.674041)'))) / (select extract(epoch from '2026-07-07 08:03:38'::timestamp) - extract(epoch from '2026-07-07 08:03:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427155 -3.67405)', '2026-07-07 08:03:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427007 -3.674041)'), GeomFromEWKT('SRID=4674;POINT (-38.427155 -3.67405)'))) / (select extract(epoch from '2026-07-07 08:03:44'::timestamp) - extract(epoch from '2026-07-07 08:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427007 -3.674041)'), GeomFromEWKT('SRID=4674;POINT (-38.427155 -3.67405)'))) / (select extract(epoch from '2026-07-07 08:03:44'::timestamp) - extract(epoch from '2026-07-07 08:03:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42731 -3.674063)', '2026-07-07 08:03:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427155 -3.67405)'), GeomFromEWKT('SRID=4674;POINT (-38.42731 -3.674063)'))) / (select extract(epoch from '2026-07-07 08:03:49'::timestamp) - extract(epoch from '2026-07-07 08:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427155 -3.67405)'), GeomFromEWKT('SRID=4674;POINT (-38.42731 -3.674063)'))) / (select extract(epoch from '2026-07-07 08:03:49'::timestamp) - extract(epoch from '2026-07-07 08:03:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427393 -3.674085)', '2026-07-07 08:03:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42731 -3.674063)'), GeomFromEWKT('SRID=4674;POINT (-38.427393 -3.674085)'))) / (select extract(epoch from '2026-07-07 08:03:53'::timestamp) - extract(epoch from '2026-07-07 08:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42731 -3.674063)'), GeomFromEWKT('SRID=4674;POINT (-38.427393 -3.674085)'))) / (select extract(epoch from '2026-07-07 08:03:53'::timestamp) - extract(epoch from '2026-07-07 08:03:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427554 -3.674111)', '2026-07-07 08:03:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427393 -3.674085)'), GeomFromEWKT('SRID=4674;POINT (-38.427554 -3.674111)'))) / (select extract(epoch from '2026-07-07 08:03:58'::timestamp) - extract(epoch from '2026-07-07 08:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427393 -3.674085)'), GeomFromEWKT('SRID=4674;POINT (-38.427554 -3.674111)'))) / (select extract(epoch from '2026-07-07 08:03:58'::timestamp) - extract(epoch from '2026-07-07 08:03:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427645 -3.674114)', '2026-07-07 08:04:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427554 -3.674111)'), GeomFromEWKT('SRID=4674;POINT (-38.427645 -3.674114)'))) / (select extract(epoch from '2026-07-07 08:04:02'::timestamp) - extract(epoch from '2026-07-07 08:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427554 -3.674111)'), GeomFromEWKT('SRID=4674;POINT (-38.427645 -3.674114)'))) / (select extract(epoch from '2026-07-07 08:04:02'::timestamp) - extract(epoch from '2026-07-07 08:03:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427759 -3.674127)', '2026-07-07 08:04:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427645 -3.674114)'), GeomFromEWKT('SRID=4674;POINT (-38.427759 -3.674127)'))) / (select extract(epoch from '2026-07-07 08:04:06'::timestamp) - extract(epoch from '2026-07-07 08:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427645 -3.674114)'), GeomFromEWKT('SRID=4674;POINT (-38.427759 -3.674127)'))) / (select extract(epoch from '2026-07-07 08:04:06'::timestamp) - extract(epoch from '2026-07-07 08:04:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427852 -3.674146)', '2026-07-07 08:04:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427759 -3.674127)'), GeomFromEWKT('SRID=4674;POINT (-38.427852 -3.674146)'))) / (select extract(epoch from '2026-07-07 08:04:10'::timestamp) - extract(epoch from '2026-07-07 08:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427759 -3.674127)'), GeomFromEWKT('SRID=4674;POINT (-38.427852 -3.674146)'))) / (select extract(epoch from '2026-07-07 08:04:10'::timestamp) - extract(epoch from '2026-07-07 08:04:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427953 -3.67417)', '2026-07-07 08:04:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427852 -3.674146)'), GeomFromEWKT('SRID=4674;POINT (-38.427953 -3.67417)'))) / (select extract(epoch from '2026-07-07 08:04:14'::timestamp) - extract(epoch from '2026-07-07 08:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427852 -3.674146)'), GeomFromEWKT('SRID=4674;POINT (-38.427953 -3.67417)'))) / (select extract(epoch from '2026-07-07 08:04:14'::timestamp) - extract(epoch from '2026-07-07 08:04:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428096 -3.67416)', '2026-07-07 08:04:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427953 -3.67417)'), GeomFromEWKT('SRID=4674;POINT (-38.428096 -3.67416)'))) / (select extract(epoch from '2026-07-07 08:04:20'::timestamp) - extract(epoch from '2026-07-07 08:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427953 -3.67417)'), GeomFromEWKT('SRID=4674;POINT (-38.428096 -3.67416)'))) / (select extract(epoch from '2026-07-07 08:04:20'::timestamp) - extract(epoch from '2026-07-07 08:04:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428226 -3.674107)', '2026-07-07 08:04:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428096 -3.67416)'), GeomFromEWKT('SRID=4674;POINT (-38.428226 -3.674107)'))) / (select extract(epoch from '2026-07-07 08:04:25'::timestamp) - extract(epoch from '2026-07-07 08:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428096 -3.67416)'), GeomFromEWKT('SRID=4674;POINT (-38.428226 -3.674107)'))) / (select extract(epoch from '2026-07-07 08:04:25'::timestamp) - extract(epoch from '2026-07-07 08:04:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428355 -3.674067)', '2026-07-07 08:04:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428226 -3.674107)'), GeomFromEWKT('SRID=4674;POINT (-38.428355 -3.674067)'))) / (select extract(epoch from '2026-07-07 08:04:30'::timestamp) - extract(epoch from '2026-07-07 08:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428226 -3.674107)'), GeomFromEWKT('SRID=4674;POINT (-38.428355 -3.674067)'))) / (select extract(epoch from '2026-07-07 08:04:30'::timestamp) - extract(epoch from '2026-07-07 08:04:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428519 -3.674043)', '2026-07-07 08:04:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428355 -3.674067)'), GeomFromEWKT('SRID=4674;POINT (-38.428519 -3.674043)'))) / (select extract(epoch from '2026-07-07 08:04:36'::timestamp) - extract(epoch from '2026-07-07 08:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428355 -3.674067)'), GeomFromEWKT('SRID=4674;POINT (-38.428519 -3.674043)'))) / (select extract(epoch from '2026-07-07 08:04:36'::timestamp) - extract(epoch from '2026-07-07 08:04:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428679 -3.67404)', '2026-07-07 08:04:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428519 -3.674043)'), GeomFromEWKT('SRID=4674;POINT (-38.428679 -3.67404)'))) / (select extract(epoch from '2026-07-07 08:04:42'::timestamp) - extract(epoch from '2026-07-07 08:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428519 -3.674043)'), GeomFromEWKT('SRID=4674;POINT (-38.428679 -3.67404)'))) / (select extract(epoch from '2026-07-07 08:04:42'::timestamp) - extract(epoch from '2026-07-07 08:04:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428804 -3.67406)', '2026-07-07 08:04:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428679 -3.67404)'), GeomFromEWKT('SRID=4674;POINT (-38.428804 -3.67406)'))) / (select extract(epoch from '2026-07-07 08:04:47'::timestamp) - extract(epoch from '2026-07-07 08:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428679 -3.67404)'), GeomFromEWKT('SRID=4674;POINT (-38.428804 -3.67406)'))) / (select extract(epoch from '2026-07-07 08:04:47'::timestamp) - extract(epoch from '2026-07-07 08:04:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428916 -3.674117)', '2026-07-07 08:04:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428804 -3.67406)'), GeomFromEWKT('SRID=4674;POINT (-38.428916 -3.674117)'))) / (select extract(epoch from '2026-07-07 08:04:53'::timestamp) - extract(epoch from '2026-07-07 08:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428804 -3.67406)'), GeomFromEWKT('SRID=4674;POINT (-38.428916 -3.674117)'))) / (select extract(epoch from '2026-07-07 08:04:53'::timestamp) - extract(epoch from '2026-07-07 08:04:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429049 -3.674146)', '2026-07-07 08:04:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428916 -3.674117)'), GeomFromEWKT('SRID=4674;POINT (-38.429049 -3.674146)'))) / (select extract(epoch from '2026-07-07 08:04:59'::timestamp) - extract(epoch from '2026-07-07 08:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428916 -3.674117)'), GeomFromEWKT('SRID=4674;POINT (-38.429049 -3.674146)'))) / (select extract(epoch from '2026-07-07 08:04:59'::timestamp) - extract(epoch from '2026-07-07 08:04:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429155 -3.67414)', '2026-07-07 08:05:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429049 -3.674146)'), GeomFromEWKT('SRID=4674;POINT (-38.429155 -3.67414)'))) / (select extract(epoch from '2026-07-07 08:05:04'::timestamp) - extract(epoch from '2026-07-07 08:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429049 -3.674146)'), GeomFromEWKT('SRID=4674;POINT (-38.429155 -3.67414)'))) / (select extract(epoch from '2026-07-07 08:05:04'::timestamp) - extract(epoch from '2026-07-07 08:04:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429266 -3.674107)', '2026-07-07 08:05:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429155 -3.67414)'), GeomFromEWKT('SRID=4674;POINT (-38.429266 -3.674107)'))) / (select extract(epoch from '2026-07-07 08:05:09'::timestamp) - extract(epoch from '2026-07-07 08:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429155 -3.67414)'), GeomFromEWKT('SRID=4674;POINT (-38.429266 -3.674107)'))) / (select extract(epoch from '2026-07-07 08:05:09'::timestamp) - extract(epoch from '2026-07-07 08:05:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429378 -3.674083)', '2026-07-07 08:05:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429266 -3.674107)'), GeomFromEWKT('SRID=4674;POINT (-38.429378 -3.674083)'))) / (select extract(epoch from '2026-07-07 08:05:14'::timestamp) - extract(epoch from '2026-07-07 08:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429266 -3.674107)'), GeomFromEWKT('SRID=4674;POINT (-38.429378 -3.674083)'))) / (select extract(epoch from '2026-07-07 08:05:14'::timestamp) - extract(epoch from '2026-07-07 08:05:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429486 -3.674055)', '2026-07-07 08:05:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429378 -3.674083)'), GeomFromEWKT('SRID=4674;POINT (-38.429486 -3.674055)'))) / (select extract(epoch from '2026-07-07 08:05:19'::timestamp) - extract(epoch from '2026-07-07 08:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429378 -3.674083)'), GeomFromEWKT('SRID=4674;POINT (-38.429486 -3.674055)'))) / (select extract(epoch from '2026-07-07 08:05:19'::timestamp) - extract(epoch from '2026-07-07 08:05:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429597 -3.674027)', '2026-07-07 08:05:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429486 -3.674055)'), GeomFromEWKT('SRID=4674;POINT (-38.429597 -3.674027)'))) / (select extract(epoch from '2026-07-07 08:05:24'::timestamp) - extract(epoch from '2026-07-07 08:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429486 -3.674055)'), GeomFromEWKT('SRID=4674;POINT (-38.429597 -3.674027)'))) / (select extract(epoch from '2026-07-07 08:05:24'::timestamp) - extract(epoch from '2026-07-07 08:05:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429709 -3.674036)', '2026-07-07 08:05:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429597 -3.674027)'), GeomFromEWKT('SRID=4674;POINT (-38.429709 -3.674036)'))) / (select extract(epoch from '2026-07-07 08:05:30'::timestamp) - extract(epoch from '2026-07-07 08:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429597 -3.674027)'), GeomFromEWKT('SRID=4674;POINT (-38.429709 -3.674036)'))) / (select extract(epoch from '2026-07-07 08:05:30'::timestamp) - extract(epoch from '2026-07-07 08:05:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429781 -3.674086)', '2026-07-07 08:05:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429709 -3.674036)'), GeomFromEWKT('SRID=4674;POINT (-38.429781 -3.674086)'))) / (select extract(epoch from '2026-07-07 08:05:35'::timestamp) - extract(epoch from '2026-07-07 08:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429709 -3.674036)'), GeomFromEWKT('SRID=4674;POINT (-38.429781 -3.674086)'))) / (select extract(epoch from '2026-07-07 08:05:35'::timestamp) - extract(epoch from '2026-07-07 08:05:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429795 -3.674107)', '2026-07-07 08:05:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429781 -3.674086)'), GeomFromEWKT('SRID=4674;POINT (-38.429795 -3.674107)'))) / (select extract(epoch from '2026-07-07 08:05:37'::timestamp) - extract(epoch from '2026-07-07 08:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429781 -3.674086)'), GeomFromEWKT('SRID=4674;POINT (-38.429795 -3.674107)'))) / (select extract(epoch from '2026-07-07 08:05:37'::timestamp) - extract(epoch from '2026-07-07 08:05:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429814 -3.674132)', '2026-07-07 08:05:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429795 -3.674107)'), GeomFromEWKT('SRID=4674;POINT (-38.429814 -3.674132)'))) / (select extract(epoch from '2026-07-07 08:05:39'::timestamp) - extract(epoch from '2026-07-07 08:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429795 -3.674107)'), GeomFromEWKT('SRID=4674;POINT (-38.429814 -3.674132)'))) / (select extract(epoch from '2026-07-07 08:05:39'::timestamp) - extract(epoch from '2026-07-07 08:05:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429824 -3.674207)', '2026-07-07 08:05:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429814 -3.674132)'), GeomFromEWKT('SRID=4674;POINT (-38.429824 -3.674207)'))) / (select extract(epoch from '2026-07-07 08:05:46'::timestamp) - extract(epoch from '2026-07-07 08:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429814 -3.674132)'), GeomFromEWKT('SRID=4674;POINT (-38.429824 -3.674207)'))) / (select extract(epoch from '2026-07-07 08:05:46'::timestamp) - extract(epoch from '2026-07-07 08:05:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4298 -3.674236)', '2026-07-07 08:05:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429824 -3.674207)'), GeomFromEWKT('SRID=4674;POINT (-38.4298 -3.674236)'))) / (select extract(epoch from '2026-07-07 08:05:51'::timestamp) - extract(epoch from '2026-07-07 08:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429824 -3.674207)'), GeomFromEWKT('SRID=4674;POINT (-38.4298 -3.674236)'))) / (select extract(epoch from '2026-07-07 08:05:51'::timestamp) - extract(epoch from '2026-07-07 08:05:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429782 -3.674243)', '2026-07-07 08:06:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4298 -3.674236)'), GeomFromEWKT('SRID=4674;POINT (-38.429782 -3.674243)'))) / (select extract(epoch from '2026-07-07 08:06:12'::timestamp) - extract(epoch from '2026-07-07 08:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4298 -3.674236)'), GeomFromEWKT('SRID=4674;POINT (-38.429782 -3.674243)'))) / (select extract(epoch from '2026-07-07 08:06:12'::timestamp) - extract(epoch from '2026-07-07 08:05:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429811 -3.674226)', '2026-07-07 08:06:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429782 -3.674243)'), GeomFromEWKT('SRID=4674;POINT (-38.429811 -3.674226)'))) / (select extract(epoch from '2026-07-07 08:06:18'::timestamp) - extract(epoch from '2026-07-07 08:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429782 -3.674243)'), GeomFromEWKT('SRID=4674;POINT (-38.429811 -3.674226)'))) / (select extract(epoch from '2026-07-07 08:06:18'::timestamp) - extract(epoch from '2026-07-07 08:06:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429846 -3.674199)', '2026-07-07 08:06:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429811 -3.674226)'), GeomFromEWKT('SRID=4674;POINT (-38.429846 -3.674199)'))) / (select extract(epoch from '2026-07-07 08:06:25'::timestamp) - extract(epoch from '2026-07-07 08:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429811 -3.674226)'), GeomFromEWKT('SRID=4674;POINT (-38.429846 -3.674199)'))) / (select extract(epoch from '2026-07-07 08:06:25'::timestamp) - extract(epoch from '2026-07-07 08:06:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42989 -3.674166)', '2026-07-07 08:06:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429846 -3.674199)'), GeomFromEWKT('SRID=4674;POINT (-38.42989 -3.674166)'))) / (select extract(epoch from '2026-07-07 08:06:33'::timestamp) - extract(epoch from '2026-07-07 08:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429846 -3.674199)'), GeomFromEWKT('SRID=4674;POINT (-38.42989 -3.674166)'))) / (select extract(epoch from '2026-07-07 08:06:33'::timestamp) - extract(epoch from '2026-07-07 08:06:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429927 -3.674136)', '2026-07-07 08:06:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42989 -3.674166)'), GeomFromEWKT('SRID=4674;POINT (-38.429927 -3.674136)'))) / (select extract(epoch from '2026-07-07 08:06:41'::timestamp) - extract(epoch from '2026-07-07 08:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42989 -3.674166)'), GeomFromEWKT('SRID=4674;POINT (-38.429927 -3.674136)'))) / (select extract(epoch from '2026-07-07 08:06:41'::timestamp) - extract(epoch from '2026-07-07 08:06:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42995 -3.674111)', '2026-07-07 08:06:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429927 -3.674136)'), GeomFromEWKT('SRID=4674;POINT (-38.42995 -3.674111)'))) / (select extract(epoch from '2026-07-07 08:06:46'::timestamp) - extract(epoch from '2026-07-07 08:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429927 -3.674136)'), GeomFromEWKT('SRID=4674;POINT (-38.42995 -3.674111)'))) / (select extract(epoch from '2026-07-07 08:06:46'::timestamp) - extract(epoch from '2026-07-07 08:06:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429989 -3.674086)', '2026-07-07 08:06:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42995 -3.674111)'), GeomFromEWKT('SRID=4674;POINT (-38.429989 -3.674086)'))) / (select extract(epoch from '2026-07-07 08:06:53'::timestamp) - extract(epoch from '2026-07-07 08:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42995 -3.674111)'), GeomFromEWKT('SRID=4674;POINT (-38.429989 -3.674086)'))) / (select extract(epoch from '2026-07-07 08:06:53'::timestamp) - extract(epoch from '2026-07-07 08:06:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430024 -3.674059)', '2026-07-07 08:07:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429989 -3.674086)'), GeomFromEWKT('SRID=4674;POINT (-38.430024 -3.674059)'))) / (select extract(epoch from '2026-07-07 08:07:00'::timestamp) - extract(epoch from '2026-07-07 08:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429989 -3.674086)'), GeomFromEWKT('SRID=4674;POINT (-38.430024 -3.674059)'))) / (select extract(epoch from '2026-07-07 08:07:00'::timestamp) - extract(epoch from '2026-07-07 08:06:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430055 -3.674034)', '2026-07-07 08:07:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430024 -3.674059)'), GeomFromEWKT('SRID=4674;POINT (-38.430055 -3.674034)'))) / (select extract(epoch from '2026-07-07 08:07:06'::timestamp) - extract(epoch from '2026-07-07 08:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430024 -3.674059)'), GeomFromEWKT('SRID=4674;POINT (-38.430055 -3.674034)'))) / (select extract(epoch from '2026-07-07 08:07:06'::timestamp) - extract(epoch from '2026-07-07 08:07:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43009 -3.674007)', '2026-07-07 08:07:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430055 -3.674034)'), GeomFromEWKT('SRID=4674;POINT (-38.43009 -3.674007)'))) / (select extract(epoch from '2026-07-07 08:07:14'::timestamp) - extract(epoch from '2026-07-07 08:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430055 -3.674034)'), GeomFromEWKT('SRID=4674;POINT (-38.43009 -3.674007)'))) / (select extract(epoch from '2026-07-07 08:07:14'::timestamp) - extract(epoch from '2026-07-07 08:07:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430108 -3.673995)', '2026-07-07 08:07:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43009 -3.674007)'), GeomFromEWKT('SRID=4674;POINT (-38.430108 -3.673995)'))) / (select extract(epoch from '2026-07-07 08:07:18'::timestamp) - extract(epoch from '2026-07-07 08:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43009 -3.674007)'), GeomFromEWKT('SRID=4674;POINT (-38.430108 -3.673995)'))) / (select extract(epoch from '2026-07-07 08:07:18'::timestamp) - extract(epoch from '2026-07-07 08:07:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430139 -3.673974)', '2026-07-07 08:07:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430108 -3.673995)'), GeomFromEWKT('SRID=4674;POINT (-38.430139 -3.673974)'))) / (select extract(epoch from '2026-07-07 08:07:24'::timestamp) - extract(epoch from '2026-07-07 08:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430108 -3.673995)'), GeomFromEWKT('SRID=4674;POINT (-38.430139 -3.673974)'))) / (select extract(epoch from '2026-07-07 08:07:24'::timestamp) - extract(epoch from '2026-07-07 08:07:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43016 -3.67396)', '2026-07-07 08:07:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430139 -3.673974)'), GeomFromEWKT('SRID=4674;POINT (-38.43016 -3.67396)'))) / (select extract(epoch from '2026-07-07 08:07:29'::timestamp) - extract(epoch from '2026-07-07 08:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430139 -3.673974)'), GeomFromEWKT('SRID=4674;POINT (-38.43016 -3.67396)'))) / (select extract(epoch from '2026-07-07 08:07:29'::timestamp) - extract(epoch from '2026-07-07 08:07:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43018 -3.673949)', '2026-07-07 08:07:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43016 -3.67396)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.673949)'))) / (select extract(epoch from '2026-07-07 08:07:32'::timestamp) - extract(epoch from '2026-07-07 08:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43016 -3.67396)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.673949)'))) / (select extract(epoch from '2026-07-07 08:07:32'::timestamp) - extract(epoch from '2026-07-07 08:07:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430189 -3.673944)', '2026-07-07 08:07:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.673949)'), GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.673944)'))) / (select extract(epoch from '2026-07-07 08:07:35'::timestamp) - extract(epoch from '2026-07-07 08:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.673949)'), GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.673944)'))) / (select extract(epoch from '2026-07-07 08:07:35'::timestamp) - extract(epoch from '2026-07-07 08:07:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430223 -3.673927)', '2026-07-07 08:07:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.673944)'), GeomFromEWKT('SRID=4674;POINT (-38.430223 -3.673927)'))) / (select extract(epoch from '2026-07-07 08:07:42'::timestamp) - extract(epoch from '2026-07-07 08:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.673944)'), GeomFromEWKT('SRID=4674;POINT (-38.430223 -3.673927)'))) / (select extract(epoch from '2026-07-07 08:07:42'::timestamp) - extract(epoch from '2026-07-07 08:07:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430255 -3.673904)', '2026-07-07 08:07:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430223 -3.673927)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.673904)'))) / (select extract(epoch from '2026-07-07 08:07:49'::timestamp) - extract(epoch from '2026-07-07 08:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430223 -3.673927)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.673904)'))) / (select extract(epoch from '2026-07-07 08:07:49'::timestamp) - extract(epoch from '2026-07-07 08:07:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430283 -3.673884)', '2026-07-07 08:07:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.673904)'), GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.673884)'))) / (select extract(epoch from '2026-07-07 08:07:55'::timestamp) - extract(epoch from '2026-07-07 08:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.673904)'), GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.673884)'))) / (select extract(epoch from '2026-07-07 08:07:55'::timestamp) - extract(epoch from '2026-07-07 08:07:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430302 -3.673865)', '2026-07-07 08:08:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.673884)'), GeomFromEWKT('SRID=4674;POINT (-38.430302 -3.673865)'))) / (select extract(epoch from '2026-07-07 08:08:00'::timestamp) - extract(epoch from '2026-07-07 08:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.673884)'), GeomFromEWKT('SRID=4674;POINT (-38.430302 -3.673865)'))) / (select extract(epoch from '2026-07-07 08:08:00'::timestamp) - extract(epoch from '2026-07-07 08:07:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430336 -3.673851)', '2026-07-07 08:08:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430302 -3.673865)'), GeomFromEWKT('SRID=4674;POINT (-38.430336 -3.673851)'))) / (select extract(epoch from '2026-07-07 08:08:06'::timestamp) - extract(epoch from '2026-07-07 08:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430302 -3.673865)'), GeomFromEWKT('SRID=4674;POINT (-38.430336 -3.673851)'))) / (select extract(epoch from '2026-07-07 08:08:06'::timestamp) - extract(epoch from '2026-07-07 08:08:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430348 -3.673852)', '2026-07-07 08:08:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430336 -3.673851)'), GeomFromEWKT('SRID=4674;POINT (-38.430348 -3.673852)'))) / (select extract(epoch from '2026-07-07 08:08:07'::timestamp) - extract(epoch from '2026-07-07 08:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430336 -3.673851)'), GeomFromEWKT('SRID=4674;POINT (-38.430348 -3.673852)'))) / (select extract(epoch from '2026-07-07 08:08:07'::timestamp) - extract(epoch from '2026-07-07 08:08:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430362 -3.673846)', '2026-07-07 08:08:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430348 -3.673852)'), GeomFromEWKT('SRID=4674;POINT (-38.430362 -3.673846)'))) / (select extract(epoch from '2026-07-07 08:08:10'::timestamp) - extract(epoch from '2026-07-07 08:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430348 -3.673852)'), GeomFromEWKT('SRID=4674;POINT (-38.430362 -3.673846)'))) / (select extract(epoch from '2026-07-07 08:08:10'::timestamp) - extract(epoch from '2026-07-07 08:08:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430399 -3.673836)', '2026-07-07 08:08:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430362 -3.673846)'), GeomFromEWKT('SRID=4674;POINT (-38.430399 -3.673836)'))) / (select extract(epoch from '2026-07-07 08:08:15'::timestamp) - extract(epoch from '2026-07-07 08:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430362 -3.673846)'), GeomFromEWKT('SRID=4674;POINT (-38.430399 -3.673836)'))) / (select extract(epoch from '2026-07-07 08:08:15'::timestamp) - extract(epoch from '2026-07-07 08:08:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430407 -3.673833)', '2026-07-07 08:08:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430399 -3.673836)'), GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.673833)'))) / (select extract(epoch from '2026-07-07 08:08:16'::timestamp) - extract(epoch from '2026-07-07 08:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430399 -3.673836)'), GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.673833)'))) / (select extract(epoch from '2026-07-07 08:08:16'::timestamp) - extract(epoch from '2026-07-07 08:08:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430421 -3.673818)', '2026-07-07 08:08:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.673833)'), GeomFromEWKT('SRID=4674;POINT (-38.430421 -3.673818)'))) / (select extract(epoch from '2026-07-07 08:08:19'::timestamp) - extract(epoch from '2026-07-07 08:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.673833)'), GeomFromEWKT('SRID=4674;POINT (-38.430421 -3.673818)'))) / (select extract(epoch from '2026-07-07 08:08:19'::timestamp) - extract(epoch from '2026-07-07 08:08:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43044 -3.673816)', '2026-07-07 08:08:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430421 -3.673818)'), GeomFromEWKT('SRID=4674;POINT (-38.43044 -3.673816)'))) / (select extract(epoch from '2026-07-07 08:08:21'::timestamp) - extract(epoch from '2026-07-07 08:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430421 -3.673818)'), GeomFromEWKT('SRID=4674;POINT (-38.43044 -3.673816)'))) / (select extract(epoch from '2026-07-07 08:08:21'::timestamp) - extract(epoch from '2026-07-07 08:08:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430457 -3.673816)', '2026-07-07 08:08:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43044 -3.673816)'), GeomFromEWKT('SRID=4674;POINT (-38.430457 -3.673816)'))) / (select extract(epoch from '2026-07-07 08:08:23'::timestamp) - extract(epoch from '2026-07-07 08:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43044 -3.673816)'), GeomFromEWKT('SRID=4674;POINT (-38.430457 -3.673816)'))) / (select extract(epoch from '2026-07-07 08:08:23'::timestamp) - extract(epoch from '2026-07-07 08:08:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430488 -3.673797)', '2026-07-07 08:08:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430457 -3.673816)'), GeomFromEWKT('SRID=4674;POINT (-38.430488 -3.673797)'))) / (select extract(epoch from '2026-07-07 08:08:29'::timestamp) - extract(epoch from '2026-07-07 08:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430457 -3.673816)'), GeomFromEWKT('SRID=4674;POINT (-38.430488 -3.673797)'))) / (select extract(epoch from '2026-07-07 08:08:29'::timestamp) - extract(epoch from '2026-07-07 08:08:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430517 -3.673778)', '2026-07-07 08:08:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430488 -3.673797)'), GeomFromEWKT('SRID=4674;POINT (-38.430517 -3.673778)'))) / (select extract(epoch from '2026-07-07 08:08:34'::timestamp) - extract(epoch from '2026-07-07 08:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430488 -3.673797)'), GeomFromEWKT('SRID=4674;POINT (-38.430517 -3.673778)'))) / (select extract(epoch from '2026-07-07 08:08:34'::timestamp) - extract(epoch from '2026-07-07 08:08:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430553 -3.67376)', '2026-07-07 08:08:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430517 -3.673778)'), GeomFromEWKT('SRID=4674;POINT (-38.430553 -3.67376)'))) / (select extract(epoch from '2026-07-07 08:08:40'::timestamp) - extract(epoch from '2026-07-07 08:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430517 -3.673778)'), GeomFromEWKT('SRID=4674;POINT (-38.430553 -3.67376)'))) / (select extract(epoch from '2026-07-07 08:08:40'::timestamp) - extract(epoch from '2026-07-07 08:08:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430582 -3.673747)', '2026-07-07 08:08:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430553 -3.67376)'), GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673747)'))) / (select extract(epoch from '2026-07-07 08:08:46'::timestamp) - extract(epoch from '2026-07-07 08:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430553 -3.67376)'), GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673747)'))) / (select extract(epoch from '2026-07-07 08:08:46'::timestamp) - extract(epoch from '2026-07-07 08:08:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430604 -3.673743)', '2026-07-07 08:08:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673747)'), GeomFromEWKT('SRID=4674;POINT (-38.430604 -3.673743)'))) / (select extract(epoch from '2026-07-07 08:08:53'::timestamp) - extract(epoch from '2026-07-07 08:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673747)'), GeomFromEWKT('SRID=4674;POINT (-38.430604 -3.673743)'))) / (select extract(epoch from '2026-07-07 08:08:53'::timestamp) - extract(epoch from '2026-07-07 08:08:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430589 -3.673748)', '2026-07-07 08:08:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430604 -3.673743)'), GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673748)'))) / (select extract(epoch from '2026-07-07 08:08:58'::timestamp) - extract(epoch from '2026-07-07 08:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430604 -3.673743)'), GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673748)'))) / (select extract(epoch from '2026-07-07 08:08:58'::timestamp) - extract(epoch from '2026-07-07 08:08:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430593 -3.673742)', '2026-07-07 08:09:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673748)'), GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673742)'))) / (select extract(epoch from '2026-07-07 08:09:05'::timestamp) - extract(epoch from '2026-07-07 08:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673748)'), GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673742)'))) / (select extract(epoch from '2026-07-07 08:09:05'::timestamp) - extract(epoch from '2026-07-07 08:08:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430595 -3.673739)', '2026-07-07 08:09:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673742)'), GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673739)'))) / (select extract(epoch from '2026-07-07 08:09:10'::timestamp) - extract(epoch from '2026-07-07 08:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673742)'), GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673739)'))) / (select extract(epoch from '2026-07-07 08:09:10'::timestamp) - extract(epoch from '2026-07-07 08:09:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430598 -3.673743)', '2026-07-07 08:09:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673739)'), GeomFromEWKT('SRID=4674;POINT (-38.430598 -3.673743)'))) / (select extract(epoch from '2026-07-07 08:09:19'::timestamp) - extract(epoch from '2026-07-07 08:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673739)'), GeomFromEWKT('SRID=4674;POINT (-38.430598 -3.673743)'))) / (select extract(epoch from '2026-07-07 08:09:19'::timestamp) - extract(epoch from '2026-07-07 08:09:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430598 -3.673738)', '2026-07-07 08:09:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430598 -3.673743)'), GeomFromEWKT('SRID=4674;POINT (-38.430598 -3.673738)'))) / (select extract(epoch from '2026-07-07 08:09:34'::timestamp) - extract(epoch from '2026-07-07 08:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430598 -3.673743)'), GeomFromEWKT('SRID=4674;POINT (-38.430598 -3.673738)'))) / (select extract(epoch from '2026-07-07 08:09:34'::timestamp) - extract(epoch from '2026-07-07 08:09:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430584 -3.673729)', '2026-07-07 08:09:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430598 -3.673738)'), GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673729)'))) / (select extract(epoch from '2026-07-07 08:09:57'::timestamp) - extract(epoch from '2026-07-07 08:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430598 -3.673738)'), GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673729)'))) / (select extract(epoch from '2026-07-07 08:09:57'::timestamp) - extract(epoch from '2026-07-07 08:09:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430583 -3.673719)', '2026-07-07 08:10:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673729)'), GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673719)'))) / (select extract(epoch from '2026-07-07 08:10:07'::timestamp) - extract(epoch from '2026-07-07 08:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673729)'), GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673719)'))) / (select extract(epoch from '2026-07-07 08:10:07'::timestamp) - extract(epoch from '2026-07-07 08:09:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430595 -3.673723)', '2026-07-07 08:10:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673719)'), GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673723)'))) / (select extract(epoch from '2026-07-07 08:10:22'::timestamp) - extract(epoch from '2026-07-07 08:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673719)'), GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673723)'))) / (select extract(epoch from '2026-07-07 08:10:22'::timestamp) - extract(epoch from '2026-07-07 08:10:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430583 -3.673721)', '2026-07-07 08:10:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673723)'), GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673721)'))) / (select extract(epoch from '2026-07-07 08:10:32'::timestamp) - extract(epoch from '2026-07-07 08:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673723)'), GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673721)'))) / (select extract(epoch from '2026-07-07 08:10:32'::timestamp) - extract(epoch from '2026-07-07 08:10:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430586 -3.673712)', '2026-07-07 08:10:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673721)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673712)'))) / (select extract(epoch from '2026-07-07 08:10:40'::timestamp) - extract(epoch from '2026-07-07 08:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673721)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673712)'))) / (select extract(epoch from '2026-07-07 08:10:40'::timestamp) - extract(epoch from '2026-07-07 08:10:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430586 -3.673717)', '2026-07-07 08:10:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673712)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673717)'))) / (select extract(epoch from '2026-07-07 08:10:47'::timestamp) - extract(epoch from '2026-07-07 08:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673712)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673717)'))) / (select extract(epoch from '2026-07-07 08:10:47'::timestamp) - extract(epoch from '2026-07-07 08:10:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430582 -3.673714)', '2026-07-07 08:11:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673717)'), GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673714)'))) / (select extract(epoch from '2026-07-07 08:11:19'::timestamp) - extract(epoch from '2026-07-07 08:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673717)'), GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673714)'))) / (select extract(epoch from '2026-07-07 08:11:19'::timestamp) - extract(epoch from '2026-07-07 08:10:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430573 -3.673694)', '2026-07-07 08:11:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673714)'), GeomFromEWKT('SRID=4674;POINT (-38.430573 -3.673694)'))) / (select extract(epoch from '2026-07-07 08:11:47'::timestamp) - extract(epoch from '2026-07-07 08:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673714)'), GeomFromEWKT('SRID=4674;POINT (-38.430573 -3.673694)'))) / (select extract(epoch from '2026-07-07 08:11:47'::timestamp) - extract(epoch from '2026-07-07 08:11:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430575 -3.673693)', '2026-07-07 08:11:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430573 -3.673694)'), GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673693)'))) / (select extract(epoch from '2026-07-07 08:11:56'::timestamp) - extract(epoch from '2026-07-07 08:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430573 -3.673694)'), GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673693)'))) / (select extract(epoch from '2026-07-07 08:11:56'::timestamp) - extract(epoch from '2026-07-07 08:11:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430572 -3.67369)', '2026-07-07 08:12:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673693)'), GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.67369)'))) / (select extract(epoch from '2026-07-07 08:12:31'::timestamp) - extract(epoch from '2026-07-07 08:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673693)'), GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.67369)'))) / (select extract(epoch from '2026-07-07 08:12:31'::timestamp) - extract(epoch from '2026-07-07 08:11:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430578 -3.673694)', '2026-07-07 08:12:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.67369)'), GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673694)'))) / (select extract(epoch from '2026-07-07 08:12:42'::timestamp) - extract(epoch from '2026-07-07 08:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.67369)'), GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673694)'))) / (select extract(epoch from '2026-07-07 08:12:42'::timestamp) - extract(epoch from '2026-07-07 08:12:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430586 -3.673695)', '2026-07-07 08:13:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673694)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673695)'))) / (select extract(epoch from '2026-07-07 08:13:19'::timestamp) - extract(epoch from '2026-07-07 08:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673694)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673695)'))) / (select extract(epoch from '2026-07-07 08:13:19'::timestamp) - extract(epoch from '2026-07-07 08:12:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430577 -3.673695)', '2026-07-07 08:13:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673695)'), GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673695)'))) / (select extract(epoch from '2026-07-07 08:13:49'::timestamp) - extract(epoch from '2026-07-07 08:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673695)'), GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673695)'))) / (select extract(epoch from '2026-07-07 08:13:49'::timestamp) - extract(epoch from '2026-07-07 08:13:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430584 -3.673701)', '2026-07-07 08:14:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673695)'), GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673701)'))) / (select extract(epoch from '2026-07-07 08:14:03'::timestamp) - extract(epoch from '2026-07-07 08:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673695)'), GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673701)'))) / (select extract(epoch from '2026-07-07 08:14:03'::timestamp) - extract(epoch from '2026-07-07 08:13:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430587 -3.673705)', '2026-07-07 08:14:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673701)'), GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:14:04'::timestamp) - extract(epoch from '2026-07-07 08:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673701)'), GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:14:04'::timestamp) - extract(epoch from '2026-07-07 08:14:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430578 -3.673705)', '2026-07-07 08:14:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:14:10'::timestamp) - extract(epoch from '2026-07-07 08:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:14:10'::timestamp) - extract(epoch from '2026-07-07 08:14:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43059 -3.673706)', '2026-07-07 08:14:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.43059 -3.673706)'))) / (select extract(epoch from '2026-07-07 08:14:17'::timestamp) - extract(epoch from '2026-07-07 08:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.43059 -3.673706)'))) / (select extract(epoch from '2026-07-07 08:14:17'::timestamp) - extract(epoch from '2026-07-07 08:14:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430589 -3.673712)', '2026-07-07 08:14:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43059 -3.673706)'), GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673712)'))) / (select extract(epoch from '2026-07-07 08:14:25'::timestamp) - extract(epoch from '2026-07-07 08:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43059 -3.673706)'), GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673712)'))) / (select extract(epoch from '2026-07-07 08:14:25'::timestamp) - extract(epoch from '2026-07-07 08:14:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430593 -3.673713)', '2026-07-07 08:14:33', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673712)'), GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673713)'))) / (select extract(epoch from '2026-07-07 08:14:33'::timestamp) - extract(epoch from '2026-07-07 08:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673712)'), GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673713)'))) / (select extract(epoch from '2026-07-07 08:14:33'::timestamp) - extract(epoch from '2026-07-07 08:14:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430597 -3.673719)', '2026-07-07 08:14:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673713)'), GeomFromEWKT('SRID=4674;POINT (-38.430597 -3.673719)'))) / (select extract(epoch from '2026-07-07 08:14:50'::timestamp) - extract(epoch from '2026-07-07 08:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673713)'), GeomFromEWKT('SRID=4674;POINT (-38.430597 -3.673719)'))) / (select extract(epoch from '2026-07-07 08:14:50'::timestamp) - extract(epoch from '2026-07-07 08:14:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430587 -3.673706)', '2026-07-07 08:14:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430597 -3.673719)'), GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.673706)'))) / (select extract(epoch from '2026-07-07 08:14:58'::timestamp) - extract(epoch from '2026-07-07 08:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430597 -3.673719)'), GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.673706)'))) / (select extract(epoch from '2026-07-07 08:14:58'::timestamp) - extract(epoch from '2026-07-07 08:14:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430589 -3.673708)', '2026-07-07 08:15:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.673706)'), GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673708)'))) / (select extract(epoch from '2026-07-07 08:15:04'::timestamp) - extract(epoch from '2026-07-07 08:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.673706)'), GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673708)'))) / (select extract(epoch from '2026-07-07 08:15:04'::timestamp) - extract(epoch from '2026-07-07 08:14:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430589 -3.673707)', '2026-07-07 08:15:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673708)'), GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673707)'))) / (select extract(epoch from '2026-07-07 08:15:10'::timestamp) - extract(epoch from '2026-07-07 08:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673708)'), GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673707)'))) / (select extract(epoch from '2026-07-07 08:15:10'::timestamp) - extract(epoch from '2026-07-07 08:15:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430592 -3.673716)', '2026-07-07 08:15:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673707)'), GeomFromEWKT('SRID=4674;POINT (-38.430592 -3.673716)'))) / (select extract(epoch from '2026-07-07 08:15:23'::timestamp) - extract(epoch from '2026-07-07 08:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430589 -3.673707)'), GeomFromEWKT('SRID=4674;POINT (-38.430592 -3.673716)'))) / (select extract(epoch from '2026-07-07 08:15:23'::timestamp) - extract(epoch from '2026-07-07 08:15:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430569 -3.673718)', '2026-07-07 08:15:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430592 -3.673716)'), GeomFromEWKT('SRID=4674;POINT (-38.430569 -3.673718)'))) / (select extract(epoch from '2026-07-07 08:15:30'::timestamp) - extract(epoch from '2026-07-07 08:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430592 -3.673716)'), GeomFromEWKT('SRID=4674;POINT (-38.430569 -3.673718)'))) / (select extract(epoch from '2026-07-07 08:15:30'::timestamp) - extract(epoch from '2026-07-07 08:15:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430575 -3.673708)', '2026-07-07 08:15:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430569 -3.673718)'), GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673708)'))) / (select extract(epoch from '2026-07-07 08:15:40'::timestamp) - extract(epoch from '2026-07-07 08:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430569 -3.673718)'), GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673708)'))) / (select extract(epoch from '2026-07-07 08:15:40'::timestamp) - extract(epoch from '2026-07-07 08:15:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430577 -3.673709)', '2026-07-07 08:15:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673708)'), GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673709)'))) / (select extract(epoch from '2026-07-07 08:15:50'::timestamp) - extract(epoch from '2026-07-07 08:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673708)'), GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673709)'))) / (select extract(epoch from '2026-07-07 08:15:50'::timestamp) - extract(epoch from '2026-07-07 08:15:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430576 -3.673707)', '2026-07-07 08:16:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673709)'), GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673707)'))) / (select extract(epoch from '2026-07-07 08:16:26'::timestamp) - extract(epoch from '2026-07-07 08:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673709)'), GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673707)'))) / (select extract(epoch from '2026-07-07 08:16:26'::timestamp) - extract(epoch from '2026-07-07 08:15:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430595 -3.673725)', '2026-07-07 08:16:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673707)'), GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673725)'))) / (select extract(epoch from '2026-07-07 08:16:49'::timestamp) - extract(epoch from '2026-07-07 08:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673707)'), GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673725)'))) / (select extract(epoch from '2026-07-07 08:16:49'::timestamp) - extract(epoch from '2026-07-07 08:16:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4306 -3.673726)', '2026-07-07 08:16:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673725)'), GeomFromEWKT('SRID=4674;POINT (-38.4306 -3.673726)'))) / (select extract(epoch from '2026-07-07 08:16:50'::timestamp) - extract(epoch from '2026-07-07 08:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673725)'), GeomFromEWKT('SRID=4674;POINT (-38.4306 -3.673726)'))) / (select extract(epoch from '2026-07-07 08:16:50'::timestamp) - extract(epoch from '2026-07-07 08:16:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430593 -3.673734)', '2026-07-07 08:17:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4306 -3.673726)'), GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673734)'))) / (select extract(epoch from '2026-07-07 08:17:22'::timestamp) - extract(epoch from '2026-07-07 08:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4306 -3.673726)'), GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673734)'))) / (select extract(epoch from '2026-07-07 08:17:22'::timestamp) - extract(epoch from '2026-07-07 08:16:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430614 -3.673754)', '2026-07-07 08:17:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673734)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673754)'))) / (select extract(epoch from '2026-07-07 08:17:47'::timestamp) - extract(epoch from '2026-07-07 08:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673734)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673754)'))) / (select extract(epoch from '2026-07-07 08:17:47'::timestamp) - extract(epoch from '2026-07-07 08:17:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430612 -3.673761)', '2026-07-07 08:18:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673754)'), GeomFromEWKT('SRID=4674;POINT (-38.430612 -3.673761)'))) / (select extract(epoch from '2026-07-07 08:18:16'::timestamp) - extract(epoch from '2026-07-07 08:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673754)'), GeomFromEWKT('SRID=4674;POINT (-38.430612 -3.673761)'))) / (select extract(epoch from '2026-07-07 08:18:16'::timestamp) - extract(epoch from '2026-07-07 08:17:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43061 -3.673766)', '2026-07-07 08:18:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430612 -3.673761)'), GeomFromEWKT('SRID=4674;POINT (-38.43061 -3.673766)'))) / (select extract(epoch from '2026-07-07 08:18:23'::timestamp) - extract(epoch from '2026-07-07 08:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430612 -3.673761)'), GeomFromEWKT('SRID=4674;POINT (-38.43061 -3.673766)'))) / (select extract(epoch from '2026-07-07 08:18:23'::timestamp) - extract(epoch from '2026-07-07 08:18:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430617 -3.673769)', '2026-07-07 08:18:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43061 -3.673766)'), GeomFromEWKT('SRID=4674;POINT (-38.430617 -3.673769)'))) / (select extract(epoch from '2026-07-07 08:18:33'::timestamp) - extract(epoch from '2026-07-07 08:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43061 -3.673766)'), GeomFromEWKT('SRID=4674;POINT (-38.430617 -3.673769)'))) / (select extract(epoch from '2026-07-07 08:18:33'::timestamp) - extract(epoch from '2026-07-07 08:18:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430608 -3.673775)', '2026-07-07 08:18:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430617 -3.673769)'), GeomFromEWKT('SRID=4674;POINT (-38.430608 -3.673775)'))) / (select extract(epoch from '2026-07-07 08:18:38'::timestamp) - extract(epoch from '2026-07-07 08:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430617 -3.673769)'), GeomFromEWKT('SRID=4674;POINT (-38.430608 -3.673775)'))) / (select extract(epoch from '2026-07-07 08:18:38'::timestamp) - extract(epoch from '2026-07-07 08:18:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430619 -3.67378)', '2026-07-07 08:18:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430608 -3.673775)'), GeomFromEWKT('SRID=4674;POINT (-38.430619 -3.67378)'))) / (select extract(epoch from '2026-07-07 08:18:41'::timestamp) - extract(epoch from '2026-07-07 08:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430608 -3.673775)'), GeomFromEWKT('SRID=4674;POINT (-38.430619 -3.67378)'))) / (select extract(epoch from '2026-07-07 08:18:41'::timestamp) - extract(epoch from '2026-07-07 08:18:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430613 -3.673783)', '2026-07-07 08:18:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430619 -3.67378)'), GeomFromEWKT('SRID=4674;POINT (-38.430613 -3.673783)'))) / (select extract(epoch from '2026-07-07 08:18:45'::timestamp) - extract(epoch from '2026-07-07 08:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430619 -3.67378)'), GeomFromEWKT('SRID=4674;POINT (-38.430613 -3.673783)'))) / (select extract(epoch from '2026-07-07 08:18:45'::timestamp) - extract(epoch from '2026-07-07 08:18:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430626 -3.673782)', '2026-07-07 08:18:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430613 -3.673783)'), GeomFromEWKT('SRID=4674;POINT (-38.430626 -3.673782)'))) / (select extract(epoch from '2026-07-07 08:18:53'::timestamp) - extract(epoch from '2026-07-07 08:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430613 -3.673783)'), GeomFromEWKT('SRID=4674;POINT (-38.430626 -3.673782)'))) / (select extract(epoch from '2026-07-07 08:18:53'::timestamp) - extract(epoch from '2026-07-07 08:18:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430633 -3.673784)', '2026-07-07 08:19:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430626 -3.673782)'), GeomFromEWKT('SRID=4674;POINT (-38.430633 -3.673784)'))) / (select extract(epoch from '2026-07-07 08:19:09'::timestamp) - extract(epoch from '2026-07-07 08:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430626 -3.673782)'), GeomFromEWKT('SRID=4674;POINT (-38.430633 -3.673784)'))) / (select extract(epoch from '2026-07-07 08:19:09'::timestamp) - extract(epoch from '2026-07-07 08:18:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430646 -3.673783)', '2026-07-07 08:19:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430633 -3.673784)'), GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673783)'))) / (select extract(epoch from '2026-07-07 08:19:27'::timestamp) - extract(epoch from '2026-07-07 08:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430633 -3.673784)'), GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673783)'))) / (select extract(epoch from '2026-07-07 08:19:27'::timestamp) - extract(epoch from '2026-07-07 08:19:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430645 -3.673786)', '2026-07-07 08:19:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673783)'), GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673786)'))) / (select extract(epoch from '2026-07-07 08:19:32'::timestamp) - extract(epoch from '2026-07-07 08:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673783)'), GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673786)'))) / (select extract(epoch from '2026-07-07 08:19:32'::timestamp) - extract(epoch from '2026-07-07 08:19:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43064 -3.673787)', '2026-07-07 08:19:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673786)'), GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673787)'))) / (select extract(epoch from '2026-07-07 08:19:33'::timestamp) - extract(epoch from '2026-07-07 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673786)'), GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673787)'))) / (select extract(epoch from '2026-07-07 08:19:33'::timestamp) - extract(epoch from '2026-07-07 08:19:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430631 -3.67379)', '2026-07-07 08:19:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673787)'), GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.67379)'))) / (select extract(epoch from '2026-07-07 08:19:35'::timestamp) - extract(epoch from '2026-07-07 08:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673787)'), GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.67379)'))) / (select extract(epoch from '2026-07-07 08:19:35'::timestamp) - extract(epoch from '2026-07-07 08:19:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430642 -3.673796)', '2026-07-07 08:19:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.67379)'), GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673796)'))) / (select extract(epoch from '2026-07-07 08:19:48'::timestamp) - extract(epoch from '2026-07-07 08:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.67379)'), GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673796)'))) / (select extract(epoch from '2026-07-07 08:19:48'::timestamp) - extract(epoch from '2026-07-07 08:19:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430652 -3.673787)', '2026-07-07 08:19:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673796)'), GeomFromEWKT('SRID=4674;POINT (-38.430652 -3.673787)'))) / (select extract(epoch from '2026-07-07 08:19:54'::timestamp) - extract(epoch from '2026-07-07 08:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673796)'), GeomFromEWKT('SRID=4674;POINT (-38.430652 -3.673787)'))) / (select extract(epoch from '2026-07-07 08:19:54'::timestamp) - extract(epoch from '2026-07-07 08:19:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430644 -3.67379)', '2026-07-07 08:19:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430652 -3.673787)'), GeomFromEWKT('SRID=4674;POINT (-38.430644 -3.67379)'))) / (select extract(epoch from '2026-07-07 08:19:59'::timestamp) - extract(epoch from '2026-07-07 08:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430652 -3.673787)'), GeomFromEWKT('SRID=4674;POINT (-38.430644 -3.67379)'))) / (select extract(epoch from '2026-07-07 08:19:59'::timestamp) - extract(epoch from '2026-07-07 08:19:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430636 -3.673785)', '2026-07-07 08:21:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430644 -3.67379)'), GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673785)'))) / (select extract(epoch from '2026-07-07 08:21:05'::timestamp) - extract(epoch from '2026-07-07 08:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430644 -3.67379)'), GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673785)'))) / (select extract(epoch from '2026-07-07 08:21:05'::timestamp) - extract(epoch from '2026-07-07 08:19:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430649 -3.6738)', '2026-07-07 08:21:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673785)'), GeomFromEWKT('SRID=4674;POINT (-38.430649 -3.6738)'))) / (select extract(epoch from '2026-07-07 08:21:17'::timestamp) - extract(epoch from '2026-07-07 08:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673785)'), GeomFromEWKT('SRID=4674;POINT (-38.430649 -3.6738)'))) / (select extract(epoch from '2026-07-07 08:21:17'::timestamp) - extract(epoch from '2026-07-07 08:21:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430641 -3.673801)', '2026-07-07 08:21:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430649 -3.6738)'), GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673801)'))) / (select extract(epoch from '2026-07-07 08:21:55'::timestamp) - extract(epoch from '2026-07-07 08:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430649 -3.6738)'), GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673801)'))) / (select extract(epoch from '2026-07-07 08:21:55'::timestamp) - extract(epoch from '2026-07-07 08:21:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430645 -3.673803)', '2026-07-07 08:21:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673801)'), GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'))) / (select extract(epoch from '2026-07-07 08:21:56'::timestamp) - extract(epoch from '2026-07-07 08:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673801)'), GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'))) / (select extract(epoch from '2026-07-07 08:21:56'::timestamp) - extract(epoch from '2026-07-07 08:21:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430656 -3.673813)', '2026-07-07 08:21:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'), GeomFromEWKT('SRID=4674;POINT (-38.430656 -3.673813)'))) / (select extract(epoch from '2026-07-07 08:21:58'::timestamp) - extract(epoch from '2026-07-07 08:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'), GeomFromEWKT('SRID=4674;POINT (-38.430656 -3.673813)'))) / (select extract(epoch from '2026-07-07 08:21:58'::timestamp) - extract(epoch from '2026-07-07 08:21:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430653 -3.673821)', '2026-07-07 08:22:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430656 -3.673813)'), GeomFromEWKT('SRID=4674;POINT (-38.430653 -3.673821)'))) / (select extract(epoch from '2026-07-07 08:22:04'::timestamp) - extract(epoch from '2026-07-07 08:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430656 -3.673813)'), GeomFromEWKT('SRID=4674;POINT (-38.430653 -3.673821)'))) / (select extract(epoch from '2026-07-07 08:22:04'::timestamp) - extract(epoch from '2026-07-07 08:21:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43066 -3.673825)', '2026-07-07 08:22:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430653 -3.673821)'), GeomFromEWKT('SRID=4674;POINT (-38.43066 -3.673825)'))) / (select extract(epoch from '2026-07-07 08:22:14'::timestamp) - extract(epoch from '2026-07-07 08:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430653 -3.673821)'), GeomFromEWKT('SRID=4674;POINT (-38.43066 -3.673825)'))) / (select extract(epoch from '2026-07-07 08:22:14'::timestamp) - extract(epoch from '2026-07-07 08:22:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430666 -3.673834)', '2026-07-07 08:22:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43066 -3.673825)'), GeomFromEWKT('SRID=4674;POINT (-38.430666 -3.673834)'))) / (select extract(epoch from '2026-07-07 08:22:18'::timestamp) - extract(epoch from '2026-07-07 08:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43066 -3.673825)'), GeomFromEWKT('SRID=4674;POINT (-38.430666 -3.673834)'))) / (select extract(epoch from '2026-07-07 08:22:18'::timestamp) - extract(epoch from '2026-07-07 08:22:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430658 -3.67382)', '2026-07-07 08:22:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430666 -3.673834)'), GeomFromEWKT('SRID=4674;POINT (-38.430658 -3.67382)'))) / (select extract(epoch from '2026-07-07 08:22:23'::timestamp) - extract(epoch from '2026-07-07 08:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430666 -3.673834)'), GeomFromEWKT('SRID=4674;POINT (-38.430658 -3.67382)'))) / (select extract(epoch from '2026-07-07 08:22:23'::timestamp) - extract(epoch from '2026-07-07 08:22:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430652 -3.673818)', '2026-07-07 08:22:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430658 -3.67382)'), GeomFromEWKT('SRID=4674;POINT (-38.430652 -3.673818)'))) / (select extract(epoch from '2026-07-07 08:22:28'::timestamp) - extract(epoch from '2026-07-07 08:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430658 -3.67382)'), GeomFromEWKT('SRID=4674;POINT (-38.430652 -3.673818)'))) / (select extract(epoch from '2026-07-07 08:22:28'::timestamp) - extract(epoch from '2026-07-07 08:22:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430657 -3.673821)', '2026-07-07 08:22:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430652 -3.673818)'), GeomFromEWKT('SRID=4674;POINT (-38.430657 -3.673821)'))) / (select extract(epoch from '2026-07-07 08:22:33'::timestamp) - extract(epoch from '2026-07-07 08:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430652 -3.673818)'), GeomFromEWKT('SRID=4674;POINT (-38.430657 -3.673821)'))) / (select extract(epoch from '2026-07-07 08:22:33'::timestamp) - extract(epoch from '2026-07-07 08:22:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43065 -3.67383)', '2026-07-07 08:23:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430657 -3.673821)'), GeomFromEWKT('SRID=4674;POINT (-38.43065 -3.67383)'))) / (select extract(epoch from '2026-07-07 08:23:02'::timestamp) - extract(epoch from '2026-07-07 08:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430657 -3.673821)'), GeomFromEWKT('SRID=4674;POINT (-38.43065 -3.67383)'))) / (select extract(epoch from '2026-07-07 08:23:02'::timestamp) - extract(epoch from '2026-07-07 08:22:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430651 -3.673827)', '2026-07-07 08:23:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43065 -3.67383)'), GeomFromEWKT('SRID=4674;POINT (-38.430651 -3.673827)'))) / (select extract(epoch from '2026-07-07 08:23:08'::timestamp) - extract(epoch from '2026-07-07 08:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43065 -3.67383)'), GeomFromEWKT('SRID=4674;POINT (-38.430651 -3.673827)'))) / (select extract(epoch from '2026-07-07 08:23:08'::timestamp) - extract(epoch from '2026-07-07 08:23:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430647 -3.673818)', '2026-07-07 08:23:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430651 -3.673827)'), GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673818)'))) / (select extract(epoch from '2026-07-07 08:23:15'::timestamp) - extract(epoch from '2026-07-07 08:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430651 -3.673827)'), GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673818)'))) / (select extract(epoch from '2026-07-07 08:23:15'::timestamp) - extract(epoch from '2026-07-07 08:23:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430646 -3.673827)', '2026-07-07 08:23:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673818)'), GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673827)'))) / (select extract(epoch from '2026-07-07 08:23:27'::timestamp) - extract(epoch from '2026-07-07 08:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673818)'), GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673827)'))) / (select extract(epoch from '2026-07-07 08:23:27'::timestamp) - extract(epoch from '2026-07-07 08:23:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430645 -3.673803)', '2026-07-07 08:25:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673827)'), GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'))) / (select extract(epoch from '2026-07-07 08:25:03'::timestamp) - extract(epoch from '2026-07-07 08:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673827)'), GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'))) / (select extract(epoch from '2026-07-07 08:25:03'::timestamp) - extract(epoch from '2026-07-07 08:23:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430645 -3.673803)', '2026-07-07 08:25:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'), GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'))) / (select extract(epoch from '2026-07-07 08:25:35'::timestamp) - extract(epoch from '2026-07-07 08:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'), GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'))) / (select extract(epoch from '2026-07-07 08:25:35'::timestamp) - extract(epoch from '2026-07-07 08:25:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430647 -3.673797)', '2026-07-07 08:26:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'), GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673797)'))) / (select extract(epoch from '2026-07-07 08:26:47'::timestamp) - extract(epoch from '2026-07-07 08:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673803)'), GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673797)'))) / (select extract(epoch from '2026-07-07 08:26:47'::timestamp) - extract(epoch from '2026-07-07 08:25:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430661 -3.673797)', '2026-07-07 08:27:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673797)'), GeomFromEWKT('SRID=4674;POINT (-38.430661 -3.673797)'))) / (select extract(epoch from '2026-07-07 08:27:06'::timestamp) - extract(epoch from '2026-07-07 08:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673797)'), GeomFromEWKT('SRID=4674;POINT (-38.430661 -3.673797)'))) / (select extract(epoch from '2026-07-07 08:27:06'::timestamp) - extract(epoch from '2026-07-07 08:26:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430662 -3.673793)', '2026-07-07 08:27:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430661 -3.673797)'), GeomFromEWKT('SRID=4674;POINT (-38.430662 -3.673793)'))) / (select extract(epoch from '2026-07-07 08:27:19'::timestamp) - extract(epoch from '2026-07-07 08:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430661 -3.673797)'), GeomFromEWKT('SRID=4674;POINT (-38.430662 -3.673793)'))) / (select extract(epoch from '2026-07-07 08:27:19'::timestamp) - extract(epoch from '2026-07-07 08:27:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430642 -3.673784)', '2026-07-07 08:27:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430662 -3.673793)'), GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673784)'))) / (select extract(epoch from '2026-07-07 08:27:45'::timestamp) - extract(epoch from '2026-07-07 08:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430662 -3.673793)'), GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673784)'))) / (select extract(epoch from '2026-07-07 08:27:45'::timestamp) - extract(epoch from '2026-07-07 08:27:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430616 -3.673772)', '2026-07-07 08:28:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673784)'), GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673772)'))) / (select extract(epoch from '2026-07-07 08:28:29'::timestamp) - extract(epoch from '2026-07-07 08:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673784)'), GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673772)'))) / (select extract(epoch from '2026-07-07 08:28:29'::timestamp) - extract(epoch from '2026-07-07 08:27:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430623 -3.673766)', '2026-07-07 08:28:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673772)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673766)'))) / (select extract(epoch from '2026-07-07 08:28:37'::timestamp) - extract(epoch from '2026-07-07 08:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673772)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673766)'))) / (select extract(epoch from '2026-07-07 08:28:37'::timestamp) - extract(epoch from '2026-07-07 08:28:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430621 -3.673772)', '2026-07-07 08:28:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673766)'), GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673772)'))) / (select extract(epoch from '2026-07-07 08:28:46'::timestamp) - extract(epoch from '2026-07-07 08:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673766)'), GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673772)'))) / (select extract(epoch from '2026-07-07 08:28:46'::timestamp) - extract(epoch from '2026-07-07 08:28:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430631 -3.673769)', '2026-07-07 08:28:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673772)'), GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.673769)'))) / (select extract(epoch from '2026-07-07 08:28:49'::timestamp) - extract(epoch from '2026-07-07 08:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673772)'), GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.673769)'))) / (select extract(epoch from '2026-07-07 08:28:49'::timestamp) - extract(epoch from '2026-07-07 08:28:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43063 -3.673771)', '2026-07-07 08:28:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.673769)'), GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673771)'))) / (select extract(epoch from '2026-07-07 08:28:54'::timestamp) - extract(epoch from '2026-07-07 08:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.673769)'), GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673771)'))) / (select extract(epoch from '2026-07-07 08:28:54'::timestamp) - extract(epoch from '2026-07-07 08:28:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430629 -3.673766)', '2026-07-07 08:29:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673771)'), GeomFromEWKT('SRID=4674;POINT (-38.430629 -3.673766)'))) / (select extract(epoch from '2026-07-07 08:29:38'::timestamp) - extract(epoch from '2026-07-07 08:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673771)'), GeomFromEWKT('SRID=4674;POINT (-38.430629 -3.673766)'))) / (select extract(epoch from '2026-07-07 08:29:38'::timestamp) - extract(epoch from '2026-07-07 08:28:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430639 -3.673768)', '2026-07-07 08:29:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430629 -3.673766)'), GeomFromEWKT('SRID=4674;POINT (-38.430639 -3.673768)'))) / (select extract(epoch from '2026-07-07 08:29:43'::timestamp) - extract(epoch from '2026-07-07 08:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430629 -3.673766)'), GeomFromEWKT('SRID=4674;POINT (-38.430639 -3.673768)'))) / (select extract(epoch from '2026-07-07 08:29:43'::timestamp) - extract(epoch from '2026-07-07 08:29:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430636 -3.67377)', '2026-07-07 08:29:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430639 -3.673768)'), GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.67377)'))) / (select extract(epoch from '2026-07-07 08:29:44'::timestamp) - extract(epoch from '2026-07-07 08:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430639 -3.673768)'), GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.67377)'))) / (select extract(epoch from '2026-07-07 08:29:44'::timestamp) - extract(epoch from '2026-07-07 08:29:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430643 -3.673758)', '2026-07-07 08:30:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.67377)'), GeomFromEWKT('SRID=4674;POINT (-38.430643 -3.673758)'))) / (select extract(epoch from '2026-07-07 08:30:02'::timestamp) - extract(epoch from '2026-07-07 08:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.67377)'), GeomFromEWKT('SRID=4674;POINT (-38.430643 -3.673758)'))) / (select extract(epoch from '2026-07-07 08:30:02'::timestamp) - extract(epoch from '2026-07-07 08:29:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430638 -3.673761)', '2026-07-07 08:30:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430643 -3.673758)'), GeomFromEWKT('SRID=4674;POINT (-38.430638 -3.673761)'))) / (select extract(epoch from '2026-07-07 08:30:14'::timestamp) - extract(epoch from '2026-07-07 08:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430643 -3.673758)'), GeomFromEWKT('SRID=4674;POINT (-38.430638 -3.673761)'))) / (select extract(epoch from '2026-07-07 08:30:14'::timestamp) - extract(epoch from '2026-07-07 08:30:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430641 -3.673761)', '2026-07-07 08:30:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430638 -3.673761)'), GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673761)'))) / (select extract(epoch from '2026-07-07 08:30:32'::timestamp) - extract(epoch from '2026-07-07 08:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430638 -3.673761)'), GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673761)'))) / (select extract(epoch from '2026-07-07 08:30:32'::timestamp) - extract(epoch from '2026-07-07 08:30:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430639 -3.673761)', '2026-07-07 08:30:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673761)'), GeomFromEWKT('SRID=4674;POINT (-38.430639 -3.673761)'))) / (select extract(epoch from '2026-07-07 08:30:42'::timestamp) - extract(epoch from '2026-07-07 08:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673761)'), GeomFromEWKT('SRID=4674;POINT (-38.430639 -3.673761)'))) / (select extract(epoch from '2026-07-07 08:30:42'::timestamp) - extract(epoch from '2026-07-07 08:30:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43063 -3.673767)', '2026-07-07 08:30:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430639 -3.673761)'), GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673767)'))) / (select extract(epoch from '2026-07-07 08:30:48'::timestamp) - extract(epoch from '2026-07-07 08:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430639 -3.673761)'), GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673767)'))) / (select extract(epoch from '2026-07-07 08:30:48'::timestamp) - extract(epoch from '2026-07-07 08:30:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430637 -3.673764)', '2026-07-07 08:31:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673767)'), GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673764)'))) / (select extract(epoch from '2026-07-07 08:31:18'::timestamp) - extract(epoch from '2026-07-07 08:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673767)'), GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673764)'))) / (select extract(epoch from '2026-07-07 08:31:18'::timestamp) - extract(epoch from '2026-07-07 08:30:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430622 -3.673771)', '2026-07-07 08:31:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673764)'), GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673771)'))) / (select extract(epoch from '2026-07-07 08:31:21'::timestamp) - extract(epoch from '2026-07-07 08:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673764)'), GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673771)'))) / (select extract(epoch from '2026-07-07 08:31:21'::timestamp) - extract(epoch from '2026-07-07 08:31:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43063 -3.673775)', '2026-07-07 08:31:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673771)'), GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673775)'))) / (select extract(epoch from '2026-07-07 08:31:26'::timestamp) - extract(epoch from '2026-07-07 08:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673771)'), GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673775)'))) / (select extract(epoch from '2026-07-07 08:31:26'::timestamp) - extract(epoch from '2026-07-07 08:31:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430627 -3.673782)', '2026-07-07 08:31:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673775)'), GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673782)'))) / (select extract(epoch from '2026-07-07 08:31:38'::timestamp) - extract(epoch from '2026-07-07 08:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43063 -3.673775)'), GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673782)'))) / (select extract(epoch from '2026-07-07 08:31:38'::timestamp) - extract(epoch from '2026-07-07 08:31:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430632 -3.673788)', '2026-07-07 08:31:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673782)'), GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673788)'))) / (select extract(epoch from '2026-07-07 08:31:47'::timestamp) - extract(epoch from '2026-07-07 08:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673782)'), GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673788)'))) / (select extract(epoch from '2026-07-07 08:31:47'::timestamp) - extract(epoch from '2026-07-07 08:31:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430636 -3.673781)', '2026-07-07 08:31:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673788)'), GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673781)'))) / (select extract(epoch from '2026-07-07 08:31:53'::timestamp) - extract(epoch from '2026-07-07 08:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673788)'), GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673781)'))) / (select extract(epoch from '2026-07-07 08:31:53'::timestamp) - extract(epoch from '2026-07-07 08:31:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43064 -3.673786)', '2026-07-07 08:32:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673781)'), GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673786)'))) / (select extract(epoch from '2026-07-07 08:32:27'::timestamp) - extract(epoch from '2026-07-07 08:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673781)'), GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673786)'))) / (select extract(epoch from '2026-07-07 08:32:27'::timestamp) - extract(epoch from '2026-07-07 08:31:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430645 -3.673788)', '2026-07-07 08:32:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673786)'), GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673788)'))) / (select extract(epoch from '2026-07-07 08:32:44'::timestamp) - extract(epoch from '2026-07-07 08:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673786)'), GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673788)'))) / (select extract(epoch from '2026-07-07 08:32:44'::timestamp) - extract(epoch from '2026-07-07 08:32:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430647 -3.673789)', '2026-07-07 08:32:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673788)'), GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673789)'))) / (select extract(epoch from '2026-07-07 08:32:49'::timestamp) - extract(epoch from '2026-07-07 08:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430645 -3.673788)'), GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673789)'))) / (select extract(epoch from '2026-07-07 08:32:49'::timestamp) - extract(epoch from '2026-07-07 08:32:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430641 -3.673786)', '2026-07-07 08:32:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673789)'), GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673786)'))) / (select extract(epoch from '2026-07-07 08:32:59'::timestamp) - extract(epoch from '2026-07-07 08:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673789)'), GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673786)'))) / (select extract(epoch from '2026-07-07 08:32:59'::timestamp) - extract(epoch from '2026-07-07 08:32:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430638 -3.673771)', '2026-07-07 08:33:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673786)'), GeomFromEWKT('SRID=4674;POINT (-38.430638 -3.673771)'))) / (select extract(epoch from '2026-07-07 08:33:13'::timestamp) - extract(epoch from '2026-07-07 08:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430641 -3.673786)'), GeomFromEWKT('SRID=4674;POINT (-38.430638 -3.673771)'))) / (select extract(epoch from '2026-07-07 08:33:13'::timestamp) - extract(epoch from '2026-07-07 08:32:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430647 -3.673783)', '2026-07-07 08:33:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430638 -3.673771)'), GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673783)'))) / (select extract(epoch from '2026-07-07 08:33:17'::timestamp) - extract(epoch from '2026-07-07 08:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430638 -3.673771)'), GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673783)'))) / (select extract(epoch from '2026-07-07 08:33:17'::timestamp) - extract(epoch from '2026-07-07 08:33:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430654 -3.673795)', '2026-07-07 08:33:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673783)'), GeomFromEWKT('SRID=4674;POINT (-38.430654 -3.673795)'))) / (select extract(epoch from '2026-07-07 08:33:53'::timestamp) - extract(epoch from '2026-07-07 08:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430647 -3.673783)'), GeomFromEWKT('SRID=4674;POINT (-38.430654 -3.673795)'))) / (select extract(epoch from '2026-07-07 08:33:53'::timestamp) - extract(epoch from '2026-07-07 08:33:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43066 -3.673796)', '2026-07-07 08:33:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430654 -3.673795)'), GeomFromEWKT('SRID=4674;POINT (-38.43066 -3.673796)'))) / (select extract(epoch from '2026-07-07 08:33:59'::timestamp) - extract(epoch from '2026-07-07 08:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430654 -3.673795)'), GeomFromEWKT('SRID=4674;POINT (-38.43066 -3.673796)'))) / (select extract(epoch from '2026-07-07 08:33:59'::timestamp) - extract(epoch from '2026-07-07 08:33:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430661 -3.673796)', '2026-07-07 08:34:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43066 -3.673796)'), GeomFromEWKT('SRID=4674;POINT (-38.430661 -3.673796)'))) / (select extract(epoch from '2026-07-07 08:34:10'::timestamp) - extract(epoch from '2026-07-07 08:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43066 -3.673796)'), GeomFromEWKT('SRID=4674;POINT (-38.430661 -3.673796)'))) / (select extract(epoch from '2026-07-07 08:34:10'::timestamp) - extract(epoch from '2026-07-07 08:33:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430672 -3.673802)', '2026-07-07 08:34:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430661 -3.673796)'), GeomFromEWKT('SRID=4674;POINT (-38.430672 -3.673802)'))) / (select extract(epoch from '2026-07-07 08:34:22'::timestamp) - extract(epoch from '2026-07-07 08:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430661 -3.673796)'), GeomFromEWKT('SRID=4674;POINT (-38.430672 -3.673802)'))) / (select extract(epoch from '2026-07-07 08:34:22'::timestamp) - extract(epoch from '2026-07-07 08:34:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430668 -3.673803)', '2026-07-07 08:34:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430672 -3.673802)'), GeomFromEWKT('SRID=4674;POINT (-38.430668 -3.673803)'))) / (select extract(epoch from '2026-07-07 08:34:30'::timestamp) - extract(epoch from '2026-07-07 08:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430672 -3.673802)'), GeomFromEWKT('SRID=4674;POINT (-38.430668 -3.673803)'))) / (select extract(epoch from '2026-07-07 08:34:30'::timestamp) - extract(epoch from '2026-07-07 08:34:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430662 -3.673803)', '2026-07-07 08:34:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430668 -3.673803)'), GeomFromEWKT('SRID=4674;POINT (-38.430662 -3.673803)'))) / (select extract(epoch from '2026-07-07 08:34:38'::timestamp) - extract(epoch from '2026-07-07 08:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430668 -3.673803)'), GeomFromEWKT('SRID=4674;POINT (-38.430662 -3.673803)'))) / (select extract(epoch from '2026-07-07 08:34:38'::timestamp) - extract(epoch from '2026-07-07 08:34:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43065 -3.673796)', '2026-07-07 08:35:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430662 -3.673803)'), GeomFromEWKT('SRID=4674;POINT (-38.43065 -3.673796)'))) / (select extract(epoch from '2026-07-07 08:35:01'::timestamp) - extract(epoch from '2026-07-07 08:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430662 -3.673803)'), GeomFromEWKT('SRID=4674;POINT (-38.43065 -3.673796)'))) / (select extract(epoch from '2026-07-07 08:35:01'::timestamp) - extract(epoch from '2026-07-07 08:34:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430644 -3.673758)', '2026-07-07 08:36:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43065 -3.673796)'), GeomFromEWKT('SRID=4674;POINT (-38.430644 -3.673758)'))) / (select extract(epoch from '2026-07-07 08:36:42'::timestamp) - extract(epoch from '2026-07-07 08:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43065 -3.673796)'), GeomFromEWKT('SRID=4674;POINT (-38.430644 -3.673758)'))) / (select extract(epoch from '2026-07-07 08:36:42'::timestamp) - extract(epoch from '2026-07-07 08:35:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430642 -3.673757)', '2026-07-07 08:36:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430644 -3.673758)'), GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673757)'))) / (select extract(epoch from '2026-07-07 08:36:51'::timestamp) - extract(epoch from '2026-07-07 08:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430644 -3.673758)'), GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673757)'))) / (select extract(epoch from '2026-07-07 08:36:51'::timestamp) - extract(epoch from '2026-07-07 08:36:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430642 -3.673744)', '2026-07-07 08:37:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673757)'), GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673744)'))) / (select extract(epoch from '2026-07-07 08:37:02'::timestamp) - extract(epoch from '2026-07-07 08:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673757)'), GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673744)'))) / (select extract(epoch from '2026-07-07 08:37:02'::timestamp) - extract(epoch from '2026-07-07 08:36:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430643 -3.673746)', '2026-07-07 08:37:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673744)'), GeomFromEWKT('SRID=4674;POINT (-38.430643 -3.673746)'))) / (select extract(epoch from '2026-07-07 08:37:24'::timestamp) - extract(epoch from '2026-07-07 08:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430642 -3.673744)'), GeomFromEWKT('SRID=4674;POINT (-38.430643 -3.673746)'))) / (select extract(epoch from '2026-07-07 08:37:24'::timestamp) - extract(epoch from '2026-07-07 08:37:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430637 -3.673737)', '2026-07-07 08:37:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430643 -3.673746)'), GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673737)'))) / (select extract(epoch from '2026-07-07 08:37:46'::timestamp) - extract(epoch from '2026-07-07 08:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430643 -3.673746)'), GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673737)'))) / (select extract(epoch from '2026-07-07 08:37:46'::timestamp) - extract(epoch from '2026-07-07 08:37:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43064 -3.673747)', '2026-07-07 08:38:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673737)'), GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673747)'))) / (select extract(epoch from '2026-07-07 08:38:06'::timestamp) - extract(epoch from '2026-07-07 08:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673737)'), GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673747)'))) / (select extract(epoch from '2026-07-07 08:38:06'::timestamp) - extract(epoch from '2026-07-07 08:37:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430637 -3.673745)', '2026-07-07 08:38:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673747)'), GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673745)'))) / (select extract(epoch from '2026-07-07 08:38:21'::timestamp) - extract(epoch from '2026-07-07 08:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43064 -3.673747)'), GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673745)'))) / (select extract(epoch from '2026-07-07 08:38:21'::timestamp) - extract(epoch from '2026-07-07 08:38:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430636 -3.673747)', '2026-07-07 08:38:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673745)'), GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673747)'))) / (select extract(epoch from '2026-07-07 08:38:38'::timestamp) - extract(epoch from '2026-07-07 08:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430637 -3.673745)'), GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673747)'))) / (select extract(epoch from '2026-07-07 08:38:38'::timestamp) - extract(epoch from '2026-07-07 08:38:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430646 -3.673746)', '2026-07-07 08:38:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673747)'), GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673746)'))) / (select extract(epoch from '2026-07-07 08:38:42'::timestamp) - extract(epoch from '2026-07-07 08:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430636 -3.673747)'), GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673746)'))) / (select extract(epoch from '2026-07-07 08:38:42'::timestamp) - extract(epoch from '2026-07-07 08:38:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430628 -3.673735)', '2026-07-07 08:39:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673746)'), GeomFromEWKT('SRID=4674;POINT (-38.430628 -3.673735)'))) / (select extract(epoch from '2026-07-07 08:39:12'::timestamp) - extract(epoch from '2026-07-07 08:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430646 -3.673746)'), GeomFromEWKT('SRID=4674;POINT (-38.430628 -3.673735)'))) / (select extract(epoch from '2026-07-07 08:39:12'::timestamp) - extract(epoch from '2026-07-07 08:38:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430634 -3.673733)', '2026-07-07 08:39:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430628 -3.673735)'), GeomFromEWKT('SRID=4674;POINT (-38.430634 -3.673733)'))) / (select extract(epoch from '2026-07-07 08:39:19'::timestamp) - extract(epoch from '2026-07-07 08:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430628 -3.673735)'), GeomFromEWKT('SRID=4674;POINT (-38.430634 -3.673733)'))) / (select extract(epoch from '2026-07-07 08:39:19'::timestamp) - extract(epoch from '2026-07-07 08:39:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430622 -3.673725)', '2026-07-07 08:39:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430634 -3.673733)'), GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673725)'))) / (select extract(epoch from '2026-07-07 08:39:59'::timestamp) - extract(epoch from '2026-07-07 08:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430634 -3.673733)'), GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673725)'))) / (select extract(epoch from '2026-07-07 08:39:59'::timestamp) - extract(epoch from '2026-07-07 08:39:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430623 -3.673717)', '2026-07-07 08:40:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673725)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673717)'))) / (select extract(epoch from '2026-07-07 08:40:04'::timestamp) - extract(epoch from '2026-07-07 08:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673725)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673717)'))) / (select extract(epoch from '2026-07-07 08:40:04'::timestamp) - extract(epoch from '2026-07-07 08:39:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430616 -3.673716)', '2026-07-07 08:40:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673717)'), GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673716)'))) / (select extract(epoch from '2026-07-07 08:40:21'::timestamp) - extract(epoch from '2026-07-07 08:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673717)'), GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673716)'))) / (select extract(epoch from '2026-07-07 08:40:21'::timestamp) - extract(epoch from '2026-07-07 08:40:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430618 -3.673714)', '2026-07-07 08:40:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673716)'), GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673714)'))) / (select extract(epoch from '2026-07-07 08:40:27'::timestamp) - extract(epoch from '2026-07-07 08:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673716)'), GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673714)'))) / (select extract(epoch from '2026-07-07 08:40:27'::timestamp) - extract(epoch from '2026-07-07 08:40:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430614 -3.673716)', '2026-07-07 08:40:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673714)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673716)'))) / (select extract(epoch from '2026-07-07 08:40:33'::timestamp) - extract(epoch from '2026-07-07 08:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673714)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673716)'))) / (select extract(epoch from '2026-07-07 08:40:33'::timestamp) - extract(epoch from '2026-07-07 08:40:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430628 -3.673732)', '2026-07-07 08:41:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673716)'), GeomFromEWKT('SRID=4674;POINT (-38.430628 -3.673732)'))) / (select extract(epoch from '2026-07-07 08:41:13'::timestamp) - extract(epoch from '2026-07-07 08:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673716)'), GeomFromEWKT('SRID=4674;POINT (-38.430628 -3.673732)'))) / (select extract(epoch from '2026-07-07 08:41:13'::timestamp) - extract(epoch from '2026-07-07 08:40:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430614 -3.67373)', '2026-07-07 08:41:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430628 -3.673732)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.67373)'))) / (select extract(epoch from '2026-07-07 08:41:27'::timestamp) - extract(epoch from '2026-07-07 08:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430628 -3.673732)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.67373)'))) / (select extract(epoch from '2026-07-07 08:41:27'::timestamp) - extract(epoch from '2026-07-07 08:41:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430624 -3.673732)', '2026-07-07 08:41:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.67373)'), GeomFromEWKT('SRID=4674;POINT (-38.430624 -3.673732)'))) / (select extract(epoch from '2026-07-07 08:41:28'::timestamp) - extract(epoch from '2026-07-07 08:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.67373)'), GeomFromEWKT('SRID=4674;POINT (-38.430624 -3.673732)'))) / (select extract(epoch from '2026-07-07 08:41:28'::timestamp) - extract(epoch from '2026-07-07 08:41:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430632 -3.673737)', '2026-07-07 08:41:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430624 -3.673732)'), GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673737)'))) / (select extract(epoch from '2026-07-07 08:41:29'::timestamp) - extract(epoch from '2026-07-07 08:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430624 -3.673732)'), GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673737)'))) / (select extract(epoch from '2026-07-07 08:41:29'::timestamp) - extract(epoch from '2026-07-07 08:41:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430631 -3.673742)', '2026-07-07 08:41:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673737)'), GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.673742)'))) / (select extract(epoch from '2026-07-07 08:41:32'::timestamp) - extract(epoch from '2026-07-07 08:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673737)'), GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.673742)'))) / (select extract(epoch from '2026-07-07 08:41:32'::timestamp) - extract(epoch from '2026-07-07 08:41:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430627 -3.673738)', '2026-07-07 08:41:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.673742)'), GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673738)'))) / (select extract(epoch from '2026-07-07 08:41:59'::timestamp) - extract(epoch from '2026-07-07 08:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430631 -3.673742)'), GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673738)'))) / (select extract(epoch from '2026-07-07 08:41:59'::timestamp) - extract(epoch from '2026-07-07 08:41:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430625 -3.673738)', '2026-07-07 08:42:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673738)'), GeomFromEWKT('SRID=4674;POINT (-38.430625 -3.673738)'))) / (select extract(epoch from '2026-07-07 08:42:05'::timestamp) - extract(epoch from '2026-07-07 08:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673738)'), GeomFromEWKT('SRID=4674;POINT (-38.430625 -3.673738)'))) / (select extract(epoch from '2026-07-07 08:42:05'::timestamp) - extract(epoch from '2026-07-07 08:41:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430614 -3.673742)', '2026-07-07 08:42:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430625 -3.673738)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673742)'))) / (select extract(epoch from '2026-07-07 08:42:24'::timestamp) - extract(epoch from '2026-07-07 08:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430625 -3.673738)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673742)'))) / (select extract(epoch from '2026-07-07 08:42:24'::timestamp) - extract(epoch from '2026-07-07 08:42:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430615 -3.673736)', '2026-07-07 08:42:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673742)'), GeomFromEWKT('SRID=4674;POINT (-38.430615 -3.673736)'))) / (select extract(epoch from '2026-07-07 08:42:45'::timestamp) - extract(epoch from '2026-07-07 08:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673742)'), GeomFromEWKT('SRID=4674;POINT (-38.430615 -3.673736)'))) / (select extract(epoch from '2026-07-07 08:42:45'::timestamp) - extract(epoch from '2026-07-07 08:42:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430621 -3.673744)', '2026-07-07 08:42:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430615 -3.673736)'), GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673744)'))) / (select extract(epoch from '2026-07-07 08:42:57'::timestamp) - extract(epoch from '2026-07-07 08:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430615 -3.673736)'), GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673744)'))) / (select extract(epoch from '2026-07-07 08:42:57'::timestamp) - extract(epoch from '2026-07-07 08:42:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430618 -3.673734)', '2026-07-07 08:43:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673744)'), GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673734)'))) / (select extract(epoch from '2026-07-07 08:43:12'::timestamp) - extract(epoch from '2026-07-07 08:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673744)'), GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673734)'))) / (select extract(epoch from '2026-07-07 08:43:12'::timestamp) - extract(epoch from '2026-07-07 08:42:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430621 -3.673729)', '2026-07-07 08:43:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673734)'), GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673729)'))) / (select extract(epoch from '2026-07-07 08:43:22'::timestamp) - extract(epoch from '2026-07-07 08:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673734)'), GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673729)'))) / (select extract(epoch from '2026-07-07 08:43:22'::timestamp) - extract(epoch from '2026-07-07 08:43:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430623 -3.67373)', '2026-07-07 08:43:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673729)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.67373)'))) / (select extract(epoch from '2026-07-07 08:43:28'::timestamp) - extract(epoch from '2026-07-07 08:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673729)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.67373)'))) / (select extract(epoch from '2026-07-07 08:43:28'::timestamp) - extract(epoch from '2026-07-07 08:43:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430622 -3.673732)', '2026-07-07 08:43:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.67373)'), GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673732)'))) / (select extract(epoch from '2026-07-07 08:43:39'::timestamp) - extract(epoch from '2026-07-07 08:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.67373)'), GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673732)'))) / (select extract(epoch from '2026-07-07 08:43:39'::timestamp) - extract(epoch from '2026-07-07 08:43:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430632 -3.673728)', '2026-07-07 08:43:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673732)'), GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673728)'))) / (select extract(epoch from '2026-07-07 08:43:44'::timestamp) - extract(epoch from '2026-07-07 08:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430622 -3.673732)'), GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673728)'))) / (select extract(epoch from '2026-07-07 08:43:44'::timestamp) - extract(epoch from '2026-07-07 08:43:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430627 -3.673733)', '2026-07-07 08:43:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673728)'), GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673733)'))) / (select extract(epoch from '2026-07-07 08:43:50'::timestamp) - extract(epoch from '2026-07-07 08:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430632 -3.673728)'), GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673733)'))) / (select extract(epoch from '2026-07-07 08:43:50'::timestamp) - extract(epoch from '2026-07-07 08:43:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430619 -3.673715)', '2026-07-07 08:44:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673733)'), GeomFromEWKT('SRID=4674;POINT (-38.430619 -3.673715)'))) / (select extract(epoch from '2026-07-07 08:44:39'::timestamp) - extract(epoch from '2026-07-07 08:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430627 -3.673733)'), GeomFromEWKT('SRID=4674;POINT (-38.430619 -3.673715)'))) / (select extract(epoch from '2026-07-07 08:44:39'::timestamp) - extract(epoch from '2026-07-07 08:43:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430611 -3.673724)', '2026-07-07 08:44:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430619 -3.673715)'), GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.673724)'))) / (select extract(epoch from '2026-07-07 08:44:47'::timestamp) - extract(epoch from '2026-07-07 08:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430619 -3.673715)'), GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.673724)'))) / (select extract(epoch from '2026-07-07 08:44:47'::timestamp) - extract(epoch from '2026-07-07 08:44:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430609 -3.673699)', '2026-07-07 08:45:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.673724)'), GeomFromEWKT('SRID=4674;POINT (-38.430609 -3.673699)'))) / (select extract(epoch from '2026-07-07 08:45:40'::timestamp) - extract(epoch from '2026-07-07 08:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.673724)'), GeomFromEWKT('SRID=4674;POINT (-38.430609 -3.673699)'))) / (select extract(epoch from '2026-07-07 08:45:40'::timestamp) - extract(epoch from '2026-07-07 08:44:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430606 -3.673705)', '2026-07-07 08:45:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430609 -3.673699)'), GeomFromEWKT('SRID=4674;POINT (-38.430606 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:45:50'::timestamp) - extract(epoch from '2026-07-07 08:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430609 -3.673699)'), GeomFromEWKT('SRID=4674;POINT (-38.430606 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:45:50'::timestamp) - extract(epoch from '2026-07-07 08:45:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430613 -3.673706)', '2026-07-07 08:45:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430606 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.430613 -3.673706)'))) / (select extract(epoch from '2026-07-07 08:45:57'::timestamp) - extract(epoch from '2026-07-07 08:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430606 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.430613 -3.673706)'))) / (select extract(epoch from '2026-07-07 08:45:57'::timestamp) - extract(epoch from '2026-07-07 08:45:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430601 -3.673705)', '2026-07-07 08:45:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430613 -3.673706)'), GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:45:59'::timestamp) - extract(epoch from '2026-07-07 08:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430613 -3.673706)'), GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:45:59'::timestamp) - extract(epoch from '2026-07-07 08:45:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430603 -3.673705)', '2026-07-07 08:46:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:46:02'::timestamp) - extract(epoch from '2026-07-07 08:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:46:02'::timestamp) - extract(epoch from '2026-07-07 08:45:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430614 -3.673707)', '2026-07-07 08:47:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673707)'))) / (select extract(epoch from '2026-07-07 08:47:04'::timestamp) - extract(epoch from '2026-07-07 08:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673707)'))) / (select extract(epoch from '2026-07-07 08:47:04'::timestamp) - extract(epoch from '2026-07-07 08:46:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430611 -3.67371)', '2026-07-07 08:47:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673707)'), GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.67371)'))) / (select extract(epoch from '2026-07-07 08:47:09'::timestamp) - extract(epoch from '2026-07-07 08:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673707)'), GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.67371)'))) / (select extract(epoch from '2026-07-07 08:47:09'::timestamp) - extract(epoch from '2026-07-07 08:47:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430597 -3.673683)', '2026-07-07 08:47:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.67371)'), GeomFromEWKT('SRID=4674;POINT (-38.430597 -3.673683)'))) / (select extract(epoch from '2026-07-07 08:47:43'::timestamp) - extract(epoch from '2026-07-07 08:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.67371)'), GeomFromEWKT('SRID=4674;POINT (-38.430597 -3.673683)'))) / (select extract(epoch from '2026-07-07 08:47:43'::timestamp) - extract(epoch from '2026-07-07 08:47:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430614 -3.673692)', '2026-07-07 08:47:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430597 -3.673683)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673692)'))) / (select extract(epoch from '2026-07-07 08:47:54'::timestamp) - extract(epoch from '2026-07-07 08:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430597 -3.673683)'), GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673692)'))) / (select extract(epoch from '2026-07-07 08:47:54'::timestamp) - extract(epoch from '2026-07-07 08:47:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430601 -3.673704)', '2026-07-07 08:48:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673692)'), GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673704)'))) / (select extract(epoch from '2026-07-07 08:48:04'::timestamp) - extract(epoch from '2026-07-07 08:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430614 -3.673692)'), GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673704)'))) / (select extract(epoch from '2026-07-07 08:48:04'::timestamp) - extract(epoch from '2026-07-07 08:47:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430612 -3.673705)', '2026-07-07 08:48:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673704)'), GeomFromEWKT('SRID=4674;POINT (-38.430612 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:48:09'::timestamp) - extract(epoch from '2026-07-07 08:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673704)'), GeomFromEWKT('SRID=4674;POINT (-38.430612 -3.673705)'))) / (select extract(epoch from '2026-07-07 08:48:09'::timestamp) - extract(epoch from '2026-07-07 08:48:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430616 -3.673698)', '2026-07-07 08:48:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430612 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673698)'))) / (select extract(epoch from '2026-07-07 08:48:15'::timestamp) - extract(epoch from '2026-07-07 08:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430612 -3.673705)'), GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673698)'))) / (select extract(epoch from '2026-07-07 08:48:15'::timestamp) - extract(epoch from '2026-07-07 08:48:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430618 -3.673701)', '2026-07-07 08:48:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673698)'), GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673701)'))) / (select extract(epoch from '2026-07-07 08:48:37'::timestamp) - extract(epoch from '2026-07-07 08:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430616 -3.673698)'), GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673701)'))) / (select extract(epoch from '2026-07-07 08:48:37'::timestamp) - extract(epoch from '2026-07-07 08:48:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430623 -3.673698)', '2026-07-07 08:48:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673701)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673698)'))) / (select extract(epoch from '2026-07-07 08:48:40'::timestamp) - extract(epoch from '2026-07-07 08:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.673701)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673698)'))) / (select extract(epoch from '2026-07-07 08:48:40'::timestamp) - extract(epoch from '2026-07-07 08:48:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430623 -3.6737)', '2026-07-07 08:48:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673698)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.6737)'))) / (select extract(epoch from '2026-07-07 08:48:53'::timestamp) - extract(epoch from '2026-07-07 08:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673698)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.6737)'))) / (select extract(epoch from '2026-07-07 08:48:53'::timestamp) - extract(epoch from '2026-07-07 08:48:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430615 -3.673703)', '2026-07-07 08:49:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.6737)'), GeomFromEWKT('SRID=4674;POINT (-38.430615 -3.673703)'))) / (select extract(epoch from '2026-07-07 08:49:05'::timestamp) - extract(epoch from '2026-07-07 08:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.6737)'), GeomFromEWKT('SRID=4674;POINT (-38.430615 -3.673703)'))) / (select extract(epoch from '2026-07-07 08:49:05'::timestamp) - extract(epoch from '2026-07-07 08:48:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430617 -3.673703)', '2026-07-07 08:49:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430615 -3.673703)'), GeomFromEWKT('SRID=4674;POINT (-38.430617 -3.673703)'))) / (select extract(epoch from '2026-07-07 08:49:11'::timestamp) - extract(epoch from '2026-07-07 08:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430615 -3.673703)'), GeomFromEWKT('SRID=4674;POINT (-38.430617 -3.673703)'))) / (select extract(epoch from '2026-07-07 08:49:11'::timestamp) - extract(epoch from '2026-07-07 08:49:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430607 -3.673699)', '2026-07-07 08:49:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430617 -3.673703)'), GeomFromEWKT('SRID=4674;POINT (-38.430607 -3.673699)'))) / (select extract(epoch from '2026-07-07 08:49:39'::timestamp) - extract(epoch from '2026-07-07 08:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430617 -3.673703)'), GeomFromEWKT('SRID=4674;POINT (-38.430607 -3.673699)'))) / (select extract(epoch from '2026-07-07 08:49:39'::timestamp) - extract(epoch from '2026-07-07 08:49:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430618 -3.6737)', '2026-07-07 08:49:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430607 -3.673699)'), GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.6737)'))) / (select extract(epoch from '2026-07-07 08:49:41'::timestamp) - extract(epoch from '2026-07-07 08:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430607 -3.673699)'), GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.6737)'))) / (select extract(epoch from '2026-07-07 08:49:41'::timestamp) - extract(epoch from '2026-07-07 08:49:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430611 -3.673702)', '2026-07-07 08:49:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.6737)'), GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.673702)'))) / (select extract(epoch from '2026-07-07 08:49:51'::timestamp) - extract(epoch from '2026-07-07 08:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430618 -3.6737)'), GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.673702)'))) / (select extract(epoch from '2026-07-07 08:49:51'::timestamp) - extract(epoch from '2026-07-07 08:49:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430623 -3.673706)', '2026-07-07 08:49:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.673702)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673706)'))) / (select extract(epoch from '2026-07-07 08:49:56'::timestamp) - extract(epoch from '2026-07-07 08:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430611 -3.673702)'), GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673706)'))) / (select extract(epoch from '2026-07-07 08:49:56'::timestamp) - extract(epoch from '2026-07-07 08:49:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430621 -3.673712)', '2026-07-07 08:50:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673706)'), GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673712)'))) / (select extract(epoch from '2026-07-07 08:50:07'::timestamp) - extract(epoch from '2026-07-07 08:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430623 -3.673706)'), GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673712)'))) / (select extract(epoch from '2026-07-07 08:50:07'::timestamp) - extract(epoch from '2026-07-07 08:49:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430601 -3.673686)', '2026-07-07 08:50:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673712)'), GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673686)'))) / (select extract(epoch from '2026-07-07 08:50:44'::timestamp) - extract(epoch from '2026-07-07 08:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430621 -3.673712)'), GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673686)'))) / (select extract(epoch from '2026-07-07 08:50:44'::timestamp) - extract(epoch from '2026-07-07 08:50:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430599 -3.673681)', '2026-07-07 08:50:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673686)'), GeomFromEWKT('SRID=4674;POINT (-38.430599 -3.673681)'))) / (select extract(epoch from '2026-07-07 08:50:52'::timestamp) - extract(epoch from '2026-07-07 08:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430601 -3.673686)'), GeomFromEWKT('SRID=4674;POINT (-38.430599 -3.673681)'))) / (select extract(epoch from '2026-07-07 08:50:52'::timestamp) - extract(epoch from '2026-07-07 08:50:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430587 -3.67368)', '2026-07-07 08:51:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430599 -3.673681)'), GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.67368)'))) / (select extract(epoch from '2026-07-07 08:51:04'::timestamp) - extract(epoch from '2026-07-07 08:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430599 -3.673681)'), GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.67368)'))) / (select extract(epoch from '2026-07-07 08:51:04'::timestamp) - extract(epoch from '2026-07-07 08:50:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430603 -3.673668)', '2026-07-07 08:51:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.67368)'), GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.673668)'))) / (select extract(epoch from '2026-07-07 08:51:15'::timestamp) - extract(epoch from '2026-07-07 08:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430587 -3.67368)'), GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.673668)'))) / (select extract(epoch from '2026-07-07 08:51:15'::timestamp) - extract(epoch from '2026-07-07 08:51:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430595 -3.673671)', '2026-07-07 08:51:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.673668)'), GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673671)'))) / (select extract(epoch from '2026-07-07 08:51:19'::timestamp) - extract(epoch from '2026-07-07 08:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.673668)'), GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673671)'))) / (select extract(epoch from '2026-07-07 08:51:19'::timestamp) - extract(epoch from '2026-07-07 08:51:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430593 -3.673665)', '2026-07-07 08:51:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673671)'), GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673665)'))) / (select extract(epoch from '2026-07-07 08:51:31'::timestamp) - extract(epoch from '2026-07-07 08:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673671)'), GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673665)'))) / (select extract(epoch from '2026-07-07 08:51:31'::timestamp) - extract(epoch from '2026-07-07 08:51:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430594 -3.673667)', '2026-07-07 08:51:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673665)'), GeomFromEWKT('SRID=4674;POINT (-38.430594 -3.673667)'))) / (select extract(epoch from '2026-07-07 08:51:49'::timestamp) - extract(epoch from '2026-07-07 08:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673665)'), GeomFromEWKT('SRID=4674;POINT (-38.430594 -3.673667)'))) / (select extract(epoch from '2026-07-07 08:51:49'::timestamp) - extract(epoch from '2026-07-07 08:51:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430594 -3.673669)', '2026-07-07 08:51:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430594 -3.673667)'), GeomFromEWKT('SRID=4674;POINT (-38.430594 -3.673669)'))) / (select extract(epoch from '2026-07-07 08:51:52'::timestamp) - extract(epoch from '2026-07-07 08:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430594 -3.673667)'), GeomFromEWKT('SRID=4674;POINT (-38.430594 -3.673669)'))) / (select extract(epoch from '2026-07-07 08:51:52'::timestamp) - extract(epoch from '2026-07-07 08:51:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430584 -3.673663)', '2026-07-07 08:51:58', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430594 -3.673669)'), GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673663)'))) / (select extract(epoch from '2026-07-07 08:51:58'::timestamp) - extract(epoch from '2026-07-07 08:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430594 -3.673669)'), GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673663)'))) / (select extract(epoch from '2026-07-07 08:51:58'::timestamp) - extract(epoch from '2026-07-07 08:51:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430583 -3.673641)', '2026-07-07 08:52:23', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673663)'), GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673641)'))) / (select extract(epoch from '2026-07-07 08:52:23'::timestamp) - extract(epoch from '2026-07-07 08:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673663)'), GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673641)'))) / (select extract(epoch from '2026-07-07 08:52:23'::timestamp) - extract(epoch from '2026-07-07 08:51:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430588 -3.673643)', '2026-07-07 08:52:25', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673641)'), GeomFromEWKT('SRID=4674;POINT (-38.430588 -3.673643)'))) / (select extract(epoch from '2026-07-07 08:52:25'::timestamp) - extract(epoch from '2026-07-07 08:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673641)'), GeomFromEWKT('SRID=4674;POINT (-38.430588 -3.673643)'))) / (select extract(epoch from '2026-07-07 08:52:25'::timestamp) - extract(epoch from '2026-07-07 08:52:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430591 -3.673646)', '2026-07-07 08:52:28', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430588 -3.673643)'), GeomFromEWKT('SRID=4674;POINT (-38.430591 -3.673646)'))) / (select extract(epoch from '2026-07-07 08:52:28'::timestamp) - extract(epoch from '2026-07-07 08:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430588 -3.673643)'), GeomFromEWKT('SRID=4674;POINT (-38.430591 -3.673646)'))) / (select extract(epoch from '2026-07-07 08:52:28'::timestamp) - extract(epoch from '2026-07-07 08:52:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430569 -3.673644)', '2026-07-07 08:52:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430591 -3.673646)'), GeomFromEWKT('SRID=4674;POINT (-38.430569 -3.673644)'))) / (select extract(epoch from '2026-07-07 08:52:53'::timestamp) - extract(epoch from '2026-07-07 08:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430591 -3.673646)'), GeomFromEWKT('SRID=4674;POINT (-38.430569 -3.673644)'))) / (select extract(epoch from '2026-07-07 08:52:53'::timestamp) - extract(epoch from '2026-07-07 08:52:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430572 -3.673646)', '2026-07-07 08:53:01', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430569 -3.673644)'), GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.673646)'))) / (select extract(epoch from '2026-07-07 08:53:01'::timestamp) - extract(epoch from '2026-07-07 08:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430569 -3.673644)'), GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.673646)'))) / (select extract(epoch from '2026-07-07 08:53:01'::timestamp) - extract(epoch from '2026-07-07 08:52:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430574 -3.673637)', '2026-07-07 08:53:06', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.673646)'), GeomFromEWKT('SRID=4674;POINT (-38.430574 -3.673637)'))) / (select extract(epoch from '2026-07-07 08:53:06'::timestamp) - extract(epoch from '2026-07-07 08:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.673646)'), GeomFromEWKT('SRID=4674;POINT (-38.430574 -3.673637)'))) / (select extract(epoch from '2026-07-07 08:53:06'::timestamp) - extract(epoch from '2026-07-07 08:53:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430571 -3.673643)', '2026-07-07 08:53:35', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430574 -3.673637)'), GeomFromEWKT('SRID=4674;POINT (-38.430571 -3.673643)'))) / (select extract(epoch from '2026-07-07 08:53:35'::timestamp) - extract(epoch from '2026-07-07 08:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430574 -3.673637)'), GeomFromEWKT('SRID=4674;POINT (-38.430571 -3.673643)'))) / (select extract(epoch from '2026-07-07 08:53:35'::timestamp) - extract(epoch from '2026-07-07 08:53:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430577 -3.673649)', '2026-07-07 08:53:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430571 -3.673643)'), GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673649)'))) / (select extract(epoch from '2026-07-07 08:53:47'::timestamp) - extract(epoch from '2026-07-07 08:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430571 -3.673643)'), GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673649)'))) / (select extract(epoch from '2026-07-07 08:53:47'::timestamp) - extract(epoch from '2026-07-07 08:53:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43058 -3.673653)', '2026-07-07 08:54:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673649)'), GeomFromEWKT('SRID=4674;POINT (-38.43058 -3.673653)'))) / (select extract(epoch from '2026-07-07 08:54:07'::timestamp) - extract(epoch from '2026-07-07 08:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673649)'), GeomFromEWKT('SRID=4674;POINT (-38.43058 -3.673653)'))) / (select extract(epoch from '2026-07-07 08:54:07'::timestamp) - extract(epoch from '2026-07-07 08:53:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430585 -3.673649)', '2026-07-07 08:54:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43058 -3.673653)'), GeomFromEWKT('SRID=4674;POINT (-38.430585 -3.673649)'))) / (select extract(epoch from '2026-07-07 08:54:14'::timestamp) - extract(epoch from '2026-07-07 08:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43058 -3.673653)'), GeomFromEWKT('SRID=4674;POINT (-38.430585 -3.673649)'))) / (select extract(epoch from '2026-07-07 08:54:14'::timestamp) - extract(epoch from '2026-07-07 08:54:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430586 -3.673641)', '2026-07-07 08:54:25', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430585 -3.673649)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673641)'))) / (select extract(epoch from '2026-07-07 08:54:25'::timestamp) - extract(epoch from '2026-07-07 08:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430585 -3.673649)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673641)'))) / (select extract(epoch from '2026-07-07 08:54:25'::timestamp) - extract(epoch from '2026-07-07 08:54:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430582 -3.673634)', '2026-07-07 08:54:41', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673641)'), GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673634)'))) / (select extract(epoch from '2026-07-07 08:54:41'::timestamp) - extract(epoch from '2026-07-07 08:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673641)'), GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673634)'))) / (select extract(epoch from '2026-07-07 08:54:41'::timestamp) - extract(epoch from '2026-07-07 08:54:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43058 -3.673641)', '2026-07-07 08:54:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673634)'), GeomFromEWKT('SRID=4674;POINT (-38.43058 -3.673641)'))) / (select extract(epoch from '2026-07-07 08:54:48'::timestamp) - extract(epoch from '2026-07-07 08:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673634)'), GeomFromEWKT('SRID=4674;POINT (-38.43058 -3.673641)'))) / (select extract(epoch from '2026-07-07 08:54:48'::timestamp) - extract(epoch from '2026-07-07 08:54:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430562 -3.673624)', '2026-07-07 08:55:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43058 -3.673641)'), GeomFromEWKT('SRID=4674;POINT (-38.430562 -3.673624)'))) / (select extract(epoch from '2026-07-07 08:55:08'::timestamp) - extract(epoch from '2026-07-07 08:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43058 -3.673641)'), GeomFromEWKT('SRID=4674;POINT (-38.430562 -3.673624)'))) / (select extract(epoch from '2026-07-07 08:55:08'::timestamp) - extract(epoch from '2026-07-07 08:54:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430568 -3.673624)', '2026-07-07 08:55:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430562 -3.673624)'), GeomFromEWKT('SRID=4674;POINT (-38.430568 -3.673624)'))) / (select extract(epoch from '2026-07-07 08:55:14'::timestamp) - extract(epoch from '2026-07-07 08:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430562 -3.673624)'), GeomFromEWKT('SRID=4674;POINT (-38.430568 -3.673624)'))) / (select extract(epoch from '2026-07-07 08:55:14'::timestamp) - extract(epoch from '2026-07-07 08:55:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430574 -3.673647)', '2026-07-07 08:55:21', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430568 -3.673624)'), GeomFromEWKT('SRID=4674;POINT (-38.430574 -3.673647)'))) / (select extract(epoch from '2026-07-07 08:55:21'::timestamp) - extract(epoch from '2026-07-07 08:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430568 -3.673624)'), GeomFromEWKT('SRID=4674;POINT (-38.430574 -3.673647)'))) / (select extract(epoch from '2026-07-07 08:55:21'::timestamp) - extract(epoch from '2026-07-07 08:55:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430576 -3.673651)', '2026-07-07 08:55:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430574 -3.673647)'), GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673651)'))) / (select extract(epoch from '2026-07-07 08:55:28'::timestamp) - extract(epoch from '2026-07-07 08:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430574 -3.673647)'), GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673651)'))) / (select extract(epoch from '2026-07-07 08:55:28'::timestamp) - extract(epoch from '2026-07-07 08:55:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430572 -3.673629)', '2026-07-07 08:55:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673651)'), GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.673629)'))) / (select extract(epoch from '2026-07-07 08:55:46'::timestamp) - extract(epoch from '2026-07-07 08:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673651)'), GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.673629)'))) / (select extract(epoch from '2026-07-07 08:55:46'::timestamp) - extract(epoch from '2026-07-07 08:55:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430576 -3.673628)', '2026-07-07 08:55:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.673629)'), GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673628)'))) / (select extract(epoch from '2026-07-07 08:55:52'::timestamp) - extract(epoch from '2026-07-07 08:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430572 -3.673629)'), GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673628)'))) / (select extract(epoch from '2026-07-07 08:55:52'::timestamp) - extract(epoch from '2026-07-07 08:55:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430571 -3.673623)', '2026-07-07 08:55:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673628)'), GeomFromEWKT('SRID=4674;POINT (-38.430571 -3.673623)'))) / (select extract(epoch from '2026-07-07 08:55:59'::timestamp) - extract(epoch from '2026-07-07 08:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430576 -3.673628)'), GeomFromEWKT('SRID=4674;POINT (-38.430571 -3.673623)'))) / (select extract(epoch from '2026-07-07 08:55:59'::timestamp) - extract(epoch from '2026-07-07 08:55:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430575 -3.673623)', '2026-07-07 08:56:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430571 -3.673623)'), GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673623)'))) / (select extract(epoch from '2026-07-07 08:56:05'::timestamp) - extract(epoch from '2026-07-07 08:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430571 -3.673623)'), GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673623)'))) / (select extract(epoch from '2026-07-07 08:56:05'::timestamp) - extract(epoch from '2026-07-07 08:55:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430581 -3.67364)', '2026-07-07 08:56:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673623)'), GeomFromEWKT('SRID=4674;POINT (-38.430581 -3.67364)'))) / (select extract(epoch from '2026-07-07 08:56:16'::timestamp) - extract(epoch from '2026-07-07 08:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673623)'), GeomFromEWKT('SRID=4674;POINT (-38.430581 -3.67364)'))) / (select extract(epoch from '2026-07-07 08:56:16'::timestamp) - extract(epoch from '2026-07-07 08:56:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430586 -3.67364)', '2026-07-07 08:56:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430581 -3.67364)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.67364)'))) / (select extract(epoch from '2026-07-07 08:56:22'::timestamp) - extract(epoch from '2026-07-07 08:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430581 -3.67364)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.67364)'))) / (select extract(epoch from '2026-07-07 08:56:22'::timestamp) - extract(epoch from '2026-07-07 08:56:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430579 -3.673633)', '2026-07-07 08:56:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.67364)'), GeomFromEWKT('SRID=4674;POINT (-38.430579 -3.673633)'))) / (select extract(epoch from '2026-07-07 08:56:29'::timestamp) - extract(epoch from '2026-07-07 08:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.67364)'), GeomFromEWKT('SRID=4674;POINT (-38.430579 -3.673633)'))) / (select extract(epoch from '2026-07-07 08:56:29'::timestamp) - extract(epoch from '2026-07-07 08:56:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430578 -3.673632)', '2026-07-07 08:56:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430579 -3.673633)'), GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673632)'))) / (select extract(epoch from '2026-07-07 08:56:37'::timestamp) - extract(epoch from '2026-07-07 08:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430579 -3.673633)'), GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673632)'))) / (select extract(epoch from '2026-07-07 08:56:37'::timestamp) - extract(epoch from '2026-07-07 08:56:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430584 -3.673644)', '2026-07-07 08:56:52', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673632)'), GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673644)'))) / (select extract(epoch from '2026-07-07 08:56:52'::timestamp) - extract(epoch from '2026-07-07 08:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430578 -3.673632)'), GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673644)'))) / (select extract(epoch from '2026-07-07 08:56:52'::timestamp) - extract(epoch from '2026-07-07 08:56:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430586 -3.673639)', '2026-07-07 08:56:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673644)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673639)'))) / (select extract(epoch from '2026-07-07 08:56:58'::timestamp) - extract(epoch from '2026-07-07 08:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673644)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673639)'))) / (select extract(epoch from '2026-07-07 08:56:58'::timestamp) - extract(epoch from '2026-07-07 08:56:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430595 -3.673635)', '2026-07-07 08:57:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673639)'), GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673635)'))) / (select extract(epoch from '2026-07-07 08:57:00'::timestamp) - extract(epoch from '2026-07-07 08:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673639)'), GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673635)'))) / (select extract(epoch from '2026-07-07 08:57:00'::timestamp) - extract(epoch from '2026-07-07 08:56:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430593 -3.673641)', '2026-07-07 08:57:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673635)'), GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673641)'))) / (select extract(epoch from '2026-07-07 08:57:03'::timestamp) - extract(epoch from '2026-07-07 08:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430595 -3.673635)'), GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673641)'))) / (select extract(epoch from '2026-07-07 08:57:03'::timestamp) - extract(epoch from '2026-07-07 08:57:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430583 -3.673649)', '2026-07-07 08:57:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673641)'), GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673649)'))) / (select extract(epoch from '2026-07-07 08:57:08'::timestamp) - extract(epoch from '2026-07-07 08:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430593 -3.673641)'), GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673649)'))) / (select extract(epoch from '2026-07-07 08:57:08'::timestamp) - extract(epoch from '2026-07-07 08:57:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430586 -3.673648)', '2026-07-07 08:57:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673649)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673648)'))) / (select extract(epoch from '2026-07-07 08:57:15'::timestamp) - extract(epoch from '2026-07-07 08:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430583 -3.673649)'), GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673648)'))) / (select extract(epoch from '2026-07-07 08:57:15'::timestamp) - extract(epoch from '2026-07-07 08:57:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430591 -3.673659)', '2026-07-07 08:57:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673648)'), GeomFromEWKT('SRID=4674;POINT (-38.430591 -3.673659)'))) / (select extract(epoch from '2026-07-07 08:57:33'::timestamp) - extract(epoch from '2026-07-07 08:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430586 -3.673648)'), GeomFromEWKT('SRID=4674;POINT (-38.430591 -3.673659)'))) / (select extract(epoch from '2026-07-07 08:57:33'::timestamp) - extract(epoch from '2026-07-07 08:57:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430596 -3.67366)', '2026-07-07 08:57:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430591 -3.673659)'), GeomFromEWKT('SRID=4674;POINT (-38.430596 -3.67366)'))) / (select extract(epoch from '2026-07-07 08:57:42'::timestamp) - extract(epoch from '2026-07-07 08:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430591 -3.673659)'), GeomFromEWKT('SRID=4674;POINT (-38.430596 -3.67366)'))) / (select extract(epoch from '2026-07-07 08:57:42'::timestamp) - extract(epoch from '2026-07-07 08:57:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430584 -3.673647)', '2026-07-07 08:58:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430596 -3.67366)'), GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673647)'))) / (select extract(epoch from '2026-07-07 08:58:03'::timestamp) - extract(epoch from '2026-07-07 08:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430596 -3.67366)'), GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673647)'))) / (select extract(epoch from '2026-07-07 08:58:03'::timestamp) - extract(epoch from '2026-07-07 08:57:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430575 -3.673636)', '2026-07-07 08:58:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673647)'), GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673636)'))) / (select extract(epoch from '2026-07-07 08:58:14'::timestamp) - extract(epoch from '2026-07-07 08:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430584 -3.673647)'), GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673636)'))) / (select extract(epoch from '2026-07-07 08:58:14'::timestamp) - extract(epoch from '2026-07-07 08:58:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430579 -3.673635)', '2026-07-07 08:58:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673636)'), GeomFromEWKT('SRID=4674;POINT (-38.430579 -3.673635)'))) / (select extract(epoch from '2026-07-07 08:58:20'::timestamp) - extract(epoch from '2026-07-07 08:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430575 -3.673636)'), GeomFromEWKT('SRID=4674;POINT (-38.430579 -3.673635)'))) / (select extract(epoch from '2026-07-07 08:58:20'::timestamp) - extract(epoch from '2026-07-07 08:58:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430582 -3.673635)', '2026-07-07 08:58:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430579 -3.673635)'), GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673635)'))) / (select extract(epoch from '2026-07-07 08:58:25'::timestamp) - extract(epoch from '2026-07-07 08:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430579 -3.673635)'), GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673635)'))) / (select extract(epoch from '2026-07-07 08:58:25'::timestamp) - extract(epoch from '2026-07-07 08:58:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430577 -3.673639)', '2026-07-07 08:58:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673635)'), GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673639)'))) / (select extract(epoch from '2026-07-07 08:58:30'::timestamp) - extract(epoch from '2026-07-07 08:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430582 -3.673635)'), GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673639)'))) / (select extract(epoch from '2026-07-07 08:58:30'::timestamp) - extract(epoch from '2026-07-07 08:58:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430564 -3.673628)', '2026-07-07 08:59:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673639)'), GeomFromEWKT('SRID=4674;POINT (-38.430564 -3.673628)'))) / (select extract(epoch from '2026-07-07 08:59:01'::timestamp) - extract(epoch from '2026-07-07 08:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430577 -3.673639)'), GeomFromEWKT('SRID=4674;POINT (-38.430564 -3.673628)'))) / (select extract(epoch from '2026-07-07 08:59:01'::timestamp) - extract(epoch from '2026-07-07 08:58:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430543 -3.673641)', '2026-07-07 08:59:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430564 -3.673628)'), GeomFromEWKT('SRID=4674;POINT (-38.430543 -3.673641)'))) / (select extract(epoch from '2026-07-07 08:59:10'::timestamp) - extract(epoch from '2026-07-07 08:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430564 -3.673628)'), GeomFromEWKT('SRID=4674;POINT (-38.430543 -3.673641)'))) / (select extract(epoch from '2026-07-07 08:59:10'::timestamp) - extract(epoch from '2026-07-07 08:59:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430535 -3.673643)', '2026-07-07 08:59:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430543 -3.673641)'), GeomFromEWKT('SRID=4674;POINT (-38.430535 -3.673643)'))) / (select extract(epoch from '2026-07-07 08:59:11'::timestamp) - extract(epoch from '2026-07-07 08:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430543 -3.673641)'), GeomFromEWKT('SRID=4674;POINT (-38.430535 -3.673643)'))) / (select extract(epoch from '2026-07-07 08:59:11'::timestamp) - extract(epoch from '2026-07-07 08:59:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430517 -3.673648)', '2026-07-07 08:59:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430535 -3.673643)'), GeomFromEWKT('SRID=4674;POINT (-38.430517 -3.673648)'))) / (select extract(epoch from '2026-07-07 08:59:15'::timestamp) - extract(epoch from '2026-07-07 08:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430535 -3.673643)'), GeomFromEWKT('SRID=4674;POINT (-38.430517 -3.673648)'))) / (select extract(epoch from '2026-07-07 08:59:15'::timestamp) - extract(epoch from '2026-07-07 08:59:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430474 -3.673655)', '2026-07-07 08:59:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430517 -3.673648)'), GeomFromEWKT('SRID=4674;POINT (-38.430474 -3.673655)'))) / (select extract(epoch from '2026-07-07 08:59:22'::timestamp) - extract(epoch from '2026-07-07 08:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430517 -3.673648)'), GeomFromEWKT('SRID=4674;POINT (-38.430474 -3.673655)'))) / (select extract(epoch from '2026-07-07 08:59:22'::timestamp) - extract(epoch from '2026-07-07 08:59:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430442 -3.673663)', '2026-07-07 08:59:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430474 -3.673655)'), GeomFromEWKT('SRID=4674;POINT (-38.430442 -3.673663)'))) / (select extract(epoch from '2026-07-07 08:59:29'::timestamp) - extract(epoch from '2026-07-07 08:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430474 -3.673655)'), GeomFromEWKT('SRID=4674;POINT (-38.430442 -3.673663)'))) / (select extract(epoch from '2026-07-07 08:59:29'::timestamp) - extract(epoch from '2026-07-07 08:59:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430418 -3.673673)', '2026-07-07 08:59:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430442 -3.673663)'), GeomFromEWKT('SRID=4674;POINT (-38.430418 -3.673673)'))) / (select extract(epoch from '2026-07-07 08:59:35'::timestamp) - extract(epoch from '2026-07-07 08:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430442 -3.673663)'), GeomFromEWKT('SRID=4674;POINT (-38.430418 -3.673673)'))) / (select extract(epoch from '2026-07-07 08:59:35'::timestamp) - extract(epoch from '2026-07-07 08:59:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430395 -3.673688)', '2026-07-07 08:59:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430418 -3.673673)'), GeomFromEWKT('SRID=4674;POINT (-38.430395 -3.673688)'))) / (select extract(epoch from '2026-07-07 08:59:40'::timestamp) - extract(epoch from '2026-07-07 08:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430418 -3.673673)'), GeomFromEWKT('SRID=4674;POINT (-38.430395 -3.673688)'))) / (select extract(epoch from '2026-07-07 08:59:40'::timestamp) - extract(epoch from '2026-07-07 08:59:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430354 -3.673704)', '2026-07-07 08:59:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430395 -3.673688)'), GeomFromEWKT('SRID=4674;POINT (-38.430354 -3.673704)'))) / (select extract(epoch from '2026-07-07 08:59:48'::timestamp) - extract(epoch from '2026-07-07 08:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430395 -3.673688)'), GeomFromEWKT('SRID=4674;POINT (-38.430354 -3.673704)'))) / (select extract(epoch from '2026-07-07 08:59:48'::timestamp) - extract(epoch from '2026-07-07 08:59:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430313 -3.673732)', '2026-07-07 08:59:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430354 -3.673704)'), GeomFromEWKT('SRID=4674;POINT (-38.430313 -3.673732)'))) / (select extract(epoch from '2026-07-07 08:59:55'::timestamp) - extract(epoch from '2026-07-07 08:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430354 -3.673704)'), GeomFromEWKT('SRID=4674;POINT (-38.430313 -3.673732)'))) / (select extract(epoch from '2026-07-07 08:59:55'::timestamp) - extract(epoch from '2026-07-07 08:59:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430294 -3.673764)', '2026-07-07 09:00:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430313 -3.673732)'), GeomFromEWKT('SRID=4674;POINT (-38.430294 -3.673764)'))) / (select extract(epoch from '2026-07-07 09:00:02'::timestamp) - extract(epoch from '2026-07-07 08:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430313 -3.673732)'), GeomFromEWKT('SRID=4674;POINT (-38.430294 -3.673764)'))) / (select extract(epoch from '2026-07-07 09:00:02'::timestamp) - extract(epoch from '2026-07-07 08:59:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430277 -3.673787)', '2026-07-07 09:00:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430294 -3.673764)'), GeomFromEWKT('SRID=4674;POINT (-38.430277 -3.673787)'))) / (select extract(epoch from '2026-07-07 09:00:06'::timestamp) - extract(epoch from '2026-07-07 09:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430294 -3.673764)'), GeomFromEWKT('SRID=4674;POINT (-38.430277 -3.673787)'))) / (select extract(epoch from '2026-07-07 09:00:06'::timestamp) - extract(epoch from '2026-07-07 09:00:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43028 -3.673797)', '2026-07-07 09:00:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430277 -3.673787)'), GeomFromEWKT('SRID=4674;POINT (-38.43028 -3.673797)'))) / (select extract(epoch from '2026-07-07 09:00:08'::timestamp) - extract(epoch from '2026-07-07 09:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430277 -3.673787)'), GeomFromEWKT('SRID=4674;POINT (-38.43028 -3.673797)'))) / (select extract(epoch from '2026-07-07 09:00:08'::timestamp) - extract(epoch from '2026-07-07 09:00:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430267 -3.673801)', '2026-07-07 09:00:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43028 -3.673797)'), GeomFromEWKT('SRID=4674;POINT (-38.430267 -3.673801)'))) / (select extract(epoch from '2026-07-07 09:00:10'::timestamp) - extract(epoch from '2026-07-07 09:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43028 -3.673797)'), GeomFromEWKT('SRID=4674;POINT (-38.430267 -3.673801)'))) / (select extract(epoch from '2026-07-07 09:00:10'::timestamp) - extract(epoch from '2026-07-07 09:00:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430253 -3.673815)', '2026-07-07 09:00:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430267 -3.673801)'), GeomFromEWKT('SRID=4674;POINT (-38.430253 -3.673815)'))) / (select extract(epoch from '2026-07-07 09:00:13'::timestamp) - extract(epoch from '2026-07-07 09:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430267 -3.673801)'), GeomFromEWKT('SRID=4674;POINT (-38.430253 -3.673815)'))) / (select extract(epoch from '2026-07-07 09:00:13'::timestamp) - extract(epoch from '2026-07-07 09:00:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430238 -3.67383)', '2026-07-07 09:00:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430253 -3.673815)'), GeomFromEWKT('SRID=4674;POINT (-38.430238 -3.67383)'))) / (select extract(epoch from '2026-07-07 09:00:17'::timestamp) - extract(epoch from '2026-07-07 09:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430253 -3.673815)'), GeomFromEWKT('SRID=4674;POINT (-38.430238 -3.67383)'))) / (select extract(epoch from '2026-07-07 09:00:17'::timestamp) - extract(epoch from '2026-07-07 09:00:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430221 -3.673835)', '2026-07-07 09:00:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430238 -3.67383)'), GeomFromEWKT('SRID=4674;POINT (-38.430221 -3.673835)'))) / (select extract(epoch from '2026-07-07 09:00:19'::timestamp) - extract(epoch from '2026-07-07 09:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430238 -3.67383)'), GeomFromEWKT('SRID=4674;POINT (-38.430221 -3.673835)'))) / (select extract(epoch from '2026-07-07 09:00:19'::timestamp) - extract(epoch from '2026-07-07 09:00:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430214 -3.673849)', '2026-07-07 09:00:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430221 -3.673835)'), GeomFromEWKT('SRID=4674;POINT (-38.430214 -3.673849)'))) / (select extract(epoch from '2026-07-07 09:00:22'::timestamp) - extract(epoch from '2026-07-07 09:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430221 -3.673835)'), GeomFromEWKT('SRID=4674;POINT (-38.430214 -3.673849)'))) / (select extract(epoch from '2026-07-07 09:00:22'::timestamp) - extract(epoch from '2026-07-07 09:00:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430196 -3.673859)', '2026-07-07 09:00:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430214 -3.673849)'), GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.673859)'))) / (select extract(epoch from '2026-07-07 09:00:25'::timestamp) - extract(epoch from '2026-07-07 09:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430214 -3.673849)'), GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.673859)'))) / (select extract(epoch from '2026-07-07 09:00:25'::timestamp) - extract(epoch from '2026-07-07 09:00:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43018 -3.673865)', '2026-07-07 09:00:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.673859)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.673865)'))) / (select extract(epoch from '2026-07-07 09:00:31'::timestamp) - extract(epoch from '2026-07-07 09:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.673859)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.673865)'))) / (select extract(epoch from '2026-07-07 09:00:31'::timestamp) - extract(epoch from '2026-07-07 09:00:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430163 -3.673879)', '2026-07-07 09:00:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.673865)'), GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.673879)'))) / (select extract(epoch from '2026-07-07 09:00:37'::timestamp) - extract(epoch from '2026-07-07 09:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.673865)'), GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.673879)'))) / (select extract(epoch from '2026-07-07 09:00:37'::timestamp) - extract(epoch from '2026-07-07 09:00:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430135 -3.673894)', '2026-07-07 09:00:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.673879)'), GeomFromEWKT('SRID=4674;POINT (-38.430135 -3.673894)'))) / (select extract(epoch from '2026-07-07 09:00:45'::timestamp) - extract(epoch from '2026-07-07 09:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.673879)'), GeomFromEWKT('SRID=4674;POINT (-38.430135 -3.673894)'))) / (select extract(epoch from '2026-07-07 09:00:45'::timestamp) - extract(epoch from '2026-07-07 09:00:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43011 -3.673912)', '2026-07-07 09:00:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430135 -3.673894)'), GeomFromEWKT('SRID=4674;POINT (-38.43011 -3.673912)'))) / (select extract(epoch from '2026-07-07 09:00:52'::timestamp) - extract(epoch from '2026-07-07 09:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430135 -3.673894)'), GeomFromEWKT('SRID=4674;POINT (-38.43011 -3.673912)'))) / (select extract(epoch from '2026-07-07 09:00:52'::timestamp) - extract(epoch from '2026-07-07 09:00:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430087 -3.673936)', '2026-07-07 09:00:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43011 -3.673912)'), GeomFromEWKT('SRID=4674;POINT (-38.430087 -3.673936)'))) / (select extract(epoch from '2026-07-07 09:00:58'::timestamp) - extract(epoch from '2026-07-07 09:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43011 -3.673912)'), GeomFromEWKT('SRID=4674;POINT (-38.430087 -3.673936)'))) / (select extract(epoch from '2026-07-07 09:00:58'::timestamp) - extract(epoch from '2026-07-07 09:00:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430052 -3.673974)', '2026-07-07 09:01:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430087 -3.673936)'), GeomFromEWKT('SRID=4674;POINT (-38.430052 -3.673974)'))) / (select extract(epoch from '2026-07-07 09:01:06'::timestamp) - extract(epoch from '2026-07-07 09:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430087 -3.673936)'), GeomFromEWKT('SRID=4674;POINT (-38.430052 -3.673974)'))) / (select extract(epoch from '2026-07-07 09:01:06'::timestamp) - extract(epoch from '2026-07-07 09:00:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430008 -3.673997)', '2026-07-07 09:01:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430052 -3.673974)'), GeomFromEWKT('SRID=4674;POINT (-38.430008 -3.673997)'))) / (select extract(epoch from '2026-07-07 09:01:13'::timestamp) - extract(epoch from '2026-07-07 09:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430052 -3.673974)'), GeomFromEWKT('SRID=4674;POINT (-38.430008 -3.673997)'))) / (select extract(epoch from '2026-07-07 09:01:13'::timestamp) - extract(epoch from '2026-07-07 09:01:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429979 -3.674003)', '2026-07-07 09:01:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430008 -3.673997)'), GeomFromEWKT('SRID=4674;POINT (-38.429979 -3.674003)'))) / (select extract(epoch from '2026-07-07 09:01:18'::timestamp) - extract(epoch from '2026-07-07 09:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430008 -3.673997)'), GeomFromEWKT('SRID=4674;POINT (-38.429979 -3.674003)'))) / (select extract(epoch from '2026-07-07 09:01:18'::timestamp) - extract(epoch from '2026-07-07 09:01:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429961 -3.674005)', '2026-07-07 09:01:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429979 -3.674003)'), GeomFromEWKT('SRID=4674;POINT (-38.429961 -3.674005)'))) / (select extract(epoch from '2026-07-07 09:01:20'::timestamp) - extract(epoch from '2026-07-07 09:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429979 -3.674003)'), GeomFromEWKT('SRID=4674;POINT (-38.429961 -3.674005)'))) / (select extract(epoch from '2026-07-07 09:01:20'::timestamp) - extract(epoch from '2026-07-07 09:01:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429923 -3.67402)', '2026-07-07 09:01:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429961 -3.674005)'), GeomFromEWKT('SRID=4674;POINT (-38.429923 -3.67402)'))) / (select extract(epoch from '2026-07-07 09:01:26'::timestamp) - extract(epoch from '2026-07-07 09:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429961 -3.674005)'), GeomFromEWKT('SRID=4674;POINT (-38.429923 -3.67402)'))) / (select extract(epoch from '2026-07-07 09:01:26'::timestamp) - extract(epoch from '2026-07-07 09:01:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429891 -3.674026)', '2026-07-07 09:01:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429923 -3.67402)'), GeomFromEWKT('SRID=4674;POINT (-38.429891 -3.674026)'))) / (select extract(epoch from '2026-07-07 09:01:32'::timestamp) - extract(epoch from '2026-07-07 09:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429923 -3.67402)'), GeomFromEWKT('SRID=4674;POINT (-38.429891 -3.674026)'))) / (select extract(epoch from '2026-07-07 09:01:32'::timestamp) - extract(epoch from '2026-07-07 09:01:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429883 -3.674045)', '2026-07-07 09:01:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429891 -3.674026)'), GeomFromEWKT('SRID=4674;POINT (-38.429883 -3.674045)'))) / (select extract(epoch from '2026-07-07 09:01:36'::timestamp) - extract(epoch from '2026-07-07 09:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429891 -3.674026)'), GeomFromEWKT('SRID=4674;POINT (-38.429883 -3.674045)'))) / (select extract(epoch from '2026-07-07 09:01:36'::timestamp) - extract(epoch from '2026-07-07 09:01:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429872 -3.674051)', '2026-07-07 09:01:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429883 -3.674045)'), GeomFromEWKT('SRID=4674;POINT (-38.429872 -3.674051)'))) / (select extract(epoch from '2026-07-07 09:01:37'::timestamp) - extract(epoch from '2026-07-07 09:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429883 -3.674045)'), GeomFromEWKT('SRID=4674;POINT (-38.429872 -3.674051)'))) / (select extract(epoch from '2026-07-07 09:01:37'::timestamp) - extract(epoch from '2026-07-07 09:01:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429864 -3.674059)', '2026-07-07 09:01:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429872 -3.674051)'), GeomFromEWKT('SRID=4674;POINT (-38.429864 -3.674059)'))) / (select extract(epoch from '2026-07-07 09:01:38'::timestamp) - extract(epoch from '2026-07-07 09:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429872 -3.674051)'), GeomFromEWKT('SRID=4674;POINT (-38.429864 -3.674059)'))) / (select extract(epoch from '2026-07-07 09:01:38'::timestamp) - extract(epoch from '2026-07-07 09:01:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429855 -3.674083)', '2026-07-07 09:01:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429864 -3.674059)'), GeomFromEWKT('SRID=4674;POINT (-38.429855 -3.674083)'))) / (select extract(epoch from '2026-07-07 09:01:41'::timestamp) - extract(epoch from '2026-07-07 09:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429864 -3.674059)'), GeomFromEWKT('SRID=4674;POINT (-38.429855 -3.674083)'))) / (select extract(epoch from '2026-07-07 09:01:41'::timestamp) - extract(epoch from '2026-07-07 09:01:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429855 -3.674089)', '2026-07-07 09:01:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429855 -3.674083)'), GeomFromEWKT('SRID=4674;POINT (-38.429855 -3.674089)'))) / (select extract(epoch from '2026-07-07 09:01:42'::timestamp) - extract(epoch from '2026-07-07 09:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429855 -3.674083)'), GeomFromEWKT('SRID=4674;POINT (-38.429855 -3.674089)'))) / (select extract(epoch from '2026-07-07 09:01:42'::timestamp) - extract(epoch from '2026-07-07 09:01:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429835 -3.674113)', '2026-07-07 09:01:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429855 -3.674089)'), GeomFromEWKT('SRID=4674;POINT (-38.429835 -3.674113)'))) / (select extract(epoch from '2026-07-07 09:01:48'::timestamp) - extract(epoch from '2026-07-07 09:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429855 -3.674089)'), GeomFromEWKT('SRID=4674;POINT (-38.429835 -3.674113)'))) / (select extract(epoch from '2026-07-07 09:01:48'::timestamp) - extract(epoch from '2026-07-07 09:01:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429827 -3.674124)', '2026-07-07 09:01:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429835 -3.674113)'), GeomFromEWKT('SRID=4674;POINT (-38.429827 -3.674124)'))) / (select extract(epoch from '2026-07-07 09:01:50'::timestamp) - extract(epoch from '2026-07-07 09:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429835 -3.674113)'), GeomFromEWKT('SRID=4674;POINT (-38.429827 -3.674124)'))) / (select extract(epoch from '2026-07-07 09:01:50'::timestamp) - extract(epoch from '2026-07-07 09:01:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42981 -3.674128)', '2026-07-07 09:01:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429827 -3.674124)'), GeomFromEWKT('SRID=4674;POINT (-38.42981 -3.674128)'))) / (select extract(epoch from '2026-07-07 09:01:52'::timestamp) - extract(epoch from '2026-07-07 09:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429827 -3.674124)'), GeomFromEWKT('SRID=4674;POINT (-38.42981 -3.674128)'))) / (select extract(epoch from '2026-07-07 09:01:52'::timestamp) - extract(epoch from '2026-07-07 09:01:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429805 -3.67413)', '2026-07-07 09:01:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42981 -3.674128)'), GeomFromEWKT('SRID=4674;POINT (-38.429805 -3.67413)'))) / (select extract(epoch from '2026-07-07 09:01:53'::timestamp) - extract(epoch from '2026-07-07 09:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42981 -3.674128)'), GeomFromEWKT('SRID=4674;POINT (-38.429805 -3.67413)'))) / (select extract(epoch from '2026-07-07 09:01:53'::timestamp) - extract(epoch from '2026-07-07 09:01:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429781 -3.674135)', '2026-07-07 09:01:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429805 -3.67413)'), GeomFromEWKT('SRID=4674;POINT (-38.429781 -3.674135)'))) / (select extract(epoch from '2026-07-07 09:01:58'::timestamp) - extract(epoch from '2026-07-07 09:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429805 -3.67413)'), GeomFromEWKT('SRID=4674;POINT (-38.429781 -3.674135)'))) / (select extract(epoch from '2026-07-07 09:01:58'::timestamp) - extract(epoch from '2026-07-07 09:01:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429736 -3.674124)', '2026-07-07 09:02:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429781 -3.674135)'), GeomFromEWKT('SRID=4674;POINT (-38.429736 -3.674124)'))) / (select extract(epoch from '2026-07-07 09:02:06'::timestamp) - extract(epoch from '2026-07-07 09:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429781 -3.674135)'), GeomFromEWKT('SRID=4674;POINT (-38.429736 -3.674124)'))) / (select extract(epoch from '2026-07-07 09:02:06'::timestamp) - extract(epoch from '2026-07-07 09:01:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429736 -3.674123)', '2026-07-07 09:02:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429736 -3.674124)'), GeomFromEWKT('SRID=4674;POINT (-38.429736 -3.674123)'))) / (select extract(epoch from '2026-07-07 09:02:07'::timestamp) - extract(epoch from '2026-07-07 09:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429736 -3.674124)'), GeomFromEWKT('SRID=4674;POINT (-38.429736 -3.674123)'))) / (select extract(epoch from '2026-07-07 09:02:07'::timestamp) - extract(epoch from '2026-07-07 09:02:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429713 -3.674109)', '2026-07-07 09:02:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429736 -3.674123)'), GeomFromEWKT('SRID=4674;POINT (-38.429713 -3.674109)'))) / (select extract(epoch from '2026-07-07 09:02:13'::timestamp) - extract(epoch from '2026-07-07 09:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429736 -3.674123)'), GeomFromEWKT('SRID=4674;POINT (-38.429713 -3.674109)'))) / (select extract(epoch from '2026-07-07 09:02:13'::timestamp) - extract(epoch from '2026-07-07 09:02:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429694 -3.674092)', '2026-07-07 09:02:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429713 -3.674109)'), GeomFromEWKT('SRID=4674;POINT (-38.429694 -3.674092)'))) / (select extract(epoch from '2026-07-07 09:02:19'::timestamp) - extract(epoch from '2026-07-07 09:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429713 -3.674109)'), GeomFromEWKT('SRID=4674;POINT (-38.429694 -3.674092)'))) / (select extract(epoch from '2026-07-07 09:02:19'::timestamp) - extract(epoch from '2026-07-07 09:02:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429661 -3.67406)', '2026-07-07 09:02:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429694 -3.674092)'), GeomFromEWKT('SRID=4674;POINT (-38.429661 -3.67406)'))) / (select extract(epoch from '2026-07-07 09:02:26'::timestamp) - extract(epoch from '2026-07-07 09:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429694 -3.674092)'), GeomFromEWKT('SRID=4674;POINT (-38.429661 -3.67406)'))) / (select extract(epoch from '2026-07-07 09:02:26'::timestamp) - extract(epoch from '2026-07-07 09:02:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42963 -3.674033)', '2026-07-07 09:02:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429661 -3.67406)'), GeomFromEWKT('SRID=4674;POINT (-38.42963 -3.674033)'))) / (select extract(epoch from '2026-07-07 09:02:30'::timestamp) - extract(epoch from '2026-07-07 09:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429661 -3.67406)'), GeomFromEWKT('SRID=4674;POINT (-38.42963 -3.674033)'))) / (select extract(epoch from '2026-07-07 09:02:30'::timestamp) - extract(epoch from '2026-07-07 09:02:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42962 -3.674015)', '2026-07-07 09:02:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42963 -3.674033)'), GeomFromEWKT('SRID=4674;POINT (-38.42962 -3.674015)'))) / (select extract(epoch from '2026-07-07 09:02:32'::timestamp) - extract(epoch from '2026-07-07 09:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42963 -3.674033)'), GeomFromEWKT('SRID=4674;POINT (-38.42962 -3.674015)'))) / (select extract(epoch from '2026-07-07 09:02:32'::timestamp) - extract(epoch from '2026-07-07 09:02:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429615 -3.674004)', '2026-07-07 09:02:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42962 -3.674015)'), GeomFromEWKT('SRID=4674;POINT (-38.429615 -3.674004)'))) / (select extract(epoch from '2026-07-07 09:02:33'::timestamp) - extract(epoch from '2026-07-07 09:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42962 -3.674015)'), GeomFromEWKT('SRID=4674;POINT (-38.429615 -3.674004)'))) / (select extract(epoch from '2026-07-07 09:02:33'::timestamp) - extract(epoch from '2026-07-07 09:02:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429607 -3.673988)', '2026-07-07 09:02:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429615 -3.674004)'), GeomFromEWKT('SRID=4674;POINT (-38.429607 -3.673988)'))) / (select extract(epoch from '2026-07-07 09:02:35'::timestamp) - extract(epoch from '2026-07-07 09:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429615 -3.674004)'), GeomFromEWKT('SRID=4674;POINT (-38.429607 -3.673988)'))) / (select extract(epoch from '2026-07-07 09:02:35'::timestamp) - extract(epoch from '2026-07-07 09:02:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4296 -3.673979)', '2026-07-07 09:02:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429607 -3.673988)'), GeomFromEWKT('SRID=4674;POINT (-38.4296 -3.673979)'))) / (select extract(epoch from '2026-07-07 09:02:36'::timestamp) - extract(epoch from '2026-07-07 09:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429607 -3.673988)'), GeomFromEWKT('SRID=4674;POINT (-38.4296 -3.673979)'))) / (select extract(epoch from '2026-07-07 09:02:36'::timestamp) - extract(epoch from '2026-07-07 09:02:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429593 -3.673958)', '2026-07-07 09:02:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4296 -3.673979)'), GeomFromEWKT('SRID=4674;POINT (-38.429593 -3.673958)'))) / (select extract(epoch from '2026-07-07 09:02:38'::timestamp) - extract(epoch from '2026-07-07 09:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4296 -3.673979)'), GeomFromEWKT('SRID=4674;POINT (-38.429593 -3.673958)'))) / (select extract(epoch from '2026-07-07 09:02:38'::timestamp) - extract(epoch from '2026-07-07 09:02:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429586 -3.673933)', '2026-07-07 09:02:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429593 -3.673958)'), GeomFromEWKT('SRID=4674;POINT (-38.429586 -3.673933)'))) / (select extract(epoch from '2026-07-07 09:02:40'::timestamp) - extract(epoch from '2026-07-07 09:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429593 -3.673958)'), GeomFromEWKT('SRID=4674;POINT (-38.429586 -3.673933)'))) / (select extract(epoch from '2026-07-07 09:02:40'::timestamp) - extract(epoch from '2026-07-07 09:02:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429579 -3.673922)', '2026-07-07 09:02:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429586 -3.673933)'), GeomFromEWKT('SRID=4674;POINT (-38.429579 -3.673922)'))) / (select extract(epoch from '2026-07-07 09:02:41'::timestamp) - extract(epoch from '2026-07-07 09:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429586 -3.673933)'), GeomFromEWKT('SRID=4674;POINT (-38.429579 -3.673922)'))) / (select extract(epoch from '2026-07-07 09:02:41'::timestamp) - extract(epoch from '2026-07-07 09:02:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429576 -3.673909)', '2026-07-07 09:02:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429579 -3.673922)'), GeomFromEWKT('SRID=4674;POINT (-38.429576 -3.673909)'))) / (select extract(epoch from '2026-07-07 09:02:42'::timestamp) - extract(epoch from '2026-07-07 09:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429579 -3.673922)'), GeomFromEWKT('SRID=4674;POINT (-38.429576 -3.673909)'))) / (select extract(epoch from '2026-07-07 09:02:42'::timestamp) - extract(epoch from '2026-07-07 09:02:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429572 -3.673851)', '2026-07-07 09:02:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429576 -3.673909)'), GeomFromEWKT('SRID=4674;POINT (-38.429572 -3.673851)'))) / (select extract(epoch from '2026-07-07 09:02:46'::timestamp) - extract(epoch from '2026-07-07 09:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429576 -3.673909)'), GeomFromEWKT('SRID=4674;POINT (-38.429572 -3.673851)'))) / (select extract(epoch from '2026-07-07 09:02:46'::timestamp) - extract(epoch from '2026-07-07 09:02:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429584 -3.67375)', '2026-07-07 09:02:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429572 -3.673851)'), GeomFromEWKT('SRID=4674;POINT (-38.429584 -3.67375)'))) / (select extract(epoch from '2026-07-07 09:02:52'::timestamp) - extract(epoch from '2026-07-07 09:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429572 -3.673851)'), GeomFromEWKT('SRID=4674;POINT (-38.429584 -3.67375)'))) / (select extract(epoch from '2026-07-07 09:02:52'::timestamp) - extract(epoch from '2026-07-07 09:02:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429619 -3.673661)', '2026-07-07 09:02:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429584 -3.67375)'), GeomFromEWKT('SRID=4674;POINT (-38.429619 -3.673661)'))) / (select extract(epoch from '2026-07-07 09:02:57'::timestamp) - extract(epoch from '2026-07-07 09:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429584 -3.67375)'), GeomFromEWKT('SRID=4674;POINT (-38.429619 -3.673661)'))) / (select extract(epoch from '2026-07-07 09:02:57'::timestamp) - extract(epoch from '2026-07-07 09:02:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429669 -3.673586)', '2026-07-07 09:03:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429619 -3.673661)'), GeomFromEWKT('SRID=4674;POINT (-38.429669 -3.673586)'))) / (select extract(epoch from '2026-07-07 09:03:02'::timestamp) - extract(epoch from '2026-07-07 09:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429619 -3.673661)'), GeomFromEWKT('SRID=4674;POINT (-38.429669 -3.673586)'))) / (select extract(epoch from '2026-07-07 09:03:02'::timestamp) - extract(epoch from '2026-07-07 09:02:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429752 -3.673531)', '2026-07-07 09:03:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429669 -3.673586)'), GeomFromEWKT('SRID=4674;POINT (-38.429752 -3.673531)'))) / (select extract(epoch from '2026-07-07 09:03:07'::timestamp) - extract(epoch from '2026-07-07 09:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429669 -3.673586)'), GeomFromEWKT('SRID=4674;POINT (-38.429752 -3.673531)'))) / (select extract(epoch from '2026-07-07 09:03:07'::timestamp) - extract(epoch from '2026-07-07 09:03:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42987 -3.673496)', '2026-07-07 09:03:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429752 -3.673531)'), GeomFromEWKT('SRID=4674;POINT (-38.42987 -3.673496)'))) / (select extract(epoch from '2026-07-07 09:03:13'::timestamp) - extract(epoch from '2026-07-07 09:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429752 -3.673531)'), GeomFromEWKT('SRID=4674;POINT (-38.42987 -3.673496)'))) / (select extract(epoch from '2026-07-07 09:03:13'::timestamp) - extract(epoch from '2026-07-07 09:03:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429968 -3.673493)', '2026-07-07 09:03:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42987 -3.673496)'), GeomFromEWKT('SRID=4674;POINT (-38.429968 -3.673493)'))) / (select extract(epoch from '2026-07-07 09:03:17'::timestamp) - extract(epoch from '2026-07-07 09:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42987 -3.673496)'), GeomFromEWKT('SRID=4674;POINT (-38.429968 -3.673493)'))) / (select extract(epoch from '2026-07-07 09:03:17'::timestamp) - extract(epoch from '2026-07-07 09:03:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429987 -3.673496)', '2026-07-07 09:03:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429968 -3.673493)'), GeomFromEWKT('SRID=4674;POINT (-38.429987 -3.673496)'))) / (select extract(epoch from '2026-07-07 09:03:18'::timestamp) - extract(epoch from '2026-07-07 09:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429968 -3.673493)'), GeomFromEWKT('SRID=4674;POINT (-38.429987 -3.673496)'))) / (select extract(epoch from '2026-07-07 09:03:18'::timestamp) - extract(epoch from '2026-07-07 09:03:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430037 -3.673512)', '2026-07-07 09:03:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429987 -3.673496)'), GeomFromEWKT('SRID=4674;POINT (-38.430037 -3.673512)'))) / (select extract(epoch from '2026-07-07 09:03:21'::timestamp) - extract(epoch from '2026-07-07 09:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429987 -3.673496)'), GeomFromEWKT('SRID=4674;POINT (-38.430037 -3.673512)'))) / (select extract(epoch from '2026-07-07 09:03:21'::timestamp) - extract(epoch from '2026-07-07 09:03:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430174 -3.673561)', '2026-07-07 09:03:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430037 -3.673512)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.673561)'))) / (select extract(epoch from '2026-07-07 09:03:28'::timestamp) - extract(epoch from '2026-07-07 09:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430037 -3.673512)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.673561)'))) / (select extract(epoch from '2026-07-07 09:03:28'::timestamp) - extract(epoch from '2026-07-07 09:03:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430283 -3.673605)', '2026-07-07 09:03:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.673561)'), GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.673605)'))) / (select extract(epoch from '2026-07-07 09:03:34'::timestamp) - extract(epoch from '2026-07-07 09:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.673561)'), GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.673605)'))) / (select extract(epoch from '2026-07-07 09:03:34'::timestamp) - extract(epoch from '2026-07-07 09:03:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430387 -3.673635)', '2026-07-07 09:03:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.673605)'), GeomFromEWKT('SRID=4674;POINT (-38.430387 -3.673635)'))) / (select extract(epoch from '2026-07-07 09:03:38'::timestamp) - extract(epoch from '2026-07-07 09:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.673605)'), GeomFromEWKT('SRID=4674;POINT (-38.430387 -3.673635)'))) / (select extract(epoch from '2026-07-07 09:03:38'::timestamp) - extract(epoch from '2026-07-07 09:03:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430407 -3.673647)', '2026-07-07 09:03:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430387 -3.673635)'), GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.673647)'))) / (select extract(epoch from '2026-07-07 09:03:39'::timestamp) - extract(epoch from '2026-07-07 09:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430387 -3.673635)'), GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.673647)'))) / (select extract(epoch from '2026-07-07 09:03:39'::timestamp) - extract(epoch from '2026-07-07 09:03:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430438 -3.673665)', '2026-07-07 09:03:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.673647)'), GeomFromEWKT('SRID=4674;POINT (-38.430438 -3.673665)'))) / (select extract(epoch from '2026-07-07 09:03:41'::timestamp) - extract(epoch from '2026-07-07 09:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430407 -3.673647)'), GeomFromEWKT('SRID=4674;POINT (-38.430438 -3.673665)'))) / (select extract(epoch from '2026-07-07 09:03:41'::timestamp) - extract(epoch from '2026-07-07 09:03:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
