 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649642 -3.182479)', '2026-05-29 10:13:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649647 -3.182471)'), GeomFromEWKT('SRID=4674;POINT (-38.649642 -3.182479)'))) / (select extract(epoch from '2026-05-29 10:13:40'::timestamp) - extract(epoch from '2026-05-29 10:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649647 -3.182471)'), GeomFromEWKT('SRID=4674;POINT (-38.649642 -3.182479)'))) / (select extract(epoch from '2026-05-29 10:13:40'::timestamp) - extract(epoch from '2026-05-29 10:13: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'), 46535, 'SRID=4674;POINT (-38.649648 -3.182479)', '2026-05-29 10:13:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649642 -3.182479)'), GeomFromEWKT('SRID=4674;POINT (-38.649648 -3.182479)'))) / (select extract(epoch from '2026-05-29 10:13:48'::timestamp) - extract(epoch from '2026-05-29 10:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649642 -3.182479)'), GeomFromEWKT('SRID=4674;POINT (-38.649648 -3.182479)'))) / (select extract(epoch from '2026-05-29 10:13:48'::timestamp) - extract(epoch from '2026-05-29 10:13: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'), 46535, 'SRID=4674;POINT (-38.649638 -3.182479)', '2026-05-29 10:14:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649648 -3.182479)'), GeomFromEWKT('SRID=4674;POINT (-38.649638 -3.182479)'))) / (select extract(epoch from '2026-05-29 10:14:10'::timestamp) - extract(epoch from '2026-05-29 10:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649648 -3.182479)'), GeomFromEWKT('SRID=4674;POINT (-38.649638 -3.182479)'))) / (select extract(epoch from '2026-05-29 10:14:10'::timestamp) - extract(epoch from '2026-05-29 10:13: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'), 46535, 'SRID=4674;POINT (-38.649643 -3.182478)', '2026-05-29 10:14:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649638 -3.182479)'), GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182478)'))) / (select extract(epoch from '2026-05-29 10:14:14'::timestamp) - extract(epoch from '2026-05-29 10:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649638 -3.182479)'), GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182478)'))) / (select extract(epoch from '2026-05-29 10:14:14'::timestamp) - extract(epoch from '2026-05-29 10:14: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'), 46535, 'SRID=4674;POINT (-38.649635 -3.182476)', '2026-05-29 10:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182478)'), GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.182476)'))) / (select extract(epoch from '2026-05-29 10:14:39'::timestamp) - extract(epoch from '2026-05-29 10:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182478)'), GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.182476)'))) / (select extract(epoch from '2026-05-29 10:14:39'::timestamp) - extract(epoch from '2026-05-29 10:14: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'), 46535, 'SRID=4674;POINT (-38.649638 -3.182471)', '2026-05-29 10:15:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.182476)'), GeomFromEWKT('SRID=4674;POINT (-38.649638 -3.182471)'))) / (select extract(epoch from '2026-05-29 10:15:17'::timestamp) - extract(epoch from '2026-05-29 10:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.182476)'), GeomFromEWKT('SRID=4674;POINT (-38.649638 -3.182471)'))) / (select extract(epoch from '2026-05-29 10:15:17'::timestamp) - extract(epoch from '2026-05-29 10:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649649 -3.182491)', '2026-05-29 10:15:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649638 -3.182471)'), GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182491)'))) / (select extract(epoch from '2026-05-29 10:15:40'::timestamp) - extract(epoch from '2026-05-29 10:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649638 -3.182471)'), GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182491)'))) / (select extract(epoch from '2026-05-29 10:15:40'::timestamp) - extract(epoch from '2026-05-29 10:15: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'), 46535, 'SRID=4674;POINT (-38.649653 -3.182491)', '2026-05-29 10:16:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182491)'), GeomFromEWKT('SRID=4674;POINT (-38.649653 -3.182491)'))) / (select extract(epoch from '2026-05-29 10:16:01'::timestamp) - extract(epoch from '2026-05-29 10:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182491)'), GeomFromEWKT('SRID=4674;POINT (-38.649653 -3.182491)'))) / (select extract(epoch from '2026-05-29 10:16:01'::timestamp) - extract(epoch from '2026-05-29 10:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649655 -3.182501)', '2026-05-29 10:17:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649653 -3.182491)'), GeomFromEWKT('SRID=4674;POINT (-38.649655 -3.182501)'))) / (select extract(epoch from '2026-05-29 10:17:03'::timestamp) - extract(epoch from '2026-05-29 10:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649653 -3.182491)'), GeomFromEWKT('SRID=4674;POINT (-38.649655 -3.182501)'))) / (select extract(epoch from '2026-05-29 10:17:03'::timestamp) - extract(epoch from '2026-05-29 10:16: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'), 46535, 'SRID=4674;POINT (-38.64966 -3.182504)', '2026-05-29 10:17:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649655 -3.182501)'), GeomFromEWKT('SRID=4674;POINT (-38.64966 -3.182504)'))) / (select extract(epoch from '2026-05-29 10:17:20'::timestamp) - extract(epoch from '2026-05-29 10:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649655 -3.182501)'), GeomFromEWKT('SRID=4674;POINT (-38.64966 -3.182504)'))) / (select extract(epoch from '2026-05-29 10:17:20'::timestamp) - extract(epoch from '2026-05-29 10:17: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'), 46535, 'SRID=4674;POINT (-38.649667 -3.182506)', '2026-05-29 10:17:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64966 -3.182504)'), GeomFromEWKT('SRID=4674;POINT (-38.649667 -3.182506)'))) / (select extract(epoch from '2026-05-29 10:17:41'::timestamp) - extract(epoch from '2026-05-29 10:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64966 -3.182504)'), GeomFromEWKT('SRID=4674;POINT (-38.649667 -3.182506)'))) / (select extract(epoch from '2026-05-29 10:17:41'::timestamp) - extract(epoch from '2026-05-29 10:17: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'), 46535, 'SRID=4674;POINT (-38.649663 -3.182516)', '2026-05-29 10:18:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649667 -3.182506)'), GeomFromEWKT('SRID=4674;POINT (-38.649663 -3.182516)'))) / (select extract(epoch from '2026-05-29 10:18:07'::timestamp) - extract(epoch from '2026-05-29 10:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649667 -3.182506)'), GeomFromEWKT('SRID=4674;POINT (-38.649663 -3.182516)'))) / (select extract(epoch from '2026-05-29 10:18:07'::timestamp) - extract(epoch from '2026-05-29 10:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649652 -3.182477)', '2026-05-29 10:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649663 -3.182516)'), GeomFromEWKT('SRID=4674;POINT (-38.649652 -3.182477)'))) / (select extract(epoch from '2026-05-29 10:19:00'::timestamp) - extract(epoch from '2026-05-29 10:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649663 -3.182516)'), GeomFromEWKT('SRID=4674;POINT (-38.649652 -3.182477)'))) / (select extract(epoch from '2026-05-29 10:19:00'::timestamp) - extract(epoch from '2026-05-29 10:18: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'), 46535, 'SRID=4674;POINT (-38.649656 -3.182472)', '2026-05-29 10:19:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649652 -3.182477)'), GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182472)'))) / (select extract(epoch from '2026-05-29 10:19:26'::timestamp) - extract(epoch from '2026-05-29 10:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649652 -3.182477)'), GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182472)'))) / (select extract(epoch from '2026-05-29 10:19:26'::timestamp) - extract(epoch from '2026-05-29 10:19: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'), 46535, 'SRID=4674;POINT (-38.649674 -3.182474)', '2026-05-29 10:19:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182472)'), GeomFromEWKT('SRID=4674;POINT (-38.649674 -3.182474)'))) / (select extract(epoch from '2026-05-29 10:19:33'::timestamp) - extract(epoch from '2026-05-29 10:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182472)'), GeomFromEWKT('SRID=4674;POINT (-38.649674 -3.182474)'))) / (select extract(epoch from '2026-05-29 10:19:33'::timestamp) - extract(epoch from '2026-05-29 10:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649677 -3.182488)', '2026-05-29 10:19:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649674 -3.182474)'), GeomFromEWKT('SRID=4674;POINT (-38.649677 -3.182488)'))) / (select extract(epoch from '2026-05-29 10:19:43'::timestamp) - extract(epoch from '2026-05-29 10:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649674 -3.182474)'), GeomFromEWKT('SRID=4674;POINT (-38.649677 -3.182488)'))) / (select extract(epoch from '2026-05-29 10:19:43'::timestamp) - extract(epoch from '2026-05-29 10:19: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'), 46535, 'SRID=4674;POINT (-38.649671 -3.182509)', '2026-05-29 10:20:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649677 -3.182488)'), GeomFromEWKT('SRID=4674;POINT (-38.649671 -3.182509)'))) / (select extract(epoch from '2026-05-29 10:20:11'::timestamp) - extract(epoch from '2026-05-29 10:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649677 -3.182488)'), GeomFromEWKT('SRID=4674;POINT (-38.649671 -3.182509)'))) / (select extract(epoch from '2026-05-29 10:20:11'::timestamp) - extract(epoch from '2026-05-29 10:19:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649656 -3.182513)', '2026-05-29 10:20:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649671 -3.182509)'), GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182513)'))) / (select extract(epoch from '2026-05-29 10:20:30'::timestamp) - extract(epoch from '2026-05-29 10:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649671 -3.182509)'), GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182513)'))) / (select extract(epoch from '2026-05-29 10:20:30'::timestamp) - extract(epoch from '2026-05-29 10:20: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'), 46535, 'SRID=4674;POINT (-38.649655 -3.182506)', '2026-05-29 10:20:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182513)'), GeomFromEWKT('SRID=4674;POINT (-38.649655 -3.182506)'))) / (select extract(epoch from '2026-05-29 10:20:33'::timestamp) - extract(epoch from '2026-05-29 10:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182513)'), GeomFromEWKT('SRID=4674;POINT (-38.649655 -3.182506)'))) / (select extract(epoch from '2026-05-29 10:20:33'::timestamp) - extract(epoch from '2026-05-29 10:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649649 -3.182505)', '2026-05-29 10:21:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649655 -3.182506)'), GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182505)'))) / (select extract(epoch from '2026-05-29 10:21:07'::timestamp) - extract(epoch from '2026-05-29 10:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649655 -3.182506)'), GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182505)'))) / (select extract(epoch from '2026-05-29 10:21:07'::timestamp) - extract(epoch from '2026-05-29 10: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'), 46535, 'SRID=4674;POINT (-38.649658 -3.182495)', '2026-05-29 10:21:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182505)'), GeomFromEWKT('SRID=4674;POINT (-38.649658 -3.182495)'))) / (select extract(epoch from '2026-05-29 10:21:14'::timestamp) - extract(epoch from '2026-05-29 10:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182505)'), GeomFromEWKT('SRID=4674;POINT (-38.649658 -3.182495)'))) / (select extract(epoch from '2026-05-29 10:21:14'::timestamp) - extract(epoch from '2026-05-29 10:21: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'), 46535, 'SRID=4674;POINT (-38.649648 -3.1825)', '2026-05-29 10:21:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649658 -3.182495)'), GeomFromEWKT('SRID=4674;POINT (-38.649648 -3.1825)'))) / (select extract(epoch from '2026-05-29 10:21:23'::timestamp) - extract(epoch from '2026-05-29 10:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649658 -3.182495)'), GeomFromEWKT('SRID=4674;POINT (-38.649648 -3.1825)'))) / (select extract(epoch from '2026-05-29 10:21:23'::timestamp) - extract(epoch from '2026-05-29 10:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649649 -3.182508)', '2026-05-29 10:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649648 -3.1825)'), GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182508)'))) / (select extract(epoch from '2026-05-29 10:22:06'::timestamp) - extract(epoch from '2026-05-29 10:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649648 -3.1825)'), GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182508)'))) / (select extract(epoch from '2026-05-29 10:22:06'::timestamp) - extract(epoch from '2026-05-29 10:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649657 -3.182516)', '2026-05-29 10:22:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182508)'), GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182516)'))) / (select extract(epoch from '2026-05-29 10:22:29'::timestamp) - extract(epoch from '2026-05-29 10:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649649 -3.182508)'), GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182516)'))) / (select extract(epoch from '2026-05-29 10:22:29'::timestamp) - extract(epoch from '2026-05-29 10: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'), 46535, 'SRID=4674;POINT (-38.649657 -3.182516)', '2026-05-29 10:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182516)'), GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182516)'))) / (select extract(epoch from '2026-05-29 10:22:30'::timestamp) - extract(epoch from '2026-05-29 10:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182516)'), GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182516)'))) / (select extract(epoch from '2026-05-29 10:22:30'::timestamp) - extract(epoch from '2026-05-29 10:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674082 -3.170946)', '2026-05-30 14:34:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182516)'), GeomFromEWKT('SRID=4674;POINT (-38.674082 -3.170946)'))) / (select extract(epoch from '2026-05-30 14:34:01'::timestamp) - extract(epoch from '2026-05-29 10:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182516)'), GeomFromEWKT('SRID=4674;POINT (-38.674082 -3.170946)'))) / (select extract(epoch from '2026-05-30 14:34:01'::timestamp) - extract(epoch from '2026-05-29 10:22: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'), 46535, 'SRID=4674;POINT (-38.674269 -3.171772)', '2026-05-30 14:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674082 -3.170946)'), GeomFromEWKT('SRID=4674;POINT (-38.674269 -3.171772)'))) / (select extract(epoch from '2026-05-30 14:34:02'::timestamp) - extract(epoch from '2026-05-30 14:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674082 -3.170946)'), GeomFromEWKT('SRID=4674;POINT (-38.674269 -3.171772)'))) / (select extract(epoch from '2026-05-30 14:34:02'::timestamp) - extract(epoch from '2026-05-30 14:34: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'), 46535, 'SRID=4674;POINT (-38.674357 -3.172052)', '2026-05-30 14:34:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674269 -3.171772)'), GeomFromEWKT('SRID=4674;POINT (-38.674357 -3.172052)'))) / (select extract(epoch from '2026-05-30 14:34:03'::timestamp) - extract(epoch from '2026-05-30 14:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674269 -3.171772)'), GeomFromEWKT('SRID=4674;POINT (-38.674357 -3.172052)'))) / (select extract(epoch from '2026-05-30 14:34:03'::timestamp) - extract(epoch from '2026-05-30 14:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674428 -3.172021)', '2026-05-30 14:34:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674357 -3.172052)'), GeomFromEWKT('SRID=4674;POINT (-38.674428 -3.172021)'))) / (select extract(epoch from '2026-05-30 14:34:05'::timestamp) - extract(epoch from '2026-05-30 14:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674357 -3.172052)'), GeomFromEWKT('SRID=4674;POINT (-38.674428 -3.172021)'))) / (select extract(epoch from '2026-05-30 14:34:05'::timestamp) - extract(epoch from '2026-05-30 14:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.67439 -3.171799)', '2026-05-30 14:34:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674428 -3.172021)'), GeomFromEWKT('SRID=4674;POINT (-38.67439 -3.171799)'))) / (select extract(epoch from '2026-05-30 14:34:06'::timestamp) - extract(epoch from '2026-05-30 14:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674428 -3.172021)'), GeomFromEWKT('SRID=4674;POINT (-38.67439 -3.171799)'))) / (select extract(epoch from '2026-05-30 14:34:06'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674344 -3.171569)', '2026-05-30 14:34:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67439 -3.171799)'), GeomFromEWKT('SRID=4674;POINT (-38.674344 -3.171569)'))) / (select extract(epoch from '2026-05-30 14:34:08'::timestamp) - extract(epoch from '2026-05-30 14:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67439 -3.171799)'), GeomFromEWKT('SRID=4674;POINT (-38.674344 -3.171569)'))) / (select extract(epoch from '2026-05-30 14:34:08'::timestamp) - extract(epoch from '2026-05-30 14:34: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'), 46535, 'SRID=4674;POINT (-38.674298 -3.171389)', '2026-05-30 14:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674344 -3.171569)'), GeomFromEWKT('SRID=4674;POINT (-38.674298 -3.171389)'))) / (select extract(epoch from '2026-05-30 14:34:12'::timestamp) - extract(epoch from '2026-05-30 14:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674344 -3.171569)'), GeomFromEWKT('SRID=4674;POINT (-38.674298 -3.171389)'))) / (select extract(epoch from '2026-05-30 14:34:12'::timestamp) - extract(epoch from '2026-05-30 14:34: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'), 46535, 'SRID=4674;POINT (-38.674224 -3.171213)', '2026-05-30 14:34:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674298 -3.171389)'), GeomFromEWKT('SRID=4674;POINT (-38.674224 -3.171213)'))) / (select extract(epoch from '2026-05-30 14:34:18'::timestamp) - extract(epoch from '2026-05-30 14:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674298 -3.171389)'), GeomFromEWKT('SRID=4674;POINT (-38.674224 -3.171213)'))) / (select extract(epoch from '2026-05-30 14:34:18'::timestamp) - extract(epoch from '2026-05-30 14:34: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'), 46535, 'SRID=4674;POINT (-38.67422 -3.171206)', '2026-05-30 14:34:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674224 -3.171213)'), GeomFromEWKT('SRID=4674;POINT (-38.67422 -3.171206)'))) / (select extract(epoch from '2026-05-30 14:34:19'::timestamp) - extract(epoch from '2026-05-30 14:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674224 -3.171213)'), GeomFromEWKT('SRID=4674;POINT (-38.67422 -3.171206)'))) / (select extract(epoch from '2026-05-30 14:34:19'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674214 -3.1712)', '2026-05-30 14:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67422 -3.171206)'), GeomFromEWKT('SRID=4674;POINT (-38.674214 -3.1712)'))) / (select extract(epoch from '2026-05-30 14:34:23'::timestamp) - extract(epoch from '2026-05-30 14:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67422 -3.171206)'), GeomFromEWKT('SRID=4674;POINT (-38.674214 -3.1712)'))) / (select extract(epoch from '2026-05-30 14:34:23'::timestamp) - extract(epoch from '2026-05-30 14:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674215 -3.171184)', '2026-05-30 14:34:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674214 -3.1712)'), GeomFromEWKT('SRID=4674;POINT (-38.674215 -3.171184)'))) / (select extract(epoch from '2026-05-30 14:34:25'::timestamp) - extract(epoch from '2026-05-30 14:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674214 -3.1712)'), GeomFromEWKT('SRID=4674;POINT (-38.674215 -3.171184)'))) / (select extract(epoch from '2026-05-30 14:34:25'::timestamp) - extract(epoch from '2026-05-30 14:34: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'), 46535, 'SRID=4674;POINT (-38.674206 -3.171175)', '2026-05-30 14:34:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674215 -3.171184)'), GeomFromEWKT('SRID=4674;POINT (-38.674206 -3.171175)'))) / (select extract(epoch from '2026-05-30 14:34:27'::timestamp) - extract(epoch from '2026-05-30 14:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674215 -3.171184)'), GeomFromEWKT('SRID=4674;POINT (-38.674206 -3.171175)'))) / (select extract(epoch from '2026-05-30 14:34:27'::timestamp) - extract(epoch from '2026-05-30 14:34: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'), 46535, 'SRID=4674;POINT (-38.674203 -3.171165)', '2026-05-30 14:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674206 -3.171175)'), GeomFromEWKT('SRID=4674;POINT (-38.674203 -3.171165)'))) / (select extract(epoch from '2026-05-30 14:34:28'::timestamp) - extract(epoch from '2026-05-30 14:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674206 -3.171175)'), GeomFromEWKT('SRID=4674;POINT (-38.674203 -3.171165)'))) / (select extract(epoch from '2026-05-30 14:34:28'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674195 -3.171128)', '2026-05-30 14:34:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674203 -3.171165)'), GeomFromEWKT('SRID=4674;POINT (-38.674195 -3.171128)'))) / (select extract(epoch from '2026-05-30 14:34:31'::timestamp) - extract(epoch from '2026-05-30 14:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674203 -3.171165)'), GeomFromEWKT('SRID=4674;POINT (-38.674195 -3.171128)'))) / (select extract(epoch from '2026-05-30 14:34:31'::timestamp) - extract(epoch from '2026-05-30 14:34: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'), 46535, 'SRID=4674;POINT (-38.674181 -3.171101)', '2026-05-30 14:34:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674195 -3.171128)'), GeomFromEWKT('SRID=4674;POINT (-38.674181 -3.171101)'))) / (select extract(epoch from '2026-05-30 14:34:33'::timestamp) - extract(epoch from '2026-05-30 14:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674195 -3.171128)'), GeomFromEWKT('SRID=4674;POINT (-38.674181 -3.171101)'))) / (select extract(epoch from '2026-05-30 14:34:33'::timestamp) - extract(epoch from '2026-05-30 14:34: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'), 46535, 'SRID=4674;POINT (-38.674177 -3.171091)', '2026-05-30 14:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674181 -3.171101)'), GeomFromEWKT('SRID=4674;POINT (-38.674177 -3.171091)'))) / (select extract(epoch from '2026-05-30 14:34:36'::timestamp) - extract(epoch from '2026-05-30 14:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674181 -3.171101)'), GeomFromEWKT('SRID=4674;POINT (-38.674177 -3.171091)'))) / (select extract(epoch from '2026-05-30 14:34:36'::timestamp) - extract(epoch from '2026-05-30 14:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.67416 -3.171066)', '2026-05-30 14:34:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674177 -3.171091)'), GeomFromEWKT('SRID=4674;POINT (-38.67416 -3.171066)'))) / (select extract(epoch from '2026-05-30 14:34:41'::timestamp) - extract(epoch from '2026-05-30 14:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674177 -3.171091)'), GeomFromEWKT('SRID=4674;POINT (-38.67416 -3.171066)'))) / (select extract(epoch from '2026-05-30 14:34:41'::timestamp) - extract(epoch from '2026-05-30 14:34: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'), 46535, 'SRID=4674;POINT (-38.674161 -3.171045)', '2026-05-30 14:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67416 -3.171066)'), GeomFromEWKT('SRID=4674;POINT (-38.674161 -3.171045)'))) / (select extract(epoch from '2026-05-30 14:34:47'::timestamp) - extract(epoch from '2026-05-30 14:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67416 -3.171066)'), GeomFromEWKT('SRID=4674;POINT (-38.674161 -3.171045)'))) / (select extract(epoch from '2026-05-30 14:34:47'::timestamp) - extract(epoch from '2026-05-30 14:34: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'), 46535, 'SRID=4674;POINT (-38.674163 -3.17104)', '2026-05-30 14:34:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674161 -3.171045)'), GeomFromEWKT('SRID=4674;POINT (-38.674163 -3.17104)'))) / (select extract(epoch from '2026-05-30 14:34:52'::timestamp) - extract(epoch from '2026-05-30 14:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674161 -3.171045)'), GeomFromEWKT('SRID=4674;POINT (-38.674163 -3.17104)'))) / (select extract(epoch from '2026-05-30 14:34:52'::timestamp) - extract(epoch from '2026-05-30 14:34: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'), 46535, 'SRID=4674;POINT (-38.674159 -3.171034)', '2026-05-30 14:34:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674163 -3.17104)'), GeomFromEWKT('SRID=4674;POINT (-38.674159 -3.171034)'))) / (select extract(epoch from '2026-05-30 14:34:56'::timestamp) - extract(epoch from '2026-05-30 14:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674163 -3.17104)'), GeomFromEWKT('SRID=4674;POINT (-38.674159 -3.171034)'))) / (select extract(epoch from '2026-05-30 14:34:56'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674153 -3.171028)', '2026-05-30 14:35:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674159 -3.171034)'), GeomFromEWKT('SRID=4674;POINT (-38.674153 -3.171028)'))) / (select extract(epoch from '2026-05-30 14:35:00'::timestamp) - extract(epoch from '2026-05-30 14:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674159 -3.171034)'), GeomFromEWKT('SRID=4674;POINT (-38.674153 -3.171028)'))) / (select extract(epoch from '2026-05-30 14:35:00'::timestamp) - extract(epoch from '2026-05-30 14:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674144 -3.171022)', '2026-05-30 14:35:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674153 -3.171028)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171022)'))) / (select extract(epoch from '2026-05-30 14:35:05'::timestamp) - extract(epoch from '2026-05-30 14:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674153 -3.171028)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171022)'))) / (select extract(epoch from '2026-05-30 14:35:05'::timestamp) - extract(epoch from '2026-05-30 14:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674147 -3.171033)', '2026-05-30 14:35:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171022)'), GeomFromEWKT('SRID=4674;POINT (-38.674147 -3.171033)'))) / (select extract(epoch from '2026-05-30 14:35:11'::timestamp) - extract(epoch from '2026-05-30 14:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171022)'), GeomFromEWKT('SRID=4674;POINT (-38.674147 -3.171033)'))) / (select extract(epoch from '2026-05-30 14:35:11'::timestamp) - extract(epoch from '2026-05-30 14:35: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'), 46535, 'SRID=4674;POINT (-38.674149 -3.17103)', '2026-05-30 14:35:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674147 -3.171033)'), GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.17103)'))) / (select extract(epoch from '2026-05-30 14:35:16'::timestamp) - extract(epoch from '2026-05-30 14:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674147 -3.171033)'), GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.17103)'))) / (select extract(epoch from '2026-05-30 14:35:16'::timestamp) - extract(epoch from '2026-05-30 14:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674153 -3.171026)', '2026-05-30 14:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.17103)'), GeomFromEWKT('SRID=4674;POINT (-38.674153 -3.171026)'))) / (select extract(epoch from '2026-05-30 14:35:22'::timestamp) - extract(epoch from '2026-05-30 14:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.17103)'), GeomFromEWKT('SRID=4674;POINT (-38.674153 -3.171026)'))) / (select extract(epoch from '2026-05-30 14:35:22'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674159 -3.171029)', '2026-05-30 14:35:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674153 -3.171026)'), GeomFromEWKT('SRID=4674;POINT (-38.674159 -3.171029)'))) / (select extract(epoch from '2026-05-30 14:35:32'::timestamp) - extract(epoch from '2026-05-30 14:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674153 -3.171026)'), GeomFromEWKT('SRID=4674;POINT (-38.674159 -3.171029)'))) / (select extract(epoch from '2026-05-30 14:35:32'::timestamp) - extract(epoch from '2026-05-30 14:35: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'), 46535, 'SRID=4674;POINT (-38.674166 -3.171038)', '2026-05-30 14:35:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674159 -3.171029)'), GeomFromEWKT('SRID=4674;POINT (-38.674166 -3.171038)'))) / (select extract(epoch from '2026-05-30 14:35:37'::timestamp) - extract(epoch from '2026-05-30 14:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674159 -3.171029)'), GeomFromEWKT('SRID=4674;POINT (-38.674166 -3.171038)'))) / (select extract(epoch from '2026-05-30 14:35:37'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674161 -3.171027)', '2026-05-30 14:35:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674166 -3.171038)'), GeomFromEWKT('SRID=4674;POINT (-38.674161 -3.171027)'))) / (select extract(epoch from '2026-05-30 14:35:43'::timestamp) - extract(epoch from '2026-05-30 14:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674166 -3.171038)'), GeomFromEWKT('SRID=4674;POINT (-38.674161 -3.171027)'))) / (select extract(epoch from '2026-05-30 14:35:43'::timestamp) - extract(epoch from '2026-05-30 14:35: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'), 46535, 'SRID=4674;POINT (-38.674154 -3.171028)', '2026-05-30 14:35:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674161 -3.171027)'), GeomFromEWKT('SRID=4674;POINT (-38.674154 -3.171028)'))) / (select extract(epoch from '2026-05-30 14:35:49'::timestamp) - extract(epoch from '2026-05-30 14:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674161 -3.171027)'), GeomFromEWKT('SRID=4674;POINT (-38.674154 -3.171028)'))) / (select extract(epoch from '2026-05-30 14:35:49'::timestamp) - extract(epoch from '2026-05-30 14:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674152 -3.17102)', '2026-05-30 14:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674154 -3.171028)'), GeomFromEWKT('SRID=4674;POINT (-38.674152 -3.17102)'))) / (select extract(epoch from '2026-05-30 14:35:54'::timestamp) - extract(epoch from '2026-05-30 14:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674154 -3.171028)'), GeomFromEWKT('SRID=4674;POINT (-38.674152 -3.17102)'))) / (select extract(epoch from '2026-05-30 14:35:54'::timestamp) - extract(epoch from '2026-05-30 14:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674154 -3.171013)', '2026-05-30 14:36:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674152 -3.17102)'), GeomFromEWKT('SRID=4674;POINT (-38.674154 -3.171013)'))) / (select extract(epoch from '2026-05-30 14:36:00'::timestamp) - extract(epoch from '2026-05-30 14:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674152 -3.17102)'), GeomFromEWKT('SRID=4674;POINT (-38.674154 -3.171013)'))) / (select extract(epoch from '2026-05-30 14:36:00'::timestamp) - extract(epoch from '2026-05-30 14:35: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'), 46535, 'SRID=4674;POINT (-38.674152 -3.171011)', '2026-05-30 14:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674154 -3.171013)'), GeomFromEWKT('SRID=4674;POINT (-38.674152 -3.171011)'))) / (select extract(epoch from '2026-05-30 14:36:05'::timestamp) - extract(epoch from '2026-05-30 14:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674154 -3.171013)'), GeomFromEWKT('SRID=4674;POINT (-38.674152 -3.171011)'))) / (select extract(epoch from '2026-05-30 14:36:05'::timestamp) - extract(epoch from '2026-05-30 14:36: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'), 46535, 'SRID=4674;POINT (-38.67414 -3.171)', '2026-05-30 14:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674152 -3.171011)'), GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.171)'))) / (select extract(epoch from '2026-05-30 14:36:11'::timestamp) - extract(epoch from '2026-05-30 14:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674152 -3.171011)'), GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.171)'))) / (select extract(epoch from '2026-05-30 14:36:11'::timestamp) - extract(epoch from '2026-05-30 14:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674139 -3.171007)', '2026-05-30 14:36:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.171)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.171007)'))) / (select extract(epoch from '2026-05-30 14:36:15'::timestamp) - extract(epoch from '2026-05-30 14:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.171)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.171007)'))) / (select extract(epoch from '2026-05-30 14:36:15'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674141 -3.171012)', '2026-05-30 14:36:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.171007)'), GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.171012)'))) / (select extract(epoch from '2026-05-30 14:36:21'::timestamp) - extract(epoch from '2026-05-30 14:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.171007)'), GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.171012)'))) / (select extract(epoch from '2026-05-30 14:36:21'::timestamp) - extract(epoch from '2026-05-30 14:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674144 -3.171006)', '2026-05-30 14:36:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.171012)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171006)'))) / (select extract(epoch from '2026-05-30 14:36:33'::timestamp) - extract(epoch from '2026-05-30 14:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.171012)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171006)'))) / (select extract(epoch from '2026-05-30 14:36:33'::timestamp) - extract(epoch from '2026-05-30 14:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674144 -3.170996)', '2026-05-30 14:36:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171006)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170996)'))) / (select extract(epoch from '2026-05-30 14:36:39'::timestamp) - extract(epoch from '2026-05-30 14:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171006)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170996)'))) / (select extract(epoch from '2026-05-30 14:36:39'::timestamp) - extract(epoch from '2026-05-30 14:36: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'), 46535, 'SRID=4674;POINT (-38.674144 -3.171003)', '2026-05-30 14:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170996)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171003)'))) / (select extract(epoch from '2026-05-30 14:36:44'::timestamp) - extract(epoch from '2026-05-30 14:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170996)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171003)'))) / (select extract(epoch from '2026-05-30 14:36:44'::timestamp) - extract(epoch from '2026-05-30 14:36: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'), 46535, 'SRID=4674;POINT (-38.674144 -3.171001)', '2026-05-30 14:36:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171003)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171001)'))) / (select extract(epoch from '2026-05-30 14:36:55'::timestamp) - extract(epoch from '2026-05-30 14:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171003)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171001)'))) / (select extract(epoch from '2026-05-30 14:36:55'::timestamp) - extract(epoch from '2026-05-30 14:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674139 -3.171)', '2026-05-30 14:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171001)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.171)'))) / (select extract(epoch from '2026-05-30 14:37:03'::timestamp) - extract(epoch from '2026-05-30 14:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171001)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.171)'))) / (select extract(epoch from '2026-05-30 14:37:03'::timestamp) - extract(epoch from '2026-05-30 14:36: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'), 46535, 'SRID=4674;POINT (-38.674139 -3.170989)', '2026-05-30 14:37:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.171)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170989)'))) / (select extract(epoch from '2026-05-30 14:37:10'::timestamp) - extract(epoch from '2026-05-30 14:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.171)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170989)'))) / (select extract(epoch from '2026-05-30 14:37:10'::timestamp) - extract(epoch from '2026-05-30 14:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674139 -3.170999)', '2026-05-30 14:37:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170989)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170999)'))) / (select extract(epoch from '2026-05-30 14:37:17'::timestamp) - extract(epoch from '2026-05-30 14:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170989)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170999)'))) / (select extract(epoch from '2026-05-30 14:37:17'::timestamp) - extract(epoch from '2026-05-30 14:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674136 -3.170999)', '2026-05-30 14:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170999)'), GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170999)'))) / (select extract(epoch from '2026-05-30 14:37:26'::timestamp) - extract(epoch from '2026-05-30 14:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170999)'), GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170999)'))) / (select extract(epoch from '2026-05-30 14:37:26'::timestamp) - extract(epoch from '2026-05-30 14:37: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'), 46535, 'SRID=4674;POINT (-38.674139 -3.170992)', '2026-05-30 14:37:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170999)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170992)'))) / (select extract(epoch from '2026-05-30 14:37:35'::timestamp) - extract(epoch from '2026-05-30 14:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170999)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170992)'))) / (select extract(epoch from '2026-05-30 14:37:35'::timestamp) - extract(epoch from '2026-05-30 14:37: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'), 46535, 'SRID=4674;POINT (-38.674136 -3.170991)', '2026-05-30 14:37:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170992)'), GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170991)'))) / (select extract(epoch from '2026-05-30 14:37:44'::timestamp) - extract(epoch from '2026-05-30 14:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170992)'), GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170991)'))) / (select extract(epoch from '2026-05-30 14:37:44'::timestamp) - extract(epoch from '2026-05-30 14:37:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674136 -3.170998)', '2026-05-30 14:37:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170991)'), GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170998)'))) / (select extract(epoch from '2026-05-30 14:37:56'::timestamp) - extract(epoch from '2026-05-30 14:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170991)'), GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170998)'))) / (select extract(epoch from '2026-05-30 14:37:56'::timestamp) - extract(epoch from '2026-05-30 14:37: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'), 46535, 'SRID=4674;POINT (-38.67414 -3.170998)', '2026-05-30 14:38:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170998)'), GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170998)'))) / (select extract(epoch from '2026-05-30 14:38:02'::timestamp) - extract(epoch from '2026-05-30 14:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170998)'), GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170998)'))) / (select extract(epoch from '2026-05-30 14:38:02'::timestamp) - extract(epoch from '2026-05-30 14:37: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'), 46535, 'SRID=4674;POINT (-38.674143 -3.170994)', '2026-05-30 14:38:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170998)'), GeomFromEWKT('SRID=4674;POINT (-38.674143 -3.170994)'))) / (select extract(epoch from '2026-05-30 14:38:07'::timestamp) - extract(epoch from '2026-05-30 14:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170998)'), GeomFromEWKT('SRID=4674;POINT (-38.674143 -3.170994)'))) / (select extract(epoch from '2026-05-30 14:38:07'::timestamp) - extract(epoch from '2026-05-30 14:38: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'), 46535, 'SRID=4674;POINT (-38.674144 -3.171001)', '2026-05-30 14:38:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674143 -3.170994)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171001)'))) / (select extract(epoch from '2026-05-30 14:38:12'::timestamp) - extract(epoch from '2026-05-30 14:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674143 -3.170994)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171001)'))) / (select extract(epoch from '2026-05-30 14:38:12'::timestamp) - extract(epoch from '2026-05-30 14:38: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'), 46535, 'SRID=4674;POINT (-38.674145 -3.170996)', '2026-05-30 14:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171001)'), GeomFromEWKT('SRID=4674;POINT (-38.674145 -3.170996)'))) / (select extract(epoch from '2026-05-30 14:38:19'::timestamp) - extract(epoch from '2026-05-30 14:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.171001)'), GeomFromEWKT('SRID=4674;POINT (-38.674145 -3.170996)'))) / (select extract(epoch from '2026-05-30 14:38:19'::timestamp) - extract(epoch from '2026-05-30 14:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674141 -3.170995)', '2026-05-30 14:38:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674145 -3.170996)'), GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170995)'))) / (select extract(epoch from '2026-05-30 14:38:26'::timestamp) - extract(epoch from '2026-05-30 14:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674145 -3.170996)'), GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170995)'))) / (select extract(epoch from '2026-05-30 14:38:26'::timestamp) - extract(epoch from '2026-05-30 14:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674137 -3.170979)', '2026-05-30 14:38:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170995)'), GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170979)'))) / (select extract(epoch from '2026-05-30 14:38:33'::timestamp) - extract(epoch from '2026-05-30 14:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170995)'), GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170979)'))) / (select extract(epoch from '2026-05-30 14:38:33'::timestamp) - extract(epoch from '2026-05-30 14:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674135 -3.170987)', '2026-05-30 14:38:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170979)'), GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170987)'))) / (select extract(epoch from '2026-05-30 14:38:38'::timestamp) - extract(epoch from '2026-05-30 14:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170979)'), GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170987)'))) / (select extract(epoch from '2026-05-30 14:38:38'::timestamp) - extract(epoch from '2026-05-30 14:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674136 -3.170985)', '2026-05-30 14:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170987)'), GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170985)'))) / (select extract(epoch from '2026-05-30 14:38:44'::timestamp) - extract(epoch from '2026-05-30 14:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170987)'), GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170985)'))) / (select extract(epoch from '2026-05-30 14:38:44'::timestamp) - extract(epoch from '2026-05-30 14:38: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'), 46535, 'SRID=4674;POINT (-38.674149 -3.170986)', '2026-05-30 14:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170985)'), GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170986)'))) / (select extract(epoch from '2026-05-30 14:38:50'::timestamp) - extract(epoch from '2026-05-30 14:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170985)'), GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170986)'))) / (select extract(epoch from '2026-05-30 14:38:50'::timestamp) - extract(epoch from '2026-05-30 14:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674141 -3.170972)', '2026-05-30 14:38:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170986)'), GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170972)'))) / (select extract(epoch from '2026-05-30 14:38:55'::timestamp) - extract(epoch from '2026-05-30 14:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170986)'), GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170972)'))) / (select extract(epoch from '2026-05-30 14:38:55'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674133 -3.170974)', '2026-05-30 14:39:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170972)'), GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:39:02'::timestamp) - extract(epoch from '2026-05-30 14:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170972)'), GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:39:02'::timestamp) - extract(epoch from '2026-05-30 14:38: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'), 46535, 'SRID=4674;POINT (-38.674135 -3.170981)', '2026-05-30 14:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170981)'))) / (select extract(epoch from '2026-05-30 14:39:07'::timestamp) - extract(epoch from '2026-05-30 14:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170981)'))) / (select extract(epoch from '2026-05-30 14:39:07'::timestamp) - extract(epoch from '2026-05-30 14:39: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'), 46535, 'SRID=4674;POINT (-38.674134 -3.170971)', '2026-05-30 14:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170981)'), GeomFromEWKT('SRID=4674;POINT (-38.674134 -3.170971)'))) / (select extract(epoch from '2026-05-30 14:39:12'::timestamp) - extract(epoch from '2026-05-30 14:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170981)'), GeomFromEWKT('SRID=4674;POINT (-38.674134 -3.170971)'))) / (select extract(epoch from '2026-05-30 14:39:12'::timestamp) - extract(epoch from '2026-05-30 14:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674134 -3.170965)', '2026-05-30 14:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674134 -3.170971)'), GeomFromEWKT('SRID=4674;POINT (-38.674134 -3.170965)'))) / (select extract(epoch from '2026-05-30 14:39:18'::timestamp) - extract(epoch from '2026-05-30 14:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674134 -3.170971)'), GeomFromEWKT('SRID=4674;POINT (-38.674134 -3.170965)'))) / (select extract(epoch from '2026-05-30 14:39:18'::timestamp) - extract(epoch from '2026-05-30 14:39: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'), 46535, 'SRID=4674;POINT (-38.674144 -3.170969)', '2026-05-30 14:39:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674134 -3.170965)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170969)'))) / (select extract(epoch from '2026-05-30 14:39:21'::timestamp) - extract(epoch from '2026-05-30 14:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674134 -3.170965)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170969)'))) / (select extract(epoch from '2026-05-30 14:39:21'::timestamp) - extract(epoch from '2026-05-30 14:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674145 -3.170974)', '2026-05-30 14:39:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170969)'), GeomFromEWKT('SRID=4674;POINT (-38.674145 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:39:22'::timestamp) - extract(epoch from '2026-05-30 14:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170969)'), GeomFromEWKT('SRID=4674;POINT (-38.674145 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:39:22'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674123 -3.170963)', '2026-05-30 14:39:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674145 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170963)'))) / (select extract(epoch from '2026-05-30 14:39:29'::timestamp) - extract(epoch from '2026-05-30 14:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674145 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170963)'))) / (select extract(epoch from '2026-05-30 14:39:29'::timestamp) - extract(epoch from '2026-05-30 14:39: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'), 46535, 'SRID=4674;POINT (-38.674129 -3.170968)', '2026-05-30 14:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170963)'), GeomFromEWKT('SRID=4674;POINT (-38.674129 -3.170968)'))) / (select extract(epoch from '2026-05-30 14:39:32'::timestamp) - extract(epoch from '2026-05-30 14:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170963)'), GeomFromEWKT('SRID=4674;POINT (-38.674129 -3.170968)'))) / (select extract(epoch from '2026-05-30 14:39:32'::timestamp) - extract(epoch from '2026-05-30 14:39: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'), 46535, 'SRID=4674;POINT (-38.674121 -3.17096)', '2026-05-30 14:39:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674129 -3.170968)'), GeomFromEWKT('SRID=4674;POINT (-38.674121 -3.17096)'))) / (select extract(epoch from '2026-05-30 14:39:34'::timestamp) - extract(epoch from '2026-05-30 14:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674129 -3.170968)'), GeomFromEWKT('SRID=4674;POINT (-38.674121 -3.17096)'))) / (select extract(epoch from '2026-05-30 14:39:34'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674125 -3.170941)', '2026-05-30 14:39:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674121 -3.17096)'), GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170941)'))) / (select extract(epoch from '2026-05-30 14:39:39'::timestamp) - extract(epoch from '2026-05-30 14:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674121 -3.17096)'), GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170941)'))) / (select extract(epoch from '2026-05-30 14:39:39'::timestamp) - extract(epoch from '2026-05-30 14:39: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'), 46535, 'SRID=4674;POINT (-38.674124 -3.170932)', '2026-05-30 14:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170941)'), GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170932)'))) / (select extract(epoch from '2026-05-30 14:39:45'::timestamp) - extract(epoch from '2026-05-30 14:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170941)'), GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170932)'))) / (select extract(epoch from '2026-05-30 14:39:45'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674119 -3.170932)', '2026-05-30 14:39:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170932)'), GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170932)'))) / (select extract(epoch from '2026-05-30 14:39:51'::timestamp) - extract(epoch from '2026-05-30 14:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170932)'), GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170932)'))) / (select extract(epoch from '2026-05-30 14:39:51'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674118 -3.170947)', '2026-05-30 14:39:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170932)'), GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170947)'))) / (select extract(epoch from '2026-05-30 14:39:57'::timestamp) - extract(epoch from '2026-05-30 14:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170932)'), GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170947)'))) / (select extract(epoch from '2026-05-30 14:39:57'::timestamp) - extract(epoch from '2026-05-30 14:39: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'), 46535, 'SRID=4674;POINT (-38.674125 -3.170949)', '2026-05-30 14:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170947)'), GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170949)'))) / (select extract(epoch from '2026-05-30 14:39:59'::timestamp) - extract(epoch from '2026-05-30 14:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170947)'), GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170949)'))) / (select extract(epoch from '2026-05-30 14:39:59'::timestamp) - extract(epoch from '2026-05-30 14:39: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'), 46535, 'SRID=4674;POINT (-38.674123 -3.170949)', '2026-05-30 14:40:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170949)'), GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170949)'))) / (select extract(epoch from '2026-05-30 14:40:01'::timestamp) - extract(epoch from '2026-05-30 14:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170949)'), GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170949)'))) / (select extract(epoch from '2026-05-30 14:40:01'::timestamp) - extract(epoch from '2026-05-30 14:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674126 -3.170952)', '2026-05-30 14:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170949)'), GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170952)'))) / (select extract(epoch from '2026-05-30 14:40:08'::timestamp) - extract(epoch from '2026-05-30 14:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170949)'), GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170952)'))) / (select extract(epoch from '2026-05-30 14:40:08'::timestamp) - extract(epoch from '2026-05-30 14:40: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'), 46535, 'SRID=4674;POINT (-38.674127 -3.170948)', '2026-05-30 14:40:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170952)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170948)'))) / (select extract(epoch from '2026-05-30 14:40:13'::timestamp) - extract(epoch from '2026-05-30 14:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170952)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170948)'))) / (select extract(epoch from '2026-05-30 14:40:13'::timestamp) - extract(epoch from '2026-05-30 14:40: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'), 46535, 'SRID=4674;POINT (-38.674118 -3.170944)', '2026-05-30 14:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170948)'), GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170944)'))) / (select extract(epoch from '2026-05-30 14:40:19'::timestamp) - extract(epoch from '2026-05-30 14:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170948)'), GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170944)'))) / (select extract(epoch from '2026-05-30 14:40:19'::timestamp) - extract(epoch from '2026-05-30 14:40: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'), 46535, 'SRID=4674;POINT (-38.674125 -3.170951)', '2026-05-30 14:40:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170944)'), GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170951)'))) / (select extract(epoch from '2026-05-30 14:40:33'::timestamp) - extract(epoch from '2026-05-30 14:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170944)'), GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170951)'))) / (select extract(epoch from '2026-05-30 14:40:33'::timestamp) - extract(epoch from '2026-05-30 14:40: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'), 46535, 'SRID=4674;POINT (-38.674122 -3.170954)', '2026-05-30 14:40:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170951)'), GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170954)'))) / (select extract(epoch from '2026-05-30 14:40:44'::timestamp) - extract(epoch from '2026-05-30 14:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170951)'), GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170954)'))) / (select extract(epoch from '2026-05-30 14:40:44'::timestamp) - extract(epoch from '2026-05-30 14:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674119 -3.170948)', '2026-05-30 14:40:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170954)'), GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170948)'))) / (select extract(epoch from '2026-05-30 14:40:56'::timestamp) - extract(epoch from '2026-05-30 14:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170954)'), GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170948)'))) / (select extract(epoch from '2026-05-30 14:40:56'::timestamp) - extract(epoch from '2026-05-30 14:40: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'), 46535, 'SRID=4674;POINT (-38.674112 -3.170945)', '2026-05-30 14:41:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170948)'), GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170945)'))) / (select extract(epoch from '2026-05-30 14:41:06'::timestamp) - extract(epoch from '2026-05-30 14:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170948)'), GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170945)'))) / (select extract(epoch from '2026-05-30 14:41:06'::timestamp) - extract(epoch from '2026-05-30 14:40: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'), 46535, 'SRID=4674;POINT (-38.674126 -3.170954)', '2026-05-30 14:41:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170945)'), GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170954)'))) / (select extract(epoch from '2026-05-30 14:41:12'::timestamp) - extract(epoch from '2026-05-30 14:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170945)'), GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170954)'))) / (select extract(epoch from '2026-05-30 14:41:12'::timestamp) - extract(epoch from '2026-05-30 14:41: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'), 46535, 'SRID=4674;POINT (-38.674125 -3.170958)', '2026-05-30 14:41:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170954)'), GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170958)'))) / (select extract(epoch from '2026-05-30 14:41:15'::timestamp) - extract(epoch from '2026-05-30 14:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170954)'), GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170958)'))) / (select extract(epoch from '2026-05-30 14:41:15'::timestamp) - extract(epoch from '2026-05-30 14:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674133 -3.17096)', '2026-05-30 14:41:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170958)'), GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.17096)'))) / (select extract(epoch from '2026-05-30 14:41:16'::timestamp) - extract(epoch from '2026-05-30 14:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674125 -3.170958)'), GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.17096)'))) / (select extract(epoch from '2026-05-30 14:41:16'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.67413 -3.170957)', '2026-05-30 14:41:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.17096)'), GeomFromEWKT('SRID=4674;POINT (-38.67413 -3.170957)'))) / (select extract(epoch from '2026-05-30 14:41:21'::timestamp) - extract(epoch from '2026-05-30 14:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.17096)'), GeomFromEWKT('SRID=4674;POINT (-38.67413 -3.170957)'))) / (select extract(epoch from '2026-05-30 14:41:21'::timestamp) - extract(epoch from '2026-05-30 14:41: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'), 46535, 'SRID=4674;POINT (-38.674135 -3.170959)', '2026-05-30 14:41:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67413 -3.170957)'), GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170959)'))) / (select extract(epoch from '2026-05-30 14:41:22'::timestamp) - extract(epoch from '2026-05-30 14:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67413 -3.170957)'), GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170959)'))) / (select extract(epoch from '2026-05-30 14:41:22'::timestamp) - extract(epoch from '2026-05-30 14:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674128 -3.170967)', '2026-05-30 14:41:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170959)'), GeomFromEWKT('SRID=4674;POINT (-38.674128 -3.170967)'))) / (select extract(epoch from '2026-05-30 14:41:25'::timestamp) - extract(epoch from '2026-05-30 14:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170959)'), GeomFromEWKT('SRID=4674;POINT (-38.674128 -3.170967)'))) / (select extract(epoch from '2026-05-30 14:41:25'::timestamp) - extract(epoch from '2026-05-30 14:41: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'), 46535, 'SRID=4674;POINT (-38.674122 -3.170972)', '2026-05-30 14:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674128 -3.170967)'), GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170972)'))) / (select extract(epoch from '2026-05-30 14:41:31'::timestamp) - extract(epoch from '2026-05-30 14:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674128 -3.170967)'), GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170972)'))) / (select extract(epoch from '2026-05-30 14:41:31'::timestamp) - extract(epoch from '2026-05-30 14:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674113 -3.170974)', '2026-05-30 14:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170972)'), GeomFromEWKT('SRID=4674;POINT (-38.674113 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:41:37'::timestamp) - extract(epoch from '2026-05-30 14:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170972)'), GeomFromEWKT('SRID=4674;POINT (-38.674113 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:41:37'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.67413 -3.170976)', '2026-05-30 14:41:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674113 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.67413 -3.170976)'))) / (select extract(epoch from '2026-05-30 14:41:45'::timestamp) - extract(epoch from '2026-05-30 14:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674113 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.67413 -3.170976)'))) / (select extract(epoch from '2026-05-30 14:41:45'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674128 -3.170974)', '2026-05-30 14:41:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67413 -3.170976)'), GeomFromEWKT('SRID=4674;POINT (-38.674128 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:41:51'::timestamp) - extract(epoch from '2026-05-30 14:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67413 -3.170976)'), GeomFromEWKT('SRID=4674;POINT (-38.674128 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:41:51'::timestamp) - extract(epoch from '2026-05-30 14:41:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674127 -3.170979)', '2026-05-30 14:41:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674128 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170979)'))) / (select extract(epoch from '2026-05-30 14:41:58'::timestamp) - extract(epoch from '2026-05-30 14:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674128 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170979)'))) / (select extract(epoch from '2026-05-30 14:41:58'::timestamp) - extract(epoch from '2026-05-30 14:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674126 -3.170979)', '2026-05-30 14:42:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170979)'), GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170979)'))) / (select extract(epoch from '2026-05-30 14:42:04'::timestamp) - extract(epoch from '2026-05-30 14:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170979)'), GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170979)'))) / (select extract(epoch from '2026-05-30 14:42:04'::timestamp) - extract(epoch from '2026-05-30 14:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674127 -3.17098)', '2026-05-30 14:42:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170979)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.17098)'))) / (select extract(epoch from '2026-05-30 14:42:11'::timestamp) - extract(epoch from '2026-05-30 14:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170979)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.17098)'))) / (select extract(epoch from '2026-05-30 14:42:11'::timestamp) - extract(epoch from '2026-05-30 14:42: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'), 46535, 'SRID=4674;POINT (-38.674131 -3.170975)', '2026-05-30 14:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.17098)'), GeomFromEWKT('SRID=4674;POINT (-38.674131 -3.170975)'))) / (select extract(epoch from '2026-05-30 14:42:20'::timestamp) - extract(epoch from '2026-05-30 14:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.17098)'), GeomFromEWKT('SRID=4674;POINT (-38.674131 -3.170975)'))) / (select extract(epoch from '2026-05-30 14:42:20'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674124 -3.170977)', '2026-05-30 14:42:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674131 -3.170975)'), GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170977)'))) / (select extract(epoch from '2026-05-30 14:42:28'::timestamp) - extract(epoch from '2026-05-30 14:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674131 -3.170975)'), GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170977)'))) / (select extract(epoch from '2026-05-30 14:42:28'::timestamp) - extract(epoch from '2026-05-30 14:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674123 -3.170973)', '2026-05-30 14:42:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170977)'), GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170973)'))) / (select extract(epoch from '2026-05-30 14:42:35'::timestamp) - extract(epoch from '2026-05-30 14:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170977)'), GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170973)'))) / (select extract(epoch from '2026-05-30 14:42:35'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674119 -3.170964)', '2026-05-30 14:42:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170973)'), GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170964)'))) / (select extract(epoch from '2026-05-30 14:42:42'::timestamp) - extract(epoch from '2026-05-30 14:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674123 -3.170973)'), GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170964)'))) / (select extract(epoch from '2026-05-30 14:42:42'::timestamp) - extract(epoch from '2026-05-30 14:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674112 -3.170959)', '2026-05-30 14:42:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170964)'), GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170959)'))) / (select extract(epoch from '2026-05-30 14:42:48'::timestamp) - extract(epoch from '2026-05-30 14:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674119 -3.170964)'), GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170959)'))) / (select extract(epoch from '2026-05-30 14:42:48'::timestamp) - extract(epoch from '2026-05-30 14:42: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'), 46535, 'SRID=4674;POINT (-38.67411 -3.170962)', '2026-05-30 14:42:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170959)'), GeomFromEWKT('SRID=4674;POINT (-38.67411 -3.170962)'))) / (select extract(epoch from '2026-05-30 14:42:54'::timestamp) - extract(epoch from '2026-05-30 14:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170959)'), GeomFromEWKT('SRID=4674;POINT (-38.67411 -3.170962)'))) / (select extract(epoch from '2026-05-30 14:42:54'::timestamp) - extract(epoch from '2026-05-30 14:42: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'), 46535, 'SRID=4674;POINT (-38.674105 -3.17096)', '2026-05-30 14:43:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67411 -3.170962)'), GeomFromEWKT('SRID=4674;POINT (-38.674105 -3.17096)'))) / (select extract(epoch from '2026-05-30 14:43:04'::timestamp) - extract(epoch from '2026-05-30 14:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67411 -3.170962)'), GeomFromEWKT('SRID=4674;POINT (-38.674105 -3.17096)'))) / (select extract(epoch from '2026-05-30 14:43:04'::timestamp) - extract(epoch from '2026-05-30 14:42: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'), 46535, 'SRID=4674;POINT (-38.674104 -3.170957)', '2026-05-30 14:43:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674105 -3.17096)'), GeomFromEWKT('SRID=4674;POINT (-38.674104 -3.170957)'))) / (select extract(epoch from '2026-05-30 14:43:15'::timestamp) - extract(epoch from '2026-05-30 14:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674105 -3.17096)'), GeomFromEWKT('SRID=4674;POINT (-38.674104 -3.170957)'))) / (select extract(epoch from '2026-05-30 14:43:15'::timestamp) - extract(epoch from '2026-05-30 14:43: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'), 46535, 'SRID=4674;POINT (-38.674111 -3.170958)', '2026-05-30 14:43:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674104 -3.170957)'), GeomFromEWKT('SRID=4674;POINT (-38.674111 -3.170958)'))) / (select extract(epoch from '2026-05-30 14:43:27'::timestamp) - extract(epoch from '2026-05-30 14:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674104 -3.170957)'), GeomFromEWKT('SRID=4674;POINT (-38.674111 -3.170958)'))) / (select extract(epoch from '2026-05-30 14:43:27'::timestamp) - extract(epoch from '2026-05-30 14:43:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674127 -3.170953)', '2026-05-30 14:43:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674111 -3.170958)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170953)'))) / (select extract(epoch from '2026-05-30 14:43:33'::timestamp) - extract(epoch from '2026-05-30 14:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674111 -3.170958)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170953)'))) / (select extract(epoch from '2026-05-30 14:43:33'::timestamp) - extract(epoch from '2026-05-30 14:43: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'), 46535, 'SRID=4674;POINT (-38.674118 -3.170967)', '2026-05-30 14:43:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170953)'), GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170967)'))) / (select extract(epoch from '2026-05-30 14:43:40'::timestamp) - extract(epoch from '2026-05-30 14:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170953)'), GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170967)'))) / (select extract(epoch from '2026-05-30 14:43:40'::timestamp) - extract(epoch from '2026-05-30 14:43: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'), 46535, 'SRID=4674;POINT (-38.674124 -3.170971)', '2026-05-30 14:43:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170967)'), GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170971)'))) / (select extract(epoch from '2026-05-30 14:43:49'::timestamp) - extract(epoch from '2026-05-30 14:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.170967)'), GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170971)'))) / (select extract(epoch from '2026-05-30 14:43:49'::timestamp) - extract(epoch from '2026-05-30 14:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674131 -3.170964)', '2026-05-30 14:43:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170971)'), GeomFromEWKT('SRID=4674;POINT (-38.674131 -3.170964)'))) / (select extract(epoch from '2026-05-30 14:43:56'::timestamp) - extract(epoch from '2026-05-30 14:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170971)'), GeomFromEWKT('SRID=4674;POINT (-38.674131 -3.170964)'))) / (select extract(epoch from '2026-05-30 14:43:56'::timestamp) - extract(epoch from '2026-05-30 14:43: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'), 46535, 'SRID=4674;POINT (-38.674127 -3.170969)', '2026-05-30 14:44:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674131 -3.170964)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170969)'))) / (select extract(epoch from '2026-05-30 14:44:05'::timestamp) - extract(epoch from '2026-05-30 14:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674131 -3.170964)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170969)'))) / (select extract(epoch from '2026-05-30 14:44:05'::timestamp) - extract(epoch from '2026-05-30 14:43: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'), 46535, 'SRID=4674;POINT (-38.674127 -3.170978)', '2026-05-30 14:44:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170969)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170978)'))) / (select extract(epoch from '2026-05-30 14:44:12'::timestamp) - extract(epoch from '2026-05-30 14:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170969)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170978)'))) / (select extract(epoch from '2026-05-30 14:44:12'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674122 -3.170976)', '2026-05-30 14:44:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170978)'), GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170976)'))) / (select extract(epoch from '2026-05-30 14:44:18'::timestamp) - extract(epoch from '2026-05-30 14:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170978)'), GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170976)'))) / (select extract(epoch from '2026-05-30 14:44:18'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674121 -3.170977)', '2026-05-30 14:44:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170976)'), GeomFromEWKT('SRID=4674;POINT (-38.674121 -3.170977)'))) / (select extract(epoch from '2026-05-30 14:44:28'::timestamp) - extract(epoch from '2026-05-30 14:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674122 -3.170976)'), GeomFromEWKT('SRID=4674;POINT (-38.674121 -3.170977)'))) / (select extract(epoch from '2026-05-30 14:44:28'::timestamp) - extract(epoch from '2026-05-30 14:44: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'), 46535, 'SRID=4674;POINT (-38.674124 -3.170974)', '2026-05-30 14:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674121 -3.170977)'), GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:44:36'::timestamp) - extract(epoch from '2026-05-30 14:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674121 -3.170977)'), GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:44:36'::timestamp) - extract(epoch from '2026-05-30 14:44: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'), 46535, 'SRID=4674;POINT (-38.674117 -3.170973)', '2026-05-30 14:44:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.674117 -3.170973)'))) / (select extract(epoch from '2026-05-30 14:44:44'::timestamp) - extract(epoch from '2026-05-30 14:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.674117 -3.170973)'))) / (select extract(epoch from '2026-05-30 14:44:44'::timestamp) - extract(epoch from '2026-05-30 14:44: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'), 46535, 'SRID=4674;POINT (-38.674114 -3.170977)', '2026-05-30 14:44:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674117 -3.170973)'), GeomFromEWKT('SRID=4674;POINT (-38.674114 -3.170977)'))) / (select extract(epoch from '2026-05-30 14:44:50'::timestamp) - extract(epoch from '2026-05-30 14:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674117 -3.170973)'), GeomFromEWKT('SRID=4674;POINT (-38.674114 -3.170977)'))) / (select extract(epoch from '2026-05-30 14:44:50'::timestamp) - extract(epoch from '2026-05-30 14:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674112 -3.170969)', '2026-05-30 14:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674114 -3.170977)'), GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170969)'))) / (select extract(epoch from '2026-05-30 14:44:57'::timestamp) - extract(epoch from '2026-05-30 14:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674114 -3.170977)'), GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170969)'))) / (select extract(epoch from '2026-05-30 14:44:57'::timestamp) - extract(epoch from '2026-05-30 14:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674118 -3.17097)', '2026-05-30 14:45:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170969)'), GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.17097)'))) / (select extract(epoch from '2026-05-30 14:45:02'::timestamp) - extract(epoch from '2026-05-30 14:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674112 -3.170969)'), GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.17097)'))) / (select extract(epoch from '2026-05-30 14:45:02'::timestamp) - extract(epoch from '2026-05-30 14:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674124 -3.170977)', '2026-05-30 14:45:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.17097)'), GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170977)'))) / (select extract(epoch from '2026-05-30 14:45:08'::timestamp) - extract(epoch from '2026-05-30 14:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674118 -3.17097)'), GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170977)'))) / (select extract(epoch from '2026-05-30 14:45:08'::timestamp) - extract(epoch from '2026-05-30 14:45: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'), 46535, 'SRID=4674;POINT (-38.674129 -3.170982)', '2026-05-30 14:45:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170977)'), GeomFromEWKT('SRID=4674;POINT (-38.674129 -3.170982)'))) / (select extract(epoch from '2026-05-30 14:45:13'::timestamp) - extract(epoch from '2026-05-30 14:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674124 -3.170977)'), GeomFromEWKT('SRID=4674;POINT (-38.674129 -3.170982)'))) / (select extract(epoch from '2026-05-30 14:45:13'::timestamp) - extract(epoch from '2026-05-30 14:45: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'), 46535, 'SRID=4674;POINT (-38.674127 -3.170984)', '2026-05-30 14:45:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674129 -3.170982)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170984)'))) / (select extract(epoch from '2026-05-30 14:45:21'::timestamp) - extract(epoch from '2026-05-30 14:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674129 -3.170982)'), GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170984)'))) / (select extract(epoch from '2026-05-30 14:45:21'::timestamp) - extract(epoch from '2026-05-30 14:45: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'), 46535, 'SRID=4674;POINT (-38.674133 -3.170986)', '2026-05-30 14:45:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170984)'), GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.170986)'))) / (select extract(epoch from '2026-05-30 14:45:30'::timestamp) - extract(epoch from '2026-05-30 14:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674127 -3.170984)'), GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.170986)'))) / (select extract(epoch from '2026-05-30 14:45:30'::timestamp) - extract(epoch from '2026-05-30 14:45:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674137 -3.170987)', '2026-05-30 14:45:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.170986)'), GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170987)'))) / (select extract(epoch from '2026-05-30 14:45:38'::timestamp) - extract(epoch from '2026-05-30 14:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674133 -3.170986)'), GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170987)'))) / (select extract(epoch from '2026-05-30 14:45:38'::timestamp) - extract(epoch from '2026-05-30 14:45: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'), 46535, 'SRID=4674;POINT (-38.67414 -3.170974)', '2026-05-30 14:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170987)'), GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:45:44'::timestamp) - extract(epoch from '2026-05-30 14:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170987)'), GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170974)'))) / (select extract(epoch from '2026-05-30 14:45:44'::timestamp) - extract(epoch from '2026-05-30 14:45: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'), 46535, 'SRID=4674;POINT (-38.674135 -3.170981)', '2026-05-30 14:45:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170981)'))) / (select extract(epoch from '2026-05-30 14:45:51'::timestamp) - extract(epoch from '2026-05-30 14:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170974)'), GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170981)'))) / (select extract(epoch from '2026-05-30 14:45:51'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674139 -3.170983)', '2026-05-30 14:45:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170981)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170983)'))) / (select extract(epoch from '2026-05-30 14:45:58'::timestamp) - extract(epoch from '2026-05-30 14:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674135 -3.170981)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170983)'))) / (select extract(epoch from '2026-05-30 14:45:58'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674149 -3.170976)', '2026-05-30 14:46:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170983)'), GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170976)'))) / (select extract(epoch from '2026-05-30 14:46:07'::timestamp) - extract(epoch from '2026-05-30 14:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.170983)'), GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170976)'))) / (select extract(epoch from '2026-05-30 14:46:07'::timestamp) - extract(epoch from '2026-05-30 14:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674137 -3.170978)', '2026-05-30 14:46:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170976)'), GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170978)'))) / (select extract(epoch from '2026-05-30 14:46:15'::timestamp) - extract(epoch from '2026-05-30 14:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170976)'), GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170978)'))) / (select extract(epoch from '2026-05-30 14:46:15'::timestamp) - extract(epoch from '2026-05-30 14:46: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'), 46535, 'SRID=4674;POINT (-38.674142 -3.170978)', '2026-05-30 14:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170978)'), GeomFromEWKT('SRID=4674;POINT (-38.674142 -3.170978)'))) / (select extract(epoch from '2026-05-30 14:46:25'::timestamp) - extract(epoch from '2026-05-30 14:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.170978)'), GeomFromEWKT('SRID=4674;POINT (-38.674142 -3.170978)'))) / (select extract(epoch from '2026-05-30 14:46:25'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674149 -3.170979)', '2026-05-30 14:46:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674142 -3.170978)'), GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170979)'))) / (select extract(epoch from '2026-05-30 14:46:33'::timestamp) - extract(epoch from '2026-05-30 14:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674142 -3.170978)'), GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170979)'))) / (select extract(epoch from '2026-05-30 14:46:33'::timestamp) - extract(epoch from '2026-05-30 14:46: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'), 46535, 'SRID=4674;POINT (-38.674149 -3.170975)', '2026-05-30 14:46:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170979)'), GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170975)'))) / (select extract(epoch from '2026-05-30 14:46:39'::timestamp) - extract(epoch from '2026-05-30 14:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170979)'), GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170975)'))) / (select extract(epoch from '2026-05-30 14:46:39'::timestamp) - extract(epoch from '2026-05-30 14:46: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'), 46535, 'SRID=4674;POINT (-38.67414 -3.170966)', '2026-05-30 14:46:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170975)'), GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170966)'))) / (select extract(epoch from '2026-05-30 14:46:45'::timestamp) - extract(epoch from '2026-05-30 14:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674149 -3.170975)'), GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170966)'))) / (select extract(epoch from '2026-05-30 14:46:45'::timestamp) - extract(epoch from '2026-05-30 14:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674137 -3.17097)', '2026-05-30 14:46:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170966)'), GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.17097)'))) / (select extract(epoch from '2026-05-30 14:46:53'::timestamp) - extract(epoch from '2026-05-30 14:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170966)'), GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.17097)'))) / (select extract(epoch from '2026-05-30 14:46:53'::timestamp) - extract(epoch from '2026-05-30 14:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674141 -3.170967)', '2026-05-30 14:47:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.17097)'), GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170967)'))) / (select extract(epoch from '2026-05-30 14:47:02'::timestamp) - extract(epoch from '2026-05-30 14:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674137 -3.17097)'), GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170967)'))) / (select extract(epoch from '2026-05-30 14:47:02'::timestamp) - extract(epoch from '2026-05-30 14:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674138 -3.170964)', '2026-05-30 14:47:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170967)'), GeomFromEWKT('SRID=4674;POINT (-38.674138 -3.170964)'))) / (select extract(epoch from '2026-05-30 14:47:08'::timestamp) - extract(epoch from '2026-05-30 14:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674141 -3.170967)'), GeomFromEWKT('SRID=4674;POINT (-38.674138 -3.170964)'))) / (select extract(epoch from '2026-05-30 14:47:08'::timestamp) - extract(epoch from '2026-05-30 14:47: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'), 46535, 'SRID=4674;POINT (-38.67414 -3.170961)', '2026-05-30 14:47:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674138 -3.170964)'), GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170961)'))) / (select extract(epoch from '2026-05-30 14:47:15'::timestamp) - extract(epoch from '2026-05-30 14:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674138 -3.170964)'), GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170961)'))) / (select extract(epoch from '2026-05-30 14:47:15'::timestamp) - extract(epoch from '2026-05-30 14:47: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'), 46535, 'SRID=4674;POINT (-38.674142 -3.170963)', '2026-05-30 14:47:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170961)'), GeomFromEWKT('SRID=4674;POINT (-38.674142 -3.170963)'))) / (select extract(epoch from '2026-05-30 14:47:22'::timestamp) - extract(epoch from '2026-05-30 14:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67414 -3.170961)'), GeomFromEWKT('SRID=4674;POINT (-38.674142 -3.170963)'))) / (select extract(epoch from '2026-05-30 14:47:22'::timestamp) - extract(epoch from '2026-05-30 14:47: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'), 46535, 'SRID=4674;POINT (-38.674139 -3.17097)', '2026-05-30 14:47:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674142 -3.170963)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.17097)'))) / (select extract(epoch from '2026-05-30 14:47:30'::timestamp) - extract(epoch from '2026-05-30 14:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674142 -3.170963)'), GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.17097)'))) / (select extract(epoch from '2026-05-30 14:47:30'::timestamp) - extract(epoch from '2026-05-30 14:47: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'), 46535, 'SRID=4674;POINT (-38.674144 -3.170965)', '2026-05-30 14:47:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.17097)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170965)'))) / (select extract(epoch from '2026-05-30 14:47:37'::timestamp) - extract(epoch from '2026-05-30 14:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674139 -3.17097)'), GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170965)'))) / (select extract(epoch from '2026-05-30 14:47:37'::timestamp) - extract(epoch from '2026-05-30 14:47:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.674136 -3.170972)', '2026-05-30 14:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170965)'), GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170972)'))) / (select extract(epoch from '2026-05-30 14:47:43'::timestamp) - extract(epoch from '2026-05-30 14:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674144 -3.170965)'), GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170972)'))) / (select extract(epoch from '2026-05-30 14:47:43'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674126 -3.170963)', '2026-05-30 14:47:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170972)'), GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170963)'))) / (select extract(epoch from '2026-05-30 14:47:44'::timestamp) - extract(epoch from '2026-05-30 14:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674136 -3.170972)'), GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170963)'))) / (select extract(epoch from '2026-05-30 14:47:44'::timestamp) - extract(epoch from '2026-05-30 14: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'), 46535, 'SRID=4674;POINT (-38.674115 -3.17095)', '2026-05-30 14:47:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170963)'), GeomFromEWKT('SRID=4674;POINT (-38.674115 -3.17095)'))) / (select extract(epoch from '2026-05-30 14:47:47'::timestamp) - extract(epoch from '2026-05-30 14:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674126 -3.170963)'), GeomFromEWKT('SRID=4674;POINT (-38.674115 -3.17095)'))) / (select extract(epoch from '2026-05-30 14:47:47'::timestamp) - extract(epoch from '2026-05-30 14:47: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'), 46535, 'SRID=4674;POINT (-38.67411 -3.170946)', '2026-05-30 14:47:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674115 -3.17095)'), GeomFromEWKT('SRID=4674;POINT (-38.67411 -3.170946)'))) / (select extract(epoch from '2026-05-30 14:47:50'::timestamp) - extract(epoch from '2026-05-30 14:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674115 -3.17095)'), GeomFromEWKT('SRID=4674;POINT (-38.67411 -3.170946)'))) / (select extract(epoch from '2026-05-30 14:47:50'::timestamp) - extract(epoch from '2026-05-30 14:47:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570754 -3.218899)', '2026-05-31 12:28:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67411 -3.170946)'), GeomFromEWKT('SRID=4674;POINT (-38.570754 -3.218899)'))) / (select extract(epoch from '2026-05-31 12:28:24'::timestamp) - extract(epoch from '2026-05-30 14:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67411 -3.170946)'), GeomFromEWKT('SRID=4674;POINT (-38.570754 -3.218899)'))) / (select extract(epoch from '2026-05-31 12:28:24'::timestamp) - extract(epoch from '2026-05-30 14:47: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'), 46535, 'SRID=4674;POINT (-38.570754 -3.218907)', '2026-05-31 12:28:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570754 -3.218899)'), GeomFromEWKT('SRID=4674;POINT (-38.570754 -3.218907)'))) / (select extract(epoch from '2026-05-31 12:28:26'::timestamp) - extract(epoch from '2026-05-31 12:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570754 -3.218899)'), GeomFromEWKT('SRID=4674;POINT (-38.570754 -3.218907)'))) / (select extract(epoch from '2026-05-31 12:28:26'::timestamp) - extract(epoch from '2026-05-31 12:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571074 -3.218873)', '2026-05-31 12:28:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570754 -3.218907)'), GeomFromEWKT('SRID=4674;POINT (-38.571074 -3.218873)'))) / (select extract(epoch from '2026-05-31 12:28:33'::timestamp) - extract(epoch from '2026-05-31 12:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570754 -3.218907)'), GeomFromEWKT('SRID=4674;POINT (-38.571074 -3.218873)'))) / (select extract(epoch from '2026-05-31 12:28:33'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571073 -3.218866)', '2026-05-31 12:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571074 -3.218873)'), GeomFromEWKT('SRID=4674;POINT (-38.571073 -3.218866)'))) / (select extract(epoch from '2026-05-31 12:28:39'::timestamp) - extract(epoch from '2026-05-31 12:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571074 -3.218873)'), GeomFromEWKT('SRID=4674;POINT (-38.571073 -3.218866)'))) / (select extract(epoch from '2026-05-31 12:28:39'::timestamp) - extract(epoch from '2026-05-31 12:28:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571083 -3.218857)', '2026-05-31 12:28:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571073 -3.218866)'), GeomFromEWKT('SRID=4674;POINT (-38.571083 -3.218857)'))) / (select extract(epoch from '2026-05-31 12:28:45'::timestamp) - extract(epoch from '2026-05-31 12:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571073 -3.218866)'), GeomFromEWKT('SRID=4674;POINT (-38.571083 -3.218857)'))) / (select extract(epoch from '2026-05-31 12:28:45'::timestamp) - extract(epoch from '2026-05-31 12:28: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'), 46535, 'SRID=4674;POINT (-38.571076 -3.218849)', '2026-05-31 12:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571083 -3.218857)'), GeomFromEWKT('SRID=4674;POINT (-38.571076 -3.218849)'))) / (select extract(epoch from '2026-05-31 12:28:49'::timestamp) - extract(epoch from '2026-05-31 12:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571083 -3.218857)'), GeomFromEWKT('SRID=4674;POINT (-38.571076 -3.218849)'))) / (select extract(epoch from '2026-05-31 12:28:49'::timestamp) - extract(epoch from '2026-05-31 12:28: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'), 46535, 'SRID=4674;POINT (-38.571086 -3.218853)', '2026-05-31 12:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571076 -3.218849)'), GeomFromEWKT('SRID=4674;POINT (-38.571086 -3.218853)'))) / (select extract(epoch from '2026-05-31 12:28:53'::timestamp) - extract(epoch from '2026-05-31 12:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571076 -3.218849)'), GeomFromEWKT('SRID=4674;POINT (-38.571086 -3.218853)'))) / (select extract(epoch from '2026-05-31 12:28:53'::timestamp) - extract(epoch from '2026-05-31 12:28: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'), 46535, 'SRID=4674;POINT (-38.57109 -3.218858)', '2026-05-31 12:28:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571086 -3.218853)'), GeomFromEWKT('SRID=4674;POINT (-38.57109 -3.218858)'))) / (select extract(epoch from '2026-05-31 12:28:58'::timestamp) - extract(epoch from '2026-05-31 12:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571086 -3.218853)'), GeomFromEWKT('SRID=4674;POINT (-38.57109 -3.218858)'))) / (select extract(epoch from '2026-05-31 12:28:58'::timestamp) - extract(epoch from '2026-05-31 12:28: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'), 46535, 'SRID=4674;POINT (-38.571096 -3.218853)', '2026-05-31 12:29:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57109 -3.218858)'), GeomFromEWKT('SRID=4674;POINT (-38.571096 -3.218853)'))) / (select extract(epoch from '2026-05-31 12:29:05'::timestamp) - extract(epoch from '2026-05-31 12:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57109 -3.218858)'), GeomFromEWKT('SRID=4674;POINT (-38.571096 -3.218853)'))) / (select extract(epoch from '2026-05-31 12:29:05'::timestamp) - extract(epoch from '2026-05-31 12:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571116 -3.218848)', '2026-05-31 12:29:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571096 -3.218853)'), GeomFromEWKT('SRID=4674;POINT (-38.571116 -3.218848)'))) / (select extract(epoch from '2026-05-31 12:29:07'::timestamp) - extract(epoch from '2026-05-31 12:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571096 -3.218853)'), GeomFromEWKT('SRID=4674;POINT (-38.571116 -3.218848)'))) / (select extract(epoch from '2026-05-31 12:29:07'::timestamp) - extract(epoch from '2026-05-31 12:29:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571119 -3.218836)', '2026-05-31 12:29:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571116 -3.218848)'), GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218836)'))) / (select extract(epoch from '2026-05-31 12:29:09'::timestamp) - extract(epoch from '2026-05-31 12:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571116 -3.218848)'), GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218836)'))) / (select extract(epoch from '2026-05-31 12:29:09'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571104 -3.218831)', '2026-05-31 12:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218836)'), GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218831)'))) / (select extract(epoch from '2026-05-31 12:29:14'::timestamp) - extract(epoch from '2026-05-31 12:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218836)'), GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218831)'))) / (select extract(epoch from '2026-05-31 12:29:14'::timestamp) - extract(epoch from '2026-05-31 12:29: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'), 46535, 'SRID=4674;POINT (-38.571102 -3.218838)', '2026-05-31 12:29:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218831)'), GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.218838)'))) / (select extract(epoch from '2026-05-31 12:29:19'::timestamp) - extract(epoch from '2026-05-31 12:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218831)'), GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.218838)'))) / (select extract(epoch from '2026-05-31 12:29:19'::timestamp) - extract(epoch from '2026-05-31 12:29: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'), 46535, 'SRID=4674;POINT (-38.571114 -3.21883)', '2026-05-31 12:29:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.218838)'), GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.21883)'))) / (select extract(epoch from '2026-05-31 12:29:26'::timestamp) - extract(epoch from '2026-05-31 12:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.218838)'), GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.21883)'))) / (select extract(epoch from '2026-05-31 12:29:26'::timestamp) - extract(epoch from '2026-05-31 12:29: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'), 46535, 'SRID=4674;POINT (-38.57112 -3.218828)', '2026-05-31 12:29:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.21883)'), GeomFromEWKT('SRID=4674;POINT (-38.57112 -3.218828)'))) / (select extract(epoch from '2026-05-31 12:29:41'::timestamp) - extract(epoch from '2026-05-31 12:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.21883)'), GeomFromEWKT('SRID=4674;POINT (-38.57112 -3.218828)'))) / (select extract(epoch from '2026-05-31 12:29:41'::timestamp) - extract(epoch from '2026-05-31 12:29: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'), 46535, 'SRID=4674;POINT (-38.571114 -3.21883)', '2026-05-31 12:29:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57112 -3.218828)'), GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.21883)'))) / (select extract(epoch from '2026-05-31 12:29:47'::timestamp) - extract(epoch from '2026-05-31 12:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57112 -3.218828)'), GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.21883)'))) / (select extract(epoch from '2026-05-31 12:29:47'::timestamp) - extract(epoch from '2026-05-31 12:29: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'), 46535, 'SRID=4674;POINT (-38.571111 -3.218831)', '2026-05-31 12:29:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.21883)'), GeomFromEWKT('SRID=4674;POINT (-38.571111 -3.218831)'))) / (select extract(epoch from '2026-05-31 12:29:59'::timestamp) - extract(epoch from '2026-05-31 12:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.21883)'), GeomFromEWKT('SRID=4674;POINT (-38.571111 -3.218831)'))) / (select extract(epoch from '2026-05-31 12:29:59'::timestamp) - extract(epoch from '2026-05-31 12:29: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'), 46535, 'SRID=4674;POINT (-38.571122 -3.218827)', '2026-05-31 12:30:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571111 -3.218831)'), GeomFromEWKT('SRID=4674;POINT (-38.571122 -3.218827)'))) / (select extract(epoch from '2026-05-31 12:30:06'::timestamp) - extract(epoch from '2026-05-31 12:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571111 -3.218831)'), GeomFromEWKT('SRID=4674;POINT (-38.571122 -3.218827)'))) / (select extract(epoch from '2026-05-31 12:30:06'::timestamp) - extract(epoch from '2026-05-31 12:29: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'), 46535, 'SRID=4674;POINT (-38.571126 -3.218824)', '2026-05-31 12:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571122 -3.218827)'), GeomFromEWKT('SRID=4674;POINT (-38.571126 -3.218824)'))) / (select extract(epoch from '2026-05-31 12:30:16'::timestamp) - extract(epoch from '2026-05-31 12:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571122 -3.218827)'), GeomFromEWKT('SRID=4674;POINT (-38.571126 -3.218824)'))) / (select extract(epoch from '2026-05-31 12:30:16'::timestamp) - extract(epoch from '2026-05-31 12:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571117 -3.218826)', '2026-05-31 12:30:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571126 -3.218824)'), GeomFromEWKT('SRID=4674;POINT (-38.571117 -3.218826)'))) / (select extract(epoch from '2026-05-31 12:30:26'::timestamp) - extract(epoch from '2026-05-31 12:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571126 -3.218824)'), GeomFromEWKT('SRID=4674;POINT (-38.571117 -3.218826)'))) / (select extract(epoch from '2026-05-31 12:30:26'::timestamp) - extract(epoch from '2026-05-31 12:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571116 -3.218825)', '2026-05-31 12:30:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571117 -3.218826)'), GeomFromEWKT('SRID=4674;POINT (-38.571116 -3.218825)'))) / (select extract(epoch from '2026-05-31 12:30:33'::timestamp) - extract(epoch from '2026-05-31 12:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571117 -3.218826)'), GeomFromEWKT('SRID=4674;POINT (-38.571116 -3.218825)'))) / (select extract(epoch from '2026-05-31 12:30:33'::timestamp) - extract(epoch from '2026-05-31 12:30: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'), 46535, 'SRID=4674;POINT (-38.571113 -3.218827)', '2026-05-31 12:30:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571116 -3.218825)'), GeomFromEWKT('SRID=4674;POINT (-38.571113 -3.218827)'))) / (select extract(epoch from '2026-05-31 12:30:43'::timestamp) - extract(epoch from '2026-05-31 12:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571116 -3.218825)'), GeomFromEWKT('SRID=4674;POINT (-38.571113 -3.218827)'))) / (select extract(epoch from '2026-05-31 12:30:43'::timestamp) - extract(epoch from '2026-05-31 12:30: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'), 46535, 'SRID=4674;POINT (-38.57111 -3.218821)', '2026-05-31 12:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571113 -3.218827)'), GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218821)'))) / (select extract(epoch from '2026-05-31 12:30:51'::timestamp) - extract(epoch from '2026-05-31 12:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571113 -3.218827)'), GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218821)'))) / (select extract(epoch from '2026-05-31 12:30:51'::timestamp) - extract(epoch from '2026-05-31 12:30: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'), 46535, 'SRID=4674;POINT (-38.571107 -3.218821)', '2026-05-31 12:31:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218821)'), GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218821)'))) / (select extract(epoch from '2026-05-31 12:31:00'::timestamp) - extract(epoch from '2026-05-31 12:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218821)'), GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218821)'))) / (select extract(epoch from '2026-05-31 12:31:00'::timestamp) - extract(epoch from '2026-05-31 12:30: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'), 46535, 'SRID=4674;POINT (-38.571111 -3.218819)', '2026-05-31 12:31:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218821)'), GeomFromEWKT('SRID=4674;POINT (-38.571111 -3.218819)'))) / (select extract(epoch from '2026-05-31 12:31:07'::timestamp) - extract(epoch from '2026-05-31 12:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218821)'), GeomFromEWKT('SRID=4674;POINT (-38.571111 -3.218819)'))) / (select extract(epoch from '2026-05-31 12:31:07'::timestamp) - extract(epoch from '2026-05-31 12:31:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571104 -3.218828)', '2026-05-31 12:31:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571111 -3.218819)'), GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218828)'))) / (select extract(epoch from '2026-05-31 12:31:14'::timestamp) - extract(epoch from '2026-05-31 12:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571111 -3.218819)'), GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218828)'))) / (select extract(epoch from '2026-05-31 12:31:14'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.57111 -3.218824)', '2026-05-31 12:31:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218828)'), GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218824)'))) / (select extract(epoch from '2026-05-31 12:31:23'::timestamp) - extract(epoch from '2026-05-31 12:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218828)'), GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218824)'))) / (select extract(epoch from '2026-05-31 12:31:23'::timestamp) - extract(epoch from '2026-05-31 12:31: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'), 46535, 'SRID=4674;POINT (-38.571103 -3.218821)', '2026-05-31 12:31:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218824)'), GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218821)'))) / (select extract(epoch from '2026-05-31 12:31:34'::timestamp) - extract(epoch from '2026-05-31 12:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218824)'), GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218821)'))) / (select extract(epoch from '2026-05-31 12:31:34'::timestamp) - extract(epoch from '2026-05-31 12:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571095 -3.218825)', '2026-05-31 12:31:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218821)'), GeomFromEWKT('SRID=4674;POINT (-38.571095 -3.218825)'))) / (select extract(epoch from '2026-05-31 12:31:38'::timestamp) - extract(epoch from '2026-05-31 12:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218821)'), GeomFromEWKT('SRID=4674;POINT (-38.571095 -3.218825)'))) / (select extract(epoch from '2026-05-31 12:31:38'::timestamp) - extract(epoch from '2026-05-31 12:31: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'), 46535, 'SRID=4674;POINT (-38.571101 -3.218832)', '2026-05-31 12:31:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571095 -3.218825)'), GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.218832)'))) / (select extract(epoch from '2026-05-31 12:31:47'::timestamp) - extract(epoch from '2026-05-31 12:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571095 -3.218825)'), GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.218832)'))) / (select extract(epoch from '2026-05-31 12:31:47'::timestamp) - extract(epoch from '2026-05-31 12:31: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'), 46535, 'SRID=4674;POINT (-38.571104 -3.218831)', '2026-05-31 12:31:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.218832)'), GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218831)'))) / (select extract(epoch from '2026-05-31 12:31:59'::timestamp) - extract(epoch from '2026-05-31 12:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.218832)'), GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218831)'))) / (select extract(epoch from '2026-05-31 12:31:59'::timestamp) - extract(epoch from '2026-05-31 12:31: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'), 46535, 'SRID=4674;POINT (-38.571108 -3.218835)', '2026-05-31 12:32:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218831)'), GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218835)'))) / (select extract(epoch from '2026-05-31 12:32:07'::timestamp) - extract(epoch from '2026-05-31 12:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.218831)'), GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218835)'))) / (select extract(epoch from '2026-05-31 12:32:07'::timestamp) - extract(epoch from '2026-05-31 12:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571108 -3.218828)', '2026-05-31 12:32:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218835)'), GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218828)'))) / (select extract(epoch from '2026-05-31 12:32:16'::timestamp) - extract(epoch from '2026-05-31 12:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218835)'), GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218828)'))) / (select extract(epoch from '2026-05-31 12:32:16'::timestamp) - extract(epoch from '2026-05-31 12:32: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'), 46535, 'SRID=4674;POINT (-38.571106 -3.218824)', '2026-05-31 12:32:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218828)'), GeomFromEWKT('SRID=4674;POINT (-38.571106 -3.218824)'))) / (select extract(epoch from '2026-05-31 12:32:26'::timestamp) - extract(epoch from '2026-05-31 12:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218828)'), GeomFromEWKT('SRID=4674;POINT (-38.571106 -3.218824)'))) / (select extract(epoch from '2026-05-31 12:32:26'::timestamp) - extract(epoch from '2026-05-31 12:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571108 -3.218824)', '2026-05-31 12:32:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571106 -3.218824)'), GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218824)'))) / (select extract(epoch from '2026-05-31 12:32:34'::timestamp) - extract(epoch from '2026-05-31 12:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571106 -3.218824)'), GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218824)'))) / (select extract(epoch from '2026-05-31 12:32:34'::timestamp) - extract(epoch from '2026-05-31 12:32: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'), 46535, 'SRID=4674;POINT (-38.5711 -3.218833)', '2026-05-31 12:32:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218824)'), GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218833)'))) / (select extract(epoch from '2026-05-31 12:32:40'::timestamp) - extract(epoch from '2026-05-31 12:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571108 -3.218824)'), GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218833)'))) / (select extract(epoch from '2026-05-31 12:32:40'::timestamp) - extract(epoch from '2026-05-31 12:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571096 -3.218837)', '2026-05-31 12:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218833)'), GeomFromEWKT('SRID=4674;POINT (-38.571096 -3.218837)'))) / (select extract(epoch from '2026-05-31 12:32:52'::timestamp) - extract(epoch from '2026-05-31 12:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218833)'), GeomFromEWKT('SRID=4674;POINT (-38.571096 -3.218837)'))) / (select extract(epoch from '2026-05-31 12:32:52'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571102 -3.218834)', '2026-05-31 12:32:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571096 -3.218837)'), GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.218834)'))) / (select extract(epoch from '2026-05-31 12:32:57'::timestamp) - extract(epoch from '2026-05-31 12:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571096 -3.218837)'), GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.218834)'))) / (select extract(epoch from '2026-05-31 12:32:57'::timestamp) - extract(epoch from '2026-05-31 12:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571109 -3.218833)', '2026-05-31 12:33:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.218834)'), GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.218833)'))) / (select extract(epoch from '2026-05-31 12:33:04'::timestamp) - extract(epoch from '2026-05-31 12:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.218834)'), GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.218833)'))) / (select extract(epoch from '2026-05-31 12:33:04'::timestamp) - extract(epoch from '2026-05-31 12:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571101 -3.218837)', '2026-05-31 12:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.218833)'), GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.218837)'))) / (select extract(epoch from '2026-05-31 12:33:11'::timestamp) - extract(epoch from '2026-05-31 12:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.218833)'), GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.218837)'))) / (select extract(epoch from '2026-05-31 12:33:11'::timestamp) - extract(epoch from '2026-05-31 12:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571105 -3.21883)', '2026-05-31 12:33:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.218837)'), GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.21883)'))) / (select extract(epoch from '2026-05-31 12:33:21'::timestamp) - extract(epoch from '2026-05-31 12:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.218837)'), GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.21883)'))) / (select extract(epoch from '2026-05-31 12:33:21'::timestamp) - extract(epoch from '2026-05-31 12:33: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'), 46535, 'SRID=4674;POINT (-38.571105 -3.218836)', '2026-05-31 12:33:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.21883)'), GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.218836)'))) / (select extract(epoch from '2026-05-31 12:33:27'::timestamp) - extract(epoch from '2026-05-31 12:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.21883)'), GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.218836)'))) / (select extract(epoch from '2026-05-31 12:33:27'::timestamp) - extract(epoch from '2026-05-31 12:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571103 -3.218842)', '2026-05-31 12:33:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.218836)'), GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218842)'))) / (select extract(epoch from '2026-05-31 12:33:38'::timestamp) - extract(epoch from '2026-05-31 12:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.218836)'), GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218842)'))) / (select extract(epoch from '2026-05-31 12:33:38'::timestamp) - extract(epoch from '2026-05-31 12:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571107 -3.218833)', '2026-05-31 12:33:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218842)'), GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218833)'))) / (select extract(epoch from '2026-05-31 12:33:50'::timestamp) - extract(epoch from '2026-05-31 12:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218842)'), GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218833)'))) / (select extract(epoch from '2026-05-31 12:33:50'::timestamp) - extract(epoch from '2026-05-31 12:33: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'), 46535, 'SRID=4674;POINT (-38.571107 -3.218831)', '2026-05-31 12:33:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218833)'), GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218831)'))) / (select extract(epoch from '2026-05-31 12:33:57'::timestamp) - extract(epoch from '2026-05-31 12:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218833)'), GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218831)'))) / (select extract(epoch from '2026-05-31 12:33:57'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571103 -3.218837)', '2026-05-31 12:34:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218831)'), GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218837)'))) / (select extract(epoch from '2026-05-31 12:34:08'::timestamp) - extract(epoch from '2026-05-31 12:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571107 -3.218831)'), GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218837)'))) / (select extract(epoch from '2026-05-31 12:34:08'::timestamp) - extract(epoch from '2026-05-31 12:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.5711 -3.218835)', '2026-05-31 12:34:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218837)'), GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218835)'))) / (select extract(epoch from '2026-05-31 12:34:16'::timestamp) - extract(epoch from '2026-05-31 12:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571103 -3.218837)'), GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218835)'))) / (select extract(epoch from '2026-05-31 12:34:16'::timestamp) - extract(epoch from '2026-05-31 12:34: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'), 46535, 'SRID=4674;POINT (-38.571102 -3.21884)', '2026-05-31 12:34:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218835)'), GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.21884)'))) / (select extract(epoch from '2026-05-31 12:34:25'::timestamp) - extract(epoch from '2026-05-31 12:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218835)'), GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.21884)'))) / (select extract(epoch from '2026-05-31 12:34:25'::timestamp) - extract(epoch from '2026-05-31 12:34: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'), 46535, 'SRID=4674;POINT (-38.571105 -3.218845)', '2026-05-31 12:34:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.21884)'), GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.218845)'))) / (select extract(epoch from '2026-05-31 12:34:35'::timestamp) - extract(epoch from '2026-05-31 12:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571102 -3.21884)'), GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.218845)'))) / (select extract(epoch from '2026-05-31 12:34:35'::timestamp) - extract(epoch from '2026-05-31 12:34: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'), 46535, 'SRID=4674;POINT (-38.571109 -3.21884)', '2026-05-31 12:34:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.218845)'), GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.21884)'))) / (select extract(epoch from '2026-05-31 12:34:43'::timestamp) - extract(epoch from '2026-05-31 12:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571105 -3.218845)'), GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.21884)'))) / (select extract(epoch from '2026-05-31 12:34:43'::timestamp) - extract(epoch from '2026-05-31 12:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57111 -3.218845)', '2026-05-31 12:34:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.21884)'), GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218845)'))) / (select extract(epoch from '2026-05-31 12:34:52'::timestamp) - extract(epoch from '2026-05-31 12:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.21884)'), GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218845)'))) / (select extract(epoch from '2026-05-31 12:34:52'::timestamp) - extract(epoch from '2026-05-31 12:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571112 -3.21885)', '2026-05-31 12:35:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218845)'), GeomFromEWKT('SRID=4674;POINT (-38.571112 -3.21885)'))) / (select extract(epoch from '2026-05-31 12:35:00'::timestamp) - extract(epoch from '2026-05-31 12:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218845)'), GeomFromEWKT('SRID=4674;POINT (-38.571112 -3.21885)'))) / (select extract(epoch from '2026-05-31 12:35:00'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571119 -3.218847)', '2026-05-31 12:35:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571112 -3.21885)'), GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218847)'))) / (select extract(epoch from '2026-05-31 12:35:07'::timestamp) - extract(epoch from '2026-05-31 12:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571112 -3.21885)'), GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218847)'))) / (select extract(epoch from '2026-05-31 12:35:07'::timestamp) - extract(epoch from '2026-05-31 12:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571114 -3.218853)', '2026-05-31 12:35:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218847)'), GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.218853)'))) / (select extract(epoch from '2026-05-31 12:35:16'::timestamp) - extract(epoch from '2026-05-31 12:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218847)'), GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.218853)'))) / (select extract(epoch from '2026-05-31 12:35:16'::timestamp) - extract(epoch from '2026-05-31 12:35: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'), 46535, 'SRID=4674;POINT (-38.57111 -3.218861)', '2026-05-31 12:35:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.218853)'), GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218861)'))) / (select extract(epoch from '2026-05-31 12:35:25'::timestamp) - extract(epoch from '2026-05-31 12:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.218853)'), GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218861)'))) / (select extract(epoch from '2026-05-31 12:35:25'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571119 -3.218856)', '2026-05-31 12:35:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218861)'), GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218856)'))) / (select extract(epoch from '2026-05-31 12:35:34'::timestamp) - extract(epoch from '2026-05-31 12:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57111 -3.218861)'), GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218856)'))) / (select extract(epoch from '2026-05-31 12:35:34'::timestamp) - extract(epoch from '2026-05-31 12:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571127 -3.218858)', '2026-05-31 12:35:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218856)'), GeomFromEWKT('SRID=4674;POINT (-38.571127 -3.218858)'))) / (select extract(epoch from '2026-05-31 12:35:43'::timestamp) - extract(epoch from '2026-05-31 12:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.218856)'), GeomFromEWKT('SRID=4674;POINT (-38.571127 -3.218858)'))) / (select extract(epoch from '2026-05-31 12:35:43'::timestamp) - extract(epoch from '2026-05-31 12:35: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'), 46535, 'SRID=4674;POINT (-38.571124 -3.218866)', '2026-05-31 12:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571127 -3.218858)'), GeomFromEWKT('SRID=4674;POINT (-38.571124 -3.218866)'))) / (select extract(epoch from '2026-05-31 12:35:54'::timestamp) - extract(epoch from '2026-05-31 12:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571127 -3.218858)'), GeomFromEWKT('SRID=4674;POINT (-38.571124 -3.218866)'))) / (select extract(epoch from '2026-05-31 12:35:54'::timestamp) - extract(epoch from '2026-05-31 12:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571128 -3.218866)', '2026-05-31 12:36:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571124 -3.218866)'), GeomFromEWKT('SRID=4674;POINT (-38.571128 -3.218866)'))) / (select extract(epoch from '2026-05-31 12:36:03'::timestamp) - extract(epoch from '2026-05-31 12:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571124 -3.218866)'), GeomFromEWKT('SRID=4674;POINT (-38.571128 -3.218866)'))) / (select extract(epoch from '2026-05-31 12:36:03'::timestamp) - extract(epoch from '2026-05-31 12:35: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'), 46535, 'SRID=4674;POINT (-38.571132 -3.218867)', '2026-05-31 12:36:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571128 -3.218866)'), GeomFromEWKT('SRID=4674;POINT (-38.571132 -3.218867)'))) / (select extract(epoch from '2026-05-31 12:36:12'::timestamp) - extract(epoch from '2026-05-31 12:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571128 -3.218866)'), GeomFromEWKT('SRID=4674;POINT (-38.571132 -3.218867)'))) / (select extract(epoch from '2026-05-31 12:36:12'::timestamp) - extract(epoch from '2026-05-31 12:36: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'), 46535, 'SRID=4674;POINT (-38.571133 -3.218873)', '2026-05-31 12:36:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571132 -3.218867)'), GeomFromEWKT('SRID=4674;POINT (-38.571133 -3.218873)'))) / (select extract(epoch from '2026-05-31 12:36:22'::timestamp) - extract(epoch from '2026-05-31 12:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571132 -3.218867)'), GeomFromEWKT('SRID=4674;POINT (-38.571133 -3.218873)'))) / (select extract(epoch from '2026-05-31 12:36:22'::timestamp) - extract(epoch from '2026-05-31 12:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57112 -3.218881)', '2026-05-31 12:36:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571133 -3.218873)'), GeomFromEWKT('SRID=4674;POINT (-38.57112 -3.218881)'))) / (select extract(epoch from '2026-05-31 12:36:30'::timestamp) - extract(epoch from '2026-05-31 12:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571133 -3.218873)'), GeomFromEWKT('SRID=4674;POINT (-38.57112 -3.218881)'))) / (select extract(epoch from '2026-05-31 12:36:30'::timestamp) - extract(epoch from '2026-05-31 12:36: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'), 46535, 'SRID=4674;POINT (-38.5711 -3.218929)', '2026-05-31 12:36:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57112 -3.218881)'), GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218929)'))) / (select extract(epoch from '2026-05-31 12:36:37'::timestamp) - extract(epoch from '2026-05-31 12:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57112 -3.218881)'), GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218929)'))) / (select extract(epoch from '2026-05-31 12:36:37'::timestamp) - extract(epoch from '2026-05-31 12:36: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'), 46535, 'SRID=4674;POINT (-38.571088 -3.218983)', '2026-05-31 12:36:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218929)'), GeomFromEWKT('SRID=4674;POINT (-38.571088 -3.218983)'))) / (select extract(epoch from '2026-05-31 12:36:46'::timestamp) - extract(epoch from '2026-05-31 12:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5711 -3.218929)'), GeomFromEWKT('SRID=4674;POINT (-38.571088 -3.218983)'))) / (select extract(epoch from '2026-05-31 12:36:46'::timestamp) - extract(epoch from '2026-05-31 12:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571088 -3.219029)', '2026-05-31 12:36:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571088 -3.218983)'), GeomFromEWKT('SRID=4674;POINT (-38.571088 -3.219029)'))) / (select extract(epoch from '2026-05-31 12:36:54'::timestamp) - extract(epoch from '2026-05-31 12:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571088 -3.218983)'), GeomFromEWKT('SRID=4674;POINT (-38.571088 -3.219029)'))) / (select extract(epoch from '2026-05-31 12:36:54'::timestamp) - extract(epoch from '2026-05-31 12:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571101 -3.219046)', '2026-05-31 12:37:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571088 -3.219029)'), GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.219046)'))) / (select extract(epoch from '2026-05-31 12:37:02'::timestamp) - extract(epoch from '2026-05-31 12:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571088 -3.219029)'), GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.219046)'))) / (select extract(epoch from '2026-05-31 12:37:02'::timestamp) - extract(epoch from '2026-05-31 12:36: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'), 46535, 'SRID=4674;POINT (-38.571092 -3.21906)', '2026-05-31 12:37:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.219046)'), GeomFromEWKT('SRID=4674;POINT (-38.571092 -3.21906)'))) / (select extract(epoch from '2026-05-31 12:37:09'::timestamp) - extract(epoch from '2026-05-31 12:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571101 -3.219046)'), GeomFromEWKT('SRID=4674;POINT (-38.571092 -3.21906)'))) / (select extract(epoch from '2026-05-31 12:37:09'::timestamp) - extract(epoch from '2026-05-31 12:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571081 -3.219068)', '2026-05-31 12:37:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571092 -3.21906)'), GeomFromEWKT('SRID=4674;POINT (-38.571081 -3.219068)'))) / (select extract(epoch from '2026-05-31 12:37:18'::timestamp) - extract(epoch from '2026-05-31 12:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571092 -3.21906)'), GeomFromEWKT('SRID=4674;POINT (-38.571081 -3.219068)'))) / (select extract(epoch from '2026-05-31 12:37:18'::timestamp) - extract(epoch from '2026-05-31 12:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571045 -3.219077)', '2026-05-31 12:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571081 -3.219068)'), GeomFromEWKT('SRID=4674;POINT (-38.571045 -3.219077)'))) / (select extract(epoch from '2026-05-31 12:37:26'::timestamp) - extract(epoch from '2026-05-31 12:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571081 -3.219068)'), GeomFromEWKT('SRID=4674;POINT (-38.571045 -3.219077)'))) / (select extract(epoch from '2026-05-31 12:37:26'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571013 -3.219099)', '2026-05-31 12:37:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571045 -3.219077)'), GeomFromEWKT('SRID=4674;POINT (-38.571013 -3.219099)'))) / (select extract(epoch from '2026-05-31 12:37:33'::timestamp) - extract(epoch from '2026-05-31 12:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571045 -3.219077)'), GeomFromEWKT('SRID=4674;POINT (-38.571013 -3.219099)'))) / (select extract(epoch from '2026-05-31 12:37:33'::timestamp) - extract(epoch from '2026-05-31 12:37: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'), 46535, 'SRID=4674;POINT (-38.57098 -3.219121)', '2026-05-31 12:37:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571013 -3.219099)'), GeomFromEWKT('SRID=4674;POINT (-38.57098 -3.219121)'))) / (select extract(epoch from '2026-05-31 12:37:42'::timestamp) - extract(epoch from '2026-05-31 12:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571013 -3.219099)'), GeomFromEWKT('SRID=4674;POINT (-38.57098 -3.219121)'))) / (select extract(epoch from '2026-05-31 12:37:42'::timestamp) - extract(epoch from '2026-05-31 12:37: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'), 46535, 'SRID=4674;POINT (-38.570948 -3.219143)', '2026-05-31 12:37:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57098 -3.219121)'), GeomFromEWKT('SRID=4674;POINT (-38.570948 -3.219143)'))) / (select extract(epoch from '2026-05-31 12:37:51'::timestamp) - extract(epoch from '2026-05-31 12:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57098 -3.219121)'), GeomFromEWKT('SRID=4674;POINT (-38.570948 -3.219143)'))) / (select extract(epoch from '2026-05-31 12:37:51'::timestamp) - extract(epoch from '2026-05-31 12:37: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'), 46535, 'SRID=4674;POINT (-38.57092 -3.219159)', '2026-05-31 12:37:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570948 -3.219143)'), GeomFromEWKT('SRID=4674;POINT (-38.57092 -3.219159)'))) / (select extract(epoch from '2026-05-31 12:37:59'::timestamp) - extract(epoch from '2026-05-31 12:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570948 -3.219143)'), GeomFromEWKT('SRID=4674;POINT (-38.57092 -3.219159)'))) / (select extract(epoch from '2026-05-31 12:37:59'::timestamp) - extract(epoch from '2026-05-31 12:37: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'), 46535, 'SRID=4674;POINT (-38.570897 -3.219201)', '2026-05-31 12:38:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57092 -3.219159)'), GeomFromEWKT('SRID=4674;POINT (-38.570897 -3.219201)'))) / (select extract(epoch from '2026-05-31 12:38:07'::timestamp) - extract(epoch from '2026-05-31 12:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57092 -3.219159)'), GeomFromEWKT('SRID=4674;POINT (-38.570897 -3.219201)'))) / (select extract(epoch from '2026-05-31 12:38:07'::timestamp) - extract(epoch from '2026-05-31 12:37: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'), 46535, 'SRID=4674;POINT (-38.570872 -3.219242)', '2026-05-31 12:38:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570897 -3.219201)'), GeomFromEWKT('SRID=4674;POINT (-38.570872 -3.219242)'))) / (select extract(epoch from '2026-05-31 12:38:14'::timestamp) - extract(epoch from '2026-05-31 12:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570897 -3.219201)'), GeomFromEWKT('SRID=4674;POINT (-38.570872 -3.219242)'))) / (select extract(epoch from '2026-05-31 12:38:14'::timestamp) - extract(epoch from '2026-05-31 12:38: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'), 46535, 'SRID=4674;POINT (-38.570841 -3.219278)', '2026-05-31 12:38:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570872 -3.219242)'), GeomFromEWKT('SRID=4674;POINT (-38.570841 -3.219278)'))) / (select extract(epoch from '2026-05-31 12:38:23'::timestamp) - extract(epoch from '2026-05-31 12:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570872 -3.219242)'), GeomFromEWKT('SRID=4674;POINT (-38.570841 -3.219278)'))) / (select extract(epoch from '2026-05-31 12:38:23'::timestamp) - extract(epoch from '2026-05-31 12:38: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'), 46535, 'SRID=4674;POINT (-38.570798 -3.219302)', '2026-05-31 12:38:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570841 -3.219278)'), GeomFromEWKT('SRID=4674;POINT (-38.570798 -3.219302)'))) / (select extract(epoch from '2026-05-31 12:38:31'::timestamp) - extract(epoch from '2026-05-31 12:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570841 -3.219278)'), GeomFromEWKT('SRID=4674;POINT (-38.570798 -3.219302)'))) / (select extract(epoch from '2026-05-31 12:38:31'::timestamp) - extract(epoch from '2026-05-31 12:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570769 -3.219341)', '2026-05-31 12:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570798 -3.219302)'), GeomFromEWKT('SRID=4674;POINT (-38.570769 -3.219341)'))) / (select extract(epoch from '2026-05-31 12:38:41'::timestamp) - extract(epoch from '2026-05-31 12:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570798 -3.219302)'), GeomFromEWKT('SRID=4674;POINT (-38.570769 -3.219341)'))) / (select extract(epoch from '2026-05-31 12:38:41'::timestamp) - extract(epoch from '2026-05-31 12:38: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'), 46535, 'SRID=4674;POINT (-38.570729 -3.219375)', '2026-05-31 12:38:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570769 -3.219341)'), GeomFromEWKT('SRID=4674;POINT (-38.570729 -3.219375)'))) / (select extract(epoch from '2026-05-31 12:38:51'::timestamp) - extract(epoch from '2026-05-31 12:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570769 -3.219341)'), GeomFromEWKT('SRID=4674;POINT (-38.570729 -3.219375)'))) / (select extract(epoch from '2026-05-31 12:38:51'::timestamp) - extract(epoch from '2026-05-31 12:38: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'), 46535, 'SRID=4674;POINT (-38.570681 -3.219415)', '2026-05-31 12:39:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570729 -3.219375)'), GeomFromEWKT('SRID=4674;POINT (-38.570681 -3.219415)'))) / (select extract(epoch from '2026-05-31 12:39:00'::timestamp) - extract(epoch from '2026-05-31 12:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570729 -3.219375)'), GeomFromEWKT('SRID=4674;POINT (-38.570681 -3.219415)'))) / (select extract(epoch from '2026-05-31 12:39:00'::timestamp) - extract(epoch from '2026-05-31 12:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570644 -3.219464)', '2026-05-31 12:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570681 -3.219415)'), GeomFromEWKT('SRID=4674;POINT (-38.570644 -3.219464)'))) / (select extract(epoch from '2026-05-31 12:39:10'::timestamp) - extract(epoch from '2026-05-31 12:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570681 -3.219415)'), GeomFromEWKT('SRID=4674;POINT (-38.570644 -3.219464)'))) / (select extract(epoch from '2026-05-31 12:39:10'::timestamp) - extract(epoch from '2026-05-31 12:39: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'), 46535, 'SRID=4674;POINT (-38.570605 -3.219495)', '2026-05-31 12:39:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570644 -3.219464)'), GeomFromEWKT('SRID=4674;POINT (-38.570605 -3.219495)'))) / (select extract(epoch from '2026-05-31 12:39:19'::timestamp) - extract(epoch from '2026-05-31 12:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570644 -3.219464)'), GeomFromEWKT('SRID=4674;POINT (-38.570605 -3.219495)'))) / (select extract(epoch from '2026-05-31 12:39:19'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570599 -3.219508)', '2026-05-31 12:39:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570605 -3.219495)'), GeomFromEWKT('SRID=4674;POINT (-38.570599 -3.219508)'))) / (select extract(epoch from '2026-05-31 12:39:29'::timestamp) - extract(epoch from '2026-05-31 12:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570605 -3.219495)'), GeomFromEWKT('SRID=4674;POINT (-38.570599 -3.219508)'))) / (select extract(epoch from '2026-05-31 12:39:29'::timestamp) - extract(epoch from '2026-05-31 12:39: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'), 46535, 'SRID=4674;POINT (-38.570563 -3.219543)', '2026-05-31 12:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570599 -3.219508)'), GeomFromEWKT('SRID=4674;POINT (-38.570563 -3.219543)'))) / (select extract(epoch from '2026-05-31 12:39:38'::timestamp) - extract(epoch from '2026-05-31 12:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570599 -3.219508)'), GeomFromEWKT('SRID=4674;POINT (-38.570563 -3.219543)'))) / (select extract(epoch from '2026-05-31 12:39:38'::timestamp) - extract(epoch from '2026-05-31 12:39: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'), 46535, 'SRID=4674;POINT (-38.570522 -3.219571)', '2026-05-31 12:39:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570563 -3.219543)'), GeomFromEWKT('SRID=4674;POINT (-38.570522 -3.219571)'))) / (select extract(epoch from '2026-05-31 12:39:47'::timestamp) - extract(epoch from '2026-05-31 12:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570563 -3.219543)'), GeomFromEWKT('SRID=4674;POINT (-38.570522 -3.219571)'))) / (select extract(epoch from '2026-05-31 12:39:47'::timestamp) - extract(epoch from '2026-05-31 12:39: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'), 46535, 'SRID=4674;POINT (-38.570491 -3.219587)', '2026-05-31 12:39:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570522 -3.219571)'), GeomFromEWKT('SRID=4674;POINT (-38.570491 -3.219587)'))) / (select extract(epoch from '2026-05-31 12:39:57'::timestamp) - extract(epoch from '2026-05-31 12:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570522 -3.219571)'), GeomFromEWKT('SRID=4674;POINT (-38.570491 -3.219587)'))) / (select extract(epoch from '2026-05-31 12:39:57'::timestamp) - extract(epoch from '2026-05-31 12:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570442 -3.219594)', '2026-05-31 12:40:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570491 -3.219587)'), GeomFromEWKT('SRID=4674;POINT (-38.570442 -3.219594)'))) / (select extract(epoch from '2026-05-31 12:40:05'::timestamp) - extract(epoch from '2026-05-31 12:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570491 -3.219587)'), GeomFromEWKT('SRID=4674;POINT (-38.570442 -3.219594)'))) / (select extract(epoch from '2026-05-31 12:40:05'::timestamp) - extract(epoch from '2026-05-31 12:39: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'), 46535, 'SRID=4674;POINT (-38.570401 -3.219619)', '2026-05-31 12:40:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570442 -3.219594)'), GeomFromEWKT('SRID=4674;POINT (-38.570401 -3.219619)'))) / (select extract(epoch from '2026-05-31 12:40:16'::timestamp) - extract(epoch from '2026-05-31 12:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570442 -3.219594)'), GeomFromEWKT('SRID=4674;POINT (-38.570401 -3.219619)'))) / (select extract(epoch from '2026-05-31 12:40:16'::timestamp) - extract(epoch from '2026-05-31 12:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570381 -3.219635)', '2026-05-31 12:40:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570401 -3.219619)'), GeomFromEWKT('SRID=4674;POINT (-38.570381 -3.219635)'))) / (select extract(epoch from '2026-05-31 12:40:24'::timestamp) - extract(epoch from '2026-05-31 12:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570401 -3.219619)'), GeomFromEWKT('SRID=4674;POINT (-38.570381 -3.219635)'))) / (select extract(epoch from '2026-05-31 12:40:24'::timestamp) - extract(epoch from '2026-05-31 12:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570355 -3.219672)', '2026-05-31 12:40:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570381 -3.219635)'), GeomFromEWKT('SRID=4674;POINT (-38.570355 -3.219672)'))) / (select extract(epoch from '2026-05-31 12:40:32'::timestamp) - extract(epoch from '2026-05-31 12:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570381 -3.219635)'), GeomFromEWKT('SRID=4674;POINT (-38.570355 -3.219672)'))) / (select extract(epoch from '2026-05-31 12:40:32'::timestamp) - extract(epoch from '2026-05-31 12:40: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'), 46535, 'SRID=4674;POINT (-38.570329 -3.219704)', '2026-05-31 12:40:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570355 -3.219672)'), GeomFromEWKT('SRID=4674;POINT (-38.570329 -3.219704)'))) / (select extract(epoch from '2026-05-31 12:40:41'::timestamp) - extract(epoch from '2026-05-31 12:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570355 -3.219672)'), GeomFromEWKT('SRID=4674;POINT (-38.570329 -3.219704)'))) / (select extract(epoch from '2026-05-31 12:40:41'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570303 -3.219725)', '2026-05-31 12:40:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570329 -3.219704)'), GeomFromEWKT('SRID=4674;POINT (-38.570303 -3.219725)'))) / (select extract(epoch from '2026-05-31 12:40:50'::timestamp) - extract(epoch from '2026-05-31 12:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570329 -3.219704)'), GeomFromEWKT('SRID=4674;POINT (-38.570303 -3.219725)'))) / (select extract(epoch from '2026-05-31 12:40:50'::timestamp) - extract(epoch from '2026-05-31 12:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57026 -3.219739)', '2026-05-31 12:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570303 -3.219725)'), GeomFromEWKT('SRID=4674;POINT (-38.57026 -3.219739)'))) / (select extract(epoch from '2026-05-31 12:41:00'::timestamp) - extract(epoch from '2026-05-31 12:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570303 -3.219725)'), GeomFromEWKT('SRID=4674;POINT (-38.57026 -3.219739)'))) / (select extract(epoch from '2026-05-31 12:41:00'::timestamp) - extract(epoch from '2026-05-31 12:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570233 -3.219748)', '2026-05-31 12:41:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57026 -3.219739)'), GeomFromEWKT('SRID=4674;POINT (-38.570233 -3.219748)'))) / (select extract(epoch from '2026-05-31 12:41:12'::timestamp) - extract(epoch from '2026-05-31 12:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57026 -3.219739)'), GeomFromEWKT('SRID=4674;POINT (-38.570233 -3.219748)'))) / (select extract(epoch from '2026-05-31 12:41:12'::timestamp) - extract(epoch from '2026-05-31 12:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570199 -3.219767)', '2026-05-31 12:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570233 -3.219748)'), GeomFromEWKT('SRID=4674;POINT (-38.570199 -3.219767)'))) / (select extract(epoch from '2026-05-31 12:41:20'::timestamp) - extract(epoch from '2026-05-31 12:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570233 -3.219748)'), GeomFromEWKT('SRID=4674;POINT (-38.570199 -3.219767)'))) / (select extract(epoch from '2026-05-31 12:41:20'::timestamp) - extract(epoch from '2026-05-31 12:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570171 -3.219787)', '2026-05-31 12:41:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570199 -3.219767)'), GeomFromEWKT('SRID=4674;POINT (-38.570171 -3.219787)'))) / (select extract(epoch from '2026-05-31 12:41:28'::timestamp) - extract(epoch from '2026-05-31 12:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570199 -3.219767)'), GeomFromEWKT('SRID=4674;POINT (-38.570171 -3.219787)'))) / (select extract(epoch from '2026-05-31 12:41:28'::timestamp) - extract(epoch from '2026-05-31 12:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57014 -3.219813)', '2026-05-31 12:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570171 -3.219787)'), GeomFromEWKT('SRID=4674;POINT (-38.57014 -3.219813)'))) / (select extract(epoch from '2026-05-31 12:41:37'::timestamp) - extract(epoch from '2026-05-31 12:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570171 -3.219787)'), GeomFromEWKT('SRID=4674;POINT (-38.57014 -3.219813)'))) / (select extract(epoch from '2026-05-31 12:41:37'::timestamp) - extract(epoch from '2026-05-31 12:41: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'), 46535, 'SRID=4674;POINT (-38.570099 -3.219858)', '2026-05-31 12:41:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57014 -3.219813)'), GeomFromEWKT('SRID=4674;POINT (-38.570099 -3.219858)'))) / (select extract(epoch from '2026-05-31 12:41:47'::timestamp) - extract(epoch from '2026-05-31 12:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57014 -3.219813)'), GeomFromEWKT('SRID=4674;POINT (-38.570099 -3.219858)'))) / (select extract(epoch from '2026-05-31 12:41:47'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570054 -3.219891)', '2026-05-31 12:41:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570099 -3.219858)'), GeomFromEWKT('SRID=4674;POINT (-38.570054 -3.219891)'))) / (select extract(epoch from '2026-05-31 12:41:56'::timestamp) - extract(epoch from '2026-05-31 12:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570099 -3.219858)'), GeomFromEWKT('SRID=4674;POINT (-38.570054 -3.219891)'))) / (select extract(epoch from '2026-05-31 12:41:56'::timestamp) - extract(epoch from '2026-05-31 12:41: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'), 46535, 'SRID=4674;POINT (-38.570034 -3.219903)', '2026-05-31 12:42:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570054 -3.219891)'), GeomFromEWKT('SRID=4674;POINT (-38.570034 -3.219903)'))) / (select extract(epoch from '2026-05-31 12:42:04'::timestamp) - extract(epoch from '2026-05-31 12:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570054 -3.219891)'), GeomFromEWKT('SRID=4674;POINT (-38.570034 -3.219903)'))) / (select extract(epoch from '2026-05-31 12:42:04'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570018 -3.219932)', '2026-05-31 12:42:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570034 -3.219903)'), GeomFromEWKT('SRID=4674;POINT (-38.570018 -3.219932)'))) / (select extract(epoch from '2026-05-31 12:42:13'::timestamp) - extract(epoch from '2026-05-31 12:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570034 -3.219903)'), GeomFromEWKT('SRID=4674;POINT (-38.570018 -3.219932)'))) / (select extract(epoch from '2026-05-31 12:42:13'::timestamp) - extract(epoch from '2026-05-31 12:42: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'), 46535, 'SRID=4674;POINT (-38.569985 -3.219954)', '2026-05-31 12:42:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570018 -3.219932)'), GeomFromEWKT('SRID=4674;POINT (-38.569985 -3.219954)'))) / (select extract(epoch from '2026-05-31 12:42:21'::timestamp) - extract(epoch from '2026-05-31 12:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570018 -3.219932)'), GeomFromEWKT('SRID=4674;POINT (-38.569985 -3.219954)'))) / (select extract(epoch from '2026-05-31 12:42:21'::timestamp) - extract(epoch from '2026-05-31 12:42:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569941 -3.219976)', '2026-05-31 12:42:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569985 -3.219954)'), GeomFromEWKT('SRID=4674;POINT (-38.569941 -3.219976)'))) / (select extract(epoch from '2026-05-31 12:42:28'::timestamp) - extract(epoch from '2026-05-31 12:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569985 -3.219954)'), GeomFromEWKT('SRID=4674;POINT (-38.569941 -3.219976)'))) / (select extract(epoch from '2026-05-31 12:42:28'::timestamp) - extract(epoch from '2026-05-31 12:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569892 -3.219985)', '2026-05-31 12:42:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569941 -3.219976)'), GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.219985)'))) / (select extract(epoch from '2026-05-31 12:42:40'::timestamp) - extract(epoch from '2026-05-31 12:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569941 -3.219976)'), GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.219985)'))) / (select extract(epoch from '2026-05-31 12:42:40'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.569849 -3.220013)', '2026-05-31 12:42:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.219985)'), GeomFromEWKT('SRID=4674;POINT (-38.569849 -3.220013)'))) / (select extract(epoch from '2026-05-31 12:42:49'::timestamp) - extract(epoch from '2026-05-31 12:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.219985)'), GeomFromEWKT('SRID=4674;POINT (-38.569849 -3.220013)'))) / (select extract(epoch from '2026-05-31 12:42:49'::timestamp) - extract(epoch from '2026-05-31 12:42:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569828 -3.220032)', '2026-05-31 12:42:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569849 -3.220013)'), GeomFromEWKT('SRID=4674;POINT (-38.569828 -3.220032)'))) / (select extract(epoch from '2026-05-31 12:42:57'::timestamp) - extract(epoch from '2026-05-31 12:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569849 -3.220013)'), GeomFromEWKT('SRID=4674;POINT (-38.569828 -3.220032)'))) / (select extract(epoch from '2026-05-31 12:42:57'::timestamp) - extract(epoch from '2026-05-31 12:42: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'), 46535, 'SRID=4674;POINT (-38.569808 -3.220045)', '2026-05-31 12:43:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569828 -3.220032)'), GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220045)'))) / (select extract(epoch from '2026-05-31 12:43:05'::timestamp) - extract(epoch from '2026-05-31 12:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569828 -3.220032)'), GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220045)'))) / (select extract(epoch from '2026-05-31 12:43:05'::timestamp) - extract(epoch from '2026-05-31 12:42: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'), 46535, 'SRID=4674;POINT (-38.569774 -3.220057)', '2026-05-31 12:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220045)'), GeomFromEWKT('SRID=4674;POINT (-38.569774 -3.220057)'))) / (select extract(epoch from '2026-05-31 12:43:14'::timestamp) - extract(epoch from '2026-05-31 12:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220045)'), GeomFromEWKT('SRID=4674;POINT (-38.569774 -3.220057)'))) / (select extract(epoch from '2026-05-31 12:43:14'::timestamp) - extract(epoch from '2026-05-31 12:43:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569755 -3.22007)', '2026-05-31 12:43:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569774 -3.220057)'), GeomFromEWKT('SRID=4674;POINT (-38.569755 -3.22007)'))) / (select extract(epoch from '2026-05-31 12:43:21'::timestamp) - extract(epoch from '2026-05-31 12:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569774 -3.220057)'), GeomFromEWKT('SRID=4674;POINT (-38.569755 -3.22007)'))) / (select extract(epoch from '2026-05-31 12:43:21'::timestamp) - extract(epoch from '2026-05-31 12:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569722 -3.220095)', '2026-05-31 12:43:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569755 -3.22007)'), GeomFromEWKT('SRID=4674;POINT (-38.569722 -3.220095)'))) / (select extract(epoch from '2026-05-31 12:43:31'::timestamp) - extract(epoch from '2026-05-31 12:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569755 -3.22007)'), GeomFromEWKT('SRID=4674;POINT (-38.569722 -3.220095)'))) / (select extract(epoch from '2026-05-31 12:43:31'::timestamp) - extract(epoch from '2026-05-31 12:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569688 -3.22012)', '2026-05-31 12:43:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569722 -3.220095)'), GeomFromEWKT('SRID=4674;POINT (-38.569688 -3.22012)'))) / (select extract(epoch from '2026-05-31 12:43:38'::timestamp) - extract(epoch from '2026-05-31 12:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569722 -3.220095)'), GeomFromEWKT('SRID=4674;POINT (-38.569688 -3.22012)'))) / (select extract(epoch from '2026-05-31 12:43:38'::timestamp) - extract(epoch from '2026-05-31 12:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56966 -3.220155)', '2026-05-31 12:43:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569688 -3.22012)'), GeomFromEWKT('SRID=4674;POINT (-38.56966 -3.220155)'))) / (select extract(epoch from '2026-05-31 12:43:46'::timestamp) - extract(epoch from '2026-05-31 12:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569688 -3.22012)'), GeomFromEWKT('SRID=4674;POINT (-38.56966 -3.220155)'))) / (select extract(epoch from '2026-05-31 12:43:46'::timestamp) - extract(epoch from '2026-05-31 12:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569634 -3.220183)', '2026-05-31 12:43:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56966 -3.220155)'), GeomFromEWKT('SRID=4674;POINT (-38.569634 -3.220183)'))) / (select extract(epoch from '2026-05-31 12:43:53'::timestamp) - extract(epoch from '2026-05-31 12:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56966 -3.220155)'), GeomFromEWKT('SRID=4674;POINT (-38.569634 -3.220183)'))) / (select extract(epoch from '2026-05-31 12:43:53'::timestamp) - extract(epoch from '2026-05-31 12:43:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569611 -3.220198)', '2026-05-31 12:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569634 -3.220183)'), GeomFromEWKT('SRID=4674;POINT (-38.569611 -3.220198)'))) / (select extract(epoch from '2026-05-31 12:44:01'::timestamp) - extract(epoch from '2026-05-31 12:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569634 -3.220183)'), GeomFromEWKT('SRID=4674;POINT (-38.569611 -3.220198)'))) / (select extract(epoch from '2026-05-31 12:44:01'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.5696 -3.220198)', '2026-05-31 12:44:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569611 -3.220198)'), GeomFromEWKT('SRID=4674;POINT (-38.5696 -3.220198)'))) / (select extract(epoch from '2026-05-31 12:44:09'::timestamp) - extract(epoch from '2026-05-31 12:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569611 -3.220198)'), GeomFromEWKT('SRID=4674;POINT (-38.5696 -3.220198)'))) / (select extract(epoch from '2026-05-31 12:44:09'::timestamp) - extract(epoch from '2026-05-31 12:44: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'), 46535, 'SRID=4674;POINT (-38.569578 -3.220185)', '2026-05-31 12:44:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5696 -3.220198)'), GeomFromEWKT('SRID=4674;POINT (-38.569578 -3.220185)'))) / (select extract(epoch from '2026-05-31 12:44:18'::timestamp) - extract(epoch from '2026-05-31 12:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5696 -3.220198)'), GeomFromEWKT('SRID=4674;POINT (-38.569578 -3.220185)'))) / (select extract(epoch from '2026-05-31 12:44:18'::timestamp) - extract(epoch from '2026-05-31 12:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569562 -3.220171)', '2026-05-31 12:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569578 -3.220185)'), GeomFromEWKT('SRID=4674;POINT (-38.569562 -3.220171)'))) / (select extract(epoch from '2026-05-31 12:44:27'::timestamp) - extract(epoch from '2026-05-31 12:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569578 -3.220185)'), GeomFromEWKT('SRID=4674;POINT (-38.569562 -3.220171)'))) / (select extract(epoch from '2026-05-31 12:44:27'::timestamp) - extract(epoch from '2026-05-31 12:44: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'), 46535, 'SRID=4674;POINT (-38.569532 -3.220159)', '2026-05-31 12:44:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569562 -3.220171)'), GeomFromEWKT('SRID=4674;POINT (-38.569532 -3.220159)'))) / (select extract(epoch from '2026-05-31 12:44:34'::timestamp) - extract(epoch from '2026-05-31 12:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569562 -3.220171)'), GeomFromEWKT('SRID=4674;POINT (-38.569532 -3.220159)'))) / (select extract(epoch from '2026-05-31 12:44:34'::timestamp) - extract(epoch from '2026-05-31 12:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569503 -3.220152)', '2026-05-31 12:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569532 -3.220159)'), GeomFromEWKT('SRID=4674;POINT (-38.569503 -3.220152)'))) / (select extract(epoch from '2026-05-31 12:44:42'::timestamp) - extract(epoch from '2026-05-31 12:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569532 -3.220159)'), GeomFromEWKT('SRID=4674;POINT (-38.569503 -3.220152)'))) / (select extract(epoch from '2026-05-31 12:44:42'::timestamp) - extract(epoch from '2026-05-31 12:44: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'), 46535, 'SRID=4674;POINT (-38.569491 -3.220164)', '2026-05-31 12:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569503 -3.220152)'), GeomFromEWKT('SRID=4674;POINT (-38.569491 -3.220164)'))) / (select extract(epoch from '2026-05-31 12:44:49'::timestamp) - extract(epoch from '2026-05-31 12:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569503 -3.220152)'), GeomFromEWKT('SRID=4674;POINT (-38.569491 -3.220164)'))) / (select extract(epoch from '2026-05-31 12:44:49'::timestamp) - extract(epoch from '2026-05-31 12:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569491 -3.220192)', '2026-05-31 12:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569491 -3.220164)'), GeomFromEWKT('SRID=4674;POINT (-38.569491 -3.220192)'))) / (select extract(epoch from '2026-05-31 12:44:57'::timestamp) - extract(epoch from '2026-05-31 12:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569491 -3.220164)'), GeomFromEWKT('SRID=4674;POINT (-38.569491 -3.220192)'))) / (select extract(epoch from '2026-05-31 12:44:57'::timestamp) - extract(epoch from '2026-05-31 12:44: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'), 46535, 'SRID=4674;POINT (-38.569503 -3.22021)', '2026-05-31 12:45:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569491 -3.220192)'), GeomFromEWKT('SRID=4674;POINT (-38.569503 -3.22021)'))) / (select extract(epoch from '2026-05-31 12:45:00'::timestamp) - extract(epoch from '2026-05-31 12:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569491 -3.220192)'), GeomFromEWKT('SRID=4674;POINT (-38.569503 -3.22021)'))) / (select extract(epoch from '2026-05-31 12:45:00'::timestamp) - extract(epoch from '2026-05-31 12:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56951 -3.220217)', '2026-05-31 12:45:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569503 -3.22021)'), GeomFromEWKT('SRID=4674;POINT (-38.56951 -3.220217)'))) / (select extract(epoch from '2026-05-31 12:45:02'::timestamp) - extract(epoch from '2026-05-31 12:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569503 -3.22021)'), GeomFromEWKT('SRID=4674;POINT (-38.56951 -3.220217)'))) / (select extract(epoch from '2026-05-31 12:45:02'::timestamp) - extract(epoch from '2026-05-31 12:45: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'), 46535, 'SRID=4674;POINT (-38.56954 -3.220242)', '2026-05-31 12:45:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56951 -3.220217)'), GeomFromEWKT('SRID=4674;POINT (-38.56954 -3.220242)'))) / (select extract(epoch from '2026-05-31 12:45:08'::timestamp) - extract(epoch from '2026-05-31 12:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56951 -3.220217)'), GeomFromEWKT('SRID=4674;POINT (-38.56954 -3.220242)'))) / (select extract(epoch from '2026-05-31 12:45:08'::timestamp) - extract(epoch from '2026-05-31 12:45: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'), 46535, 'SRID=4674;POINT (-38.569584 -3.220263)', '2026-05-31 12:45:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56954 -3.220242)'), GeomFromEWKT('SRID=4674;POINT (-38.569584 -3.220263)'))) / (select extract(epoch from '2026-05-31 12:45:15'::timestamp) - extract(epoch from '2026-05-31 12:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56954 -3.220242)'), GeomFromEWKT('SRID=4674;POINT (-38.569584 -3.220263)'))) / (select extract(epoch from '2026-05-31 12:45:15'::timestamp) - extract(epoch from '2026-05-31 12:45: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'), 46535, 'SRID=4674;POINT (-38.569652 -3.2203)', '2026-05-31 12:45:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569584 -3.220263)'), GeomFromEWKT('SRID=4674;POINT (-38.569652 -3.2203)'))) / (select extract(epoch from '2026-05-31 12:45:23'::timestamp) - extract(epoch from '2026-05-31 12:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569584 -3.220263)'), GeomFromEWKT('SRID=4674;POINT (-38.569652 -3.2203)'))) / (select extract(epoch from '2026-05-31 12:45:23'::timestamp) - extract(epoch from '2026-05-31 12:45:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569718 -3.220333)', '2026-05-31 12:45:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569652 -3.2203)'), GeomFromEWKT('SRID=4674;POINT (-38.569718 -3.220333)'))) / (select extract(epoch from '2026-05-31 12:45:31'::timestamp) - extract(epoch from '2026-05-31 12:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569652 -3.2203)'), GeomFromEWKT('SRID=4674;POINT (-38.569718 -3.220333)'))) / (select extract(epoch from '2026-05-31 12:45:31'::timestamp) - extract(epoch from '2026-05-31 12:45:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569777 -3.220368)', '2026-05-31 12:45:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569718 -3.220333)'), GeomFromEWKT('SRID=4674;POINT (-38.569777 -3.220368)'))) / (select extract(epoch from '2026-05-31 12:45:40'::timestamp) - extract(epoch from '2026-05-31 12:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569718 -3.220333)'), GeomFromEWKT('SRID=4674;POINT (-38.569777 -3.220368)'))) / (select extract(epoch from '2026-05-31 12:45:40'::timestamp) - extract(epoch from '2026-05-31 12:45: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'), 46535, 'SRID=4674;POINT (-38.569819 -3.220405)', '2026-05-31 12:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569777 -3.220368)'), GeomFromEWKT('SRID=4674;POINT (-38.569819 -3.220405)'))) / (select extract(epoch from '2026-05-31 12:45:49'::timestamp) - extract(epoch from '2026-05-31 12:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569777 -3.220368)'), GeomFromEWKT('SRID=4674;POINT (-38.569819 -3.220405)'))) / (select extract(epoch from '2026-05-31 12:45:49'::timestamp) - extract(epoch from '2026-05-31 12:45: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'), 46535, 'SRID=4674;POINT (-38.569845 -3.220414)', '2026-05-31 12:45:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569819 -3.220405)'), GeomFromEWKT('SRID=4674;POINT (-38.569845 -3.220414)'))) / (select extract(epoch from '2026-05-31 12:45:56'::timestamp) - extract(epoch from '2026-05-31 12:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569819 -3.220405)'), GeomFromEWKT('SRID=4674;POINT (-38.569845 -3.220414)'))) / (select extract(epoch from '2026-05-31 12:45:56'::timestamp) - extract(epoch from '2026-05-31 12:45: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'), 46535, 'SRID=4674;POINT (-38.569857 -3.220422)', '2026-05-31 12:46:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569845 -3.220414)'), GeomFromEWKT('SRID=4674;POINT (-38.569857 -3.220422)'))) / (select extract(epoch from '2026-05-31 12:46:06'::timestamp) - extract(epoch from '2026-05-31 12:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569845 -3.220414)'), GeomFromEWKT('SRID=4674;POINT (-38.569857 -3.220422)'))) / (select extract(epoch from '2026-05-31 12:46:06'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.569851 -3.220428)', '2026-05-31 12:46:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569857 -3.220422)'), GeomFromEWKT('SRID=4674;POINT (-38.569851 -3.220428)'))) / (select extract(epoch from '2026-05-31 12:46:13'::timestamp) - extract(epoch from '2026-05-31 12:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569857 -3.220422)'), GeomFromEWKT('SRID=4674;POINT (-38.569851 -3.220428)'))) / (select extract(epoch from '2026-05-31 12:46:13'::timestamp) - extract(epoch from '2026-05-31 12:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569845 -3.220433)', '2026-05-31 12:46:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569851 -3.220428)'), GeomFromEWKT('SRID=4674;POINT (-38.569845 -3.220433)'))) / (select extract(epoch from '2026-05-31 12:46:22'::timestamp) - extract(epoch from '2026-05-31 12:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569851 -3.220428)'), GeomFromEWKT('SRID=4674;POINT (-38.569845 -3.220433)'))) / (select extract(epoch from '2026-05-31 12:46:22'::timestamp) - extract(epoch from '2026-05-31 12:46: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'), 46535, 'SRID=4674;POINT (-38.569821 -3.220443)', '2026-05-31 12:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569845 -3.220433)'), GeomFromEWKT('SRID=4674;POINT (-38.569821 -3.220443)'))) / (select extract(epoch from '2026-05-31 12:46:32'::timestamp) - extract(epoch from '2026-05-31 12:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569845 -3.220433)'), GeomFromEWKT('SRID=4674;POINT (-38.569821 -3.220443)'))) / (select extract(epoch from '2026-05-31 12:46:32'::timestamp) - extract(epoch from '2026-05-31 12:46: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'), 46535, 'SRID=4674;POINT (-38.569808 -3.220457)', '2026-05-31 12:46:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569821 -3.220443)'), GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220457)'))) / (select extract(epoch from '2026-05-31 12:46:39'::timestamp) - extract(epoch from '2026-05-31 12:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569821 -3.220443)'), GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220457)'))) / (select extract(epoch from '2026-05-31 12:46:39'::timestamp) - extract(epoch from '2026-05-31 12:46:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569808 -3.220478)', '2026-05-31 12:46:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220457)'), GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220478)'))) / (select extract(epoch from '2026-05-31 12:46:49'::timestamp) - extract(epoch from '2026-05-31 12:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220457)'), GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220478)'))) / (select extract(epoch from '2026-05-31 12:46:49'::timestamp) - extract(epoch from '2026-05-31 12:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569822 -3.220494)', '2026-05-31 12:46:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220478)'), GeomFromEWKT('SRID=4674;POINT (-38.569822 -3.220494)'))) / (select extract(epoch from '2026-05-31 12:46:55'::timestamp) - extract(epoch from '2026-05-31 12:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569808 -3.220478)'), GeomFromEWKT('SRID=4674;POINT (-38.569822 -3.220494)'))) / (select extract(epoch from '2026-05-31 12:46:55'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.56984 -3.220504)', '2026-05-31 12:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569822 -3.220494)'), GeomFromEWKT('SRID=4674;POINT (-38.56984 -3.220504)'))) / (select extract(epoch from '2026-05-31 12:47:03'::timestamp) - extract(epoch from '2026-05-31 12:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569822 -3.220494)'), GeomFromEWKT('SRID=4674;POINT (-38.56984 -3.220504)'))) / (select extract(epoch from '2026-05-31 12:47:03'::timestamp) - extract(epoch from '2026-05-31 12:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569892 -3.220528)', '2026-05-31 12:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56984 -3.220504)'), GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.220528)'))) / (select extract(epoch from '2026-05-31 12:47:10'::timestamp) - extract(epoch from '2026-05-31 12:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56984 -3.220504)'), GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.220528)'))) / (select extract(epoch from '2026-05-31 12:47:10'::timestamp) - extract(epoch from '2026-05-31 12:47: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'), 46535, 'SRID=4674;POINT (-38.569924 -3.220533)', '2026-05-31 12:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.220528)'), GeomFromEWKT('SRID=4674;POINT (-38.569924 -3.220533)'))) / (select extract(epoch from '2026-05-31 12:47:13'::timestamp) - extract(epoch from '2026-05-31 12:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.220528)'), GeomFromEWKT('SRID=4674;POINT (-38.569924 -3.220533)'))) / (select extract(epoch from '2026-05-31 12:47:13'::timestamp) - extract(epoch from '2026-05-31 12:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569952 -3.220543)', '2026-05-31 12:47:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569924 -3.220533)'), GeomFromEWKT('SRID=4674;POINT (-38.569952 -3.220543)'))) / (select extract(epoch from '2026-05-31 12:47:16'::timestamp) - extract(epoch from '2026-05-31 12:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569924 -3.220533)'), GeomFromEWKT('SRID=4674;POINT (-38.569952 -3.220543)'))) / (select extract(epoch from '2026-05-31 12:47:16'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570034 -3.220572)', '2026-05-31 12:47:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569952 -3.220543)'), GeomFromEWKT('SRID=4674;POINT (-38.570034 -3.220572)'))) / (select extract(epoch from '2026-05-31 12:47:22'::timestamp) - extract(epoch from '2026-05-31 12:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569952 -3.220543)'), GeomFromEWKT('SRID=4674;POINT (-38.570034 -3.220572)'))) / (select extract(epoch from '2026-05-31 12:47:22'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.57011 -3.220609)', '2026-05-31 12:47:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570034 -3.220572)'), GeomFromEWKT('SRID=4674;POINT (-38.57011 -3.220609)'))) / (select extract(epoch from '2026-05-31 12:47:28'::timestamp) - extract(epoch from '2026-05-31 12:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570034 -3.220572)'), GeomFromEWKT('SRID=4674;POINT (-38.57011 -3.220609)'))) / (select extract(epoch from '2026-05-31 12:47:28'::timestamp) - extract(epoch from '2026-05-31 12:47: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'), 46535, 'SRID=4674;POINT (-38.570175 -3.220672)', '2026-05-31 12:47:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57011 -3.220609)'), GeomFromEWKT('SRID=4674;POINT (-38.570175 -3.220672)'))) / (select extract(epoch from '2026-05-31 12:47:34'::timestamp) - extract(epoch from '2026-05-31 12:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57011 -3.220609)'), GeomFromEWKT('SRID=4674;POINT (-38.570175 -3.220672)'))) / (select extract(epoch from '2026-05-31 12:47:34'::timestamp) - extract(epoch from '2026-05-31 12:47: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'), 46535, 'SRID=4674;POINT (-38.570203 -3.220701)', '2026-05-31 12:47:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570175 -3.220672)'), GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.220701)'))) / (select extract(epoch from '2026-05-31 12:47:37'::timestamp) - extract(epoch from '2026-05-31 12:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570175 -3.220672)'), GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.220701)'))) / (select extract(epoch from '2026-05-31 12:47:37'::timestamp) - extract(epoch from '2026-05-31 12:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570213 -3.220719)', '2026-05-31 12:47:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.220701)'), GeomFromEWKT('SRID=4674;POINT (-38.570213 -3.220719)'))) / (select extract(epoch from '2026-05-31 12:47:39'::timestamp) - extract(epoch from '2026-05-31 12:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.220701)'), GeomFromEWKT('SRID=4674;POINT (-38.570213 -3.220719)'))) / (select extract(epoch from '2026-05-31 12:47:39'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570232 -3.220747)', '2026-05-31 12:47:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570213 -3.220719)'), GeomFromEWKT('SRID=4674;POINT (-38.570232 -3.220747)'))) / (select extract(epoch from '2026-05-31 12:47:42'::timestamp) - extract(epoch from '2026-05-31 12:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570213 -3.220719)'), GeomFromEWKT('SRID=4674;POINT (-38.570232 -3.220747)'))) / (select extract(epoch from '2026-05-31 12:47:42'::timestamp) - extract(epoch from '2026-05-31 12:47: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'), 46535, 'SRID=4674;POINT (-38.570239 -3.220788)', '2026-05-31 12:47:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570232 -3.220747)'), GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.220788)'))) / (select extract(epoch from '2026-05-31 12:47:45'::timestamp) - extract(epoch from '2026-05-31 12:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570232 -3.220747)'), GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.220788)'))) / (select extract(epoch from '2026-05-31 12:47:45'::timestamp) - extract(epoch from '2026-05-31 12:47: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'), 46535, 'SRID=4674;POINT (-38.570258 -3.220849)', '2026-05-31 12:47:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.220788)'), GeomFromEWKT('SRID=4674;POINT (-38.570258 -3.220849)'))) / (select extract(epoch from '2026-05-31 12:47:51'::timestamp) - extract(epoch from '2026-05-31 12:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.220788)'), GeomFromEWKT('SRID=4674;POINT (-38.570258 -3.220849)'))) / (select extract(epoch from '2026-05-31 12:47:51'::timestamp) - extract(epoch from '2026-05-31 12:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570276 -3.220934)', '2026-05-31 12:47:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570258 -3.220849)'), GeomFromEWKT('SRID=4674;POINT (-38.570276 -3.220934)'))) / (select extract(epoch from '2026-05-31 12:47:59'::timestamp) - extract(epoch from '2026-05-31 12:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570258 -3.220849)'), GeomFromEWKT('SRID=4674;POINT (-38.570276 -3.220934)'))) / (select extract(epoch from '2026-05-31 12:47:59'::timestamp) - extract(epoch from '2026-05-31 12:47: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'), 46535, 'SRID=4674;POINT (-38.570283 -3.220956)', '2026-05-31 12:48:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570276 -3.220934)'), GeomFromEWKT('SRID=4674;POINT (-38.570283 -3.220956)'))) / (select extract(epoch from '2026-05-31 12:48:01'::timestamp) - extract(epoch from '2026-05-31 12:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570276 -3.220934)'), GeomFromEWKT('SRID=4674;POINT (-38.570283 -3.220956)'))) / (select extract(epoch from '2026-05-31 12:48:01'::timestamp) - extract(epoch from '2026-05-31 12:47: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'), 46535, 'SRID=4674;POINT (-38.570297 -3.220985)', '2026-05-31 12:48:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570283 -3.220956)'), GeomFromEWKT('SRID=4674;POINT (-38.570297 -3.220985)'))) / (select extract(epoch from '2026-05-31 12:48:04'::timestamp) - extract(epoch from '2026-05-31 12:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570283 -3.220956)'), GeomFromEWKT('SRID=4674;POINT (-38.570297 -3.220985)'))) / (select extract(epoch from '2026-05-31 12:48:04'::timestamp) - extract(epoch from '2026-05-31 12:48:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570292 -3.221009)', '2026-05-31 12:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570297 -3.220985)'), GeomFromEWKT('SRID=4674;POINT (-38.570292 -3.221009)'))) / (select extract(epoch from '2026-05-31 12:48:07'::timestamp) - extract(epoch from '2026-05-31 12:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570297 -3.220985)'), GeomFromEWKT('SRID=4674;POINT (-38.570292 -3.221009)'))) / (select extract(epoch from '2026-05-31 12:48:07'::timestamp) - extract(epoch from '2026-05-31 12:48: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'), 46535, 'SRID=4674;POINT (-38.570302 -3.221046)', '2026-05-31 12:48:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570292 -3.221009)'), GeomFromEWKT('SRID=4674;POINT (-38.570302 -3.221046)'))) / (select extract(epoch from '2026-05-31 12:48:10'::timestamp) - extract(epoch from '2026-05-31 12:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570292 -3.221009)'), GeomFromEWKT('SRID=4674;POINT (-38.570302 -3.221046)'))) / (select extract(epoch from '2026-05-31 12:48:10'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570307 -3.221132)', '2026-05-31 12:48:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570302 -3.221046)'), GeomFromEWKT('SRID=4674;POINT (-38.570307 -3.221132)'))) / (select extract(epoch from '2026-05-31 12:48:17'::timestamp) - extract(epoch from '2026-05-31 12:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570302 -3.221046)'), GeomFromEWKT('SRID=4674;POINT (-38.570307 -3.221132)'))) / (select extract(epoch from '2026-05-31 12:48:17'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570311 -3.22114)', '2026-05-31 12:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570307 -3.221132)'), GeomFromEWKT('SRID=4674;POINT (-38.570311 -3.22114)'))) / (select extract(epoch from '2026-05-31 12:48:18'::timestamp) - extract(epoch from '2026-05-31 12:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570307 -3.221132)'), GeomFromEWKT('SRID=4674;POINT (-38.570311 -3.22114)'))) / (select extract(epoch from '2026-05-31 12:48:18'::timestamp) - extract(epoch from '2026-05-31 12:48: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'), 46535, 'SRID=4674;POINT (-38.570323 -3.221177)', '2026-05-31 12:48:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570311 -3.22114)'), GeomFromEWKT('SRID=4674;POINT (-38.570323 -3.221177)'))) / (select extract(epoch from '2026-05-31 12:48:22'::timestamp) - extract(epoch from '2026-05-31 12:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570311 -3.22114)'), GeomFromEWKT('SRID=4674;POINT (-38.570323 -3.221177)'))) / (select extract(epoch from '2026-05-31 12:48:22'::timestamp) - extract(epoch from '2026-05-31 12:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570346 -3.221248)', '2026-05-31 12:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570323 -3.221177)'), GeomFromEWKT('SRID=4674;POINT (-38.570346 -3.221248)'))) / (select extract(epoch from '2026-05-31 12:48:29'::timestamp) - extract(epoch from '2026-05-31 12:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570323 -3.221177)'), GeomFromEWKT('SRID=4674;POINT (-38.570346 -3.221248)'))) / (select extract(epoch from '2026-05-31 12:48:29'::timestamp) - extract(epoch from '2026-05-31 12:48: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'), 46535, 'SRID=4674;POINT (-38.570351 -3.221257)', '2026-05-31 12:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570346 -3.221248)'), GeomFromEWKT('SRID=4674;POINT (-38.570351 -3.221257)'))) / (select extract(epoch from '2026-05-31 12:48:30'::timestamp) - extract(epoch from '2026-05-31 12:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570346 -3.221248)'), GeomFromEWKT('SRID=4674;POINT (-38.570351 -3.221257)'))) / (select extract(epoch from '2026-05-31 12:48:30'::timestamp) - extract(epoch from '2026-05-31 12:48:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570382 -3.221315)', '2026-05-31 12:48:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570351 -3.221257)'), GeomFromEWKT('SRID=4674;POINT (-38.570382 -3.221315)'))) / (select extract(epoch from '2026-05-31 12:48:37'::timestamp) - extract(epoch from '2026-05-31 12:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570351 -3.221257)'), GeomFromEWKT('SRID=4674;POINT (-38.570382 -3.221315)'))) / (select extract(epoch from '2026-05-31 12:48:37'::timestamp) - extract(epoch from '2026-05-31 12:48: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'), 46535, 'SRID=4674;POINT (-38.57041 -3.221378)', '2026-05-31 12:48:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570382 -3.221315)'), GeomFromEWKT('SRID=4674;POINT (-38.57041 -3.221378)'))) / (select extract(epoch from '2026-05-31 12:48:43'::timestamp) - extract(epoch from '2026-05-31 12:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570382 -3.221315)'), GeomFromEWKT('SRID=4674;POINT (-38.57041 -3.221378)'))) / (select extract(epoch from '2026-05-31 12:48:43'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570452 -3.221458)', '2026-05-31 12:48:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57041 -3.221378)'), GeomFromEWKT('SRID=4674;POINT (-38.570452 -3.221458)'))) / (select extract(epoch from '2026-05-31 12:48:50'::timestamp) - extract(epoch from '2026-05-31 12:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57041 -3.221378)'), GeomFromEWKT('SRID=4674;POINT (-38.570452 -3.221458)'))) / (select extract(epoch from '2026-05-31 12:48:50'::timestamp) - extract(epoch from '2026-05-31 12:48: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'), 46535, 'SRID=4674;POINT (-38.570489 -3.221512)', '2026-05-31 12:48:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570452 -3.221458)'), GeomFromEWKT('SRID=4674;POINT (-38.570489 -3.221512)'))) / (select extract(epoch from '2026-05-31 12:48:55'::timestamp) - extract(epoch from '2026-05-31 12:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570452 -3.221458)'), GeomFromEWKT('SRID=4674;POINT (-38.570489 -3.221512)'))) / (select extract(epoch from '2026-05-31 12:48:55'::timestamp) - extract(epoch from '2026-05-31 12:48: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'), 46535, 'SRID=4674;POINT (-38.5705 -3.221529)', '2026-05-31 12:48:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570489 -3.221512)'), GeomFromEWKT('SRID=4674;POINT (-38.5705 -3.221529)'))) / (select extract(epoch from '2026-05-31 12:48:57'::timestamp) - extract(epoch from '2026-05-31 12:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570489 -3.221512)'), GeomFromEWKT('SRID=4674;POINT (-38.5705 -3.221529)'))) / (select extract(epoch from '2026-05-31 12:48:57'::timestamp) - extract(epoch from '2026-05-31 12:48: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'), 46535, 'SRID=4674;POINT (-38.570511 -3.221574)', '2026-05-31 12:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5705 -3.221529)'), GeomFromEWKT('SRID=4674;POINT (-38.570511 -3.221574)'))) / (select extract(epoch from '2026-05-31 12:49:01'::timestamp) - extract(epoch from '2026-05-31 12:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5705 -3.221529)'), GeomFromEWKT('SRID=4674;POINT (-38.570511 -3.221574)'))) / (select extract(epoch from '2026-05-31 12:49:01'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570537 -3.22163)', '2026-05-31 12:49:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570511 -3.221574)'), GeomFromEWKT('SRID=4674;POINT (-38.570537 -3.22163)'))) / (select extract(epoch from '2026-05-31 12:49:08'::timestamp) - extract(epoch from '2026-05-31 12:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570511 -3.221574)'), GeomFromEWKT('SRID=4674;POINT (-38.570537 -3.22163)'))) / (select extract(epoch from '2026-05-31 12:49:08'::timestamp) - extract(epoch from '2026-05-31 12:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570555 -3.221691)', '2026-05-31 12:49:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570537 -3.22163)'), GeomFromEWKT('SRID=4674;POINT (-38.570555 -3.221691)'))) / (select extract(epoch from '2026-05-31 12:49:14'::timestamp) - extract(epoch from '2026-05-31 12:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570537 -3.22163)'), GeomFromEWKT('SRID=4674;POINT (-38.570555 -3.221691)'))) / (select extract(epoch from '2026-05-31 12:49:14'::timestamp) - extract(epoch from '2026-05-31 12:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570576 -3.221764)', '2026-05-31 12:49:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570555 -3.221691)'), GeomFromEWKT('SRID=4674;POINT (-38.570576 -3.221764)'))) / (select extract(epoch from '2026-05-31 12:49:20'::timestamp) - extract(epoch from '2026-05-31 12:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570555 -3.221691)'), GeomFromEWKT('SRID=4674;POINT (-38.570576 -3.221764)'))) / (select extract(epoch from '2026-05-31 12:49:20'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570596 -3.221823)', '2026-05-31 12:49:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570576 -3.221764)'), GeomFromEWKT('SRID=4674;POINT (-38.570596 -3.221823)'))) / (select extract(epoch from '2026-05-31 12:49:26'::timestamp) - extract(epoch from '2026-05-31 12:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570576 -3.221764)'), GeomFromEWKT('SRID=4674;POINT (-38.570596 -3.221823)'))) / (select extract(epoch from '2026-05-31 12:49:26'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570603 -3.221856)', '2026-05-31 12:49:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570596 -3.221823)'), GeomFromEWKT('SRID=4674;POINT (-38.570603 -3.221856)'))) / (select extract(epoch from '2026-05-31 12:49:29'::timestamp) - extract(epoch from '2026-05-31 12:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570596 -3.221823)'), GeomFromEWKT('SRID=4674;POINT (-38.570603 -3.221856)'))) / (select extract(epoch from '2026-05-31 12:49:29'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570604 -3.221875)', '2026-05-31 12:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570603 -3.221856)'), GeomFromEWKT('SRID=4674;POINT (-38.570604 -3.221875)'))) / (select extract(epoch from '2026-05-31 12:49:31'::timestamp) - extract(epoch from '2026-05-31 12:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570603 -3.221856)'), GeomFromEWKT('SRID=4674;POINT (-38.570604 -3.221875)'))) / (select extract(epoch from '2026-05-31 12:49:31'::timestamp) - extract(epoch from '2026-05-31 12:49:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570634 -3.221944)', '2026-05-31 12:49:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570604 -3.221875)'), GeomFromEWKT('SRID=4674;POINT (-38.570634 -3.221944)'))) / (select extract(epoch from '2026-05-31 12:49:39'::timestamp) - extract(epoch from '2026-05-31 12:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570604 -3.221875)'), GeomFromEWKT('SRID=4674;POINT (-38.570634 -3.221944)'))) / (select extract(epoch from '2026-05-31 12:49:39'::timestamp) - extract(epoch from '2026-05-31 12:49: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'), 46535, 'SRID=4674;POINT (-38.570672 -3.222029)', '2026-05-31 12:49:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570634 -3.221944)'), GeomFromEWKT('SRID=4674;POINT (-38.570672 -3.222029)'))) / (select extract(epoch from '2026-05-31 12:49:47'::timestamp) - extract(epoch from '2026-05-31 12:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570634 -3.221944)'), GeomFromEWKT('SRID=4674;POINT (-38.570672 -3.222029)'))) / (select extract(epoch from '2026-05-31 12:49:47'::timestamp) - extract(epoch from '2026-05-31 12:49: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'), 46535, 'SRID=4674;POINT (-38.570702 -3.222092)', '2026-05-31 12:49:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570672 -3.222029)'), GeomFromEWKT('SRID=4674;POINT (-38.570702 -3.222092)'))) / (select extract(epoch from '2026-05-31 12:49:53'::timestamp) - extract(epoch from '2026-05-31 12:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570672 -3.222029)'), GeomFromEWKT('SRID=4674;POINT (-38.570702 -3.222092)'))) / (select extract(epoch from '2026-05-31 12:49:53'::timestamp) - extract(epoch from '2026-05-31 12:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570727 -3.22216)', '2026-05-31 12:50:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570702 -3.222092)'), GeomFromEWKT('SRID=4674;POINT (-38.570727 -3.22216)'))) / (select extract(epoch from '2026-05-31 12:50:00'::timestamp) - extract(epoch from '2026-05-31 12:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570702 -3.222092)'), GeomFromEWKT('SRID=4674;POINT (-38.570727 -3.22216)'))) / (select extract(epoch from '2026-05-31 12:50:00'::timestamp) - extract(epoch from '2026-05-31 12:49: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'), 46535, 'SRID=4674;POINT (-38.570735 -3.222169)', '2026-05-31 12:50:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570727 -3.22216)'), GeomFromEWKT('SRID=4674;POINT (-38.570735 -3.222169)'))) / (select extract(epoch from '2026-05-31 12:50:01'::timestamp) - extract(epoch from '2026-05-31 12:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570727 -3.22216)'), GeomFromEWKT('SRID=4674;POINT (-38.570735 -3.222169)'))) / (select extract(epoch from '2026-05-31 12:50:01'::timestamp) - extract(epoch from '2026-05-31 12:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57076 -3.222216)', '2026-05-31 12:50:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570735 -3.222169)'), GeomFromEWKT('SRID=4674;POINT (-38.57076 -3.222216)'))) / (select extract(epoch from '2026-05-31 12:50:06'::timestamp) - extract(epoch from '2026-05-31 12:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570735 -3.222169)'), GeomFromEWKT('SRID=4674;POINT (-38.57076 -3.222216)'))) / (select extract(epoch from '2026-05-31 12:50:06'::timestamp) - extract(epoch from '2026-05-31 12:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570771 -3.222239)', '2026-05-31 12:50:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57076 -3.222216)'), GeomFromEWKT('SRID=4674;POINT (-38.570771 -3.222239)'))) / (select extract(epoch from '2026-05-31 12:50:08'::timestamp) - extract(epoch from '2026-05-31 12:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57076 -3.222216)'), GeomFromEWKT('SRID=4674;POINT (-38.570771 -3.222239)'))) / (select extract(epoch from '2026-05-31 12:50:08'::timestamp) - extract(epoch from '2026-05-31 12:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570778 -3.222262)', '2026-05-31 12:50:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570771 -3.222239)'), GeomFromEWKT('SRID=4674;POINT (-38.570778 -3.222262)'))) / (select extract(epoch from '2026-05-31 12:50:10'::timestamp) - extract(epoch from '2026-05-31 12:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570771 -3.222239)'), GeomFromEWKT('SRID=4674;POINT (-38.570778 -3.222262)'))) / (select extract(epoch from '2026-05-31 12:50:10'::timestamp) - extract(epoch from '2026-05-31 12:50: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'), 46535, 'SRID=4674;POINT (-38.570785 -3.222271)', '2026-05-31 12:50:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570778 -3.222262)'), GeomFromEWKT('SRID=4674;POINT (-38.570785 -3.222271)'))) / (select extract(epoch from '2026-05-31 12:50:11'::timestamp) - extract(epoch from '2026-05-31 12:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570778 -3.222262)'), GeomFromEWKT('SRID=4674;POINT (-38.570785 -3.222271)'))) / (select extract(epoch from '2026-05-31 12:50:11'::timestamp) - extract(epoch from '2026-05-31 12:50: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'), 46535, 'SRID=4674;POINT (-38.570807 -3.222353)', '2026-05-31 12:50:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570785 -3.222271)'), GeomFromEWKT('SRID=4674;POINT (-38.570807 -3.222353)'))) / (select extract(epoch from '2026-05-31 12:50:18'::timestamp) - extract(epoch from '2026-05-31 12:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570785 -3.222271)'), GeomFromEWKT('SRID=4674;POINT (-38.570807 -3.222353)'))) / (select extract(epoch from '2026-05-31 12:50:18'::timestamp) - extract(epoch from '2026-05-31 12:50: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'), 46535, 'SRID=4674;POINT (-38.570818 -3.222372)', '2026-05-31 12:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570807 -3.222353)'), GeomFromEWKT('SRID=4674;POINT (-38.570818 -3.222372)'))) / (select extract(epoch from '2026-05-31 12:50:21'::timestamp) - extract(epoch from '2026-05-31 12:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570807 -3.222353)'), GeomFromEWKT('SRID=4674;POINT (-38.570818 -3.222372)'))) / (select extract(epoch from '2026-05-31 12:50:21'::timestamp) - extract(epoch from '2026-05-31 12:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570839 -3.222395)', '2026-05-31 12:50:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570818 -3.222372)'), GeomFromEWKT('SRID=4674;POINT (-38.570839 -3.222395)'))) / (select extract(epoch from '2026-05-31 12:50:24'::timestamp) - extract(epoch from '2026-05-31 12:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570818 -3.222372)'), GeomFromEWKT('SRID=4674;POINT (-38.570839 -3.222395)'))) / (select extract(epoch from '2026-05-31 12:50:24'::timestamp) - extract(epoch from '2026-05-31 12:50: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'), 46535, 'SRID=4674;POINT (-38.570888 -3.22246)', '2026-05-31 12:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570839 -3.222395)'), GeomFromEWKT('SRID=4674;POINT (-38.570888 -3.22246)'))) / (select extract(epoch from '2026-05-31 12:50:31'::timestamp) - extract(epoch from '2026-05-31 12:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570839 -3.222395)'), GeomFromEWKT('SRID=4674;POINT (-38.570888 -3.22246)'))) / (select extract(epoch from '2026-05-31 12:50:31'::timestamp) - extract(epoch from '2026-05-31 12:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570942 -3.222531)', '2026-05-31 12:50:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570888 -3.22246)'), GeomFromEWKT('SRID=4674;POINT (-38.570942 -3.222531)'))) / (select extract(epoch from '2026-05-31 12:50:38'::timestamp) - extract(epoch from '2026-05-31 12:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570888 -3.22246)'), GeomFromEWKT('SRID=4674;POINT (-38.570942 -3.222531)'))) / (select extract(epoch from '2026-05-31 12:50:38'::timestamp) - extract(epoch from '2026-05-31 12:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57097 -3.222599)', '2026-05-31 12:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570942 -3.222531)'), GeomFromEWKT('SRID=4674;POINT (-38.57097 -3.222599)'))) / (select extract(epoch from '2026-05-31 12:50:45'::timestamp) - extract(epoch from '2026-05-31 12:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570942 -3.222531)'), GeomFromEWKT('SRID=4674;POINT (-38.57097 -3.222599)'))) / (select extract(epoch from '2026-05-31 12:50:45'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570992 -3.222686)', '2026-05-31 12:50:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57097 -3.222599)'), GeomFromEWKT('SRID=4674;POINT (-38.570992 -3.222686)'))) / (select extract(epoch from '2026-05-31 12:50:52'::timestamp) - extract(epoch from '2026-05-31 12:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57097 -3.222599)'), GeomFromEWKT('SRID=4674;POINT (-38.570992 -3.222686)'))) / (select extract(epoch from '2026-05-31 12:50:52'::timestamp) - extract(epoch from '2026-05-31 12:50: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'), 46535, 'SRID=4674;POINT (-38.570995 -3.222741)', '2026-05-31 12:50:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570992 -3.222686)'), GeomFromEWKT('SRID=4674;POINT (-38.570995 -3.222741)'))) / (select extract(epoch from '2026-05-31 12:50:57'::timestamp) - extract(epoch from '2026-05-31 12:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570992 -3.222686)'), GeomFromEWKT('SRID=4674;POINT (-38.570995 -3.222741)'))) / (select extract(epoch from '2026-05-31 12:50:57'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.570999 -3.222818)', '2026-05-31 12:51:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570995 -3.222741)'), GeomFromEWKT('SRID=4674;POINT (-38.570999 -3.222818)'))) / (select extract(epoch from '2026-05-31 12:51:03'::timestamp) - extract(epoch from '2026-05-31 12:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570995 -3.222741)'), GeomFromEWKT('SRID=4674;POINT (-38.570999 -3.222818)'))) / (select extract(epoch from '2026-05-31 12:51:03'::timestamp) - extract(epoch from '2026-05-31 12:50: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'), 46535, 'SRID=4674;POINT (-38.571003 -3.222829)', '2026-05-31 12:51:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570999 -3.222818)'), GeomFromEWKT('SRID=4674;POINT (-38.571003 -3.222829)'))) / (select extract(epoch from '2026-05-31 12:51:04'::timestamp) - extract(epoch from '2026-05-31 12:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570999 -3.222818)'), GeomFromEWKT('SRID=4674;POINT (-38.571003 -3.222829)'))) / (select extract(epoch from '2026-05-31 12:51:04'::timestamp) - extract(epoch from '2026-05-31 12:51: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'), 46535, 'SRID=4674;POINT (-38.571023 -3.222934)', '2026-05-31 12:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571003 -3.222829)'), GeomFromEWKT('SRID=4674;POINT (-38.571023 -3.222934)'))) / (select extract(epoch from '2026-05-31 12:51:13'::timestamp) - extract(epoch from '2026-05-31 12:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571003 -3.222829)'), GeomFromEWKT('SRID=4674;POINT (-38.571023 -3.222934)'))) / (select extract(epoch from '2026-05-31 12:51:13'::timestamp) - extract(epoch from '2026-05-31 12:51: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'), 46535, 'SRID=4674;POINT (-38.571031 -3.223029)', '2026-05-31 12:51:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571023 -3.222934)'), GeomFromEWKT('SRID=4674;POINT (-38.571031 -3.223029)'))) / (select extract(epoch from '2026-05-31 12:51:21'::timestamp) - extract(epoch from '2026-05-31 12:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571023 -3.222934)'), GeomFromEWKT('SRID=4674;POINT (-38.571031 -3.223029)'))) / (select extract(epoch from '2026-05-31 12:51:21'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571037 -3.22309)', '2026-05-31 12:51:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571031 -3.223029)'), GeomFromEWKT('SRID=4674;POINT (-38.571037 -3.22309)'))) / (select extract(epoch from '2026-05-31 12:51:27'::timestamp) - extract(epoch from '2026-05-31 12:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571031 -3.223029)'), GeomFromEWKT('SRID=4674;POINT (-38.571037 -3.22309)'))) / (select extract(epoch from '2026-05-31 12:51:27'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571052 -3.223177)', '2026-05-31 12:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571037 -3.22309)'), GeomFromEWKT('SRID=4674;POINT (-38.571052 -3.223177)'))) / (select extract(epoch from '2026-05-31 12:51:34'::timestamp) - extract(epoch from '2026-05-31 12:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571037 -3.22309)'), GeomFromEWKT('SRID=4674;POINT (-38.571052 -3.223177)'))) / (select extract(epoch from '2026-05-31 12:51:34'::timestamp) - extract(epoch from '2026-05-31 12:51: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'), 46535, 'SRID=4674;POINT (-38.57107 -3.223258)', '2026-05-31 12:51:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571052 -3.223177)'), GeomFromEWKT('SRID=4674;POINT (-38.57107 -3.223258)'))) / (select extract(epoch from '2026-05-31 12:51:41'::timestamp) - extract(epoch from '2026-05-31 12:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571052 -3.223177)'), GeomFromEWKT('SRID=4674;POINT (-38.57107 -3.223258)'))) / (select extract(epoch from '2026-05-31 12:51:41'::timestamp) - extract(epoch from '2026-05-31 12:51: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'), 46535, 'SRID=4674;POINT (-38.571093 -3.223336)', '2026-05-31 12:51:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57107 -3.223258)'), GeomFromEWKT('SRID=4674;POINT (-38.571093 -3.223336)'))) / (select extract(epoch from '2026-05-31 12:51:49'::timestamp) - extract(epoch from '2026-05-31 12:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57107 -3.223258)'), GeomFromEWKT('SRID=4674;POINT (-38.571093 -3.223336)'))) / (select extract(epoch from '2026-05-31 12:51:49'::timestamp) - extract(epoch from '2026-05-31 12:51: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'), 46535, 'SRID=4674;POINT (-38.571104 -3.223426)', '2026-05-31 12:51:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571093 -3.223336)'), GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.223426)'))) / (select extract(epoch from '2026-05-31 12:51:57'::timestamp) - extract(epoch from '2026-05-31 12:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571093 -3.223336)'), GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.223426)'))) / (select extract(epoch from '2026-05-31 12:51:57'::timestamp) - extract(epoch from '2026-05-31 12:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571114 -3.223462)', '2026-05-31 12:52:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.223426)'), GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.223462)'))) / (select extract(epoch from '2026-05-31 12:52:00'::timestamp) - extract(epoch from '2026-05-31 12:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571104 -3.223426)'), GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.223462)'))) / (select extract(epoch from '2026-05-31 12:52:00'::timestamp) - extract(epoch from '2026-05-31 12:51: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'), 46535, 'SRID=4674;POINT (-38.571129 -3.223502)', '2026-05-31 12:52:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.223462)'), GeomFromEWKT('SRID=4674;POINT (-38.571129 -3.223502)'))) / (select extract(epoch from '2026-05-31 12:52:04'::timestamp) - extract(epoch from '2026-05-31 12:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571114 -3.223462)'), GeomFromEWKT('SRID=4674;POINT (-38.571129 -3.223502)'))) / (select extract(epoch from '2026-05-31 12:52:04'::timestamp) - extract(epoch from '2026-05-31 12:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571153 -3.223554)', '2026-05-31 12:52:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571129 -3.223502)'), GeomFromEWKT('SRID=4674;POINT (-38.571153 -3.223554)'))) / (select extract(epoch from '2026-05-31 12:52:08'::timestamp) - extract(epoch from '2026-05-31 12:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571129 -3.223502)'), GeomFromEWKT('SRID=4674;POINT (-38.571153 -3.223554)'))) / (select extract(epoch from '2026-05-31 12:52:08'::timestamp) - extract(epoch from '2026-05-31 12:52:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57116 -3.22358)', '2026-05-31 12:52:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571153 -3.223554)'), GeomFromEWKT('SRID=4674;POINT (-38.57116 -3.22358)'))) / (select extract(epoch from '2026-05-31 12:52:10'::timestamp) - extract(epoch from '2026-05-31 12:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571153 -3.223554)'), GeomFromEWKT('SRID=4674;POINT (-38.57116 -3.22358)'))) / (select extract(epoch from '2026-05-31 12:52:10'::timestamp) - extract(epoch from '2026-05-31 12:52: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'), 46535, 'SRID=4674;POINT (-38.571171 -3.223656)', '2026-05-31 12:52:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57116 -3.22358)'), GeomFromEWKT('SRID=4674;POINT (-38.571171 -3.223656)'))) / (select extract(epoch from '2026-05-31 12:52:17'::timestamp) - extract(epoch from '2026-05-31 12:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57116 -3.22358)'), GeomFromEWKT('SRID=4674;POINT (-38.571171 -3.223656)'))) / (select extract(epoch from '2026-05-31 12:52:17'::timestamp) - extract(epoch from '2026-05-31 12:52: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'), 46535, 'SRID=4674;POINT (-38.571177 -3.223739)', '2026-05-31 12:52:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571171 -3.223656)'), GeomFromEWKT('SRID=4674;POINT (-38.571177 -3.223739)'))) / (select extract(epoch from '2026-05-31 12:52:24'::timestamp) - extract(epoch from '2026-05-31 12:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571171 -3.223656)'), GeomFromEWKT('SRID=4674;POINT (-38.571177 -3.223739)'))) / (select extract(epoch from '2026-05-31 12:52:24'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571178 -3.223762)', '2026-05-31 12:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571177 -3.223739)'), GeomFromEWKT('SRID=4674;POINT (-38.571178 -3.223762)'))) / (select extract(epoch from '2026-05-31 12:52:26'::timestamp) - extract(epoch from '2026-05-31 12:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571177 -3.223739)'), GeomFromEWKT('SRID=4674;POINT (-38.571178 -3.223762)'))) / (select extract(epoch from '2026-05-31 12:52:26'::timestamp) - extract(epoch from '2026-05-31 12:52: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'), 46535, 'SRID=4674;POINT (-38.5712 -3.223822)', '2026-05-31 12:52:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571178 -3.223762)'), GeomFromEWKT('SRID=4674;POINT (-38.5712 -3.223822)'))) / (select extract(epoch from '2026-05-31 12:52:31'::timestamp) - extract(epoch from '2026-05-31 12:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571178 -3.223762)'), GeomFromEWKT('SRID=4674;POINT (-38.5712 -3.223822)'))) / (select extract(epoch from '2026-05-31 12:52:31'::timestamp) - extract(epoch from '2026-05-31 12:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57123 -3.223916)', '2026-05-31 12:52:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5712 -3.223822)'), GeomFromEWKT('SRID=4674;POINT (-38.57123 -3.223916)'))) / (select extract(epoch from '2026-05-31 12:52:40'::timestamp) - extract(epoch from '2026-05-31 12:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5712 -3.223822)'), GeomFromEWKT('SRID=4674;POINT (-38.57123 -3.223916)'))) / (select extract(epoch from '2026-05-31 12:52:40'::timestamp) - extract(epoch from '2026-05-31 12:52:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571249 -3.223973)', '2026-05-31 12:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57123 -3.223916)'), GeomFromEWKT('SRID=4674;POINT (-38.571249 -3.223973)'))) / (select extract(epoch from '2026-05-31 12:52:45'::timestamp) - extract(epoch from '2026-05-31 12:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57123 -3.223916)'), GeomFromEWKT('SRID=4674;POINT (-38.571249 -3.223973)'))) / (select extract(epoch from '2026-05-31 12:52:45'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571268 -3.224035)', '2026-05-31 12:52:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571249 -3.223973)'), GeomFromEWKT('SRID=4674;POINT (-38.571268 -3.224035)'))) / (select extract(epoch from '2026-05-31 12:52:51'::timestamp) - extract(epoch from '2026-05-31 12:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571249 -3.223973)'), GeomFromEWKT('SRID=4674;POINT (-38.571268 -3.224035)'))) / (select extract(epoch from '2026-05-31 12:52:51'::timestamp) - extract(epoch from '2026-05-31 12:52: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'), 46535, 'SRID=4674;POINT (-38.571286 -3.224128)', '2026-05-31 12:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571268 -3.224035)'), GeomFromEWKT('SRID=4674;POINT (-38.571286 -3.224128)'))) / (select extract(epoch from '2026-05-31 12:52:59'::timestamp) - extract(epoch from '2026-05-31 12:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571268 -3.224035)'), GeomFromEWKT('SRID=4674;POINT (-38.571286 -3.224128)'))) / (select extract(epoch from '2026-05-31 12:52:59'::timestamp) - extract(epoch from '2026-05-31 12:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571303 -3.224199)', '2026-05-31 12:53:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571286 -3.224128)'), GeomFromEWKT('SRID=4674;POINT (-38.571303 -3.224199)'))) / (select extract(epoch from '2026-05-31 12:53:05'::timestamp) - extract(epoch from '2026-05-31 12:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571286 -3.224128)'), GeomFromEWKT('SRID=4674;POINT (-38.571303 -3.224199)'))) / (select extract(epoch from '2026-05-31 12:53:05'::timestamp) - extract(epoch from '2026-05-31 12:52: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'), 46535, 'SRID=4674;POINT (-38.571341 -3.224279)', '2026-05-31 12:53:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571303 -3.224199)'), GeomFromEWKT('SRID=4674;POINT (-38.571341 -3.224279)'))) / (select extract(epoch from '2026-05-31 12:53:13'::timestamp) - extract(epoch from '2026-05-31 12:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571303 -3.224199)'), GeomFromEWKT('SRID=4674;POINT (-38.571341 -3.224279)'))) / (select extract(epoch from '2026-05-31 12:53:13'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571359 -3.22432)', '2026-05-31 12:53:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571341 -3.224279)'), GeomFromEWKT('SRID=4674;POINT (-38.571359 -3.22432)'))) / (select extract(epoch from '2026-05-31 12:53:18'::timestamp) - extract(epoch from '2026-05-31 12:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571341 -3.224279)'), GeomFromEWKT('SRID=4674;POINT (-38.571359 -3.22432)'))) / (select extract(epoch from '2026-05-31 12:53:18'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571373 -3.224342)', '2026-05-31 12:53:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571359 -3.22432)'), GeomFromEWKT('SRID=4674;POINT (-38.571373 -3.224342)'))) / (select extract(epoch from '2026-05-31 12:53:20'::timestamp) - extract(epoch from '2026-05-31 12:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571359 -3.22432)'), GeomFromEWKT('SRID=4674;POINT (-38.571373 -3.224342)'))) / (select extract(epoch from '2026-05-31 12:53:20'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571382 -3.224386)', '2026-05-31 12:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571373 -3.224342)'), GeomFromEWKT('SRID=4674;POINT (-38.571382 -3.224386)'))) / (select extract(epoch from '2026-05-31 12:53:25'::timestamp) - extract(epoch from '2026-05-31 12:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571373 -3.224342)'), GeomFromEWKT('SRID=4674;POINT (-38.571382 -3.224386)'))) / (select extract(epoch from '2026-05-31 12:53:25'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571411 -3.224474)', '2026-05-31 12:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571382 -3.224386)'), GeomFromEWKT('SRID=4674;POINT (-38.571411 -3.224474)'))) / (select extract(epoch from '2026-05-31 12:53:33'::timestamp) - extract(epoch from '2026-05-31 12:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571382 -3.224386)'), GeomFromEWKT('SRID=4674;POINT (-38.571411 -3.224474)'))) / (select extract(epoch from '2026-05-31 12:53:33'::timestamp) - extract(epoch from '2026-05-31 12:53: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'), 46535, 'SRID=4674;POINT (-38.571439 -3.224553)', '2026-05-31 12:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571411 -3.224474)'), GeomFromEWKT('SRID=4674;POINT (-38.571439 -3.224553)'))) / (select extract(epoch from '2026-05-31 12:53:40'::timestamp) - extract(epoch from '2026-05-31 12:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571411 -3.224474)'), GeomFromEWKT('SRID=4674;POINT (-38.571439 -3.224553)'))) / (select extract(epoch from '2026-05-31 12:53:40'::timestamp) - extract(epoch from '2026-05-31 12:53: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'), 46535, 'SRID=4674;POINT (-38.571458 -3.224617)', '2026-05-31 12:53:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571439 -3.224553)'), GeomFromEWKT('SRID=4674;POINT (-38.571458 -3.224617)'))) / (select extract(epoch from '2026-05-31 12:53:46'::timestamp) - extract(epoch from '2026-05-31 12:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571439 -3.224553)'), GeomFromEWKT('SRID=4674;POINT (-38.571458 -3.224617)'))) / (select extract(epoch from '2026-05-31 12:53:46'::timestamp) - extract(epoch from '2026-05-31 12:53:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571482 -3.224695)', '2026-05-31 12:53:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571458 -3.224617)'), GeomFromEWKT('SRID=4674;POINT (-38.571482 -3.224695)'))) / (select extract(epoch from '2026-05-31 12:53:53'::timestamp) - extract(epoch from '2026-05-31 12:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571458 -3.224617)'), GeomFromEWKT('SRID=4674;POINT (-38.571482 -3.224695)'))) / (select extract(epoch from '2026-05-31 12:53:53'::timestamp) - extract(epoch from '2026-05-31 12:53: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'), 46535, 'SRID=4674;POINT (-38.571492 -3.224778)', '2026-05-31 12:54:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571482 -3.224695)'), GeomFromEWKT('SRID=4674;POINT (-38.571492 -3.224778)'))) / (select extract(epoch from '2026-05-31 12:54:01'::timestamp) - extract(epoch from '2026-05-31 12:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571482 -3.224695)'), GeomFromEWKT('SRID=4674;POINT (-38.571492 -3.224778)'))) / (select extract(epoch from '2026-05-31 12:54:01'::timestamp) - extract(epoch from '2026-05-31 12:53: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'), 46535, 'SRID=4674;POINT (-38.571495 -3.224813)', '2026-05-31 12:54:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571492 -3.224778)'), GeomFromEWKT('SRID=4674;POINT (-38.571495 -3.224813)'))) / (select extract(epoch from '2026-05-31 12:54:05'::timestamp) - extract(epoch from '2026-05-31 12:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571492 -3.224778)'), GeomFromEWKT('SRID=4674;POINT (-38.571495 -3.224813)'))) / (select extract(epoch from '2026-05-31 12:54:05'::timestamp) - extract(epoch from '2026-05-31 12:54: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'), 46535, 'SRID=4674;POINT (-38.571507 -3.224829)', '2026-05-31 12:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571495 -3.224813)'), GeomFromEWKT('SRID=4674;POINT (-38.571507 -3.224829)'))) / (select extract(epoch from '2026-05-31 12:54:07'::timestamp) - extract(epoch from '2026-05-31 12:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571495 -3.224813)'), GeomFromEWKT('SRID=4674;POINT (-38.571507 -3.224829)'))) / (select extract(epoch from '2026-05-31 12:54:07'::timestamp) - extract(epoch from '2026-05-31 12:54: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'), 46535, 'SRID=4674;POINT (-38.571533 -3.224892)', '2026-05-31 12:54:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571507 -3.224829)'), GeomFromEWKT('SRID=4674;POINT (-38.571533 -3.224892)'))) / (select extract(epoch from '2026-05-31 12:54:14'::timestamp) - extract(epoch from '2026-05-31 12:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571507 -3.224829)'), GeomFromEWKT('SRID=4674;POINT (-38.571533 -3.224892)'))) / (select extract(epoch from '2026-05-31 12:54:14'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571537 -3.2249)', '2026-05-31 12:54:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571533 -3.224892)'), GeomFromEWKT('SRID=4674;POINT (-38.571537 -3.2249)'))) / (select extract(epoch from '2026-05-31 12:54:15'::timestamp) - extract(epoch from '2026-05-31 12:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571533 -3.224892)'), GeomFromEWKT('SRID=4674;POINT (-38.571537 -3.2249)'))) / (select extract(epoch from '2026-05-31 12:54:15'::timestamp) - extract(epoch from '2026-05-31 12:54:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571549 -3.224922)', '2026-05-31 12:54:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571537 -3.2249)'), GeomFromEWKT('SRID=4674;POINT (-38.571549 -3.224922)'))) / (select extract(epoch from '2026-05-31 12:54:19'::timestamp) - extract(epoch from '2026-05-31 12:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571537 -3.2249)'), GeomFromEWKT('SRID=4674;POINT (-38.571549 -3.224922)'))) / (select extract(epoch from '2026-05-31 12:54:19'::timestamp) - extract(epoch from '2026-05-31 12:54: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'), 46535, 'SRID=4674;POINT (-38.571595 -3.225008)', '2026-05-31 12:54:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571549 -3.224922)'), GeomFromEWKT('SRID=4674;POINT (-38.571595 -3.225008)'))) / (select extract(epoch from '2026-05-31 12:54:29'::timestamp) - extract(epoch from '2026-05-31 12:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571549 -3.224922)'), GeomFromEWKT('SRID=4674;POINT (-38.571595 -3.225008)'))) / (select extract(epoch from '2026-05-31 12:54:29'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571623 -3.225069)', '2026-05-31 12:54:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571595 -3.225008)'), GeomFromEWKT('SRID=4674;POINT (-38.571623 -3.225069)'))) / (select extract(epoch from '2026-05-31 12:54:36'::timestamp) - extract(epoch from '2026-05-31 12:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571595 -3.225008)'), GeomFromEWKT('SRID=4674;POINT (-38.571623 -3.225069)'))) / (select extract(epoch from '2026-05-31 12:54:36'::timestamp) - extract(epoch from '2026-05-31 12:54: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'), 46535, 'SRID=4674;POINT (-38.571654 -3.225132)', '2026-05-31 12:54:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571623 -3.225069)'), GeomFromEWKT('SRID=4674;POINT (-38.571654 -3.225132)'))) / (select extract(epoch from '2026-05-31 12:54:42'::timestamp) - extract(epoch from '2026-05-31 12:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571623 -3.225069)'), GeomFromEWKT('SRID=4674;POINT (-38.571654 -3.225132)'))) / (select extract(epoch from '2026-05-31 12:54:42'::timestamp) - extract(epoch from '2026-05-31 12:54: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'), 46535, 'SRID=4674;POINT (-38.571688 -3.225181)', '2026-05-31 12:54:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571654 -3.225132)'), GeomFromEWKT('SRID=4674;POINT (-38.571688 -3.225181)'))) / (select extract(epoch from '2026-05-31 12:54:49'::timestamp) - extract(epoch from '2026-05-31 12:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571654 -3.225132)'), GeomFromEWKT('SRID=4674;POINT (-38.571688 -3.225181)'))) / (select extract(epoch from '2026-05-31 12:54:49'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571713 -3.225221)', '2026-05-31 12:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571688 -3.225181)'), GeomFromEWKT('SRID=4674;POINT (-38.571713 -3.225221)'))) / (select extract(epoch from '2026-05-31 12:54:55'::timestamp) - extract(epoch from '2026-05-31 12:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571688 -3.225181)'), GeomFromEWKT('SRID=4674;POINT (-38.571713 -3.225221)'))) / (select extract(epoch from '2026-05-31 12:54:55'::timestamp) - extract(epoch from '2026-05-31 12:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571761 -3.225305)', '2026-05-31 12:55:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571713 -3.225221)'), GeomFromEWKT('SRID=4674;POINT (-38.571761 -3.225305)'))) / (select extract(epoch from '2026-05-31 12:55:05'::timestamp) - extract(epoch from '2026-05-31 12:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571713 -3.225221)'), GeomFromEWKT('SRID=4674;POINT (-38.571761 -3.225305)'))) / (select extract(epoch from '2026-05-31 12:55:05'::timestamp) - extract(epoch from '2026-05-31 12:54: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'), 46535, 'SRID=4674;POINT (-38.57179 -3.225369)', '2026-05-31 12:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571761 -3.225305)'), GeomFromEWKT('SRID=4674;POINT (-38.57179 -3.225369)'))) / (select extract(epoch from '2026-05-31 12:55:11'::timestamp) - extract(epoch from '2026-05-31 12:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571761 -3.225305)'), GeomFromEWKT('SRID=4674;POINT (-38.57179 -3.225369)'))) / (select extract(epoch from '2026-05-31 12:55:11'::timestamp) - extract(epoch from '2026-05-31 12:55: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'), 46535, 'SRID=4674;POINT (-38.571793 -3.225391)', '2026-05-31 12:55:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57179 -3.225369)'), GeomFromEWKT('SRID=4674;POINT (-38.571793 -3.225391)'))) / (select extract(epoch from '2026-05-31 12:55:13'::timestamp) - extract(epoch from '2026-05-31 12:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57179 -3.225369)'), GeomFromEWKT('SRID=4674;POINT (-38.571793 -3.225391)'))) / (select extract(epoch from '2026-05-31 12:55:13'::timestamp) - extract(epoch from '2026-05-31 12:55: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'), 46535, 'SRID=4674;POINT (-38.571815 -3.225469)', '2026-05-31 12:55:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571793 -3.225391)'), GeomFromEWKT('SRID=4674;POINT (-38.571815 -3.225469)'))) / (select extract(epoch from '2026-05-31 12:55:20'::timestamp) - extract(epoch from '2026-05-31 12:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571793 -3.225391)'), GeomFromEWKT('SRID=4674;POINT (-38.571815 -3.225469)'))) / (select extract(epoch from '2026-05-31 12:55:20'::timestamp) - extract(epoch from '2026-05-31 12:55: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'), 46535, 'SRID=4674;POINT (-38.571832 -3.225547)', '2026-05-31 12:55:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571815 -3.225469)'), GeomFromEWKT('SRID=4674;POINT (-38.571832 -3.225547)'))) / (select extract(epoch from '2026-05-31 12:55:27'::timestamp) - extract(epoch from '2026-05-31 12:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571815 -3.225469)'), GeomFromEWKT('SRID=4674;POINT (-38.571832 -3.225547)'))) / (select extract(epoch from '2026-05-31 12:55:27'::timestamp) - extract(epoch from '2026-05-31 12:55: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'), 46535, 'SRID=4674;POINT (-38.571843 -3.225581)', '2026-05-31 12:55:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571832 -3.225547)'), GeomFromEWKT('SRID=4674;POINT (-38.571843 -3.225581)'))) / (select extract(epoch from '2026-05-31 12:55:30'::timestamp) - extract(epoch from '2026-05-31 12:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571832 -3.225547)'), GeomFromEWKT('SRID=4674;POINT (-38.571843 -3.225581)'))) / (select extract(epoch from '2026-05-31 12:55:30'::timestamp) - extract(epoch from '2026-05-31 12:55: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'), 46535, 'SRID=4674;POINT (-38.571845 -3.225605)', '2026-05-31 12:55:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571843 -3.225581)'), GeomFromEWKT('SRID=4674;POINT (-38.571845 -3.225605)'))) / (select extract(epoch from '2026-05-31 12:55:32'::timestamp) - extract(epoch from '2026-05-31 12:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571843 -3.225581)'), GeomFromEWKT('SRID=4674;POINT (-38.571845 -3.225605)'))) / (select extract(epoch from '2026-05-31 12:55:32'::timestamp) - extract(epoch from '2026-05-31 12:55:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571858 -3.225682)', '2026-05-31 12:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571845 -3.225605)'), GeomFromEWKT('SRID=4674;POINT (-38.571858 -3.225682)'))) / (select extract(epoch from '2026-05-31 12:55:38'::timestamp) - extract(epoch from '2026-05-31 12:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571845 -3.225605)'), GeomFromEWKT('SRID=4674;POINT (-38.571858 -3.225682)'))) / (select extract(epoch from '2026-05-31 12:55:38'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571861 -3.225699)', '2026-05-31 12:55:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571858 -3.225682)'), GeomFromEWKT('SRID=4674;POINT (-38.571861 -3.225699)'))) / (select extract(epoch from '2026-05-31 12:55:40'::timestamp) - extract(epoch from '2026-05-31 12:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571858 -3.225682)'), GeomFromEWKT('SRID=4674;POINT (-38.571861 -3.225699)'))) / (select extract(epoch from '2026-05-31 12:55:40'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.571881 -3.225739)', '2026-05-31 12:55:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571861 -3.225699)'), GeomFromEWKT('SRID=4674;POINT (-38.571881 -3.225739)'))) / (select extract(epoch from '2026-05-31 12:55:44'::timestamp) - extract(epoch from '2026-05-31 12:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571861 -3.225699)'), GeomFromEWKT('SRID=4674;POINT (-38.571881 -3.225739)'))) / (select extract(epoch from '2026-05-31 12:55:44'::timestamp) - extract(epoch from '2026-05-31 12:55: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'), 46535, 'SRID=4674;POINT (-38.571898 -3.225761)', '2026-05-31 12:55:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571881 -3.225739)'), GeomFromEWKT('SRID=4674;POINT (-38.571898 -3.225761)'))) / (select extract(epoch from '2026-05-31 12:55:47'::timestamp) - extract(epoch from '2026-05-31 12:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571881 -3.225739)'), GeomFromEWKT('SRID=4674;POINT (-38.571898 -3.225761)'))) / (select extract(epoch from '2026-05-31 12:55:47'::timestamp) - extract(epoch from '2026-05-31 12:55:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571907 -3.225793)', '2026-05-31 12:55:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571898 -3.225761)'), GeomFromEWKT('SRID=4674;POINT (-38.571907 -3.225793)'))) / (select extract(epoch from '2026-05-31 12:55:50'::timestamp) - extract(epoch from '2026-05-31 12:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571898 -3.225761)'), GeomFromEWKT('SRID=4674;POINT (-38.571907 -3.225793)'))) / (select extract(epoch from '2026-05-31 12:55:50'::timestamp) - extract(epoch from '2026-05-31 12:55: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'), 46535, 'SRID=4674;POINT (-38.57191 -3.225815)', '2026-05-31 12:55:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571907 -3.225793)'), GeomFromEWKT('SRID=4674;POINT (-38.57191 -3.225815)'))) / (select extract(epoch from '2026-05-31 12:55:52'::timestamp) - extract(epoch from '2026-05-31 12:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571907 -3.225793)'), GeomFromEWKT('SRID=4674;POINT (-38.57191 -3.225815)'))) / (select extract(epoch from '2026-05-31 12:55:52'::timestamp) - extract(epoch from '2026-05-31 12:55:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571913 -3.225873)', '2026-05-31 12:55:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57191 -3.225815)'), GeomFromEWKT('SRID=4674;POINT (-38.571913 -3.225873)'))) / (select extract(epoch from '2026-05-31 12:55:57'::timestamp) - extract(epoch from '2026-05-31 12:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57191 -3.225815)'), GeomFromEWKT('SRID=4674;POINT (-38.571913 -3.225873)'))) / (select extract(epoch from '2026-05-31 12:55:57'::timestamp) - extract(epoch from '2026-05-31 12:55: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'), 46535, 'SRID=4674;POINT (-38.571919 -3.225879)', '2026-05-31 12:55:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571913 -3.225873)'), GeomFromEWKT('SRID=4674;POINT (-38.571919 -3.225879)'))) / (select extract(epoch from '2026-05-31 12:55:58'::timestamp) - extract(epoch from '2026-05-31 12:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571913 -3.225873)'), GeomFromEWKT('SRID=4674;POINT (-38.571919 -3.225879)'))) / (select extract(epoch from '2026-05-31 12:55:58'::timestamp) - extract(epoch from '2026-05-31 12:55: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'), 46535, 'SRID=4674;POINT (-38.571926 -3.225892)', '2026-05-31 12:56:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571919 -3.225879)'), GeomFromEWKT('SRID=4674;POINT (-38.571926 -3.225892)'))) / (select extract(epoch from '2026-05-31 12:56:00'::timestamp) - extract(epoch from '2026-05-31 12:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571919 -3.225879)'), GeomFromEWKT('SRID=4674;POINT (-38.571926 -3.225892)'))) / (select extract(epoch from '2026-05-31 12:56:00'::timestamp) - extract(epoch from '2026-05-31 12:55: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'), 46535, 'SRID=4674;POINT (-38.571935 -3.225947)', '2026-05-31 12:56:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571926 -3.225892)'), GeomFromEWKT('SRID=4674;POINT (-38.571935 -3.225947)'))) / (select extract(epoch from '2026-05-31 12:56:07'::timestamp) - extract(epoch from '2026-05-31 12:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571926 -3.225892)'), GeomFromEWKT('SRID=4674;POINT (-38.571935 -3.225947)'))) / (select extract(epoch from '2026-05-31 12:56:07'::timestamp) - extract(epoch from '2026-05-31 12:56: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'), 46535, 'SRID=4674;POINT (-38.571941 -3.225963)', '2026-05-31 12:56:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571935 -3.225947)'), GeomFromEWKT('SRID=4674;POINT (-38.571941 -3.225963)'))) / (select extract(epoch from '2026-05-31 12:56:09'::timestamp) - extract(epoch from '2026-05-31 12:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571935 -3.225947)'), GeomFromEWKT('SRID=4674;POINT (-38.571941 -3.225963)'))) / (select extract(epoch from '2026-05-31 12:56:09'::timestamp) - extract(epoch from '2026-05-31 12:56: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'), 46535, 'SRID=4674;POINT (-38.571949 -3.225998)', '2026-05-31 12:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571941 -3.225963)'), GeomFromEWKT('SRID=4674;POINT (-38.571949 -3.225998)'))) / (select extract(epoch from '2026-05-31 12:56:13'::timestamp) - extract(epoch from '2026-05-31 12:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571941 -3.225963)'), GeomFromEWKT('SRID=4674;POINT (-38.571949 -3.225998)'))) / (select extract(epoch from '2026-05-31 12:56:13'::timestamp) - extract(epoch from '2026-05-31 12:56:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571953 -3.226019)', '2026-05-31 12:56:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571949 -3.225998)'), GeomFromEWKT('SRID=4674;POINT (-38.571953 -3.226019)'))) / (select extract(epoch from '2026-05-31 12:56:15'::timestamp) - extract(epoch from '2026-05-31 12:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571949 -3.225998)'), GeomFromEWKT('SRID=4674;POINT (-38.571953 -3.226019)'))) / (select extract(epoch from '2026-05-31 12:56:15'::timestamp) - extract(epoch from '2026-05-31 12:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571971 -3.226085)', '2026-05-31 12:56:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571953 -3.226019)'), GeomFromEWKT('SRID=4674;POINT (-38.571971 -3.226085)'))) / (select extract(epoch from '2026-05-31 12:56:23'::timestamp) - extract(epoch from '2026-05-31 12:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571953 -3.226019)'), GeomFromEWKT('SRID=4674;POINT (-38.571971 -3.226085)'))) / (select extract(epoch from '2026-05-31 12:56:23'::timestamp) - extract(epoch from '2026-05-31 12:56: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'), 46535, 'SRID=4674;POINT (-38.571998 -3.226156)', '2026-05-31 12:56:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571971 -3.226085)'), GeomFromEWKT('SRID=4674;POINT (-38.571998 -3.226156)'))) / (select extract(epoch from '2026-05-31 12:56:33'::timestamp) - extract(epoch from '2026-05-31 12:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571971 -3.226085)'), GeomFromEWKT('SRID=4674;POINT (-38.571998 -3.226156)'))) / (select extract(epoch from '2026-05-31 12:56:33'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.572046 -3.22623)', '2026-05-31 12:56:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571998 -3.226156)'), GeomFromEWKT('SRID=4674;POINT (-38.572046 -3.22623)'))) / (select extract(epoch from '2026-05-31 12:56:41'::timestamp) - extract(epoch from '2026-05-31 12:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571998 -3.226156)'), GeomFromEWKT('SRID=4674;POINT (-38.572046 -3.22623)'))) / (select extract(epoch from '2026-05-31 12:56:41'::timestamp) - extract(epoch from '2026-05-31 12:56:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572052 -3.226239)', '2026-05-31 12:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572046 -3.22623)'), GeomFromEWKT('SRID=4674;POINT (-38.572052 -3.226239)'))) / (select extract(epoch from '2026-05-31 12:56:42'::timestamp) - extract(epoch from '2026-05-31 12:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572046 -3.22623)'), GeomFromEWKT('SRID=4674;POINT (-38.572052 -3.226239)'))) / (select extract(epoch from '2026-05-31 12:56:42'::timestamp) - extract(epoch from '2026-05-31 12:56: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'), 46535, 'SRID=4674;POINT (-38.572102 -3.22629)', '2026-05-31 12:56:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572052 -3.226239)'), GeomFromEWKT('SRID=4674;POINT (-38.572102 -3.22629)'))) / (select extract(epoch from '2026-05-31 12:56:47'::timestamp) - extract(epoch from '2026-05-31 12:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572052 -3.226239)'), GeomFromEWKT('SRID=4674;POINT (-38.572102 -3.22629)'))) / (select extract(epoch from '2026-05-31 12:56:47'::timestamp) - extract(epoch from '2026-05-31 12:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572171 -3.226372)', '2026-05-31 12:56:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572102 -3.22629)'), GeomFromEWKT('SRID=4674;POINT (-38.572171 -3.226372)'))) / (select extract(epoch from '2026-05-31 12:56:54'::timestamp) - extract(epoch from '2026-05-31 12:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572102 -3.22629)'), GeomFromEWKT('SRID=4674;POINT (-38.572171 -3.226372)'))) / (select extract(epoch from '2026-05-31 12:56:54'::timestamp) - extract(epoch from '2026-05-31 12:56: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'), 46535, 'SRID=4674;POINT (-38.572223 -3.226464)', '2026-05-31 12:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572171 -3.226372)'), GeomFromEWKT('SRID=4674;POINT (-38.572223 -3.226464)'))) / (select extract(epoch from '2026-05-31 12:57:01'::timestamp) - extract(epoch from '2026-05-31 12:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572171 -3.226372)'), GeomFromEWKT('SRID=4674;POINT (-38.572223 -3.226464)'))) / (select extract(epoch from '2026-05-31 12:57:01'::timestamp) - extract(epoch from '2026-05-31 12:56: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'), 46535, 'SRID=4674;POINT (-38.572249 -3.226497)', '2026-05-31 12:57:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572223 -3.226464)'), GeomFromEWKT('SRID=4674;POINT (-38.572249 -3.226497)'))) / (select extract(epoch from '2026-05-31 12:57:05'::timestamp) - extract(epoch from '2026-05-31 12:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572223 -3.226464)'), GeomFromEWKT('SRID=4674;POINT (-38.572249 -3.226497)'))) / (select extract(epoch from '2026-05-31 12:57:05'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572259 -3.226518)', '2026-05-31 12:57:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572249 -3.226497)'), GeomFromEWKT('SRID=4674;POINT (-38.572259 -3.226518)'))) / (select extract(epoch from '2026-05-31 12:57:07'::timestamp) - extract(epoch from '2026-05-31 12:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572249 -3.226497)'), GeomFromEWKT('SRID=4674;POINT (-38.572259 -3.226518)'))) / (select extract(epoch from '2026-05-31 12:57:07'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572266 -3.226525)', '2026-05-31 12:57:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572259 -3.226518)'), GeomFromEWKT('SRID=4674;POINT (-38.572266 -3.226525)'))) / (select extract(epoch from '2026-05-31 12:57:08'::timestamp) - extract(epoch from '2026-05-31 12:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572259 -3.226518)'), GeomFromEWKT('SRID=4674;POINT (-38.572266 -3.226525)'))) / (select extract(epoch from '2026-05-31 12:57:08'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572286 -3.226551)', '2026-05-31 12:57:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572266 -3.226525)'), GeomFromEWKT('SRID=4674;POINT (-38.572286 -3.226551)'))) / (select extract(epoch from '2026-05-31 12:57:11'::timestamp) - extract(epoch from '2026-05-31 12:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572266 -3.226525)'), GeomFromEWKT('SRID=4674;POINT (-38.572286 -3.226551)'))) / (select extract(epoch from '2026-05-31 12:57:11'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572291 -3.226569)', '2026-05-31 12:57:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572286 -3.226551)'), GeomFromEWKT('SRID=4674;POINT (-38.572291 -3.226569)'))) / (select extract(epoch from '2026-05-31 12:57:13'::timestamp) - extract(epoch from '2026-05-31 12:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572286 -3.226551)'), GeomFromEWKT('SRID=4674;POINT (-38.572291 -3.226569)'))) / (select extract(epoch from '2026-05-31 12:57:13'::timestamp) - extract(epoch from '2026-05-31 12:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572308 -3.226609)', '2026-05-31 12:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572291 -3.226569)'), GeomFromEWKT('SRID=4674;POINT (-38.572308 -3.226609)'))) / (select extract(epoch from '2026-05-31 12:57:17'::timestamp) - extract(epoch from '2026-05-31 12:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572291 -3.226569)'), GeomFromEWKT('SRID=4674;POINT (-38.572308 -3.226609)'))) / (select extract(epoch from '2026-05-31 12:57:17'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572313 -3.226629)', '2026-05-31 12:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572308 -3.226609)'), GeomFromEWKT('SRID=4674;POINT (-38.572313 -3.226629)'))) / (select extract(epoch from '2026-05-31 12:57:19'::timestamp) - extract(epoch from '2026-05-31 12:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572308 -3.226609)'), GeomFromEWKT('SRID=4674;POINT (-38.572313 -3.226629)'))) / (select extract(epoch from '2026-05-31 12:57:19'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572332 -3.226674)', '2026-05-31 12:57:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572313 -3.226629)'), GeomFromEWKT('SRID=4674;POINT (-38.572332 -3.226674)'))) / (select extract(epoch from '2026-05-31 12:57:23'::timestamp) - extract(epoch from '2026-05-31 12:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572313 -3.226629)'), GeomFromEWKT('SRID=4674;POINT (-38.572332 -3.226674)'))) / (select extract(epoch from '2026-05-31 12:57:23'::timestamp) - extract(epoch from '2026-05-31 12:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57235 -3.226717)', '2026-05-31 12:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572332 -3.226674)'), GeomFromEWKT('SRID=4674;POINT (-38.57235 -3.226717)'))) / (select extract(epoch from '2026-05-31 12:57:27'::timestamp) - extract(epoch from '2026-05-31 12:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572332 -3.226674)'), GeomFromEWKT('SRID=4674;POINT (-38.57235 -3.226717)'))) / (select extract(epoch from '2026-05-31 12:57:27'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.57237 -3.226739)', '2026-05-31 12:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57235 -3.226717)'), GeomFromEWKT('SRID=4674;POINT (-38.57237 -3.226739)'))) / (select extract(epoch from '2026-05-31 12:57:29'::timestamp) - extract(epoch from '2026-05-31 12:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57235 -3.226717)'), GeomFromEWKT('SRID=4674;POINT (-38.57237 -3.226739)'))) / (select extract(epoch from '2026-05-31 12:57:29'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572386 -3.226803)', '2026-05-31 12:57:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57237 -3.226739)'), GeomFromEWKT('SRID=4674;POINT (-38.572386 -3.226803)'))) / (select extract(epoch from '2026-05-31 12:57:35'::timestamp) - extract(epoch from '2026-05-31 12:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57237 -3.226739)'), GeomFromEWKT('SRID=4674;POINT (-38.572386 -3.226803)'))) / (select extract(epoch from '2026-05-31 12:57:35'::timestamp) - extract(epoch from '2026-05-31 12:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572391 -3.226831)', '2026-05-31 12:57:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572386 -3.226803)'), GeomFromEWKT('SRID=4674;POINT (-38.572391 -3.226831)'))) / (select extract(epoch from '2026-05-31 12:57:38'::timestamp) - extract(epoch from '2026-05-31 12:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572386 -3.226803)'), GeomFromEWKT('SRID=4674;POINT (-38.572391 -3.226831)'))) / (select extract(epoch from '2026-05-31 12:57:38'::timestamp) - extract(epoch from '2026-05-31 12:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572405 -3.226842)', '2026-05-31 12:57:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572391 -3.226831)'), GeomFromEWKT('SRID=4674;POINT (-38.572405 -3.226842)'))) / (select extract(epoch from '2026-05-31 12:57:40'::timestamp) - extract(epoch from '2026-05-31 12:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572391 -3.226831)'), GeomFromEWKT('SRID=4674;POINT (-38.572405 -3.226842)'))) / (select extract(epoch from '2026-05-31 12:57:40'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572407 -3.226861)', '2026-05-31 12:57:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572405 -3.226842)'), GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.226861)'))) / (select extract(epoch from '2026-05-31 12:57:42'::timestamp) - extract(epoch from '2026-05-31 12:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572405 -3.226842)'), GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.226861)'))) / (select extract(epoch from '2026-05-31 12:57:42'::timestamp) - extract(epoch from '2026-05-31 12:57:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572407 -3.226873)', '2026-05-31 12:57:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.226861)'), GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.226873)'))) / (select extract(epoch from '2026-05-31 12:57:43'::timestamp) - extract(epoch from '2026-05-31 12:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.226861)'), GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.226873)'))) / (select extract(epoch from '2026-05-31 12:57:43'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572411 -3.226895)', '2026-05-31 12:57:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.226873)'), GeomFromEWKT('SRID=4674;POINT (-38.572411 -3.226895)'))) / (select extract(epoch from '2026-05-31 12:57:45'::timestamp) - extract(epoch from '2026-05-31 12:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.226873)'), GeomFromEWKT('SRID=4674;POINT (-38.572411 -3.226895)'))) / (select extract(epoch from '2026-05-31 12:57:45'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572413 -3.226917)', '2026-05-31 12:57:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572411 -3.226895)'), GeomFromEWKT('SRID=4674;POINT (-38.572413 -3.226917)'))) / (select extract(epoch from '2026-05-31 12:57:47'::timestamp) - extract(epoch from '2026-05-31 12:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572411 -3.226895)'), GeomFromEWKT('SRID=4674;POINT (-38.572413 -3.226917)'))) / (select extract(epoch from '2026-05-31 12:57:47'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.572418 -3.226939)', '2026-05-31 12:57:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572413 -3.226917)'), GeomFromEWKT('SRID=4674;POINT (-38.572418 -3.226939)'))) / (select extract(epoch from '2026-05-31 12:57:50'::timestamp) - extract(epoch from '2026-05-31 12:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572413 -3.226917)'), GeomFromEWKT('SRID=4674;POINT (-38.572418 -3.226939)'))) / (select extract(epoch from '2026-05-31 12:57:50'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572421 -3.226971)', '2026-05-31 12:57:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572418 -3.226939)'), GeomFromEWKT('SRID=4674;POINT (-38.572421 -3.226971)'))) / (select extract(epoch from '2026-05-31 12:57:53'::timestamp) - extract(epoch from '2026-05-31 12:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572418 -3.226939)'), GeomFromEWKT('SRID=4674;POINT (-38.572421 -3.226971)'))) / (select extract(epoch from '2026-05-31 12:57:53'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572423 -3.226982)', '2026-05-31 12:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572421 -3.226971)'), GeomFromEWKT('SRID=4674;POINT (-38.572423 -3.226982)'))) / (select extract(epoch from '2026-05-31 12:57:54'::timestamp) - extract(epoch from '2026-05-31 12:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572421 -3.226971)'), GeomFromEWKT('SRID=4674;POINT (-38.572423 -3.226982)'))) / (select extract(epoch from '2026-05-31 12:57:54'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572427 -3.22706)', '2026-05-31 12:58:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572423 -3.226982)'), GeomFromEWKT('SRID=4674;POINT (-38.572427 -3.22706)'))) / (select extract(epoch from '2026-05-31 12:58:01'::timestamp) - extract(epoch from '2026-05-31 12:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572423 -3.226982)'), GeomFromEWKT('SRID=4674;POINT (-38.572427 -3.22706)'))) / (select extract(epoch from '2026-05-31 12:58:01'::timestamp) - extract(epoch from '2026-05-31 12:57: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'), 46535, 'SRID=4674;POINT (-38.572434 -3.227091)', '2026-05-31 12:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572427 -3.22706)'), GeomFromEWKT('SRID=4674;POINT (-38.572434 -3.227091)'))) / (select extract(epoch from '2026-05-31 12:58:04'::timestamp) - extract(epoch from '2026-05-31 12:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572427 -3.22706)'), GeomFromEWKT('SRID=4674;POINT (-38.572434 -3.227091)'))) / (select extract(epoch from '2026-05-31 12:58:04'::timestamp) - extract(epoch from '2026-05-31 12:58: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'), 46535, 'SRID=4674;POINT (-38.572431 -3.227142)', '2026-05-31 12:58:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572434 -3.227091)'), GeomFromEWKT('SRID=4674;POINT (-38.572431 -3.227142)'))) / (select extract(epoch from '2026-05-31 12:58:08'::timestamp) - extract(epoch from '2026-05-31 12:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572434 -3.227091)'), GeomFromEWKT('SRID=4674;POINT (-38.572431 -3.227142)'))) / (select extract(epoch from '2026-05-31 12:58:08'::timestamp) - extract(epoch from '2026-05-31 12:58: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'), 46535, 'SRID=4674;POINT (-38.572433 -3.227186)', '2026-05-31 12:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572431 -3.227142)'), GeomFromEWKT('SRID=4674;POINT (-38.572433 -3.227186)'))) / (select extract(epoch from '2026-05-31 12:58:12'::timestamp) - extract(epoch from '2026-05-31 12:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572431 -3.227142)'), GeomFromEWKT('SRID=4674;POINT (-38.572433 -3.227186)'))) / (select extract(epoch from '2026-05-31 12:58:12'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.572428 -3.227205)', '2026-05-31 12:58:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572433 -3.227186)'), GeomFromEWKT('SRID=4674;POINT (-38.572428 -3.227205)'))) / (select extract(epoch from '2026-05-31 12:58:14'::timestamp) - extract(epoch from '2026-05-31 12:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572433 -3.227186)'), GeomFromEWKT('SRID=4674;POINT (-38.572428 -3.227205)'))) / (select extract(epoch from '2026-05-31 12:58:14'::timestamp) - extract(epoch from '2026-05-31 12:58: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'), 46535, 'SRID=4674;POINT (-38.572411 -3.227285)', '2026-05-31 12:58:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572428 -3.227205)'), GeomFromEWKT('SRID=4674;POINT (-38.572411 -3.227285)'))) / (select extract(epoch from '2026-05-31 12:58:21'::timestamp) - extract(epoch from '2026-05-31 12:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572428 -3.227205)'), GeomFromEWKT('SRID=4674;POINT (-38.572411 -3.227285)'))) / (select extract(epoch from '2026-05-31 12:58:21'::timestamp) - extract(epoch from '2026-05-31 12:58: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'), 46535, 'SRID=4674;POINT (-38.5724 -3.227358)', '2026-05-31 12:58:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572411 -3.227285)'), GeomFromEWKT('SRID=4674;POINT (-38.5724 -3.227358)'))) / (select extract(epoch from '2026-05-31 12:58:28'::timestamp) - extract(epoch from '2026-05-31 12:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572411 -3.227285)'), GeomFromEWKT('SRID=4674;POINT (-38.5724 -3.227358)'))) / (select extract(epoch from '2026-05-31 12:58:28'::timestamp) - extract(epoch from '2026-05-31 12:58: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'), 46535, 'SRID=4674;POINT (-38.572407 -3.227438)', '2026-05-31 12:58:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5724 -3.227358)'), GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.227438)'))) / (select extract(epoch from '2026-05-31 12:58:35'::timestamp) - extract(epoch from '2026-05-31 12:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5724 -3.227358)'), GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.227438)'))) / (select extract(epoch from '2026-05-31 12:58:35'::timestamp) - extract(epoch from '2026-05-31 12:58: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'), 46535, 'SRID=4674;POINT (-38.572437 -3.227481)', '2026-05-31 12:58:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.227438)'), GeomFromEWKT('SRID=4674;POINT (-38.572437 -3.227481)'))) / (select extract(epoch from '2026-05-31 12:58:41'::timestamp) - extract(epoch from '2026-05-31 12:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572407 -3.227438)'), GeomFromEWKT('SRID=4674;POINT (-38.572437 -3.227481)'))) / (select extract(epoch from '2026-05-31 12:58:41'::timestamp) - extract(epoch from '2026-05-31 12:58:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572453 -3.227499)', '2026-05-31 12:58:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572437 -3.227481)'), GeomFromEWKT('SRID=4674;POINT (-38.572453 -3.227499)'))) / (select extract(epoch from '2026-05-31 12:58:43'::timestamp) - extract(epoch from '2026-05-31 12:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572437 -3.227481)'), GeomFromEWKT('SRID=4674;POINT (-38.572453 -3.227499)'))) / (select extract(epoch from '2026-05-31 12:58:43'::timestamp) - extract(epoch from '2026-05-31 12:58: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'), 46535, 'SRID=4674;POINT (-38.572485 -3.227534)', '2026-05-31 12:58:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572453 -3.227499)'), GeomFromEWKT('SRID=4674;POINT (-38.572485 -3.227534)'))) / (select extract(epoch from '2026-05-31 12:58:47'::timestamp) - extract(epoch from '2026-05-31 12:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572453 -3.227499)'), GeomFromEWKT('SRID=4674;POINT (-38.572485 -3.227534)'))) / (select extract(epoch from '2026-05-31 12:58:47'::timestamp) - extract(epoch from '2026-05-31 12:58: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'), 46535, 'SRID=4674;POINT (-38.572504 -3.227543)', '2026-05-31 12:58:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572485 -3.227534)'), GeomFromEWKT('SRID=4674;POINT (-38.572504 -3.227543)'))) / (select extract(epoch from '2026-05-31 12:58:49'::timestamp) - extract(epoch from '2026-05-31 12:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572485 -3.227534)'), GeomFromEWKT('SRID=4674;POINT (-38.572504 -3.227543)'))) / (select extract(epoch from '2026-05-31 12:58:49'::timestamp) - extract(epoch from '2026-05-31 12:58:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572528 -3.227571)', '2026-05-31 12:58:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572504 -3.227543)'), GeomFromEWKT('SRID=4674;POINT (-38.572528 -3.227571)'))) / (select extract(epoch from '2026-05-31 12:58:52'::timestamp) - extract(epoch from '2026-05-31 12:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572504 -3.227543)'), GeomFromEWKT('SRID=4674;POINT (-38.572528 -3.227571)'))) / (select extract(epoch from '2026-05-31 12:58:52'::timestamp) - extract(epoch from '2026-05-31 12:58: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'), 46535, 'SRID=4674;POINT (-38.572598 -3.22764)', '2026-05-31 12:58:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572528 -3.227571)'), GeomFromEWKT('SRID=4674;POINT (-38.572598 -3.22764)'))) / (select extract(epoch from '2026-05-31 12:58:59'::timestamp) - extract(epoch from '2026-05-31 12:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572528 -3.227571)'), GeomFromEWKT('SRID=4674;POINT (-38.572598 -3.22764)'))) / (select extract(epoch from '2026-05-31 12:58:59'::timestamp) - extract(epoch from '2026-05-31 12:58: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'), 46535, 'SRID=4674;POINT (-38.572651 -3.227702)', '2026-05-31 12:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572598 -3.22764)'), GeomFromEWKT('SRID=4674;POINT (-38.572651 -3.227702)'))) / (select extract(epoch from '2026-05-31 12:59:05'::timestamp) - extract(epoch from '2026-05-31 12:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572598 -3.22764)'), GeomFromEWKT('SRID=4674;POINT (-38.572651 -3.227702)'))) / (select extract(epoch from '2026-05-31 12:59:05'::timestamp) - extract(epoch from '2026-05-31 12:58: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'), 46535, 'SRID=4674;POINT (-38.572715 -3.22779)', '2026-05-31 12:59:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572651 -3.227702)'), GeomFromEWKT('SRID=4674;POINT (-38.572715 -3.22779)'))) / (select extract(epoch from '2026-05-31 12:59:12'::timestamp) - extract(epoch from '2026-05-31 12:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572651 -3.227702)'), GeomFromEWKT('SRID=4674;POINT (-38.572715 -3.22779)'))) / (select extract(epoch from '2026-05-31 12:59:12'::timestamp) - extract(epoch from '2026-05-31 12:59: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'), 46535, 'SRID=4674;POINT (-38.572747 -3.227843)', '2026-05-31 12:59:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572715 -3.22779)'), GeomFromEWKT('SRID=4674;POINT (-38.572747 -3.227843)'))) / (select extract(epoch from '2026-05-31 12:59:17'::timestamp) - extract(epoch from '2026-05-31 12:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572715 -3.22779)'), GeomFromEWKT('SRID=4674;POINT (-38.572747 -3.227843)'))) / (select extract(epoch from '2026-05-31 12:59:17'::timestamp) - extract(epoch from '2026-05-31 12:59: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'), 46535, 'SRID=4674;POINT (-38.572788 -3.227887)', '2026-05-31 12:59:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572747 -3.227843)'), GeomFromEWKT('SRID=4674;POINT (-38.572788 -3.227887)'))) / (select extract(epoch from '2026-05-31 12:59:22'::timestamp) - extract(epoch from '2026-05-31 12:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572747 -3.227843)'), GeomFromEWKT('SRID=4674;POINT (-38.572788 -3.227887)'))) / (select extract(epoch from '2026-05-31 12:59:22'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.572852 -3.227976)', '2026-05-31 12:59:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572788 -3.227887)'), GeomFromEWKT('SRID=4674;POINT (-38.572852 -3.227976)'))) / (select extract(epoch from '2026-05-31 12:59:30'::timestamp) - extract(epoch from '2026-05-31 12:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572788 -3.227887)'), GeomFromEWKT('SRID=4674;POINT (-38.572852 -3.227976)'))) / (select extract(epoch from '2026-05-31 12:59:30'::timestamp) - extract(epoch from '2026-05-31 12:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572899 -3.228045)', '2026-05-31 12:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572852 -3.227976)'), GeomFromEWKT('SRID=4674;POINT (-38.572899 -3.228045)'))) / (select extract(epoch from '2026-05-31 12:59:36'::timestamp) - extract(epoch from '2026-05-31 12:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572852 -3.227976)'), GeomFromEWKT('SRID=4674;POINT (-38.572899 -3.228045)'))) / (select extract(epoch from '2026-05-31 12:59:36'::timestamp) - extract(epoch from '2026-05-31 12:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572965 -3.22811)', '2026-05-31 12:59:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572899 -3.228045)'), GeomFromEWKT('SRID=4674;POINT (-38.572965 -3.22811)'))) / (select extract(epoch from '2026-05-31 12:59:43'::timestamp) - extract(epoch from '2026-05-31 12:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572899 -3.228045)'), GeomFromEWKT('SRID=4674;POINT (-38.572965 -3.22811)'))) / (select extract(epoch from '2026-05-31 12:59:43'::timestamp) - extract(epoch from '2026-05-31 12:59: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'), 46535, 'SRID=4674;POINT (-38.572975 -3.228125)', '2026-05-31 12:59:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572965 -3.22811)'), GeomFromEWKT('SRID=4674;POINT (-38.572975 -3.228125)'))) / (select extract(epoch from '2026-05-31 12:59:45'::timestamp) - extract(epoch from '2026-05-31 12:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572965 -3.22811)'), GeomFromEWKT('SRID=4674;POINT (-38.572975 -3.228125)'))) / (select extract(epoch from '2026-05-31 12:59:45'::timestamp) - extract(epoch from '2026-05-31 12:59: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'), 46535, 'SRID=4674;POINT (-38.572999 -3.228159)', '2026-05-31 12:59:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572975 -3.228125)'), GeomFromEWKT('SRID=4674;POINT (-38.572999 -3.228159)'))) / (select extract(epoch from '2026-05-31 12:59:48'::timestamp) - extract(epoch from '2026-05-31 12:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572975 -3.228125)'), GeomFromEWKT('SRID=4674;POINT (-38.572999 -3.228159)'))) / (select extract(epoch from '2026-05-31 12:59:48'::timestamp) - extract(epoch from '2026-05-31 12:59: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'), 46535, 'SRID=4674;POINT (-38.573053 -3.228226)', '2026-05-31 12:59:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572999 -3.228159)'), GeomFromEWKT('SRID=4674;POINT (-38.573053 -3.228226)'))) / (select extract(epoch from '2026-05-31 12:59:54'::timestamp) - extract(epoch from '2026-05-31 12:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572999 -3.228159)'), GeomFromEWKT('SRID=4674;POINT (-38.573053 -3.228226)'))) / (select extract(epoch from '2026-05-31 12:59:54'::timestamp) - extract(epoch from '2026-05-31 12: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'), 46535, 'SRID=4674;POINT (-38.573118 -3.22829)', '2026-05-31 13:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573053 -3.228226)'), GeomFromEWKT('SRID=4674;POINT (-38.573118 -3.22829)'))) / (select extract(epoch from '2026-05-31 13:00:00'::timestamp) - extract(epoch from '2026-05-31 12:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573053 -3.228226)'), GeomFromEWKT('SRID=4674;POINT (-38.573118 -3.22829)'))) / (select extract(epoch from '2026-05-31 13:00:00'::timestamp) - extract(epoch from '2026-05-31 12:59:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573174 -3.228347)', '2026-05-31 13:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573118 -3.22829)'), GeomFromEWKT('SRID=4674;POINT (-38.573174 -3.228347)'))) / (select extract(epoch from '2026-05-31 13:00:05'::timestamp) - extract(epoch from '2026-05-31 13:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573118 -3.22829)'), GeomFromEWKT('SRID=4674;POINT (-38.573174 -3.228347)'))) / (select extract(epoch from '2026-05-31 13:00:05'::timestamp) - extract(epoch from '2026-05-31 13:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57325 -3.228426)', '2026-05-31 13:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573174 -3.228347)'), GeomFromEWKT('SRID=4674;POINT (-38.57325 -3.228426)'))) / (select extract(epoch from '2026-05-31 13:00:12'::timestamp) - extract(epoch from '2026-05-31 13:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573174 -3.228347)'), GeomFromEWKT('SRID=4674;POINT (-38.57325 -3.228426)'))) / (select extract(epoch from '2026-05-31 13:00:12'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573309 -3.22849)', '2026-05-31 13:00:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57325 -3.228426)'), GeomFromEWKT('SRID=4674;POINT (-38.573309 -3.22849)'))) / (select extract(epoch from '2026-05-31 13:00:18'::timestamp) - extract(epoch from '2026-05-31 13:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57325 -3.228426)'), GeomFromEWKT('SRID=4674;POINT (-38.573309 -3.22849)'))) / (select extract(epoch from '2026-05-31 13:00:18'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.573367 -3.228571)', '2026-05-31 13:00:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573309 -3.22849)'), GeomFromEWKT('SRID=4674;POINT (-38.573367 -3.228571)'))) / (select extract(epoch from '2026-05-31 13:00:25'::timestamp) - extract(epoch from '2026-05-31 13:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573309 -3.22849)'), GeomFromEWKT('SRID=4674;POINT (-38.573367 -3.228571)'))) / (select extract(epoch from '2026-05-31 13:00:25'::timestamp) - extract(epoch from '2026-05-31 13:00: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'), 46535, 'SRID=4674;POINT (-38.573411 -3.228645)', '2026-05-31 13:00:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573367 -3.228571)'), GeomFromEWKT('SRID=4674;POINT (-38.573411 -3.228645)'))) / (select extract(epoch from '2026-05-31 13:00:31'::timestamp) - extract(epoch from '2026-05-31 13:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573367 -3.228571)'), GeomFromEWKT('SRID=4674;POINT (-38.573411 -3.228645)'))) / (select extract(epoch from '2026-05-31 13:00:31'::timestamp) - extract(epoch from '2026-05-31 13:00: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'), 46535, 'SRID=4674;POINT (-38.573458 -3.228729)', '2026-05-31 13:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573411 -3.228645)'), GeomFromEWKT('SRID=4674;POINT (-38.573458 -3.228729)'))) / (select extract(epoch from '2026-05-31 13:00:38'::timestamp) - extract(epoch from '2026-05-31 13:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573411 -3.228645)'), GeomFromEWKT('SRID=4674;POINT (-38.573458 -3.228729)'))) / (select extract(epoch from '2026-05-31 13:00:38'::timestamp) - extract(epoch from '2026-05-31 13:00: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'), 46535, 'SRID=4674;POINT (-38.57348 -3.228783)', '2026-05-31 13:00:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573458 -3.228729)'), GeomFromEWKT('SRID=4674;POINT (-38.57348 -3.228783)'))) / (select extract(epoch from '2026-05-31 13:00:43'::timestamp) - extract(epoch from '2026-05-31 13:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573458 -3.228729)'), GeomFromEWKT('SRID=4674;POINT (-38.57348 -3.228783)'))) / (select extract(epoch from '2026-05-31 13:00:43'::timestamp) - extract(epoch from '2026-05-31 13:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573489 -3.228792)', '2026-05-31 13:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57348 -3.228783)'), GeomFromEWKT('SRID=4674;POINT (-38.573489 -3.228792)'))) / (select extract(epoch from '2026-05-31 13:00:44'::timestamp) - extract(epoch from '2026-05-31 13:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57348 -3.228783)'), GeomFromEWKT('SRID=4674;POINT (-38.573489 -3.228792)'))) / (select extract(epoch from '2026-05-31 13:00:44'::timestamp) - extract(epoch from '2026-05-31 13:00: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'), 46535, 'SRID=4674;POINT (-38.573516 -3.228867)', '2026-05-31 13:00:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573489 -3.228792)'), GeomFromEWKT('SRID=4674;POINT (-38.573516 -3.228867)'))) / (select extract(epoch from '2026-05-31 13:00:50'::timestamp) - extract(epoch from '2026-05-31 13:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573489 -3.228792)'), GeomFromEWKT('SRID=4674;POINT (-38.573516 -3.228867)'))) / (select extract(epoch from '2026-05-31 13:00:50'::timestamp) - extract(epoch from '2026-05-31 13:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
