BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029925 -3.403554)', '2026-07-22 16:18:31', 10.2, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029856 -3.403431)', '2026-07-22 16:18:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029925 -3.403554)'), GeomFromEWKT('SRID=4674;POINT (-39.029856 -3.403431)'))) / (select extract(epoch from '2026-07-22 16:18:39'::timestamp) - extract(epoch from '2026-07-22 16:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029925 -3.403554)'), GeomFromEWKT('SRID=4674;POINT (-39.029856 -3.403431)'))) / (select extract(epoch from '2026-07-22 16:18:39'::timestamp) - extract(epoch from '2026-07-22 16:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029826 -3.403296)', '2026-07-22 16:18:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029856 -3.403431)'), GeomFromEWKT('SRID=4674;POINT (-39.029826 -3.403296)'))) / (select extract(epoch from '2026-07-22 16:18:47'::timestamp) - extract(epoch from '2026-07-22 16:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029856 -3.403431)'), GeomFromEWKT('SRID=4674;POINT (-39.029826 -3.403296)'))) / (select extract(epoch from '2026-07-22 16:18:47'::timestamp) - extract(epoch from '2026-07-22 16:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029832 -3.403142)', '2026-07-22 16:18:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029826 -3.403296)'), GeomFromEWKT('SRID=4674;POINT (-39.029832 -3.403142)'))) / (select extract(epoch from '2026-07-22 16:18:56'::timestamp) - extract(epoch from '2026-07-22 16:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029826 -3.403296)'), GeomFromEWKT('SRID=4674;POINT (-39.029832 -3.403142)'))) / (select extract(epoch from '2026-07-22 16:18:56'::timestamp) - extract(epoch from '2026-07-22 16:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029841 -3.40303)', '2026-07-22 16:19:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029832 -3.403142)'), GeomFromEWKT('SRID=4674;POINT (-39.029841 -3.40303)'))) / (select extract(epoch from '2026-07-22 16:19:02'::timestamp) - extract(epoch from '2026-07-22 16:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029832 -3.403142)'), GeomFromEWKT('SRID=4674;POINT (-39.029841 -3.40303)'))) / (select extract(epoch from '2026-07-22 16:19:02'::timestamp) - extract(epoch from '2026-07-22 16:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029854 -3.402881)', '2026-07-22 16:19:10', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029841 -3.40303)'), GeomFromEWKT('SRID=4674;POINT (-39.029854 -3.402881)'))) / (select extract(epoch from '2026-07-22 16:19:10'::timestamp) - extract(epoch from '2026-07-22 16:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029841 -3.40303)'), GeomFromEWKT('SRID=4674;POINT (-39.029854 -3.402881)'))) / (select extract(epoch from '2026-07-22 16:19:10'::timestamp) - extract(epoch from '2026-07-22 16:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029873 -3.402688)', '2026-07-22 16:19:20', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029854 -3.402881)'), GeomFromEWKT('SRID=4674;POINT (-39.029873 -3.402688)'))) / (select extract(epoch from '2026-07-22 16:19:20'::timestamp) - extract(epoch from '2026-07-22 16:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029854 -3.402881)'), GeomFromEWKT('SRID=4674;POINT (-39.029873 -3.402688)'))) / (select extract(epoch from '2026-07-22 16:19:20'::timestamp) - extract(epoch from '2026-07-22 16:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029885 -3.402521)', '2026-07-22 16:19:29', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029873 -3.402688)'), GeomFromEWKT('SRID=4674;POINT (-39.029885 -3.402521)'))) / (select extract(epoch from '2026-07-22 16:19:29'::timestamp) - extract(epoch from '2026-07-22 16:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029873 -3.402688)'), GeomFromEWKT('SRID=4674;POINT (-39.029885 -3.402521)'))) / (select extract(epoch from '2026-07-22 16:19:29'::timestamp) - extract(epoch from '2026-07-22 16:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029884 -3.402371)', '2026-07-22 16:19:37', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029885 -3.402521)'), GeomFromEWKT('SRID=4674;POINT (-39.029884 -3.402371)'))) / (select extract(epoch from '2026-07-22 16:19:37'::timestamp) - extract(epoch from '2026-07-22 16:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029885 -3.402521)'), GeomFromEWKT('SRID=4674;POINT (-39.029884 -3.402371)'))) / (select extract(epoch from '2026-07-22 16:19:37'::timestamp) - extract(epoch from '2026-07-22 16:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029879 -3.402186)', '2026-07-22 16:19:47', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029884 -3.402371)'), GeomFromEWKT('SRID=4674;POINT (-39.029879 -3.402186)'))) / (select extract(epoch from '2026-07-22 16:19:47'::timestamp) - extract(epoch from '2026-07-22 16:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029884 -3.402371)'), GeomFromEWKT('SRID=4674;POINT (-39.029879 -3.402186)'))) / (select extract(epoch from '2026-07-22 16:19:47'::timestamp) - extract(epoch from '2026-07-22 16:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029873 -3.402039)', '2026-07-22 16:19:55', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029879 -3.402186)'), GeomFromEWKT('SRID=4674;POINT (-39.029873 -3.402039)'))) / (select extract(epoch from '2026-07-22 16:19:55'::timestamp) - extract(epoch from '2026-07-22 16:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029879 -3.402186)'), GeomFromEWKT('SRID=4674;POINT (-39.029873 -3.402039)'))) / (select extract(epoch from '2026-07-22 16:19:55'::timestamp) - extract(epoch from '2026-07-22 16:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029845 -3.401895)', '2026-07-22 16:20:03', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029873 -3.402039)'), GeomFromEWKT('SRID=4674;POINT (-39.029845 -3.401895)'))) / (select extract(epoch from '2026-07-22 16:20:03'::timestamp) - extract(epoch from '2026-07-22 16:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029873 -3.402039)'), GeomFromEWKT('SRID=4674;POINT (-39.029845 -3.401895)'))) / (select extract(epoch from '2026-07-22 16:20:03'::timestamp) - extract(epoch from '2026-07-22 16:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029814 -3.40177)', '2026-07-22 16:20:10', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029845 -3.401895)'), GeomFromEWKT('SRID=4674;POINT (-39.029814 -3.40177)'))) / (select extract(epoch from '2026-07-22 16:20:10'::timestamp) - extract(epoch from '2026-07-22 16:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029845 -3.401895)'), GeomFromEWKT('SRID=4674;POINT (-39.029814 -3.40177)'))) / (select extract(epoch from '2026-07-22 16:20:10'::timestamp) - extract(epoch from '2026-07-22 16:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029783 -3.401632)', '2026-07-22 16:20:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029814 -3.40177)'), GeomFromEWKT('SRID=4674;POINT (-39.029783 -3.401632)'))) / (select extract(epoch from '2026-07-22 16:20:18'::timestamp) - extract(epoch from '2026-07-22 16:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029814 -3.40177)'), GeomFromEWKT('SRID=4674;POINT (-39.029783 -3.401632)'))) / (select extract(epoch from '2026-07-22 16:20:18'::timestamp) - extract(epoch from '2026-07-22 16:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029768 -3.401495)', '2026-07-22 16:20:26', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029783 -3.401632)'), GeomFromEWKT('SRID=4674;POINT (-39.029768 -3.401495)'))) / (select extract(epoch from '2026-07-22 16:20:26'::timestamp) - extract(epoch from '2026-07-22 16:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029783 -3.401632)'), GeomFromEWKT('SRID=4674;POINT (-39.029768 -3.401495)'))) / (select extract(epoch from '2026-07-22 16:20:26'::timestamp) - extract(epoch from '2026-07-22 16:20:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029758 -3.401367)', '2026-07-22 16:20:33', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029768 -3.401495)'), GeomFromEWKT('SRID=4674;POINT (-39.029758 -3.401367)'))) / (select extract(epoch from '2026-07-22 16:20:33'::timestamp) - extract(epoch from '2026-07-22 16:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029768 -3.401495)'), GeomFromEWKT('SRID=4674;POINT (-39.029758 -3.401367)'))) / (select extract(epoch from '2026-07-22 16:20:33'::timestamp) - extract(epoch from '2026-07-22 16:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029738 -3.401203)', '2026-07-22 16:20:42', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029758 -3.401367)'), GeomFromEWKT('SRID=4674;POINT (-39.029738 -3.401203)'))) / (select extract(epoch from '2026-07-22 16:20:42'::timestamp) - extract(epoch from '2026-07-22 16:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029758 -3.401367)'), GeomFromEWKT('SRID=4674;POINT (-39.029738 -3.401203)'))) / (select extract(epoch from '2026-07-22 16:20:42'::timestamp) - extract(epoch from '2026-07-22 16:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029724 -3.401035)', '2026-07-22 16:20:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029738 -3.401203)'), GeomFromEWKT('SRID=4674;POINT (-39.029724 -3.401035)'))) / (select extract(epoch from '2026-07-22 16:20:51'::timestamp) - extract(epoch from '2026-07-22 16:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029738 -3.401203)'), GeomFromEWKT('SRID=4674;POINT (-39.029724 -3.401035)'))) / (select extract(epoch from '2026-07-22 16:20:51'::timestamp) - extract(epoch from '2026-07-22 16:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029707 -3.400927)', '2026-07-22 16:20:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029724 -3.401035)'), GeomFromEWKT('SRID=4674;POINT (-39.029707 -3.400927)'))) / (select extract(epoch from '2026-07-22 16:20:57'::timestamp) - extract(epoch from '2026-07-22 16:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029724 -3.401035)'), GeomFromEWKT('SRID=4674;POINT (-39.029707 -3.400927)'))) / (select extract(epoch from '2026-07-22 16:20:57'::timestamp) - extract(epoch from '2026-07-22 16:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029687 -3.400839)', '2026-07-22 16:21:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029707 -3.400927)'), GeomFromEWKT('SRID=4674;POINT (-39.029687 -3.400839)'))) / (select extract(epoch from '2026-07-22 16:21:02'::timestamp) - extract(epoch from '2026-07-22 16:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029707 -3.400927)'), GeomFromEWKT('SRID=4674;POINT (-39.029687 -3.400839)'))) / (select extract(epoch from '2026-07-22 16:21:02'::timestamp) - extract(epoch from '2026-07-22 16:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029668 -3.400808)', '2026-07-22 16:21:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029687 -3.400839)'), GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.400808)'))) / (select extract(epoch from '2026-07-22 16:21:04'::timestamp) - extract(epoch from '2026-07-22 16:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029687 -3.400839)'), GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.400808)'))) / (select extract(epoch from '2026-07-22 16:21:04'::timestamp) - extract(epoch from '2026-07-22 16:21:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029631 -3.400733)', '2026-07-22 16:21:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.400808)'), GeomFromEWKT('SRID=4674;POINT (-39.029631 -3.400733)'))) / (select extract(epoch from '2026-07-22 16:21:09'::timestamp) - extract(epoch from '2026-07-22 16:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.400808)'), GeomFromEWKT('SRID=4674;POINT (-39.029631 -3.400733)'))) / (select extract(epoch from '2026-07-22 16:21:09'::timestamp) - extract(epoch from '2026-07-22 16:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.0296 -3.400638)', '2026-07-22 16:21:15', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029631 -3.400733)'), GeomFromEWKT('SRID=4674;POINT (-39.0296 -3.400638)'))) / (select extract(epoch from '2026-07-22 16:21:15'::timestamp) - extract(epoch from '2026-07-22 16:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029631 -3.400733)'), GeomFromEWKT('SRID=4674;POINT (-39.0296 -3.400638)'))) / (select extract(epoch from '2026-07-22 16:21:15'::timestamp) - extract(epoch from '2026-07-22 16:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029568 -3.400525)', '2026-07-22 16:21:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0296 -3.400638)'), GeomFromEWKT('SRID=4674;POINT (-39.029568 -3.400525)'))) / (select extract(epoch from '2026-07-22 16:21:22'::timestamp) - extract(epoch from '2026-07-22 16:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0296 -3.400638)'), GeomFromEWKT('SRID=4674;POINT (-39.029568 -3.400525)'))) / (select extract(epoch from '2026-07-22 16:21:22'::timestamp) - extract(epoch from '2026-07-22 16:21:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029534 -3.40045)', '2026-07-22 16:21:27', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029568 -3.400525)'), GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.40045)'))) / (select extract(epoch from '2026-07-22 16:21:27'::timestamp) - extract(epoch from '2026-07-22 16:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029568 -3.400525)'), GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.40045)'))) / (select extract(epoch from '2026-07-22 16:21:27'::timestamp) - extract(epoch from '2026-07-22 16:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029511 -3.400351)', '2026-07-22 16:21:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.40045)'), GeomFromEWKT('SRID=4674;POINT (-39.029511 -3.400351)'))) / (select extract(epoch from '2026-07-22 16:21:33'::timestamp) - extract(epoch from '2026-07-22 16:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.40045)'), GeomFromEWKT('SRID=4674;POINT (-39.029511 -3.400351)'))) / (select extract(epoch from '2026-07-22 16:21:33'::timestamp) - extract(epoch from '2026-07-22 16:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029485 -3.400232)', '2026-07-22 16:21:40', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029511 -3.400351)'), GeomFromEWKT('SRID=4674;POINT (-39.029485 -3.400232)'))) / (select extract(epoch from '2026-07-22 16:21:40'::timestamp) - extract(epoch from '2026-07-22 16:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029511 -3.400351)'), GeomFromEWKT('SRID=4674;POINT (-39.029485 -3.400232)'))) / (select extract(epoch from '2026-07-22 16:21:40'::timestamp) - extract(epoch from '2026-07-22 16:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029459 -3.400133)', '2026-07-22 16:21:46', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029485 -3.400232)'), GeomFromEWKT('SRID=4674;POINT (-39.029459 -3.400133)'))) / (select extract(epoch from '2026-07-22 16:21:46'::timestamp) - extract(epoch from '2026-07-22 16:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029485 -3.400232)'), GeomFromEWKT('SRID=4674;POINT (-39.029459 -3.400133)'))) / (select extract(epoch from '2026-07-22 16:21:46'::timestamp) - extract(epoch from '2026-07-22 16:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029444 -3.40001)', '2026-07-22 16:21:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029459 -3.400133)'), GeomFromEWKT('SRID=4674;POINT (-39.029444 -3.40001)'))) / (select extract(epoch from '2026-07-22 16:21:53'::timestamp) - extract(epoch from '2026-07-22 16:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029459 -3.400133)'), GeomFromEWKT('SRID=4674;POINT (-39.029444 -3.40001)'))) / (select extract(epoch from '2026-07-22 16:21:53'::timestamp) - extract(epoch from '2026-07-22 16:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02945 -3.399896)', '2026-07-22 16:21:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029444 -3.40001)'), GeomFromEWKT('SRID=4674;POINT (-39.02945 -3.399896)'))) / (select extract(epoch from '2026-07-22 16:21:59'::timestamp) - extract(epoch from '2026-07-22 16:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029444 -3.40001)'), GeomFromEWKT('SRID=4674;POINT (-39.02945 -3.399896)'))) / (select extract(epoch from '2026-07-22 16:21:59'::timestamp) - extract(epoch from '2026-07-22 16:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029458 -3.39976)', '2026-07-22 16:22:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02945 -3.399896)'), GeomFromEWKT('SRID=4674;POINT (-39.029458 -3.39976)'))) / (select extract(epoch from '2026-07-22 16:22:06'::timestamp) - extract(epoch from '2026-07-22 16:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02945 -3.399896)'), GeomFromEWKT('SRID=4674;POINT (-39.029458 -3.39976)'))) / (select extract(epoch from '2026-07-22 16:22:06'::timestamp) - extract(epoch from '2026-07-22 16:21:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029461 -3.399627)', '2026-07-22 16:22:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029458 -3.39976)'), GeomFromEWKT('SRID=4674;POINT (-39.029461 -3.399627)'))) / (select extract(epoch from '2026-07-22 16:22:13'::timestamp) - extract(epoch from '2026-07-22 16:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029458 -3.39976)'), GeomFromEWKT('SRID=4674;POINT (-39.029461 -3.399627)'))) / (select extract(epoch from '2026-07-22 16:22:13'::timestamp) - extract(epoch from '2026-07-22 16:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029478 -3.399532)', '2026-07-22 16:22:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029461 -3.399627)'), GeomFromEWKT('SRID=4674;POINT (-39.029478 -3.399532)'))) / (select extract(epoch from '2026-07-22 16:22:18'::timestamp) - extract(epoch from '2026-07-22 16:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029461 -3.399627)'), GeomFromEWKT('SRID=4674;POINT (-39.029478 -3.399532)'))) / (select extract(epoch from '2026-07-22 16:22:18'::timestamp) - extract(epoch from '2026-07-22 16:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02948 -3.399511)', '2026-07-22 16:22:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029478 -3.399532)'), GeomFromEWKT('SRID=4674;POINT (-39.02948 -3.399511)'))) / (select extract(epoch from '2026-07-22 16:22:19'::timestamp) - extract(epoch from '2026-07-22 16:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029478 -3.399532)'), GeomFromEWKT('SRID=4674;POINT (-39.02948 -3.399511)'))) / (select extract(epoch from '2026-07-22 16:22:19'::timestamp) - extract(epoch from '2026-07-22 16:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029463 -3.399408)', '2026-07-22 16:22:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02948 -3.399511)'), GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.399408)'))) / (select extract(epoch from '2026-07-22 16:22:25'::timestamp) - extract(epoch from '2026-07-22 16:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02948 -3.399511)'), GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.399408)'))) / (select extract(epoch from '2026-07-22 16:22:25'::timestamp) - extract(epoch from '2026-07-22 16:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029451 -3.399294)', '2026-07-22 16:22:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.399408)'), GeomFromEWKT('SRID=4674;POINT (-39.029451 -3.399294)'))) / (select extract(epoch from '2026-07-22 16:22:31'::timestamp) - extract(epoch from '2026-07-22 16:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.399408)'), GeomFromEWKT('SRID=4674;POINT (-39.029451 -3.399294)'))) / (select extract(epoch from '2026-07-22 16:22:31'::timestamp) - extract(epoch from '2026-07-22 16:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029445 -3.399192)', '2026-07-22 16:22:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029451 -3.399294)'), GeomFromEWKT('SRID=4674;POINT (-39.029445 -3.399192)'))) / (select extract(epoch from '2026-07-22 16:22:36'::timestamp) - extract(epoch from '2026-07-22 16:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029451 -3.399294)'), GeomFromEWKT('SRID=4674;POINT (-39.029445 -3.399192)'))) / (select extract(epoch from '2026-07-22 16:22:36'::timestamp) - extract(epoch from '2026-07-22 16:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029447 -3.399059)', '2026-07-22 16:22:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029445 -3.399192)'), GeomFromEWKT('SRID=4674;POINT (-39.029447 -3.399059)'))) / (select extract(epoch from '2026-07-22 16:22:43'::timestamp) - extract(epoch from '2026-07-22 16:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029445 -3.399192)'), GeomFromEWKT('SRID=4674;POINT (-39.029447 -3.399059)'))) / (select extract(epoch from '2026-07-22 16:22:43'::timestamp) - extract(epoch from '2026-07-22 16:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029459 -3.398929)', '2026-07-22 16:22:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029447 -3.399059)'), GeomFromEWKT('SRID=4674;POINT (-39.029459 -3.398929)'))) / (select extract(epoch from '2026-07-22 16:22:50'::timestamp) - extract(epoch from '2026-07-22 16:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029447 -3.399059)'), GeomFromEWKT('SRID=4674;POINT (-39.029459 -3.398929)'))) / (select extract(epoch from '2026-07-22 16:22:50'::timestamp) - extract(epoch from '2026-07-22 16:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029463 -3.398798)', '2026-07-22 16:22:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029459 -3.398929)'), GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.398798)'))) / (select extract(epoch from '2026-07-22 16:22:57'::timestamp) - extract(epoch from '2026-07-22 16:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029459 -3.398929)'), GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.398798)'))) / (select extract(epoch from '2026-07-22 16:22:57'::timestamp) - extract(epoch from '2026-07-22 16:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02946 -3.398662)', '2026-07-22 16:23:04', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.398798)'), GeomFromEWKT('SRID=4674;POINT (-39.02946 -3.398662)'))) / (select extract(epoch from '2026-07-22 16:23:04'::timestamp) - extract(epoch from '2026-07-22 16:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.398798)'), GeomFromEWKT('SRID=4674;POINT (-39.02946 -3.398662)'))) / (select extract(epoch from '2026-07-22 16:23:04'::timestamp) - extract(epoch from '2026-07-22 16:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029463 -3.398525)', '2026-07-22 16:23:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02946 -3.398662)'), GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.398525)'))) / (select extract(epoch from '2026-07-22 16:23:11'::timestamp) - extract(epoch from '2026-07-22 16:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02946 -3.398662)'), GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.398525)'))) / (select extract(epoch from '2026-07-22 16:23:11'::timestamp) - extract(epoch from '2026-07-22 16:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029446 -3.398368)', '2026-07-22 16:23:19', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.398525)'), GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.398368)'))) / (select extract(epoch from '2026-07-22 16:23:19'::timestamp) - extract(epoch from '2026-07-22 16:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.398525)'), GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.398368)'))) / (select extract(epoch from '2026-07-22 16:23:19'::timestamp) - extract(epoch from '2026-07-22 16:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02943 -3.398253)', '2026-07-22 16:23:25', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.398368)'), GeomFromEWKT('SRID=4674;POINT (-39.02943 -3.398253)'))) / (select extract(epoch from '2026-07-22 16:23:25'::timestamp) - extract(epoch from '2026-07-22 16:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.398368)'), GeomFromEWKT('SRID=4674;POINT (-39.02943 -3.398253)'))) / (select extract(epoch from '2026-07-22 16:23:25'::timestamp) - extract(epoch from '2026-07-22 16:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029414 -3.398105)', '2026-07-22 16:23:33', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02943 -3.398253)'), GeomFromEWKT('SRID=4674;POINT (-39.029414 -3.398105)'))) / (select extract(epoch from '2026-07-22 16:23:33'::timestamp) - extract(epoch from '2026-07-22 16:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02943 -3.398253)'), GeomFromEWKT('SRID=4674;POINT (-39.029414 -3.398105)'))) / (select extract(epoch from '2026-07-22 16:23:33'::timestamp) - extract(epoch from '2026-07-22 16:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029391 -3.397959)', '2026-07-22 16:23:41', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029414 -3.398105)'), GeomFromEWKT('SRID=4674;POINT (-39.029391 -3.397959)'))) / (select extract(epoch from '2026-07-22 16:23:41'::timestamp) - extract(epoch from '2026-07-22 16:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029414 -3.398105)'), GeomFromEWKT('SRID=4674;POINT (-39.029391 -3.397959)'))) / (select extract(epoch from '2026-07-22 16:23:41'::timestamp) - extract(epoch from '2026-07-22 16:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029382 -3.397851)', '2026-07-22 16:23:47', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029391 -3.397959)'), GeomFromEWKT('SRID=4674;POINT (-39.029382 -3.397851)'))) / (select extract(epoch from '2026-07-22 16:23:47'::timestamp) - extract(epoch from '2026-07-22 16:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029391 -3.397959)'), GeomFromEWKT('SRID=4674;POINT (-39.029382 -3.397851)'))) / (select extract(epoch from '2026-07-22 16:23:47'::timestamp) - extract(epoch from '2026-07-22 16:23:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029387 -3.397744)', '2026-07-22 16:23:53', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029382 -3.397851)'), GeomFromEWKT('SRID=4674;POINT (-39.029387 -3.397744)'))) / (select extract(epoch from '2026-07-22 16:23:53'::timestamp) - extract(epoch from '2026-07-22 16:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029382 -3.397851)'), GeomFromEWKT('SRID=4674;POINT (-39.029387 -3.397744)'))) / (select extract(epoch from '2026-07-22 16:23:53'::timestamp) - extract(epoch from '2026-07-22 16:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029387 -3.397638)', '2026-07-22 16:23:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029387 -3.397744)'), GeomFromEWKT('SRID=4674;POINT (-39.029387 -3.397638)'))) / (select extract(epoch from '2026-07-22 16:23:59'::timestamp) - extract(epoch from '2026-07-22 16:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029387 -3.397744)'), GeomFromEWKT('SRID=4674;POINT (-39.029387 -3.397638)'))) / (select extract(epoch from '2026-07-22 16:23:59'::timestamp) - extract(epoch from '2026-07-22 16:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029385 -3.397506)', '2026-07-22 16:24:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029387 -3.397638)'), GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.397506)'))) / (select extract(epoch from '2026-07-22 16:24:06'::timestamp) - extract(epoch from '2026-07-22 16:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029387 -3.397638)'), GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.397506)'))) / (select extract(epoch from '2026-07-22 16:24:06'::timestamp) - extract(epoch from '2026-07-22 16:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029381 -3.3974)', '2026-07-22 16:24:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.397506)'), GeomFromEWKT('SRID=4674;POINT (-39.029381 -3.3974)'))) / (select extract(epoch from '2026-07-22 16:24:12'::timestamp) - extract(epoch from '2026-07-22 16:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.397506)'), GeomFromEWKT('SRID=4674;POINT (-39.029381 -3.3974)'))) / (select extract(epoch from '2026-07-22 16:24:12'::timestamp) - extract(epoch from '2026-07-22 16:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029364 -3.397298)', '2026-07-22 16:24:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029381 -3.3974)'), GeomFromEWKT('SRID=4674;POINT (-39.029364 -3.397298)'))) / (select extract(epoch from '2026-07-22 16:24:18'::timestamp) - extract(epoch from '2026-07-22 16:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029381 -3.3974)'), GeomFromEWKT('SRID=4674;POINT (-39.029364 -3.397298)'))) / (select extract(epoch from '2026-07-22 16:24:18'::timestamp) - extract(epoch from '2026-07-22 16:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029349 -3.397196)', '2026-07-22 16:24:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029364 -3.397298)'), GeomFromEWKT('SRID=4674;POINT (-39.029349 -3.397196)'))) / (select extract(epoch from '2026-07-22 16:24:24'::timestamp) - extract(epoch from '2026-07-22 16:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029364 -3.397298)'), GeomFromEWKT('SRID=4674;POINT (-39.029349 -3.397196)'))) / (select extract(epoch from '2026-07-22 16:24:24'::timestamp) - extract(epoch from '2026-07-22 16:24:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029306 -3.397044)', '2026-07-22 16:24:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029349 -3.397196)'), GeomFromEWKT('SRID=4674;POINT (-39.029306 -3.397044)'))) / (select extract(epoch from '2026-07-22 16:24:33'::timestamp) - extract(epoch from '2026-07-22 16:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029349 -3.397196)'), GeomFromEWKT('SRID=4674;POINT (-39.029306 -3.397044)'))) / (select extract(epoch from '2026-07-22 16:24:33'::timestamp) - extract(epoch from '2026-07-22 16:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02928 -3.39694)', '2026-07-22 16:24:39', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029306 -3.397044)'), GeomFromEWKT('SRID=4674;POINT (-39.02928 -3.39694)'))) / (select extract(epoch from '2026-07-22 16:24:39'::timestamp) - extract(epoch from '2026-07-22 16:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029306 -3.397044)'), GeomFromEWKT('SRID=4674;POINT (-39.02928 -3.39694)'))) / (select extract(epoch from '2026-07-22 16:24:39'::timestamp) - extract(epoch from '2026-07-22 16:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029263 -3.396846)', '2026-07-22 16:24:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02928 -3.39694)'), GeomFromEWKT('SRID=4674;POINT (-39.029263 -3.396846)'))) / (select extract(epoch from '2026-07-22 16:24:44'::timestamp) - extract(epoch from '2026-07-22 16:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02928 -3.39694)'), GeomFromEWKT('SRID=4674;POINT (-39.029263 -3.396846)'))) / (select extract(epoch from '2026-07-22 16:24:44'::timestamp) - extract(epoch from '2026-07-22 16:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029235 -3.396723)', '2026-07-22 16:24:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029263 -3.396846)'), GeomFromEWKT('SRID=4674;POINT (-39.029235 -3.396723)'))) / (select extract(epoch from '2026-07-22 16:24:51'::timestamp) - extract(epoch from '2026-07-22 16:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029263 -3.396846)'), GeomFromEWKT('SRID=4674;POINT (-39.029235 -3.396723)'))) / (select extract(epoch from '2026-07-22 16:24:51'::timestamp) - extract(epoch from '2026-07-22 16:24:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029211 -3.396621)', '2026-07-22 16:24:57', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029235 -3.396723)'), GeomFromEWKT('SRID=4674;POINT (-39.029211 -3.396621)'))) / (select extract(epoch from '2026-07-22 16:24:57'::timestamp) - extract(epoch from '2026-07-22 16:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029235 -3.396723)'), GeomFromEWKT('SRID=4674;POINT (-39.029211 -3.396621)'))) / (select extract(epoch from '2026-07-22 16:24:57'::timestamp) - extract(epoch from '2026-07-22 16:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029184 -3.3965)', '2026-07-22 16:25:04', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029211 -3.396621)'), GeomFromEWKT('SRID=4674;POINT (-39.029184 -3.3965)'))) / (select extract(epoch from '2026-07-22 16:25:04'::timestamp) - extract(epoch from '2026-07-22 16:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029211 -3.396621)'), GeomFromEWKT('SRID=4674;POINT (-39.029184 -3.3965)'))) / (select extract(epoch from '2026-07-22 16:25:04'::timestamp) - extract(epoch from '2026-07-22 16:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029167 -3.396388)', '2026-07-22 16:25:10', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029184 -3.3965)'), GeomFromEWKT('SRID=4674;POINT (-39.029167 -3.396388)'))) / (select extract(epoch from '2026-07-22 16:25:10'::timestamp) - extract(epoch from '2026-07-22 16:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029184 -3.3965)'), GeomFromEWKT('SRID=4674;POINT (-39.029167 -3.396388)'))) / (select extract(epoch from '2026-07-22 16:25:10'::timestamp) - extract(epoch from '2026-07-22 16:25:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029146 -3.396285)', '2026-07-22 16:25:16', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029167 -3.396388)'), GeomFromEWKT('SRID=4674;POINT (-39.029146 -3.396285)'))) / (select extract(epoch from '2026-07-22 16:25:16'::timestamp) - extract(epoch from '2026-07-22 16:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029167 -3.396388)'), GeomFromEWKT('SRID=4674;POINT (-39.029146 -3.396285)'))) / (select extract(epoch from '2026-07-22 16:25:16'::timestamp) - extract(epoch from '2026-07-22 16:25:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029116 -3.396173)', '2026-07-22 16:25:23', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029146 -3.396285)'), GeomFromEWKT('SRID=4674;POINT (-39.029116 -3.396173)'))) / (select extract(epoch from '2026-07-22 16:25:23'::timestamp) - extract(epoch from '2026-07-22 16:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029146 -3.396285)'), GeomFromEWKT('SRID=4674;POINT (-39.029116 -3.396173)'))) / (select extract(epoch from '2026-07-22 16:25:23'::timestamp) - extract(epoch from '2026-07-22 16:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029102 -3.396071)', '2026-07-22 16:25:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029116 -3.396173)'), GeomFromEWKT('SRID=4674;POINT (-39.029102 -3.396071)'))) / (select extract(epoch from '2026-07-22 16:25:29'::timestamp) - extract(epoch from '2026-07-22 16:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029116 -3.396173)'), GeomFromEWKT('SRID=4674;POINT (-39.029102 -3.396071)'))) / (select extract(epoch from '2026-07-22 16:25:29'::timestamp) - extract(epoch from '2026-07-22 16:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029083 -3.395947)', '2026-07-22 16:25:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029102 -3.396071)'), GeomFromEWKT('SRID=4674;POINT (-39.029083 -3.395947)'))) / (select extract(epoch from '2026-07-22 16:25:36'::timestamp) - extract(epoch from '2026-07-22 16:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029102 -3.396071)'), GeomFromEWKT('SRID=4674;POINT (-39.029083 -3.395947)'))) / (select extract(epoch from '2026-07-22 16:25:36'::timestamp) - extract(epoch from '2026-07-22 16:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029071 -3.395822)', '2026-07-22 16:25:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029083 -3.395947)'), GeomFromEWKT('SRID=4674;POINT (-39.029071 -3.395822)'))) / (select extract(epoch from '2026-07-22 16:25:43'::timestamp) - extract(epoch from '2026-07-22 16:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029083 -3.395947)'), GeomFromEWKT('SRID=4674;POINT (-39.029071 -3.395822)'))) / (select extract(epoch from '2026-07-22 16:25:43'::timestamp) - extract(epoch from '2026-07-22 16:25:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029055 -3.395731)', '2026-07-22 16:25:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029071 -3.395822)'), GeomFromEWKT('SRID=4674;POINT (-39.029055 -3.395731)'))) / (select extract(epoch from '2026-07-22 16:25:48'::timestamp) - extract(epoch from '2026-07-22 16:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029071 -3.395822)'), GeomFromEWKT('SRID=4674;POINT (-39.029055 -3.395731)'))) / (select extract(epoch from '2026-07-22 16:25:48'::timestamp) - extract(epoch from '2026-07-22 16:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029019 -3.395596)', '2026-07-22 16:25:56', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029055 -3.395731)'), GeomFromEWKT('SRID=4674;POINT (-39.029019 -3.395596)'))) / (select extract(epoch from '2026-07-22 16:25:56'::timestamp) - extract(epoch from '2026-07-22 16:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029055 -3.395731)'), GeomFromEWKT('SRID=4674;POINT (-39.029019 -3.395596)'))) / (select extract(epoch from '2026-07-22 16:25:56'::timestamp) - extract(epoch from '2026-07-22 16:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028994 -3.395472)', '2026-07-22 16:26:03', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029019 -3.395596)'), GeomFromEWKT('SRID=4674;POINT (-39.028994 -3.395472)'))) / (select extract(epoch from '2026-07-22 16:26:03'::timestamp) - extract(epoch from '2026-07-22 16:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029019 -3.395596)'), GeomFromEWKT('SRID=4674;POINT (-39.028994 -3.395472)'))) / (select extract(epoch from '2026-07-22 16:26:03'::timestamp) - extract(epoch from '2026-07-22 16:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028974 -3.395364)', '2026-07-22 16:26:09', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028994 -3.395472)'), GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.395364)'))) / (select extract(epoch from '2026-07-22 16:26:09'::timestamp) - extract(epoch from '2026-07-22 16:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028994 -3.395472)'), GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.395364)'))) / (select extract(epoch from '2026-07-22 16:26:09'::timestamp) - extract(epoch from '2026-07-22 16:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028954 -3.395254)', '2026-07-22 16:26:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.395364)'), GeomFromEWKT('SRID=4674;POINT (-39.028954 -3.395254)'))) / (select extract(epoch from '2026-07-22 16:26:15'::timestamp) - extract(epoch from '2026-07-22 16:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.395364)'), GeomFromEWKT('SRID=4674;POINT (-39.028954 -3.395254)'))) / (select extract(epoch from '2026-07-22 16:26:15'::timestamp) - extract(epoch from '2026-07-22 16:26:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028949 -3.395145)', '2026-07-22 16:26:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028954 -3.395254)'), GeomFromEWKT('SRID=4674;POINT (-39.028949 -3.395145)'))) / (select extract(epoch from '2026-07-22 16:26:21'::timestamp) - extract(epoch from '2026-07-22 16:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028954 -3.395254)'), GeomFromEWKT('SRID=4674;POINT (-39.028949 -3.395145)'))) / (select extract(epoch from '2026-07-22 16:26:21'::timestamp) - extract(epoch from '2026-07-22 16:26:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028928 -3.394989)', '2026-07-22 16:26:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028949 -3.395145)'), GeomFromEWKT('SRID=4674;POINT (-39.028928 -3.394989)'))) / (select extract(epoch from '2026-07-22 16:26:30'::timestamp) - extract(epoch from '2026-07-22 16:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028949 -3.395145)'), GeomFromEWKT('SRID=4674;POINT (-39.028928 -3.394989)'))) / (select extract(epoch from '2026-07-22 16:26:30'::timestamp) - extract(epoch from '2026-07-22 16:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028894 -3.394858)', '2026-07-22 16:26:38', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028928 -3.394989)'), GeomFromEWKT('SRID=4674;POINT (-39.028894 -3.394858)'))) / (select extract(epoch from '2026-07-22 16:26:38'::timestamp) - extract(epoch from '2026-07-22 16:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028928 -3.394989)'), GeomFromEWKT('SRID=4674;POINT (-39.028894 -3.394858)'))) / (select extract(epoch from '2026-07-22 16:26:38'::timestamp) - extract(epoch from '2026-07-22 16:26:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02886 -3.394738)', '2026-07-22 16:26:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028894 -3.394858)'), GeomFromEWKT('SRID=4674;POINT (-39.02886 -3.394738)'))) / (select extract(epoch from '2026-07-22 16:26:45'::timestamp) - extract(epoch from '2026-07-22 16:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028894 -3.394858)'), GeomFromEWKT('SRID=4674;POINT (-39.02886 -3.394738)'))) / (select extract(epoch from '2026-07-22 16:26:45'::timestamp) - extract(epoch from '2026-07-22 16:26:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028828 -3.394603)', '2026-07-22 16:26:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02886 -3.394738)'), GeomFromEWKT('SRID=4674;POINT (-39.028828 -3.394603)'))) / (select extract(epoch from '2026-07-22 16:26:53'::timestamp) - extract(epoch from '2026-07-22 16:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02886 -3.394738)'), GeomFromEWKT('SRID=4674;POINT (-39.028828 -3.394603)'))) / (select extract(epoch from '2026-07-22 16:26:53'::timestamp) - extract(epoch from '2026-07-22 16:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028801 -3.394524)', '2026-07-22 16:26:58', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028828 -3.394603)'), GeomFromEWKT('SRID=4674;POINT (-39.028801 -3.394524)'))) / (select extract(epoch from '2026-07-22 16:26:58'::timestamp) - extract(epoch from '2026-07-22 16:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028828 -3.394603)'), GeomFromEWKT('SRID=4674;POINT (-39.028801 -3.394524)'))) / (select extract(epoch from '2026-07-22 16:26:58'::timestamp) - extract(epoch from '2026-07-22 16:26:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028784 -3.394474)', '2026-07-22 16:27:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028801 -3.394524)'), GeomFromEWKT('SRID=4674;POINT (-39.028784 -3.394474)'))) / (select extract(epoch from '2026-07-22 16:27:01'::timestamp) - extract(epoch from '2026-07-22 16:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028801 -3.394524)'), GeomFromEWKT('SRID=4674;POINT (-39.028784 -3.394474)'))) / (select extract(epoch from '2026-07-22 16:27:01'::timestamp) - extract(epoch from '2026-07-22 16:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028778 -3.394444)', '2026-07-22 16:27:03', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028784 -3.394474)'), GeomFromEWKT('SRID=4674;POINT (-39.028778 -3.394444)'))) / (select extract(epoch from '2026-07-22 16:27:03'::timestamp) - extract(epoch from '2026-07-22 16:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028784 -3.394474)'), GeomFromEWKT('SRID=4674;POINT (-39.028778 -3.394444)'))) / (select extract(epoch from '2026-07-22 16:27:03'::timestamp) - extract(epoch from '2026-07-22 16:27:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028764 -3.394344)', '2026-07-22 16:27:09', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028778 -3.394444)'), GeomFromEWKT('SRID=4674;POINT (-39.028764 -3.394344)'))) / (select extract(epoch from '2026-07-22 16:27:09'::timestamp) - extract(epoch from '2026-07-22 16:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028778 -3.394444)'), GeomFromEWKT('SRID=4674;POINT (-39.028764 -3.394344)'))) / (select extract(epoch from '2026-07-22 16:27:09'::timestamp) - extract(epoch from '2026-07-22 16:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028735 -3.394243)', '2026-07-22 16:27:15', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028764 -3.394344)'), GeomFromEWKT('SRID=4674;POINT (-39.028735 -3.394243)'))) / (select extract(epoch from '2026-07-22 16:27:15'::timestamp) - extract(epoch from '2026-07-22 16:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028764 -3.394344)'), GeomFromEWKT('SRID=4674;POINT (-39.028735 -3.394243)'))) / (select extract(epoch from '2026-07-22 16:27:15'::timestamp) - extract(epoch from '2026-07-22 16:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028695 -3.394111)', '2026-07-22 16:27:23', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028735 -3.394243)'), GeomFromEWKT('SRID=4674;POINT (-39.028695 -3.394111)'))) / (select extract(epoch from '2026-07-22 16:27:23'::timestamp) - extract(epoch from '2026-07-22 16:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028735 -3.394243)'), GeomFromEWKT('SRID=4674;POINT (-39.028695 -3.394111)'))) / (select extract(epoch from '2026-07-22 16:27:23'::timestamp) - extract(epoch from '2026-07-22 16:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028677 -3.394003)', '2026-07-22 16:27:29', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028695 -3.394111)'), GeomFromEWKT('SRID=4674;POINT (-39.028677 -3.394003)'))) / (select extract(epoch from '2026-07-22 16:27:29'::timestamp) - extract(epoch from '2026-07-22 16:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028695 -3.394111)'), GeomFromEWKT('SRID=4674;POINT (-39.028677 -3.394003)'))) / (select extract(epoch from '2026-07-22 16:27:29'::timestamp) - extract(epoch from '2026-07-22 16:27:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028657 -3.393905)', '2026-07-22 16:27:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028677 -3.394003)'), GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.393905)'))) / (select extract(epoch from '2026-07-22 16:27:35'::timestamp) - extract(epoch from '2026-07-22 16:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028677 -3.394003)'), GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.393905)'))) / (select extract(epoch from '2026-07-22 16:27:35'::timestamp) - extract(epoch from '2026-07-22 16:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028624 -3.393783)', '2026-07-22 16:27:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.393905)'), GeomFromEWKT('SRID=4674;POINT (-39.028624 -3.393783)'))) / (select extract(epoch from '2026-07-22 16:27:42'::timestamp) - extract(epoch from '2026-07-22 16:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.393905)'), GeomFromEWKT('SRID=4674;POINT (-39.028624 -3.393783)'))) / (select extract(epoch from '2026-07-22 16:27:42'::timestamp) - extract(epoch from '2026-07-22 16:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028601 -3.393665)', '2026-07-22 16:27:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028624 -3.393783)'), GeomFromEWKT('SRID=4674;POINT (-39.028601 -3.393665)'))) / (select extract(epoch from '2026-07-22 16:27:49'::timestamp) - extract(epoch from '2026-07-22 16:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028624 -3.393783)'), GeomFromEWKT('SRID=4674;POINT (-39.028601 -3.393665)'))) / (select extract(epoch from '2026-07-22 16:27:49'::timestamp) - extract(epoch from '2026-07-22 16:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028581 -3.393581)', '2026-07-22 16:27:54', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028601 -3.393665)'), GeomFromEWKT('SRID=4674;POINT (-39.028581 -3.393581)'))) / (select extract(epoch from '2026-07-22 16:27:54'::timestamp) - extract(epoch from '2026-07-22 16:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028601 -3.393665)'), GeomFromEWKT('SRID=4674;POINT (-39.028581 -3.393581)'))) / (select extract(epoch from '2026-07-22 16:27:54'::timestamp) - extract(epoch from '2026-07-22 16:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028569 -3.393545)', '2026-07-22 16:27:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028581 -3.393581)'), GeomFromEWKT('SRID=4674;POINT (-39.028569 -3.393545)'))) / (select extract(epoch from '2026-07-22 16:27:56'::timestamp) - extract(epoch from '2026-07-22 16:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028581 -3.393581)'), GeomFromEWKT('SRID=4674;POINT (-39.028569 -3.393545)'))) / (select extract(epoch from '2026-07-22 16:27:56'::timestamp) - extract(epoch from '2026-07-22 16:27:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028564 -3.393516)', '2026-07-22 16:27:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028569 -3.393545)'), GeomFromEWKT('SRID=4674;POINT (-39.028564 -3.393516)'))) / (select extract(epoch from '2026-07-22 16:27:58'::timestamp) - extract(epoch from '2026-07-22 16:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028569 -3.393545)'), GeomFromEWKT('SRID=4674;POINT (-39.028564 -3.393516)'))) / (select extract(epoch from '2026-07-22 16:27:58'::timestamp) - extract(epoch from '2026-07-22 16:27:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028558 -3.393499)', '2026-07-22 16:27:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028564 -3.393516)'), GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.393499)'))) / (select extract(epoch from '2026-07-22 16:27:59'::timestamp) - extract(epoch from '2026-07-22 16:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028564 -3.393516)'), GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.393499)'))) / (select extract(epoch from '2026-07-22 16:27:59'::timestamp) - extract(epoch from '2026-07-22 16:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028522 -3.393374)', '2026-07-22 16:28:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.393499)'), GeomFromEWKT('SRID=4674;POINT (-39.028522 -3.393374)'))) / (select extract(epoch from '2026-07-22 16:28:06'::timestamp) - extract(epoch from '2026-07-22 16:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.393499)'), GeomFromEWKT('SRID=4674;POINT (-39.028522 -3.393374)'))) / (select extract(epoch from '2026-07-22 16:28:06'::timestamp) - extract(epoch from '2026-07-22 16:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.0285 -3.393268)', '2026-07-22 16:28:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028522 -3.393374)'), GeomFromEWKT('SRID=4674;POINT (-39.0285 -3.393268)'))) / (select extract(epoch from '2026-07-22 16:28:12'::timestamp) - extract(epoch from '2026-07-22 16:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028522 -3.393374)'), GeomFromEWKT('SRID=4674;POINT (-39.0285 -3.393268)'))) / (select extract(epoch from '2026-07-22 16:28:12'::timestamp) - extract(epoch from '2026-07-22 16:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028473 -3.393141)', '2026-07-22 16:28:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0285 -3.393268)'), GeomFromEWKT('SRID=4674;POINT (-39.028473 -3.393141)'))) / (select extract(epoch from '2026-07-22 16:28:19'::timestamp) - extract(epoch from '2026-07-22 16:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0285 -3.393268)'), GeomFromEWKT('SRID=4674;POINT (-39.028473 -3.393141)'))) / (select extract(epoch from '2026-07-22 16:28:19'::timestamp) - extract(epoch from '2026-07-22 16:28:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028467 -3.393011)', '2026-07-22 16:28:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028473 -3.393141)'), GeomFromEWKT('SRID=4674;POINT (-39.028467 -3.393011)'))) / (select extract(epoch from '2026-07-22 16:28:26'::timestamp) - extract(epoch from '2026-07-22 16:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028473 -3.393141)'), GeomFromEWKT('SRID=4674;POINT (-39.028467 -3.393011)'))) / (select extract(epoch from '2026-07-22 16:28:26'::timestamp) - extract(epoch from '2026-07-22 16:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02845 -3.392899)', '2026-07-22 16:28:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028467 -3.393011)'), GeomFromEWKT('SRID=4674;POINT (-39.02845 -3.392899)'))) / (select extract(epoch from '2026-07-22 16:28:32'::timestamp) - extract(epoch from '2026-07-22 16:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028467 -3.393011)'), GeomFromEWKT('SRID=4674;POINT (-39.02845 -3.392899)'))) / (select extract(epoch from '2026-07-22 16:28:32'::timestamp) - extract(epoch from '2026-07-22 16:28:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028444 -3.392806)', '2026-07-22 16:28:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02845 -3.392899)'), GeomFromEWKT('SRID=4674;POINT (-39.028444 -3.392806)'))) / (select extract(epoch from '2026-07-22 16:28:37'::timestamp) - extract(epoch from '2026-07-22 16:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02845 -3.392899)'), GeomFromEWKT('SRID=4674;POINT (-39.028444 -3.392806)'))) / (select extract(epoch from '2026-07-22 16:28:37'::timestamp) - extract(epoch from '2026-07-22 16:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028441 -3.392734)', '2026-07-22 16:28:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028444 -3.392806)'), GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.392734)'))) / (select extract(epoch from '2026-07-22 16:28:41'::timestamp) - extract(epoch from '2026-07-22 16:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028444 -3.392806)'), GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.392734)'))) / (select extract(epoch from '2026-07-22 16:28:41'::timestamp) - extract(epoch from '2026-07-22 16:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028434 -3.392699)', '2026-07-22 16:28:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.392734)'), GeomFromEWKT('SRID=4674;POINT (-39.028434 -3.392699)'))) / (select extract(epoch from '2026-07-22 16:28:43'::timestamp) - extract(epoch from '2026-07-22 16:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.392734)'), GeomFromEWKT('SRID=4674;POINT (-39.028434 -3.392699)'))) / (select extract(epoch from '2026-07-22 16:28:43'::timestamp) - extract(epoch from '2026-07-22 16:28:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028417 -3.392582)', '2026-07-22 16:28:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028434 -3.392699)'), GeomFromEWKT('SRID=4674;POINT (-39.028417 -3.392582)'))) / (select extract(epoch from '2026-07-22 16:28:50'::timestamp) - extract(epoch from '2026-07-22 16:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028434 -3.392699)'), GeomFromEWKT('SRID=4674;POINT (-39.028417 -3.392582)'))) / (select extract(epoch from '2026-07-22 16:28:50'::timestamp) - extract(epoch from '2026-07-22 16:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028411 -3.392494)', '2026-07-22 16:28:55', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028417 -3.392582)'), GeomFromEWKT('SRID=4674;POINT (-39.028411 -3.392494)'))) / (select extract(epoch from '2026-07-22 16:28:55'::timestamp) - extract(epoch from '2026-07-22 16:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028417 -3.392582)'), GeomFromEWKT('SRID=4674;POINT (-39.028411 -3.392494)'))) / (select extract(epoch from '2026-07-22 16:28:55'::timestamp) - extract(epoch from '2026-07-22 16:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028401 -3.392373)', '2026-07-22 16:29:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028411 -3.392494)'), GeomFromEWKT('SRID=4674;POINT (-39.028401 -3.392373)'))) / (select extract(epoch from '2026-07-22 16:29:02'::timestamp) - extract(epoch from '2026-07-22 16:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028411 -3.392494)'), GeomFromEWKT('SRID=4674;POINT (-39.028401 -3.392373)'))) / (select extract(epoch from '2026-07-22 16:29:02'::timestamp) - extract(epoch from '2026-07-22 16:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028392 -3.392284)', '2026-07-22 16:29:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028401 -3.392373)'), GeomFromEWKT('SRID=4674;POINT (-39.028392 -3.392284)'))) / (select extract(epoch from '2026-07-22 16:29:07'::timestamp) - extract(epoch from '2026-07-22 16:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028401 -3.392373)'), GeomFromEWKT('SRID=4674;POINT (-39.028392 -3.392284)'))) / (select extract(epoch from '2026-07-22 16:29:07'::timestamp) - extract(epoch from '2026-07-22 16:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028379 -3.392177)', '2026-07-22 16:29:13', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028392 -3.392284)'), GeomFromEWKT('SRID=4674;POINT (-39.028379 -3.392177)'))) / (select extract(epoch from '2026-07-22 16:29:13'::timestamp) - extract(epoch from '2026-07-22 16:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028392 -3.392284)'), GeomFromEWKT('SRID=4674;POINT (-39.028379 -3.392177)'))) / (select extract(epoch from '2026-07-22 16:29:13'::timestamp) - extract(epoch from '2026-07-22 16:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028362 -3.392049)', '2026-07-22 16:29:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028379 -3.392177)'), GeomFromEWKT('SRID=4674;POINT (-39.028362 -3.392049)'))) / (select extract(epoch from '2026-07-22 16:29:20'::timestamp) - extract(epoch from '2026-07-22 16:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028379 -3.392177)'), GeomFromEWKT('SRID=4674;POINT (-39.028362 -3.392049)'))) / (select extract(epoch from '2026-07-22 16:29:20'::timestamp) - extract(epoch from '2026-07-22 16:29:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028339 -3.39192)', '2026-07-22 16:29:27', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028362 -3.392049)'), GeomFromEWKT('SRID=4674;POINT (-39.028339 -3.39192)'))) / (select extract(epoch from '2026-07-22 16:29:27'::timestamp) - extract(epoch from '2026-07-22 16:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028362 -3.392049)'), GeomFromEWKT('SRID=4674;POINT (-39.028339 -3.39192)'))) / (select extract(epoch from '2026-07-22 16:29:27'::timestamp) - extract(epoch from '2026-07-22 16:29:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028318 -3.391808)', '2026-07-22 16:29:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028339 -3.39192)'), GeomFromEWKT('SRID=4674;POINT (-39.028318 -3.391808)'))) / (select extract(epoch from '2026-07-22 16:29:33'::timestamp) - extract(epoch from '2026-07-22 16:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028339 -3.39192)'), GeomFromEWKT('SRID=4674;POINT (-39.028318 -3.391808)'))) / (select extract(epoch from '2026-07-22 16:29:33'::timestamp) - extract(epoch from '2026-07-22 16:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028313 -3.391751)', '2026-07-22 16:29:36', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028318 -3.391808)'), GeomFromEWKT('SRID=4674;POINT (-39.028313 -3.391751)'))) / (select extract(epoch from '2026-07-22 16:29:36'::timestamp) - extract(epoch from '2026-07-22 16:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028318 -3.391808)'), GeomFromEWKT('SRID=4674;POINT (-39.028313 -3.391751)'))) / (select extract(epoch from '2026-07-22 16:29:36'::timestamp) - extract(epoch from '2026-07-22 16:29:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.0283 -3.391714)', '2026-07-22 16:29:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028313 -3.391751)'), GeomFromEWKT('SRID=4674;POINT (-39.0283 -3.391714)'))) / (select extract(epoch from '2026-07-22 16:29:38'::timestamp) - extract(epoch from '2026-07-22 16:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028313 -3.391751)'), GeomFromEWKT('SRID=4674;POINT (-39.0283 -3.391714)'))) / (select extract(epoch from '2026-07-22 16:29:38'::timestamp) - extract(epoch from '2026-07-22 16:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028273 -3.391599)', '2026-07-22 16:29:45', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0283 -3.391714)'), GeomFromEWKT('SRID=4674;POINT (-39.028273 -3.391599)'))) / (select extract(epoch from '2026-07-22 16:29:45'::timestamp) - extract(epoch from '2026-07-22 16:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0283 -3.391714)'), GeomFromEWKT('SRID=4674;POINT (-39.028273 -3.391599)'))) / (select extract(epoch from '2026-07-22 16:29:45'::timestamp) - extract(epoch from '2026-07-22 16:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028251 -3.39151)', '2026-07-22 16:29:50', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028273 -3.391599)'), GeomFromEWKT('SRID=4674;POINT (-39.028251 -3.39151)'))) / (select extract(epoch from '2026-07-22 16:29:50'::timestamp) - extract(epoch from '2026-07-22 16:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028273 -3.391599)'), GeomFromEWKT('SRID=4674;POINT (-39.028251 -3.39151)'))) / (select extract(epoch from '2026-07-22 16:29:50'::timestamp) - extract(epoch from '2026-07-22 16:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028231 -3.391438)', '2026-07-22 16:29:54', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028251 -3.39151)'), GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.391438)'))) / (select extract(epoch from '2026-07-22 16:29:54'::timestamp) - extract(epoch from '2026-07-22 16:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028251 -3.39151)'), GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.391438)'))) / (select extract(epoch from '2026-07-22 16:29:54'::timestamp) - extract(epoch from '2026-07-22 16:29:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028229 -3.391423)', '2026-07-22 16:29:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.391438)'), GeomFromEWKT('SRID=4674;POINT (-39.028229 -3.391423)'))) / (select extract(epoch from '2026-07-22 16:29:55'::timestamp) - extract(epoch from '2026-07-22 16:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.391438)'), GeomFromEWKT('SRID=4674;POINT (-39.028229 -3.391423)'))) / (select extract(epoch from '2026-07-22 16:29:55'::timestamp) - extract(epoch from '2026-07-22 16:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028213 -3.391341)', '2026-07-22 16:30:00', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028229 -3.391423)'), GeomFromEWKT('SRID=4674;POINT (-39.028213 -3.391341)'))) / (select extract(epoch from '2026-07-22 16:30:00'::timestamp) - extract(epoch from '2026-07-22 16:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028229 -3.391423)'), GeomFromEWKT('SRID=4674;POINT (-39.028213 -3.391341)'))) / (select extract(epoch from '2026-07-22 16:30:00'::timestamp) - extract(epoch from '2026-07-22 16:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02818 -3.391229)', '2026-07-22 16:30:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028213 -3.391341)'), GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.391229)'))) / (select extract(epoch from '2026-07-22 16:30:07'::timestamp) - extract(epoch from '2026-07-22 16:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028213 -3.391341)'), GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.391229)'))) / (select extract(epoch from '2026-07-22 16:30:07'::timestamp) - extract(epoch from '2026-07-22 16:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028162 -3.391141)', '2026-07-22 16:30:12', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.391229)'), GeomFromEWKT('SRID=4674;POINT (-39.028162 -3.391141)'))) / (select extract(epoch from '2026-07-22 16:30:12'::timestamp) - extract(epoch from '2026-07-22 16:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.391229)'), GeomFromEWKT('SRID=4674;POINT (-39.028162 -3.391141)'))) / (select extract(epoch from '2026-07-22 16:30:12'::timestamp) - extract(epoch from '2026-07-22 16:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028143 -3.391034)', '2026-07-22 16:30:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028162 -3.391141)'), GeomFromEWKT('SRID=4674;POINT (-39.028143 -3.391034)'))) / (select extract(epoch from '2026-07-22 16:30:18'::timestamp) - extract(epoch from '2026-07-22 16:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028162 -3.391141)'), GeomFromEWKT('SRID=4674;POINT (-39.028143 -3.391034)'))) / (select extract(epoch from '2026-07-22 16:30:18'::timestamp) - extract(epoch from '2026-07-22 16:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02814 -3.391016)', '2026-07-22 16:30:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028143 -3.391034)'), GeomFromEWKT('SRID=4674;POINT (-39.02814 -3.391016)'))) / (select extract(epoch from '2026-07-22 16:30:19'::timestamp) - extract(epoch from '2026-07-22 16:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028143 -3.391034)'), GeomFromEWKT('SRID=4674;POINT (-39.02814 -3.391016)'))) / (select extract(epoch from '2026-07-22 16:30:19'::timestamp) - extract(epoch from '2026-07-22 16:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028119 -3.390929)', '2026-07-22 16:30:24', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02814 -3.391016)'), GeomFromEWKT('SRID=4674;POINT (-39.028119 -3.390929)'))) / (select extract(epoch from '2026-07-22 16:30:24'::timestamp) - extract(epoch from '2026-07-22 16:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02814 -3.391016)'), GeomFromEWKT('SRID=4674;POINT (-39.028119 -3.390929)'))) / (select extract(epoch from '2026-07-22 16:30:24'::timestamp) - extract(epoch from '2026-07-22 16:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028098 -3.390838)', '2026-07-22 16:30:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028119 -3.390929)'), GeomFromEWKT('SRID=4674;POINT (-39.028098 -3.390838)'))) / (select extract(epoch from '2026-07-22 16:30:30'::timestamp) - extract(epoch from '2026-07-22 16:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028119 -3.390929)'), GeomFromEWKT('SRID=4674;POINT (-39.028098 -3.390838)'))) / (select extract(epoch from '2026-07-22 16:30:30'::timestamp) - extract(epoch from '2026-07-22 16:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028093 -3.390802)', '2026-07-22 16:30:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028098 -3.390838)'), GeomFromEWKT('SRID=4674;POINT (-39.028093 -3.390802)'))) / (select extract(epoch from '2026-07-22 16:30:32'::timestamp) - extract(epoch from '2026-07-22 16:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028098 -3.390838)'), GeomFromEWKT('SRID=4674;POINT (-39.028093 -3.390802)'))) / (select extract(epoch from '2026-07-22 16:30:32'::timestamp) - extract(epoch from '2026-07-22 16:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02809 -3.390748)', '2026-07-22 16:30:35', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028093 -3.390802)'), GeomFromEWKT('SRID=4674;POINT (-39.02809 -3.390748)'))) / (select extract(epoch from '2026-07-22 16:30:35'::timestamp) - extract(epoch from '2026-07-22 16:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028093 -3.390802)'), GeomFromEWKT('SRID=4674;POINT (-39.02809 -3.390748)'))) / (select extract(epoch from '2026-07-22 16:30:35'::timestamp) - extract(epoch from '2026-07-22 16:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028073 -3.390644)', '2026-07-22 16:30:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02809 -3.390748)'), GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.390644)'))) / (select extract(epoch from '2026-07-22 16:30:41'::timestamp) - extract(epoch from '2026-07-22 16:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02809 -3.390748)'), GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.390644)'))) / (select extract(epoch from '2026-07-22 16:30:41'::timestamp) - extract(epoch from '2026-07-22 16:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028069 -3.390628)', '2026-07-22 16:30:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.390644)'), GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.390628)'))) / (select extract(epoch from '2026-07-22 16:30:42'::timestamp) - extract(epoch from '2026-07-22 16:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.390644)'), GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.390628)'))) / (select extract(epoch from '2026-07-22 16:30:42'::timestamp) - extract(epoch from '2026-07-22 16:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028055 -3.390559)', '2026-07-22 16:30:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.390628)'), GeomFromEWKT('SRID=4674;POINT (-39.028055 -3.390559)'))) / (select extract(epoch from '2026-07-22 16:30:46'::timestamp) - extract(epoch from '2026-07-22 16:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.390628)'), GeomFromEWKT('SRID=4674;POINT (-39.028055 -3.390559)'))) / (select extract(epoch from '2026-07-22 16:30:46'::timestamp) - extract(epoch from '2026-07-22 16:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028013 -3.39042)', '2026-07-22 16:30:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028055 -3.390559)'), GeomFromEWKT('SRID=4674;POINT (-39.028013 -3.39042)'))) / (select extract(epoch from '2026-07-22 16:30:54'::timestamp) - extract(epoch from '2026-07-22 16:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028055 -3.390559)'), GeomFromEWKT('SRID=4674;POINT (-39.028013 -3.39042)'))) / (select extract(epoch from '2026-07-22 16:30:54'::timestamp) - extract(epoch from '2026-07-22 16:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027999 -3.390356)', '2026-07-22 16:30:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028013 -3.39042)'), GeomFromEWKT('SRID=4674;POINT (-39.027999 -3.390356)'))) / (select extract(epoch from '2026-07-22 16:30:58'::timestamp) - extract(epoch from '2026-07-22 16:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028013 -3.39042)'), GeomFromEWKT('SRID=4674;POINT (-39.027999 -3.390356)'))) / (select extract(epoch from '2026-07-22 16:30:58'::timestamp) - extract(epoch from '2026-07-22 16:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027993 -3.390341)', '2026-07-22 16:30:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027999 -3.390356)'), GeomFromEWKT('SRID=4674;POINT (-39.027993 -3.390341)'))) / (select extract(epoch from '2026-07-22 16:30:59'::timestamp) - extract(epoch from '2026-07-22 16:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027999 -3.390356)'), GeomFromEWKT('SRID=4674;POINT (-39.027993 -3.390341)'))) / (select extract(epoch from '2026-07-22 16:30:59'::timestamp) - extract(epoch from '2026-07-22 16:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027958 -3.390224)', '2026-07-22 16:31:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027993 -3.390341)'), GeomFromEWKT('SRID=4674;POINT (-39.027958 -3.390224)'))) / (select extract(epoch from '2026-07-22 16:31:07'::timestamp) - extract(epoch from '2026-07-22 16:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027993 -3.390341)'), GeomFromEWKT('SRID=4674;POINT (-39.027958 -3.390224)'))) / (select extract(epoch from '2026-07-22 16:31:07'::timestamp) - extract(epoch from '2026-07-22 16:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027924 -3.390131)', '2026-07-22 16:31:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027958 -3.390224)'), GeomFromEWKT('SRID=4674;POINT (-39.027924 -3.390131)'))) / (select extract(epoch from '2026-07-22 16:31:13'::timestamp) - extract(epoch from '2026-07-22 16:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027958 -3.390224)'), GeomFromEWKT('SRID=4674;POINT (-39.027924 -3.390131)'))) / (select extract(epoch from '2026-07-22 16:31:13'::timestamp) - extract(epoch from '2026-07-22 16:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027884 -3.390013)', '2026-07-22 16:31:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027924 -3.390131)'), GeomFromEWKT('SRID=4674;POINT (-39.027884 -3.390013)'))) / (select extract(epoch from '2026-07-22 16:31:20'::timestamp) - extract(epoch from '2026-07-22 16:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027924 -3.390131)'), GeomFromEWKT('SRID=4674;POINT (-39.027884 -3.390013)'))) / (select extract(epoch from '2026-07-22 16:31:20'::timestamp) - extract(epoch from '2026-07-22 16:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027862 -3.389926)', '2026-07-22 16:31:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027884 -3.390013)'), GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.389926)'))) / (select extract(epoch from '2026-07-22 16:31:25'::timestamp) - extract(epoch from '2026-07-22 16:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027884 -3.390013)'), GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.389926)'))) / (select extract(epoch from '2026-07-22 16:31:25'::timestamp) - extract(epoch from '2026-07-22 16:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027829 -3.389807)', '2026-07-22 16:31:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.389926)'), GeomFromEWKT('SRID=4674;POINT (-39.027829 -3.389807)'))) / (select extract(epoch from '2026-07-22 16:31:32'::timestamp) - extract(epoch from '2026-07-22 16:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.389926)'), GeomFromEWKT('SRID=4674;POINT (-39.027829 -3.389807)'))) / (select extract(epoch from '2026-07-22 16:31:32'::timestamp) - extract(epoch from '2026-07-22 16:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027791 -3.389685)', '2026-07-22 16:31:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027829 -3.389807)'), GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.389685)'))) / (select extract(epoch from '2026-07-22 16:31:39'::timestamp) - extract(epoch from '2026-07-22 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027829 -3.389807)'), GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.389685)'))) / (select extract(epoch from '2026-07-22 16:31:39'::timestamp) - extract(epoch from '2026-07-22 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027756 -3.389565)', '2026-07-22 16:31:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.389685)'), GeomFromEWKT('SRID=4674;POINT (-39.027756 -3.389565)'))) / (select extract(epoch from '2026-07-22 16:31:46'::timestamp) - extract(epoch from '2026-07-22 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.389685)'), GeomFromEWKT('SRID=4674;POINT (-39.027756 -3.389565)'))) / (select extract(epoch from '2026-07-22 16:31:46'::timestamp) - extract(epoch from '2026-07-22 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027711 -3.389458)', '2026-07-22 16:31:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027756 -3.389565)'), GeomFromEWKT('SRID=4674;POINT (-39.027711 -3.389458)'))) / (select extract(epoch from '2026-07-22 16:31:53'::timestamp) - extract(epoch from '2026-07-22 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027756 -3.389565)'), GeomFromEWKT('SRID=4674;POINT (-39.027711 -3.389458)'))) / (select extract(epoch from '2026-07-22 16:31:53'::timestamp) - extract(epoch from '2026-07-22 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027654 -3.389315)', '2026-07-22 16:32:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027711 -3.389458)'), GeomFromEWKT('SRID=4674;POINT (-39.027654 -3.389315)'))) / (select extract(epoch from '2026-07-22 16:32:02'::timestamp) - extract(epoch from '2026-07-22 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027711 -3.389458)'), GeomFromEWKT('SRID=4674;POINT (-39.027654 -3.389315)'))) / (select extract(epoch from '2026-07-22 16:32:02'::timestamp) - extract(epoch from '2026-07-22 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027611 -3.389178)', '2026-07-22 16:32:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027654 -3.389315)'), GeomFromEWKT('SRID=4674;POINT (-39.027611 -3.389178)'))) / (select extract(epoch from '2026-07-22 16:32:10'::timestamp) - extract(epoch from '2026-07-22 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027654 -3.389315)'), GeomFromEWKT('SRID=4674;POINT (-39.027611 -3.389178)'))) / (select extract(epoch from '2026-07-22 16:32:10'::timestamp) - extract(epoch from '2026-07-22 16:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.0276 -3.389145)', '2026-07-22 16:32:12', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027611 -3.389178)'), GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.389145)'))) / (select extract(epoch from '2026-07-22 16:32:12'::timestamp) - extract(epoch from '2026-07-22 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027611 -3.389178)'), GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.389145)'))) / (select extract(epoch from '2026-07-22 16:32:12'::timestamp) - extract(epoch from '2026-07-22 16:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027586 -3.389095)', '2026-07-22 16:32:15', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.389145)'), GeomFromEWKT('SRID=4674;POINT (-39.027586 -3.389095)'))) / (select extract(epoch from '2026-07-22 16:32:15'::timestamp) - extract(epoch from '2026-07-22 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.389145)'), GeomFromEWKT('SRID=4674;POINT (-39.027586 -3.389095)'))) / (select extract(epoch from '2026-07-22 16:32:15'::timestamp) - extract(epoch from '2026-07-22 16:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027556 -3.389016)', '2026-07-22 16:32:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027586 -3.389095)'), GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.389016)'))) / (select extract(epoch from '2026-07-22 16:32:20'::timestamp) - extract(epoch from '2026-07-22 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027586 -3.389095)'), GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.389016)'))) / (select extract(epoch from '2026-07-22 16:32:20'::timestamp) - extract(epoch from '2026-07-22 16:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027515 -3.388901)', '2026-07-22 16:32:27', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.389016)'), GeomFromEWKT('SRID=4674;POINT (-39.027515 -3.388901)'))) / (select extract(epoch from '2026-07-22 16:32:27'::timestamp) - extract(epoch from '2026-07-22 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.389016)'), GeomFromEWKT('SRID=4674;POINT (-39.027515 -3.388901)'))) / (select extract(epoch from '2026-07-22 16:32:27'::timestamp) - extract(epoch from '2026-07-22 16:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027468 -3.38877)', '2026-07-22 16:32:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027515 -3.388901)'), GeomFromEWKT('SRID=4674;POINT (-39.027468 -3.38877)'))) / (select extract(epoch from '2026-07-22 16:32:35'::timestamp) - extract(epoch from '2026-07-22 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027515 -3.388901)'), GeomFromEWKT('SRID=4674;POINT (-39.027468 -3.38877)'))) / (select extract(epoch from '2026-07-22 16:32:35'::timestamp) - extract(epoch from '2026-07-22 16:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027449 -3.388686)', '2026-07-22 16:32:40', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027468 -3.38877)'), GeomFromEWKT('SRID=4674;POINT (-39.027449 -3.388686)'))) / (select extract(epoch from '2026-07-22 16:32:40'::timestamp) - extract(epoch from '2026-07-22 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027468 -3.38877)'), GeomFromEWKT('SRID=4674;POINT (-39.027449 -3.388686)'))) / (select extract(epoch from '2026-07-22 16:32:40'::timestamp) - extract(epoch from '2026-07-22 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027419 -3.388617)', '2026-07-22 16:32:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027449 -3.388686)'), GeomFromEWKT('SRID=4674;POINT (-39.027419 -3.388617)'))) / (select extract(epoch from '2026-07-22 16:32:44'::timestamp) - extract(epoch from '2026-07-22 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027449 -3.388686)'), GeomFromEWKT('SRID=4674;POINT (-39.027419 -3.388617)'))) / (select extract(epoch from '2026-07-22 16:32:44'::timestamp) - extract(epoch from '2026-07-22 16:32:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027387 -3.388514)', '2026-07-22 16:32:50', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027419 -3.388617)'), GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.388514)'))) / (select extract(epoch from '2026-07-22 16:32:50'::timestamp) - extract(epoch from '2026-07-22 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027419 -3.388617)'), GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.388514)'))) / (select extract(epoch from '2026-07-22 16:32:50'::timestamp) - extract(epoch from '2026-07-22 16:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027381 -3.3885)', '2026-07-22 16:32:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.388514)'), GeomFromEWKT('SRID=4674;POINT (-39.027381 -3.3885)'))) / (select extract(epoch from '2026-07-22 16:32:51'::timestamp) - extract(epoch from '2026-07-22 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.388514)'), GeomFromEWKT('SRID=4674;POINT (-39.027381 -3.3885)'))) / (select extract(epoch from '2026-07-22 16:32:51'::timestamp) - extract(epoch from '2026-07-22 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027362 -3.388439)', '2026-07-22 16:32:55', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027381 -3.3885)'), GeomFromEWKT('SRID=4674;POINT (-39.027362 -3.388439)'))) / (select extract(epoch from '2026-07-22 16:32:55'::timestamp) - extract(epoch from '2026-07-22 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027381 -3.3885)'), GeomFromEWKT('SRID=4674;POINT (-39.027362 -3.388439)'))) / (select extract(epoch from '2026-07-22 16:32:55'::timestamp) - extract(epoch from '2026-07-22 16:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027325 -3.388349)', '2026-07-22 16:33:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027362 -3.388439)'), GeomFromEWKT('SRID=4674;POINT (-39.027325 -3.388349)'))) / (select extract(epoch from '2026-07-22 16:33:01'::timestamp) - extract(epoch from '2026-07-22 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027362 -3.388439)'), GeomFromEWKT('SRID=4674;POINT (-39.027325 -3.388349)'))) / (select extract(epoch from '2026-07-22 16:33:01'::timestamp) - extract(epoch from '2026-07-22 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02729 -3.388227)', '2026-07-22 16:33:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027325 -3.388349)'), GeomFromEWKT('SRID=4674;POINT (-39.02729 -3.388227)'))) / (select extract(epoch from '2026-07-22 16:33:08'::timestamp) - extract(epoch from '2026-07-22 16:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027325 -3.388349)'), GeomFromEWKT('SRID=4674;POINT (-39.02729 -3.388227)'))) / (select extract(epoch from '2026-07-22 16:33:08'::timestamp) - extract(epoch from '2026-07-22 16:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027255 -3.388115)', '2026-07-22 16:33:15', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02729 -3.388227)'), GeomFromEWKT('SRID=4674;POINT (-39.027255 -3.388115)'))) / (select extract(epoch from '2026-07-22 16:33:15'::timestamp) - extract(epoch from '2026-07-22 16:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02729 -3.388227)'), GeomFromEWKT('SRID=4674;POINT (-39.027255 -3.388115)'))) / (select extract(epoch from '2026-07-22 16:33:15'::timestamp) - extract(epoch from '2026-07-22 16:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027229 -3.388031)', '2026-07-22 16:33:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027255 -3.388115)'), GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.388031)'))) / (select extract(epoch from '2026-07-22 16:33:20'::timestamp) - extract(epoch from '2026-07-22 16:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027255 -3.388115)'), GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.388031)'))) / (select extract(epoch from '2026-07-22 16:33:20'::timestamp) - extract(epoch from '2026-07-22 16:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027199 -3.387932)', '2026-07-22 16:33:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.388031)'), GeomFromEWKT('SRID=4674;POINT (-39.027199 -3.387932)'))) / (select extract(epoch from '2026-07-22 16:33:26'::timestamp) - extract(epoch from '2026-07-22 16:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.388031)'), GeomFromEWKT('SRID=4674;POINT (-39.027199 -3.387932)'))) / (select extract(epoch from '2026-07-22 16:33:26'::timestamp) - extract(epoch from '2026-07-22 16:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027169 -3.38783)', '2026-07-22 16:33:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027199 -3.387932)'), GeomFromEWKT('SRID=4674;POINT (-39.027169 -3.38783)'))) / (select extract(epoch from '2026-07-22 16:33:32'::timestamp) - extract(epoch from '2026-07-22 16:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027199 -3.387932)'), GeomFromEWKT('SRID=4674;POINT (-39.027169 -3.38783)'))) / (select extract(epoch from '2026-07-22 16:33:32'::timestamp) - extract(epoch from '2026-07-22 16:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027153 -3.387784)', '2026-07-22 16:33:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027169 -3.38783)'), GeomFromEWKT('SRID=4674;POINT (-39.027153 -3.387784)'))) / (select extract(epoch from '2026-07-22 16:33:35'::timestamp) - extract(epoch from '2026-07-22 16:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027169 -3.38783)'), GeomFromEWKT('SRID=4674;POINT (-39.027153 -3.387784)'))) / (select extract(epoch from '2026-07-22 16:33:35'::timestamp) - extract(epoch from '2026-07-22 16:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027141 -3.387753)', '2026-07-22 16:33:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027153 -3.387784)'), GeomFromEWKT('SRID=4674;POINT (-39.027141 -3.387753)'))) / (select extract(epoch from '2026-07-22 16:33:37'::timestamp) - extract(epoch from '2026-07-22 16:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027153 -3.387784)'), GeomFromEWKT('SRID=4674;POINT (-39.027141 -3.387753)'))) / (select extract(epoch from '2026-07-22 16:33:37'::timestamp) - extract(epoch from '2026-07-22 16:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027118 -3.387689)', '2026-07-22 16:33:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027141 -3.387753)'), GeomFromEWKT('SRID=4674;POINT (-39.027118 -3.387689)'))) / (select extract(epoch from '2026-07-22 16:33:41'::timestamp) - extract(epoch from '2026-07-22 16:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027141 -3.387753)'), GeomFromEWKT('SRID=4674;POINT (-39.027118 -3.387689)'))) / (select extract(epoch from '2026-07-22 16:33:41'::timestamp) - extract(epoch from '2026-07-22 16:33:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027111 -3.387654)', '2026-07-22 16:33:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027118 -3.387689)'), GeomFromEWKT('SRID=4674;POINT (-39.027111 -3.387654)'))) / (select extract(epoch from '2026-07-22 16:33:43'::timestamp) - extract(epoch from '2026-07-22 16:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027118 -3.387689)'), GeomFromEWKT('SRID=4674;POINT (-39.027111 -3.387654)'))) / (select extract(epoch from '2026-07-22 16:33:43'::timestamp) - extract(epoch from '2026-07-22 16:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027081 -3.387555)', '2026-07-22 16:33:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027111 -3.387654)'), GeomFromEWKT('SRID=4674;POINT (-39.027081 -3.387555)'))) / (select extract(epoch from '2026-07-22 16:33:49'::timestamp) - extract(epoch from '2026-07-22 16:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027111 -3.387654)'), GeomFromEWKT('SRID=4674;POINT (-39.027081 -3.387555)'))) / (select extract(epoch from '2026-07-22 16:33:49'::timestamp) - extract(epoch from '2026-07-22 16:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027078 -3.38754)', '2026-07-22 16:33:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027081 -3.387555)'), GeomFromEWKT('SRID=4674;POINT (-39.027078 -3.38754)'))) / (select extract(epoch from '2026-07-22 16:33:50'::timestamp) - extract(epoch from '2026-07-22 16:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027081 -3.387555)'), GeomFromEWKT('SRID=4674;POINT (-39.027078 -3.38754)'))) / (select extract(epoch from '2026-07-22 16:33:50'::timestamp) - extract(epoch from '2026-07-22 16:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027067 -3.387492)', '2026-07-22 16:33:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027078 -3.38754)'), GeomFromEWKT('SRID=4674;POINT (-39.027067 -3.387492)'))) / (select extract(epoch from '2026-07-22 16:33:53'::timestamp) - extract(epoch from '2026-07-22 16:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027078 -3.38754)'), GeomFromEWKT('SRID=4674;POINT (-39.027067 -3.387492)'))) / (select extract(epoch from '2026-07-22 16:33:53'::timestamp) - extract(epoch from '2026-07-22 16:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027049 -3.387373)', '2026-07-22 16:34:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027067 -3.387492)'), GeomFromEWKT('SRID=4674;POINT (-39.027049 -3.387373)'))) / (select extract(epoch from '2026-07-22 16:34:00'::timestamp) - extract(epoch from '2026-07-22 16:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027067 -3.387492)'), GeomFromEWKT('SRID=4674;POINT (-39.027049 -3.387373)'))) / (select extract(epoch from '2026-07-22 16:34:00'::timestamp) - extract(epoch from '2026-07-22 16:33:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027043 -3.387288)', '2026-07-22 16:34:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027049 -3.387373)'), GeomFromEWKT('SRID=4674;POINT (-39.027043 -3.387288)'))) / (select extract(epoch from '2026-07-22 16:34:05'::timestamp) - extract(epoch from '2026-07-22 16:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027049 -3.387373)'), GeomFromEWKT('SRID=4674;POINT (-39.027043 -3.387288)'))) / (select extract(epoch from '2026-07-22 16:34:05'::timestamp) - extract(epoch from '2026-07-22 16:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027036 -3.387191)', '2026-07-22 16:34:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027043 -3.387288)'), GeomFromEWKT('SRID=4674;POINT (-39.027036 -3.387191)'))) / (select extract(epoch from '2026-07-22 16:34:11'::timestamp) - extract(epoch from '2026-07-22 16:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027043 -3.387288)'), GeomFromEWKT('SRID=4674;POINT (-39.027036 -3.387191)'))) / (select extract(epoch from '2026-07-22 16:34:11'::timestamp) - extract(epoch from '2026-07-22 16:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027021 -3.387079)', '2026-07-22 16:34:18', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027036 -3.387191)'), GeomFromEWKT('SRID=4674;POINT (-39.027021 -3.387079)'))) / (select extract(epoch from '2026-07-22 16:34:18'::timestamp) - extract(epoch from '2026-07-22 16:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027036 -3.387191)'), GeomFromEWKT('SRID=4674;POINT (-39.027021 -3.387079)'))) / (select extract(epoch from '2026-07-22 16:34:18'::timestamp) - extract(epoch from '2026-07-22 16:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026996 -3.386938)', '2026-07-22 16:34:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027021 -3.387079)'), GeomFromEWKT('SRID=4674;POINT (-39.026996 -3.386938)'))) / (select extract(epoch from '2026-07-22 16:34:26'::timestamp) - extract(epoch from '2026-07-22 16:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027021 -3.387079)'), GeomFromEWKT('SRID=4674;POINT (-39.026996 -3.386938)'))) / (select extract(epoch from '2026-07-22 16:34:26'::timestamp) - extract(epoch from '2026-07-22 16:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026992 -3.386921)', '2026-07-22 16:34:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026996 -3.386938)'), GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.386921)'))) / (select extract(epoch from '2026-07-22 16:34:27'::timestamp) - extract(epoch from '2026-07-22 16:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026996 -3.386938)'), GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.386921)'))) / (select extract(epoch from '2026-07-22 16:34:27'::timestamp) - extract(epoch from '2026-07-22 16:34:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026964 -3.386841)', '2026-07-22 16:34:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.386921)'), GeomFromEWKT('SRID=4674;POINT (-39.026964 -3.386841)'))) / (select extract(epoch from '2026-07-22 16:34:32'::timestamp) - extract(epoch from '2026-07-22 16:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.386921)'), GeomFromEWKT('SRID=4674;POINT (-39.026964 -3.386841)'))) / (select extract(epoch from '2026-07-22 16:34:32'::timestamp) - extract(epoch from '2026-07-22 16:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02693 -3.386742)', '2026-07-22 16:34:38', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026964 -3.386841)'), GeomFromEWKT('SRID=4674;POINT (-39.02693 -3.386742)'))) / (select extract(epoch from '2026-07-22 16:34:38'::timestamp) - extract(epoch from '2026-07-22 16:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026964 -3.386841)'), GeomFromEWKT('SRID=4674;POINT (-39.02693 -3.386742)'))) / (select extract(epoch from '2026-07-22 16:34:38'::timestamp) - extract(epoch from '2026-07-22 16:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026895 -3.386603)', '2026-07-22 16:34:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02693 -3.386742)'), GeomFromEWKT('SRID=4674;POINT (-39.026895 -3.386603)'))) / (select extract(epoch from '2026-07-22 16:34:46'::timestamp) - extract(epoch from '2026-07-22 16:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02693 -3.386742)'), GeomFromEWKT('SRID=4674;POINT (-39.026895 -3.386603)'))) / (select extract(epoch from '2026-07-22 16:34:46'::timestamp) - extract(epoch from '2026-07-22 16:34:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026868 -3.386503)', '2026-07-22 16:34:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026895 -3.386603)'), GeomFromEWKT('SRID=4674;POINT (-39.026868 -3.386503)'))) / (select extract(epoch from '2026-07-22 16:34:52'::timestamp) - extract(epoch from '2026-07-22 16:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026895 -3.386603)'), GeomFromEWKT('SRID=4674;POINT (-39.026868 -3.386503)'))) / (select extract(epoch from '2026-07-22 16:34:52'::timestamp) - extract(epoch from '2026-07-22 16:34:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026842 -3.386403)', '2026-07-22 16:34:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026868 -3.386503)'), GeomFromEWKT('SRID=4674;POINT (-39.026842 -3.386403)'))) / (select extract(epoch from '2026-07-22 16:34:58'::timestamp) - extract(epoch from '2026-07-22 16:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026868 -3.386503)'), GeomFromEWKT('SRID=4674;POINT (-39.026842 -3.386403)'))) / (select extract(epoch from '2026-07-22 16:34:58'::timestamp) - extract(epoch from '2026-07-22 16:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026839 -3.386388)', '2026-07-22 16:34:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026842 -3.386403)'), GeomFromEWKT('SRID=4674;POINT (-39.026839 -3.386388)'))) / (select extract(epoch from '2026-07-22 16:34:59'::timestamp) - extract(epoch from '2026-07-22 16:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026842 -3.386403)'), GeomFromEWKT('SRID=4674;POINT (-39.026839 -3.386388)'))) / (select extract(epoch from '2026-07-22 16:34:59'::timestamp) - extract(epoch from '2026-07-22 16:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026823 -3.38632)', '2026-07-22 16:35:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026839 -3.386388)'), GeomFromEWKT('SRID=4674;POINT (-39.026823 -3.38632)'))) / (select extract(epoch from '2026-07-22 16:35:03'::timestamp) - extract(epoch from '2026-07-22 16:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026839 -3.386388)'), GeomFromEWKT('SRID=4674;POINT (-39.026823 -3.38632)'))) / (select extract(epoch from '2026-07-22 16:35:03'::timestamp) - extract(epoch from '2026-07-22 16:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026794 -3.386227)', '2026-07-22 16:35:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026823 -3.38632)'), GeomFromEWKT('SRID=4674;POINT (-39.026794 -3.386227)'))) / (select extract(epoch from '2026-07-22 16:35:09'::timestamp) - extract(epoch from '2026-07-22 16:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026823 -3.38632)'), GeomFromEWKT('SRID=4674;POINT (-39.026794 -3.386227)'))) / (select extract(epoch from '2026-07-22 16:35:09'::timestamp) - extract(epoch from '2026-07-22 16:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026767 -3.386115)', '2026-07-22 16:35:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026794 -3.386227)'), GeomFromEWKT('SRID=4674;POINT (-39.026767 -3.386115)'))) / (select extract(epoch from '2026-07-22 16:35:16'::timestamp) - extract(epoch from '2026-07-22 16:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026794 -3.386227)'), GeomFromEWKT('SRID=4674;POINT (-39.026767 -3.386115)'))) / (select extract(epoch from '2026-07-22 16:35:16'::timestamp) - extract(epoch from '2026-07-22 16:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026756 -3.386084)', '2026-07-22 16:35:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026767 -3.386115)'), GeomFromEWKT('SRID=4674;POINT (-39.026756 -3.386084)'))) / (select extract(epoch from '2026-07-22 16:35:18'::timestamp) - extract(epoch from '2026-07-22 16:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026767 -3.386115)'), GeomFromEWKT('SRID=4674;POINT (-39.026756 -3.386084)'))) / (select extract(epoch from '2026-07-22 16:35:18'::timestamp) - extract(epoch from '2026-07-22 16:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02675 -3.386052)', '2026-07-22 16:35:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026756 -3.386084)'), GeomFromEWKT('SRID=4674;POINT (-39.02675 -3.386052)'))) / (select extract(epoch from '2026-07-22 16:35:20'::timestamp) - extract(epoch from '2026-07-22 16:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026756 -3.386084)'), GeomFromEWKT('SRID=4674;POINT (-39.02675 -3.386052)'))) / (select extract(epoch from '2026-07-22 16:35:20'::timestamp) - extract(epoch from '2026-07-22 16:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026724 -3.385964)', '2026-07-22 16:35:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02675 -3.386052)'), GeomFromEWKT('SRID=4674;POINT (-39.026724 -3.385964)'))) / (select extract(epoch from '2026-07-22 16:35:26'::timestamp) - extract(epoch from '2026-07-22 16:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02675 -3.386052)'), GeomFromEWKT('SRID=4674;POINT (-39.026724 -3.385964)'))) / (select extract(epoch from '2026-07-22 16:35:26'::timestamp) - extract(epoch from '2026-07-22 16:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026699 -3.385862)', '2026-07-22 16:35:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026724 -3.385964)'), GeomFromEWKT('SRID=4674;POINT (-39.026699 -3.385862)'))) / (select extract(epoch from '2026-07-22 16:35:32'::timestamp) - extract(epoch from '2026-07-22 16:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026724 -3.385964)'), GeomFromEWKT('SRID=4674;POINT (-39.026699 -3.385862)'))) / (select extract(epoch from '2026-07-22 16:35:32'::timestamp) - extract(epoch from '2026-07-22 16:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026673 -3.385761)', '2026-07-22 16:35:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026699 -3.385862)'), GeomFromEWKT('SRID=4674;POINT (-39.026673 -3.385761)'))) / (select extract(epoch from '2026-07-22 16:35:38'::timestamp) - extract(epoch from '2026-07-22 16:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026699 -3.385862)'), GeomFromEWKT('SRID=4674;POINT (-39.026673 -3.385761)'))) / (select extract(epoch from '2026-07-22 16:35:38'::timestamp) - extract(epoch from '2026-07-22 16:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026642 -3.385604)', '2026-07-22 16:35:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026673 -3.385761)'), GeomFromEWKT('SRID=4674;POINT (-39.026642 -3.385604)'))) / (select extract(epoch from '2026-07-22 16:35:47'::timestamp) - extract(epoch from '2026-07-22 16:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026673 -3.385761)'), GeomFromEWKT('SRID=4674;POINT (-39.026642 -3.385604)'))) / (select extract(epoch from '2026-07-22 16:35:47'::timestamp) - extract(epoch from '2026-07-22 16:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026628 -3.38551)', '2026-07-22 16:35:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026642 -3.385604)'), GeomFromEWKT('SRID=4674;POINT (-39.026628 -3.38551)'))) / (select extract(epoch from '2026-07-22 16:35:52'::timestamp) - extract(epoch from '2026-07-22 16:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026642 -3.385604)'), GeomFromEWKT('SRID=4674;POINT (-39.026628 -3.38551)'))) / (select extract(epoch from '2026-07-22 16:35:52'::timestamp) - extract(epoch from '2026-07-22 16:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026603 -3.385385)', '2026-07-22 16:35:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026628 -3.38551)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.385385)'))) / (select extract(epoch from '2026-07-22 16:35:59'::timestamp) - extract(epoch from '2026-07-22 16:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026628 -3.38551)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.385385)'))) / (select extract(epoch from '2026-07-22 16:35:59'::timestamp) - extract(epoch from '2026-07-22 16:35:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026571 -3.385266)', '2026-07-22 16:36:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.385385)'), GeomFromEWKT('SRID=4674;POINT (-39.026571 -3.385266)'))) / (select extract(epoch from '2026-07-22 16:36:06'::timestamp) - extract(epoch from '2026-07-22 16:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.385385)'), GeomFromEWKT('SRID=4674;POINT (-39.026571 -3.385266)'))) / (select extract(epoch from '2026-07-22 16:36:06'::timestamp) - extract(epoch from '2026-07-22 16:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026547 -3.385185)', '2026-07-22 16:36:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026571 -3.385266)'), GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.385185)'))) / (select extract(epoch from '2026-07-22 16:36:11'::timestamp) - extract(epoch from '2026-07-22 16:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026571 -3.385266)'), GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.385185)'))) / (select extract(epoch from '2026-07-22 16:36:11'::timestamp) - extract(epoch from '2026-07-22 16:36:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026507 -3.385068)', '2026-07-22 16:36:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.385185)'), GeomFromEWKT('SRID=4674;POINT (-39.026507 -3.385068)'))) / (select extract(epoch from '2026-07-22 16:36:19'::timestamp) - extract(epoch from '2026-07-22 16:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.385185)'), GeomFromEWKT('SRID=4674;POINT (-39.026507 -3.385068)'))) / (select extract(epoch from '2026-07-22 16:36:19'::timestamp) - extract(epoch from '2026-07-22 16:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02648 -3.384971)', '2026-07-22 16:36:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026507 -3.385068)'), GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.384971)'))) / (select extract(epoch from '2026-07-22 16:36:25'::timestamp) - extract(epoch from '2026-07-22 16:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026507 -3.385068)'), GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.384971)'))) / (select extract(epoch from '2026-07-22 16:36:25'::timestamp) - extract(epoch from '2026-07-22 16:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026454 -3.384851)', '2026-07-22 16:36:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.384971)'), GeomFromEWKT('SRID=4674;POINT (-39.026454 -3.384851)'))) / (select extract(epoch from '2026-07-22 16:36:32'::timestamp) - extract(epoch from '2026-07-22 16:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.384971)'), GeomFromEWKT('SRID=4674;POINT (-39.026454 -3.384851)'))) / (select extract(epoch from '2026-07-22 16:36:32'::timestamp) - extract(epoch from '2026-07-22 16:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026436 -3.384753)', '2026-07-22 16:36:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026454 -3.384851)'), GeomFromEWKT('SRID=4674;POINT (-39.026436 -3.384753)'))) / (select extract(epoch from '2026-07-22 16:36:38'::timestamp) - extract(epoch from '2026-07-22 16:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026454 -3.384851)'), GeomFromEWKT('SRID=4674;POINT (-39.026436 -3.384753)'))) / (select extract(epoch from '2026-07-22 16:36:38'::timestamp) - extract(epoch from '2026-07-22 16:36:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026418 -3.38463)', '2026-07-22 16:36:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026436 -3.384753)'), GeomFromEWKT('SRID=4674;POINT (-39.026418 -3.38463)'))) / (select extract(epoch from '2026-07-22 16:36:45'::timestamp) - extract(epoch from '2026-07-22 16:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026436 -3.384753)'), GeomFromEWKT('SRID=4674;POINT (-39.026418 -3.38463)'))) / (select extract(epoch from '2026-07-22 16:36:45'::timestamp) - extract(epoch from '2026-07-22 16:36:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026389 -3.384496)', '2026-07-22 16:36:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026418 -3.38463)'), GeomFromEWKT('SRID=4674;POINT (-39.026389 -3.384496)'))) / (select extract(epoch from '2026-07-22 16:36:53'::timestamp) - extract(epoch from '2026-07-22 16:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026418 -3.38463)'), GeomFromEWKT('SRID=4674;POINT (-39.026389 -3.384496)'))) / (select extract(epoch from '2026-07-22 16:36:53'::timestamp) - extract(epoch from '2026-07-22 16:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026371 -3.384399)', '2026-07-22 16:36:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026389 -3.384496)'), GeomFromEWKT('SRID=4674;POINT (-39.026371 -3.384399)'))) / (select extract(epoch from '2026-07-22 16:36:59'::timestamp) - extract(epoch from '2026-07-22 16:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026389 -3.384496)'), GeomFromEWKT('SRID=4674;POINT (-39.026371 -3.384399)'))) / (select extract(epoch from '2026-07-22 16:36:59'::timestamp) - extract(epoch from '2026-07-22 16:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026348 -3.384278)', '2026-07-22 16:37:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026371 -3.384399)'), GeomFromEWKT('SRID=4674;POINT (-39.026348 -3.384278)'))) / (select extract(epoch from '2026-07-22 16:37:06'::timestamp) - extract(epoch from '2026-07-22 16:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026371 -3.384399)'), GeomFromEWKT('SRID=4674;POINT (-39.026348 -3.384278)'))) / (select extract(epoch from '2026-07-22 16:37:06'::timestamp) - extract(epoch from '2026-07-22 16:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026326 -3.384175)', '2026-07-22 16:37:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026348 -3.384278)'), GeomFromEWKT('SRID=4674;POINT (-39.026326 -3.384175)'))) / (select extract(epoch from '2026-07-22 16:37:12'::timestamp) - extract(epoch from '2026-07-22 16:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026348 -3.384278)'), GeomFromEWKT('SRID=4674;POINT (-39.026326 -3.384175)'))) / (select extract(epoch from '2026-07-22 16:37:12'::timestamp) - extract(epoch from '2026-07-22 16:37:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026296 -3.384077)', '2026-07-22 16:37:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026326 -3.384175)'), GeomFromEWKT('SRID=4674;POINT (-39.026296 -3.384077)'))) / (select extract(epoch from '2026-07-22 16:37:18'::timestamp) - extract(epoch from '2026-07-22 16:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026326 -3.384175)'), GeomFromEWKT('SRID=4674;POINT (-39.026296 -3.384077)'))) / (select extract(epoch from '2026-07-22 16:37:18'::timestamp) - extract(epoch from '2026-07-22 16:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026266 -3.383956)', '2026-07-22 16:37:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026296 -3.384077)'), GeomFromEWKT('SRID=4674;POINT (-39.026266 -3.383956)'))) / (select extract(epoch from '2026-07-22 16:37:25'::timestamp) - extract(epoch from '2026-07-22 16:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026296 -3.384077)'), GeomFromEWKT('SRID=4674;POINT (-39.026266 -3.383956)'))) / (select extract(epoch from '2026-07-22 16:37:25'::timestamp) - extract(epoch from '2026-07-22 16:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026227 -3.383861)', '2026-07-22 16:37:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026266 -3.383956)'), GeomFromEWKT('SRID=4674;POINT (-39.026227 -3.383861)'))) / (select extract(epoch from '2026-07-22 16:37:31'::timestamp) - extract(epoch from '2026-07-22 16:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026266 -3.383956)'), GeomFromEWKT('SRID=4674;POINT (-39.026227 -3.383861)'))) / (select extract(epoch from '2026-07-22 16:37:31'::timestamp) - extract(epoch from '2026-07-22 16:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026194 -3.383769)', '2026-07-22 16:37:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026227 -3.383861)'), GeomFromEWKT('SRID=4674;POINT (-39.026194 -3.383769)'))) / (select extract(epoch from '2026-07-22 16:37:37'::timestamp) - extract(epoch from '2026-07-22 16:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026227 -3.383861)'), GeomFromEWKT('SRID=4674;POINT (-39.026194 -3.383769)'))) / (select extract(epoch from '2026-07-22 16:37:37'::timestamp) - extract(epoch from '2026-07-22 16:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026177 -3.383662)', '2026-07-22 16:37:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026194 -3.383769)'), GeomFromEWKT('SRID=4674;POINT (-39.026177 -3.383662)'))) / (select extract(epoch from '2026-07-22 16:37:43'::timestamp) - extract(epoch from '2026-07-22 16:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026194 -3.383769)'), GeomFromEWKT('SRID=4674;POINT (-39.026177 -3.383662)'))) / (select extract(epoch from '2026-07-22 16:37:43'::timestamp) - extract(epoch from '2026-07-22 16:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026153 -3.383542)', '2026-07-22 16:37:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026177 -3.383662)'), GeomFromEWKT('SRID=4674;POINT (-39.026153 -3.383542)'))) / (select extract(epoch from '2026-07-22 16:37:50'::timestamp) - extract(epoch from '2026-07-22 16:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026177 -3.383662)'), GeomFromEWKT('SRID=4674;POINT (-39.026153 -3.383542)'))) / (select extract(epoch from '2026-07-22 16:37:50'::timestamp) - extract(epoch from '2026-07-22 16:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026145 -3.383409)', '2026-07-22 16:37:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026153 -3.383542)'), GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.383409)'))) / (select extract(epoch from '2026-07-22 16:37:57'::timestamp) - extract(epoch from '2026-07-22 16:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026153 -3.383542)'), GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.383409)'))) / (select extract(epoch from '2026-07-22 16:37:57'::timestamp) - extract(epoch from '2026-07-22 16:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026127 -3.383277)', '2026-07-22 16:38:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.383409)'), GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.383277)'))) / (select extract(epoch from '2026-07-22 16:38:04'::timestamp) - extract(epoch from '2026-07-22 16:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.383409)'), GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.383277)'))) / (select extract(epoch from '2026-07-22 16:38:04'::timestamp) - extract(epoch from '2026-07-22 16:37:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026097 -3.383173)', '2026-07-22 16:38:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.383277)'), GeomFromEWKT('SRID=4674;POINT (-39.026097 -3.383173)'))) / (select extract(epoch from '2026-07-22 16:38:10'::timestamp) - extract(epoch from '2026-07-22 16:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.383277)'), GeomFromEWKT('SRID=4674;POINT (-39.026097 -3.383173)'))) / (select extract(epoch from '2026-07-22 16:38:10'::timestamp) - extract(epoch from '2026-07-22 16:38:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026086 -3.38307)', '2026-07-22 16:38:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026097 -3.383173)'), GeomFromEWKT('SRID=4674;POINT (-39.026086 -3.38307)'))) / (select extract(epoch from '2026-07-22 16:38:16'::timestamp) - extract(epoch from '2026-07-22 16:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026097 -3.383173)'), GeomFromEWKT('SRID=4674;POINT (-39.026086 -3.38307)'))) / (select extract(epoch from '2026-07-22 16:38:16'::timestamp) - extract(epoch from '2026-07-22 16:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026077 -3.38304)', '2026-07-22 16:38:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026086 -3.38307)'), GeomFromEWKT('SRID=4674;POINT (-39.026077 -3.38304)'))) / (select extract(epoch from '2026-07-22 16:38:18'::timestamp) - extract(epoch from '2026-07-22 16:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026086 -3.38307)'), GeomFromEWKT('SRID=4674;POINT (-39.026077 -3.38304)'))) / (select extract(epoch from '2026-07-22 16:38:18'::timestamp) - extract(epoch from '2026-07-22 16:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026069 -3.382991)', '2026-07-22 16:38:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026077 -3.38304)'), GeomFromEWKT('SRID=4674;POINT (-39.026069 -3.382991)'))) / (select extract(epoch from '2026-07-22 16:38:21'::timestamp) - extract(epoch from '2026-07-22 16:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026077 -3.38304)'), GeomFromEWKT('SRID=4674;POINT (-39.026069 -3.382991)'))) / (select extract(epoch from '2026-07-22 16:38:21'::timestamp) - extract(epoch from '2026-07-22 16:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026043 -3.382861)', '2026-07-22 16:38:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026069 -3.382991)'), GeomFromEWKT('SRID=4674;POINT (-39.026043 -3.382861)'))) / (select extract(epoch from '2026-07-22 16:38:28'::timestamp) - extract(epoch from '2026-07-22 16:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026069 -3.382991)'), GeomFromEWKT('SRID=4674;POINT (-39.026043 -3.382861)'))) / (select extract(epoch from '2026-07-22 16:38:28'::timestamp) - extract(epoch from '2026-07-22 16:38:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026017 -3.382764)', '2026-07-22 16:38:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026043 -3.382861)'), GeomFromEWKT('SRID=4674;POINT (-39.026017 -3.382764)'))) / (select extract(epoch from '2026-07-22 16:38:34'::timestamp) - extract(epoch from '2026-07-22 16:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026043 -3.382861)'), GeomFromEWKT('SRID=4674;POINT (-39.026017 -3.382764)'))) / (select extract(epoch from '2026-07-22 16:38:34'::timestamp) - extract(epoch from '2026-07-22 16:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025997 -3.382684)', '2026-07-22 16:38:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026017 -3.382764)'), GeomFromEWKT('SRID=4674;POINT (-39.025997 -3.382684)'))) / (select extract(epoch from '2026-07-22 16:38:39'::timestamp) - extract(epoch from '2026-07-22 16:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026017 -3.382764)'), GeomFromEWKT('SRID=4674;POINT (-39.025997 -3.382684)'))) / (select extract(epoch from '2026-07-22 16:38:39'::timestamp) - extract(epoch from '2026-07-22 16:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025992 -3.382666)', '2026-07-22 16:38:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025997 -3.382684)'), GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.382666)'))) / (select extract(epoch from '2026-07-22 16:38:40'::timestamp) - extract(epoch from '2026-07-22 16:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025997 -3.382684)'), GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.382666)'))) / (select extract(epoch from '2026-07-22 16:38:40'::timestamp) - extract(epoch from '2026-07-22 16:38:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025979 -3.382583)', '2026-07-22 16:38:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.382666)'), GeomFromEWKT('SRID=4674;POINT (-39.025979 -3.382583)'))) / (select extract(epoch from '2026-07-22 16:38:45'::timestamp) - extract(epoch from '2026-07-22 16:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.382666)'), GeomFromEWKT('SRID=4674;POINT (-39.025979 -3.382583)'))) / (select extract(epoch from '2026-07-22 16:38:45'::timestamp) - extract(epoch from '2026-07-22 16:38:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02597 -3.382497)', '2026-07-22 16:38:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025979 -3.382583)'), GeomFromEWKT('SRID=4674;POINT (-39.02597 -3.382497)'))) / (select extract(epoch from '2026-07-22 16:38:50'::timestamp) - extract(epoch from '2026-07-22 16:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025979 -3.382583)'), GeomFromEWKT('SRID=4674;POINT (-39.02597 -3.382497)'))) / (select extract(epoch from '2026-07-22 16:38:50'::timestamp) - extract(epoch from '2026-07-22 16:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025959 -3.382445)', '2026-07-22 16:38:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02597 -3.382497)'), GeomFromEWKT('SRID=4674;POINT (-39.025959 -3.382445)'))) / (select extract(epoch from '2026-07-22 16:38:53'::timestamp) - extract(epoch from '2026-07-22 16:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02597 -3.382497)'), GeomFromEWKT('SRID=4674;POINT (-39.025959 -3.382445)'))) / (select extract(epoch from '2026-07-22 16:38:53'::timestamp) - extract(epoch from '2026-07-22 16:38:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025946 -3.382363)', '2026-07-22 16:38:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025959 -3.382445)'), GeomFromEWKT('SRID=4674;POINT (-39.025946 -3.382363)'))) / (select extract(epoch from '2026-07-22 16:38:58'::timestamp) - extract(epoch from '2026-07-22 16:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025959 -3.382445)'), GeomFromEWKT('SRID=4674;POINT (-39.025946 -3.382363)'))) / (select extract(epoch from '2026-07-22 16:38:58'::timestamp) - extract(epoch from '2026-07-22 16:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02593 -3.382257)', '2026-07-22 16:39:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025946 -3.382363)'), GeomFromEWKT('SRID=4674;POINT (-39.02593 -3.382257)'))) / (select extract(epoch from '2026-07-22 16:39:04'::timestamp) - extract(epoch from '2026-07-22 16:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025946 -3.382363)'), GeomFromEWKT('SRID=4674;POINT (-39.02593 -3.382257)'))) / (select extract(epoch from '2026-07-22 16:39:04'::timestamp) - extract(epoch from '2026-07-22 16:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025914 -3.382151)', '2026-07-22 16:39:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02593 -3.382257)'), GeomFromEWKT('SRID=4674;POINT (-39.025914 -3.382151)'))) / (select extract(epoch from '2026-07-22 16:39:10'::timestamp) - extract(epoch from '2026-07-22 16:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02593 -3.382257)'), GeomFromEWKT('SRID=4674;POINT (-39.025914 -3.382151)'))) / (select extract(epoch from '2026-07-22 16:39:10'::timestamp) - extract(epoch from '2026-07-22 16:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025899 -3.382063)', '2026-07-22 16:39:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025914 -3.382151)'), GeomFromEWKT('SRID=4674;POINT (-39.025899 -3.382063)'))) / (select extract(epoch from '2026-07-22 16:39:15'::timestamp) - extract(epoch from '2026-07-22 16:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025914 -3.382151)'), GeomFromEWKT('SRID=4674;POINT (-39.025899 -3.382063)'))) / (select extract(epoch from '2026-07-22 16:39:15'::timestamp) - extract(epoch from '2026-07-22 16:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025866 -3.381964)', '2026-07-22 16:39:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025899 -3.382063)'), GeomFromEWKT('SRID=4674;POINT (-39.025866 -3.381964)'))) / (select extract(epoch from '2026-07-22 16:39:21'::timestamp) - extract(epoch from '2026-07-22 16:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025899 -3.382063)'), GeomFromEWKT('SRID=4674;POINT (-39.025866 -3.381964)'))) / (select extract(epoch from '2026-07-22 16:39:21'::timestamp) - extract(epoch from '2026-07-22 16:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025845 -3.381879)', '2026-07-22 16:39:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025866 -3.381964)'), GeomFromEWKT('SRID=4674;POINT (-39.025845 -3.381879)'))) / (select extract(epoch from '2026-07-22 16:39:26'::timestamp) - extract(epoch from '2026-07-22 16:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025866 -3.381964)'), GeomFromEWKT('SRID=4674;POINT (-39.025845 -3.381879)'))) / (select extract(epoch from '2026-07-22 16:39:26'::timestamp) - extract(epoch from '2026-07-22 16:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025831 -3.38178)', '2026-07-22 16:39:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025845 -3.381879)'), GeomFromEWKT('SRID=4674;POINT (-39.025831 -3.38178)'))) / (select extract(epoch from '2026-07-22 16:39:32'::timestamp) - extract(epoch from '2026-07-22 16:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025845 -3.381879)'), GeomFromEWKT('SRID=4674;POINT (-39.025831 -3.38178)'))) / (select extract(epoch from '2026-07-22 16:39:32'::timestamp) - extract(epoch from '2026-07-22 16:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025817 -3.381665)', '2026-07-22 16:39:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025831 -3.38178)'), GeomFromEWKT('SRID=4674;POINT (-39.025817 -3.381665)'))) / (select extract(epoch from '2026-07-22 16:39:39'::timestamp) - extract(epoch from '2026-07-22 16:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025831 -3.38178)'), GeomFromEWKT('SRID=4674;POINT (-39.025817 -3.381665)'))) / (select extract(epoch from '2026-07-22 16:39:39'::timestamp) - extract(epoch from '2026-07-22 16:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025803 -3.381561)', '2026-07-22 16:39:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025817 -3.381665)'), GeomFromEWKT('SRID=4674;POINT (-39.025803 -3.381561)'))) / (select extract(epoch from '2026-07-22 16:39:45'::timestamp) - extract(epoch from '2026-07-22 16:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025817 -3.381665)'), GeomFromEWKT('SRID=4674;POINT (-39.025803 -3.381561)'))) / (select extract(epoch from '2026-07-22 16:39:45'::timestamp) - extract(epoch from '2026-07-22 16:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025792 -3.381476)', '2026-07-22 16:39:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025803 -3.381561)'), GeomFromEWKT('SRID=4674;POINT (-39.025792 -3.381476)'))) / (select extract(epoch from '2026-07-22 16:39:50'::timestamp) - extract(epoch from '2026-07-22 16:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025803 -3.381561)'), GeomFromEWKT('SRID=4674;POINT (-39.025792 -3.381476)'))) / (select extract(epoch from '2026-07-22 16:39:50'::timestamp) - extract(epoch from '2026-07-22 16:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025793 -3.381445)', '2026-07-22 16:39:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025792 -3.381476)'), GeomFromEWKT('SRID=4674;POINT (-39.025793 -3.381445)'))) / (select extract(epoch from '2026-07-22 16:39:52'::timestamp) - extract(epoch from '2026-07-22 16:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025792 -3.381476)'), GeomFromEWKT('SRID=4674;POINT (-39.025793 -3.381445)'))) / (select extract(epoch from '2026-07-22 16:39:52'::timestamp) - extract(epoch from '2026-07-22 16:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025786 -3.381343)', '2026-07-22 16:39:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025793 -3.381445)'), GeomFromEWKT('SRID=4674;POINT (-39.025786 -3.381343)'))) / (select extract(epoch from '2026-07-22 16:39:58'::timestamp) - extract(epoch from '2026-07-22 16:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025793 -3.381445)'), GeomFromEWKT('SRID=4674;POINT (-39.025786 -3.381343)'))) / (select extract(epoch from '2026-07-22 16:39:58'::timestamp) - extract(epoch from '2026-07-22 16:39:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025769 -3.3812)', '2026-07-22 16:40:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025786 -3.381343)'), GeomFromEWKT('SRID=4674;POINT (-39.025769 -3.3812)'))) / (select extract(epoch from '2026-07-22 16:40:06'::timestamp) - extract(epoch from '2026-07-22 16:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025786 -3.381343)'), GeomFromEWKT('SRID=4674;POINT (-39.025769 -3.3812)'))) / (select extract(epoch from '2026-07-22 16:40:06'::timestamp) - extract(epoch from '2026-07-22 16:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025748 -3.381092)', '2026-07-22 16:40:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025769 -3.3812)'), GeomFromEWKT('SRID=4674;POINT (-39.025748 -3.381092)'))) / (select extract(epoch from '2026-07-22 16:40:12'::timestamp) - extract(epoch from '2026-07-22 16:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025769 -3.3812)'), GeomFromEWKT('SRID=4674;POINT (-39.025748 -3.381092)'))) / (select extract(epoch from '2026-07-22 16:40:12'::timestamp) - extract(epoch from '2026-07-22 16:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02574 -3.381011)', '2026-07-22 16:40:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025748 -3.381092)'), GeomFromEWKT('SRID=4674;POINT (-39.02574 -3.381011)'))) / (select extract(epoch from '2026-07-22 16:40:17'::timestamp) - extract(epoch from '2026-07-22 16:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025748 -3.381092)'), GeomFromEWKT('SRID=4674;POINT (-39.02574 -3.381011)'))) / (select extract(epoch from '2026-07-22 16:40:17'::timestamp) - extract(epoch from '2026-07-22 16:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025733 -3.380958)', '2026-07-22 16:40:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02574 -3.381011)'), GeomFromEWKT('SRID=4674;POINT (-39.025733 -3.380958)'))) / (select extract(epoch from '2026-07-22 16:40:20'::timestamp) - extract(epoch from '2026-07-22 16:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02574 -3.381011)'), GeomFromEWKT('SRID=4674;POINT (-39.025733 -3.380958)'))) / (select extract(epoch from '2026-07-22 16:40:20'::timestamp) - extract(epoch from '2026-07-22 16:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025731 -3.380922)', '2026-07-22 16:40:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025733 -3.380958)'), GeomFromEWKT('SRID=4674;POINT (-39.025731 -3.380922)'))) / (select extract(epoch from '2026-07-22 16:40:22'::timestamp) - extract(epoch from '2026-07-22 16:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025733 -3.380958)'), GeomFromEWKT('SRID=4674;POINT (-39.025731 -3.380922)'))) / (select extract(epoch from '2026-07-22 16:40:22'::timestamp) - extract(epoch from '2026-07-22 16:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025724 -3.380839)', '2026-07-22 16:40:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025731 -3.380922)'), GeomFromEWKT('SRID=4674;POINT (-39.025724 -3.380839)'))) / (select extract(epoch from '2026-07-22 16:40:27'::timestamp) - extract(epoch from '2026-07-22 16:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025731 -3.380922)'), GeomFromEWKT('SRID=4674;POINT (-39.025724 -3.380839)'))) / (select extract(epoch from '2026-07-22 16:40:27'::timestamp) - extract(epoch from '2026-07-22 16:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025708 -3.380752)', '2026-07-22 16:40:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025724 -3.380839)'), GeomFromEWKT('SRID=4674;POINT (-39.025708 -3.380752)'))) / (select extract(epoch from '2026-07-22 16:40:32'::timestamp) - extract(epoch from '2026-07-22 16:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025724 -3.380839)'), GeomFromEWKT('SRID=4674;POINT (-39.025708 -3.380752)'))) / (select extract(epoch from '2026-07-22 16:40:32'::timestamp) - extract(epoch from '2026-07-22 16:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025681 -3.380611)', '2026-07-22 16:40:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025708 -3.380752)'), GeomFromEWKT('SRID=4674;POINT (-39.025681 -3.380611)'))) / (select extract(epoch from '2026-07-22 16:40:40'::timestamp) - extract(epoch from '2026-07-22 16:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025708 -3.380752)'), GeomFromEWKT('SRID=4674;POINT (-39.025681 -3.380611)'))) / (select extract(epoch from '2026-07-22 16:40:40'::timestamp) - extract(epoch from '2026-07-22 16:40:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025648 -3.380488)', '2026-07-22 16:40:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025681 -3.380611)'), GeomFromEWKT('SRID=4674;POINT (-39.025648 -3.380488)'))) / (select extract(epoch from '2026-07-22 16:40:47'::timestamp) - extract(epoch from '2026-07-22 16:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025681 -3.380611)'), GeomFromEWKT('SRID=4674;POINT (-39.025648 -3.380488)'))) / (select extract(epoch from '2026-07-22 16:40:47'::timestamp) - extract(epoch from '2026-07-22 16:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025611 -3.380342)', '2026-07-22 16:40:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025648 -3.380488)'), GeomFromEWKT('SRID=4674;POINT (-39.025611 -3.380342)'))) / (select extract(epoch from '2026-07-22 16:40:55'::timestamp) - extract(epoch from '2026-07-22 16:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025648 -3.380488)'), GeomFromEWKT('SRID=4674;POINT (-39.025611 -3.380342)'))) / (select extract(epoch from '2026-07-22 16:40:55'::timestamp) - extract(epoch from '2026-07-22 16:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025583 -3.380239)', '2026-07-22 16:41:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025611 -3.380342)'), GeomFromEWKT('SRID=4674;POINT (-39.025583 -3.380239)'))) / (select extract(epoch from '2026-07-22 16:41:01'::timestamp) - extract(epoch from '2026-07-22 16:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025611 -3.380342)'), GeomFromEWKT('SRID=4674;POINT (-39.025583 -3.380239)'))) / (select extract(epoch from '2026-07-22 16:41:01'::timestamp) - extract(epoch from '2026-07-22 16:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02556 -3.380114)', '2026-07-22 16:41:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025583 -3.380239)'), GeomFromEWKT('SRID=4674;POINT (-39.02556 -3.380114)'))) / (select extract(epoch from '2026-07-22 16:41:08'::timestamp) - extract(epoch from '2026-07-22 16:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025583 -3.380239)'), GeomFromEWKT('SRID=4674;POINT (-39.02556 -3.380114)'))) / (select extract(epoch from '2026-07-22 16:41:08'::timestamp) - extract(epoch from '2026-07-22 16:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025534 -3.37999)', '2026-07-22 16:41:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02556 -3.380114)'), GeomFromEWKT('SRID=4674;POINT (-39.025534 -3.37999)'))) / (select extract(epoch from '2026-07-22 16:41:15'::timestamp) - extract(epoch from '2026-07-22 16:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02556 -3.380114)'), GeomFromEWKT('SRID=4674;POINT (-39.025534 -3.37999)'))) / (select extract(epoch from '2026-07-22 16:41:15'::timestamp) - extract(epoch from '2026-07-22 16:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025505 -3.379826)', '2026-07-22 16:41:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025534 -3.37999)'), GeomFromEWKT('SRID=4674;POINT (-39.025505 -3.379826)'))) / (select extract(epoch from '2026-07-22 16:41:24'::timestamp) - extract(epoch from '2026-07-22 16:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025534 -3.37999)'), GeomFromEWKT('SRID=4674;POINT (-39.025505 -3.379826)'))) / (select extract(epoch from '2026-07-22 16:41:24'::timestamp) - extract(epoch from '2026-07-22 16:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025484 -3.379734)', '2026-07-22 16:41:29', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025505 -3.379826)'), GeomFromEWKT('SRID=4674;POINT (-39.025484 -3.379734)'))) / (select extract(epoch from '2026-07-22 16:41:29'::timestamp) - extract(epoch from '2026-07-22 16:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025505 -3.379826)'), GeomFromEWKT('SRID=4674;POINT (-39.025484 -3.379734)'))) / (select extract(epoch from '2026-07-22 16:41:29'::timestamp) - extract(epoch from '2026-07-22 16:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025482 -3.379698)', '2026-07-22 16:41:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025484 -3.379734)'), GeomFromEWKT('SRID=4674;POINT (-39.025482 -3.379698)'))) / (select extract(epoch from '2026-07-22 16:41:31'::timestamp) - extract(epoch from '2026-07-22 16:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025484 -3.379734)'), GeomFromEWKT('SRID=4674;POINT (-39.025482 -3.379698)'))) / (select extract(epoch from '2026-07-22 16:41:31'::timestamp) - extract(epoch from '2026-07-22 16:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025455 -3.379599)', '2026-07-22 16:41:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025482 -3.379698)'), GeomFromEWKT('SRID=4674;POINT (-39.025455 -3.379599)'))) / (select extract(epoch from '2026-07-22 16:41:37'::timestamp) - extract(epoch from '2026-07-22 16:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025482 -3.379698)'), GeomFromEWKT('SRID=4674;POINT (-39.025455 -3.379599)'))) / (select extract(epoch from '2026-07-22 16:41:37'::timestamp) - extract(epoch from '2026-07-22 16:41:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025432 -3.379479)', '2026-07-22 16:41:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025455 -3.379599)'), GeomFromEWKT('SRID=4674;POINT (-39.025432 -3.379479)'))) / (select extract(epoch from '2026-07-22 16:41:44'::timestamp) - extract(epoch from '2026-07-22 16:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025455 -3.379599)'), GeomFromEWKT('SRID=4674;POINT (-39.025432 -3.379479)'))) / (select extract(epoch from '2026-07-22 16:41:44'::timestamp) - extract(epoch from '2026-07-22 16:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025416 -3.379415)', '2026-07-22 16:41:48', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025432 -3.379479)'), GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.379415)'))) / (select extract(epoch from '2026-07-22 16:41:48'::timestamp) - extract(epoch from '2026-07-22 16:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025432 -3.379479)'), GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.379415)'))) / (select extract(epoch from '2026-07-22 16:41:48'::timestamp) - extract(epoch from '2026-07-22 16:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025407 -3.379399)', '2026-07-22 16:41:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.379415)'), GeomFromEWKT('SRID=4674;POINT (-39.025407 -3.379399)'))) / (select extract(epoch from '2026-07-22 16:41:49'::timestamp) - extract(epoch from '2026-07-22 16:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.379415)'), GeomFromEWKT('SRID=4674;POINT (-39.025407 -3.379399)'))) / (select extract(epoch from '2026-07-22 16:41:49'::timestamp) - extract(epoch from '2026-07-22 16:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025374 -3.379323)', '2026-07-22 16:41:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025407 -3.379399)'), GeomFromEWKT('SRID=4674;POINT (-39.025374 -3.379323)'))) / (select extract(epoch from '2026-07-22 16:41:54'::timestamp) - extract(epoch from '2026-07-22 16:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025407 -3.379399)'), GeomFromEWKT('SRID=4674;POINT (-39.025374 -3.379323)'))) / (select extract(epoch from '2026-07-22 16:41:54'::timestamp) - extract(epoch from '2026-07-22 16:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025365 -3.379293)', '2026-07-22 16:41:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025374 -3.379323)'), GeomFromEWKT('SRID=4674;POINT (-39.025365 -3.379293)'))) / (select extract(epoch from '2026-07-22 16:41:56'::timestamp) - extract(epoch from '2026-07-22 16:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025374 -3.379323)'), GeomFromEWKT('SRID=4674;POINT (-39.025365 -3.379293)'))) / (select extract(epoch from '2026-07-22 16:41:56'::timestamp) - extract(epoch from '2026-07-22 16:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02535 -3.379246)', '2026-07-22 16:41:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025365 -3.379293)'), GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.379246)'))) / (select extract(epoch from '2026-07-22 16:41:59'::timestamp) - extract(epoch from '2026-07-22 16:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025365 -3.379293)'), GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.379246)'))) / (select extract(epoch from '2026-07-22 16:41:59'::timestamp) - extract(epoch from '2026-07-22 16:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02532 -3.379149)', '2026-07-22 16:42:05', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.379246)'), GeomFromEWKT('SRID=4674;POINT (-39.02532 -3.379149)'))) / (select extract(epoch from '2026-07-22 16:42:05'::timestamp) - extract(epoch from '2026-07-22 16:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.379246)'), GeomFromEWKT('SRID=4674;POINT (-39.02532 -3.379149)'))) / (select extract(epoch from '2026-07-22 16:42:05'::timestamp) - extract(epoch from '2026-07-22 16:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025292 -3.379045)', '2026-07-22 16:42:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02532 -3.379149)'), GeomFromEWKT('SRID=4674;POINT (-39.025292 -3.379045)'))) / (select extract(epoch from '2026-07-22 16:42:11'::timestamp) - extract(epoch from '2026-07-22 16:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02532 -3.379149)'), GeomFromEWKT('SRID=4674;POINT (-39.025292 -3.379045)'))) / (select extract(epoch from '2026-07-22 16:42:11'::timestamp) - extract(epoch from '2026-07-22 16:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02527 -3.378966)', '2026-07-22 16:42:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025292 -3.379045)'), GeomFromEWKT('SRID=4674;POINT (-39.02527 -3.378966)'))) / (select extract(epoch from '2026-07-22 16:42:16'::timestamp) - extract(epoch from '2026-07-22 16:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025292 -3.379045)'), GeomFromEWKT('SRID=4674;POINT (-39.02527 -3.378966)'))) / (select extract(epoch from '2026-07-22 16:42:16'::timestamp) - extract(epoch from '2026-07-22 16:42:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025247 -3.37887)', '2026-07-22 16:42:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02527 -3.378966)'), GeomFromEWKT('SRID=4674;POINT (-39.025247 -3.37887)'))) / (select extract(epoch from '2026-07-22 16:42:22'::timestamp) - extract(epoch from '2026-07-22 16:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02527 -3.378966)'), GeomFromEWKT('SRID=4674;POINT (-39.025247 -3.37887)'))) / (select extract(epoch from '2026-07-22 16:42:22'::timestamp) - extract(epoch from '2026-07-22 16:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025235 -3.378785)', '2026-07-22 16:42:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025247 -3.37887)'), GeomFromEWKT('SRID=4674;POINT (-39.025235 -3.378785)'))) / (select extract(epoch from '2026-07-22 16:42:27'::timestamp) - extract(epoch from '2026-07-22 16:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025247 -3.37887)'), GeomFromEWKT('SRID=4674;POINT (-39.025235 -3.378785)'))) / (select extract(epoch from '2026-07-22 16:42:27'::timestamp) - extract(epoch from '2026-07-22 16:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025227 -3.378768)', '2026-07-22 16:42:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025235 -3.378785)'), GeomFromEWKT('SRID=4674;POINT (-39.025227 -3.378768)'))) / (select extract(epoch from '2026-07-22 16:42:28'::timestamp) - extract(epoch from '2026-07-22 16:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025235 -3.378785)'), GeomFromEWKT('SRID=4674;POINT (-39.025227 -3.378768)'))) / (select extract(epoch from '2026-07-22 16:42:28'::timestamp) - extract(epoch from '2026-07-22 16:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025202 -3.378684)', '2026-07-22 16:42:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025227 -3.378768)'), GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.378684)'))) / (select extract(epoch from '2026-07-22 16:42:33'::timestamp) - extract(epoch from '2026-07-22 16:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025227 -3.378768)'), GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.378684)'))) / (select extract(epoch from '2026-07-22 16:42:33'::timestamp) - extract(epoch from '2026-07-22 16:42:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025181 -3.378581)', '2026-07-22 16:42:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.378684)'), GeomFromEWKT('SRID=4674;POINT (-39.025181 -3.378581)'))) / (select extract(epoch from '2026-07-22 16:42:39'::timestamp) - extract(epoch from '2026-07-22 16:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.378684)'), GeomFromEWKT('SRID=4674;POINT (-39.025181 -3.378581)'))) / (select extract(epoch from '2026-07-22 16:42:39'::timestamp) - extract(epoch from '2026-07-22 16:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025157 -3.378494)', '2026-07-22 16:42:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025181 -3.378581)'), GeomFromEWKT('SRID=4674;POINT (-39.025157 -3.378494)'))) / (select extract(epoch from '2026-07-22 16:42:44'::timestamp) - extract(epoch from '2026-07-22 16:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025181 -3.378581)'), GeomFromEWKT('SRID=4674;POINT (-39.025157 -3.378494)'))) / (select extract(epoch from '2026-07-22 16:42:44'::timestamp) - extract(epoch from '2026-07-22 16:42:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025128 -3.378397)', '2026-07-22 16:42:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025157 -3.378494)'), GeomFromEWKT('SRID=4674;POINT (-39.025128 -3.378397)'))) / (select extract(epoch from '2026-07-22 16:42:50'::timestamp) - extract(epoch from '2026-07-22 16:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025157 -3.378494)'), GeomFromEWKT('SRID=4674;POINT (-39.025128 -3.378397)'))) / (select extract(epoch from '2026-07-22 16:42:50'::timestamp) - extract(epoch from '2026-07-22 16:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025081 -3.378262)', '2026-07-22 16:42:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025128 -3.378397)'), GeomFromEWKT('SRID=4674;POINT (-39.025081 -3.378262)'))) / (select extract(epoch from '2026-07-22 16:42:58'::timestamp) - extract(epoch from '2026-07-22 16:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025128 -3.378397)'), GeomFromEWKT('SRID=4674;POINT (-39.025081 -3.378262)'))) / (select extract(epoch from '2026-07-22 16:42:58'::timestamp) - extract(epoch from '2026-07-22 16:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025055 -3.378169)', '2026-07-22 16:43:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025081 -3.378262)'), GeomFromEWKT('SRID=4674;POINT (-39.025055 -3.378169)'))) / (select extract(epoch from '2026-07-22 16:43:03'::timestamp) - extract(epoch from '2026-07-22 16:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025081 -3.378262)'), GeomFromEWKT('SRID=4674;POINT (-39.025055 -3.378169)'))) / (select extract(epoch from '2026-07-22 16:43:03'::timestamp) - extract(epoch from '2026-07-22 16:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025012 -3.378039)', '2026-07-22 16:43:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025055 -3.378169)'), GeomFromEWKT('SRID=4674;POINT (-39.025012 -3.378039)'))) / (select extract(epoch from '2026-07-22 16:43:10'::timestamp) - extract(epoch from '2026-07-22 16:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025055 -3.378169)'), GeomFromEWKT('SRID=4674;POINT (-39.025012 -3.378039)'))) / (select extract(epoch from '2026-07-22 16:43:10'::timestamp) - extract(epoch from '2026-07-22 16:43:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024963 -3.377925)', '2026-07-22 16:43:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025012 -3.378039)'), GeomFromEWKT('SRID=4674;POINT (-39.024963 -3.377925)'))) / (select extract(epoch from '2026-07-22 16:43:17'::timestamp) - extract(epoch from '2026-07-22 16:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025012 -3.378039)'), GeomFromEWKT('SRID=4674;POINT (-39.024963 -3.377925)'))) / (select extract(epoch from '2026-07-22 16:43:17'::timestamp) - extract(epoch from '2026-07-22 16:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02494 -3.377812)', '2026-07-22 16:43:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024963 -3.377925)'), GeomFromEWKT('SRID=4674;POINT (-39.02494 -3.377812)'))) / (select extract(epoch from '2026-07-22 16:43:23'::timestamp) - extract(epoch from '2026-07-22 16:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024963 -3.377925)'), GeomFromEWKT('SRID=4674;POINT (-39.02494 -3.377812)'))) / (select extract(epoch from '2026-07-22 16:43:23'::timestamp) - extract(epoch from '2026-07-22 16:43:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024914 -3.377723)', '2026-07-22 16:43:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02494 -3.377812)'), GeomFromEWKT('SRID=4674;POINT (-39.024914 -3.377723)'))) / (select extract(epoch from '2026-07-22 16:43:28'::timestamp) - extract(epoch from '2026-07-22 16:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02494 -3.377812)'), GeomFromEWKT('SRID=4674;POINT (-39.024914 -3.377723)'))) / (select extract(epoch from '2026-07-22 16:43:28'::timestamp) - extract(epoch from '2026-07-22 16:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02488 -3.377612)', '2026-07-22 16:43:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024914 -3.377723)'), GeomFromEWKT('SRID=4674;POINT (-39.02488 -3.377612)'))) / (select extract(epoch from '2026-07-22 16:43:34'::timestamp) - extract(epoch from '2026-07-22 16:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024914 -3.377723)'), GeomFromEWKT('SRID=4674;POINT (-39.02488 -3.377612)'))) / (select extract(epoch from '2026-07-22 16:43:34'::timestamp) - extract(epoch from '2026-07-22 16:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02482 -3.377468)', '2026-07-22 16:43:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02488 -3.377612)'), GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.377468)'))) / (select extract(epoch from '2026-07-22 16:43:42'::timestamp) - extract(epoch from '2026-07-22 16:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02488 -3.377612)'), GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.377468)'))) / (select extract(epoch from '2026-07-22 16:43:42'::timestamp) - extract(epoch from '2026-07-22 16:43:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024774 -3.377369)', '2026-07-22 16:43:48', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.377468)'), GeomFromEWKT('SRID=4674;POINT (-39.024774 -3.377369)'))) / (select extract(epoch from '2026-07-22 16:43:48'::timestamp) - extract(epoch from '2026-07-22 16:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.377468)'), GeomFromEWKT('SRID=4674;POINT (-39.024774 -3.377369)'))) / (select extract(epoch from '2026-07-22 16:43:48'::timestamp) - extract(epoch from '2026-07-22 16:43:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024748 -3.377281)', '2026-07-22 16:43:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024774 -3.377369)'), GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.377281)'))) / (select extract(epoch from '2026-07-22 16:43:53'::timestamp) - extract(epoch from '2026-07-22 16:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024774 -3.377369)'), GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.377281)'))) / (select extract(epoch from '2026-07-22 16:43:53'::timestamp) - extract(epoch from '2026-07-22 16:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024716 -3.377148)', '2026-07-22 16:44:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.377281)'), GeomFromEWKT('SRID=4674;POINT (-39.024716 -3.377148)'))) / (select extract(epoch from '2026-07-22 16:44:00'::timestamp) - extract(epoch from '2026-07-22 16:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.377281)'), GeomFromEWKT('SRID=4674;POINT (-39.024716 -3.377148)'))) / (select extract(epoch from '2026-07-22 16:44:00'::timestamp) - extract(epoch from '2026-07-22 16:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024684 -3.377052)', '2026-07-22 16:44:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024716 -3.377148)'), GeomFromEWKT('SRID=4674;POINT (-39.024684 -3.377052)'))) / (select extract(epoch from '2026-07-22 16:44:05'::timestamp) - extract(epoch from '2026-07-22 16:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024716 -3.377148)'), GeomFromEWKT('SRID=4674;POINT (-39.024684 -3.377052)'))) / (select extract(epoch from '2026-07-22 16:44:05'::timestamp) - extract(epoch from '2026-07-22 16:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024637 -3.376922)', '2026-07-22 16:44:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024684 -3.377052)'), GeomFromEWKT('SRID=4674;POINT (-39.024637 -3.376922)'))) / (select extract(epoch from '2026-07-22 16:44:12'::timestamp) - extract(epoch from '2026-07-22 16:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024684 -3.377052)'), GeomFromEWKT('SRID=4674;POINT (-39.024637 -3.376922)'))) / (select extract(epoch from '2026-07-22 16:44:12'::timestamp) - extract(epoch from '2026-07-22 16:44:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024582 -3.376801)', '2026-07-22 16:44:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024637 -3.376922)'), GeomFromEWKT('SRID=4674;POINT (-39.024582 -3.376801)'))) / (select extract(epoch from '2026-07-22 16:44:19'::timestamp) - extract(epoch from '2026-07-22 16:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024637 -3.376922)'), GeomFromEWKT('SRID=4674;POINT (-39.024582 -3.376801)'))) / (select extract(epoch from '2026-07-22 16:44:19'::timestamp) - extract(epoch from '2026-07-22 16:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024573 -3.376772)', '2026-07-22 16:44:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024582 -3.376801)'), GeomFromEWKT('SRID=4674;POINT (-39.024573 -3.376772)'))) / (select extract(epoch from '2026-07-22 16:44:21'::timestamp) - extract(epoch from '2026-07-22 16:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024582 -3.376801)'), GeomFromEWKT('SRID=4674;POINT (-39.024573 -3.376772)'))) / (select extract(epoch from '2026-07-22 16:44:21'::timestamp) - extract(epoch from '2026-07-22 16:44:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024547 -3.376719)', '2026-07-22 16:44:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024573 -3.376772)'), GeomFromEWKT('SRID=4674;POINT (-39.024547 -3.376719)'))) / (select extract(epoch from '2026-07-22 16:44:24'::timestamp) - extract(epoch from '2026-07-22 16:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024573 -3.376772)'), GeomFromEWKT('SRID=4674;POINT (-39.024547 -3.376719)'))) / (select extract(epoch from '2026-07-22 16:44:24'::timestamp) - extract(epoch from '2026-07-22 16:44:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024514 -3.376591)', '2026-07-22 16:44:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024547 -3.376719)'), GeomFromEWKT('SRID=4674;POINT (-39.024514 -3.376591)'))) / (select extract(epoch from '2026-07-22 16:44:31'::timestamp) - extract(epoch from '2026-07-22 16:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024547 -3.376719)'), GeomFromEWKT('SRID=4674;POINT (-39.024514 -3.376591)'))) / (select extract(epoch from '2026-07-22 16:44:31'::timestamp) - extract(epoch from '2026-07-22 16:44:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024462 -3.376465)', '2026-07-22 16:44:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024514 -3.376591)'), GeomFromEWKT('SRID=4674;POINT (-39.024462 -3.376465)'))) / (select extract(epoch from '2026-07-22 16:44:38'::timestamp) - extract(epoch from '2026-07-22 16:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024514 -3.376591)'), GeomFromEWKT('SRID=4674;POINT (-39.024462 -3.376465)'))) / (select extract(epoch from '2026-07-22 16:44:38'::timestamp) - extract(epoch from '2026-07-22 16:44:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024424 -3.37634)', '2026-07-22 16:44:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024462 -3.376465)'), GeomFromEWKT('SRID=4674;POINT (-39.024424 -3.37634)'))) / (select extract(epoch from '2026-07-22 16:44:45'::timestamp) - extract(epoch from '2026-07-22 16:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024462 -3.376465)'), GeomFromEWKT('SRID=4674;POINT (-39.024424 -3.37634)'))) / (select extract(epoch from '2026-07-22 16:44:45'::timestamp) - extract(epoch from '2026-07-22 16:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024407 -3.376227)', '2026-07-22 16:44:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024424 -3.37634)'), GeomFromEWKT('SRID=4674;POINT (-39.024407 -3.376227)'))) / (select extract(epoch from '2026-07-22 16:44:51'::timestamp) - extract(epoch from '2026-07-22 16:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024424 -3.37634)'), GeomFromEWKT('SRID=4674;POINT (-39.024407 -3.376227)'))) / (select extract(epoch from '2026-07-22 16:44:51'::timestamp) - extract(epoch from '2026-07-22 16:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024361 -3.376099)', '2026-07-22 16:44:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024407 -3.376227)'), GeomFromEWKT('SRID=4674;POINT (-39.024361 -3.376099)'))) / (select extract(epoch from '2026-07-22 16:44:58'::timestamp) - extract(epoch from '2026-07-22 16:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024407 -3.376227)'), GeomFromEWKT('SRID=4674;POINT (-39.024361 -3.376099)'))) / (select extract(epoch from '2026-07-22 16:44:58'::timestamp) - extract(epoch from '2026-07-22 16:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02433 -3.375986)', '2026-07-22 16:45:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024361 -3.376099)'), GeomFromEWKT('SRID=4674;POINT (-39.02433 -3.375986)'))) / (select extract(epoch from '2026-07-22 16:45:04'::timestamp) - extract(epoch from '2026-07-22 16:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024361 -3.376099)'), GeomFromEWKT('SRID=4674;POINT (-39.02433 -3.375986)'))) / (select extract(epoch from '2026-07-22 16:45:04'::timestamp) - extract(epoch from '2026-07-22 16:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024294 -3.375861)', '2026-07-22 16:45:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02433 -3.375986)'), GeomFromEWKT('SRID=4674;POINT (-39.024294 -3.375861)'))) / (select extract(epoch from '2026-07-22 16:45:11'::timestamp) - extract(epoch from '2026-07-22 16:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02433 -3.375986)'), GeomFromEWKT('SRID=4674;POINT (-39.024294 -3.375861)'))) / (select extract(epoch from '2026-07-22 16:45:11'::timestamp) - extract(epoch from '2026-07-22 16:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02425 -3.375743)', '2026-07-22 16:45:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024294 -3.375861)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.375743)'))) / (select extract(epoch from '2026-07-22 16:45:17'::timestamp) - extract(epoch from '2026-07-22 16:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024294 -3.375861)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.375743)'))) / (select extract(epoch from '2026-07-22 16:45:17'::timestamp) - extract(epoch from '2026-07-22 16:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024213 -3.375613)', '2026-07-22 16:45:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.375743)'), GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.375613)'))) / (select extract(epoch from '2026-07-22 16:45:24'::timestamp) - extract(epoch from '2026-07-22 16:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.375743)'), GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.375613)'))) / (select extract(epoch from '2026-07-22 16:45:24'::timestamp) - extract(epoch from '2026-07-22 16:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024187 -3.375545)', '2026-07-22 16:45:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.375613)'), GeomFromEWKT('SRID=4674;POINT (-39.024187 -3.375545)'))) / (select extract(epoch from '2026-07-22 16:45:28'::timestamp) - extract(epoch from '2026-07-22 16:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.375613)'), GeomFromEWKT('SRID=4674;POINT (-39.024187 -3.375545)'))) / (select extract(epoch from '2026-07-22 16:45:28'::timestamp) - extract(epoch from '2026-07-22 16:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02418 -3.37553)', '2026-07-22 16:45:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024187 -3.375545)'), GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.37553)'))) / (select extract(epoch from '2026-07-22 16:45:29'::timestamp) - extract(epoch from '2026-07-22 16:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024187 -3.375545)'), GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.37553)'))) / (select extract(epoch from '2026-07-22 16:45:29'::timestamp) - extract(epoch from '2026-07-22 16:45:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024153 -3.37546)', '2026-07-22 16:45:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.37553)'), GeomFromEWKT('SRID=4674;POINT (-39.024153 -3.37546)'))) / (select extract(epoch from '2026-07-22 16:45:33'::timestamp) - extract(epoch from '2026-07-22 16:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.37553)'), GeomFromEWKT('SRID=4674;POINT (-39.024153 -3.37546)'))) / (select extract(epoch from '2026-07-22 16:45:33'::timestamp) - extract(epoch from '2026-07-22 16:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024103 -3.375355)', '2026-07-22 16:45:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024153 -3.37546)'), GeomFromEWKT('SRID=4674;POINT (-39.024103 -3.375355)'))) / (select extract(epoch from '2026-07-22 16:45:39'::timestamp) - extract(epoch from '2026-07-22 16:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024153 -3.37546)'), GeomFromEWKT('SRID=4674;POINT (-39.024103 -3.375355)'))) / (select extract(epoch from '2026-07-22 16:45:39'::timestamp) - extract(epoch from '2026-07-22 16:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024061 -3.375269)', '2026-07-22 16:45:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024103 -3.375355)'), GeomFromEWKT('SRID=4674;POINT (-39.024061 -3.375269)'))) / (select extract(epoch from '2026-07-22 16:45:44'::timestamp) - extract(epoch from '2026-07-22 16:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024103 -3.375355)'), GeomFromEWKT('SRID=4674;POINT (-39.024061 -3.375269)'))) / (select extract(epoch from '2026-07-22 16:45:44'::timestamp) - extract(epoch from '2026-07-22 16:45:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024005 -3.375154)', '2026-07-22 16:45:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024061 -3.375269)'), GeomFromEWKT('SRID=4674;POINT (-39.024005 -3.375154)'))) / (select extract(epoch from '2026-07-22 16:45:51'::timestamp) - extract(epoch from '2026-07-22 16:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024061 -3.375269)'), GeomFromEWKT('SRID=4674;POINT (-39.024005 -3.375154)'))) / (select extract(epoch from '2026-07-22 16:45:51'::timestamp) - extract(epoch from '2026-07-22 16:45:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023967 -3.375072)', '2026-07-22 16:45:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024005 -3.375154)'), GeomFromEWKT('SRID=4674;POINT (-39.023967 -3.375072)'))) / (select extract(epoch from '2026-07-22 16:45:56'::timestamp) - extract(epoch from '2026-07-22 16:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024005 -3.375154)'), GeomFromEWKT('SRID=4674;POINT (-39.023967 -3.375072)'))) / (select extract(epoch from '2026-07-22 16:45:56'::timestamp) - extract(epoch from '2026-07-22 16:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.0239 -3.374949)', '2026-07-22 16:46:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023967 -3.375072)'), GeomFromEWKT('SRID=4674;POINT (-39.0239 -3.374949)'))) / (select extract(epoch from '2026-07-22 16:46:03'::timestamp) - extract(epoch from '2026-07-22 16:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023967 -3.375072)'), GeomFromEWKT('SRID=4674;POINT (-39.0239 -3.374949)'))) / (select extract(epoch from '2026-07-22 16:46:03'::timestamp) - extract(epoch from '2026-07-22 16:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023866 -3.374852)', '2026-07-22 16:46:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0239 -3.374949)'), GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.374852)'))) / (select extract(epoch from '2026-07-22 16:46:08'::timestamp) - extract(epoch from '2026-07-22 16:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0239 -3.374949)'), GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.374852)'))) / (select extract(epoch from '2026-07-22 16:46:08'::timestamp) - extract(epoch from '2026-07-22 16:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023824 -3.374729)', '2026-07-22 16:46:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.374852)'), GeomFromEWKT('SRID=4674;POINT (-39.023824 -3.374729)'))) / (select extract(epoch from '2026-07-22 16:46:15'::timestamp) - extract(epoch from '2026-07-22 16:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.374852)'), GeomFromEWKT('SRID=4674;POINT (-39.023824 -3.374729)'))) / (select extract(epoch from '2026-07-22 16:46:15'::timestamp) - extract(epoch from '2026-07-22 16:46:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023784 -3.374643)', '2026-07-22 16:46:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023824 -3.374729)'), GeomFromEWKT('SRID=4674;POINT (-39.023784 -3.374643)'))) / (select extract(epoch from '2026-07-22 16:46:20'::timestamp) - extract(epoch from '2026-07-22 16:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023824 -3.374729)'), GeomFromEWKT('SRID=4674;POINT (-39.023784 -3.374643)'))) / (select extract(epoch from '2026-07-22 16:46:20'::timestamp) - extract(epoch from '2026-07-22 16:46:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023747 -3.374511)', '2026-07-22 16:46:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023784 -3.374643)'), GeomFromEWKT('SRID=4674;POINT (-39.023747 -3.374511)'))) / (select extract(epoch from '2026-07-22 16:46:27'::timestamp) - extract(epoch from '2026-07-22 16:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023784 -3.374643)'), GeomFromEWKT('SRID=4674;POINT (-39.023747 -3.374511)'))) / (select extract(epoch from '2026-07-22 16:46:27'::timestamp) - extract(epoch from '2026-07-22 16:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023692 -3.374365)', '2026-07-22 16:46:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023747 -3.374511)'), GeomFromEWKT('SRID=4674;POINT (-39.023692 -3.374365)'))) / (select extract(epoch from '2026-07-22 16:46:35'::timestamp) - extract(epoch from '2026-07-22 16:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023747 -3.374511)'), GeomFromEWKT('SRID=4674;POINT (-39.023692 -3.374365)'))) / (select extract(epoch from '2026-07-22 16:46:35'::timestamp) - extract(epoch from '2026-07-22 16:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023645 -3.374265)', '2026-07-22 16:46:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023692 -3.374365)'), GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.374265)'))) / (select extract(epoch from '2026-07-22 16:46:41'::timestamp) - extract(epoch from '2026-07-22 16:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023692 -3.374365)'), GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.374265)'))) / (select extract(epoch from '2026-07-22 16:46:41'::timestamp) - extract(epoch from '2026-07-22 16:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023584 -3.374137)', '2026-07-22 16:46:49', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.374265)'), GeomFromEWKT('SRID=4674;POINT (-39.023584 -3.374137)'))) / (select extract(epoch from '2026-07-22 16:46:49'::timestamp) - extract(epoch from '2026-07-22 16:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.374265)'), GeomFromEWKT('SRID=4674;POINT (-39.023584 -3.374137)'))) / (select extract(epoch from '2026-07-22 16:46:49'::timestamp) - extract(epoch from '2026-07-22 16:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023547 -3.374021)', '2026-07-22 16:46:56', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023584 -3.374137)'), GeomFromEWKT('SRID=4674;POINT (-39.023547 -3.374021)'))) / (select extract(epoch from '2026-07-22 16:46:56'::timestamp) - extract(epoch from '2026-07-22 16:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023584 -3.374137)'), GeomFromEWKT('SRID=4674;POINT (-39.023547 -3.374021)'))) / (select extract(epoch from '2026-07-22 16:46:56'::timestamp) - extract(epoch from '2026-07-22 16:46:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023521 -3.37394)', '2026-07-22 16:47:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023547 -3.374021)'), GeomFromEWKT('SRID=4674;POINT (-39.023521 -3.37394)'))) / (select extract(epoch from '2026-07-22 16:47:01'::timestamp) - extract(epoch from '2026-07-22 16:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023547 -3.374021)'), GeomFromEWKT('SRID=4674;POINT (-39.023521 -3.37394)'))) / (select extract(epoch from '2026-07-22 16:47:01'::timestamp) - extract(epoch from '2026-07-22 16:46:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023493 -3.373866)', '2026-07-22 16:47:06', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023521 -3.37394)'), GeomFromEWKT('SRID=4674;POINT (-39.023493 -3.373866)'))) / (select extract(epoch from '2026-07-22 16:47:06'::timestamp) - extract(epoch from '2026-07-22 16:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023521 -3.37394)'), GeomFromEWKT('SRID=4674;POINT (-39.023493 -3.373866)'))) / (select extract(epoch from '2026-07-22 16:47:06'::timestamp) - extract(epoch from '2026-07-22 16:47:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023472 -3.37374)', '2026-07-22 16:47:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023493 -3.373866)'), GeomFromEWKT('SRID=4674;POINT (-39.023472 -3.37374)'))) / (select extract(epoch from '2026-07-22 16:47:13'::timestamp) - extract(epoch from '2026-07-22 16:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023493 -3.373866)'), GeomFromEWKT('SRID=4674;POINT (-39.023472 -3.37374)'))) / (select extract(epoch from '2026-07-22 16:47:13'::timestamp) - extract(epoch from '2026-07-22 16:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023454 -3.373688)', '2026-07-22 16:47:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023472 -3.37374)'), GeomFromEWKT('SRID=4674;POINT (-39.023454 -3.373688)'))) / (select extract(epoch from '2026-07-22 16:47:16'::timestamp) - extract(epoch from '2026-07-22 16:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023472 -3.37374)'), GeomFromEWKT('SRID=4674;POINT (-39.023454 -3.373688)'))) / (select extract(epoch from '2026-07-22 16:47:16'::timestamp) - extract(epoch from '2026-07-22 16:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023447 -3.373657)', '2026-07-22 16:47:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023454 -3.373688)'), GeomFromEWKT('SRID=4674;POINT (-39.023447 -3.373657)'))) / (select extract(epoch from '2026-07-22 16:47:18'::timestamp) - extract(epoch from '2026-07-22 16:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023454 -3.373688)'), GeomFromEWKT('SRID=4674;POINT (-39.023447 -3.373657)'))) / (select extract(epoch from '2026-07-22 16:47:18'::timestamp) - extract(epoch from '2026-07-22 16:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023427 -3.373546)', '2026-07-22 16:47:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023447 -3.373657)'), GeomFromEWKT('SRID=4674;POINT (-39.023427 -3.373546)'))) / (select extract(epoch from '2026-07-22 16:47:25'::timestamp) - extract(epoch from '2026-07-22 16:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023447 -3.373657)'), GeomFromEWKT('SRID=4674;POINT (-39.023427 -3.373546)'))) / (select extract(epoch from '2026-07-22 16:47:25'::timestamp) - extract(epoch from '2026-07-22 16:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023405 -3.373439)', '2026-07-22 16:47:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023427 -3.373546)'), GeomFromEWKT('SRID=4674;POINT (-39.023405 -3.373439)'))) / (select extract(epoch from '2026-07-22 16:47:31'::timestamp) - extract(epoch from '2026-07-22 16:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023427 -3.373546)'), GeomFromEWKT('SRID=4674;POINT (-39.023405 -3.373439)'))) / (select extract(epoch from '2026-07-22 16:47:31'::timestamp) - extract(epoch from '2026-07-22 16:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023373 -3.373337)', '2026-07-22 16:47:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023405 -3.373439)'), GeomFromEWKT('SRID=4674;POINT (-39.023373 -3.373337)'))) / (select extract(epoch from '2026-07-22 16:47:37'::timestamp) - extract(epoch from '2026-07-22 16:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023405 -3.373439)'), GeomFromEWKT('SRID=4674;POINT (-39.023373 -3.373337)'))) / (select extract(epoch from '2026-07-22 16:47:37'::timestamp) - extract(epoch from '2026-07-22 16:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023369 -3.373226)', '2026-07-22 16:47:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023373 -3.373337)'), GeomFromEWKT('SRID=4674;POINT (-39.023369 -3.373226)'))) / (select extract(epoch from '2026-07-22 16:47:43'::timestamp) - extract(epoch from '2026-07-22 16:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023373 -3.373337)'), GeomFromEWKT('SRID=4674;POINT (-39.023369 -3.373226)'))) / (select extract(epoch from '2026-07-22 16:47:43'::timestamp) - extract(epoch from '2026-07-22 16:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023339 -3.373132)', '2026-07-22 16:47:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023369 -3.373226)'), GeomFromEWKT('SRID=4674;POINT (-39.023339 -3.373132)'))) / (select extract(epoch from '2026-07-22 16:47:49'::timestamp) - extract(epoch from '2026-07-22 16:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023369 -3.373226)'), GeomFromEWKT('SRID=4674;POINT (-39.023339 -3.373132)'))) / (select extract(epoch from '2026-07-22 16:47:49'::timestamp) - extract(epoch from '2026-07-22 16:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023289 -3.373042)', '2026-07-22 16:47:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023339 -3.373132)'), GeomFromEWKT('SRID=4674;POINT (-39.023289 -3.373042)'))) / (select extract(epoch from '2026-07-22 16:47:55'::timestamp) - extract(epoch from '2026-07-22 16:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023339 -3.373132)'), GeomFromEWKT('SRID=4674;POINT (-39.023289 -3.373042)'))) / (select extract(epoch from '2026-07-22 16:47:55'::timestamp) - extract(epoch from '2026-07-22 16:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023276 -3.373009)', '2026-07-22 16:47:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023289 -3.373042)'), GeomFromEWKT('SRID=4674;POINT (-39.023276 -3.373009)'))) / (select extract(epoch from '2026-07-22 16:47:57'::timestamp) - extract(epoch from '2026-07-22 16:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023289 -3.373042)'), GeomFromEWKT('SRID=4674;POINT (-39.023276 -3.373009)'))) / (select extract(epoch from '2026-07-22 16:47:57'::timestamp) - extract(epoch from '2026-07-22 16:47:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02326 -3.37296)', '2026-07-22 16:48:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023276 -3.373009)'), GeomFromEWKT('SRID=4674;POINT (-39.02326 -3.37296)'))) / (select extract(epoch from '2026-07-22 16:48:00'::timestamp) - extract(epoch from '2026-07-22 16:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023276 -3.373009)'), GeomFromEWKT('SRID=4674;POINT (-39.02326 -3.37296)'))) / (select extract(epoch from '2026-07-22 16:48:00'::timestamp) - extract(epoch from '2026-07-22 16:47:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023225 -3.37286)', '2026-07-22 16:48:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02326 -3.37296)'), GeomFromEWKT('SRID=4674;POINT (-39.023225 -3.37286)'))) / (select extract(epoch from '2026-07-22 16:48:06'::timestamp) - extract(epoch from '2026-07-22 16:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02326 -3.37296)'), GeomFromEWKT('SRID=4674;POINT (-39.023225 -3.37286)'))) / (select extract(epoch from '2026-07-22 16:48:06'::timestamp) - extract(epoch from '2026-07-22 16:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02322 -3.372843)', '2026-07-22 16:48:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023225 -3.37286)'), GeomFromEWKT('SRID=4674;POINT (-39.02322 -3.372843)'))) / (select extract(epoch from '2026-07-22 16:48:07'::timestamp) - extract(epoch from '2026-07-22 16:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023225 -3.37286)'), GeomFromEWKT('SRID=4674;POINT (-39.02322 -3.372843)'))) / (select extract(epoch from '2026-07-22 16:48:07'::timestamp) - extract(epoch from '2026-07-22 16:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023221 -3.372792)', '2026-07-22 16:48:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02322 -3.372843)'), GeomFromEWKT('SRID=4674;POINT (-39.023221 -3.372792)'))) / (select extract(epoch from '2026-07-22 16:48:10'::timestamp) - extract(epoch from '2026-07-22 16:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02322 -3.372843)'), GeomFromEWKT('SRID=4674;POINT (-39.023221 -3.372792)'))) / (select extract(epoch from '2026-07-22 16:48:10'::timestamp) - extract(epoch from '2026-07-22 16:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023208 -3.372743)', '2026-07-22 16:48:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023221 -3.372792)'), GeomFromEWKT('SRID=4674;POINT (-39.023208 -3.372743)'))) / (select extract(epoch from '2026-07-22 16:48:13'::timestamp) - extract(epoch from '2026-07-22 16:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023221 -3.372792)'), GeomFromEWKT('SRID=4674;POINT (-39.023208 -3.372743)'))) / (select extract(epoch from '2026-07-22 16:48:13'::timestamp) - extract(epoch from '2026-07-22 16:48:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023206 -3.372711)', '2026-07-22 16:48:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023208 -3.372743)'), GeomFromEWKT('SRID=4674;POINT (-39.023206 -3.372711)'))) / (select extract(epoch from '2026-07-22 16:48:15'::timestamp) - extract(epoch from '2026-07-22 16:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023208 -3.372743)'), GeomFromEWKT('SRID=4674;POINT (-39.023206 -3.372711)'))) / (select extract(epoch from '2026-07-22 16:48:15'::timestamp) - extract(epoch from '2026-07-22 16:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023181 -3.372635)', '2026-07-22 16:48:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023206 -3.372711)'), GeomFromEWKT('SRID=4674;POINT (-39.023181 -3.372635)'))) / (select extract(epoch from '2026-07-22 16:48:20'::timestamp) - extract(epoch from '2026-07-22 16:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023206 -3.372711)'), GeomFromEWKT('SRID=4674;POINT (-39.023181 -3.372635)'))) / (select extract(epoch from '2026-07-22 16:48:20'::timestamp) - extract(epoch from '2026-07-22 16:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023135 -3.372545)', '2026-07-22 16:48:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023181 -3.372635)'), GeomFromEWKT('SRID=4674;POINT (-39.023135 -3.372545)'))) / (select extract(epoch from '2026-07-22 16:48:27'::timestamp) - extract(epoch from '2026-07-22 16:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023181 -3.372635)'), GeomFromEWKT('SRID=4674;POINT (-39.023135 -3.372545)'))) / (select extract(epoch from '2026-07-22 16:48:27'::timestamp) - extract(epoch from '2026-07-22 16:48:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023123 -3.372448)', '2026-07-22 16:48:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023135 -3.372545)'), GeomFromEWKT('SRID=4674;POINT (-39.023123 -3.372448)'))) / (select extract(epoch from '2026-07-22 16:48:33'::timestamp) - extract(epoch from '2026-07-22 16:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023135 -3.372545)'), GeomFromEWKT('SRID=4674;POINT (-39.023123 -3.372448)'))) / (select extract(epoch from '2026-07-22 16:48:33'::timestamp) - extract(epoch from '2026-07-22 16:48:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023103 -3.372382)', '2026-07-22 16:48:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023123 -3.372448)'), GeomFromEWKT('SRID=4674;POINT (-39.023103 -3.372382)'))) / (select extract(epoch from '2026-07-22 16:48:37'::timestamp) - extract(epoch from '2026-07-22 16:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023123 -3.372448)'), GeomFromEWKT('SRID=4674;POINT (-39.023103 -3.372382)'))) / (select extract(epoch from '2026-07-22 16:48:37'::timestamp) - extract(epoch from '2026-07-22 16:48:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023102 -3.372365)', '2026-07-22 16:48:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023103 -3.372382)'), GeomFromEWKT('SRID=4674;POINT (-39.023102 -3.372365)'))) / (select extract(epoch from '2026-07-22 16:48:38'::timestamp) - extract(epoch from '2026-07-22 16:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023103 -3.372382)'), GeomFromEWKT('SRID=4674;POINT (-39.023102 -3.372365)'))) / (select extract(epoch from '2026-07-22 16:48:38'::timestamp) - extract(epoch from '2026-07-22 16:48:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023103 -3.372333)', '2026-07-22 16:48:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023102 -3.372365)'), GeomFromEWKT('SRID=4674;POINT (-39.023103 -3.372333)'))) / (select extract(epoch from '2026-07-22 16:48:40'::timestamp) - extract(epoch from '2026-07-22 16:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023102 -3.372365)'), GeomFromEWKT('SRID=4674;POINT (-39.023103 -3.372333)'))) / (select extract(epoch from '2026-07-22 16:48:40'::timestamp) - extract(epoch from '2026-07-22 16:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023092 -3.372297)', '2026-07-22 16:48:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023103 -3.372333)'), GeomFromEWKT('SRID=4674;POINT (-39.023092 -3.372297)'))) / (select extract(epoch from '2026-07-22 16:48:42'::timestamp) - extract(epoch from '2026-07-22 16:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023103 -3.372333)'), GeomFromEWKT('SRID=4674;POINT (-39.023092 -3.372297)'))) / (select extract(epoch from '2026-07-22 16:48:42'::timestamp) - extract(epoch from '2026-07-22 16:48:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023082 -3.372241)', '2026-07-22 16:48:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023092 -3.372297)'), GeomFromEWKT('SRID=4674;POINT (-39.023082 -3.372241)'))) / (select extract(epoch from '2026-07-22 16:48:46'::timestamp) - extract(epoch from '2026-07-22 16:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023092 -3.372297)'), GeomFromEWKT('SRID=4674;POINT (-39.023082 -3.372241)'))) / (select extract(epoch from '2026-07-22 16:48:46'::timestamp) - extract(epoch from '2026-07-22 16:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023074 -3.372226)', '2026-07-22 16:48:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023082 -3.372241)'), GeomFromEWKT('SRID=4674;POINT (-39.023074 -3.372226)'))) / (select extract(epoch from '2026-07-22 16:48:47'::timestamp) - extract(epoch from '2026-07-22 16:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023082 -3.372241)'), GeomFromEWKT('SRID=4674;POINT (-39.023074 -3.372226)'))) / (select extract(epoch from '2026-07-22 16:48:47'::timestamp) - extract(epoch from '2026-07-22 16:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023032 -3.372125)', '2026-07-22 16:48:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023074 -3.372226)'), GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.372125)'))) / (select extract(epoch from '2026-07-22 16:48:54'::timestamp) - extract(epoch from '2026-07-22 16:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023074 -3.372226)'), GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.372125)'))) / (select extract(epoch from '2026-07-22 16:48:54'::timestamp) - extract(epoch from '2026-07-22 16:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023015 -3.372077)', '2026-07-22 16:48:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.372125)'), GeomFromEWKT('SRID=4674;POINT (-39.023015 -3.372077)'))) / (select extract(epoch from '2026-07-22 16:48:57'::timestamp) - extract(epoch from '2026-07-22 16:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.372125)'), GeomFromEWKT('SRID=4674;POINT (-39.023015 -3.372077)'))) / (select extract(epoch from '2026-07-22 16:48:57'::timestamp) - extract(epoch from '2026-07-22 16:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022998 -3.372048)', '2026-07-22 16:48:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023015 -3.372077)'), GeomFromEWKT('SRID=4674;POINT (-39.022998 -3.372048)'))) / (select extract(epoch from '2026-07-22 16:48:59'::timestamp) - extract(epoch from '2026-07-22 16:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023015 -3.372077)'), GeomFromEWKT('SRID=4674;POINT (-39.022998 -3.372048)'))) / (select extract(epoch from '2026-07-22 16:48:59'::timestamp) - extract(epoch from '2026-07-22 16:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02294 -3.371932)', '2026-07-22 16:49:07', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022998 -3.372048)'), GeomFromEWKT('SRID=4674;POINT (-39.02294 -3.371932)'))) / (select extract(epoch from '2026-07-22 16:49:07'::timestamp) - extract(epoch from '2026-07-22 16:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022998 -3.372048)'), GeomFromEWKT('SRID=4674;POINT (-39.02294 -3.371932)'))) / (select extract(epoch from '2026-07-22 16:49:07'::timestamp) - extract(epoch from '2026-07-22 16:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022886 -3.37184)', '2026-07-22 16:49:14', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02294 -3.371932)'), GeomFromEWKT('SRID=4674;POINT (-39.022886 -3.37184)'))) / (select extract(epoch from '2026-07-22 16:49:14'::timestamp) - extract(epoch from '2026-07-22 16:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02294 -3.371932)'), GeomFromEWKT('SRID=4674;POINT (-39.022886 -3.37184)'))) / (select extract(epoch from '2026-07-22 16:49:14'::timestamp) - extract(epoch from '2026-07-22 16:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022855 -3.371773)', '2026-07-22 16:49:19', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022886 -3.37184)'), GeomFromEWKT('SRID=4674;POINT (-39.022855 -3.371773)'))) / (select extract(epoch from '2026-07-22 16:49:19'::timestamp) - extract(epoch from '2026-07-22 16:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022886 -3.37184)'), GeomFromEWKT('SRID=4674;POINT (-39.022855 -3.371773)'))) / (select extract(epoch from '2026-07-22 16:49:19'::timestamp) - extract(epoch from '2026-07-22 16:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022848 -3.371759)', '2026-07-22 16:49:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022855 -3.371773)'), GeomFromEWKT('SRID=4674;POINT (-39.022848 -3.371759)'))) / (select extract(epoch from '2026-07-22 16:49:20'::timestamp) - extract(epoch from '2026-07-22 16:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022855 -3.371773)'), GeomFromEWKT('SRID=4674;POINT (-39.022848 -3.371759)'))) / (select extract(epoch from '2026-07-22 16:49:20'::timestamp) - extract(epoch from '2026-07-22 16:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02282 -3.371701)', '2026-07-22 16:49:24', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022848 -3.371759)'), GeomFromEWKT('SRID=4674;POINT (-39.02282 -3.371701)'))) / (select extract(epoch from '2026-07-22 16:49:24'::timestamp) - extract(epoch from '2026-07-22 16:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022848 -3.371759)'), GeomFromEWKT('SRID=4674;POINT (-39.02282 -3.371701)'))) / (select extract(epoch from '2026-07-22 16:49:24'::timestamp) - extract(epoch from '2026-07-22 16:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022809 -3.371675)', '2026-07-22 16:49:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02282 -3.371701)'), GeomFromEWKT('SRID=4674;POINT (-39.022809 -3.371675)'))) / (select extract(epoch from '2026-07-22 16:49:26'::timestamp) - extract(epoch from '2026-07-22 16:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02282 -3.371701)'), GeomFromEWKT('SRID=4674;POINT (-39.022809 -3.371675)'))) / (select extract(epoch from '2026-07-22 16:49:26'::timestamp) - extract(epoch from '2026-07-22 16:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022754 -3.371549)', '2026-07-22 16:49:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022809 -3.371675)'), GeomFromEWKT('SRID=4674;POINT (-39.022754 -3.371549)'))) / (select extract(epoch from '2026-07-22 16:49:34'::timestamp) - extract(epoch from '2026-07-22 16:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022809 -3.371675)'), GeomFromEWKT('SRID=4674;POINT (-39.022754 -3.371549)'))) / (select extract(epoch from '2026-07-22 16:49:34'::timestamp) - extract(epoch from '2026-07-22 16:49:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022711 -3.371455)', '2026-07-22 16:49:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022754 -3.371549)'), GeomFromEWKT('SRID=4674;POINT (-39.022711 -3.371455)'))) / (select extract(epoch from '2026-07-22 16:49:40'::timestamp) - extract(epoch from '2026-07-22 16:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022754 -3.371549)'), GeomFromEWKT('SRID=4674;POINT (-39.022711 -3.371455)'))) / (select extract(epoch from '2026-07-22 16:49:40'::timestamp) - extract(epoch from '2026-07-22 16:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022671 -3.37136)', '2026-07-22 16:49:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022711 -3.371455)'), GeomFromEWKT('SRID=4674;POINT (-39.022671 -3.37136)'))) / (select extract(epoch from '2026-07-22 16:49:46'::timestamp) - extract(epoch from '2026-07-22 16:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022711 -3.371455)'), GeomFromEWKT('SRID=4674;POINT (-39.022671 -3.37136)'))) / (select extract(epoch from '2026-07-22 16:49:46'::timestamp) - extract(epoch from '2026-07-22 16:49:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02266 -3.371312)', '2026-07-22 16:49:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022671 -3.37136)'), GeomFromEWKT('SRID=4674;POINT (-39.02266 -3.371312)'))) / (select extract(epoch from '2026-07-22 16:49:49'::timestamp) - extract(epoch from '2026-07-22 16:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022671 -3.37136)'), GeomFromEWKT('SRID=4674;POINT (-39.02266 -3.371312)'))) / (select extract(epoch from '2026-07-22 16:49:49'::timestamp) - extract(epoch from '2026-07-22 16:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022645 -3.371285)', '2026-07-22 16:49:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02266 -3.371312)'), GeomFromEWKT('SRID=4674;POINT (-39.022645 -3.371285)'))) / (select extract(epoch from '2026-07-22 16:49:51'::timestamp) - extract(epoch from '2026-07-22 16:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02266 -3.371312)'), GeomFromEWKT('SRID=4674;POINT (-39.022645 -3.371285)'))) / (select extract(epoch from '2026-07-22 16:49:51'::timestamp) - extract(epoch from '2026-07-22 16:49:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022608 -3.371183)', '2026-07-22 16:49:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022645 -3.371285)'), GeomFromEWKT('SRID=4674;POINT (-39.022608 -3.371183)'))) / (select extract(epoch from '2026-07-22 16:49:58'::timestamp) - extract(epoch from '2026-07-22 16:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022645 -3.371285)'), GeomFromEWKT('SRID=4674;POINT (-39.022608 -3.371183)'))) / (select extract(epoch from '2026-07-22 16:49:58'::timestamp) - extract(epoch from '2026-07-22 16:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022583 -3.371074)', '2026-07-22 16:50:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022608 -3.371183)'), GeomFromEWKT('SRID=4674;POINT (-39.022583 -3.371074)'))) / (select extract(epoch from '2026-07-22 16:50:05'::timestamp) - extract(epoch from '2026-07-22 16:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022608 -3.371183)'), GeomFromEWKT('SRID=4674;POINT (-39.022583 -3.371074)'))) / (select extract(epoch from '2026-07-22 16:50:05'::timestamp) - extract(epoch from '2026-07-22 16:49:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022537 -3.37096)', '2026-07-22 16:50:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022583 -3.371074)'), GeomFromEWKT('SRID=4674;POINT (-39.022537 -3.37096)'))) / (select extract(epoch from '2026-07-22 16:50:12'::timestamp) - extract(epoch from '2026-07-22 16:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022583 -3.371074)'), GeomFromEWKT('SRID=4674;POINT (-39.022537 -3.37096)'))) / (select extract(epoch from '2026-07-22 16:50:12'::timestamp) - extract(epoch from '2026-07-22 16:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022495 -3.370863)', '2026-07-22 16:50:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022537 -3.37096)'), GeomFromEWKT('SRID=4674;POINT (-39.022495 -3.370863)'))) / (select extract(epoch from '2026-07-22 16:50:19'::timestamp) - extract(epoch from '2026-07-22 16:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022537 -3.37096)'), GeomFromEWKT('SRID=4674;POINT (-39.022495 -3.370863)'))) / (select extract(epoch from '2026-07-22 16:50:19'::timestamp) - extract(epoch from '2026-07-22 16:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022451 -3.370775)', '2026-07-22 16:50:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022495 -3.370863)'), GeomFromEWKT('SRID=4674;POINT (-39.022451 -3.370775)'))) / (select extract(epoch from '2026-07-22 16:50:25'::timestamp) - extract(epoch from '2026-07-22 16:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022495 -3.370863)'), GeomFromEWKT('SRID=4674;POINT (-39.022451 -3.370775)'))) / (select extract(epoch from '2026-07-22 16:50:25'::timestamp) - extract(epoch from '2026-07-22 16:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022397 -3.370671)', '2026-07-22 16:50:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022451 -3.370775)'), GeomFromEWKT('SRID=4674;POINT (-39.022397 -3.370671)'))) / (select extract(epoch from '2026-07-22 16:50:32'::timestamp) - extract(epoch from '2026-07-22 16:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022451 -3.370775)'), GeomFromEWKT('SRID=4674;POINT (-39.022397 -3.370671)'))) / (select extract(epoch from '2026-07-22 16:50:32'::timestamp) - extract(epoch from '2026-07-22 16:50:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022345 -3.370582)', '2026-07-22 16:50:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022397 -3.370671)'), GeomFromEWKT('SRID=4674;POINT (-39.022345 -3.370582)'))) / (select extract(epoch from '2026-07-22 16:50:38'::timestamp) - extract(epoch from '2026-07-22 16:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022397 -3.370671)'), GeomFromEWKT('SRID=4674;POINT (-39.022345 -3.370582)'))) / (select extract(epoch from '2026-07-22 16:50:38'::timestamp) - extract(epoch from '2026-07-22 16:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022308 -3.370512)', '2026-07-22 16:50:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022345 -3.370582)'), GeomFromEWKT('SRID=4674;POINT (-39.022308 -3.370512)'))) / (select extract(epoch from '2026-07-22 16:50:43'::timestamp) - extract(epoch from '2026-07-22 16:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022345 -3.370582)'), GeomFromEWKT('SRID=4674;POINT (-39.022308 -3.370512)'))) / (select extract(epoch from '2026-07-22 16:50:43'::timestamp) - extract(epoch from '2026-07-22 16:50:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022288 -3.370434)', '2026-07-22 16:50:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022308 -3.370512)'), GeomFromEWKT('SRID=4674;POINT (-39.022288 -3.370434)'))) / (select extract(epoch from '2026-07-22 16:50:48'::timestamp) - extract(epoch from '2026-07-22 16:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022308 -3.370512)'), GeomFromEWKT('SRID=4674;POINT (-39.022288 -3.370434)'))) / (select extract(epoch from '2026-07-22 16:50:48'::timestamp) - extract(epoch from '2026-07-22 16:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022265 -3.370378)', '2026-07-22 16:50:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022288 -3.370434)'), GeomFromEWKT('SRID=4674;POINT (-39.022265 -3.370378)'))) / (select extract(epoch from '2026-07-22 16:50:52'::timestamp) - extract(epoch from '2026-07-22 16:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022288 -3.370434)'), GeomFromEWKT('SRID=4674;POINT (-39.022265 -3.370378)'))) / (select extract(epoch from '2026-07-22 16:50:52'::timestamp) - extract(epoch from '2026-07-22 16:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022249 -3.370348)', '2026-07-22 16:50:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022265 -3.370378)'), GeomFromEWKT('SRID=4674;POINT (-39.022249 -3.370348)'))) / (select extract(epoch from '2026-07-22 16:50:54'::timestamp) - extract(epoch from '2026-07-22 16:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022265 -3.370378)'), GeomFromEWKT('SRID=4674;POINT (-39.022249 -3.370348)'))) / (select extract(epoch from '2026-07-22 16:50:54'::timestamp) - extract(epoch from '2026-07-22 16:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022213 -3.370233)', '2026-07-22 16:51:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022249 -3.370348)'), GeomFromEWKT('SRID=4674;POINT (-39.022213 -3.370233)'))) / (select extract(epoch from '2026-07-22 16:51:01'::timestamp) - extract(epoch from '2026-07-22 16:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022249 -3.370348)'), GeomFromEWKT('SRID=4674;POINT (-39.022213 -3.370233)'))) / (select extract(epoch from '2026-07-22 16:51:01'::timestamp) - extract(epoch from '2026-07-22 16:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022184 -3.370126)', '2026-07-22 16:51:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022213 -3.370233)'), GeomFromEWKT('SRID=4674;POINT (-39.022184 -3.370126)'))) / (select extract(epoch from '2026-07-22 16:51:07'::timestamp) - extract(epoch from '2026-07-22 16:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022213 -3.370233)'), GeomFromEWKT('SRID=4674;POINT (-39.022184 -3.370126)'))) / (select extract(epoch from '2026-07-22 16:51:07'::timestamp) - extract(epoch from '2026-07-22 16:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022141 -3.37003)', '2026-07-22 16:51:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022184 -3.370126)'), GeomFromEWKT('SRID=4674;POINT (-39.022141 -3.37003)'))) / (select extract(epoch from '2026-07-22 16:51:13'::timestamp) - extract(epoch from '2026-07-22 16:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022184 -3.370126)'), GeomFromEWKT('SRID=4674;POINT (-39.022141 -3.37003)'))) / (select extract(epoch from '2026-07-22 16:51:13'::timestamp) - extract(epoch from '2026-07-22 16:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.0221 -3.369934)', '2026-07-22 16:51:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022141 -3.37003)'), GeomFromEWKT('SRID=4674;POINT (-39.0221 -3.369934)'))) / (select extract(epoch from '2026-07-22 16:51:19'::timestamp) - extract(epoch from '2026-07-22 16:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022141 -3.37003)'), GeomFromEWKT('SRID=4674;POINT (-39.0221 -3.369934)'))) / (select extract(epoch from '2026-07-22 16:51:19'::timestamp) - extract(epoch from '2026-07-22 16:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022082 -3.369905)', '2026-07-22 16:51:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0221 -3.369934)'), GeomFromEWKT('SRID=4674;POINT (-39.022082 -3.369905)'))) / (select extract(epoch from '2026-07-22 16:51:21'::timestamp) - extract(epoch from '2026-07-22 16:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0221 -3.369934)'), GeomFromEWKT('SRID=4674;POINT (-39.022082 -3.369905)'))) / (select extract(epoch from '2026-07-22 16:51:21'::timestamp) - extract(epoch from '2026-07-22 16:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022074 -3.369873)', '2026-07-22 16:51:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022082 -3.369905)'), GeomFromEWKT('SRID=4674;POINT (-39.022074 -3.369873)'))) / (select extract(epoch from '2026-07-22 16:51:23'::timestamp) - extract(epoch from '2026-07-22 16:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022082 -3.369905)'), GeomFromEWKT('SRID=4674;POINT (-39.022074 -3.369873)'))) / (select extract(epoch from '2026-07-22 16:51:23'::timestamp) - extract(epoch from '2026-07-22 16:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022039 -3.369794)', '2026-07-22 16:51:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022074 -3.369873)'), GeomFromEWKT('SRID=4674;POINT (-39.022039 -3.369794)'))) / (select extract(epoch from '2026-07-22 16:51:28'::timestamp) - extract(epoch from '2026-07-22 16:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022074 -3.369873)'), GeomFromEWKT('SRID=4674;POINT (-39.022039 -3.369794)'))) / (select extract(epoch from '2026-07-22 16:51:28'::timestamp) - extract(epoch from '2026-07-22 16:51:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022001 -3.369687)', '2026-07-22 16:51:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022039 -3.369794)'), GeomFromEWKT('SRID=4674;POINT (-39.022001 -3.369687)'))) / (select extract(epoch from '2026-07-22 16:51:35'::timestamp) - extract(epoch from '2026-07-22 16:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022039 -3.369794)'), GeomFromEWKT('SRID=4674;POINT (-39.022001 -3.369687)'))) / (select extract(epoch from '2026-07-22 16:51:35'::timestamp) - extract(epoch from '2026-07-22 16:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021958 -3.369585)', '2026-07-22 16:51:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022001 -3.369687)'), GeomFromEWKT('SRID=4674;POINT (-39.021958 -3.369585)'))) / (select extract(epoch from '2026-07-22 16:51:42'::timestamp) - extract(epoch from '2026-07-22 16:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022001 -3.369687)'), GeomFromEWKT('SRID=4674;POINT (-39.021958 -3.369585)'))) / (select extract(epoch from '2026-07-22 16:51:42'::timestamp) - extract(epoch from '2026-07-22 16:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02195 -3.369574)', '2026-07-22 16:51:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021958 -3.369585)'), GeomFromEWKT('SRID=4674;POINT (-39.02195 -3.369574)'))) / (select extract(epoch from '2026-07-22 16:51:43'::timestamp) - extract(epoch from '2026-07-22 16:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021958 -3.369585)'), GeomFromEWKT('SRID=4674;POINT (-39.02195 -3.369574)'))) / (select extract(epoch from '2026-07-22 16:51:43'::timestamp) - extract(epoch from '2026-07-22 16:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021923 -3.369524)', '2026-07-22 16:51:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02195 -3.369574)'), GeomFromEWKT('SRID=4674;POINT (-39.021923 -3.369524)'))) / (select extract(epoch from '2026-07-22 16:51:47'::timestamp) - extract(epoch from '2026-07-22 16:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02195 -3.369574)'), GeomFromEWKT('SRID=4674;POINT (-39.021923 -3.369524)'))) / (select extract(epoch from '2026-07-22 16:51:47'::timestamp) - extract(epoch from '2026-07-22 16:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02189 -3.369473)', '2026-07-22 16:51:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021923 -3.369524)'), GeomFromEWKT('SRID=4674;POINT (-39.02189 -3.369473)'))) / (select extract(epoch from '2026-07-22 16:51:51'::timestamp) - extract(epoch from '2026-07-22 16:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021923 -3.369524)'), GeomFromEWKT('SRID=4674;POINT (-39.02189 -3.369473)'))) / (select extract(epoch from '2026-07-22 16:51:51'::timestamp) - extract(epoch from '2026-07-22 16:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021881 -3.369459)', '2026-07-22 16:51:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02189 -3.369473)'), GeomFromEWKT('SRID=4674;POINT (-39.021881 -3.369459)'))) / (select extract(epoch from '2026-07-22 16:51:52'::timestamp) - extract(epoch from '2026-07-22 16:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02189 -3.369473)'), GeomFromEWKT('SRID=4674;POINT (-39.021881 -3.369459)'))) / (select extract(epoch from '2026-07-22 16:51:52'::timestamp) - extract(epoch from '2026-07-22 16:51:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021832 -3.369358)', '2026-07-22 16:51:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021881 -3.369459)'), GeomFromEWKT('SRID=4674;POINT (-39.021832 -3.369358)'))) / (select extract(epoch from '2026-07-22 16:51:59'::timestamp) - extract(epoch from '2026-07-22 16:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021881 -3.369459)'), GeomFromEWKT('SRID=4674;POINT (-39.021832 -3.369358)'))) / (select extract(epoch from '2026-07-22 16:51:59'::timestamp) - extract(epoch from '2026-07-22 16:51:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021768 -3.369237)', '2026-07-22 16:52:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021832 -3.369358)'), GeomFromEWKT('SRID=4674;POINT (-39.021768 -3.369237)'))) / (select extract(epoch from '2026-07-22 16:52:07'::timestamp) - extract(epoch from '2026-07-22 16:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021832 -3.369358)'), GeomFromEWKT('SRID=4674;POINT (-39.021768 -3.369237)'))) / (select extract(epoch from '2026-07-22 16:52:07'::timestamp) - extract(epoch from '2026-07-22 16:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021724 -3.369147)', '2026-07-22 16:52:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021768 -3.369237)'), GeomFromEWKT('SRID=4674;POINT (-39.021724 -3.369147)'))) / (select extract(epoch from '2026-07-22 16:52:13'::timestamp) - extract(epoch from '2026-07-22 16:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021768 -3.369237)'), GeomFromEWKT('SRID=4674;POINT (-39.021724 -3.369147)'))) / (select extract(epoch from '2026-07-22 16:52:13'::timestamp) - extract(epoch from '2026-07-22 16:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021713 -3.369132)', '2026-07-22 16:52:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021724 -3.369147)'), GeomFromEWKT('SRID=4674;POINT (-39.021713 -3.369132)'))) / (select extract(epoch from '2026-07-22 16:52:14'::timestamp) - extract(epoch from '2026-07-22 16:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021724 -3.369147)'), GeomFromEWKT('SRID=4674;POINT (-39.021713 -3.369132)'))) / (select extract(epoch from '2026-07-22 16:52:14'::timestamp) - extract(epoch from '2026-07-22 16:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021697 -3.369087)', '2026-07-22 16:52:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021713 -3.369132)'), GeomFromEWKT('SRID=4674;POINT (-39.021697 -3.369087)'))) / (select extract(epoch from '2026-07-22 16:52:17'::timestamp) - extract(epoch from '2026-07-22 16:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021713 -3.369132)'), GeomFromEWKT('SRID=4674;POINT (-39.021697 -3.369087)'))) / (select extract(epoch from '2026-07-22 16:52:17'::timestamp) - extract(epoch from '2026-07-22 16:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021675 -3.369059)', '2026-07-22 16:52:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021697 -3.369087)'), GeomFromEWKT('SRID=4674;POINT (-39.021675 -3.369059)'))) / (select extract(epoch from '2026-07-22 16:52:19'::timestamp) - extract(epoch from '2026-07-22 16:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021697 -3.369087)'), GeomFromEWKT('SRID=4674;POINT (-39.021675 -3.369059)'))) / (select extract(epoch from '2026-07-22 16:52:19'::timestamp) - extract(epoch from '2026-07-22 16:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021603 -3.368952)', '2026-07-22 16:52:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021675 -3.369059)'), GeomFromEWKT('SRID=4674;POINT (-39.021603 -3.368952)'))) / (select extract(epoch from '2026-07-22 16:52:27'::timestamp) - extract(epoch from '2026-07-22 16:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021675 -3.369059)'), GeomFromEWKT('SRID=4674;POINT (-39.021603 -3.368952)'))) / (select extract(epoch from '2026-07-22 16:52:27'::timestamp) - extract(epoch from '2026-07-22 16:52:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021593 -3.368939)', '2026-07-22 16:52:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021603 -3.368952)'), GeomFromEWKT('SRID=4674;POINT (-39.021593 -3.368939)'))) / (select extract(epoch from '2026-07-22 16:52:28'::timestamp) - extract(epoch from '2026-07-22 16:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021603 -3.368952)'), GeomFromEWKT('SRID=4674;POINT (-39.021593 -3.368939)'))) / (select extract(epoch from '2026-07-22 16:52:28'::timestamp) - extract(epoch from '2026-07-22 16:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021535 -3.368874)', '2026-07-22 16:52:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021593 -3.368939)'), GeomFromEWKT('SRID=4674;POINT (-39.021535 -3.368874)'))) / (select extract(epoch from '2026-07-22 16:52:34'::timestamp) - extract(epoch from '2026-07-22 16:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021593 -3.368939)'), GeomFromEWKT('SRID=4674;POINT (-39.021535 -3.368874)'))) / (select extract(epoch from '2026-07-22 16:52:34'::timestamp) - extract(epoch from '2026-07-22 16:52:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021478 -3.368809)', '2026-07-22 16:52:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021535 -3.368874)'), GeomFromEWKT('SRID=4674;POINT (-39.021478 -3.368809)'))) / (select extract(epoch from '2026-07-22 16:52:40'::timestamp) - extract(epoch from '2026-07-22 16:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021535 -3.368874)'), GeomFromEWKT('SRID=4674;POINT (-39.021478 -3.368809)'))) / (select extract(epoch from '2026-07-22 16:52:40'::timestamp) - extract(epoch from '2026-07-22 16:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021413 -3.368723)', '2026-07-22 16:52:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021478 -3.368809)'), GeomFromEWKT('SRID=4674;POINT (-39.021413 -3.368723)'))) / (select extract(epoch from '2026-07-22 16:52:47'::timestamp) - extract(epoch from '2026-07-22 16:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021478 -3.368809)'), GeomFromEWKT('SRID=4674;POINT (-39.021413 -3.368723)'))) / (select extract(epoch from '2026-07-22 16:52:47'::timestamp) - extract(epoch from '2026-07-22 16:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021397 -3.3687)', '2026-07-22 16:52:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021413 -3.368723)'), GeomFromEWKT('SRID=4674;POINT (-39.021397 -3.3687)'))) / (select extract(epoch from '2026-07-22 16:52:49'::timestamp) - extract(epoch from '2026-07-22 16:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021413 -3.368723)'), GeomFromEWKT('SRID=4674;POINT (-39.021397 -3.3687)'))) / (select extract(epoch from '2026-07-22 16:52:49'::timestamp) - extract(epoch from '2026-07-22 16:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021371 -3.368643)', '2026-07-22 16:52:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021397 -3.3687)'), GeomFromEWKT('SRID=4674;POINT (-39.021371 -3.368643)'))) / (select extract(epoch from '2026-07-22 16:52:53'::timestamp) - extract(epoch from '2026-07-22 16:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021397 -3.3687)'), GeomFromEWKT('SRID=4674;POINT (-39.021371 -3.368643)'))) / (select extract(epoch from '2026-07-22 16:52:53'::timestamp) - extract(epoch from '2026-07-22 16:52:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021346 -3.368605)', '2026-07-22 16:52:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021371 -3.368643)'), GeomFromEWKT('SRID=4674;POINT (-39.021346 -3.368605)'))) / (select extract(epoch from '2026-07-22 16:52:56'::timestamp) - extract(epoch from '2026-07-22 16:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021371 -3.368643)'), GeomFromEWKT('SRID=4674;POINT (-39.021346 -3.368605)'))) / (select extract(epoch from '2026-07-22 16:52:56'::timestamp) - extract(epoch from '2026-07-22 16:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021327 -3.368588)', '2026-07-22 16:52:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021346 -3.368605)'), GeomFromEWKT('SRID=4674;POINT (-39.021327 -3.368588)'))) / (select extract(epoch from '2026-07-22 16:52:58'::timestamp) - extract(epoch from '2026-07-22 16:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021346 -3.368605)'), GeomFromEWKT('SRID=4674;POINT (-39.021327 -3.368588)'))) / (select extract(epoch from '2026-07-22 16:52:58'::timestamp) - extract(epoch from '2026-07-22 16:52:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021311 -3.368576)', '2026-07-22 16:53:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021327 -3.368588)'), GeomFromEWKT('SRID=4674;POINT (-39.021311 -3.368576)'))) / (select extract(epoch from '2026-07-22 16:53:00'::timestamp) - extract(epoch from '2026-07-22 16:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021327 -3.368588)'), GeomFromEWKT('SRID=4674;POINT (-39.021311 -3.368576)'))) / (select extract(epoch from '2026-07-22 16:53:00'::timestamp) - extract(epoch from '2026-07-22 16:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021275 -3.368545)', '2026-07-22 16:53:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021311 -3.368576)'), GeomFromEWKT('SRID=4674;POINT (-39.021275 -3.368545)'))) / (select extract(epoch from '2026-07-22 16:53:05'::timestamp) - extract(epoch from '2026-07-22 16:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021311 -3.368576)'), GeomFromEWKT('SRID=4674;POINT (-39.021275 -3.368545)'))) / (select extract(epoch from '2026-07-22 16:53:05'::timestamp) - extract(epoch from '2026-07-22 16:53:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021237 -3.368489)', '2026-07-22 16:53:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021275 -3.368545)'), GeomFromEWKT('SRID=4674;POINT (-39.021237 -3.368489)'))) / (select extract(epoch from '2026-07-22 16:53:12'::timestamp) - extract(epoch from '2026-07-22 16:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021275 -3.368545)'), GeomFromEWKT('SRID=4674;POINT (-39.021237 -3.368489)'))) / (select extract(epoch from '2026-07-22 16:53:12'::timestamp) - extract(epoch from '2026-07-22 16:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021236 -3.36848)', '2026-07-22 16:53:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021237 -3.368489)'), GeomFromEWKT('SRID=4674;POINT (-39.021236 -3.36848)'))) / (select extract(epoch from '2026-07-22 16:53:13'::timestamp) - extract(epoch from '2026-07-22 16:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021237 -3.368489)'), GeomFromEWKT('SRID=4674;POINT (-39.021236 -3.36848)'))) / (select extract(epoch from '2026-07-22 16:53:13'::timestamp) - extract(epoch from '2026-07-22 16:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021225 -3.368437)', '2026-07-22 16:53:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021236 -3.36848)'), GeomFromEWKT('SRID=4674;POINT (-39.021225 -3.368437)'))) / (select extract(epoch from '2026-07-22 16:53:17'::timestamp) - extract(epoch from '2026-07-22 16:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021236 -3.36848)'), GeomFromEWKT('SRID=4674;POINT (-39.021225 -3.368437)'))) / (select extract(epoch from '2026-07-22 16:53:17'::timestamp) - extract(epoch from '2026-07-22 16:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021226 -3.368426)', '2026-07-22 16:53:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021225 -3.368437)'), GeomFromEWKT('SRID=4674;POINT (-39.021226 -3.368426)'))) / (select extract(epoch from '2026-07-22 16:53:18'::timestamp) - extract(epoch from '2026-07-22 16:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021225 -3.368437)'), GeomFromEWKT('SRID=4674;POINT (-39.021226 -3.368426)'))) / (select extract(epoch from '2026-07-22 16:53:18'::timestamp) - extract(epoch from '2026-07-22 16:53:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021222 -3.368401)', '2026-07-22 16:53:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021226 -3.368426)'), GeomFromEWKT('SRID=4674;POINT (-39.021222 -3.368401)'))) / (select extract(epoch from '2026-07-22 16:53:20'::timestamp) - extract(epoch from '2026-07-22 16:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021226 -3.368426)'), GeomFromEWKT('SRID=4674;POINT (-39.021222 -3.368401)'))) / (select extract(epoch from '2026-07-22 16:53:20'::timestamp) - extract(epoch from '2026-07-22 16:53:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021213 -3.36838)', '2026-07-22 16:53:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021222 -3.368401)'), GeomFromEWKT('SRID=4674;POINT (-39.021213 -3.36838)'))) / (select extract(epoch from '2026-07-22 16:53:22'::timestamp) - extract(epoch from '2026-07-22 16:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021222 -3.368401)'), GeomFromEWKT('SRID=4674;POINT (-39.021213 -3.36838)'))) / (select extract(epoch from '2026-07-22 16:53:22'::timestamp) - extract(epoch from '2026-07-22 16:53:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021207 -3.36837)', '2026-07-22 16:53:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021213 -3.36838)'), GeomFromEWKT('SRID=4674;POINT (-39.021207 -3.36837)'))) / (select extract(epoch from '2026-07-22 16:53:23'::timestamp) - extract(epoch from '2026-07-22 16:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021213 -3.36838)'), GeomFromEWKT('SRID=4674;POINT (-39.021207 -3.36837)'))) / (select extract(epoch from '2026-07-22 16:53:23'::timestamp) - extract(epoch from '2026-07-22 16:53:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021204 -3.368338)', '2026-07-22 16:53:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021207 -3.36837)'), GeomFromEWKT('SRID=4674;POINT (-39.021204 -3.368338)'))) / (select extract(epoch from '2026-07-22 16:53:26'::timestamp) - extract(epoch from '2026-07-22 16:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021207 -3.36837)'), GeomFromEWKT('SRID=4674;POINT (-39.021204 -3.368338)'))) / (select extract(epoch from '2026-07-22 16:53:26'::timestamp) - extract(epoch from '2026-07-22 16:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021197 -3.368302)', '2026-07-22 16:53:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021204 -3.368338)'), GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368302)'))) / (select extract(epoch from '2026-07-22 16:53:29'::timestamp) - extract(epoch from '2026-07-22 16:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021204 -3.368338)'), GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368302)'))) / (select extract(epoch from '2026-07-22 16:53:29'::timestamp) - extract(epoch from '2026-07-22 16:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021197 -3.368235)', '2026-07-22 16:53:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368302)'), GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368235)'))) / (select extract(epoch from '2026-07-22 16:53:36'::timestamp) - extract(epoch from '2026-07-22 16:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368302)'), GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368235)'))) / (select extract(epoch from '2026-07-22 16:53:36'::timestamp) - extract(epoch from '2026-07-22 16:53:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021196 -3.368226)', '2026-07-22 16:53:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368235)'), GeomFromEWKT('SRID=4674;POINT (-39.021196 -3.368226)'))) / (select extract(epoch from '2026-07-22 16:53:37'::timestamp) - extract(epoch from '2026-07-22 16:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368235)'), GeomFromEWKT('SRID=4674;POINT (-39.021196 -3.368226)'))) / (select extract(epoch from '2026-07-22 16:53:37'::timestamp) - extract(epoch from '2026-07-22 16:53:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021193 -3.368208)', '2026-07-22 16:53:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021196 -3.368226)'), GeomFromEWKT('SRID=4674;POINT (-39.021193 -3.368208)'))) / (select extract(epoch from '2026-07-22 16:53:39'::timestamp) - extract(epoch from '2026-07-22 16:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021196 -3.368226)'), GeomFromEWKT('SRID=4674;POINT (-39.021193 -3.368208)'))) / (select extract(epoch from '2026-07-22 16:53:39'::timestamp) - extract(epoch from '2026-07-22 16:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021197 -3.368188)', '2026-07-22 16:53:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021193 -3.368208)'), GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368188)'))) / (select extract(epoch from '2026-07-22 16:53:41'::timestamp) - extract(epoch from '2026-07-22 16:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021193 -3.368208)'), GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368188)'))) / (select extract(epoch from '2026-07-22 16:53:41'::timestamp) - extract(epoch from '2026-07-22 16:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021176 -3.368105)', '2026-07-22 16:53:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368188)'), GeomFromEWKT('SRID=4674;POINT (-39.021176 -3.368105)'))) / (select extract(epoch from '2026-07-22 16:53:49'::timestamp) - extract(epoch from '2026-07-22 16:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.368188)'), GeomFromEWKT('SRID=4674;POINT (-39.021176 -3.368105)'))) / (select extract(epoch from '2026-07-22 16:53:49'::timestamp) - extract(epoch from '2026-07-22 16:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021159 -3.368042)', '2026-07-22 16:53:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021176 -3.368105)'), GeomFromEWKT('SRID=4674;POINT (-39.021159 -3.368042)'))) / (select extract(epoch from '2026-07-22 16:53:55'::timestamp) - extract(epoch from '2026-07-22 16:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021176 -3.368105)'), GeomFromEWKT('SRID=4674;POINT (-39.021159 -3.368042)'))) / (select extract(epoch from '2026-07-22 16:53:55'::timestamp) - extract(epoch from '2026-07-22 16:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021148 -3.367999)', '2026-07-22 16:53:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021159 -3.368042)'), GeomFromEWKT('SRID=4674;POINT (-39.021148 -3.367999)'))) / (select extract(epoch from '2026-07-22 16:53:59'::timestamp) - extract(epoch from '2026-07-22 16:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021159 -3.368042)'), GeomFromEWKT('SRID=4674;POINT (-39.021148 -3.367999)'))) / (select extract(epoch from '2026-07-22 16:53:59'::timestamp) - extract(epoch from '2026-07-22 16:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02114 -3.367965)', '2026-07-22 16:54:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021148 -3.367999)'), GeomFromEWKT('SRID=4674;POINT (-39.02114 -3.367965)'))) / (select extract(epoch from '2026-07-22 16:54:02'::timestamp) - extract(epoch from '2026-07-22 16:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021148 -3.367999)'), GeomFromEWKT('SRID=4674;POINT (-39.02114 -3.367965)'))) / (select extract(epoch from '2026-07-22 16:54:02'::timestamp) - extract(epoch from '2026-07-22 16:53:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021106 -3.36792)', '2026-07-22 16:54:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02114 -3.367965)'), GeomFromEWKT('SRID=4674;POINT (-39.021106 -3.36792)'))) / (select extract(epoch from '2026-07-22 16:54:07'::timestamp) - extract(epoch from '2026-07-22 16:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02114 -3.367965)'), GeomFromEWKT('SRID=4674;POINT (-39.021106 -3.36792)'))) / (select extract(epoch from '2026-07-22 16:54:07'::timestamp) - extract(epoch from '2026-07-22 16:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021076 -3.367895)', '2026-07-22 16:54:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021106 -3.36792)'), GeomFromEWKT('SRID=4674;POINT (-39.021076 -3.367895)'))) / (select extract(epoch from '2026-07-22 16:54:12'::timestamp) - extract(epoch from '2026-07-22 16:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021106 -3.36792)'), GeomFromEWKT('SRID=4674;POINT (-39.021076 -3.367895)'))) / (select extract(epoch from '2026-07-22 16:54:12'::timestamp) - extract(epoch from '2026-07-22 16:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021056 -3.367865)', '2026-07-22 16:54:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021076 -3.367895)'), GeomFromEWKT('SRID=4674;POINT (-39.021056 -3.367865)'))) / (select extract(epoch from '2026-07-22 16:54:19'::timestamp) - extract(epoch from '2026-07-22 16:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021076 -3.367895)'), GeomFromEWKT('SRID=4674;POINT (-39.021056 -3.367865)'))) / (select extract(epoch from '2026-07-22 16:54:19'::timestamp) - extract(epoch from '2026-07-22 16:54:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021045 -3.367843)', '2026-07-22 16:54:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021056 -3.367865)'), GeomFromEWKT('SRID=4674;POINT (-39.021045 -3.367843)'))) / (select extract(epoch from '2026-07-22 16:54:25'::timestamp) - extract(epoch from '2026-07-22 16:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021056 -3.367865)'), GeomFromEWKT('SRID=4674;POINT (-39.021045 -3.367843)'))) / (select extract(epoch from '2026-07-22 16:54:25'::timestamp) - extract(epoch from '2026-07-22 16:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021014 -3.367845)', '2026-07-22 16:54:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021045 -3.367843)'), GeomFromEWKT('SRID=4674;POINT (-39.021014 -3.367845)'))) / (select extract(epoch from '2026-07-22 16:54:33'::timestamp) - extract(epoch from '2026-07-22 16:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021045 -3.367843)'), GeomFromEWKT('SRID=4674;POINT (-39.021014 -3.367845)'))) / (select extract(epoch from '2026-07-22 16:54:33'::timestamp) - extract(epoch from '2026-07-22 16:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020971 -3.367854)', '2026-07-22 16:54:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021014 -3.367845)'), GeomFromEWKT('SRID=4674;POINT (-39.020971 -3.367854)'))) / (select extract(epoch from '2026-07-22 16:54:42'::timestamp) - extract(epoch from '2026-07-22 16:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021014 -3.367845)'), GeomFromEWKT('SRID=4674;POINT (-39.020971 -3.367854)'))) / (select extract(epoch from '2026-07-22 16:54:42'::timestamp) - extract(epoch from '2026-07-22 16:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020922 -3.367865)', '2026-07-22 16:54:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020971 -3.367854)'), GeomFromEWKT('SRID=4674;POINT (-39.020922 -3.367865)'))) / (select extract(epoch from '2026-07-22 16:54:51'::timestamp) - extract(epoch from '2026-07-22 16:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020971 -3.367854)'), GeomFromEWKT('SRID=4674;POINT (-39.020922 -3.367865)'))) / (select extract(epoch from '2026-07-22 16:54:51'::timestamp) - extract(epoch from '2026-07-22 16:54:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020886 -3.367869)', '2026-07-22 16:54:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020922 -3.367865)'), GeomFromEWKT('SRID=4674;POINT (-39.020886 -3.367869)'))) / (select extract(epoch from '2026-07-22 16:54:59'::timestamp) - extract(epoch from '2026-07-22 16:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020922 -3.367865)'), GeomFromEWKT('SRID=4674;POINT (-39.020886 -3.367869)'))) / (select extract(epoch from '2026-07-22 16:54:59'::timestamp) - extract(epoch from '2026-07-22 16:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020846 -3.367872)', '2026-07-22 16:55:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020886 -3.367869)'), GeomFromEWKT('SRID=4674;POINT (-39.020846 -3.367872)'))) / (select extract(epoch from '2026-07-22 16:55:08'::timestamp) - extract(epoch from '2026-07-22 16:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020886 -3.367869)'), GeomFromEWKT('SRID=4674;POINT (-39.020846 -3.367872)'))) / (select extract(epoch from '2026-07-22 16:55:08'::timestamp) - extract(epoch from '2026-07-22 16:54:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020792 -3.367886)', '2026-07-22 16:55:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020846 -3.367872)'), GeomFromEWKT('SRID=4674;POINT (-39.020792 -3.367886)'))) / (select extract(epoch from '2026-07-22 16:55:17'::timestamp) - extract(epoch from '2026-07-22 16:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020846 -3.367872)'), GeomFromEWKT('SRID=4674;POINT (-39.020792 -3.367886)'))) / (select extract(epoch from '2026-07-22 16:55:17'::timestamp) - extract(epoch from '2026-07-22 16:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020748 -3.367879)', '2026-07-22 16:55:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020792 -3.367886)'), GeomFromEWKT('SRID=4674;POINT (-39.020748 -3.367879)'))) / (select extract(epoch from '2026-07-22 16:55:25'::timestamp) - extract(epoch from '2026-07-22 16:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020792 -3.367886)'), GeomFromEWKT('SRID=4674;POINT (-39.020748 -3.367879)'))) / (select extract(epoch from '2026-07-22 16:55:25'::timestamp) - extract(epoch from '2026-07-22 16:55:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020706 -3.367883)', '2026-07-22 16:55:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020748 -3.367879)'), GeomFromEWKT('SRID=4674;POINT (-39.020706 -3.367883)'))) / (select extract(epoch from '2026-07-22 16:55:32'::timestamp) - extract(epoch from '2026-07-22 16:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020748 -3.367879)'), GeomFromEWKT('SRID=4674;POINT (-39.020706 -3.367883)'))) / (select extract(epoch from '2026-07-22 16:55:32'::timestamp) - extract(epoch from '2026-07-22 16:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020672 -3.367886)', '2026-07-22 16:55:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020706 -3.367883)'), GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.367886)'))) / (select extract(epoch from '2026-07-22 16:55:38'::timestamp) - extract(epoch from '2026-07-22 16:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020706 -3.367883)'), GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.367886)'))) / (select extract(epoch from '2026-07-22 16:55:38'::timestamp) - extract(epoch from '2026-07-22 16:55:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020634 -3.367896)', '2026-07-22 16:55:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.367886)'), GeomFromEWKT('SRID=4674;POINT (-39.020634 -3.367896)'))) / (select extract(epoch from '2026-07-22 16:55:46'::timestamp) - extract(epoch from '2026-07-22 16:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.367886)'), GeomFromEWKT('SRID=4674;POINT (-39.020634 -3.367896)'))) / (select extract(epoch from '2026-07-22 16:55:46'::timestamp) - extract(epoch from '2026-07-22 16:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020602 -3.367898)', '2026-07-22 16:55:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020634 -3.367896)'), GeomFromEWKT('SRID=4674;POINT (-39.020602 -3.367898)'))) / (select extract(epoch from '2026-07-22 16:55:54'::timestamp) - extract(epoch from '2026-07-22 16:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020634 -3.367896)'), GeomFromEWKT('SRID=4674;POINT (-39.020602 -3.367898)'))) / (select extract(epoch from '2026-07-22 16:55:54'::timestamp) - extract(epoch from '2026-07-22 16:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020562 -3.367898)', '2026-07-22 16:56:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020602 -3.367898)'), GeomFromEWKT('SRID=4674;POINT (-39.020562 -3.367898)'))) / (select extract(epoch from '2026-07-22 16:56:03'::timestamp) - extract(epoch from '2026-07-22 16:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020602 -3.367898)'), GeomFromEWKT('SRID=4674;POINT (-39.020562 -3.367898)'))) / (select extract(epoch from '2026-07-22 16:56:03'::timestamp) - extract(epoch from '2026-07-22 16:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020546 -3.36789)', '2026-07-22 16:56:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020562 -3.367898)'), GeomFromEWKT('SRID=4674;POINT (-39.020546 -3.36789)'))) / (select extract(epoch from '2026-07-22 16:56:10'::timestamp) - extract(epoch from '2026-07-22 16:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020562 -3.367898)'), GeomFromEWKT('SRID=4674;POINT (-39.020546 -3.36789)'))) / (select extract(epoch from '2026-07-22 16:56:10'::timestamp) - extract(epoch from '2026-07-22 16:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020523 -3.367883)', '2026-07-22 16:56:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020546 -3.36789)'), GeomFromEWKT('SRID=4674;POINT (-39.020523 -3.367883)'))) / (select extract(epoch from '2026-07-22 16:56:17'::timestamp) - extract(epoch from '2026-07-22 16:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020546 -3.36789)'), GeomFromEWKT('SRID=4674;POINT (-39.020523 -3.367883)'))) / (select extract(epoch from '2026-07-22 16:56:17'::timestamp) - extract(epoch from '2026-07-22 16:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020491 -3.367885)', '2026-07-22 16:56:23', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020523 -3.367883)'), GeomFromEWKT('SRID=4674;POINT (-39.020491 -3.367885)'))) / (select extract(epoch from '2026-07-22 16:56:23'::timestamp) - extract(epoch from '2026-07-22 16:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020523 -3.367883)'), GeomFromEWKT('SRID=4674;POINT (-39.020491 -3.367885)'))) / (select extract(epoch from '2026-07-22 16:56:23'::timestamp) - extract(epoch from '2026-07-22 16:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02045 -3.367889)', '2026-07-22 16:56:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020491 -3.367885)'), GeomFromEWKT('SRID=4674;POINT (-39.02045 -3.367889)'))) / (select extract(epoch from '2026-07-22 16:56:31'::timestamp) - extract(epoch from '2026-07-22 16:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020491 -3.367885)'), GeomFromEWKT('SRID=4674;POINT (-39.02045 -3.367889)'))) / (select extract(epoch from '2026-07-22 16:56:31'::timestamp) - extract(epoch from '2026-07-22 16:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020429 -3.367884)', '2026-07-22 16:56:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02045 -3.367889)'), GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.367884)'))) / (select extract(epoch from '2026-07-22 16:56:37'::timestamp) - extract(epoch from '2026-07-22 16:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02045 -3.367889)'), GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.367884)'))) / (select extract(epoch from '2026-07-22 16:56:37'::timestamp) - extract(epoch from '2026-07-22 16:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020407 -3.367885)', '2026-07-22 16:56:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.367884)'), GeomFromEWKT('SRID=4674;POINT (-39.020407 -3.367885)'))) / (select extract(epoch from '2026-07-22 16:56:44'::timestamp) - extract(epoch from '2026-07-22 16:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.367884)'), GeomFromEWKT('SRID=4674;POINT (-39.020407 -3.367885)'))) / (select extract(epoch from '2026-07-22 16:56:44'::timestamp) - extract(epoch from '2026-07-22 16:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020371 -3.367891)', '2026-07-22 16:56:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020407 -3.367885)'), GeomFromEWKT('SRID=4674;POINT (-39.020371 -3.367891)'))) / (select extract(epoch from '2026-07-22 16:56:50'::timestamp) - extract(epoch from '2026-07-22 16:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020407 -3.367885)'), GeomFromEWKT('SRID=4674;POINT (-39.020371 -3.367891)'))) / (select extract(epoch from '2026-07-22 16:56:50'::timestamp) - extract(epoch from '2026-07-22 16:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020327 -3.367905)', '2026-07-22 16:56:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020371 -3.367891)'), GeomFromEWKT('SRID=4674;POINT (-39.020327 -3.367905)'))) / (select extract(epoch from '2026-07-22 16:56:58'::timestamp) - extract(epoch from '2026-07-22 16:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020371 -3.367891)'), GeomFromEWKT('SRID=4674;POINT (-39.020327 -3.367905)'))) / (select extract(epoch from '2026-07-22 16:56:58'::timestamp) - extract(epoch from '2026-07-22 16:56:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020286 -3.367913)', '2026-07-22 16:57:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020327 -3.367905)'), GeomFromEWKT('SRID=4674;POINT (-39.020286 -3.367913)'))) / (select extract(epoch from '2026-07-22 16:57:06'::timestamp) - extract(epoch from '2026-07-22 16:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020327 -3.367905)'), GeomFromEWKT('SRID=4674;POINT (-39.020286 -3.367913)'))) / (select extract(epoch from '2026-07-22 16:57:06'::timestamp) - extract(epoch from '2026-07-22 16:56:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02023 -3.367919)', '2026-07-22 16:57:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020286 -3.367913)'), GeomFromEWKT('SRID=4674;POINT (-39.02023 -3.367919)'))) / (select extract(epoch from '2026-07-22 16:57:15'::timestamp) - extract(epoch from '2026-07-22 16:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020286 -3.367913)'), GeomFromEWKT('SRID=4674;POINT (-39.02023 -3.367919)'))) / (select extract(epoch from '2026-07-22 16:57:15'::timestamp) - extract(epoch from '2026-07-22 16:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020184 -3.367928)', '2026-07-22 16:57:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02023 -3.367919)'), GeomFromEWKT('SRID=4674;POINT (-39.020184 -3.367928)'))) / (select extract(epoch from '2026-07-22 16:57:24'::timestamp) - extract(epoch from '2026-07-22 16:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02023 -3.367919)'), GeomFromEWKT('SRID=4674;POINT (-39.020184 -3.367928)'))) / (select extract(epoch from '2026-07-22 16:57:24'::timestamp) - extract(epoch from '2026-07-22 16:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020154 -3.367938)', '2026-07-22 16:57:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020184 -3.367928)'), GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.367938)'))) / (select extract(epoch from '2026-07-22 16:57:31'::timestamp) - extract(epoch from '2026-07-22 16:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020184 -3.367928)'), GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.367938)'))) / (select extract(epoch from '2026-07-22 16:57:31'::timestamp) - extract(epoch from '2026-07-22 16:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020116 -3.36794)', '2026-07-22 16:57:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.367938)'), GeomFromEWKT('SRID=4674;POINT (-39.020116 -3.36794)'))) / (select extract(epoch from '2026-07-22 16:57:39'::timestamp) - extract(epoch from '2026-07-22 16:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.367938)'), GeomFromEWKT('SRID=4674;POINT (-39.020116 -3.36794)'))) / (select extract(epoch from '2026-07-22 16:57:39'::timestamp) - extract(epoch from '2026-07-22 16:57:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020095 -3.367946)', '2026-07-22 16:57:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020116 -3.36794)'), GeomFromEWKT('SRID=4674;POINT (-39.020095 -3.367946)'))) / (select extract(epoch from '2026-07-22 16:57:45'::timestamp) - extract(epoch from '2026-07-22 16:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020116 -3.36794)'), GeomFromEWKT('SRID=4674;POINT (-39.020095 -3.367946)'))) / (select extract(epoch from '2026-07-22 16:57:45'::timestamp) - extract(epoch from '2026-07-22 16:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020059 -3.367958)', '2026-07-22 16:57:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020095 -3.367946)'), GeomFromEWKT('SRID=4674;POINT (-39.020059 -3.367958)'))) / (select extract(epoch from '2026-07-22 16:57:56'::timestamp) - extract(epoch from '2026-07-22 16:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020095 -3.367946)'), GeomFromEWKT('SRID=4674;POINT (-39.020059 -3.367958)'))) / (select extract(epoch from '2026-07-22 16:57:56'::timestamp) - extract(epoch from '2026-07-22 16:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020048 -3.367946)', '2026-07-22 16:58:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020059 -3.367958)'), GeomFromEWKT('SRID=4674;POINT (-39.020048 -3.367946)'))) / (select extract(epoch from '2026-07-22 16:58:08'::timestamp) - extract(epoch from '2026-07-22 16:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020059 -3.367958)'), GeomFromEWKT('SRID=4674;POINT (-39.020048 -3.367946)'))) / (select extract(epoch from '2026-07-22 16:58:08'::timestamp) - extract(epoch from '2026-07-22 16:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020024 -3.367936)', '2026-07-22 16:58:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020048 -3.367946)'), GeomFromEWKT('SRID=4674;POINT (-39.020024 -3.367936)'))) / (select extract(epoch from '2026-07-22 16:58:18'::timestamp) - extract(epoch from '2026-07-22 16:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020048 -3.367946)'), GeomFromEWKT('SRID=4674;POINT (-39.020024 -3.367936)'))) / (select extract(epoch from '2026-07-22 16:58:18'::timestamp) - extract(epoch from '2026-07-22 16:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019989 -3.367926)', '2026-07-22 16:58:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020024 -3.367936)'), GeomFromEWKT('SRID=4674;POINT (-39.019989 -3.367926)'))) / (select extract(epoch from '2026-07-22 16:58:26'::timestamp) - extract(epoch from '2026-07-22 16:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020024 -3.367936)'), GeomFromEWKT('SRID=4674;POINT (-39.019989 -3.367926)'))) / (select extract(epoch from '2026-07-22 16:58:26'::timestamp) - extract(epoch from '2026-07-22 16:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019967 -3.367915)', '2026-07-22 16:58:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019989 -3.367926)'), GeomFromEWKT('SRID=4674;POINT (-39.019967 -3.367915)'))) / (select extract(epoch from '2026-07-22 16:58:33'::timestamp) - extract(epoch from '2026-07-22 16:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019989 -3.367926)'), GeomFromEWKT('SRID=4674;POINT (-39.019967 -3.367915)'))) / (select extract(epoch from '2026-07-22 16:58:33'::timestamp) - extract(epoch from '2026-07-22 16:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019941 -3.367908)', '2026-07-22 16:58:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019967 -3.367915)'), GeomFromEWKT('SRID=4674;POINT (-39.019941 -3.367908)'))) / (select extract(epoch from '2026-07-22 16:58:38'::timestamp) - extract(epoch from '2026-07-22 16:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019967 -3.367915)'), GeomFromEWKT('SRID=4674;POINT (-39.019941 -3.367908)'))) / (select extract(epoch from '2026-07-22 16:58:38'::timestamp) - extract(epoch from '2026-07-22 16:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019904 -3.367907)', '2026-07-22 16:58:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019941 -3.367908)'), GeomFromEWKT('SRID=4674;POINT (-39.019904 -3.367907)'))) / (select extract(epoch from '2026-07-22 16:58:46'::timestamp) - extract(epoch from '2026-07-22 16:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019941 -3.367908)'), GeomFromEWKT('SRID=4674;POINT (-39.019904 -3.367907)'))) / (select extract(epoch from '2026-07-22 16:58:46'::timestamp) - extract(epoch from '2026-07-22 16:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019861 -3.367914)', '2026-07-22 16:58:55', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019904 -3.367907)'), GeomFromEWKT('SRID=4674;POINT (-39.019861 -3.367914)'))) / (select extract(epoch from '2026-07-22 16:58:55'::timestamp) - extract(epoch from '2026-07-22 16:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019904 -3.367907)'), GeomFromEWKT('SRID=4674;POINT (-39.019861 -3.367914)'))) / (select extract(epoch from '2026-07-22 16:58:55'::timestamp) - extract(epoch from '2026-07-22 16:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019823 -3.367927)', '2026-07-22 16:59:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019861 -3.367914)'), GeomFromEWKT('SRID=4674;POINT (-39.019823 -3.367927)'))) / (select extract(epoch from '2026-07-22 16:59:04'::timestamp) - extract(epoch from '2026-07-22 16:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019861 -3.367914)'), GeomFromEWKT('SRID=4674;POINT (-39.019823 -3.367927)'))) / (select extract(epoch from '2026-07-22 16:59:04'::timestamp) - extract(epoch from '2026-07-22 16:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.0198 -3.367928)', '2026-07-22 16:59:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019823 -3.367927)'), GeomFromEWKT('SRID=4674;POINT (-39.0198 -3.367928)'))) / (select extract(epoch from '2026-07-22 16:59:11'::timestamp) - extract(epoch from '2026-07-22 16:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019823 -3.367927)'), GeomFromEWKT('SRID=4674;POINT (-39.0198 -3.367928)'))) / (select extract(epoch from '2026-07-22 16:59:11'::timestamp) - extract(epoch from '2026-07-22 16:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019773 -3.367935)', '2026-07-22 16:59:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0198 -3.367928)'), GeomFromEWKT('SRID=4674;POINT (-39.019773 -3.367935)'))) / (select extract(epoch from '2026-07-22 16:59:17'::timestamp) - extract(epoch from '2026-07-22 16:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0198 -3.367928)'), GeomFromEWKT('SRID=4674;POINT (-39.019773 -3.367935)'))) / (select extract(epoch from '2026-07-22 16:59:17'::timestamp) - extract(epoch from '2026-07-22 16:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019731 -3.367941)', '2026-07-22 16:59:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019773 -3.367935)'), GeomFromEWKT('SRID=4674;POINT (-39.019731 -3.367941)'))) / (select extract(epoch from '2026-07-22 16:59:27'::timestamp) - extract(epoch from '2026-07-22 16:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019773 -3.367935)'), GeomFromEWKT('SRID=4674;POINT (-39.019731 -3.367941)'))) / (select extract(epoch from '2026-07-22 16:59:27'::timestamp) - extract(epoch from '2026-07-22 16:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019711 -3.367946)', '2026-07-22 16:59:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019731 -3.367941)'), GeomFromEWKT('SRID=4674;POINT (-39.019711 -3.367946)'))) / (select extract(epoch from '2026-07-22 16:59:34'::timestamp) - extract(epoch from '2026-07-22 16:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019731 -3.367941)'), GeomFromEWKT('SRID=4674;POINT (-39.019711 -3.367946)'))) / (select extract(epoch from '2026-07-22 16:59:34'::timestamp) - extract(epoch from '2026-07-22 16:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019697 -3.367944)', '2026-07-22 16:59:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019711 -3.367946)'), GeomFromEWKT('SRID=4674;POINT (-39.019697 -3.367944)'))) / (select extract(epoch from '2026-07-22 16:59:41'::timestamp) - extract(epoch from '2026-07-22 16:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019711 -3.367946)'), GeomFromEWKT('SRID=4674;POINT (-39.019697 -3.367944)'))) / (select extract(epoch from '2026-07-22 16:59:41'::timestamp) - extract(epoch from '2026-07-22 16:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019671 -3.36793)', '2026-07-22 16:59:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019697 -3.367944)'), GeomFromEWKT('SRID=4674;POINT (-39.019671 -3.36793)'))) / (select extract(epoch from '2026-07-22 16:59:48'::timestamp) - extract(epoch from '2026-07-22 16:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019697 -3.367944)'), GeomFromEWKT('SRID=4674;POINT (-39.019671 -3.36793)'))) / (select extract(epoch from '2026-07-22 16:59:48'::timestamp) - extract(epoch from '2026-07-22 16:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019642 -3.367916)', '2026-07-22 16:59:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019671 -3.36793)'), GeomFromEWKT('SRID=4674;POINT (-39.019642 -3.367916)'))) / (select extract(epoch from '2026-07-22 16:59:56'::timestamp) - extract(epoch from '2026-07-22 16:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019671 -3.36793)'), GeomFromEWKT('SRID=4674;POINT (-39.019642 -3.367916)'))) / (select extract(epoch from '2026-07-22 16:59:56'::timestamp) - extract(epoch from '2026-07-22 16:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019597 -3.367894)', '2026-07-22 17:00:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019642 -3.367916)'), GeomFromEWKT('SRID=4674;POINT (-39.019597 -3.367894)'))) / (select extract(epoch from '2026-07-22 17:00:05'::timestamp) - extract(epoch from '2026-07-22 16:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019642 -3.367916)'), GeomFromEWKT('SRID=4674;POINT (-39.019597 -3.367894)'))) / (select extract(epoch from '2026-07-22 17:00:05'::timestamp) - extract(epoch from '2026-07-22 16:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019567 -3.367882)', '2026-07-22 17:00:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019597 -3.367894)'), GeomFromEWKT('SRID=4674;POINT (-39.019567 -3.367882)'))) / (select extract(epoch from '2026-07-22 17:00:12'::timestamp) - extract(epoch from '2026-07-22 17:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019597 -3.367894)'), GeomFromEWKT('SRID=4674;POINT (-39.019567 -3.367882)'))) / (select extract(epoch from '2026-07-22 17:00:12'::timestamp) - extract(epoch from '2026-07-22 17:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019535 -3.367869)', '2026-07-22 17:00:20', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019567 -3.367882)'), GeomFromEWKT('SRID=4674;POINT (-39.019535 -3.367869)'))) / (select extract(epoch from '2026-07-22 17:00:20'::timestamp) - extract(epoch from '2026-07-22 17:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019567 -3.367882)'), GeomFromEWKT('SRID=4674;POINT (-39.019535 -3.367869)'))) / (select extract(epoch from '2026-07-22 17:00:20'::timestamp) - extract(epoch from '2026-07-22 17:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019508 -3.367849)', '2026-07-22 17:00:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019535 -3.367869)'), GeomFromEWKT('SRID=4674;POINT (-39.019508 -3.367849)'))) / (select extract(epoch from '2026-07-22 17:00:27'::timestamp) - extract(epoch from '2026-07-22 17:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019535 -3.367869)'), GeomFromEWKT('SRID=4674;POINT (-39.019508 -3.367849)'))) / (select extract(epoch from '2026-07-22 17:00:27'::timestamp) - extract(epoch from '2026-07-22 17:00:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019453 -3.36782)', '2026-07-22 17:00:36', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019508 -3.367849)'), GeomFromEWKT('SRID=4674;POINT (-39.019453 -3.36782)'))) / (select extract(epoch from '2026-07-22 17:00:36'::timestamp) - extract(epoch from '2026-07-22 17:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019508 -3.367849)'), GeomFromEWKT('SRID=4674;POINT (-39.019453 -3.36782)'))) / (select extract(epoch from '2026-07-22 17:00:36'::timestamp) - extract(epoch from '2026-07-22 17:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019372 -3.367818)', '2026-07-22 17:00:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019453 -3.36782)'), GeomFromEWKT('SRID=4674;POINT (-39.019372 -3.367818)'))) / (select extract(epoch from '2026-07-22 17:00:45'::timestamp) - extract(epoch from '2026-07-22 17:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019453 -3.36782)'), GeomFromEWKT('SRID=4674;POINT (-39.019372 -3.367818)'))) / (select extract(epoch from '2026-07-22 17:00:45'::timestamp) - extract(epoch from '2026-07-22 17:00:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019316 -3.367819)', '2026-07-22 17:00:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019372 -3.367818)'), GeomFromEWKT('SRID=4674;POINT (-39.019316 -3.367819)'))) / (select extract(epoch from '2026-07-22 17:00:50'::timestamp) - extract(epoch from '2026-07-22 17:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019372 -3.367818)'), GeomFromEWKT('SRID=4674;POINT (-39.019316 -3.367819)'))) / (select extract(epoch from '2026-07-22 17:00:50'::timestamp) - extract(epoch from '2026-07-22 17:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019246 -3.367818)', '2026-07-22 17:00:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019316 -3.367819)'), GeomFromEWKT('SRID=4674;POINT (-39.019246 -3.367818)'))) / (select extract(epoch from '2026-07-22 17:00:57'::timestamp) - extract(epoch from '2026-07-22 17:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019316 -3.367819)'), GeomFromEWKT('SRID=4674;POINT (-39.019246 -3.367818)'))) / (select extract(epoch from '2026-07-22 17:00:57'::timestamp) - extract(epoch from '2026-07-22 17:00:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019202 -3.367825)', '2026-07-22 17:01:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019246 -3.367818)'), GeomFromEWKT('SRID=4674;POINT (-39.019202 -3.367825)'))) / (select extract(epoch from '2026-07-22 17:01:02'::timestamp) - extract(epoch from '2026-07-22 17:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019246 -3.367818)'), GeomFromEWKT('SRID=4674;POINT (-39.019202 -3.367825)'))) / (select extract(epoch from '2026-07-22 17:01:02'::timestamp) - extract(epoch from '2026-07-22 17:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019185 -3.367828)', '2026-07-22 17:01:04', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019202 -3.367825)'), GeomFromEWKT('SRID=4674;POINT (-39.019185 -3.367828)'))) / (select extract(epoch from '2026-07-22 17:01:04'::timestamp) - extract(epoch from '2026-07-22 17:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019202 -3.367825)'), GeomFromEWKT('SRID=4674;POINT (-39.019185 -3.367828)'))) / (select extract(epoch from '2026-07-22 17:01:04'::timestamp) - extract(epoch from '2026-07-22 17:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019141 -3.367817)', '2026-07-22 17:01:12', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019185 -3.367828)'), GeomFromEWKT('SRID=4674;POINT (-39.019141 -3.367817)'))) / (select extract(epoch from '2026-07-22 17:01:12'::timestamp) - extract(epoch from '2026-07-22 17:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019185 -3.367828)'), GeomFromEWKT('SRID=4674;POINT (-39.019141 -3.367817)'))) / (select extract(epoch from '2026-07-22 17:01:12'::timestamp) - extract(epoch from '2026-07-22 17:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019135 -3.367782)', '2026-07-22 17:01:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019141 -3.367817)'), GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.367782)'))) / (select extract(epoch from '2026-07-22 17:01:20'::timestamp) - extract(epoch from '2026-07-22 17:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019141 -3.367817)'), GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.367782)'))) / (select extract(epoch from '2026-07-22 17:01:20'::timestamp) - extract(epoch from '2026-07-22 17:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019152 -3.367758)', '2026-07-22 17:01:27', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.367782)'), GeomFromEWKT('SRID=4674;POINT (-39.019152 -3.367758)'))) / (select extract(epoch from '2026-07-22 17:01:27'::timestamp) - extract(epoch from '2026-07-22 17:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.367782)'), GeomFromEWKT('SRID=4674;POINT (-39.019152 -3.367758)'))) / (select extract(epoch from '2026-07-22 17:01:27'::timestamp) - extract(epoch from '2026-07-22 17:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019168 -3.367741)', '2026-07-22 17:01:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019152 -3.367758)'), GeomFromEWKT('SRID=4674;POINT (-39.019168 -3.367741)'))) / (select extract(epoch from '2026-07-22 17:01:31'::timestamp) - extract(epoch from '2026-07-22 17:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019152 -3.367758)'), GeomFromEWKT('SRID=4674;POINT (-39.019168 -3.367741)'))) / (select extract(epoch from '2026-07-22 17:01:31'::timestamp) - extract(epoch from '2026-07-22 17:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019202 -3.367716)', '2026-07-22 17:01:38', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019168 -3.367741)'), GeomFromEWKT('SRID=4674;POINT (-39.019202 -3.367716)'))) / (select extract(epoch from '2026-07-22 17:01:38'::timestamp) - extract(epoch from '2026-07-22 17:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019168 -3.367741)'), GeomFromEWKT('SRID=4674;POINT (-39.019202 -3.367716)'))) / (select extract(epoch from '2026-07-22 17:01:38'::timestamp) - extract(epoch from '2026-07-22 17:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019253 -3.367681)', '2026-07-22 17:01:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019202 -3.367716)'), GeomFromEWKT('SRID=4674;POINT (-39.019253 -3.367681)'))) / (select extract(epoch from '2026-07-22 17:01:48'::timestamp) - extract(epoch from '2026-07-22 17:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019202 -3.367716)'), GeomFromEWKT('SRID=4674;POINT (-39.019253 -3.367681)'))) / (select extract(epoch from '2026-07-22 17:01:48'::timestamp) - extract(epoch from '2026-07-22 17:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019288 -3.367659)', '2026-07-22 17:01:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019253 -3.367681)'), GeomFromEWKT('SRID=4674;POINT (-39.019288 -3.367659)'))) / (select extract(epoch from '2026-07-22 17:01:55'::timestamp) - extract(epoch from '2026-07-22 17:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019253 -3.367681)'), GeomFromEWKT('SRID=4674;POINT (-39.019288 -3.367659)'))) / (select extract(epoch from '2026-07-22 17:01:55'::timestamp) - extract(epoch from '2026-07-22 17:01:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019314 -3.367647)', '2026-07-22 17:02:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019288 -3.367659)'), GeomFromEWKT('SRID=4674;POINT (-39.019314 -3.367647)'))) / (select extract(epoch from '2026-07-22 17:02:01'::timestamp) - extract(epoch from '2026-07-22 17:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019288 -3.367659)'), GeomFromEWKT('SRID=4674;POINT (-39.019314 -3.367647)'))) / (select extract(epoch from '2026-07-22 17:02:01'::timestamp) - extract(epoch from '2026-07-22 17:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019353 -3.367611)', '2026-07-22 17:02:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019314 -3.367647)'), GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.367611)'))) / (select extract(epoch from '2026-07-22 17:02:10'::timestamp) - extract(epoch from '2026-07-22 17:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019314 -3.367647)'), GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.367611)'))) / (select extract(epoch from '2026-07-22 17:02:10'::timestamp) - extract(epoch from '2026-07-22 17:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019389 -3.367581)', '2026-07-22 17:02:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.367611)'), GeomFromEWKT('SRID=4674;POINT (-39.019389 -3.367581)'))) / (select extract(epoch from '2026-07-22 17:02:20'::timestamp) - extract(epoch from '2026-07-22 17:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019353 -3.367611)'), GeomFromEWKT('SRID=4674;POINT (-39.019389 -3.367581)'))) / (select extract(epoch from '2026-07-22 17:02:20'::timestamp) - extract(epoch from '2026-07-22 17:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019429 -3.367563)', '2026-07-22 17:02:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019389 -3.367581)'), GeomFromEWKT('SRID=4674;POINT (-39.019429 -3.367563)'))) / (select extract(epoch from '2026-07-22 17:02:28'::timestamp) - extract(epoch from '2026-07-22 17:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019389 -3.367581)'), GeomFromEWKT('SRID=4674;POINT (-39.019429 -3.367563)'))) / (select extract(epoch from '2026-07-22 17:02:28'::timestamp) - extract(epoch from '2026-07-22 17:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019458 -3.367542)', '2026-07-22 17:02:34', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019429 -3.367563)'), GeomFromEWKT('SRID=4674;POINT (-39.019458 -3.367542)'))) / (select extract(epoch from '2026-07-22 17:02:34'::timestamp) - extract(epoch from '2026-07-22 17:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019429 -3.367563)'), GeomFromEWKT('SRID=4674;POINT (-39.019458 -3.367542)'))) / (select extract(epoch from '2026-07-22 17:02:34'::timestamp) - extract(epoch from '2026-07-22 17:02:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019489 -3.367525)', '2026-07-22 17:02:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019458 -3.367542)'), GeomFromEWKT('SRID=4674;POINT (-39.019489 -3.367525)'))) / (select extract(epoch from '2026-07-22 17:02:41'::timestamp) - extract(epoch from '2026-07-22 17:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019458 -3.367542)'), GeomFromEWKT('SRID=4674;POINT (-39.019489 -3.367525)'))) / (select extract(epoch from '2026-07-22 17:02:41'::timestamp) - extract(epoch from '2026-07-22 17:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019522 -3.367511)', '2026-07-22 17:02:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019489 -3.367525)'), GeomFromEWKT('SRID=4674;POINT (-39.019522 -3.367511)'))) / (select extract(epoch from '2026-07-22 17:02:48'::timestamp) - extract(epoch from '2026-07-22 17:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019489 -3.367525)'), GeomFromEWKT('SRID=4674;POINT (-39.019522 -3.367511)'))) / (select extract(epoch from '2026-07-22 17:02:48'::timestamp) - extract(epoch from '2026-07-22 17:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019561 -3.367489)', '2026-07-22 17:02:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019522 -3.367511)'), GeomFromEWKT('SRID=4674;POINT (-39.019561 -3.367489)'))) / (select extract(epoch from '2026-07-22 17:02:56'::timestamp) - extract(epoch from '2026-07-22 17:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019522 -3.367511)'), GeomFromEWKT('SRID=4674;POINT (-39.019561 -3.367489)'))) / (select extract(epoch from '2026-07-22 17:02:56'::timestamp) - extract(epoch from '2026-07-22 17:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.01959 -3.367466)', '2026-07-22 17:03:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019561 -3.367489)'), GeomFromEWKT('SRID=4674;POINT (-39.01959 -3.367466)'))) / (select extract(epoch from '2026-07-22 17:03:03'::timestamp) - extract(epoch from '2026-07-22 17:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019561 -3.367489)'), GeomFromEWKT('SRID=4674;POINT (-39.01959 -3.367466)'))) / (select extract(epoch from '2026-07-22 17:03:03'::timestamp) - extract(epoch from '2026-07-22 17:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019625 -3.367439)', '2026-07-22 17:03:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01959 -3.367466)'), GeomFromEWKT('SRID=4674;POINT (-39.019625 -3.367439)'))) / (select extract(epoch from '2026-07-22 17:03:10'::timestamp) - extract(epoch from '2026-07-22 17:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01959 -3.367466)'), GeomFromEWKT('SRID=4674;POINT (-39.019625 -3.367439)'))) / (select extract(epoch from '2026-07-22 17:03:10'::timestamp) - extract(epoch from '2026-07-22 17:03:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019642 -3.367427)', '2026-07-22 17:03:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019625 -3.367439)'), GeomFromEWKT('SRID=4674;POINT (-39.019642 -3.367427)'))) / (select extract(epoch from '2026-07-22 17:03:14'::timestamp) - extract(epoch from '2026-07-22 17:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019625 -3.367439)'), GeomFromEWKT('SRID=4674;POINT (-39.019642 -3.367427)'))) / (select extract(epoch from '2026-07-22 17:03:14'::timestamp) - extract(epoch from '2026-07-22 17:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019656 -3.36742)', '2026-07-22 17:03:16', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019642 -3.367427)'), GeomFromEWKT('SRID=4674;POINT (-39.019656 -3.36742)'))) / (select extract(epoch from '2026-07-22 17:03:16'::timestamp) - extract(epoch from '2026-07-22 17:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019642 -3.367427)'), GeomFromEWKT('SRID=4674;POINT (-39.019656 -3.36742)'))) / (select extract(epoch from '2026-07-22 17:03:16'::timestamp) - extract(epoch from '2026-07-22 17:03:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019686 -3.367397)', '2026-07-22 17:03:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019656 -3.36742)'), GeomFromEWKT('SRID=4674;POINT (-39.019686 -3.367397)'))) / (select extract(epoch from '2026-07-22 17:03:22'::timestamp) - extract(epoch from '2026-07-22 17:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019656 -3.36742)'), GeomFromEWKT('SRID=4674;POINT (-39.019686 -3.367397)'))) / (select extract(epoch from '2026-07-22 17:03:22'::timestamp) - extract(epoch from '2026-07-22 17:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
