 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.865982 -3.116112)', '2026-08-06 11:55:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866021 -3.116228)'), GeomFromEWKT('SRID=4674;POINT (-38.865982 -3.116112)'))) / (select extract(epoch from '2026-08-06 11:55:43'::timestamp) - extract(epoch from '2026-08-06 11:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866021 -3.116228)'), GeomFromEWKT('SRID=4674;POINT (-38.865982 -3.116112)'))) / (select extract(epoch from '2026-08-06 11:55:43'::timestamp) - extract(epoch from '2026-08-06 11:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.865917 -3.115945)', '2026-08-06 11:55:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865982 -3.116112)'), GeomFromEWKT('SRID=4674;POINT (-38.865917 -3.115945)'))) / (select extract(epoch from '2026-08-06 11:55:49'::timestamp) - extract(epoch from '2026-08-06 11:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865982 -3.116112)'), GeomFromEWKT('SRID=4674;POINT (-38.865917 -3.115945)'))) / (select extract(epoch from '2026-08-06 11:55:49'::timestamp) - extract(epoch from '2026-08-06 11:55: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'), 48137, 'SRID=4674;POINT (-38.865866 -3.115806)', '2026-08-06 11:55:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865917 -3.115945)'), GeomFromEWKT('SRID=4674;POINT (-38.865866 -3.115806)'))) / (select extract(epoch from '2026-08-06 11:55:54'::timestamp) - extract(epoch from '2026-08-06 11:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865917 -3.115945)'), GeomFromEWKT('SRID=4674;POINT (-38.865866 -3.115806)'))) / (select extract(epoch from '2026-08-06 11:55:54'::timestamp) - extract(epoch from '2026-08-06 11:55: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'), 48137, 'SRID=4674;POINT (-38.865816 -3.115651)', '2026-08-06 11:55:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865866 -3.115806)'), GeomFromEWKT('SRID=4674;POINT (-38.865816 -3.115651)'))) / (select extract(epoch from '2026-08-06 11:55:59'::timestamp) - extract(epoch from '2026-08-06 11:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865866 -3.115806)'), GeomFromEWKT('SRID=4674;POINT (-38.865816 -3.115651)'))) / (select extract(epoch from '2026-08-06 11:55:59'::timestamp) - extract(epoch from '2026-08-06 11:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.865775 -3.115502)', '2026-08-06 11:56:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865816 -3.115651)'), GeomFromEWKT('SRID=4674;POINT (-38.865775 -3.115502)'))) / (select extract(epoch from '2026-08-06 11:56:04'::timestamp) - extract(epoch from '2026-08-06 11:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865816 -3.115651)'), GeomFromEWKT('SRID=4674;POINT (-38.865775 -3.115502)'))) / (select extract(epoch from '2026-08-06 11:56:04'::timestamp) - extract(epoch from '2026-08-06 11:55: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'), 48137, 'SRID=4674;POINT (-38.865693 -3.115308)', '2026-08-06 11:56:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865775 -3.115502)'), GeomFromEWKT('SRID=4674;POINT (-38.865693 -3.115308)'))) / (select extract(epoch from '2026-08-06 11:56:11'::timestamp) - extract(epoch from '2026-08-06 11:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865775 -3.115502)'), GeomFromEWKT('SRID=4674;POINT (-38.865693 -3.115308)'))) / (select extract(epoch from '2026-08-06 11:56:11'::timestamp) - extract(epoch from '2026-08-06 11:56: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'), 48137, 'SRID=4674;POINT (-38.865669 -3.115204)', '2026-08-06 11:56:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865693 -3.115308)'), GeomFromEWKT('SRID=4674;POINT (-38.865669 -3.115204)'))) / (select extract(epoch from '2026-08-06 11:56:15'::timestamp) - extract(epoch from '2026-08-06 11:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865693 -3.115308)'), GeomFromEWKT('SRID=4674;POINT (-38.865669 -3.115204)'))) / (select extract(epoch from '2026-08-06 11:56:15'::timestamp) - extract(epoch from '2026-08-06 11:56: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'), 48137, 'SRID=4674;POINT (-38.865657 -3.115061)', '2026-08-06 11:56:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865669 -3.115204)'), GeomFromEWKT('SRID=4674;POINT (-38.865657 -3.115061)'))) / (select extract(epoch from '2026-08-06 11:56:20'::timestamp) - extract(epoch from '2026-08-06 11:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865669 -3.115204)'), GeomFromEWKT('SRID=4674;POINT (-38.865657 -3.115061)'))) / (select extract(epoch from '2026-08-06 11:56:20'::timestamp) - extract(epoch from '2026-08-06 11: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'), 48137, 'SRID=4674;POINT (-38.865628 -3.114958)', '2026-08-06 11:56:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865657 -3.115061)'), GeomFromEWKT('SRID=4674;POINT (-38.865628 -3.114958)'))) / (select extract(epoch from '2026-08-06 11:56:24'::timestamp) - extract(epoch from '2026-08-06 11:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865657 -3.115061)'), GeomFromEWKT('SRID=4674;POINT (-38.865628 -3.114958)'))) / (select extract(epoch from '2026-08-06 11:56:24'::timestamp) - extract(epoch from '2026-08-06 11:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.8656 -3.114863)', '2026-08-06 11:56:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865628 -3.114958)'), GeomFromEWKT('SRID=4674;POINT (-38.8656 -3.114863)'))) / (select extract(epoch from '2026-08-06 11:56:28'::timestamp) - extract(epoch from '2026-08-06 11:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865628 -3.114958)'), GeomFromEWKT('SRID=4674;POINT (-38.8656 -3.114863)'))) / (select extract(epoch from '2026-08-06 11:56:28'::timestamp) - extract(epoch from '2026-08-06 11:56: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'), 48137, 'SRID=4674;POINT (-38.86555 -3.114745)', '2026-08-06 11:56:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8656 -3.114863)'), GeomFromEWKT('SRID=4674;POINT (-38.86555 -3.114745)'))) / (select extract(epoch from '2026-08-06 11:56:33'::timestamp) - extract(epoch from '2026-08-06 11:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8656 -3.114863)'), GeomFromEWKT('SRID=4674;POINT (-38.86555 -3.114745)'))) / (select extract(epoch from '2026-08-06 11:56:33'::timestamp) - extract(epoch from '2026-08-06 11:56: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'), 48137, 'SRID=4674;POINT (-38.865507 -3.114574)', '2026-08-06 11:56:39', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86555 -3.114745)'), GeomFromEWKT('SRID=4674;POINT (-38.865507 -3.114574)'))) / (select extract(epoch from '2026-08-06 11:56:39'::timestamp) - extract(epoch from '2026-08-06 11:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86555 -3.114745)'), GeomFromEWKT('SRID=4674;POINT (-38.865507 -3.114574)'))) / (select extract(epoch from '2026-08-06 11:56:39'::timestamp) - extract(epoch from '2026-08-06 11: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'), 48137, 'SRID=4674;POINT (-38.865479 -3.114429)', '2026-08-06 11:56:44', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865507 -3.114574)'), GeomFromEWKT('SRID=4674;POINT (-38.865479 -3.114429)'))) / (select extract(epoch from '2026-08-06 11:56:44'::timestamp) - extract(epoch from '2026-08-06 11:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865507 -3.114574)'), GeomFromEWKT('SRID=4674;POINT (-38.865479 -3.114429)'))) / (select extract(epoch from '2026-08-06 11:56:44'::timestamp) - extract(epoch from '2026-08-06 11:56: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'), 48137, 'SRID=4674;POINT (-38.865441 -3.114246)', '2026-08-06 11:56:50', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865479 -3.114429)'), GeomFromEWKT('SRID=4674;POINT (-38.865441 -3.114246)'))) / (select extract(epoch from '2026-08-06 11:56:50'::timestamp) - extract(epoch from '2026-08-06 11:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865479 -3.114429)'), GeomFromEWKT('SRID=4674;POINT (-38.865441 -3.114246)'))) / (select extract(epoch from '2026-08-06 11:56:50'::timestamp) - extract(epoch from '2026-08-06 11:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.865386 -3.114027)', '2026-08-06 11:56:57', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865441 -3.114246)'), GeomFromEWKT('SRID=4674;POINT (-38.865386 -3.114027)'))) / (select extract(epoch from '2026-08-06 11:56:57'::timestamp) - extract(epoch from '2026-08-06 11:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865441 -3.114246)'), GeomFromEWKT('SRID=4674;POINT (-38.865386 -3.114027)'))) / (select extract(epoch from '2026-08-06 11:56:57'::timestamp) - extract(epoch from '2026-08-06 11:56:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.865333 -3.113859)', '2026-08-06 11:57:03', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865386 -3.114027)'), GeomFromEWKT('SRID=4674;POINT (-38.865333 -3.113859)'))) / (select extract(epoch from '2026-08-06 11:57:03'::timestamp) - extract(epoch from '2026-08-06 11:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865386 -3.114027)'), GeomFromEWKT('SRID=4674;POINT (-38.865333 -3.113859)'))) / (select extract(epoch from '2026-08-06 11:57:03'::timestamp) - extract(epoch from '2026-08-06 11:56: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'), 48137, 'SRID=4674;POINT (-38.865284 -3.113722)', '2026-08-06 11:57:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865333 -3.113859)'), GeomFromEWKT('SRID=4674;POINT (-38.865284 -3.113722)'))) / (select extract(epoch from '2026-08-06 11:57:08'::timestamp) - extract(epoch from '2026-08-06 11:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865333 -3.113859)'), GeomFromEWKT('SRID=4674;POINT (-38.865284 -3.113722)'))) / (select extract(epoch from '2026-08-06 11:57:08'::timestamp) - extract(epoch from '2026-08-06 11:57: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'), 48137, 'SRID=4674;POINT (-38.865195 -3.113532)', '2026-08-06 11:57:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865284 -3.113722)'), GeomFromEWKT('SRID=4674;POINT (-38.865195 -3.113532)'))) / (select extract(epoch from '2026-08-06 11:57:15'::timestamp) - extract(epoch from '2026-08-06 11:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865284 -3.113722)'), GeomFromEWKT('SRID=4674;POINT (-38.865195 -3.113532)'))) / (select extract(epoch from '2026-08-06 11:57:15'::timestamp) - extract(epoch from '2026-08-06 11: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'), 48137, 'SRID=4674;POINT (-38.865121 -3.113375)', '2026-08-06 11:57:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865195 -3.113532)'), GeomFromEWKT('SRID=4674;POINT (-38.865121 -3.113375)'))) / (select extract(epoch from '2026-08-06 11:57:21'::timestamp) - extract(epoch from '2026-08-06 11:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865195 -3.113532)'), GeomFromEWKT('SRID=4674;POINT (-38.865121 -3.113375)'))) / (select extract(epoch from '2026-08-06 11:57:21'::timestamp) - extract(epoch from '2026-08-06 11:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.865071 -3.113242)', '2026-08-06 11:57:26', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865121 -3.113375)'), GeomFromEWKT('SRID=4674;POINT (-38.865071 -3.113242)'))) / (select extract(epoch from '2026-08-06 11:57:26'::timestamp) - extract(epoch from '2026-08-06 11:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865121 -3.113375)'), GeomFromEWKT('SRID=4674;POINT (-38.865071 -3.113242)'))) / (select extract(epoch from '2026-08-06 11:57:26'::timestamp) - extract(epoch from '2026-08-06 11:57: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'), 48137, 'SRID=4674;POINT (-38.865031 -3.113075)', '2026-08-06 11:57:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865071 -3.113242)'), GeomFromEWKT('SRID=4674;POINT (-38.865031 -3.113075)'))) / (select extract(epoch from '2026-08-06 11:57:32'::timestamp) - extract(epoch from '2026-08-06 11:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865071 -3.113242)'), GeomFromEWKT('SRID=4674;POINT (-38.865031 -3.113075)'))) / (select extract(epoch from '2026-08-06 11:57:32'::timestamp) - extract(epoch from '2026-08-06 11:57: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'), 48137, 'SRID=4674;POINT (-38.864987 -3.112938)', '2026-08-06 11:57:37', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865031 -3.113075)'), GeomFromEWKT('SRID=4674;POINT (-38.864987 -3.112938)'))) / (select extract(epoch from '2026-08-06 11:57:37'::timestamp) - extract(epoch from '2026-08-06 11:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865031 -3.113075)'), GeomFromEWKT('SRID=4674;POINT (-38.864987 -3.112938)'))) / (select extract(epoch from '2026-08-06 11:57:37'::timestamp) - extract(epoch from '2026-08-06 11:57: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'), 48137, 'SRID=4674;POINT (-38.864957 -3.112779)', '2026-08-06 11:57:43', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864987 -3.112938)'), GeomFromEWKT('SRID=4674;POINT (-38.864957 -3.112779)'))) / (select extract(epoch from '2026-08-06 11:57:43'::timestamp) - extract(epoch from '2026-08-06 11:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864987 -3.112938)'), GeomFromEWKT('SRID=4674;POINT (-38.864957 -3.112779)'))) / (select extract(epoch from '2026-08-06 11:57:43'::timestamp) - extract(epoch from '2026-08-06 11:57: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'), 48137, 'SRID=4674;POINT (-38.864925 -3.112647)', '2026-08-06 11:57:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864957 -3.112779)'), GeomFromEWKT('SRID=4674;POINT (-38.864925 -3.112647)'))) / (select extract(epoch from '2026-08-06 11:57:48'::timestamp) - extract(epoch from '2026-08-06 11:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864957 -3.112779)'), GeomFromEWKT('SRID=4674;POINT (-38.864925 -3.112647)'))) / (select extract(epoch from '2026-08-06 11:57:48'::timestamp) - extract(epoch from '2026-08-06 11: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'), 48137, 'SRID=4674;POINT (-38.864912 -3.112532)', '2026-08-06 11:57:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864925 -3.112647)'), GeomFromEWKT('SRID=4674;POINT (-38.864912 -3.112532)'))) / (select extract(epoch from '2026-08-06 11:57:52'::timestamp) - extract(epoch from '2026-08-06 11:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864925 -3.112647)'), GeomFromEWKT('SRID=4674;POINT (-38.864912 -3.112532)'))) / (select extract(epoch from '2026-08-06 11:57:52'::timestamp) - extract(epoch from '2026-08-06 11:57: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'), 48137, 'SRID=4674;POINT (-38.864888 -3.112425)', '2026-08-06 11:57:56', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864912 -3.112532)'), GeomFromEWKT('SRID=4674;POINT (-38.864888 -3.112425)'))) / (select extract(epoch from '2026-08-06 11:57:56'::timestamp) - extract(epoch from '2026-08-06 11:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864912 -3.112532)'), GeomFromEWKT('SRID=4674;POINT (-38.864888 -3.112425)'))) / (select extract(epoch from '2026-08-06 11:57:56'::timestamp) - extract(epoch from '2026-08-06 11:57: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'), 48137, 'SRID=4674;POINT (-38.864854 -3.112293)', '2026-08-06 11:58:01', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864888 -3.112425)'), GeomFromEWKT('SRID=4674;POINT (-38.864854 -3.112293)'))) / (select extract(epoch from '2026-08-06 11:58:01'::timestamp) - extract(epoch from '2026-08-06 11:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864888 -3.112425)'), GeomFromEWKT('SRID=4674;POINT (-38.864854 -3.112293)'))) / (select extract(epoch from '2026-08-06 11:58:01'::timestamp) - extract(epoch from '2026-08-06 11:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864828 -3.11215)', '2026-08-06 11:58:06', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864854 -3.112293)'), GeomFromEWKT('SRID=4674;POINT (-38.864828 -3.11215)'))) / (select extract(epoch from '2026-08-06 11:58:06'::timestamp) - extract(epoch from '2026-08-06 11:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864854 -3.112293)'), GeomFromEWKT('SRID=4674;POINT (-38.864828 -3.11215)'))) / (select extract(epoch from '2026-08-06 11:58:06'::timestamp) - extract(epoch from '2026-08-06 11: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'), 48137, 'SRID=4674;POINT (-38.864801 -3.112003)', '2026-08-06 11:58:11', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864828 -3.11215)'), GeomFromEWKT('SRID=4674;POINT (-38.864801 -3.112003)'))) / (select extract(epoch from '2026-08-06 11:58:11'::timestamp) - extract(epoch from '2026-08-06 11:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864828 -3.11215)'), GeomFromEWKT('SRID=4674;POINT (-38.864801 -3.112003)'))) / (select extract(epoch from '2026-08-06 11:58:11'::timestamp) - extract(epoch from '2026-08-06 11:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864776 -3.111897)', '2026-08-06 11:58:15', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864801 -3.112003)'), GeomFromEWKT('SRID=4674;POINT (-38.864776 -3.111897)'))) / (select extract(epoch from '2026-08-06 11:58:15'::timestamp) - extract(epoch from '2026-08-06 11:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864801 -3.112003)'), GeomFromEWKT('SRID=4674;POINT (-38.864776 -3.111897)'))) / (select extract(epoch from '2026-08-06 11:58:15'::timestamp) - extract(epoch from '2026-08-06 11:58: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'), 48137, 'SRID=4674;POINT (-38.864737 -3.111744)', '2026-08-06 11:58:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864776 -3.111897)'), GeomFromEWKT('SRID=4674;POINT (-38.864737 -3.111744)'))) / (select extract(epoch from '2026-08-06 11:58:20'::timestamp) - extract(epoch from '2026-08-06 11:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864776 -3.111897)'), GeomFromEWKT('SRID=4674;POINT (-38.864737 -3.111744)'))) / (select extract(epoch from '2026-08-06 11:58:20'::timestamp) - extract(epoch from '2026-08-06 11:58: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'), 48137, 'SRID=4674;POINT (-38.864729 -3.111627)', '2026-08-06 11:58:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864737 -3.111744)'), GeomFromEWKT('SRID=4674;POINT (-38.864729 -3.111627)'))) / (select extract(epoch from '2026-08-06 11:58:24'::timestamp) - extract(epoch from '2026-08-06 11:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864737 -3.111744)'), GeomFromEWKT('SRID=4674;POINT (-38.864729 -3.111627)'))) / (select extract(epoch from '2026-08-06 11:58:24'::timestamp) - extract(epoch from '2026-08-06 11:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864717 -3.111494)', '2026-08-06 11:58:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864729 -3.111627)'), GeomFromEWKT('SRID=4674;POINT (-38.864717 -3.111494)'))) / (select extract(epoch from '2026-08-06 11:58:29'::timestamp) - extract(epoch from '2026-08-06 11:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864729 -3.111627)'), GeomFromEWKT('SRID=4674;POINT (-38.864717 -3.111494)'))) / (select extract(epoch from '2026-08-06 11:58:29'::timestamp) - extract(epoch from '2026-08-06 11:58: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'), 48137, 'SRID=4674;POINT (-38.864718 -3.111358)', '2026-08-06 11:58:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864717 -3.111494)'), GeomFromEWKT('SRID=4674;POINT (-38.864718 -3.111358)'))) / (select extract(epoch from '2026-08-06 11:58:34'::timestamp) - extract(epoch from '2026-08-06 11:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864717 -3.111494)'), GeomFromEWKT('SRID=4674;POINT (-38.864718 -3.111358)'))) / (select extract(epoch from '2026-08-06 11:58:34'::timestamp) - extract(epoch from '2026-08-06 11:58: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'), 48137, 'SRID=4674;POINT (-38.864728 -3.11118)', '2026-08-06 11:58:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864718 -3.111358)'), GeomFromEWKT('SRID=4674;POINT (-38.864728 -3.11118)'))) / (select extract(epoch from '2026-08-06 11:58:40'::timestamp) - extract(epoch from '2026-08-06 11:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864718 -3.111358)'), GeomFromEWKT('SRID=4674;POINT (-38.864728 -3.11118)'))) / (select extract(epoch from '2026-08-06 11:58:40'::timestamp) - extract(epoch from '2026-08-06 11:58: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'), 48137, 'SRID=4674;POINT (-38.864738 -3.110976)', '2026-08-06 11:58:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864728 -3.11118)'), GeomFromEWKT('SRID=4674;POINT (-38.864738 -3.110976)'))) / (select extract(epoch from '2026-08-06 11:58:47'::timestamp) - extract(epoch from '2026-08-06 11:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864728 -3.11118)'), GeomFromEWKT('SRID=4674;POINT (-38.864738 -3.110976)'))) / (select extract(epoch from '2026-08-06 11:58:47'::timestamp) - extract(epoch from '2026-08-06 11:58: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'), 48137, 'SRID=4674;POINT (-38.864728 -3.110847)', '2026-08-06 11:58:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864738 -3.110976)'), GeomFromEWKT('SRID=4674;POINT (-38.864728 -3.110847)'))) / (select extract(epoch from '2026-08-06 11:58:51'::timestamp) - extract(epoch from '2026-08-06 11:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864738 -3.110976)'), GeomFromEWKT('SRID=4674;POINT (-38.864728 -3.110847)'))) / (select extract(epoch from '2026-08-06 11:58:51'::timestamp) - extract(epoch from '2026-08-06 11: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'), 48137, 'SRID=4674;POINT (-38.864709 -3.11071)', '2026-08-06 11:58:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864728 -3.110847)'), GeomFromEWKT('SRID=4674;POINT (-38.864709 -3.11071)'))) / (select extract(epoch from '2026-08-06 11:58:56'::timestamp) - extract(epoch from '2026-08-06 11:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864728 -3.110847)'), GeomFromEWKT('SRID=4674;POINT (-38.864709 -3.11071)'))) / (select extract(epoch from '2026-08-06 11:58:56'::timestamp) - extract(epoch from '2026-08-06 11:58: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'), 48137, 'SRID=4674;POINT (-38.864682 -3.110545)', '2026-08-06 11:59:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864709 -3.11071)'), GeomFromEWKT('SRID=4674;POINT (-38.864682 -3.110545)'))) / (select extract(epoch from '2026-08-06 11:59:02'::timestamp) - extract(epoch from '2026-08-06 11:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864709 -3.11071)'), GeomFromEWKT('SRID=4674;POINT (-38.864682 -3.110545)'))) / (select extract(epoch from '2026-08-06 11:59:02'::timestamp) - extract(epoch from '2026-08-06 11:58: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'), 48137, 'SRID=4674;POINT (-38.864668 -3.110395)', '2026-08-06 11:59:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864682 -3.110545)'), GeomFromEWKT('SRID=4674;POINT (-38.864668 -3.110395)'))) / (select extract(epoch from '2026-08-06 11:59:07'::timestamp) - extract(epoch from '2026-08-06 11:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864682 -3.110545)'), GeomFromEWKT('SRID=4674;POINT (-38.864668 -3.110395)'))) / (select extract(epoch from '2026-08-06 11:59:07'::timestamp) - extract(epoch from '2026-08-06 11:59:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864692 -3.110223)', '2026-08-06 11:59:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864668 -3.110395)'), GeomFromEWKT('SRID=4674;POINT (-38.864692 -3.110223)'))) / (select extract(epoch from '2026-08-06 11:59:13'::timestamp) - extract(epoch from '2026-08-06 11:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864668 -3.110395)'), GeomFromEWKT('SRID=4674;POINT (-38.864692 -3.110223)'))) / (select extract(epoch from '2026-08-06 11:59:13'::timestamp) - extract(epoch from '2026-08-06 11:59: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'), 48137, 'SRID=4674;POINT (-38.864693 -3.110054)', '2026-08-06 11:59:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864692 -3.110223)'), GeomFromEWKT('SRID=4674;POINT (-38.864693 -3.110054)'))) / (select extract(epoch from '2026-08-06 11:59:19'::timestamp) - extract(epoch from '2026-08-06 11:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864692 -3.110223)'), GeomFromEWKT('SRID=4674;POINT (-38.864693 -3.110054)'))) / (select extract(epoch from '2026-08-06 11:59:19'::timestamp) - extract(epoch from '2026-08-06 11:59: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'), 48137, 'SRID=4674;POINT (-38.864694 -3.109863)', '2026-08-06 11:59:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864693 -3.110054)'), GeomFromEWKT('SRID=4674;POINT (-38.864694 -3.109863)'))) / (select extract(epoch from '2026-08-06 11:59:26'::timestamp) - extract(epoch from '2026-08-06 11:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864693 -3.110054)'), GeomFromEWKT('SRID=4674;POINT (-38.864694 -3.109863)'))) / (select extract(epoch from '2026-08-06 11:59:26'::timestamp) - extract(epoch from '2026-08-06 11:59: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'), 48137, 'SRID=4674;POINT (-38.864691 -3.109666)', '2026-08-06 11:59:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864694 -3.109863)'), GeomFromEWKT('SRID=4674;POINT (-38.864691 -3.109666)'))) / (select extract(epoch from '2026-08-06 11:59:33'::timestamp) - extract(epoch from '2026-08-06 11:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864694 -3.109863)'), GeomFromEWKT('SRID=4674;POINT (-38.864691 -3.109666)'))) / (select extract(epoch from '2026-08-06 11:59:33'::timestamp) - extract(epoch from '2026-08-06 11:59: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'), 48137, 'SRID=4674;POINT (-38.864687 -3.109615)', '2026-08-06 11:59:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864691 -3.109666)'), GeomFromEWKT('SRID=4674;POINT (-38.864687 -3.109615)'))) / (select extract(epoch from '2026-08-06 11:59:35'::timestamp) - extract(epoch from '2026-08-06 11:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864691 -3.109666)'), GeomFromEWKT('SRID=4674;POINT (-38.864687 -3.109615)'))) / (select extract(epoch from '2026-08-06 11:59:35'::timestamp) - extract(epoch from '2026-08-06 11:59:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864696 -3.109555)', '2026-08-06 11:59:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864687 -3.109615)'), GeomFromEWKT('SRID=4674;POINT (-38.864696 -3.109555)'))) / (select extract(epoch from '2026-08-06 11:59:37'::timestamp) - extract(epoch from '2026-08-06 11:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864687 -3.109615)'), GeomFromEWKT('SRID=4674;POINT (-38.864696 -3.109555)'))) / (select extract(epoch from '2026-08-06 11:59:37'::timestamp) - extract(epoch from '2026-08-06 11:59: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'), 48137, 'SRID=4674;POINT (-38.864674 -3.109441)', '2026-08-06 11:59:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864696 -3.109555)'), GeomFromEWKT('SRID=4674;POINT (-38.864674 -3.109441)'))) / (select extract(epoch from '2026-08-06 11:59:41'::timestamp) - extract(epoch from '2026-08-06 11:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864696 -3.109555)'), GeomFromEWKT('SRID=4674;POINT (-38.864674 -3.109441)'))) / (select extract(epoch from '2026-08-06 11:59:41'::timestamp) - extract(epoch from '2026-08-06 11:59: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'), 48137, 'SRID=4674;POINT (-38.864672 -3.109287)', '2026-08-06 11:59:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864674 -3.109441)'), GeomFromEWKT('SRID=4674;POINT (-38.864672 -3.109287)'))) / (select extract(epoch from '2026-08-06 11:59:46'::timestamp) - extract(epoch from '2026-08-06 11:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864674 -3.109441)'), GeomFromEWKT('SRID=4674;POINT (-38.864672 -3.109287)'))) / (select extract(epoch from '2026-08-06 11:59:46'::timestamp) - extract(epoch from '2026-08-06 11:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864666 -3.109144)', '2026-08-06 11:59:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864672 -3.109287)'), GeomFromEWKT('SRID=4674;POINT (-38.864666 -3.109144)'))) / (select extract(epoch from '2026-08-06 11:59:51'::timestamp) - extract(epoch from '2026-08-06 11:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864672 -3.109287)'), GeomFromEWKT('SRID=4674;POINT (-38.864666 -3.109144)'))) / (select extract(epoch from '2026-08-06 11:59:51'::timestamp) - extract(epoch from '2026-08-06 11:59: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'), 48137, 'SRID=4674;POINT (-38.864667 -3.109032)', '2026-08-06 11:59:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864666 -3.109144)'), GeomFromEWKT('SRID=4674;POINT (-38.864667 -3.109032)'))) / (select extract(epoch from '2026-08-06 11:59:55'::timestamp) - extract(epoch from '2026-08-06 11:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864666 -3.109144)'), GeomFromEWKT('SRID=4674;POINT (-38.864667 -3.109032)'))) / (select extract(epoch from '2026-08-06 11:59:55'::timestamp) - extract(epoch from '2026-08-06 11:59: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'), 48137, 'SRID=4674;POINT (-38.864661 -3.108858)', '2026-08-06 12:00:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864667 -3.109032)'), GeomFromEWKT('SRID=4674;POINT (-38.864661 -3.108858)'))) / (select extract(epoch from '2026-08-06 12:00:01'::timestamp) - extract(epoch from '2026-08-06 11:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864667 -3.109032)'), GeomFromEWKT('SRID=4674;POINT (-38.864661 -3.108858)'))) / (select extract(epoch from '2026-08-06 12:00:01'::timestamp) - extract(epoch from '2026-08-06 11:59: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'), 48137, 'SRID=4674;POINT (-38.864652 -3.108747)', '2026-08-06 12:00:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864661 -3.108858)'), GeomFromEWKT('SRID=4674;POINT (-38.864652 -3.108747)'))) / (select extract(epoch from '2026-08-06 12:00:05'::timestamp) - extract(epoch from '2026-08-06 12:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864661 -3.108858)'), GeomFromEWKT('SRID=4674;POINT (-38.864652 -3.108747)'))) / (select extract(epoch from '2026-08-06 12:00:05'::timestamp) - extract(epoch from '2026-08-06 12:00: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'), 48137, 'SRID=4674;POINT (-38.864634 -3.108574)', '2026-08-06 12:00:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864652 -3.108747)'), GeomFromEWKT('SRID=4674;POINT (-38.864634 -3.108574)'))) / (select extract(epoch from '2026-08-06 12:00:11'::timestamp) - extract(epoch from '2026-08-06 12:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864652 -3.108747)'), GeomFromEWKT('SRID=4674;POINT (-38.864634 -3.108574)'))) / (select extract(epoch from '2026-08-06 12:00:11'::timestamp) - extract(epoch from '2026-08-06 12: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'), 48137, 'SRID=4674;POINT (-38.864651 -3.108439)', '2026-08-06 12:00:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864634 -3.108574)'), GeomFromEWKT('SRID=4674;POINT (-38.864651 -3.108439)'))) / (select extract(epoch from '2026-08-06 12:00:16'::timestamp) - extract(epoch from '2026-08-06 12:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864634 -3.108574)'), GeomFromEWKT('SRID=4674;POINT (-38.864651 -3.108439)'))) / (select extract(epoch from '2026-08-06 12:00:16'::timestamp) - extract(epoch from '2026-08-06 12:00: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'), 48137, 'SRID=4674;POINT (-38.864649 -3.108308)', '2026-08-06 12:00:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864651 -3.108439)'), GeomFromEWKT('SRID=4674;POINT (-38.864649 -3.108308)'))) / (select extract(epoch from '2026-08-06 12:00:21'::timestamp) - extract(epoch from '2026-08-06 12:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864651 -3.108439)'), GeomFromEWKT('SRID=4674;POINT (-38.864649 -3.108308)'))) / (select extract(epoch from '2026-08-06 12:00:21'::timestamp) - extract(epoch from '2026-08-06 12:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864631 -3.108172)', '2026-08-06 12:00:26', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864649 -3.108308)'), GeomFromEWKT('SRID=4674;POINT (-38.864631 -3.108172)'))) / (select extract(epoch from '2026-08-06 12:00:26'::timestamp) - extract(epoch from '2026-08-06 12:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864649 -3.108308)'), GeomFromEWKT('SRID=4674;POINT (-38.864631 -3.108172)'))) / (select extract(epoch from '2026-08-06 12:00:26'::timestamp) - extract(epoch from '2026-08-06 12:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864622 -3.108015)', '2026-08-06 12:00:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864631 -3.108172)'), GeomFromEWKT('SRID=4674;POINT (-38.864622 -3.108015)'))) / (select extract(epoch from '2026-08-06 12:00:31'::timestamp) - extract(epoch from '2026-08-06 12:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864631 -3.108172)'), GeomFromEWKT('SRID=4674;POINT (-38.864622 -3.108015)'))) / (select extract(epoch from '2026-08-06 12:00:31'::timestamp) - extract(epoch from '2026-08-06 12:00: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'), 48137, 'SRID=4674;POINT (-38.864593 -3.1079)', '2026-08-06 12:00:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864622 -3.108015)'), GeomFromEWKT('SRID=4674;POINT (-38.864593 -3.1079)'))) / (select extract(epoch from '2026-08-06 12:00:35'::timestamp) - extract(epoch from '2026-08-06 12:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864622 -3.108015)'), GeomFromEWKT('SRID=4674;POINT (-38.864593 -3.1079)'))) / (select extract(epoch from '2026-08-06 12:00:35'::timestamp) - extract(epoch from '2026-08-06 12: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'), 48137, 'SRID=4674;POINT (-38.864555 -3.107758)', '2026-08-06 12:00:40', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864593 -3.1079)'), GeomFromEWKT('SRID=4674;POINT (-38.864555 -3.107758)'))) / (select extract(epoch from '2026-08-06 12:00:40'::timestamp) - extract(epoch from '2026-08-06 12:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864593 -3.1079)'), GeomFromEWKT('SRID=4674;POINT (-38.864555 -3.107758)'))) / (select extract(epoch from '2026-08-06 12:00:40'::timestamp) - extract(epoch from '2026-08-06 12:00: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'), 48137, 'SRID=4674;POINT (-38.864557 -3.107729)', '2026-08-06 12:00:41', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864555 -3.107758)'), GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.107729)'))) / (select extract(epoch from '2026-08-06 12:00:41'::timestamp) - extract(epoch from '2026-08-06 12:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864555 -3.107758)'), GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.107729)'))) / (select extract(epoch from '2026-08-06 12:00:41'::timestamp) - extract(epoch from '2026-08-06 12:00: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'), 48137, 'SRID=4674;POINT (-38.864559 -3.107673)', '2026-08-06 12:00:43', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.107729)'), GeomFromEWKT('SRID=4674;POINT (-38.864559 -3.107673)'))) / (select extract(epoch from '2026-08-06 12:00:43'::timestamp) - extract(epoch from '2026-08-06 12:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.107729)'), GeomFromEWKT('SRID=4674;POINT (-38.864559 -3.107673)'))) / (select extract(epoch from '2026-08-06 12:00:43'::timestamp) - extract(epoch from '2026-08-06 12:00: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'), 48137, 'SRID=4674;POINT (-38.864551 -3.107651)', '2026-08-06 12:00:44', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864559 -3.107673)'), GeomFromEWKT('SRID=4674;POINT (-38.864551 -3.107651)'))) / (select extract(epoch from '2026-08-06 12:00:44'::timestamp) - extract(epoch from '2026-08-06 12:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864559 -3.107673)'), GeomFromEWKT('SRID=4674;POINT (-38.864551 -3.107651)'))) / (select extract(epoch from '2026-08-06 12:00:44'::timestamp) - extract(epoch from '2026-08-06 12: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'), 48137, 'SRID=4674;POINT (-38.86453 -3.107541)', '2026-08-06 12:00:48', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864551 -3.107651)'), GeomFromEWKT('SRID=4674;POINT (-38.86453 -3.107541)'))) / (select extract(epoch from '2026-08-06 12:00:48'::timestamp) - extract(epoch from '2026-08-06 12:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864551 -3.107651)'), GeomFromEWKT('SRID=4674;POINT (-38.86453 -3.107541)'))) / (select extract(epoch from '2026-08-06 12:00:48'::timestamp) - extract(epoch from '2026-08-06 12:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864506 -3.107417)', '2026-08-06 12:00:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86453 -3.107541)'), GeomFromEWKT('SRID=4674;POINT (-38.864506 -3.107417)'))) / (select extract(epoch from '2026-08-06 12:00:53'::timestamp) - extract(epoch from '2026-08-06 12:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86453 -3.107541)'), GeomFromEWKT('SRID=4674;POINT (-38.864506 -3.107417)'))) / (select extract(epoch from '2026-08-06 12:00:53'::timestamp) - extract(epoch from '2026-08-06 12:00: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'), 48137, 'SRID=4674;POINT (-38.864494 -3.107283)', '2026-08-06 12:00:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864506 -3.107417)'), GeomFromEWKT('SRID=4674;POINT (-38.864494 -3.107283)'))) / (select extract(epoch from '2026-08-06 12:00:58'::timestamp) - extract(epoch from '2026-08-06 12:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864506 -3.107417)'), GeomFromEWKT('SRID=4674;POINT (-38.864494 -3.107283)'))) / (select extract(epoch from '2026-08-06 12:00:58'::timestamp) - extract(epoch from '2026-08-06 12:00: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'), 48137, 'SRID=4674;POINT (-38.86446 -3.10716)', '2026-08-06 12:01:03', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864494 -3.107283)'), GeomFromEWKT('SRID=4674;POINT (-38.86446 -3.10716)'))) / (select extract(epoch from '2026-08-06 12:01:03'::timestamp) - extract(epoch from '2026-08-06 12:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864494 -3.107283)'), GeomFromEWKT('SRID=4674;POINT (-38.86446 -3.10716)'))) / (select extract(epoch from '2026-08-06 12:01:03'::timestamp) - extract(epoch from '2026-08-06 12:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864407 -3.107004)', '2026-08-06 12:01:09', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86446 -3.10716)'), GeomFromEWKT('SRID=4674;POINT (-38.864407 -3.107004)'))) / (select extract(epoch from '2026-08-06 12:01:09'::timestamp) - extract(epoch from '2026-08-06 12:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86446 -3.10716)'), GeomFromEWKT('SRID=4674;POINT (-38.864407 -3.107004)'))) / (select extract(epoch from '2026-08-06 12:01:09'::timestamp) - extract(epoch from '2026-08-06 12:01: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'), 48137, 'SRID=4674;POINT (-38.864379 -3.106854)', '2026-08-06 12:01:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864407 -3.107004)'), GeomFromEWKT('SRID=4674;POINT (-38.864379 -3.106854)'))) / (select extract(epoch from '2026-08-06 12:01:14'::timestamp) - extract(epoch from '2026-08-06 12:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864407 -3.107004)'), GeomFromEWKT('SRID=4674;POINT (-38.864379 -3.106854)'))) / (select extract(epoch from '2026-08-06 12:01:14'::timestamp) - extract(epoch from '2026-08-06 12:01: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'), 48137, 'SRID=4674;POINT (-38.86433 -3.106648)', '2026-08-06 12:01:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864379 -3.106854)'), GeomFromEWKT('SRID=4674;POINT (-38.86433 -3.106648)'))) / (select extract(epoch from '2026-08-06 12:01:21'::timestamp) - extract(epoch from '2026-08-06 12:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864379 -3.106854)'), GeomFromEWKT('SRID=4674;POINT (-38.86433 -3.106648)'))) / (select extract(epoch from '2026-08-06 12:01:21'::timestamp) - extract(epoch from '2026-08-06 12:01: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'), 48137, 'SRID=4674;POINT (-38.864314 -3.106497)', '2026-08-06 12:01:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86433 -3.106648)'), GeomFromEWKT('SRID=4674;POINT (-38.864314 -3.106497)'))) / (select extract(epoch from '2026-08-06 12:01:26'::timestamp) - extract(epoch from '2026-08-06 12:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86433 -3.106648)'), GeomFromEWKT('SRID=4674;POINT (-38.864314 -3.106497)'))) / (select extract(epoch from '2026-08-06 12:01:26'::timestamp) - extract(epoch from '2026-08-06 12:01: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'), 48137, 'SRID=4674;POINT (-38.86431 -3.106328)', '2026-08-06 12:01:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864314 -3.106497)'), GeomFromEWKT('SRID=4674;POINT (-38.86431 -3.106328)'))) / (select extract(epoch from '2026-08-06 12:01:32'::timestamp) - extract(epoch from '2026-08-06 12:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864314 -3.106497)'), GeomFromEWKT('SRID=4674;POINT (-38.86431 -3.106328)'))) / (select extract(epoch from '2026-08-06 12:01:32'::timestamp) - extract(epoch from '2026-08-06 12:01: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'), 48137, 'SRID=4674;POINT (-38.864321 -3.106212)', '2026-08-06 12:01:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86431 -3.106328)'), GeomFromEWKT('SRID=4674;POINT (-38.864321 -3.106212)'))) / (select extract(epoch from '2026-08-06 12:01:36'::timestamp) - extract(epoch from '2026-08-06 12:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86431 -3.106328)'), GeomFromEWKT('SRID=4674;POINT (-38.864321 -3.106212)'))) / (select extract(epoch from '2026-08-06 12:01:36'::timestamp) - extract(epoch from '2026-08-06 12:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864314 -3.106087)', '2026-08-06 12:01:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864321 -3.106212)'), GeomFromEWKT('SRID=4674;POINT (-38.864314 -3.106087)'))) / (select extract(epoch from '2026-08-06 12:01:40'::timestamp) - extract(epoch from '2026-08-06 12:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864321 -3.106212)'), GeomFromEWKT('SRID=4674;POINT (-38.864314 -3.106087)'))) / (select extract(epoch from '2026-08-06 12:01:40'::timestamp) - extract(epoch from '2026-08-06 12:01: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'), 48137, 'SRID=4674;POINT (-38.8643 -3.105906)', '2026-08-06 12:01:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864314 -3.106087)'), GeomFromEWKT('SRID=4674;POINT (-38.8643 -3.105906)'))) / (select extract(epoch from '2026-08-06 12:01:46'::timestamp) - extract(epoch from '2026-08-06 12:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864314 -3.106087)'), GeomFromEWKT('SRID=4674;POINT (-38.8643 -3.105906)'))) / (select extract(epoch from '2026-08-06 12:01:46'::timestamp) - extract(epoch from '2026-08-06 12:01: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'), 48137, 'SRID=4674;POINT (-38.864307 -3.105779)', '2026-08-06 12:01:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8643 -3.105906)'), GeomFromEWKT('SRID=4674;POINT (-38.864307 -3.105779)'))) / (select extract(epoch from '2026-08-06 12:01:50'::timestamp) - extract(epoch from '2026-08-06 12:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8643 -3.105906)'), GeomFromEWKT('SRID=4674;POINT (-38.864307 -3.105779)'))) / (select extract(epoch from '2026-08-06 12:01:50'::timestamp) - extract(epoch from '2026-08-06 12:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864281 -3.105653)', '2026-08-06 12:01:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864307 -3.105779)'), GeomFromEWKT('SRID=4674;POINT (-38.864281 -3.105653)'))) / (select extract(epoch from '2026-08-06 12:01:54'::timestamp) - extract(epoch from '2026-08-06 12:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864307 -3.105779)'), GeomFromEWKT('SRID=4674;POINT (-38.864281 -3.105653)'))) / (select extract(epoch from '2026-08-06 12:01:54'::timestamp) - extract(epoch from '2026-08-06 12:01: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'), 48137, 'SRID=4674;POINT (-38.864246 -3.105475)', '2026-08-06 12:02:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864281 -3.105653)'), GeomFromEWKT('SRID=4674;POINT (-38.864246 -3.105475)'))) / (select extract(epoch from '2026-08-06 12:02:00'::timestamp) - extract(epoch from '2026-08-06 12:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864281 -3.105653)'), GeomFromEWKT('SRID=4674;POINT (-38.864246 -3.105475)'))) / (select extract(epoch from '2026-08-06 12:02:00'::timestamp) - extract(epoch from '2026-08-06 12:01: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'), 48137, 'SRID=4674;POINT (-38.864221 -3.10536)', '2026-08-06 12:02:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864246 -3.105475)'), GeomFromEWKT('SRID=4674;POINT (-38.864221 -3.10536)'))) / (select extract(epoch from '2026-08-06 12:02:04'::timestamp) - extract(epoch from '2026-08-06 12:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864246 -3.105475)'), GeomFromEWKT('SRID=4674;POINT (-38.864221 -3.10536)'))) / (select extract(epoch from '2026-08-06 12:02:04'::timestamp) - extract(epoch from '2026-08-06 12:02: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'), 48137, 'SRID=4674;POINT (-38.86418 -3.105222)', '2026-08-06 12:02:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864221 -3.10536)'), GeomFromEWKT('SRID=4674;POINT (-38.86418 -3.105222)'))) / (select extract(epoch from '2026-08-06 12:02:09'::timestamp) - extract(epoch from '2026-08-06 12:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864221 -3.10536)'), GeomFromEWKT('SRID=4674;POINT (-38.86418 -3.105222)'))) / (select extract(epoch from '2026-08-06 12:02:09'::timestamp) - extract(epoch from '2026-08-06 12:02: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'), 48137, 'SRID=4674;POINT (-38.864134 -3.105065)', '2026-08-06 12:02:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86418 -3.105222)'), GeomFromEWKT('SRID=4674;POINT (-38.864134 -3.105065)'))) / (select extract(epoch from '2026-08-06 12:02:15'::timestamp) - extract(epoch from '2026-08-06 12:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86418 -3.105222)'), GeomFromEWKT('SRID=4674;POINT (-38.864134 -3.105065)'))) / (select extract(epoch from '2026-08-06 12:02:15'::timestamp) - extract(epoch from '2026-08-06 12:02: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'), 48137, 'SRID=4674;POINT (-38.864067 -3.104923)', '2026-08-06 12:02:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864134 -3.105065)'), GeomFromEWKT('SRID=4674;POINT (-38.864067 -3.104923)'))) / (select extract(epoch from '2026-08-06 12:02:21'::timestamp) - extract(epoch from '2026-08-06 12:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864134 -3.105065)'), GeomFromEWKT('SRID=4674;POINT (-38.864067 -3.104923)'))) / (select extract(epoch from '2026-08-06 12:02:21'::timestamp) - extract(epoch from '2026-08-06 12:02: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'), 48137, 'SRID=4674;POINT (-38.863998 -3.104782)', '2026-08-06 12:02:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864067 -3.104923)'), GeomFromEWKT('SRID=4674;POINT (-38.863998 -3.104782)'))) / (select extract(epoch from '2026-08-06 12:02:27'::timestamp) - extract(epoch from '2026-08-06 12:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864067 -3.104923)'), GeomFromEWKT('SRID=4674;POINT (-38.863998 -3.104782)'))) / (select extract(epoch from '2026-08-06 12:02:27'::timestamp) - extract(epoch from '2026-08-06 12:02: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'), 48137, 'SRID=4674;POINT (-38.863939 -3.104616)', '2026-08-06 12:02:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863998 -3.104782)'), GeomFromEWKT('SRID=4674;POINT (-38.863939 -3.104616)'))) / (select extract(epoch from '2026-08-06 12:02:33'::timestamp) - extract(epoch from '2026-08-06 12:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863998 -3.104782)'), GeomFromEWKT('SRID=4674;POINT (-38.863939 -3.104616)'))) / (select extract(epoch from '2026-08-06 12:02:33'::timestamp) - extract(epoch from '2026-08-06 12:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.863914 -3.104495)', '2026-08-06 12:02:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863939 -3.104616)'), GeomFromEWKT('SRID=4674;POINT (-38.863914 -3.104495)'))) / (select extract(epoch from '2026-08-06 12:02:37'::timestamp) - extract(epoch from '2026-08-06 12:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863939 -3.104616)'), GeomFromEWKT('SRID=4674;POINT (-38.863914 -3.104495)'))) / (select extract(epoch from '2026-08-06 12:02:37'::timestamp) - extract(epoch from '2026-08-06 12:02: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'), 48137, 'SRID=4674;POINT (-38.863916 -3.104295)', '2026-08-06 12:02:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863914 -3.104495)'), GeomFromEWKT('SRID=4674;POINT (-38.863916 -3.104295)'))) / (select extract(epoch from '2026-08-06 12:02:43'::timestamp) - extract(epoch from '2026-08-06 12:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863914 -3.104495)'), GeomFromEWKT('SRID=4674;POINT (-38.863916 -3.104295)'))) / (select extract(epoch from '2026-08-06 12:02:43'::timestamp) - extract(epoch from '2026-08-06 12:02: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'), 48137, 'SRID=4674;POINT (-38.863899 -3.104126)', '2026-08-06 12:02:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863916 -3.104295)'), GeomFromEWKT('SRID=4674;POINT (-38.863899 -3.104126)'))) / (select extract(epoch from '2026-08-06 12:02:48'::timestamp) - extract(epoch from '2026-08-06 12:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863916 -3.104295)'), GeomFromEWKT('SRID=4674;POINT (-38.863899 -3.104126)'))) / (select extract(epoch from '2026-08-06 12:02:48'::timestamp) - extract(epoch from '2026-08-06 12:02: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'), 48137, 'SRID=4674;POINT (-38.863879 -3.103936)', '2026-08-06 12:02:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863899 -3.104126)'), GeomFromEWKT('SRID=4674;POINT (-38.863879 -3.103936)'))) / (select extract(epoch from '2026-08-06 12:02:54'::timestamp) - extract(epoch from '2026-08-06 12:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863899 -3.104126)'), GeomFromEWKT('SRID=4674;POINT (-38.863879 -3.103936)'))) / (select extract(epoch from '2026-08-06 12:02:54'::timestamp) - extract(epoch from '2026-08-06 12:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.863838 -3.103749)', '2026-08-06 12:03:00', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863879 -3.103936)'), GeomFromEWKT('SRID=4674;POINT (-38.863838 -3.103749)'))) / (select extract(epoch from '2026-08-06 12:03:00'::timestamp) - extract(epoch from '2026-08-06 12:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863879 -3.103936)'), GeomFromEWKT('SRID=4674;POINT (-38.863838 -3.103749)'))) / (select extract(epoch from '2026-08-06 12:03:00'::timestamp) - extract(epoch from '2026-08-06 12:02: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'), 48137, 'SRID=4674;POINT (-38.863803 -3.103563)', '2026-08-06 12:03:06', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863838 -3.103749)'), GeomFromEWKT('SRID=4674;POINT (-38.863803 -3.103563)'))) / (select extract(epoch from '2026-08-06 12:03:06'::timestamp) - extract(epoch from '2026-08-06 12:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863838 -3.103749)'), GeomFromEWKT('SRID=4674;POINT (-38.863803 -3.103563)'))) / (select extract(epoch from '2026-08-06 12:03:06'::timestamp) - extract(epoch from '2026-08-06 12:03: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'), 48137, 'SRID=4674;POINT (-38.863813 -3.103439)', '2026-08-06 12:03:10', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863803 -3.103563)'), GeomFromEWKT('SRID=4674;POINT (-38.863813 -3.103439)'))) / (select extract(epoch from '2026-08-06 12:03:10'::timestamp) - extract(epoch from '2026-08-06 12:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863803 -3.103563)'), GeomFromEWKT('SRID=4674;POINT (-38.863813 -3.103439)'))) / (select extract(epoch from '2026-08-06 12:03:10'::timestamp) - extract(epoch from '2026-08-06 12:03: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'), 48137, 'SRID=4674;POINT (-38.863809 -3.103288)', '2026-08-06 12:03:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863813 -3.103439)'), GeomFromEWKT('SRID=4674;POINT (-38.863809 -3.103288)'))) / (select extract(epoch from '2026-08-06 12:03:15'::timestamp) - extract(epoch from '2026-08-06 12:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863813 -3.103439)'), GeomFromEWKT('SRID=4674;POINT (-38.863809 -3.103288)'))) / (select extract(epoch from '2026-08-06 12:03:15'::timestamp) - extract(epoch from '2026-08-06 12:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.863825 -3.103131)', '2026-08-06 12:03:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863809 -3.103288)'), GeomFromEWKT('SRID=4674;POINT (-38.863825 -3.103131)'))) / (select extract(epoch from '2026-08-06 12:03:20'::timestamp) - extract(epoch from '2026-08-06 12:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863809 -3.103288)'), GeomFromEWKT('SRID=4674;POINT (-38.863825 -3.103131)'))) / (select extract(epoch from '2026-08-06 12:03:20'::timestamp) - extract(epoch from '2026-08-06 12:03: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'), 48137, 'SRID=4674;POINT (-38.863861 -3.103019)', '2026-08-06 12:03:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863825 -3.103131)'), GeomFromEWKT('SRID=4674;POINT (-38.863861 -3.103019)'))) / (select extract(epoch from '2026-08-06 12:03:24'::timestamp) - extract(epoch from '2026-08-06 12:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863825 -3.103131)'), GeomFromEWKT('SRID=4674;POINT (-38.863861 -3.103019)'))) / (select extract(epoch from '2026-08-06 12:03:24'::timestamp) - extract(epoch from '2026-08-06 12:03: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'), 48137, 'SRID=4674;POINT (-38.863874 -3.102873)', '2026-08-06 12:03:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863861 -3.103019)'), GeomFromEWKT('SRID=4674;POINT (-38.863874 -3.102873)'))) / (select extract(epoch from '2026-08-06 12:03:29'::timestamp) - extract(epoch from '2026-08-06 12:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863861 -3.103019)'), GeomFromEWKT('SRID=4674;POINT (-38.863874 -3.102873)'))) / (select extract(epoch from '2026-08-06 12:03:29'::timestamp) - extract(epoch from '2026-08-06 12:03: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'), 48137, 'SRID=4674;POINT (-38.863893 -3.102729)', '2026-08-06 12:03:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863874 -3.102873)'), GeomFromEWKT('SRID=4674;POINT (-38.863893 -3.102729)'))) / (select extract(epoch from '2026-08-06 12:03:34'::timestamp) - extract(epoch from '2026-08-06 12:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863874 -3.102873)'), GeomFromEWKT('SRID=4674;POINT (-38.863893 -3.102729)'))) / (select extract(epoch from '2026-08-06 12:03:34'::timestamp) - extract(epoch from '2026-08-06 12:03: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'), 48137, 'SRID=4674;POINT (-38.863928 -3.102498)', '2026-08-06 12:03:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863893 -3.102729)'), GeomFromEWKT('SRID=4674;POINT (-38.863928 -3.102498)'))) / (select extract(epoch from '2026-08-06 12:03:42'::timestamp) - extract(epoch from '2026-08-06 12:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863893 -3.102729)'), GeomFromEWKT('SRID=4674;POINT (-38.863928 -3.102498)'))) / (select extract(epoch from '2026-08-06 12:03:42'::timestamp) - extract(epoch from '2026-08-06 12:03: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'), 48137, 'SRID=4674;POINT (-38.863937 -3.10236)', '2026-08-06 12:03:47', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863928 -3.102498)'), GeomFromEWKT('SRID=4674;POINT (-38.863937 -3.10236)'))) / (select extract(epoch from '2026-08-06 12:03:47'::timestamp) - extract(epoch from '2026-08-06 12:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863928 -3.102498)'), GeomFromEWKT('SRID=4674;POINT (-38.863937 -3.10236)'))) / (select extract(epoch from '2026-08-06 12:03:47'::timestamp) - extract(epoch from '2026-08-06 12:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.863952 -3.102214)', '2026-08-06 12:03:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863937 -3.10236)'), GeomFromEWKT('SRID=4674;POINT (-38.863952 -3.102214)'))) / (select extract(epoch from '2026-08-06 12:03:52'::timestamp) - extract(epoch from '2026-08-06 12:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863937 -3.10236)'), GeomFromEWKT('SRID=4674;POINT (-38.863952 -3.102214)'))) / (select extract(epoch from '2026-08-06 12:03:52'::timestamp) - extract(epoch from '2026-08-06 12:03: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'), 48137, 'SRID=4674;POINT (-38.863968 -3.102076)', '2026-08-06 12:03:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863952 -3.102214)'), GeomFromEWKT('SRID=4674;POINT (-38.863968 -3.102076)'))) / (select extract(epoch from '2026-08-06 12:03:57'::timestamp) - extract(epoch from '2026-08-06 12:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863952 -3.102214)'), GeomFromEWKT('SRID=4674;POINT (-38.863968 -3.102076)'))) / (select extract(epoch from '2026-08-06 12:03:57'::timestamp) - extract(epoch from '2026-08-06 12:03: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'), 48137, 'SRID=4674;POINT (-38.864009 -3.101963)', '2026-08-06 12:04:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863968 -3.102076)'), GeomFromEWKT('SRID=4674;POINT (-38.864009 -3.101963)'))) / (select extract(epoch from '2026-08-06 12:04:01'::timestamp) - extract(epoch from '2026-08-06 12:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863968 -3.102076)'), GeomFromEWKT('SRID=4674;POINT (-38.864009 -3.101963)'))) / (select extract(epoch from '2026-08-06 12:04:01'::timestamp) - extract(epoch from '2026-08-06 12:03: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'), 48137, 'SRID=4674;POINT (-38.864014 -3.101847)', '2026-08-06 12:04:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864009 -3.101963)'), GeomFromEWKT('SRID=4674;POINT (-38.864014 -3.101847)'))) / (select extract(epoch from '2026-08-06 12:04:05'::timestamp) - extract(epoch from '2026-08-06 12:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864009 -3.101963)'), GeomFromEWKT('SRID=4674;POINT (-38.864014 -3.101847)'))) / (select extract(epoch from '2026-08-06 12:04:05'::timestamp) - extract(epoch from '2026-08-06 12:04: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'), 48137, 'SRID=4674;POINT (-38.86401 -3.101745)', '2026-08-06 12:04:09', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864014 -3.101847)'), GeomFromEWKT('SRID=4674;POINT (-38.86401 -3.101745)'))) / (select extract(epoch from '2026-08-06 12:04:09'::timestamp) - extract(epoch from '2026-08-06 12:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864014 -3.101847)'), GeomFromEWKT('SRID=4674;POINT (-38.86401 -3.101745)'))) / (select extract(epoch from '2026-08-06 12:04:09'::timestamp) - extract(epoch from '2026-08-06 12:04: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'), 48137, 'SRID=4674;POINT (-38.864019 -3.101619)', '2026-08-06 12:04:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86401 -3.101745)'), GeomFromEWKT('SRID=4674;POINT (-38.864019 -3.101619)'))) / (select extract(epoch from '2026-08-06 12:04:13'::timestamp) - extract(epoch from '2026-08-06 12:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86401 -3.101745)'), GeomFromEWKT('SRID=4674;POINT (-38.864019 -3.101619)'))) / (select extract(epoch from '2026-08-06 12:04:13'::timestamp) - extract(epoch from '2026-08-06 12:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864007 -3.101482)', '2026-08-06 12:04:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864019 -3.101619)'), GeomFromEWKT('SRID=4674;POINT (-38.864007 -3.101482)'))) / (select extract(epoch from '2026-08-06 12:04:18'::timestamp) - extract(epoch from '2026-08-06 12:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864019 -3.101619)'), GeomFromEWKT('SRID=4674;POINT (-38.864007 -3.101482)'))) / (select extract(epoch from '2026-08-06 12:04:18'::timestamp) - extract(epoch from '2026-08-06 12:04: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'), 48137, 'SRID=4674;POINT (-38.864023 -3.101286)', '2026-08-06 12:04:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864007 -3.101482)'), GeomFromEWKT('SRID=4674;POINT (-38.864023 -3.101286)'))) / (select extract(epoch from '2026-08-06 12:04:25'::timestamp) - extract(epoch from '2026-08-06 12:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864007 -3.101482)'), GeomFromEWKT('SRID=4674;POINT (-38.864023 -3.101286)'))) / (select extract(epoch from '2026-08-06 12:04:25'::timestamp) - extract(epoch from '2026-08-06 12:04: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'), 48137, 'SRID=4674;POINT (-38.864026 -3.101143)', '2026-08-06 12:04:30', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864023 -3.101286)'), GeomFromEWKT('SRID=4674;POINT (-38.864026 -3.101143)'))) / (select extract(epoch from '2026-08-06 12:04:30'::timestamp) - extract(epoch from '2026-08-06 12:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864023 -3.101286)'), GeomFromEWKT('SRID=4674;POINT (-38.864026 -3.101143)'))) / (select extract(epoch from '2026-08-06 12:04:30'::timestamp) - extract(epoch from '2026-08-06 12:04: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'), 48137, 'SRID=4674;POINT (-38.864011 -3.10101)', '2026-08-06 12:04:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864026 -3.101143)'), GeomFromEWKT('SRID=4674;POINT (-38.864011 -3.10101)'))) / (select extract(epoch from '2026-08-06 12:04:35'::timestamp) - extract(epoch from '2026-08-06 12:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864026 -3.101143)'), GeomFromEWKT('SRID=4674;POINT (-38.864011 -3.10101)'))) / (select extract(epoch from '2026-08-06 12:04:35'::timestamp) - extract(epoch from '2026-08-06 12:04: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'), 48137, 'SRID=4674;POINT (-38.864009 -3.100868)', '2026-08-06 12:04:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864011 -3.10101)'), GeomFromEWKT('SRID=4674;POINT (-38.864009 -3.100868)'))) / (select extract(epoch from '2026-08-06 12:04:40'::timestamp) - extract(epoch from '2026-08-06 12:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864011 -3.10101)'), GeomFromEWKT('SRID=4674;POINT (-38.864009 -3.100868)'))) / (select extract(epoch from '2026-08-06 12:04:40'::timestamp) - extract(epoch from '2026-08-06 12:04: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'), 48137, 'SRID=4674;POINT (-38.864031 -3.100717)', '2026-08-06 12:04:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864009 -3.100868)'), GeomFromEWKT('SRID=4674;POINT (-38.864031 -3.100717)'))) / (select extract(epoch from '2026-08-06 12:04:45'::timestamp) - extract(epoch from '2026-08-06 12:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864009 -3.100868)'), GeomFromEWKT('SRID=4674;POINT (-38.864031 -3.100717)'))) / (select extract(epoch from '2026-08-06 12:04:45'::timestamp) - extract(epoch from '2026-08-06 12:04: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'), 48137, 'SRID=4674;POINT (-38.864049 -3.100566)', '2026-08-06 12:04:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864031 -3.100717)'), GeomFromEWKT('SRID=4674;POINT (-38.864049 -3.100566)'))) / (select extract(epoch from '2026-08-06 12:04:50'::timestamp) - extract(epoch from '2026-08-06 12:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864031 -3.100717)'), GeomFromEWKT('SRID=4674;POINT (-38.864049 -3.100566)'))) / (select extract(epoch from '2026-08-06 12:04:50'::timestamp) - extract(epoch from '2026-08-06 12:04: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'), 48137, 'SRID=4674;POINT (-38.864075 -3.10038)', '2026-08-06 12:04:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864049 -3.100566)'), GeomFromEWKT('SRID=4674;POINT (-38.864075 -3.10038)'))) / (select extract(epoch from '2026-08-06 12:04:56'::timestamp) - extract(epoch from '2026-08-06 12:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864049 -3.100566)'), GeomFromEWKT('SRID=4674;POINT (-38.864075 -3.10038)'))) / (select extract(epoch from '2026-08-06 12:04:56'::timestamp) - extract(epoch from '2026-08-06 12:04: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'), 48137, 'SRID=4674;POINT (-38.86408 -3.100236)', '2026-08-06 12:05:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864075 -3.10038)'), GeomFromEWKT('SRID=4674;POINT (-38.86408 -3.100236)'))) / (select extract(epoch from '2026-08-06 12:05:01'::timestamp) - extract(epoch from '2026-08-06 12:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864075 -3.10038)'), GeomFromEWKT('SRID=4674;POINT (-38.86408 -3.100236)'))) / (select extract(epoch from '2026-08-06 12:05:01'::timestamp) - extract(epoch from '2026-08-06 12:04: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'), 48137, 'SRID=4674;POINT (-38.864103 -3.100128)', '2026-08-06 12:05:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86408 -3.100236)'), GeomFromEWKT('SRID=4674;POINT (-38.864103 -3.100128)'))) / (select extract(epoch from '2026-08-06 12:05:05'::timestamp) - extract(epoch from '2026-08-06 12:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86408 -3.100236)'), GeomFromEWKT('SRID=4674;POINT (-38.864103 -3.100128)'))) / (select extract(epoch from '2026-08-06 12:05:05'::timestamp) - extract(epoch from '2026-08-06 12:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864085 -3.099979)', '2026-08-06 12:05:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864103 -3.100128)'), GeomFromEWKT('SRID=4674;POINT (-38.864085 -3.099979)'))) / (select extract(epoch from '2026-08-06 12:05:10'::timestamp) - extract(epoch from '2026-08-06 12:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864103 -3.100128)'), GeomFromEWKT('SRID=4674;POINT (-38.864085 -3.099979)'))) / (select extract(epoch from '2026-08-06 12:05:10'::timestamp) - extract(epoch from '2026-08-06 12:05: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'), 48137, 'SRID=4674;POINT (-38.864057 -3.099835)', '2026-08-06 12:05:15', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864085 -3.099979)'), GeomFromEWKT('SRID=4674;POINT (-38.864057 -3.099835)'))) / (select extract(epoch from '2026-08-06 12:05:15'::timestamp) - extract(epoch from '2026-08-06 12:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864085 -3.099979)'), GeomFromEWKT('SRID=4674;POINT (-38.864057 -3.099835)'))) / (select extract(epoch from '2026-08-06 12:05:15'::timestamp) - extract(epoch from '2026-08-06 12:05: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'), 48137, 'SRID=4674;POINT (-38.864042 -3.099688)', '2026-08-06 12:05:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864057 -3.099835)'), GeomFromEWKT('SRID=4674;POINT (-38.864042 -3.099688)'))) / (select extract(epoch from '2026-08-06 12:05:20'::timestamp) - extract(epoch from '2026-08-06 12:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864057 -3.099835)'), GeomFromEWKT('SRID=4674;POINT (-38.864042 -3.099688)'))) / (select extract(epoch from '2026-08-06 12:05:20'::timestamp) - extract(epoch from '2026-08-06 12:05: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'), 48137, 'SRID=4674;POINT (-38.864036 -3.099498)', '2026-08-06 12:05:26', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864042 -3.099688)'), GeomFromEWKT('SRID=4674;POINT (-38.864036 -3.099498)'))) / (select extract(epoch from '2026-08-06 12:05:26'::timestamp) - extract(epoch from '2026-08-06 12:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864042 -3.099688)'), GeomFromEWKT('SRID=4674;POINT (-38.864036 -3.099498)'))) / (select extract(epoch from '2026-08-06 12:05:26'::timestamp) - extract(epoch from '2026-08-06 12:05: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'), 48137, 'SRID=4674;POINT (-38.864022 -3.099371)', '2026-08-06 12:05:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864036 -3.099498)'), GeomFromEWKT('SRID=4674;POINT (-38.864022 -3.099371)'))) / (select extract(epoch from '2026-08-06 12:05:30'::timestamp) - extract(epoch from '2026-08-06 12:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864036 -3.099498)'), GeomFromEWKT('SRID=4674;POINT (-38.864022 -3.099371)'))) / (select extract(epoch from '2026-08-06 12:05:30'::timestamp) - extract(epoch from '2026-08-06 12:05: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'), 48137, 'SRID=4674;POINT (-38.864004 -3.099222)', '2026-08-06 12:05:35', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864022 -3.099371)'), GeomFromEWKT('SRID=4674;POINT (-38.864004 -3.099222)'))) / (select extract(epoch from '2026-08-06 12:05:35'::timestamp) - extract(epoch from '2026-08-06 12:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864022 -3.099371)'), GeomFromEWKT('SRID=4674;POINT (-38.864004 -3.099222)'))) / (select extract(epoch from '2026-08-06 12:05:35'::timestamp) - extract(epoch from '2026-08-06 12:05: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'), 48137, 'SRID=4674;POINT (-38.863984 -3.099032)', '2026-08-06 12:05:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864004 -3.099222)'), GeomFromEWKT('SRID=4674;POINT (-38.863984 -3.099032)'))) / (select extract(epoch from '2026-08-06 12:05:41'::timestamp) - extract(epoch from '2026-08-06 12:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864004 -3.099222)'), GeomFromEWKT('SRID=4674;POINT (-38.863984 -3.099032)'))) / (select extract(epoch from '2026-08-06 12:05:41'::timestamp) - extract(epoch from '2026-08-06 12:05: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'), 48137, 'SRID=4674;POINT (-38.863993 -3.098833)', '2026-08-06 12:05:47', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863984 -3.099032)'), GeomFromEWKT('SRID=4674;POINT (-38.863993 -3.098833)'))) / (select extract(epoch from '2026-08-06 12:05:47'::timestamp) - extract(epoch from '2026-08-06 12:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863984 -3.099032)'), GeomFromEWKT('SRID=4674;POINT (-38.863993 -3.098833)'))) / (select extract(epoch from '2026-08-06 12:05:47'::timestamp) - extract(epoch from '2026-08-06 12:05: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'), 48137, 'SRID=4674;POINT (-38.864007 -3.098641)', '2026-08-06 12:05:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863993 -3.098833)'), GeomFromEWKT('SRID=4674;POINT (-38.864007 -3.098641)'))) / (select extract(epoch from '2026-08-06 12:05:53'::timestamp) - extract(epoch from '2026-08-06 12:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863993 -3.098833)'), GeomFromEWKT('SRID=4674;POINT (-38.864007 -3.098641)'))) / (select extract(epoch from '2026-08-06 12:05:53'::timestamp) - extract(epoch from '2026-08-06 12:05: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'), 48137, 'SRID=4674;POINT (-38.863995 -3.098549)', '2026-08-06 12:05:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864007 -3.098641)'), GeomFromEWKT('SRID=4674;POINT (-38.863995 -3.098549)'))) / (select extract(epoch from '2026-08-06 12:05:56'::timestamp) - extract(epoch from '2026-08-06 12:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864007 -3.098641)'), GeomFromEWKT('SRID=4674;POINT (-38.863995 -3.098549)'))) / (select extract(epoch from '2026-08-06 12:05:56'::timestamp) - extract(epoch from '2026-08-06 12:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.863998 -3.09852)', '2026-08-06 12:05:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863995 -3.098549)'), GeomFromEWKT('SRID=4674;POINT (-38.863998 -3.09852)'))) / (select extract(epoch from '2026-08-06 12:05:57'::timestamp) - extract(epoch from '2026-08-06 12:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863995 -3.098549)'), GeomFromEWKT('SRID=4674;POINT (-38.863998 -3.09852)'))) / (select extract(epoch from '2026-08-06 12:05:57'::timestamp) - extract(epoch from '2026-08-06 12:05: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'), 48137, 'SRID=4674;POINT (-38.863978 -3.098411)', '2026-08-06 12:06:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863998 -3.09852)'), GeomFromEWKT('SRID=4674;POINT (-38.863978 -3.098411)'))) / (select extract(epoch from '2026-08-06 12:06:01'::timestamp) - extract(epoch from '2026-08-06 12:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863998 -3.09852)'), GeomFromEWKT('SRID=4674;POINT (-38.863978 -3.098411)'))) / (select extract(epoch from '2026-08-06 12:06:01'::timestamp) - extract(epoch from '2026-08-06 12:05: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'), 48137, 'SRID=4674;POINT (-38.863948 -3.098271)', '2026-08-06 12:06:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863978 -3.098411)'), GeomFromEWKT('SRID=4674;POINT (-38.863948 -3.098271)'))) / (select extract(epoch from '2026-08-06 12:06:06'::timestamp) - extract(epoch from '2026-08-06 12:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863978 -3.098411)'), GeomFromEWKT('SRID=4674;POINT (-38.863948 -3.098271)'))) / (select extract(epoch from '2026-08-06 12:06:06'::timestamp) - extract(epoch from '2026-08-06 12:06: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'), 48137, 'SRID=4674;POINT (-38.863872 -3.09813)', '2026-08-06 12:06:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863948 -3.098271)'), GeomFromEWKT('SRID=4674;POINT (-38.863872 -3.09813)'))) / (select extract(epoch from '2026-08-06 12:06:12'::timestamp) - extract(epoch from '2026-08-06 12:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863948 -3.098271)'), GeomFromEWKT('SRID=4674;POINT (-38.863872 -3.09813)'))) / (select extract(epoch from '2026-08-06 12:06:12'::timestamp) - extract(epoch from '2026-08-06 12:06: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'), 48137, 'SRID=4674;POINT (-38.863843 -3.097975)', '2026-08-06 12:06:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863872 -3.09813)'), GeomFromEWKT('SRID=4674;POINT (-38.863843 -3.097975)'))) / (select extract(epoch from '2026-08-06 12:06:17'::timestamp) - extract(epoch from '2026-08-06 12:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863872 -3.09813)'), GeomFromEWKT('SRID=4674;POINT (-38.863843 -3.097975)'))) / (select extract(epoch from '2026-08-06 12:06:17'::timestamp) - extract(epoch from '2026-08-06 12:06: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'), 48137, 'SRID=4674;POINT (-38.863818 -3.097789)', '2026-08-06 12:06:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863843 -3.097975)'), GeomFromEWKT('SRID=4674;POINT (-38.863818 -3.097789)'))) / (select extract(epoch from '2026-08-06 12:06:23'::timestamp) - extract(epoch from '2026-08-06 12:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863843 -3.097975)'), GeomFromEWKT('SRID=4674;POINT (-38.863818 -3.097789)'))) / (select extract(epoch from '2026-08-06 12:06:23'::timestamp) - extract(epoch from '2026-08-06 12:06: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'), 48137, 'SRID=4674;POINT (-38.863801 -3.097611)', '2026-08-06 12:06:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863818 -3.097789)'), GeomFromEWKT('SRID=4674;POINT (-38.863801 -3.097611)'))) / (select extract(epoch from '2026-08-06 12:06:29'::timestamp) - extract(epoch from '2026-08-06 12:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863818 -3.097789)'), GeomFromEWKT('SRID=4674;POINT (-38.863801 -3.097611)'))) / (select extract(epoch from '2026-08-06 12:06:29'::timestamp) - extract(epoch from '2026-08-06 12:06: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'), 48137, 'SRID=4674;POINT (-38.863807 -3.097395)', '2026-08-06 12:06:36', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863801 -3.097611)'), GeomFromEWKT('SRID=4674;POINT (-38.863807 -3.097395)'))) / (select extract(epoch from '2026-08-06 12:06:36'::timestamp) - extract(epoch from '2026-08-06 12:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863801 -3.097611)'), GeomFromEWKT('SRID=4674;POINT (-38.863807 -3.097395)'))) / (select extract(epoch from '2026-08-06 12:06:36'::timestamp) - extract(epoch from '2026-08-06 12:06: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'), 48137, 'SRID=4674;POINT (-38.863801 -3.097284)', '2026-08-06 12:06:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863807 -3.097395)'), GeomFromEWKT('SRID=4674;POINT (-38.863801 -3.097284)'))) / (select extract(epoch from '2026-08-06 12:06:40'::timestamp) - extract(epoch from '2026-08-06 12:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863807 -3.097395)'), GeomFromEWKT('SRID=4674;POINT (-38.863801 -3.097284)'))) / (select extract(epoch from '2026-08-06 12:06:40'::timestamp) - extract(epoch from '2026-08-06 12:06: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'), 48137, 'SRID=4674;POINT (-38.863787 -3.097153)', '2026-08-06 12:06:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863801 -3.097284)'), GeomFromEWKT('SRID=4674;POINT (-38.863787 -3.097153)'))) / (select extract(epoch from '2026-08-06 12:06:44'::timestamp) - extract(epoch from '2026-08-06 12:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863801 -3.097284)'), GeomFromEWKT('SRID=4674;POINT (-38.863787 -3.097153)'))) / (select extract(epoch from '2026-08-06 12:06:44'::timestamp) - extract(epoch from '2026-08-06 12:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.863713 -3.096965)', '2026-08-06 12:06:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863787 -3.097153)'), GeomFromEWKT('SRID=4674;POINT (-38.863713 -3.096965)'))) / (select extract(epoch from '2026-08-06 12:06:51'::timestamp) - extract(epoch from '2026-08-06 12:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863787 -3.097153)'), GeomFromEWKT('SRID=4674;POINT (-38.863713 -3.096965)'))) / (select extract(epoch from '2026-08-06 12:06:51'::timestamp) - extract(epoch from '2026-08-06 12:06: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'), 48137, 'SRID=4674;POINT (-38.863684 -3.096815)', '2026-08-06 12:06:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863713 -3.096965)'), GeomFromEWKT('SRID=4674;POINT (-38.863684 -3.096815)'))) / (select extract(epoch from '2026-08-06 12:06:56'::timestamp) - extract(epoch from '2026-08-06 12:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863713 -3.096965)'), GeomFromEWKT('SRID=4674;POINT (-38.863684 -3.096815)'))) / (select extract(epoch from '2026-08-06 12:06:56'::timestamp) - extract(epoch from '2026-08-06 12:06: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'), 48137, 'SRID=4674;POINT (-38.863692 -3.096665)', '2026-08-06 12:07:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863684 -3.096815)'), GeomFromEWKT('SRID=4674;POINT (-38.863692 -3.096665)'))) / (select extract(epoch from '2026-08-06 12:07:01'::timestamp) - extract(epoch from '2026-08-06 12:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863684 -3.096815)'), GeomFromEWKT('SRID=4674;POINT (-38.863692 -3.096665)'))) / (select extract(epoch from '2026-08-06 12:07:01'::timestamp) - extract(epoch from '2026-08-06 12:06: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'), 48137, 'SRID=4674;POINT (-38.86371 -3.0965)', '2026-08-06 12:07:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863692 -3.096665)'), GeomFromEWKT('SRID=4674;POINT (-38.86371 -3.0965)'))) / (select extract(epoch from '2026-08-06 12:07:06'::timestamp) - extract(epoch from '2026-08-06 12:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863692 -3.096665)'), GeomFromEWKT('SRID=4674;POINT (-38.86371 -3.0965)'))) / (select extract(epoch from '2026-08-06 12:07:06'::timestamp) - extract(epoch from '2026-08-06 12:07: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'), 48137, 'SRID=4674;POINT (-38.863725 -3.096328)', '2026-08-06 12:07:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86371 -3.0965)'), GeomFromEWKT('SRID=4674;POINT (-38.863725 -3.096328)'))) / (select extract(epoch from '2026-08-06 12:07:11'::timestamp) - extract(epoch from '2026-08-06 12:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86371 -3.0965)'), GeomFromEWKT('SRID=4674;POINT (-38.863725 -3.096328)'))) / (select extract(epoch from '2026-08-06 12:07:11'::timestamp) - extract(epoch from '2026-08-06 12:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.86375 -3.096189)', '2026-08-06 12:07:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863725 -3.096328)'), GeomFromEWKT('SRID=4674;POINT (-38.86375 -3.096189)'))) / (select extract(epoch from '2026-08-06 12:07:16'::timestamp) - extract(epoch from '2026-08-06 12:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863725 -3.096328)'), GeomFromEWKT('SRID=4674;POINT (-38.86375 -3.096189)'))) / (select extract(epoch from '2026-08-06 12:07:16'::timestamp) - extract(epoch from '2026-08-06 12:07: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'), 48137, 'SRID=4674;POINT (-38.863798 -3.09605)', '2026-08-06 12:07:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86375 -3.096189)'), GeomFromEWKT('SRID=4674;POINT (-38.863798 -3.09605)'))) / (select extract(epoch from '2026-08-06 12:07:21'::timestamp) - extract(epoch from '2026-08-06 12:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86375 -3.096189)'), GeomFromEWKT('SRID=4674;POINT (-38.863798 -3.09605)'))) / (select extract(epoch from '2026-08-06 12:07:21'::timestamp) - extract(epoch from '2026-08-06 12:07: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'), 48137, 'SRID=4674;POINT (-38.863832 -3.095886)', '2026-08-06 12:07:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863798 -3.09605)'), GeomFromEWKT('SRID=4674;POINT (-38.863832 -3.095886)'))) / (select extract(epoch from '2026-08-06 12:07:27'::timestamp) - extract(epoch from '2026-08-06 12:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863798 -3.09605)'), GeomFromEWKT('SRID=4674;POINT (-38.863832 -3.095886)'))) / (select extract(epoch from '2026-08-06 12:07:27'::timestamp) - extract(epoch from '2026-08-06 12:07: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'), 48137, 'SRID=4674;POINT (-38.863863 -3.095699)', '2026-08-06 12:07:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863832 -3.095886)'), GeomFromEWKT('SRID=4674;POINT (-38.863863 -3.095699)'))) / (select extract(epoch from '2026-08-06 12:07:33'::timestamp) - extract(epoch from '2026-08-06 12:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863832 -3.095886)'), GeomFromEWKT('SRID=4674;POINT (-38.863863 -3.095699)'))) / (select extract(epoch from '2026-08-06 12:07:33'::timestamp) - extract(epoch from '2026-08-06 12:07: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'), 48137, 'SRID=4674;POINT (-38.863918 -3.095492)', '2026-08-06 12:07:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863863 -3.095699)'), GeomFromEWKT('SRID=4674;POINT (-38.863918 -3.095492)'))) / (select extract(epoch from '2026-08-06 12:07:40'::timestamp) - extract(epoch from '2026-08-06 12:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863863 -3.095699)'), GeomFromEWKT('SRID=4674;POINT (-38.863918 -3.095492)'))) / (select extract(epoch from '2026-08-06 12:07:40'::timestamp) - extract(epoch from '2026-08-06 12:07:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.863966 -3.09532)', '2026-08-06 12:07:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863918 -3.095492)'), GeomFromEWKT('SRID=4674;POINT (-38.863966 -3.09532)'))) / (select extract(epoch from '2026-08-06 12:07:46'::timestamp) - extract(epoch from '2026-08-06 12:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863918 -3.095492)'), GeomFromEWKT('SRID=4674;POINT (-38.863966 -3.09532)'))) / (select extract(epoch from '2026-08-06 12:07:46'::timestamp) - extract(epoch from '2026-08-06 12:07: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'), 48137, 'SRID=4674;POINT (-38.864032 -3.095194)', '2026-08-06 12:07:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863966 -3.09532)'), GeomFromEWKT('SRID=4674;POINT (-38.864032 -3.095194)'))) / (select extract(epoch from '2026-08-06 12:07:51'::timestamp) - extract(epoch from '2026-08-06 12:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.863966 -3.09532)'), GeomFromEWKT('SRID=4674;POINT (-38.864032 -3.095194)'))) / (select extract(epoch from '2026-08-06 12:07:51'::timestamp) - extract(epoch from '2026-08-06 12:07: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'), 48137, 'SRID=4674;POINT (-38.864097 -3.09504)', '2026-08-06 12:07:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864032 -3.095194)'), GeomFromEWKT('SRID=4674;POINT (-38.864097 -3.09504)'))) / (select extract(epoch from '2026-08-06 12:07:57'::timestamp) - extract(epoch from '2026-08-06 12:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864032 -3.095194)'), GeomFromEWKT('SRID=4674;POINT (-38.864097 -3.09504)'))) / (select extract(epoch from '2026-08-06 12:07:57'::timestamp) - extract(epoch from '2026-08-06 12:07:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864138 -3.09492)', '2026-08-06 12:08:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864097 -3.09504)'), GeomFromEWKT('SRID=4674;POINT (-38.864138 -3.09492)'))) / (select extract(epoch from '2026-08-06 12:08:02'::timestamp) - extract(epoch from '2026-08-06 12:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864097 -3.09504)'), GeomFromEWKT('SRID=4674;POINT (-38.864138 -3.09492)'))) / (select extract(epoch from '2026-08-06 12:08:02'::timestamp) - extract(epoch from '2026-08-06 12:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864174 -3.094809)', '2026-08-06 12:08:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864138 -3.09492)'), GeomFromEWKT('SRID=4674;POINT (-38.864174 -3.094809)'))) / (select extract(epoch from '2026-08-06 12:08:07'::timestamp) - extract(epoch from '2026-08-06 12:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864138 -3.09492)'), GeomFromEWKT('SRID=4674;POINT (-38.864174 -3.094809)'))) / (select extract(epoch from '2026-08-06 12:08:07'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864233 -3.094665)', '2026-08-06 12:08:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864174 -3.094809)'), GeomFromEWKT('SRID=4674;POINT (-38.864233 -3.094665)'))) / (select extract(epoch from '2026-08-06 12:08:12'::timestamp) - extract(epoch from '2026-08-06 12:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864174 -3.094809)'), GeomFromEWKT('SRID=4674;POINT (-38.864233 -3.094665)'))) / (select extract(epoch from '2026-08-06 12:08:12'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864272 -3.094498)', '2026-08-06 12:08:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864233 -3.094665)'), GeomFromEWKT('SRID=4674;POINT (-38.864272 -3.094498)'))) / (select extract(epoch from '2026-08-06 12:08:18'::timestamp) - extract(epoch from '2026-08-06 12:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864233 -3.094665)'), GeomFromEWKT('SRID=4674;POINT (-38.864272 -3.094498)'))) / (select extract(epoch from '2026-08-06 12:08:18'::timestamp) - extract(epoch from '2026-08-06 12:08:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864312 -3.094378)', '2026-08-06 12:08:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864272 -3.094498)'), GeomFromEWKT('SRID=4674;POINT (-38.864312 -3.094378)'))) / (select extract(epoch from '2026-08-06 12:08:23'::timestamp) - extract(epoch from '2026-08-06 12:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864272 -3.094498)'), GeomFromEWKT('SRID=4674;POINT (-38.864312 -3.094378)'))) / (select extract(epoch from '2026-08-06 12:08:23'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864354 -3.094247)', '2026-08-06 12:08:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864312 -3.094378)'), GeomFromEWKT('SRID=4674;POINT (-38.864354 -3.094247)'))) / (select extract(epoch from '2026-08-06 12:08:28'::timestamp) - extract(epoch from '2026-08-06 12:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864312 -3.094378)'), GeomFromEWKT('SRID=4674;POINT (-38.864354 -3.094247)'))) / (select extract(epoch from '2026-08-06 12:08:28'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864392 -3.094128)', '2026-08-06 12:08:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864354 -3.094247)'), GeomFromEWKT('SRID=4674;POINT (-38.864392 -3.094128)'))) / (select extract(epoch from '2026-08-06 12:08:33'::timestamp) - extract(epoch from '2026-08-06 12:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864354 -3.094247)'), GeomFromEWKT('SRID=4674;POINT (-38.864392 -3.094128)'))) / (select extract(epoch from '2026-08-06 12:08:33'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864437 -3.093974)', '2026-08-06 12:08:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864392 -3.094128)'), GeomFromEWKT('SRID=4674;POINT (-38.864437 -3.093974)'))) / (select extract(epoch from '2026-08-06 12:08:39'::timestamp) - extract(epoch from '2026-08-06 12:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864392 -3.094128)'), GeomFromEWKT('SRID=4674;POINT (-38.864437 -3.093974)'))) / (select extract(epoch from '2026-08-06 12:08:39'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864476 -3.093865)', '2026-08-06 12:08:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864437 -3.093974)'), GeomFromEWKT('SRID=4674;POINT (-38.864476 -3.093865)'))) / (select extract(epoch from '2026-08-06 12:08:43'::timestamp) - extract(epoch from '2026-08-06 12:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864437 -3.093974)'), GeomFromEWKT('SRID=4674;POINT (-38.864476 -3.093865)'))) / (select extract(epoch from '2026-08-06 12:08:43'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.86449 -3.093757)', '2026-08-06 12:08:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864476 -3.093865)'), GeomFromEWKT('SRID=4674;POINT (-38.86449 -3.093757)'))) / (select extract(epoch from '2026-08-06 12:08:47'::timestamp) - extract(epoch from '2026-08-06 12:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864476 -3.093865)'), GeomFromEWKT('SRID=4674;POINT (-38.86449 -3.093757)'))) / (select extract(epoch from '2026-08-06 12:08:47'::timestamp) - extract(epoch from '2026-08-06 12:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864504 -3.093724)', '2026-08-06 12:08:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86449 -3.093757)'), GeomFromEWKT('SRID=4674;POINT (-38.864504 -3.093724)'))) / (select extract(epoch from '2026-08-06 12:08:48'::timestamp) - extract(epoch from '2026-08-06 12:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86449 -3.093757)'), GeomFromEWKT('SRID=4674;POINT (-38.864504 -3.093724)'))) / (select extract(epoch from '2026-08-06 12:08:48'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864539 -3.093673)', '2026-08-06 12:08:50', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864504 -3.093724)'), GeomFromEWKT('SRID=4674;POINT (-38.864539 -3.093673)'))) / (select extract(epoch from '2026-08-06 12:08:50'::timestamp) - extract(epoch from '2026-08-06 12:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864504 -3.093724)'), GeomFromEWKT('SRID=4674;POINT (-38.864539 -3.093673)'))) / (select extract(epoch from '2026-08-06 12:08:50'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864544 -3.093651)', '2026-08-06 12:08:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864539 -3.093673)'), GeomFromEWKT('SRID=4674;POINT (-38.864544 -3.093651)'))) / (select extract(epoch from '2026-08-06 12:08:51'::timestamp) - extract(epoch from '2026-08-06 12:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864539 -3.093673)'), GeomFromEWKT('SRID=4674;POINT (-38.864544 -3.093651)'))) / (select extract(epoch from '2026-08-06 12:08:51'::timestamp) - extract(epoch from '2026-08-06 12:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864546 -3.093599)', '2026-08-06 12:08:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864544 -3.093651)'), GeomFromEWKT('SRID=4674;POINT (-38.864546 -3.093599)'))) / (select extract(epoch from '2026-08-06 12:08:53'::timestamp) - extract(epoch from '2026-08-06 12:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864544 -3.093651)'), GeomFromEWKT('SRID=4674;POINT (-38.864546 -3.093599)'))) / (select extract(epoch from '2026-08-06 12:08:53'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864557 -3.093568)', '2026-08-06 12:08:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864546 -3.093599)'), GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.093568)'))) / (select extract(epoch from '2026-08-06 12:08:54'::timestamp) - extract(epoch from '2026-08-06 12:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864546 -3.093599)'), GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.093568)'))) / (select extract(epoch from '2026-08-06 12:08:54'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864567 -3.09346)', '2026-08-06 12:08:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.093568)'), GeomFromEWKT('SRID=4674;POINT (-38.864567 -3.09346)'))) / (select extract(epoch from '2026-08-06 12:08:58'::timestamp) - extract(epoch from '2026-08-06 12:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.093568)'), GeomFromEWKT('SRID=4674;POINT (-38.864567 -3.09346)'))) / (select extract(epoch from '2026-08-06 12:08:58'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864594 -3.093341)', '2026-08-06 12:09:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864567 -3.09346)'), GeomFromEWKT('SRID=4674;POINT (-38.864594 -3.093341)'))) / (select extract(epoch from '2026-08-06 12:09:02'::timestamp) - extract(epoch from '2026-08-06 12:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864567 -3.09346)'), GeomFromEWKT('SRID=4674;POINT (-38.864594 -3.093341)'))) / (select extract(epoch from '2026-08-06 12:09:02'::timestamp) - extract(epoch from '2026-08-06 12:08: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'), 48137, 'SRID=4674;POINT (-38.864623 -3.093193)', '2026-08-06 12:09:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864594 -3.093341)'), GeomFromEWKT('SRID=4674;POINT (-38.864623 -3.093193)'))) / (select extract(epoch from '2026-08-06 12:09:07'::timestamp) - extract(epoch from '2026-08-06 12:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864594 -3.093341)'), GeomFromEWKT('SRID=4674;POINT (-38.864623 -3.093193)'))) / (select extract(epoch from '2026-08-06 12:09:07'::timestamp) - extract(epoch from '2026-08-06 12:09: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'), 48137, 'SRID=4674;POINT (-38.864623 -3.093085)', '2026-08-06 12:09:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864623 -3.093193)'), GeomFromEWKT('SRID=4674;POINT (-38.864623 -3.093085)'))) / (select extract(epoch from '2026-08-06 12:09:11'::timestamp) - extract(epoch from '2026-08-06 12:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864623 -3.093193)'), GeomFromEWKT('SRID=4674;POINT (-38.864623 -3.093085)'))) / (select extract(epoch from '2026-08-06 12:09:11'::timestamp) - extract(epoch from '2026-08-06 12:09:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864626 -3.092956)', '2026-08-06 12:09:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864623 -3.093085)'), GeomFromEWKT('SRID=4674;POINT (-38.864626 -3.092956)'))) / (select extract(epoch from '2026-08-06 12:09:15'::timestamp) - extract(epoch from '2026-08-06 12:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864623 -3.093085)'), GeomFromEWKT('SRID=4674;POINT (-38.864626 -3.092956)'))) / (select extract(epoch from '2026-08-06 12:09:15'::timestamp) - extract(epoch from '2026-08-06 12:09: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'), 48137, 'SRID=4674;POINT (-38.86462 -3.092805)', '2026-08-06 12:09:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864626 -3.092956)'), GeomFromEWKT('SRID=4674;POINT (-38.86462 -3.092805)'))) / (select extract(epoch from '2026-08-06 12:09:20'::timestamp) - extract(epoch from '2026-08-06 12:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864626 -3.092956)'), GeomFromEWKT('SRID=4674;POINT (-38.86462 -3.092805)'))) / (select extract(epoch from '2026-08-06 12:09:20'::timestamp) - extract(epoch from '2026-08-06 12:09: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'), 48137, 'SRID=4674;POINT (-38.864633 -3.092659)', '2026-08-06 12:09:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86462 -3.092805)'), GeomFromEWKT('SRID=4674;POINT (-38.864633 -3.092659)'))) / (select extract(epoch from '2026-08-06 12:09:25'::timestamp) - extract(epoch from '2026-08-06 12:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86462 -3.092805)'), GeomFromEWKT('SRID=4674;POINT (-38.864633 -3.092659)'))) / (select extract(epoch from '2026-08-06 12:09:25'::timestamp) - extract(epoch from '2026-08-06 12:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864638 -3.092565)', '2026-08-06 12:09:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864633 -3.092659)'), GeomFromEWKT('SRID=4674;POINT (-38.864638 -3.092565)'))) / (select extract(epoch from '2026-08-06 12:09:28'::timestamp) - extract(epoch from '2026-08-06 12:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864633 -3.092659)'), GeomFromEWKT('SRID=4674;POINT (-38.864638 -3.092565)'))) / (select extract(epoch from '2026-08-06 12:09:28'::timestamp) - extract(epoch from '2026-08-06 12:09:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864629 -3.092533)', '2026-08-06 12:09:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864638 -3.092565)'), GeomFromEWKT('SRID=4674;POINT (-38.864629 -3.092533)'))) / (select extract(epoch from '2026-08-06 12:09:29'::timestamp) - extract(epoch from '2026-08-06 12:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864638 -3.092565)'), GeomFromEWKT('SRID=4674;POINT (-38.864629 -3.092533)'))) / (select extract(epoch from '2026-08-06 12:09:29'::timestamp) - extract(epoch from '2026-08-06 12:09: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'), 48137, 'SRID=4674;POINT (-38.864588 -3.092444)', '2026-08-06 12:09:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864629 -3.092533)'), GeomFromEWKT('SRID=4674;POINT (-38.864588 -3.092444)'))) / (select extract(epoch from '2026-08-06 12:09:33'::timestamp) - extract(epoch from '2026-08-06 12:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864629 -3.092533)'), GeomFromEWKT('SRID=4674;POINT (-38.864588 -3.092444)'))) / (select extract(epoch from '2026-08-06 12:09:33'::timestamp) - extract(epoch from '2026-08-06 12:09: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'), 48137, 'SRID=4674;POINT (-38.864555 -3.092289)', '2026-08-06 12:09:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864588 -3.092444)'), GeomFromEWKT('SRID=4674;POINT (-38.864555 -3.092289)'))) / (select extract(epoch from '2026-08-06 12:09:38'::timestamp) - extract(epoch from '2026-08-06 12:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864588 -3.092444)'), GeomFromEWKT('SRID=4674;POINT (-38.864555 -3.092289)'))) / (select extract(epoch from '2026-08-06 12:09:38'::timestamp) - extract(epoch from '2026-08-06 12:09: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'), 48137, 'SRID=4674;POINT (-38.864523 -3.092189)', '2026-08-06 12:09:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864555 -3.092289)'), GeomFromEWKT('SRID=4674;POINT (-38.864523 -3.092189)'))) / (select extract(epoch from '2026-08-06 12:09:42'::timestamp) - extract(epoch from '2026-08-06 12:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864555 -3.092289)'), GeomFromEWKT('SRID=4674;POINT (-38.864523 -3.092189)'))) / (select extract(epoch from '2026-08-06 12:09:42'::timestamp) - extract(epoch from '2026-08-06 12:09: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'), 48137, 'SRID=4674;POINT (-38.864503 -3.092035)', '2026-08-06 12:09:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864523 -3.092189)'), GeomFromEWKT('SRID=4674;POINT (-38.864503 -3.092035)'))) / (select extract(epoch from '2026-08-06 12:09:47'::timestamp) - extract(epoch from '2026-08-06 12:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864523 -3.092189)'), GeomFromEWKT('SRID=4674;POINT (-38.864503 -3.092035)'))) / (select extract(epoch from '2026-08-06 12:09:47'::timestamp) - extract(epoch from '2026-08-06 12:09: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'), 48137, 'SRID=4674;POINT (-38.864508 -3.091888)', '2026-08-06 12:09:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864503 -3.092035)'), GeomFromEWKT('SRID=4674;POINT (-38.864508 -3.091888)'))) / (select extract(epoch from '2026-08-06 12:09:52'::timestamp) - extract(epoch from '2026-08-06 12:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864503 -3.092035)'), GeomFromEWKT('SRID=4674;POINT (-38.864508 -3.091888)'))) / (select extract(epoch from '2026-08-06 12:09:52'::timestamp) - extract(epoch from '2026-08-06 12:09: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'), 48137, 'SRID=4674;POINT (-38.864517 -3.091769)', '2026-08-06 12:09:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864508 -3.091888)'), GeomFromEWKT('SRID=4674;POINT (-38.864517 -3.091769)'))) / (select extract(epoch from '2026-08-06 12:09:56'::timestamp) - extract(epoch from '2026-08-06 12:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864508 -3.091888)'), GeomFromEWKT('SRID=4674;POINT (-38.864517 -3.091769)'))) / (select extract(epoch from '2026-08-06 12:09:56'::timestamp) - extract(epoch from '2026-08-06 12:09: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'), 48137, 'SRID=4674;POINT (-38.864557 -3.091637)', '2026-08-06 12:10:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864517 -3.091769)'), GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.091637)'))) / (select extract(epoch from '2026-08-06 12:10:00'::timestamp) - extract(epoch from '2026-08-06 12:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864517 -3.091769)'), GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.091637)'))) / (select extract(epoch from '2026-08-06 12:10:00'::timestamp) - extract(epoch from '2026-08-06 12:09: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'), 48137, 'SRID=4674;POINT (-38.864573 -3.091485)', '2026-08-06 12:10:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.091637)'), GeomFromEWKT('SRID=4674;POINT (-38.864573 -3.091485)'))) / (select extract(epoch from '2026-08-06 12:10:05'::timestamp) - extract(epoch from '2026-08-06 12:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864557 -3.091637)'), GeomFromEWKT('SRID=4674;POINT (-38.864573 -3.091485)'))) / (select extract(epoch from '2026-08-06 12:10:05'::timestamp) - extract(epoch from '2026-08-06 12:10: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'), 48137, 'SRID=4674;POINT (-38.864612 -3.09126)', '2026-08-06 12:10:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864573 -3.091485)'), GeomFromEWKT('SRID=4674;POINT (-38.864612 -3.09126)'))) / (select extract(epoch from '2026-08-06 12:10:12'::timestamp) - extract(epoch from '2026-08-06 12:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864573 -3.091485)'), GeomFromEWKT('SRID=4674;POINT (-38.864612 -3.09126)'))) / (select extract(epoch from '2026-08-06 12:10:12'::timestamp) - extract(epoch from '2026-08-06 12:10: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'), 48137, 'SRID=4674;POINT (-38.864648 -3.091097)', '2026-08-06 12:10:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864612 -3.09126)'), GeomFromEWKT('SRID=4674;POINT (-38.864648 -3.091097)'))) / (select extract(epoch from '2026-08-06 12:10:17'::timestamp) - extract(epoch from '2026-08-06 12:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864612 -3.09126)'), GeomFromEWKT('SRID=4674;POINT (-38.864648 -3.091097)'))) / (select extract(epoch from '2026-08-06 12:10:17'::timestamp) - extract(epoch from '2026-08-06 12:10: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'), 48137, 'SRID=4674;POINT (-38.864664 -3.09098)', '2026-08-06 12:10:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864648 -3.091097)'), GeomFromEWKT('SRID=4674;POINT (-38.864664 -3.09098)'))) / (select extract(epoch from '2026-08-06 12:10:21'::timestamp) - extract(epoch from '2026-08-06 12:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864648 -3.091097)'), GeomFromEWKT('SRID=4674;POINT (-38.864664 -3.09098)'))) / (select extract(epoch from '2026-08-06 12:10:21'::timestamp) - extract(epoch from '2026-08-06 12:10: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'), 48137, 'SRID=4674;POINT (-38.86471 -3.090804)', '2026-08-06 12:10:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864664 -3.09098)'), GeomFromEWKT('SRID=4674;POINT (-38.86471 -3.090804)'))) / (select extract(epoch from '2026-08-06 12:10:27'::timestamp) - extract(epoch from '2026-08-06 12:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864664 -3.09098)'), GeomFromEWKT('SRID=4674;POINT (-38.86471 -3.090804)'))) / (select extract(epoch from '2026-08-06 12:10:27'::timestamp) - extract(epoch from '2026-08-06 12:10:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864763 -3.090645)', '2026-08-06 12:10:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86471 -3.090804)'), GeomFromEWKT('SRID=4674;POINT (-38.864763 -3.090645)'))) / (select extract(epoch from '2026-08-06 12:10:32'::timestamp) - extract(epoch from '2026-08-06 12:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86471 -3.090804)'), GeomFromEWKT('SRID=4674;POINT (-38.864763 -3.090645)'))) / (select extract(epoch from '2026-08-06 12:10:32'::timestamp) - extract(epoch from '2026-08-06 12:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.864805 -3.090506)', '2026-08-06 12:10:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864763 -3.090645)'), GeomFromEWKT('SRID=4674;POINT (-38.864805 -3.090506)'))) / (select extract(epoch from '2026-08-06 12:10:37'::timestamp) - extract(epoch from '2026-08-06 12:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864763 -3.090645)'), GeomFromEWKT('SRID=4674;POINT (-38.864805 -3.090506)'))) / (select extract(epoch from '2026-08-06 12:10:37'::timestamp) - extract(epoch from '2026-08-06 12:10: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'), 48137, 'SRID=4674;POINT (-38.864842 -3.090354)', '2026-08-06 12:10:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864805 -3.090506)'), GeomFromEWKT('SRID=4674;POINT (-38.864842 -3.090354)'))) / (select extract(epoch from '2026-08-06 12:10:42'::timestamp) - extract(epoch from '2026-08-06 12:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864805 -3.090506)'), GeomFromEWKT('SRID=4674;POINT (-38.864842 -3.090354)'))) / (select extract(epoch from '2026-08-06 12:10:42'::timestamp) - extract(epoch from '2026-08-06 12:10: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'), 48137, 'SRID=4674;POINT (-38.864892 -3.090249)', '2026-08-06 12:10:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864842 -3.090354)'), GeomFromEWKT('SRID=4674;POINT (-38.864892 -3.090249)'))) / (select extract(epoch from '2026-08-06 12:10:46'::timestamp) - extract(epoch from '2026-08-06 12:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864842 -3.090354)'), GeomFromEWKT('SRID=4674;POINT (-38.864892 -3.090249)'))) / (select extract(epoch from '2026-08-06 12:10:46'::timestamp) - extract(epoch from '2026-08-06 12:10: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'), 48137, 'SRID=4674;POINT (-38.864991 -3.09003)', '2026-08-06 12:10:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864892 -3.090249)'), GeomFromEWKT('SRID=4674;POINT (-38.864991 -3.09003)'))) / (select extract(epoch from '2026-08-06 12:10:54'::timestamp) - extract(epoch from '2026-08-06 12:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864892 -3.090249)'), GeomFromEWKT('SRID=4674;POINT (-38.864991 -3.09003)'))) / (select extract(epoch from '2026-08-06 12:10:54'::timestamp) - extract(epoch from '2026-08-06 12:10: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'), 48137, 'SRID=4674;POINT (-38.86505 -3.08987)', '2026-08-06 12:11:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864991 -3.09003)'), GeomFromEWKT('SRID=4674;POINT (-38.86505 -3.08987)'))) / (select extract(epoch from '2026-08-06 12:11:00'::timestamp) - extract(epoch from '2026-08-06 12:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.864991 -3.09003)'), GeomFromEWKT('SRID=4674;POINT (-38.86505 -3.08987)'))) / (select extract(epoch from '2026-08-06 12:11:00'::timestamp) - extract(epoch from '2026-08-06 12:10: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'), 48137, 'SRID=4674;POINT (-38.865102 -3.089736)', '2026-08-06 12:11:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86505 -3.08987)'), GeomFromEWKT('SRID=4674;POINT (-38.865102 -3.089736)'))) / (select extract(epoch from '2026-08-06 12:11:05'::timestamp) - extract(epoch from '2026-08-06 12:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86505 -3.08987)'), GeomFromEWKT('SRID=4674;POINT (-38.865102 -3.089736)'))) / (select extract(epoch from '2026-08-06 12:11:05'::timestamp) - extract(epoch from '2026-08-06 12:11: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'), 48137, 'SRID=4674;POINT (-38.865167 -3.089594)', '2026-08-06 12:11:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865102 -3.089736)'), GeomFromEWKT('SRID=4674;POINT (-38.865167 -3.089594)'))) / (select extract(epoch from '2026-08-06 12:11:11'::timestamp) - extract(epoch from '2026-08-06 12:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865102 -3.089736)'), GeomFromEWKT('SRID=4674;POINT (-38.865167 -3.089594)'))) / (select extract(epoch from '2026-08-06 12:11:11'::timestamp) - extract(epoch from '2026-08-06 12:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.865231 -3.089487)', '2026-08-06 12:11:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865167 -3.089594)'), GeomFromEWKT('SRID=4674;POINT (-38.865231 -3.089487)'))) / (select extract(epoch from '2026-08-06 12:11:16'::timestamp) - extract(epoch from '2026-08-06 12:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865167 -3.089594)'), GeomFromEWKT('SRID=4674;POINT (-38.865231 -3.089487)'))) / (select extract(epoch from '2026-08-06 12:11:16'::timestamp) - extract(epoch from '2026-08-06 12:11:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.865264 -3.089446)', '2026-08-06 12:11:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865231 -3.089487)'), GeomFromEWKT('SRID=4674;POINT (-38.865264 -3.089446)'))) / (select extract(epoch from '2026-08-06 12:11:18'::timestamp) - extract(epoch from '2026-08-06 12:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865231 -3.089487)'), GeomFromEWKT('SRID=4674;POINT (-38.865264 -3.089446)'))) / (select extract(epoch from '2026-08-06 12:11:18'::timestamp) - extract(epoch from '2026-08-06 12:11:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.865283 -3.089395)', '2026-08-06 12:11:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865264 -3.089446)'), GeomFromEWKT('SRID=4674;POINT (-38.865283 -3.089395)'))) / (select extract(epoch from '2026-08-06 12:11:20'::timestamp) - extract(epoch from '2026-08-06 12:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865264 -3.089446)'), GeomFromEWKT('SRID=4674;POINT (-38.865283 -3.089395)'))) / (select extract(epoch from '2026-08-06 12:11:20'::timestamp) - extract(epoch from '2026-08-06 12:11: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'), 48137, 'SRID=4674;POINT (-38.865322 -3.089338)', '2026-08-06 12:11:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865283 -3.089395)'), GeomFromEWKT('SRID=4674;POINT (-38.865322 -3.089338)'))) / (select extract(epoch from '2026-08-06 12:11:23'::timestamp) - extract(epoch from '2026-08-06 12:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865283 -3.089395)'), GeomFromEWKT('SRID=4674;POINT (-38.865322 -3.089338)'))) / (select extract(epoch from '2026-08-06 12:11:23'::timestamp) - extract(epoch from '2026-08-06 12:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.865327 -3.089315)', '2026-08-06 12:11:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865322 -3.089338)'), GeomFromEWKT('SRID=4674;POINT (-38.865327 -3.089315)'))) / (select extract(epoch from '2026-08-06 12:11:24'::timestamp) - extract(epoch from '2026-08-06 12:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865322 -3.089338)'), GeomFromEWKT('SRID=4674;POINT (-38.865327 -3.089315)'))) / (select extract(epoch from '2026-08-06 12:11:24'::timestamp) - extract(epoch from '2026-08-06 12:11: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'), 48137, 'SRID=4674;POINT (-38.865371 -3.089213)', '2026-08-06 12:11:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865327 -3.089315)'), GeomFromEWKT('SRID=4674;POINT (-38.865371 -3.089213)'))) / (select extract(epoch from '2026-08-06 12:11:28'::timestamp) - extract(epoch from '2026-08-06 12:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865327 -3.089315)'), GeomFromEWKT('SRID=4674;POINT (-38.865371 -3.089213)'))) / (select extract(epoch from '2026-08-06 12:11:28'::timestamp) - extract(epoch from '2026-08-06 12:11: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'), 48137, 'SRID=4674;POINT (-38.865401 -3.089071)', '2026-08-06 12:11:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865371 -3.089213)'), GeomFromEWKT('SRID=4674;POINT (-38.865401 -3.089071)'))) / (select extract(epoch from '2026-08-06 12:11:34'::timestamp) - extract(epoch from '2026-08-06 12:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865371 -3.089213)'), GeomFromEWKT('SRID=4674;POINT (-38.865401 -3.089071)'))) / (select extract(epoch from '2026-08-06 12:11:34'::timestamp) - extract(epoch from '2026-08-06 12:11: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'), 48137, 'SRID=4674;POINT (-38.865425 -3.088945)', '2026-08-06 12:11:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865401 -3.089071)'), GeomFromEWKT('SRID=4674;POINT (-38.865425 -3.088945)'))) / (select extract(epoch from '2026-08-06 12:11:39'::timestamp) - extract(epoch from '2026-08-06 12:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865401 -3.089071)'), GeomFromEWKT('SRID=4674;POINT (-38.865425 -3.088945)'))) / (select extract(epoch from '2026-08-06 12:11:39'::timestamp) - extract(epoch from '2026-08-06 12:11: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'), 48137, 'SRID=4674;POINT (-38.865448 -3.088774)', '2026-08-06 12:11:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865425 -3.088945)'), GeomFromEWKT('SRID=4674;POINT (-38.865448 -3.088774)'))) / (select extract(epoch from '2026-08-06 12:11:45'::timestamp) - extract(epoch from '2026-08-06 12:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865425 -3.088945)'), GeomFromEWKT('SRID=4674;POINT (-38.865448 -3.088774)'))) / (select extract(epoch from '2026-08-06 12:11:45'::timestamp) - extract(epoch from '2026-08-06 12:11: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'), 48137, 'SRID=4674;POINT (-38.865487 -3.088604)', '2026-08-06 12:11:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865448 -3.088774)'), GeomFromEWKT('SRID=4674;POINT (-38.865487 -3.088604)'))) / (select extract(epoch from '2026-08-06 12:11:51'::timestamp) - extract(epoch from '2026-08-06 12:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865448 -3.088774)'), GeomFromEWKT('SRID=4674;POINT (-38.865487 -3.088604)'))) / (select extract(epoch from '2026-08-06 12:11:51'::timestamp) - extract(epoch from '2026-08-06 12:11: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'), 48137, 'SRID=4674;POINT (-38.865573 -3.08838)', '2026-08-06 12:11:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865487 -3.088604)'), GeomFromEWKT('SRID=4674;POINT (-38.865573 -3.08838)'))) / (select extract(epoch from '2026-08-06 12:11:59'::timestamp) - extract(epoch from '2026-08-06 12:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865487 -3.088604)'), GeomFromEWKT('SRID=4674;POINT (-38.865573 -3.08838)'))) / (select extract(epoch from '2026-08-06 12:11:59'::timestamp) - extract(epoch from '2026-08-06 12:11: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'), 48137, 'SRID=4674;POINT (-38.865587 -3.088239)', '2026-08-06 12:12:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865573 -3.08838)'), GeomFromEWKT('SRID=4674;POINT (-38.865587 -3.088239)'))) / (select extract(epoch from '2026-08-06 12:12:04'::timestamp) - extract(epoch from '2026-08-06 12:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865573 -3.08838)'), GeomFromEWKT('SRID=4674;POINT (-38.865587 -3.088239)'))) / (select extract(epoch from '2026-08-06 12:12:04'::timestamp) - extract(epoch from '2026-08-06 12:11: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'), 48137, 'SRID=4674;POINT (-38.865601 -3.088091)', '2026-08-06 12:12:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865587 -3.088239)'), GeomFromEWKT('SRID=4674;POINT (-38.865601 -3.088091)'))) / (select extract(epoch from '2026-08-06 12:12:09'::timestamp) - extract(epoch from '2026-08-06 12:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865587 -3.088239)'), GeomFromEWKT('SRID=4674;POINT (-38.865601 -3.088091)'))) / (select extract(epoch from '2026-08-06 12:12:09'::timestamp) - extract(epoch from '2026-08-06 12:12: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'), 48137, 'SRID=4674;POINT (-38.865631 -3.087911)', '2026-08-06 12:12:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865601 -3.088091)'), GeomFromEWKT('SRID=4674;POINT (-38.865631 -3.087911)'))) / (select extract(epoch from '2026-08-06 12:12:15'::timestamp) - extract(epoch from '2026-08-06 12:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865601 -3.088091)'), GeomFromEWKT('SRID=4674;POINT (-38.865631 -3.087911)'))) / (select extract(epoch from '2026-08-06 12:12:15'::timestamp) - extract(epoch from '2026-08-06 12:12: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'), 48137, 'SRID=4674;POINT (-38.865675 -3.087756)', '2026-08-06 12:12:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865631 -3.087911)'), GeomFromEWKT('SRID=4674;POINT (-38.865675 -3.087756)'))) / (select extract(epoch from '2026-08-06 12:12:21'::timestamp) - extract(epoch from '2026-08-06 12:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865631 -3.087911)'), GeomFromEWKT('SRID=4674;POINT (-38.865675 -3.087756)'))) / (select extract(epoch from '2026-08-06 12:12:21'::timestamp) - extract(epoch from '2026-08-06 12:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.865737 -3.087597)', '2026-08-06 12:12:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865675 -3.087756)'), GeomFromEWKT('SRID=4674;POINT (-38.865737 -3.087597)'))) / (select extract(epoch from '2026-08-06 12:12:27'::timestamp) - extract(epoch from '2026-08-06 12:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865675 -3.087756)'), GeomFromEWKT('SRID=4674;POINT (-38.865737 -3.087597)'))) / (select extract(epoch from '2026-08-06 12:12:27'::timestamp) - extract(epoch from '2026-08-06 12:12: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'), 48137, 'SRID=4674;POINT (-38.86579 -3.087479)', '2026-08-06 12:12:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865737 -3.087597)'), GeomFromEWKT('SRID=4674;POINT (-38.86579 -3.087479)'))) / (select extract(epoch from '2026-08-06 12:12:32'::timestamp) - extract(epoch from '2026-08-06 12:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865737 -3.087597)'), GeomFromEWKT('SRID=4674;POINT (-38.86579 -3.087479)'))) / (select extract(epoch from '2026-08-06 12:12:32'::timestamp) - extract(epoch from '2026-08-06 12:12: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'), 48137, 'SRID=4674;POINT (-38.865823 -3.08735)', '2026-08-06 12:12:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86579 -3.087479)'), GeomFromEWKT('SRID=4674;POINT (-38.865823 -3.08735)'))) / (select extract(epoch from '2026-08-06 12:12:37'::timestamp) - extract(epoch from '2026-08-06 12:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86579 -3.087479)'), GeomFromEWKT('SRID=4674;POINT (-38.865823 -3.08735)'))) / (select extract(epoch from '2026-08-06 12:12:37'::timestamp) - extract(epoch from '2026-08-06 12:12: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'), 48137, 'SRID=4674;POINT (-38.865827 -3.087248)', '2026-08-06 12:12:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865823 -3.08735)'), GeomFromEWKT('SRID=4674;POINT (-38.865827 -3.087248)'))) / (select extract(epoch from '2026-08-06 12:12:41'::timestamp) - extract(epoch from '2026-08-06 12:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865823 -3.08735)'), GeomFromEWKT('SRID=4674;POINT (-38.865827 -3.087248)'))) / (select extract(epoch from '2026-08-06 12:12:41'::timestamp) - extract(epoch from '2026-08-06 12:12: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'), 48137, 'SRID=4674;POINT (-38.865857 -3.087126)', '2026-08-06 12:12:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865827 -3.087248)'), GeomFromEWKT('SRID=4674;POINT (-38.865857 -3.087126)'))) / (select extract(epoch from '2026-08-06 12:12:45'::timestamp) - extract(epoch from '2026-08-06 12:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865827 -3.087248)'), GeomFromEWKT('SRID=4674;POINT (-38.865857 -3.087126)'))) / (select extract(epoch from '2026-08-06 12:12:45'::timestamp) - extract(epoch from '2026-08-06 12:12: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'), 48137, 'SRID=4674;POINT (-38.865894 -3.086995)', '2026-08-06 12:12:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865857 -3.087126)'), GeomFromEWKT('SRID=4674;POINT (-38.865894 -3.086995)'))) / (select extract(epoch from '2026-08-06 12:12:50'::timestamp) - extract(epoch from '2026-08-06 12:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865857 -3.087126)'), GeomFromEWKT('SRID=4674;POINT (-38.865894 -3.086995)'))) / (select extract(epoch from '2026-08-06 12:12:50'::timestamp) - extract(epoch from '2026-08-06 12:12: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'), 48137, 'SRID=4674;POINT (-38.865921 -3.08686)', '2026-08-06 12:12:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865894 -3.086995)'), GeomFromEWKT('SRID=4674;POINT (-38.865921 -3.08686)'))) / (select extract(epoch from '2026-08-06 12:12:55'::timestamp) - extract(epoch from '2026-08-06 12:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865894 -3.086995)'), GeomFromEWKT('SRID=4674;POINT (-38.865921 -3.08686)'))) / (select extract(epoch from '2026-08-06 12:12:55'::timestamp) - extract(epoch from '2026-08-06 12:12: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'), 48137, 'SRID=4674;POINT (-38.865934 -3.086713)', '2026-08-06 12:13:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865921 -3.08686)'), GeomFromEWKT('SRID=4674;POINT (-38.865934 -3.086713)'))) / (select extract(epoch from '2026-08-06 12:13:00'::timestamp) - extract(epoch from '2026-08-06 12:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865921 -3.08686)'), GeomFromEWKT('SRID=4674;POINT (-38.865934 -3.086713)'))) / (select extract(epoch from '2026-08-06 12:13:00'::timestamp) - extract(epoch from '2026-08-06 12:12: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'), 48137, 'SRID=4674;POINT (-38.865958 -3.0865)', '2026-08-06 12:13:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865934 -3.086713)'), GeomFromEWKT('SRID=4674;POINT (-38.865958 -3.0865)'))) / (select extract(epoch from '2026-08-06 12:13:07'::timestamp) - extract(epoch from '2026-08-06 12:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865934 -3.086713)'), GeomFromEWKT('SRID=4674;POINT (-38.865958 -3.0865)'))) / (select extract(epoch from '2026-08-06 12:13:07'::timestamp) - extract(epoch from '2026-08-06 12:13: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'), 48137, 'SRID=4674;POINT (-38.865979 -3.08635)', '2026-08-06 12:13:12', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865958 -3.0865)'), GeomFromEWKT('SRID=4674;POINT (-38.865979 -3.08635)'))) / (select extract(epoch from '2026-08-06 12:13:12'::timestamp) - extract(epoch from '2026-08-06 12:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865958 -3.0865)'), GeomFromEWKT('SRID=4674;POINT (-38.865979 -3.08635)'))) / (select extract(epoch from '2026-08-06 12:13:12'::timestamp) - extract(epoch from '2026-08-06 12:13: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'), 48137, 'SRID=4674;POINT (-38.866033 -3.086137)', '2026-08-06 12:13:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865979 -3.08635)'), GeomFromEWKT('SRID=4674;POINT (-38.866033 -3.086137)'))) / (select extract(epoch from '2026-08-06 12:13:19'::timestamp) - extract(epoch from '2026-08-06 12:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.865979 -3.08635)'), GeomFromEWKT('SRID=4674;POINT (-38.866033 -3.086137)'))) / (select extract(epoch from '2026-08-06 12:13:19'::timestamp) - extract(epoch from '2026-08-06 12: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'), 48137, 'SRID=4674;POINT (-38.866066 -3.08603)', '2026-08-06 12:13:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866033 -3.086137)'), GeomFromEWKT('SRID=4674;POINT (-38.866066 -3.08603)'))) / (select extract(epoch from '2026-08-06 12:13:23'::timestamp) - extract(epoch from '2026-08-06 12:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866033 -3.086137)'), GeomFromEWKT('SRID=4674;POINT (-38.866066 -3.08603)'))) / (select extract(epoch from '2026-08-06 12:13:23'::timestamp) - extract(epoch from '2026-08-06 12:13: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'), 48137, 'SRID=4674;POINT (-38.866123 -3.085907)', '2026-08-06 12:13:27', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866066 -3.08603)'), GeomFromEWKT('SRID=4674;POINT (-38.866123 -3.085907)'))) / (select extract(epoch from '2026-08-06 12:13:27'::timestamp) - extract(epoch from '2026-08-06 12:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866066 -3.08603)'), GeomFromEWKT('SRID=4674;POINT (-38.866123 -3.085907)'))) / (select extract(epoch from '2026-08-06 12:13:27'::timestamp) - extract(epoch from '2026-08-06 12:13: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'), 48137, 'SRID=4674;POINT (-38.866159 -3.085763)', '2026-08-06 12:13:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866123 -3.085907)'), GeomFromEWKT('SRID=4674;POINT (-38.866159 -3.085763)'))) / (select extract(epoch from '2026-08-06 12:13:32'::timestamp) - extract(epoch from '2026-08-06 12:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866123 -3.085907)'), GeomFromEWKT('SRID=4674;POINT (-38.866159 -3.085763)'))) / (select extract(epoch from '2026-08-06 12:13:32'::timestamp) - extract(epoch from '2026-08-06 12:13: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'), 48137, 'SRID=4674;POINT (-38.866228 -3.08561)', '2026-08-06 12:13:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866159 -3.085763)'), GeomFromEWKT('SRID=4674;POINT (-38.866228 -3.08561)'))) / (select extract(epoch from '2026-08-06 12:13:37'::timestamp) - extract(epoch from '2026-08-06 12:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866159 -3.085763)'), GeomFromEWKT('SRID=4674;POINT (-38.866228 -3.08561)'))) / (select extract(epoch from '2026-08-06 12:13:37'::timestamp) - extract(epoch from '2026-08-06 12:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.866261 -3.085483)', '2026-08-06 12:13:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866228 -3.08561)'), GeomFromEWKT('SRID=4674;POINT (-38.866261 -3.085483)'))) / (select extract(epoch from '2026-08-06 12:13:42'::timestamp) - extract(epoch from '2026-08-06 12:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866228 -3.08561)'), GeomFromEWKT('SRID=4674;POINT (-38.866261 -3.085483)'))) / (select extract(epoch from '2026-08-06 12:13:42'::timestamp) - extract(epoch from '2026-08-06 12:13: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'), 48137, 'SRID=4674;POINT (-38.866307 -3.085322)', '2026-08-06 12:13:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866261 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-38.866307 -3.085322)'))) / (select extract(epoch from '2026-08-06 12:13:48'::timestamp) - extract(epoch from '2026-08-06 12:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866261 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-38.866307 -3.085322)'))) / (select extract(epoch from '2026-08-06 12:13:48'::timestamp) - extract(epoch from '2026-08-06 12:13: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'), 48137, 'SRID=4674;POINT (-38.866353 -3.085149)', '2026-08-06 12:13:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866307 -3.085322)'), GeomFromEWKT('SRID=4674;POINT (-38.866353 -3.085149)'))) / (select extract(epoch from '2026-08-06 12:13:54'::timestamp) - extract(epoch from '2026-08-06 12:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866307 -3.085322)'), GeomFromEWKT('SRID=4674;POINT (-38.866353 -3.085149)'))) / (select extract(epoch from '2026-08-06 12:13:54'::timestamp) - extract(epoch from '2026-08-06 12: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'), 48137, 'SRID=4674;POINT (-38.866438 -3.084985)', '2026-08-06 12:14:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866353 -3.085149)'), GeomFromEWKT('SRID=4674;POINT (-38.866438 -3.084985)'))) / (select extract(epoch from '2026-08-06 12:14:00'::timestamp) - extract(epoch from '2026-08-06 12:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866353 -3.085149)'), GeomFromEWKT('SRID=4674;POINT (-38.866438 -3.084985)'))) / (select extract(epoch from '2026-08-06 12:14:00'::timestamp) - extract(epoch from '2026-08-06 12:13: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'), 48137, 'SRID=4674;POINT (-38.866513 -3.084873)', '2026-08-06 12:14:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866438 -3.084985)'), GeomFromEWKT('SRID=4674;POINT (-38.866513 -3.084873)'))) / (select extract(epoch from '2026-08-06 12:14:05'::timestamp) - extract(epoch from '2026-08-06 12:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866438 -3.084985)'), GeomFromEWKT('SRID=4674;POINT (-38.866513 -3.084873)'))) / (select extract(epoch from '2026-08-06 12:14:05'::timestamp) - extract(epoch from '2026-08-06 12:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.866594 -3.084726)', '2026-08-06 12:14:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866513 -3.084873)'), GeomFromEWKT('SRID=4674;POINT (-38.866594 -3.084726)'))) / (select extract(epoch from '2026-08-06 12:14:10'::timestamp) - extract(epoch from '2026-08-06 12:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866513 -3.084873)'), GeomFromEWKT('SRID=4674;POINT (-38.866594 -3.084726)'))) / (select extract(epoch from '2026-08-06 12:14:10'::timestamp) - extract(epoch from '2026-08-06 12:14: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'), 48137, 'SRID=4674;POINT (-38.866671 -3.084594)', '2026-08-06 12:14:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866594 -3.084726)'), GeomFromEWKT('SRID=4674;POINT (-38.866671 -3.084594)'))) / (select extract(epoch from '2026-08-06 12:14:15'::timestamp) - extract(epoch from '2026-08-06 12:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866594 -3.084726)'), GeomFromEWKT('SRID=4674;POINT (-38.866671 -3.084594)'))) / (select extract(epoch from '2026-08-06 12:14:15'::timestamp) - extract(epoch from '2026-08-06 12: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'), 48137, 'SRID=4674;POINT (-38.866697 -3.084486)', '2026-08-06 12:14:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866671 -3.084594)'), GeomFromEWKT('SRID=4674;POINT (-38.866697 -3.084486)'))) / (select extract(epoch from '2026-08-06 12:14:19'::timestamp) - extract(epoch from '2026-08-06 12:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866671 -3.084594)'), GeomFromEWKT('SRID=4674;POINT (-38.866697 -3.084486)'))) / (select extract(epoch from '2026-08-06 12:14:19'::timestamp) - extract(epoch from '2026-08-06 12:14: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'), 48137, 'SRID=4674;POINT (-38.866735 -3.084313)', '2026-08-06 12:14:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866697 -3.084486)'), GeomFromEWKT('SRID=4674;POINT (-38.866735 -3.084313)'))) / (select extract(epoch from '2026-08-06 12:14:25'::timestamp) - extract(epoch from '2026-08-06 12:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866697 -3.084486)'), GeomFromEWKT('SRID=4674;POINT (-38.866735 -3.084313)'))) / (select extract(epoch from '2026-08-06 12:14:25'::timestamp) - extract(epoch from '2026-08-06 12:14: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'), 48137, 'SRID=4674;POINT (-38.866785 -3.084205)', '2026-08-06 12:14:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866735 -3.084313)'), GeomFromEWKT('SRID=4674;POINT (-38.866785 -3.084205)'))) / (select extract(epoch from '2026-08-06 12:14:29'::timestamp) - extract(epoch from '2026-08-06 12:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866735 -3.084313)'), GeomFromEWKT('SRID=4674;POINT (-38.866785 -3.084205)'))) / (select extract(epoch from '2026-08-06 12:14:29'::timestamp) - extract(epoch from '2026-08-06 12:14: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'), 48137, 'SRID=4674;POINT (-38.866811 -3.084047)', '2026-08-06 12:14:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866785 -3.084205)'), GeomFromEWKT('SRID=4674;POINT (-38.866811 -3.084047)'))) / (select extract(epoch from '2026-08-06 12:14:34'::timestamp) - extract(epoch from '2026-08-06 12:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866785 -3.084205)'), GeomFromEWKT('SRID=4674;POINT (-38.866811 -3.084047)'))) / (select extract(epoch from '2026-08-06 12:14:34'::timestamp) - extract(epoch from '2026-08-06 12:14: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'), 48137, 'SRID=4674;POINT (-38.86684 -3.08385)', '2026-08-06 12:14:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866811 -3.084047)'), GeomFromEWKT('SRID=4674;POINT (-38.86684 -3.08385)'))) / (select extract(epoch from '2026-08-06 12:14:40'::timestamp) - extract(epoch from '2026-08-06 12:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866811 -3.084047)'), GeomFromEWKT('SRID=4674;POINT (-38.86684 -3.08385)'))) / (select extract(epoch from '2026-08-06 12:14:40'::timestamp) - extract(epoch from '2026-08-06 12:14: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'), 48137, 'SRID=4674;POINT (-38.866899 -3.083696)', '2026-08-06 12:14:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86684 -3.08385)'), GeomFromEWKT('SRID=4674;POINT (-38.866899 -3.083696)'))) / (select extract(epoch from '2026-08-06 12:14:45'::timestamp) - extract(epoch from '2026-08-06 12:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86684 -3.08385)'), GeomFromEWKT('SRID=4674;POINT (-38.866899 -3.083696)'))) / (select extract(epoch from '2026-08-06 12:14:45'::timestamp) - extract(epoch from '2026-08-06 12:14: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'), 48137, 'SRID=4674;POINT (-38.866913 -3.083535)', '2026-08-06 12:14:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866899 -3.083696)'), GeomFromEWKT('SRID=4674;POINT (-38.866913 -3.083535)'))) / (select extract(epoch from '2026-08-06 12:14:50'::timestamp) - extract(epoch from '2026-08-06 12:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866899 -3.083696)'), GeomFromEWKT('SRID=4674;POINT (-38.866913 -3.083535)'))) / (select extract(epoch from '2026-08-06 12:14:50'::timestamp) - extract(epoch from '2026-08-06 12:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.86691 -3.083355)', '2026-08-06 12:14:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866913 -3.083535)'), GeomFromEWKT('SRID=4674;POINT (-38.86691 -3.083355)'))) / (select extract(epoch from '2026-08-06 12:14:56'::timestamp) - extract(epoch from '2026-08-06 12:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866913 -3.083535)'), GeomFromEWKT('SRID=4674;POINT (-38.86691 -3.083355)'))) / (select extract(epoch from '2026-08-06 12:14:56'::timestamp) - extract(epoch from '2026-08-06 12:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.866918 -3.083184)', '2026-08-06 12:15:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86691 -3.083355)'), GeomFromEWKT('SRID=4674;POINT (-38.866918 -3.083184)'))) / (select extract(epoch from '2026-08-06 12:15:02'::timestamp) - extract(epoch from '2026-08-06 12:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86691 -3.083355)'), GeomFromEWKT('SRID=4674;POINT (-38.866918 -3.083184)'))) / (select extract(epoch from '2026-08-06 12:15:02'::timestamp) - extract(epoch from '2026-08-06 12:14: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'), 48137, 'SRID=4674;POINT (-38.866897 -3.083041)', '2026-08-06 12:15:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866918 -3.083184)'), GeomFromEWKT('SRID=4674;POINT (-38.866897 -3.083041)'))) / (select extract(epoch from '2026-08-06 12:15:07'::timestamp) - extract(epoch from '2026-08-06 12:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866918 -3.083184)'), GeomFromEWKT('SRID=4674;POINT (-38.866897 -3.083041)'))) / (select extract(epoch from '2026-08-06 12:15:07'::timestamp) - extract(epoch from '2026-08-06 12:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.8669 -3.082897)', '2026-08-06 12:15:12', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866897 -3.083041)'), GeomFromEWKT('SRID=4674;POINT (-38.8669 -3.082897)'))) / (select extract(epoch from '2026-08-06 12:15:12'::timestamp) - extract(epoch from '2026-08-06 12:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866897 -3.083041)'), GeomFromEWKT('SRID=4674;POINT (-38.8669 -3.082897)'))) / (select extract(epoch from '2026-08-06 12:15:12'::timestamp) - extract(epoch from '2026-08-06 12:15: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'), 48137, 'SRID=4674;POINT (-38.866935 -3.082689)', '2026-08-06 12:15:19', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8669 -3.082897)'), GeomFromEWKT('SRID=4674;POINT (-38.866935 -3.082689)'))) / (select extract(epoch from '2026-08-06 12:15:19'::timestamp) - extract(epoch from '2026-08-06 12:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8669 -3.082897)'), GeomFromEWKT('SRID=4674;POINT (-38.866935 -3.082689)'))) / (select extract(epoch from '2026-08-06 12:15:19'::timestamp) - extract(epoch from '2026-08-06 12:15: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'), 48137, 'SRID=4674;POINT (-38.866976 -3.082498)', '2026-08-06 12:15:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866935 -3.082689)'), GeomFromEWKT('SRID=4674;POINT (-38.866976 -3.082498)'))) / (select extract(epoch from '2026-08-06 12:15:25'::timestamp) - extract(epoch from '2026-08-06 12:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866935 -3.082689)'), GeomFromEWKT('SRID=4674;POINT (-38.866976 -3.082498)'))) / (select extract(epoch from '2026-08-06 12:15:25'::timestamp) - extract(epoch from '2026-08-06 12:15: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'), 48137, 'SRID=4674;POINT (-38.867011 -3.08235)', '2026-08-06 12:15:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866976 -3.082498)'), GeomFromEWKT('SRID=4674;POINT (-38.867011 -3.08235)'))) / (select extract(epoch from '2026-08-06 12:15:30'::timestamp) - extract(epoch from '2026-08-06 12:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.866976 -3.082498)'), GeomFromEWKT('SRID=4674;POINT (-38.867011 -3.08235)'))) / (select extract(epoch from '2026-08-06 12:15:30'::timestamp) - extract(epoch from '2026-08-06 12:15: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'), 48137, 'SRID=4674;POINT (-38.867053 -3.082203)', '2026-08-06 12:15:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867011 -3.08235)'), GeomFromEWKT('SRID=4674;POINT (-38.867053 -3.082203)'))) / (select extract(epoch from '2026-08-06 12:15:35'::timestamp) - extract(epoch from '2026-08-06 12:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867011 -3.08235)'), GeomFromEWKT('SRID=4674;POINT (-38.867053 -3.082203)'))) / (select extract(epoch from '2026-08-06 12:15:35'::timestamp) - extract(epoch from '2026-08-06 12:15: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'), 48137, 'SRID=4674;POINT (-38.867087 -3.082056)', '2026-08-06 12:15:40', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867053 -3.082203)'), GeomFromEWKT('SRID=4674;POINT (-38.867087 -3.082056)'))) / (select extract(epoch from '2026-08-06 12:15:40'::timestamp) - extract(epoch from '2026-08-06 12:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867053 -3.082203)'), GeomFromEWKT('SRID=4674;POINT (-38.867087 -3.082056)'))) / (select extract(epoch from '2026-08-06 12:15:40'::timestamp) - extract(epoch from '2026-08-06 12:15: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'), 48137, 'SRID=4674;POINT (-38.867097 -3.081916)', '2026-08-06 12:15:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867087 -3.082056)'), GeomFromEWKT('SRID=4674;POINT (-38.867097 -3.081916)'))) / (select extract(epoch from '2026-08-06 12:15:45'::timestamp) - extract(epoch from '2026-08-06 12:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867087 -3.082056)'), GeomFromEWKT('SRID=4674;POINT (-38.867097 -3.081916)'))) / (select extract(epoch from '2026-08-06 12:15:45'::timestamp) - extract(epoch from '2026-08-06 12: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'), 48137, 'SRID=4674;POINT (-38.867108 -3.081772)', '2026-08-06 12:15:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867097 -3.081916)'), GeomFromEWKT('SRID=4674;POINT (-38.867108 -3.081772)'))) / (select extract(epoch from '2026-08-06 12:15:50'::timestamp) - extract(epoch from '2026-08-06 12:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867097 -3.081916)'), GeomFromEWKT('SRID=4674;POINT (-38.867108 -3.081772)'))) / (select extract(epoch from '2026-08-06 12:15:50'::timestamp) - extract(epoch from '2026-08-06 12:15: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'), 48137, 'SRID=4674;POINT (-38.867149 -3.081632)', '2026-08-06 12:15:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867108 -3.081772)'), GeomFromEWKT('SRID=4674;POINT (-38.867149 -3.081632)'))) / (select extract(epoch from '2026-08-06 12:15:55'::timestamp) - extract(epoch from '2026-08-06 12:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867108 -3.081772)'), GeomFromEWKT('SRID=4674;POINT (-38.867149 -3.081632)'))) / (select extract(epoch from '2026-08-06 12:15:55'::timestamp) - extract(epoch from '2026-08-06 12:15: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'), 48137, 'SRID=4674;POINT (-38.867182 -3.081503)', '2026-08-06 12:16:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867149 -3.081632)'), GeomFromEWKT('SRID=4674;POINT (-38.867182 -3.081503)'))) / (select extract(epoch from '2026-08-06 12:16:00'::timestamp) - extract(epoch from '2026-08-06 12:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867149 -3.081632)'), GeomFromEWKT('SRID=4674;POINT (-38.867182 -3.081503)'))) / (select extract(epoch from '2026-08-06 12:16:00'::timestamp) - extract(epoch from '2026-08-06 12:15: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'), 48137, 'SRID=4674;POINT (-38.867229 -3.081345)', '2026-08-06 12:16:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867182 -3.081503)'), GeomFromEWKT('SRID=4674;POINT (-38.867229 -3.081345)'))) / (select extract(epoch from '2026-08-06 12:16:06'::timestamp) - extract(epoch from '2026-08-06 12:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867182 -3.081503)'), GeomFromEWKT('SRID=4674;POINT (-38.867229 -3.081345)'))) / (select extract(epoch from '2026-08-06 12:16:06'::timestamp) - extract(epoch from '2026-08-06 12:16: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'), 48137, 'SRID=4674;POINT (-38.867253 -3.081215)', '2026-08-06 12:16:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867229 -3.081345)'), GeomFromEWKT('SRID=4674;POINT (-38.867253 -3.081215)'))) / (select extract(epoch from '2026-08-06 12:16:11'::timestamp) - extract(epoch from '2026-08-06 12:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867229 -3.081345)'), GeomFromEWKT('SRID=4674;POINT (-38.867253 -3.081215)'))) / (select extract(epoch from '2026-08-06 12:16:11'::timestamp) - extract(epoch from '2026-08-06 12:16: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'), 48137, 'SRID=4674;POINT (-38.867287 -3.08104)', '2026-08-06 12:16:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867253 -3.081215)'), GeomFromEWKT('SRID=4674;POINT (-38.867287 -3.08104)'))) / (select extract(epoch from '2026-08-06 12:16:17'::timestamp) - extract(epoch from '2026-08-06 12:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867253 -3.081215)'), GeomFromEWKT('SRID=4674;POINT (-38.867287 -3.08104)'))) / (select extract(epoch from '2026-08-06 12:16:17'::timestamp) - extract(epoch from '2026-08-06 12:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.867341 -3.080893)', '2026-08-06 12:16:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867287 -3.08104)'), GeomFromEWKT('SRID=4674;POINT (-38.867341 -3.080893)'))) / (select extract(epoch from '2026-08-06 12:16:22'::timestamp) - extract(epoch from '2026-08-06 12:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867287 -3.08104)'), GeomFromEWKT('SRID=4674;POINT (-38.867341 -3.080893)'))) / (select extract(epoch from '2026-08-06 12:16:22'::timestamp) - extract(epoch from '2026-08-06 12:16: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'), 48137, 'SRID=4674;POINT (-38.867395 -3.080723)', '2026-08-06 12:16:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867341 -3.080893)'), GeomFromEWKT('SRID=4674;POINT (-38.867395 -3.080723)'))) / (select extract(epoch from '2026-08-06 12:16:28'::timestamp) - extract(epoch from '2026-08-06 12:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867341 -3.080893)'), GeomFromEWKT('SRID=4674;POINT (-38.867395 -3.080723)'))) / (select extract(epoch from '2026-08-06 12:16:28'::timestamp) - extract(epoch from '2026-08-06 12:16: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'), 48137, 'SRID=4674;POINT (-38.867447 -3.080591)', '2026-08-06 12:16:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867395 -3.080723)'), GeomFromEWKT('SRID=4674;POINT (-38.867447 -3.080591)'))) / (select extract(epoch from '2026-08-06 12:16:33'::timestamp) - extract(epoch from '2026-08-06 12:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867395 -3.080723)'), GeomFromEWKT('SRID=4674;POINT (-38.867447 -3.080591)'))) / (select extract(epoch from '2026-08-06 12:16:33'::timestamp) - extract(epoch from '2026-08-06 12:16: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'), 48137, 'SRID=4674;POINT (-38.867523 -3.080446)', '2026-08-06 12:16:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867447 -3.080591)'), GeomFromEWKT('SRID=4674;POINT (-38.867523 -3.080446)'))) / (select extract(epoch from '2026-08-06 12:16:39'::timestamp) - extract(epoch from '2026-08-06 12:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867447 -3.080591)'), GeomFromEWKT('SRID=4674;POINT (-38.867523 -3.080446)'))) / (select extract(epoch from '2026-08-06 12:16:39'::timestamp) - extract(epoch from '2026-08-06 12:16: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'), 48137, 'SRID=4674;POINT (-38.867578 -3.080323)', '2026-08-06 12:16:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867523 -3.080446)'), GeomFromEWKT('SRID=4674;POINT (-38.867578 -3.080323)'))) / (select extract(epoch from '2026-08-06 12:16:44'::timestamp) - extract(epoch from '2026-08-06 12:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867523 -3.080446)'), GeomFromEWKT('SRID=4674;POINT (-38.867578 -3.080323)'))) / (select extract(epoch from '2026-08-06 12:16:44'::timestamp) - extract(epoch from '2026-08-06 12:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.867632 -3.080196)', '2026-08-06 12:16:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867578 -3.080323)'), GeomFromEWKT('SRID=4674;POINT (-38.867632 -3.080196)'))) / (select extract(epoch from '2026-08-06 12:16:49'::timestamp) - extract(epoch from '2026-08-06 12:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867578 -3.080323)'), GeomFromEWKT('SRID=4674;POINT (-38.867632 -3.080196)'))) / (select extract(epoch from '2026-08-06 12:16:49'::timestamp) - extract(epoch from '2026-08-06 12:16: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'), 48137, 'SRID=4674;POINT (-38.867679 -3.080036)', '2026-08-06 12:16:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867632 -3.080196)'), GeomFromEWKT('SRID=4674;POINT (-38.867679 -3.080036)'))) / (select extract(epoch from '2026-08-06 12:16:55'::timestamp) - extract(epoch from '2026-08-06 12:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867632 -3.080196)'), GeomFromEWKT('SRID=4674;POINT (-38.867679 -3.080036)'))) / (select extract(epoch from '2026-08-06 12:16:55'::timestamp) - extract(epoch from '2026-08-06 12:16: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'), 48137, 'SRID=4674;POINT (-38.867741 -3.079908)', '2026-08-06 12:17:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867679 -3.080036)'), GeomFromEWKT('SRID=4674;POINT (-38.867741 -3.079908)'))) / (select extract(epoch from '2026-08-06 12:17:00'::timestamp) - extract(epoch from '2026-08-06 12:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867679 -3.080036)'), GeomFromEWKT('SRID=4674;POINT (-38.867741 -3.079908)'))) / (select extract(epoch from '2026-08-06 12:17:00'::timestamp) - extract(epoch from '2026-08-06 12:16: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'), 48137, 'SRID=4674;POINT (-38.867826 -3.079776)', '2026-08-06 12:17:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867741 -3.079908)'), GeomFromEWKT('SRID=4674;POINT (-38.867826 -3.079776)'))) / (select extract(epoch from '2026-08-06 12:17:06'::timestamp) - extract(epoch from '2026-08-06 12:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867741 -3.079908)'), GeomFromEWKT('SRID=4674;POINT (-38.867826 -3.079776)'))) / (select extract(epoch from '2026-08-06 12:17:06'::timestamp) - extract(epoch from '2026-08-06 12:17: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'), 48137, 'SRID=4674;POINT (-38.867886 -3.079679)', '2026-08-06 12:17:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867826 -3.079776)'), GeomFromEWKT('SRID=4674;POINT (-38.867886 -3.079679)'))) / (select extract(epoch from '2026-08-06 12:17:10'::timestamp) - extract(epoch from '2026-08-06 12:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867826 -3.079776)'), GeomFromEWKT('SRID=4674;POINT (-38.867886 -3.079679)'))) / (select extract(epoch from '2026-08-06 12:17:10'::timestamp) - extract(epoch from '2026-08-06 12:17: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'), 48137, 'SRID=4674;POINT (-38.867944 -3.079562)', '2026-08-06 12:17:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867886 -3.079679)'), GeomFromEWKT('SRID=4674;POINT (-38.867944 -3.079562)'))) / (select extract(epoch from '2026-08-06 12:17:15'::timestamp) - extract(epoch from '2026-08-06 12:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867886 -3.079679)'), GeomFromEWKT('SRID=4674;POINT (-38.867944 -3.079562)'))) / (select extract(epoch from '2026-08-06 12:17:15'::timestamp) - extract(epoch from '2026-08-06 12:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.867997 -3.079421)', '2026-08-06 12:17:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867944 -3.079562)'), GeomFromEWKT('SRID=4674;POINT (-38.867997 -3.079421)'))) / (select extract(epoch from '2026-08-06 12:17:21'::timestamp) - extract(epoch from '2026-08-06 12:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867944 -3.079562)'), GeomFromEWKT('SRID=4674;POINT (-38.867997 -3.079421)'))) / (select extract(epoch from '2026-08-06 12:17:21'::timestamp) - extract(epoch from '2026-08-06 12:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.868069 -3.079276)', '2026-08-06 12:17:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867997 -3.079421)'), GeomFromEWKT('SRID=4674;POINT (-38.868069 -3.079276)'))) / (select extract(epoch from '2026-08-06 12:17:27'::timestamp) - extract(epoch from '2026-08-06 12:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.867997 -3.079421)'), GeomFromEWKT('SRID=4674;POINT (-38.868069 -3.079276)'))) / (select extract(epoch from '2026-08-06 12:17:27'::timestamp) - extract(epoch from '2026-08-06 12:17: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'), 48137, 'SRID=4674;POINT (-38.868164 -3.07909)', '2026-08-06 12:17:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868069 -3.079276)'), GeomFromEWKT('SRID=4674;POINT (-38.868164 -3.07909)'))) / (select extract(epoch from '2026-08-06 12:17:35'::timestamp) - extract(epoch from '2026-08-06 12:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868069 -3.079276)'), GeomFromEWKT('SRID=4674;POINT (-38.868164 -3.07909)'))) / (select extract(epoch from '2026-08-06 12:17:35'::timestamp) - extract(epoch from '2026-08-06 12:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.868223 -3.078913)', '2026-08-06 12:17:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868164 -3.07909)'), GeomFromEWKT('SRID=4674;POINT (-38.868223 -3.078913)'))) / (select extract(epoch from '2026-08-06 12:17:42'::timestamp) - extract(epoch from '2026-08-06 12:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868164 -3.07909)'), GeomFromEWKT('SRID=4674;POINT (-38.868223 -3.078913)'))) / (select extract(epoch from '2026-08-06 12:17:42'::timestamp) - extract(epoch from '2026-08-06 12:17:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.868283 -3.078753)', '2026-08-06 12:17:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868223 -3.078913)'), GeomFromEWKT('SRID=4674;POINT (-38.868283 -3.078753)'))) / (select extract(epoch from '2026-08-06 12:17:48'::timestamp) - extract(epoch from '2026-08-06 12:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868223 -3.078913)'), GeomFromEWKT('SRID=4674;POINT (-38.868283 -3.078753)'))) / (select extract(epoch from '2026-08-06 12:17:48'::timestamp) - extract(epoch from '2026-08-06 12:17: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'), 48137, 'SRID=4674;POINT (-38.868322 -3.078605)', '2026-08-06 12:17:53', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868283 -3.078753)'), GeomFromEWKT('SRID=4674;POINT (-38.868322 -3.078605)'))) / (select extract(epoch from '2026-08-06 12:17:53'::timestamp) - extract(epoch from '2026-08-06 12:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868283 -3.078753)'), GeomFromEWKT('SRID=4674;POINT (-38.868322 -3.078605)'))) / (select extract(epoch from '2026-08-06 12:17:53'::timestamp) - extract(epoch from '2026-08-06 12:17: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'), 48137, 'SRID=4674;POINT (-38.868333 -3.078492)', '2026-08-06 12:17:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868322 -3.078605)'), GeomFromEWKT('SRID=4674;POINT (-38.868333 -3.078492)'))) / (select extract(epoch from '2026-08-06 12:17:57'::timestamp) - extract(epoch from '2026-08-06 12:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868322 -3.078605)'), GeomFromEWKT('SRID=4674;POINT (-38.868333 -3.078492)'))) / (select extract(epoch from '2026-08-06 12:17:57'::timestamp) - extract(epoch from '2026-08-06 12:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.868392 -3.078313)', '2026-08-06 12:18:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868333 -3.078492)'), GeomFromEWKT('SRID=4674;POINT (-38.868392 -3.078313)'))) / (select extract(epoch from '2026-08-06 12:18:03'::timestamp) - extract(epoch from '2026-08-06 12:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868333 -3.078492)'), GeomFromEWKT('SRID=4674;POINT (-38.868392 -3.078313)'))) / (select extract(epoch from '2026-08-06 12:18:03'::timestamp) - extract(epoch from '2026-08-06 12:17: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'), 48137, 'SRID=4674;POINT (-38.868442 -3.078177)', '2026-08-06 12:18:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868392 -3.078313)'), GeomFromEWKT('SRID=4674;POINT (-38.868442 -3.078177)'))) / (select extract(epoch from '2026-08-06 12:18:08'::timestamp) - extract(epoch from '2026-08-06 12:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868392 -3.078313)'), GeomFromEWKT('SRID=4674;POINT (-38.868442 -3.078177)'))) / (select extract(epoch from '2026-08-06 12:18:08'::timestamp) - extract(epoch from '2026-08-06 12:18: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'), 48137, 'SRID=4674;POINT (-38.868504 -3.078019)', '2026-08-06 12:18:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868442 -3.078177)'), GeomFromEWKT('SRID=4674;POINT (-38.868504 -3.078019)'))) / (select extract(epoch from '2026-08-06 12:18:14'::timestamp) - extract(epoch from '2026-08-06 12:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868442 -3.078177)'), GeomFromEWKT('SRID=4674;POINT (-38.868504 -3.078019)'))) / (select extract(epoch from '2026-08-06 12:18:14'::timestamp) - extract(epoch from '2026-08-06 12:18: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'), 48137, 'SRID=4674;POINT (-38.868516 -3.077902)', '2026-08-06 12:18:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868504 -3.078019)'), GeomFromEWKT('SRID=4674;POINT (-38.868516 -3.077902)'))) / (select extract(epoch from '2026-08-06 12:18:18'::timestamp) - extract(epoch from '2026-08-06 12:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868504 -3.078019)'), GeomFromEWKT('SRID=4674;POINT (-38.868516 -3.077902)'))) / (select extract(epoch from '2026-08-06 12:18:18'::timestamp) - extract(epoch from '2026-08-06 12:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.868569 -3.077769)', '2026-08-06 12:18:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868516 -3.077902)'), GeomFromEWKT('SRID=4674;POINT (-38.868569 -3.077769)'))) / (select extract(epoch from '2026-08-06 12:18:23'::timestamp) - extract(epoch from '2026-08-06 12:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868516 -3.077902)'), GeomFromEWKT('SRID=4674;POINT (-38.868569 -3.077769)'))) / (select extract(epoch from '2026-08-06 12:18:23'::timestamp) - extract(epoch from '2026-08-06 12:18: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'), 48137, 'SRID=4674;POINT (-38.868624 -3.077672)', '2026-08-06 12:18:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868569 -3.077769)'), GeomFromEWKT('SRID=4674;POINT (-38.868624 -3.077672)'))) / (select extract(epoch from '2026-08-06 12:18:27'::timestamp) - extract(epoch from '2026-08-06 12:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868569 -3.077769)'), GeomFromEWKT('SRID=4674;POINT (-38.868624 -3.077672)'))) / (select extract(epoch from '2026-08-06 12:18:27'::timestamp) - extract(epoch from '2026-08-06 12:18: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'), 48137, 'SRID=4674;POINT (-38.868678 -3.077506)', '2026-08-06 12:18:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868624 -3.077672)'), GeomFromEWKT('SRID=4674;POINT (-38.868678 -3.077506)'))) / (select extract(epoch from '2026-08-06 12:18:33'::timestamp) - extract(epoch from '2026-08-06 12:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868624 -3.077672)'), GeomFromEWKT('SRID=4674;POINT (-38.868678 -3.077506)'))) / (select extract(epoch from '2026-08-06 12:18:33'::timestamp) - extract(epoch from '2026-08-06 12:18: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'), 48137, 'SRID=4674;POINT (-38.868747 -3.077329)', '2026-08-06 12:18:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868678 -3.077506)'), GeomFromEWKT('SRID=4674;POINT (-38.868747 -3.077329)'))) / (select extract(epoch from '2026-08-06 12:18:39'::timestamp) - extract(epoch from '2026-08-06 12:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868678 -3.077506)'), GeomFromEWKT('SRID=4674;POINT (-38.868747 -3.077329)'))) / (select extract(epoch from '2026-08-06 12:18:39'::timestamp) - extract(epoch from '2026-08-06 12:18: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'), 48137, 'SRID=4674;POINT (-38.868831 -3.077134)', '2026-08-06 12:18:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868747 -3.077329)'), GeomFromEWKT('SRID=4674;POINT (-38.868831 -3.077134)'))) / (select extract(epoch from '2026-08-06 12:18:46'::timestamp) - extract(epoch from '2026-08-06 12:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868747 -3.077329)'), GeomFromEWKT('SRID=4674;POINT (-38.868831 -3.077134)'))) / (select extract(epoch from '2026-08-06 12:18:46'::timestamp) - extract(epoch from '2026-08-06 12:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.868871 -3.076966)', '2026-08-06 12:18:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868831 -3.077134)'), GeomFromEWKT('SRID=4674;POINT (-38.868871 -3.076966)'))) / (select extract(epoch from '2026-08-06 12:18:52'::timestamp) - extract(epoch from '2026-08-06 12:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868831 -3.077134)'), GeomFromEWKT('SRID=4674;POINT (-38.868871 -3.076966)'))) / (select extract(epoch from '2026-08-06 12:18:52'::timestamp) - extract(epoch from '2026-08-06 12:18: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'), 48137, 'SRID=4674;POINT (-38.868927 -3.076828)', '2026-08-06 12:18:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868871 -3.076966)'), GeomFromEWKT('SRID=4674;POINT (-38.868927 -3.076828)'))) / (select extract(epoch from '2026-08-06 12:18:56'::timestamp) - extract(epoch from '2026-08-06 12:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868871 -3.076966)'), GeomFromEWKT('SRID=4674;POINT (-38.868927 -3.076828)'))) / (select extract(epoch from '2026-08-06 12:18:56'::timestamp) - extract(epoch from '2026-08-06 12:18: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'), 48137, 'SRID=4674;POINT (-38.86899 -3.076651)', '2026-08-06 12:19:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868927 -3.076828)'), GeomFromEWKT('SRID=4674;POINT (-38.86899 -3.076651)'))) / (select extract(epoch from '2026-08-06 12:19:02'::timestamp) - extract(epoch from '2026-08-06 12:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.868927 -3.076828)'), GeomFromEWKT('SRID=4674;POINT (-38.86899 -3.076651)'))) / (select extract(epoch from '2026-08-06 12:19:02'::timestamp) - extract(epoch from '2026-08-06 12:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.869054 -3.076483)', '2026-08-06 12:19:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86899 -3.076651)'), GeomFromEWKT('SRID=4674;POINT (-38.869054 -3.076483)'))) / (select extract(epoch from '2026-08-06 12:19:08'::timestamp) - extract(epoch from '2026-08-06 12:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86899 -3.076651)'), GeomFromEWKT('SRID=4674;POINT (-38.869054 -3.076483)'))) / (select extract(epoch from '2026-08-06 12:19:08'::timestamp) - extract(epoch from '2026-08-06 12:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.869079 -3.076351)', '2026-08-06 12:19:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869054 -3.076483)'), GeomFromEWKT('SRID=4674;POINT (-38.869079 -3.076351)'))) / (select extract(epoch from '2026-08-06 12:19:12'::timestamp) - extract(epoch from '2026-08-06 12:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869054 -3.076483)'), GeomFromEWKT('SRID=4674;POINT (-38.869079 -3.076351)'))) / (select extract(epoch from '2026-08-06 12:19:12'::timestamp) - extract(epoch from '2026-08-06 12:19: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'), 48137, 'SRID=4674;POINT (-38.869089 -3.076295)', '2026-08-06 12:19:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869079 -3.076351)'), GeomFromEWKT('SRID=4674;POINT (-38.869089 -3.076295)'))) / (select extract(epoch from '2026-08-06 12:19:14'::timestamp) - extract(epoch from '2026-08-06 12:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869079 -3.076351)'), GeomFromEWKT('SRID=4674;POINT (-38.869089 -3.076295)'))) / (select extract(epoch from '2026-08-06 12:19:14'::timestamp) - extract(epoch from '2026-08-06 12:19: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'), 48137, 'SRID=4674;POINT (-38.869118 -3.076236)', '2026-08-06 12:19:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869089 -3.076295)'), GeomFromEWKT('SRID=4674;POINT (-38.869118 -3.076236)'))) / (select extract(epoch from '2026-08-06 12:19:16'::timestamp) - extract(epoch from '2026-08-06 12:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869089 -3.076295)'), GeomFromEWKT('SRID=4674;POINT (-38.869118 -3.076236)'))) / (select extract(epoch from '2026-08-06 12:19:16'::timestamp) - extract(epoch from '2026-08-06 12:19: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'), 48137, 'SRID=4674;POINT (-38.869126 -3.076082)', '2026-08-06 12:19:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869118 -3.076236)'), GeomFromEWKT('SRID=4674;POINT (-38.869126 -3.076082)'))) / (select extract(epoch from '2026-08-06 12:19:21'::timestamp) - extract(epoch from '2026-08-06 12:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869118 -3.076236)'), GeomFromEWKT('SRID=4674;POINT (-38.869126 -3.076082)'))) / (select extract(epoch from '2026-08-06 12:19:21'::timestamp) - extract(epoch from '2026-08-06 12:19: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'), 48137, 'SRID=4674;POINT (-38.869167 -3.075873)', '2026-08-06 12:19:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869126 -3.076082)'), GeomFromEWKT('SRID=4674;POINT (-38.869167 -3.075873)'))) / (select extract(epoch from '2026-08-06 12:19:28'::timestamp) - extract(epoch from '2026-08-06 12:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869126 -3.076082)'), GeomFromEWKT('SRID=4674;POINT (-38.869167 -3.075873)'))) / (select extract(epoch from '2026-08-06 12:19:28'::timestamp) - extract(epoch from '2026-08-06 12:19: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'), 48137, 'SRID=4674;POINT (-38.869203 -3.07568)', '2026-08-06 12:19:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869167 -3.075873)'), GeomFromEWKT('SRID=4674;POINT (-38.869203 -3.07568)'))) / (select extract(epoch from '2026-08-06 12:19:34'::timestamp) - extract(epoch from '2026-08-06 12:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869167 -3.075873)'), GeomFromEWKT('SRID=4674;POINT (-38.869203 -3.07568)'))) / (select extract(epoch from '2026-08-06 12:19:34'::timestamp) - extract(epoch from '2026-08-06 12:19: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'), 48137, 'SRID=4674;POINT (-38.869235 -3.075566)', '2026-08-06 12:19:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869203 -3.07568)'), GeomFromEWKT('SRID=4674;POINT (-38.869235 -3.075566)'))) / (select extract(epoch from '2026-08-06 12:19:38'::timestamp) - extract(epoch from '2026-08-06 12:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869203 -3.07568)'), GeomFromEWKT('SRID=4674;POINT (-38.869235 -3.075566)'))) / (select extract(epoch from '2026-08-06 12:19:38'::timestamp) - extract(epoch from '2026-08-06 12:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.869262 -3.075459)', '2026-08-06 12:19:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869235 -3.075566)'), GeomFromEWKT('SRID=4674;POINT (-38.869262 -3.075459)'))) / (select extract(epoch from '2026-08-06 12:19:41'::timestamp) - extract(epoch from '2026-08-06 12:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869235 -3.075566)'), GeomFromEWKT('SRID=4674;POINT (-38.869262 -3.075459)'))) / (select extract(epoch from '2026-08-06 12:19:41'::timestamp) - extract(epoch from '2026-08-06 12:19: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'), 48137, 'SRID=4674;POINT (-38.869281 -3.075425)', '2026-08-06 12:19:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869262 -3.075459)'), GeomFromEWKT('SRID=4674;POINT (-38.869281 -3.075425)'))) / (select extract(epoch from '2026-08-06 12:19:42'::timestamp) - extract(epoch from '2026-08-06 12:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869262 -3.075459)'), GeomFromEWKT('SRID=4674;POINT (-38.869281 -3.075425)'))) / (select extract(epoch from '2026-08-06 12:19:42'::timestamp) - extract(epoch from '2026-08-06 12:19: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'), 48137, 'SRID=4674;POINT (-38.869294 -3.075316)', '2026-08-06 12:19:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869281 -3.075425)'), GeomFromEWKT('SRID=4674;POINT (-38.869294 -3.075316)'))) / (select extract(epoch from '2026-08-06 12:19:46'::timestamp) - extract(epoch from '2026-08-06 12:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869281 -3.075425)'), GeomFromEWKT('SRID=4674;POINT (-38.869294 -3.075316)'))) / (select extract(epoch from '2026-08-06 12:19:46'::timestamp) - extract(epoch from '2026-08-06 12:19: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'), 48137, 'SRID=4674;POINT (-38.869347 -3.075205)', '2026-08-06 12:19:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869294 -3.075316)'), GeomFromEWKT('SRID=4674;POINT (-38.869347 -3.075205)'))) / (select extract(epoch from '2026-08-06 12:19:50'::timestamp) - extract(epoch from '2026-08-06 12:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869294 -3.075316)'), GeomFromEWKT('SRID=4674;POINT (-38.869347 -3.075205)'))) / (select extract(epoch from '2026-08-06 12:19:50'::timestamp) - extract(epoch from '2026-08-06 12:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.869411 -3.075064)', '2026-08-06 12:19:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869347 -3.075205)'), GeomFromEWKT('SRID=4674;POINT (-38.869411 -3.075064)'))) / (select extract(epoch from '2026-08-06 12:19:56'::timestamp) - extract(epoch from '2026-08-06 12:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869347 -3.075205)'), GeomFromEWKT('SRID=4674;POINT (-38.869411 -3.075064)'))) / (select extract(epoch from '2026-08-06 12:19:56'::timestamp) - extract(epoch from '2026-08-06 12:19: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'), 48137, 'SRID=4674;POINT (-38.869443 -3.074963)', '2026-08-06 12:20:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869411 -3.075064)'), GeomFromEWKT('SRID=4674;POINT (-38.869443 -3.074963)'))) / (select extract(epoch from '2026-08-06 12:20:00'::timestamp) - extract(epoch from '2026-08-06 12:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869411 -3.075064)'), GeomFromEWKT('SRID=4674;POINT (-38.869443 -3.074963)'))) / (select extract(epoch from '2026-08-06 12:20:00'::timestamp) - extract(epoch from '2026-08-06 12:19: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'), 48137, 'SRID=4674;POINT (-38.86948 -3.074826)', '2026-08-06 12:20:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869443 -3.074963)'), GeomFromEWKT('SRID=4674;POINT (-38.86948 -3.074826)'))) / (select extract(epoch from '2026-08-06 12:20:05'::timestamp) - extract(epoch from '2026-08-06 12:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869443 -3.074963)'), GeomFromEWKT('SRID=4674;POINT (-38.86948 -3.074826)'))) / (select extract(epoch from '2026-08-06 12:20:05'::timestamp) - extract(epoch from '2026-08-06 12:20: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'), 48137, 'SRID=4674;POINT (-38.869518 -3.074701)', '2026-08-06 12:20:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86948 -3.074826)'), GeomFromEWKT('SRID=4674;POINT (-38.869518 -3.074701)'))) / (select extract(epoch from '2026-08-06 12:20:09'::timestamp) - extract(epoch from '2026-08-06 12:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.86948 -3.074826)'), GeomFromEWKT('SRID=4674;POINT (-38.869518 -3.074701)'))) / (select extract(epoch from '2026-08-06 12:20:09'::timestamp) - extract(epoch from '2026-08-06 12:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.869546 -3.074605)', '2026-08-06 12:20:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869518 -3.074701)'), GeomFromEWKT('SRID=4674;POINT (-38.869546 -3.074605)'))) / (select extract(epoch from '2026-08-06 12:20:13'::timestamp) - extract(epoch from '2026-08-06 12:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869518 -3.074701)'), GeomFromEWKT('SRID=4674;POINT (-38.869546 -3.074605)'))) / (select extract(epoch from '2026-08-06 12:20:13'::timestamp) - extract(epoch from '2026-08-06 12:20: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'), 48137, 'SRID=4674;POINT (-38.869595 -3.074489)', '2026-08-06 12:20:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869546 -3.074605)'), GeomFromEWKT('SRID=4674;POINT (-38.869595 -3.074489)'))) / (select extract(epoch from '2026-08-06 12:20:17'::timestamp) - extract(epoch from '2026-08-06 12:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869546 -3.074605)'), GeomFromEWKT('SRID=4674;POINT (-38.869595 -3.074489)'))) / (select extract(epoch from '2026-08-06 12:20:17'::timestamp) - extract(epoch from '2026-08-06 12:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.869643 -3.074372)', '2026-08-06 12:20:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869595 -3.074489)'), GeomFromEWKT('SRID=4674;POINT (-38.869643 -3.074372)'))) / (select extract(epoch from '2026-08-06 12:20:22'::timestamp) - extract(epoch from '2026-08-06 12:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869595 -3.074489)'), GeomFromEWKT('SRID=4674;POINT (-38.869643 -3.074372)'))) / (select extract(epoch from '2026-08-06 12:20:22'::timestamp) - extract(epoch from '2026-08-06 12:20: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'), 48137, 'SRID=4674;POINT (-38.869692 -3.074231)', '2026-08-06 12:20:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869643 -3.074372)'), GeomFromEWKT('SRID=4674;POINT (-38.869692 -3.074231)'))) / (select extract(epoch from '2026-08-06 12:20:27'::timestamp) - extract(epoch from '2026-08-06 12:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869643 -3.074372)'), GeomFromEWKT('SRID=4674;POINT (-38.869692 -3.074231)'))) / (select extract(epoch from '2026-08-06 12:20:27'::timestamp) - extract(epoch from '2026-08-06 12:20: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'), 48137, 'SRID=4674;POINT (-38.869759 -3.074093)', '2026-08-06 12:20:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869692 -3.074231)'), GeomFromEWKT('SRID=4674;POINT (-38.869759 -3.074093)'))) / (select extract(epoch from '2026-08-06 12:20:32'::timestamp) - extract(epoch from '2026-08-06 12:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869692 -3.074231)'), GeomFromEWKT('SRID=4674;POINT (-38.869759 -3.074093)'))) / (select extract(epoch from '2026-08-06 12:20:32'::timestamp) - extract(epoch from '2026-08-06 12:20: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'), 48137, 'SRID=4674;POINT (-38.869801 -3.07399)', '2026-08-06 12:20:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869759 -3.074093)'), GeomFromEWKT('SRID=4674;POINT (-38.869801 -3.07399)'))) / (select extract(epoch from '2026-08-06 12:20:36'::timestamp) - extract(epoch from '2026-08-06 12:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869759 -3.074093)'), GeomFromEWKT('SRID=4674;POINT (-38.869801 -3.07399)'))) / (select extract(epoch from '2026-08-06 12:20:36'::timestamp) - extract(epoch from '2026-08-06 12:20: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'), 48137, 'SRID=4674;POINT (-38.869878 -3.073885)', '2026-08-06 12:20:40', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869801 -3.07399)'), GeomFromEWKT('SRID=4674;POINT (-38.869878 -3.073885)'))) / (select extract(epoch from '2026-08-06 12:20:40'::timestamp) - extract(epoch from '2026-08-06 12:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869801 -3.07399)'), GeomFromEWKT('SRID=4674;POINT (-38.869878 -3.073885)'))) / (select extract(epoch from '2026-08-06 12:20:40'::timestamp) - extract(epoch from '2026-08-06 12:20: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'), 48137, 'SRID=4674;POINT (-38.869942 -3.073706)', '2026-08-06 12:20:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869878 -3.073885)'), GeomFromEWKT('SRID=4674;POINT (-38.869942 -3.073706)'))) / (select extract(epoch from '2026-08-06 12:20:47'::timestamp) - extract(epoch from '2026-08-06 12:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869878 -3.073885)'), GeomFromEWKT('SRID=4674;POINT (-38.869942 -3.073706)'))) / (select extract(epoch from '2026-08-06 12:20:47'::timestamp) - extract(epoch from '2026-08-06 12:20: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'), 48137, 'SRID=4674;POINT (-38.869981 -3.073561)', '2026-08-06 12:20:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869942 -3.073706)'), GeomFromEWKT('SRID=4674;POINT (-38.869981 -3.073561)'))) / (select extract(epoch from '2026-08-06 12:20:52'::timestamp) - extract(epoch from '2026-08-06 12:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869942 -3.073706)'), GeomFromEWKT('SRID=4674;POINT (-38.869981 -3.073561)'))) / (select extract(epoch from '2026-08-06 12:20:52'::timestamp) - extract(epoch from '2026-08-06 12:20: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'), 48137, 'SRID=4674;POINT (-38.870043 -3.073409)', '2026-08-06 12:20:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869981 -3.073561)'), GeomFromEWKT('SRID=4674;POINT (-38.870043 -3.073409)'))) / (select extract(epoch from '2026-08-06 12:20:58'::timestamp) - extract(epoch from '2026-08-06 12:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.869981 -3.073561)'), GeomFromEWKT('SRID=4674;POINT (-38.870043 -3.073409)'))) / (select extract(epoch from '2026-08-06 12:20:58'::timestamp) - extract(epoch from '2026-08-06 12:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.870119 -3.073302)', '2026-08-06 12:21:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870043 -3.073409)'), GeomFromEWKT('SRID=4674;POINT (-38.870119 -3.073302)'))) / (select extract(epoch from '2026-08-06 12:21:03'::timestamp) - extract(epoch from '2026-08-06 12:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870043 -3.073409)'), GeomFromEWKT('SRID=4674;POINT (-38.870119 -3.073302)'))) / (select extract(epoch from '2026-08-06 12:21:03'::timestamp) - extract(epoch from '2026-08-06 12:20: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'), 48137, 'SRID=4674;POINT (-38.870191 -3.073141)', '2026-08-06 12:21:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870119 -3.073302)'), GeomFromEWKT('SRID=4674;POINT (-38.870191 -3.073141)'))) / (select extract(epoch from '2026-08-06 12:21:10'::timestamp) - extract(epoch from '2026-08-06 12:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870119 -3.073302)'), GeomFromEWKT('SRID=4674;POINT (-38.870191 -3.073141)'))) / (select extract(epoch from '2026-08-06 12:21:10'::timestamp) - extract(epoch from '2026-08-06 12:21: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'), 48137, 'SRID=4674;POINT (-38.87026 -3.073031)', '2026-08-06 12:21:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870191 -3.073141)'), GeomFromEWKT('SRID=4674;POINT (-38.87026 -3.073031)'))) / (select extract(epoch from '2026-08-06 12:21:14'::timestamp) - extract(epoch from '2026-08-06 12:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870191 -3.073141)'), GeomFromEWKT('SRID=4674;POINT (-38.87026 -3.073031)'))) / (select extract(epoch from '2026-08-06 12:21:14'::timestamp) - extract(epoch from '2026-08-06 12:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.870275 -3.072989)', '2026-08-06 12:21:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87026 -3.073031)'), GeomFromEWKT('SRID=4674;POINT (-38.870275 -3.072989)'))) / (select extract(epoch from '2026-08-06 12:21:16'::timestamp) - extract(epoch from '2026-08-06 12:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87026 -3.073031)'), GeomFromEWKT('SRID=4674;POINT (-38.870275 -3.072989)'))) / (select extract(epoch from '2026-08-06 12:21:16'::timestamp) - extract(epoch from '2026-08-06 12: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'), 48137, 'SRID=4674;POINT (-38.870319 -3.072934)', '2026-08-06 12:21:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870275 -3.072989)'), GeomFromEWKT('SRID=4674;POINT (-38.870319 -3.072934)'))) / (select extract(epoch from '2026-08-06 12:21:18'::timestamp) - extract(epoch from '2026-08-06 12:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870275 -3.072989)'), GeomFromEWKT('SRID=4674;POINT (-38.870319 -3.072934)'))) / (select extract(epoch from '2026-08-06 12:21:18'::timestamp) - extract(epoch from '2026-08-06 12:21: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'), 48137, 'SRID=4674;POINT (-38.870361 -3.07284)', '2026-08-06 12:21:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870319 -3.072934)'), GeomFromEWKT('SRID=4674;POINT (-38.870361 -3.07284)'))) / (select extract(epoch from '2026-08-06 12:21:22'::timestamp) - extract(epoch from '2026-08-06 12:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870319 -3.072934)'), GeomFromEWKT('SRID=4674;POINT (-38.870361 -3.07284)'))) / (select extract(epoch from '2026-08-06 12:21:22'::timestamp) - extract(epoch from '2026-08-06 12:21: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'), 48137, 'SRID=4674;POINT (-38.870428 -3.072725)', '2026-08-06 12:21:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870361 -3.07284)'), GeomFromEWKT('SRID=4674;POINT (-38.870428 -3.072725)'))) / (select extract(epoch from '2026-08-06 12:21:27'::timestamp) - extract(epoch from '2026-08-06 12:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870361 -3.07284)'), GeomFromEWKT('SRID=4674;POINT (-38.870428 -3.072725)'))) / (select extract(epoch from '2026-08-06 12:21:27'::timestamp) - extract(epoch from '2026-08-06 12:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.870497 -3.072596)', '2026-08-06 12:21:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870428 -3.072725)'), GeomFromEWKT('SRID=4674;POINT (-38.870497 -3.072596)'))) / (select extract(epoch from '2026-08-06 12:21:33'::timestamp) - extract(epoch from '2026-08-06 12:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870428 -3.072725)'), GeomFromEWKT('SRID=4674;POINT (-38.870497 -3.072596)'))) / (select extract(epoch from '2026-08-06 12:21:33'::timestamp) - extract(epoch from '2026-08-06 12:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.870572 -3.072485)', '2026-08-06 12:21:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870497 -3.072596)'), GeomFromEWKT('SRID=4674;POINT (-38.870572 -3.072485)'))) / (select extract(epoch from '2026-08-06 12:21:38'::timestamp) - extract(epoch from '2026-08-06 12:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870497 -3.072596)'), GeomFromEWKT('SRID=4674;POINT (-38.870572 -3.072485)'))) / (select extract(epoch from '2026-08-06 12:21:38'::timestamp) - extract(epoch from '2026-08-06 12:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.870589 -3.072442)', '2026-08-06 12:21:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870572 -3.072485)'), GeomFromEWKT('SRID=4674;POINT (-38.870589 -3.072442)'))) / (select extract(epoch from '2026-08-06 12:21:40'::timestamp) - extract(epoch from '2026-08-06 12:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870572 -3.072485)'), GeomFromEWKT('SRID=4674;POINT (-38.870589 -3.072442)'))) / (select extract(epoch from '2026-08-06 12:21:40'::timestamp) - extract(epoch from '2026-08-06 12:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.87062 -3.072401)', '2026-08-06 12:21:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870589 -3.072442)'), GeomFromEWKT('SRID=4674;POINT (-38.87062 -3.072401)'))) / (select extract(epoch from '2026-08-06 12:21:42'::timestamp) - extract(epoch from '2026-08-06 12:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870589 -3.072442)'), GeomFromEWKT('SRID=4674;POINT (-38.87062 -3.072401)'))) / (select extract(epoch from '2026-08-06 12:21:42'::timestamp) - extract(epoch from '2026-08-06 12:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.870704 -3.072275)', '2026-08-06 12:21:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87062 -3.072401)'), GeomFromEWKT('SRID=4674;POINT (-38.870704 -3.072275)'))) / (select extract(epoch from '2026-08-06 12:21:48'::timestamp) - extract(epoch from '2026-08-06 12:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87062 -3.072401)'), GeomFromEWKT('SRID=4674;POINT (-38.870704 -3.072275)'))) / (select extract(epoch from '2026-08-06 12:21:48'::timestamp) - extract(epoch from '2026-08-06 12:21: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'), 48137, 'SRID=4674;POINT (-38.870786 -3.07217)', '2026-08-06 12:21:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870704 -3.072275)'), GeomFromEWKT('SRID=4674;POINT (-38.870786 -3.07217)'))) / (select extract(epoch from '2026-08-06 12:21:53'::timestamp) - extract(epoch from '2026-08-06 12:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870704 -3.072275)'), GeomFromEWKT('SRID=4674;POINT (-38.870786 -3.07217)'))) / (select extract(epoch from '2026-08-06 12:21:53'::timestamp) - extract(epoch from '2026-08-06 12:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.870861 -3.072046)', '2026-08-06 12:21:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870786 -3.07217)'), GeomFromEWKT('SRID=4674;POINT (-38.870861 -3.072046)'))) / (select extract(epoch from '2026-08-06 12:21:59'::timestamp) - extract(epoch from '2026-08-06 12:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870786 -3.07217)'), GeomFromEWKT('SRID=4674;POINT (-38.870861 -3.072046)'))) / (select extract(epoch from '2026-08-06 12:21:59'::timestamp) - extract(epoch from '2026-08-06 12:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.870919 -3.071945)', '2026-08-06 12:22:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870861 -3.072046)'), GeomFromEWKT('SRID=4674;POINT (-38.870919 -3.071945)'))) / (select extract(epoch from '2026-08-06 12:22:04'::timestamp) - extract(epoch from '2026-08-06 12:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870861 -3.072046)'), GeomFromEWKT('SRID=4674;POINT (-38.870919 -3.071945)'))) / (select extract(epoch from '2026-08-06 12:22:04'::timestamp) - extract(epoch from '2026-08-06 12:21:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.87102 -3.071811)', '2026-08-06 12:22:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870919 -3.071945)'), GeomFromEWKT('SRID=4674;POINT (-38.87102 -3.071811)'))) / (select extract(epoch from '2026-08-06 12:22:11'::timestamp) - extract(epoch from '2026-08-06 12:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.870919 -3.071945)'), GeomFromEWKT('SRID=4674;POINT (-38.87102 -3.071811)'))) / (select extract(epoch from '2026-08-06 12:22:11'::timestamp) - extract(epoch from '2026-08-06 12:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.871104 -3.071665)', '2026-08-06 12:22:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87102 -3.071811)'), GeomFromEWKT('SRID=4674;POINT (-38.871104 -3.071665)'))) / (select extract(epoch from '2026-08-06 12:22:17'::timestamp) - extract(epoch from '2026-08-06 12:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87102 -3.071811)'), GeomFromEWKT('SRID=4674;POINT (-38.871104 -3.071665)'))) / (select extract(epoch from '2026-08-06 12:22:17'::timestamp) - extract(epoch from '2026-08-06 12:22: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'), 48137, 'SRID=4674;POINT (-38.871188 -3.071512)', '2026-08-06 12:22:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871104 -3.071665)'), GeomFromEWKT('SRID=4674;POINT (-38.871188 -3.071512)'))) / (select extract(epoch from '2026-08-06 12:22:23'::timestamp) - extract(epoch from '2026-08-06 12:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871104 -3.071665)'), GeomFromEWKT('SRID=4674;POINT (-38.871188 -3.071512)'))) / (select extract(epoch from '2026-08-06 12:22:23'::timestamp) - extract(epoch from '2026-08-06 12:22: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'), 48137, 'SRID=4674;POINT (-38.871275 -3.071379)', '2026-08-06 12:22:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871188 -3.071512)'), GeomFromEWKT('SRID=4674;POINT (-38.871275 -3.071379)'))) / (select extract(epoch from '2026-08-06 12:22:29'::timestamp) - extract(epoch from '2026-08-06 12:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871188 -3.071512)'), GeomFromEWKT('SRID=4674;POINT (-38.871275 -3.071379)'))) / (select extract(epoch from '2026-08-06 12:22:29'::timestamp) - extract(epoch from '2026-08-06 12:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.871352 -3.071267)', '2026-08-06 12:22:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871275 -3.071379)'), GeomFromEWKT('SRID=4674;POINT (-38.871352 -3.071267)'))) / (select extract(epoch from '2026-08-06 12:22:34'::timestamp) - extract(epoch from '2026-08-06 12:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871275 -3.071379)'), GeomFromEWKT('SRID=4674;POINT (-38.871352 -3.071267)'))) / (select extract(epoch from '2026-08-06 12:22:34'::timestamp) - extract(epoch from '2026-08-06 12: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'), 48137, 'SRID=4674;POINT (-38.871407 -3.071138)', '2026-08-06 12:22:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871352 -3.071267)'), GeomFromEWKT('SRID=4674;POINT (-38.871407 -3.071138)'))) / (select extract(epoch from '2026-08-06 12:22:39'::timestamp) - extract(epoch from '2026-08-06 12:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871352 -3.071267)'), GeomFromEWKT('SRID=4674;POINT (-38.871407 -3.071138)'))) / (select extract(epoch from '2026-08-06 12:22:39'::timestamp) - extract(epoch from '2026-08-06 12:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.871465 -3.071004)', '2026-08-06 12:22:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871407 -3.071138)'), GeomFromEWKT('SRID=4674;POINT (-38.871465 -3.071004)'))) / (select extract(epoch from '2026-08-06 12:22:44'::timestamp) - extract(epoch from '2026-08-06 12:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871407 -3.071138)'), GeomFromEWKT('SRID=4674;POINT (-38.871465 -3.071004)'))) / (select extract(epoch from '2026-08-06 12:22:44'::timestamp) - extract(epoch from '2026-08-06 12:22: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'), 48137, 'SRID=4674;POINT (-38.871541 -3.070885)', '2026-08-06 12:22:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871465 -3.071004)'), GeomFromEWKT('SRID=4674;POINT (-38.871541 -3.070885)'))) / (select extract(epoch from '2026-08-06 12:22:49'::timestamp) - extract(epoch from '2026-08-06 12:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871465 -3.071004)'), GeomFromEWKT('SRID=4674;POINT (-38.871541 -3.070885)'))) / (select extract(epoch from '2026-08-06 12:22:49'::timestamp) - extract(epoch from '2026-08-06 12:22: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'), 48137, 'SRID=4674;POINT (-38.871611 -3.070766)', '2026-08-06 12:22:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871541 -3.070885)'), GeomFromEWKT('SRID=4674;POINT (-38.871611 -3.070766)'))) / (select extract(epoch from '2026-08-06 12:22:54'::timestamp) - extract(epoch from '2026-08-06 12:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871541 -3.070885)'), GeomFromEWKT('SRID=4674;POINT (-38.871611 -3.070766)'))) / (select extract(epoch from '2026-08-06 12:22:54'::timestamp) - extract(epoch from '2026-08-06 12:22: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'), 48137, 'SRID=4674;POINT (-38.871676 -3.070638)', '2026-08-06 12:22:59', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871611 -3.070766)'), GeomFromEWKT('SRID=4674;POINT (-38.871676 -3.070638)'))) / (select extract(epoch from '2026-08-06 12:22:59'::timestamp) - extract(epoch from '2026-08-06 12:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871611 -3.070766)'), GeomFromEWKT('SRID=4674;POINT (-38.871676 -3.070638)'))) / (select extract(epoch from '2026-08-06 12:22:59'::timestamp) - extract(epoch from '2026-08-06 12:22: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'), 48137, 'SRID=4674;POINT (-38.871736 -3.070553)', '2026-08-06 12:23:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871676 -3.070638)'), GeomFromEWKT('SRID=4674;POINT (-38.871736 -3.070553)'))) / (select extract(epoch from '2026-08-06 12:23:03'::timestamp) - extract(epoch from '2026-08-06 12:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871676 -3.070638)'), GeomFromEWKT('SRID=4674;POINT (-38.871736 -3.070553)'))) / (select extract(epoch from '2026-08-06 12:23:03'::timestamp) - extract(epoch from '2026-08-06 12:22: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'), 48137, 'SRID=4674;POINT (-38.871818 -3.070428)', '2026-08-06 12:23:08', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871736 -3.070553)'), GeomFromEWKT('SRID=4674;POINT (-38.871818 -3.070428)'))) / (select extract(epoch from '2026-08-06 12:23:08'::timestamp) - extract(epoch from '2026-08-06 12:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871736 -3.070553)'), GeomFromEWKT('SRID=4674;POINT (-38.871818 -3.070428)'))) / (select extract(epoch from '2026-08-06 12:23:08'::timestamp) - extract(epoch from '2026-08-06 12:23: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'), 48137, 'SRID=4674;POINT (-38.871882 -3.070311)', '2026-08-06 12:23:13', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871818 -3.070428)'), GeomFromEWKT('SRID=4674;POINT (-38.871882 -3.070311)'))) / (select extract(epoch from '2026-08-06 12:23:13'::timestamp) - extract(epoch from '2026-08-06 12:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871818 -3.070428)'), GeomFromEWKT('SRID=4674;POINT (-38.871882 -3.070311)'))) / (select extract(epoch from '2026-08-06 12:23:13'::timestamp) - extract(epoch from '2026-08-06 12:23: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'), 48137, 'SRID=4674;POINT (-38.871966 -3.070168)', '2026-08-06 12:23:19', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871882 -3.070311)'), GeomFromEWKT('SRID=4674;POINT (-38.871966 -3.070168)'))) / (select extract(epoch from '2026-08-06 12:23:19'::timestamp) - extract(epoch from '2026-08-06 12:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871882 -3.070311)'), GeomFromEWKT('SRID=4674;POINT (-38.871966 -3.070168)'))) / (select extract(epoch from '2026-08-06 12:23:19'::timestamp) - extract(epoch from '2026-08-06 12:23: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'), 48137, 'SRID=4674;POINT (-38.872037 -3.070037)', '2026-08-06 12:23:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871966 -3.070168)'), GeomFromEWKT('SRID=4674;POINT (-38.872037 -3.070037)'))) / (select extract(epoch from '2026-08-06 12:23:24'::timestamp) - extract(epoch from '2026-08-06 12:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.871966 -3.070168)'), GeomFromEWKT('SRID=4674;POINT (-38.872037 -3.070037)'))) / (select extract(epoch from '2026-08-06 12:23:24'::timestamp) - extract(epoch from '2026-08-06 12:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.872097 -3.06992)', '2026-08-06 12:23:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872037 -3.070037)'), GeomFromEWKT('SRID=4674;POINT (-38.872097 -3.06992)'))) / (select extract(epoch from '2026-08-06 12:23:29'::timestamp) - extract(epoch from '2026-08-06 12:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872037 -3.070037)'), GeomFromEWKT('SRID=4674;POINT (-38.872097 -3.06992)'))) / (select extract(epoch from '2026-08-06 12:23:29'::timestamp) - extract(epoch from '2026-08-06 12:23: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'), 48137, 'SRID=4674;POINT (-38.872215 -3.069734)', '2026-08-06 12:23:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872097 -3.06992)'), GeomFromEWKT('SRID=4674;POINT (-38.872215 -3.069734)'))) / (select extract(epoch from '2026-08-06 12:23:37'::timestamp) - extract(epoch from '2026-08-06 12:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872097 -3.06992)'), GeomFromEWKT('SRID=4674;POINT (-38.872215 -3.069734)'))) / (select extract(epoch from '2026-08-06 12:23:37'::timestamp) - extract(epoch from '2026-08-06 12:23: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'), 48137, 'SRID=4674;POINT (-38.872301 -3.069623)', '2026-08-06 12:23:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872215 -3.069734)'), GeomFromEWKT('SRID=4674;POINT (-38.872301 -3.069623)'))) / (select extract(epoch from '2026-08-06 12:23:42'::timestamp) - extract(epoch from '2026-08-06 12:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872215 -3.069734)'), GeomFromEWKT('SRID=4674;POINT (-38.872301 -3.069623)'))) / (select extract(epoch from '2026-08-06 12:23:42'::timestamp) - extract(epoch from '2026-08-06 12:23: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'), 48137, 'SRID=4674;POINT (-38.872393 -3.069513)', '2026-08-06 12:23:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872301 -3.069623)'), GeomFromEWKT('SRID=4674;POINT (-38.872393 -3.069513)'))) / (select extract(epoch from '2026-08-06 12:23:47'::timestamp) - extract(epoch from '2026-08-06 12:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872301 -3.069623)'), GeomFromEWKT('SRID=4674;POINT (-38.872393 -3.069513)'))) / (select extract(epoch from '2026-08-06 12:23:47'::timestamp) - extract(epoch from '2026-08-06 12:23: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'), 48137, 'SRID=4674;POINT (-38.872475 -3.069391)', '2026-08-06 12:23:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872393 -3.069513)'), GeomFromEWKT('SRID=4674;POINT (-38.872475 -3.069391)'))) / (select extract(epoch from '2026-08-06 12:23:52'::timestamp) - extract(epoch from '2026-08-06 12:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872393 -3.069513)'), GeomFromEWKT('SRID=4674;POINT (-38.872475 -3.069391)'))) / (select extract(epoch from '2026-08-06 12:23:52'::timestamp) - extract(epoch from '2026-08-06 12:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.872562 -3.069296)', '2026-08-06 12:23:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872475 -3.069391)'), GeomFromEWKT('SRID=4674;POINT (-38.872562 -3.069296)'))) / (select extract(epoch from '2026-08-06 12:23:57'::timestamp) - extract(epoch from '2026-08-06 12:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872475 -3.069391)'), GeomFromEWKT('SRID=4674;POINT (-38.872562 -3.069296)'))) / (select extract(epoch from '2026-08-06 12:23:57'::timestamp) - extract(epoch from '2026-08-06 12:23: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'), 48137, 'SRID=4674;POINT (-38.87266 -3.069175)', '2026-08-06 12:24:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872562 -3.069296)'), GeomFromEWKT('SRID=4674;POINT (-38.87266 -3.069175)'))) / (select extract(epoch from '2026-08-06 12:24:03'::timestamp) - extract(epoch from '2026-08-06 12:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872562 -3.069296)'), GeomFromEWKT('SRID=4674;POINT (-38.87266 -3.069175)'))) / (select extract(epoch from '2026-08-06 12:24:03'::timestamp) - extract(epoch from '2026-08-06 12:23: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'), 48137, 'SRID=4674;POINT (-38.87275 -3.069077)', '2026-08-06 12:24:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87266 -3.069175)'), GeomFromEWKT('SRID=4674;POINT (-38.87275 -3.069077)'))) / (select extract(epoch from '2026-08-06 12:24:08'::timestamp) - extract(epoch from '2026-08-06 12:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87266 -3.069175)'), GeomFromEWKT('SRID=4674;POINT (-38.87275 -3.069077)'))) / (select extract(epoch from '2026-08-06 12:24:08'::timestamp) - extract(epoch from '2026-08-06 12:24: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'), 48137, 'SRID=4674;POINT (-38.872819 -3.068987)', '2026-08-06 12:24:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87275 -3.069077)'), GeomFromEWKT('SRID=4674;POINT (-38.872819 -3.068987)'))) / (select extract(epoch from '2026-08-06 12:24:12'::timestamp) - extract(epoch from '2026-08-06 12:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87275 -3.069077)'), GeomFromEWKT('SRID=4674;POINT (-38.872819 -3.068987)'))) / (select extract(epoch from '2026-08-06 12:24:12'::timestamp) - extract(epoch from '2026-08-06 12:24: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'), 48137, 'SRID=4674;POINT (-38.872881 -3.068867)', '2026-08-06 12:24:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872819 -3.068987)'), GeomFromEWKT('SRID=4674;POINT (-38.872881 -3.068867)'))) / (select extract(epoch from '2026-08-06 12:24:17'::timestamp) - extract(epoch from '2026-08-06 12:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872819 -3.068987)'), GeomFromEWKT('SRID=4674;POINT (-38.872881 -3.068867)'))) / (select extract(epoch from '2026-08-06 12:24:17'::timestamp) - extract(epoch from '2026-08-06 12:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.87293 -3.0688)', '2026-08-06 12:24:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872881 -3.068867)'), GeomFromEWKT('SRID=4674;POINT (-38.87293 -3.0688)'))) / (select extract(epoch from '2026-08-06 12:24:20'::timestamp) - extract(epoch from '2026-08-06 12:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872881 -3.068867)'), GeomFromEWKT('SRID=4674;POINT (-38.87293 -3.0688)'))) / (select extract(epoch from '2026-08-06 12:24:20'::timestamp) - extract(epoch from '2026-08-06 12:24: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'), 48137, 'SRID=4674;POINT (-38.872953 -3.06874)', '2026-08-06 12:24:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87293 -3.0688)'), GeomFromEWKT('SRID=4674;POINT (-38.872953 -3.06874)'))) / (select extract(epoch from '2026-08-06 12:24:22'::timestamp) - extract(epoch from '2026-08-06 12:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87293 -3.0688)'), GeomFromEWKT('SRID=4674;POINT (-38.872953 -3.06874)'))) / (select extract(epoch from '2026-08-06 12:24:22'::timestamp) - extract(epoch from '2026-08-06 12:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.873032 -3.068621)', '2026-08-06 12:24:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872953 -3.06874)'), GeomFromEWKT('SRID=4674;POINT (-38.873032 -3.068621)'))) / (select extract(epoch from '2026-08-06 12:24:27'::timestamp) - extract(epoch from '2026-08-06 12:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.872953 -3.06874)'), GeomFromEWKT('SRID=4674;POINT (-38.873032 -3.068621)'))) / (select extract(epoch from '2026-08-06 12:24:27'::timestamp) - extract(epoch from '2026-08-06 12:24: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'), 48137, 'SRID=4674;POINT (-38.87307 -3.068498)', '2026-08-06 12:24:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873032 -3.068621)'), GeomFromEWKT('SRID=4674;POINT (-38.87307 -3.068498)'))) / (select extract(epoch from '2026-08-06 12:24:31'::timestamp) - extract(epoch from '2026-08-06 12:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873032 -3.068621)'), GeomFromEWKT('SRID=4674;POINT (-38.87307 -3.068498)'))) / (select extract(epoch from '2026-08-06 12:24:31'::timestamp) - extract(epoch from '2026-08-06 12:24: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'), 48137, 'SRID=4674;POINT (-38.873129 -3.068371)', '2026-08-06 12:24:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87307 -3.068498)'), GeomFromEWKT('SRID=4674;POINT (-38.873129 -3.068371)'))) / (select extract(epoch from '2026-08-06 12:24:36'::timestamp) - extract(epoch from '2026-08-06 12:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87307 -3.068498)'), GeomFromEWKT('SRID=4674;POINT (-38.873129 -3.068371)'))) / (select extract(epoch from '2026-08-06 12:24:36'::timestamp) - extract(epoch from '2026-08-06 12:24:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.873169 -3.068234)', '2026-08-06 12:24:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873129 -3.068371)'), GeomFromEWKT('SRID=4674;POINT (-38.873169 -3.068234)'))) / (select extract(epoch from '2026-08-06 12:24:41'::timestamp) - extract(epoch from '2026-08-06 12:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873129 -3.068371)'), GeomFromEWKT('SRID=4674;POINT (-38.873169 -3.068234)'))) / (select extract(epoch from '2026-08-06 12:24:41'::timestamp) - extract(epoch from '2026-08-06 12:24: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'), 48137, 'SRID=4674;POINT (-38.873205 -3.068076)', '2026-08-06 12:24:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873169 -3.068234)'), GeomFromEWKT('SRID=4674;POINT (-38.873205 -3.068076)'))) / (select extract(epoch from '2026-08-06 12:24:46'::timestamp) - extract(epoch from '2026-08-06 12:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873169 -3.068234)'), GeomFromEWKT('SRID=4674;POINT (-38.873205 -3.068076)'))) / (select extract(epoch from '2026-08-06 12:24:46'::timestamp) - extract(epoch from '2026-08-06 12:24: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'), 48137, 'SRID=4674;POINT (-38.873272 -3.067938)', '2026-08-06 12:24:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873205 -3.068076)'), GeomFromEWKT('SRID=4674;POINT (-38.873272 -3.067938)'))) / (select extract(epoch from '2026-08-06 12:24:52'::timestamp) - extract(epoch from '2026-08-06 12:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873205 -3.068076)'), GeomFromEWKT('SRID=4674;POINT (-38.873272 -3.067938)'))) / (select extract(epoch from '2026-08-06 12:24:52'::timestamp) - extract(epoch from '2026-08-06 12:24: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'), 48137, 'SRID=4674;POINT (-38.873344 -3.067849)', '2026-08-06 12:24:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873272 -3.067938)'), GeomFromEWKT('SRID=4674;POINT (-38.873344 -3.067849)'))) / (select extract(epoch from '2026-08-06 12:24:56'::timestamp) - extract(epoch from '2026-08-06 12:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873272 -3.067938)'), GeomFromEWKT('SRID=4674;POINT (-38.873344 -3.067849)'))) / (select extract(epoch from '2026-08-06 12:24:56'::timestamp) - extract(epoch from '2026-08-06 12:24: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'), 48137, 'SRID=4674;POINT (-38.873415 -3.067729)', '2026-08-06 12:25:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873344 -3.067849)'), GeomFromEWKT('SRID=4674;POINT (-38.873415 -3.067729)'))) / (select extract(epoch from '2026-08-06 12:25:01'::timestamp) - extract(epoch from '2026-08-06 12:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873344 -3.067849)'), GeomFromEWKT('SRID=4674;POINT (-38.873415 -3.067729)'))) / (select extract(epoch from '2026-08-06 12:25:01'::timestamp) - extract(epoch from '2026-08-06 12:24: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'), 48137, 'SRID=4674;POINT (-38.873479 -3.067605)', '2026-08-06 12:25:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873415 -3.067729)'), GeomFromEWKT('SRID=4674;POINT (-38.873479 -3.067605)'))) / (select extract(epoch from '2026-08-06 12:25:06'::timestamp) - extract(epoch from '2026-08-06 12:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873415 -3.067729)'), GeomFromEWKT('SRID=4674;POINT (-38.873479 -3.067605)'))) / (select extract(epoch from '2026-08-06 12:25:06'::timestamp) - extract(epoch from '2026-08-06 12:25: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'), 48137, 'SRID=4674;POINT (-38.87356 -3.067494)', '2026-08-06 12:25:11', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873479 -3.067605)'), GeomFromEWKT('SRID=4674;POINT (-38.87356 -3.067494)'))) / (select extract(epoch from '2026-08-06 12:25:11'::timestamp) - extract(epoch from '2026-08-06 12:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873479 -3.067605)'), GeomFromEWKT('SRID=4674;POINT (-38.87356 -3.067494)'))) / (select extract(epoch from '2026-08-06 12:25:11'::timestamp) - extract(epoch from '2026-08-06 12:25: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'), 48137, 'SRID=4674;POINT (-38.873625 -3.067376)', '2026-08-06 12:25:16', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87356 -3.067494)'), GeomFromEWKT('SRID=4674;POINT (-38.873625 -3.067376)'))) / (select extract(epoch from '2026-08-06 12:25:16'::timestamp) - extract(epoch from '2026-08-06 12:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87356 -3.067494)'), GeomFromEWKT('SRID=4674;POINT (-38.873625 -3.067376)'))) / (select extract(epoch from '2026-08-06 12:25:16'::timestamp) - extract(epoch from '2026-08-06 12:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.873722 -3.067239)', '2026-08-06 12:25:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873625 -3.067376)'), GeomFromEWKT('SRID=4674;POINT (-38.873722 -3.067239)'))) / (select extract(epoch from '2026-08-06 12:25:21'::timestamp) - extract(epoch from '2026-08-06 12:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873625 -3.067376)'), GeomFromEWKT('SRID=4674;POINT (-38.873722 -3.067239)'))) / (select extract(epoch from '2026-08-06 12:25:21'::timestamp) - extract(epoch from '2026-08-06 12:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.873806 -3.067136)', '2026-08-06 12:25:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873722 -3.067239)'), GeomFromEWKT('SRID=4674;POINT (-38.873806 -3.067136)'))) / (select extract(epoch from '2026-08-06 12:25:26'::timestamp) - extract(epoch from '2026-08-06 12:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873722 -3.067239)'), GeomFromEWKT('SRID=4674;POINT (-38.873806 -3.067136)'))) / (select extract(epoch from '2026-08-06 12:25:26'::timestamp) - extract(epoch from '2026-08-06 12:25: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'), 48137, 'SRID=4674;POINT (-38.87386 -3.067075)', '2026-08-06 12:25:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873806 -3.067136)'), GeomFromEWKT('SRID=4674;POINT (-38.87386 -3.067075)'))) / (select extract(epoch from '2026-08-06 12:25:28'::timestamp) - extract(epoch from '2026-08-06 12:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873806 -3.067136)'), GeomFromEWKT('SRID=4674;POINT (-38.87386 -3.067075)'))) / (select extract(epoch from '2026-08-06 12:25:28'::timestamp) - extract(epoch from '2026-08-06 12:25: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'), 48137, 'SRID=4674;POINT (-38.873889 -3.067017)', '2026-08-06 12:25:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87386 -3.067075)'), GeomFromEWKT('SRID=4674;POINT (-38.873889 -3.067017)'))) / (select extract(epoch from '2026-08-06 12:25:30'::timestamp) - extract(epoch from '2026-08-06 12:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87386 -3.067075)'), GeomFromEWKT('SRID=4674;POINT (-38.873889 -3.067017)'))) / (select extract(epoch from '2026-08-06 12:25:30'::timestamp) - extract(epoch from '2026-08-06 12:25: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'), 48137, 'SRID=4674;POINT (-38.873948 -3.066922)', '2026-08-06 12:25:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873889 -3.067017)'), GeomFromEWKT('SRID=4674;POINT (-38.873948 -3.066922)'))) / (select extract(epoch from '2026-08-06 12:25:34'::timestamp) - extract(epoch from '2026-08-06 12:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873889 -3.067017)'), GeomFromEWKT('SRID=4674;POINT (-38.873948 -3.066922)'))) / (select extract(epoch from '2026-08-06 12:25:34'::timestamp) - extract(epoch from '2026-08-06 12:25: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'), 48137, 'SRID=4674;POINT (-38.874032 -3.066803)', '2026-08-06 12:25:39', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873948 -3.066922)'), GeomFromEWKT('SRID=4674;POINT (-38.874032 -3.066803)'))) / (select extract(epoch from '2026-08-06 12:25:39'::timestamp) - extract(epoch from '2026-08-06 12:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.873948 -3.066922)'), GeomFromEWKT('SRID=4674;POINT (-38.874032 -3.066803)'))) / (select extract(epoch from '2026-08-06 12:25:39'::timestamp) - extract(epoch from '2026-08-06 12:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.874114 -3.066712)', '2026-08-06 12:25:43', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874032 -3.066803)'), GeomFromEWKT('SRID=4674;POINT (-38.874114 -3.066712)'))) / (select extract(epoch from '2026-08-06 12:25:43'::timestamp) - extract(epoch from '2026-08-06 12:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874032 -3.066803)'), GeomFromEWKT('SRID=4674;POINT (-38.874114 -3.066712)'))) / (select extract(epoch from '2026-08-06 12:25:43'::timestamp) - extract(epoch from '2026-08-06 12:25: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'), 48137, 'SRID=4674;POINT (-38.87417 -3.06663)', '2026-08-06 12:25:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874114 -3.066712)'), GeomFromEWKT('SRID=4674;POINT (-38.87417 -3.06663)'))) / (select extract(epoch from '2026-08-06 12:25:47'::timestamp) - extract(epoch from '2026-08-06 12:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874114 -3.066712)'), GeomFromEWKT('SRID=4674;POINT (-38.87417 -3.06663)'))) / (select extract(epoch from '2026-08-06 12:25:47'::timestamp) - extract(epoch from '2026-08-06 12:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.874274 -3.066502)', '2026-08-06 12:25:53', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87417 -3.06663)'), GeomFromEWKT('SRID=4674;POINT (-38.874274 -3.066502)'))) / (select extract(epoch from '2026-08-06 12:25:53'::timestamp) - extract(epoch from '2026-08-06 12:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87417 -3.06663)'), GeomFromEWKT('SRID=4674;POINT (-38.874274 -3.066502)'))) / (select extract(epoch from '2026-08-06 12:25:53'::timestamp) - extract(epoch from '2026-08-06 12:25: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'), 48137, 'SRID=4674;POINT (-38.874378 -3.066369)', '2026-08-06 12:25:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874274 -3.066502)'), GeomFromEWKT('SRID=4674;POINT (-38.874378 -3.066369)'))) / (select extract(epoch from '2026-08-06 12:25:59'::timestamp) - extract(epoch from '2026-08-06 12:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874274 -3.066502)'), GeomFromEWKT('SRID=4674;POINT (-38.874378 -3.066369)'))) / (select extract(epoch from '2026-08-06 12:25:59'::timestamp) - extract(epoch from '2026-08-06 12:25: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'), 48137, 'SRID=4674;POINT (-38.874523 -3.066233)', '2026-08-06 12:26:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874378 -3.066369)'), GeomFromEWKT('SRID=4674;POINT (-38.874523 -3.066233)'))) / (select extract(epoch from '2026-08-06 12:26:06'::timestamp) - extract(epoch from '2026-08-06 12:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874378 -3.066369)'), GeomFromEWKT('SRID=4674;POINT (-38.874523 -3.066233)'))) / (select extract(epoch from '2026-08-06 12:26:06'::timestamp) - extract(epoch from '2026-08-06 12:25: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'), 48137, 'SRID=4674;POINT (-38.874612 -3.066132)', '2026-08-06 12:26:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874523 -3.066233)'), GeomFromEWKT('SRID=4674;POINT (-38.874612 -3.066132)'))) / (select extract(epoch from '2026-08-06 12:26:11'::timestamp) - extract(epoch from '2026-08-06 12:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874523 -3.066233)'), GeomFromEWKT('SRID=4674;POINT (-38.874612 -3.066132)'))) / (select extract(epoch from '2026-08-06 12:26:11'::timestamp) - extract(epoch from '2026-08-06 12:26: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'), 48137, 'SRID=4674;POINT (-38.874696 -3.066033)', '2026-08-06 12:26:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874612 -3.066132)'), GeomFromEWKT('SRID=4674;POINT (-38.874696 -3.066033)'))) / (select extract(epoch from '2026-08-06 12:26:16'::timestamp) - extract(epoch from '2026-08-06 12:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874612 -3.066132)'), GeomFromEWKT('SRID=4674;POINT (-38.874696 -3.066033)'))) / (select extract(epoch from '2026-08-06 12:26:16'::timestamp) - extract(epoch from '2026-08-06 12:26: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'), 48137, 'SRID=4674;POINT (-38.874809 -3.06593)', '2026-08-06 12:26:21', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874696 -3.066033)'), GeomFromEWKT('SRID=4674;POINT (-38.874809 -3.06593)'))) / (select extract(epoch from '2026-08-06 12:26:21'::timestamp) - extract(epoch from '2026-08-06 12:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874696 -3.066033)'), GeomFromEWKT('SRID=4674;POINT (-38.874809 -3.06593)'))) / (select extract(epoch from '2026-08-06 12:26:21'::timestamp) - extract(epoch from '2026-08-06 12:26: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'), 48137, 'SRID=4674;POINT (-38.8749 -3.065843)', '2026-08-06 12:26:26', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874809 -3.06593)'), GeomFromEWKT('SRID=4674;POINT (-38.8749 -3.065843)'))) / (select extract(epoch from '2026-08-06 12:26:26'::timestamp) - extract(epoch from '2026-08-06 12:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874809 -3.06593)'), GeomFromEWKT('SRID=4674;POINT (-38.8749 -3.065843)'))) / (select extract(epoch from '2026-08-06 12:26:26'::timestamp) - extract(epoch from '2026-08-06 12:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.875001 -3.065744)', '2026-08-06 12:26:31', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8749 -3.065843)'), GeomFromEWKT('SRID=4674;POINT (-38.875001 -3.065744)'))) / (select extract(epoch from '2026-08-06 12:26:31'::timestamp) - extract(epoch from '2026-08-06 12:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8749 -3.065843)'), GeomFromEWKT('SRID=4674;POINT (-38.875001 -3.065744)'))) / (select extract(epoch from '2026-08-06 12:26:31'::timestamp) - extract(epoch from '2026-08-06 12:26: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'), 48137, 'SRID=4674;POINT (-38.875043 -3.06562)', '2026-08-06 12:26:36', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875001 -3.065744)'), GeomFromEWKT('SRID=4674;POINT (-38.875043 -3.06562)'))) / (select extract(epoch from '2026-08-06 12:26:36'::timestamp) - extract(epoch from '2026-08-06 12:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875001 -3.065744)'), GeomFromEWKT('SRID=4674;POINT (-38.875043 -3.06562)'))) / (select extract(epoch from '2026-08-06 12:26:36'::timestamp) - extract(epoch from '2026-08-06 12:26: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'), 48137, 'SRID=4674;POINT (-38.875014 -3.065527)', '2026-08-06 12:26:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875043 -3.06562)'), GeomFromEWKT('SRID=4674;POINT (-38.875014 -3.065527)'))) / (select extract(epoch from '2026-08-06 12:26:41'::timestamp) - extract(epoch from '2026-08-06 12:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875043 -3.06562)'), GeomFromEWKT('SRID=4674;POINT (-38.875014 -3.065527)'))) / (select extract(epoch from '2026-08-06 12:26:41'::timestamp) - extract(epoch from '2026-08-06 12:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.874989 -3.065482)', '2026-08-06 12:26:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875014 -3.065527)'), GeomFromEWKT('SRID=4674;POINT (-38.874989 -3.065482)'))) / (select extract(epoch from '2026-08-06 12:26:47'::timestamp) - extract(epoch from '2026-08-06 12:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875014 -3.065527)'), GeomFromEWKT('SRID=4674;POINT (-38.874989 -3.065482)'))) / (select extract(epoch from '2026-08-06 12:26:47'::timestamp) - extract(epoch from '2026-08-06 12:26: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'), 48137, 'SRID=4674;POINT (-38.874989 -3.065431)', '2026-08-06 12:26:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874989 -3.065482)'), GeomFromEWKT('SRID=4674;POINT (-38.874989 -3.065431)'))) / (select extract(epoch from '2026-08-06 12:26:53'::timestamp) - extract(epoch from '2026-08-06 12:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874989 -3.065482)'), GeomFromEWKT('SRID=4674;POINT (-38.874989 -3.065431)'))) / (select extract(epoch from '2026-08-06 12:26:53'::timestamp) - extract(epoch from '2026-08-06 12:26: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'), 48137, 'SRID=4674;POINT (-38.875006 -3.065355)', '2026-08-06 12:27:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874989 -3.065431)'), GeomFromEWKT('SRID=4674;POINT (-38.875006 -3.065355)'))) / (select extract(epoch from '2026-08-06 12:27:05'::timestamp) - extract(epoch from '2026-08-06 12:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.874989 -3.065431)'), GeomFromEWKT('SRID=4674;POINT (-38.875006 -3.065355)'))) / (select extract(epoch from '2026-08-06 12:27:05'::timestamp) - extract(epoch from '2026-08-06 12:26:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.875025 -3.065297)', '2026-08-06 12:27:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875006 -3.065355)'), GeomFromEWKT('SRID=4674;POINT (-38.875025 -3.065297)'))) / (select extract(epoch from '2026-08-06 12:27:13'::timestamp) - extract(epoch from '2026-08-06 12:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875006 -3.065355)'), GeomFromEWKT('SRID=4674;POINT (-38.875025 -3.065297)'))) / (select extract(epoch from '2026-08-06 12:27:13'::timestamp) - extract(epoch from '2026-08-06 12:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.875047 -3.065253)', '2026-08-06 12:27:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875025 -3.065297)'), GeomFromEWKT('SRID=4674;POINT (-38.875047 -3.065253)'))) / (select extract(epoch from '2026-08-06 12:27:20'::timestamp) - extract(epoch from '2026-08-06 12:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875025 -3.065297)'), GeomFromEWKT('SRID=4674;POINT (-38.875047 -3.065253)'))) / (select extract(epoch from '2026-08-06 12:27:20'::timestamp) - extract(epoch from '2026-08-06 12:27: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'), 48137, 'SRID=4674;POINT (-38.875056 -3.065202)', '2026-08-06 12:27:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875047 -3.065253)'), GeomFromEWKT('SRID=4674;POINT (-38.875056 -3.065202)'))) / (select extract(epoch from '2026-08-06 12:27:26'::timestamp) - extract(epoch from '2026-08-06 12:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875047 -3.065253)'), GeomFromEWKT('SRID=4674;POINT (-38.875056 -3.065202)'))) / (select extract(epoch from '2026-08-06 12:27:26'::timestamp) - extract(epoch from '2026-08-06 12:27: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'), 48137, 'SRID=4674;POINT (-38.875063 -3.065162)', '2026-08-06 12:27:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875056 -3.065202)'), GeomFromEWKT('SRID=4674;POINT (-38.875063 -3.065162)'))) / (select extract(epoch from '2026-08-06 12:27:30'::timestamp) - extract(epoch from '2026-08-06 12:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875056 -3.065202)'), GeomFromEWKT('SRID=4674;POINT (-38.875063 -3.065162)'))) / (select extract(epoch from '2026-08-06 12:27:30'::timestamp) - extract(epoch from '2026-08-06 12:27: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'), 48137, 'SRID=4674;POINT (-38.875056 -3.065148)', '2026-08-06 12:27:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875063 -3.065162)'), GeomFromEWKT('SRID=4674;POINT (-38.875056 -3.065148)'))) / (select extract(epoch from '2026-08-06 12:27:32'::timestamp) - extract(epoch from '2026-08-06 12:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875063 -3.065162)'), GeomFromEWKT('SRID=4674;POINT (-38.875056 -3.065148)'))) / (select extract(epoch from '2026-08-06 12:27:32'::timestamp) - extract(epoch from '2026-08-06 12:27: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'), 48137, 'SRID=4674;POINT (-38.875069 -3.065118)', '2026-08-06 12:27:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875056 -3.065148)'), GeomFromEWKT('SRID=4674;POINT (-38.875069 -3.065118)'))) / (select extract(epoch from '2026-08-06 12:27:37'::timestamp) - extract(epoch from '2026-08-06 12:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875056 -3.065148)'), GeomFromEWKT('SRID=4674;POINT (-38.875069 -3.065118)'))) / (select extract(epoch from '2026-08-06 12:27:37'::timestamp) - extract(epoch from '2026-08-06 12:27: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'), 48137, 'SRID=4674;POINT (-38.875075 -3.0651)', '2026-08-06 12:27:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875069 -3.065118)'), GeomFromEWKT('SRID=4674;POINT (-38.875075 -3.0651)'))) / (select extract(epoch from '2026-08-06 12:27:40'::timestamp) - extract(epoch from '2026-08-06 12:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875069 -3.065118)'), GeomFromEWKT('SRID=4674;POINT (-38.875075 -3.0651)'))) / (select extract(epoch from '2026-08-06 12:27:40'::timestamp) - extract(epoch from '2026-08-06 12:27: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'), 48137, 'SRID=4674;POINT (-38.875093 -3.065074)', '2026-08-06 12:27:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875075 -3.0651)'), GeomFromEWKT('SRID=4674;POINT (-38.875093 -3.065074)'))) / (select extract(epoch from '2026-08-06 12:27:44'::timestamp) - extract(epoch from '2026-08-06 12:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875075 -3.0651)'), GeomFromEWKT('SRID=4674;POINT (-38.875093 -3.065074)'))) / (select extract(epoch from '2026-08-06 12:27:44'::timestamp) - extract(epoch from '2026-08-06 12:27: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'), 48137, 'SRID=4674;POINT (-38.875122 -3.06504)', '2026-08-06 12:27:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875093 -3.065074)'), GeomFromEWKT('SRID=4674;POINT (-38.875122 -3.06504)'))) / (select extract(epoch from '2026-08-06 12:27:50'::timestamp) - extract(epoch from '2026-08-06 12:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875093 -3.065074)'), GeomFromEWKT('SRID=4674;POINT (-38.875122 -3.06504)'))) / (select extract(epoch from '2026-08-06 12:27:50'::timestamp) - extract(epoch from '2026-08-06 12:27: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'), 48137, 'SRID=4674;POINT (-38.875129 -3.065002)', '2026-08-06 12:27:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875122 -3.06504)'), GeomFromEWKT('SRID=4674;POINT (-38.875129 -3.065002)'))) / (select extract(epoch from '2026-08-06 12:27:55'::timestamp) - extract(epoch from '2026-08-06 12:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875122 -3.06504)'), GeomFromEWKT('SRID=4674;POINT (-38.875129 -3.065002)'))) / (select extract(epoch from '2026-08-06 12:27:55'::timestamp) - extract(epoch from '2026-08-06 12:27: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'), 48137, 'SRID=4674;POINT (-38.87513 -3.06499)', '2026-08-06 12:27:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875129 -3.065002)'), GeomFromEWKT('SRID=4674;POINT (-38.87513 -3.06499)'))) / (select extract(epoch from '2026-08-06 12:27:57'::timestamp) - extract(epoch from '2026-08-06 12:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875129 -3.065002)'), GeomFromEWKT('SRID=4674;POINT (-38.87513 -3.06499)'))) / (select extract(epoch from '2026-08-06 12:27:57'::timestamp) - extract(epoch from '2026-08-06 12:27: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'), 48137, 'SRID=4674;POINT (-38.87515 -3.064931)', '2026-08-06 12:28:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87513 -3.06499)'), GeomFromEWKT('SRID=4674;POINT (-38.87515 -3.064931)'))) / (select extract(epoch from '2026-08-06 12:28:05'::timestamp) - extract(epoch from '2026-08-06 12:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87513 -3.06499)'), GeomFromEWKT('SRID=4674;POINT (-38.87515 -3.064931)'))) / (select extract(epoch from '2026-08-06 12:28:05'::timestamp) - extract(epoch from '2026-08-06 12:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.875171 -3.064892)', '2026-08-06 12:28:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87515 -3.064931)'), GeomFromEWKT('SRID=4674;POINT (-38.875171 -3.064892)'))) / (select extract(epoch from '2026-08-06 12:28:11'::timestamp) - extract(epoch from '2026-08-06 12:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87515 -3.064931)'), GeomFromEWKT('SRID=4674;POINT (-38.875171 -3.064892)'))) / (select extract(epoch from '2026-08-06 12:28:11'::timestamp) - extract(epoch from '2026-08-06 12:28: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'), 48137, 'SRID=4674;POINT (-38.875205 -3.06486)', '2026-08-06 12:28:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875171 -3.064892)'), GeomFromEWKT('SRID=4674;POINT (-38.875205 -3.06486)'))) / (select extract(epoch from '2026-08-06 12:28:17'::timestamp) - extract(epoch from '2026-08-06 12:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875171 -3.064892)'), GeomFromEWKT('SRID=4674;POINT (-38.875205 -3.06486)'))) / (select extract(epoch from '2026-08-06 12:28:17'::timestamp) - extract(epoch from '2026-08-06 12:28: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'), 48137, 'SRID=4674;POINT (-38.87524 -3.064833)', '2026-08-06 12:28:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875205 -3.06486)'), GeomFromEWKT('SRID=4674;POINT (-38.87524 -3.064833)'))) / (select extract(epoch from '2026-08-06 12:28:23'::timestamp) - extract(epoch from '2026-08-06 12:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875205 -3.06486)'), GeomFromEWKT('SRID=4674;POINT (-38.87524 -3.064833)'))) / (select extract(epoch from '2026-08-06 12:28:23'::timestamp) - extract(epoch from '2026-08-06 12:28: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'), 48137, 'SRID=4674;POINT (-38.875255 -3.06483)', '2026-08-06 12:28:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87524 -3.064833)'), GeomFromEWKT('SRID=4674;POINT (-38.875255 -3.06483)'))) / (select extract(epoch from '2026-08-06 12:28:25'::timestamp) - extract(epoch from '2026-08-06 12:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87524 -3.064833)'), GeomFromEWKT('SRID=4674;POINT (-38.875255 -3.06483)'))) / (select extract(epoch from '2026-08-06 12:28:25'::timestamp) - extract(epoch from '2026-08-06 12:28: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'), 48137, 'SRID=4674;POINT (-38.87529 -3.064812)', '2026-08-06 12:28:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875255 -3.06483)'), GeomFromEWKT('SRID=4674;POINT (-38.87529 -3.064812)'))) / (select extract(epoch from '2026-08-06 12:28:31'::timestamp) - extract(epoch from '2026-08-06 12:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875255 -3.06483)'), GeomFromEWKT('SRID=4674;POINT (-38.87529 -3.064812)'))) / (select extract(epoch from '2026-08-06 12:28:31'::timestamp) - extract(epoch from '2026-08-06 12:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.875347 -3.064787)', '2026-08-06 12:28:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87529 -3.064812)'), GeomFromEWKT('SRID=4674;POINT (-38.875347 -3.064787)'))) / (select extract(epoch from '2026-08-06 12:28:40'::timestamp) - extract(epoch from '2026-08-06 12:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87529 -3.064812)'), GeomFromEWKT('SRID=4674;POINT (-38.875347 -3.064787)'))) / (select extract(epoch from '2026-08-06 12:28:40'::timestamp) - extract(epoch from '2026-08-06 12:28: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'), 48137, 'SRID=4674;POINT (-38.875377 -3.064763)', '2026-08-06 12:28:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875347 -3.064787)'), GeomFromEWKT('SRID=4674;POINT (-38.875377 -3.064763)'))) / (select extract(epoch from '2026-08-06 12:28:45'::timestamp) - extract(epoch from '2026-08-06 12:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875347 -3.064787)'), GeomFromEWKT('SRID=4674;POINT (-38.875377 -3.064763)'))) / (select extract(epoch from '2026-08-06 12:28:45'::timestamp) - extract(epoch from '2026-08-06 12:28: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'), 48137, 'SRID=4674;POINT (-38.875378 -3.064756)', '2026-08-06 12:28:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875377 -3.064763)'), GeomFromEWKT('SRID=4674;POINT (-38.875378 -3.064756)'))) / (select extract(epoch from '2026-08-06 12:28:46'::timestamp) - extract(epoch from '2026-08-06 12:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875377 -3.064763)'), GeomFromEWKT('SRID=4674;POINT (-38.875378 -3.064756)'))) / (select extract(epoch from '2026-08-06 12:28:46'::timestamp) - extract(epoch from '2026-08-06 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'), 48137, 'SRID=4674;POINT (-38.875394 -3.06474)', '2026-08-06 12:28:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875378 -3.064756)'), GeomFromEWKT('SRID=4674;POINT (-38.875394 -3.06474)'))) / (select extract(epoch from '2026-08-06 12:28:50'::timestamp) - extract(epoch from '2026-08-06 12:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875378 -3.064756)'), GeomFromEWKT('SRID=4674;POINT (-38.875394 -3.06474)'))) / (select extract(epoch from '2026-08-06 12:28:50'::timestamp) - extract(epoch from '2026-08-06 12:28: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'), 48137, 'SRID=4674;POINT (-38.875404 -3.064721)', '2026-08-06 12:28:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875394 -3.06474)'), GeomFromEWKT('SRID=4674;POINT (-38.875404 -3.064721)'))) / (select extract(epoch from '2026-08-06 12:28:52'::timestamp) - extract(epoch from '2026-08-06 12:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875394 -3.06474)'), GeomFromEWKT('SRID=4674;POINT (-38.875404 -3.064721)'))) / (select extract(epoch from '2026-08-06 12:28:52'::timestamp) - extract(epoch from '2026-08-06 12:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.875421 -3.064688)', '2026-08-06 12:28:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875404 -3.064721)'), GeomFromEWKT('SRID=4674;POINT (-38.875421 -3.064688)'))) / (select extract(epoch from '2026-08-06 12:28:57'::timestamp) - extract(epoch from '2026-08-06 12:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875404 -3.064721)'), GeomFromEWKT('SRID=4674;POINT (-38.875421 -3.064688)'))) / (select extract(epoch from '2026-08-06 12:28:57'::timestamp) - extract(epoch from '2026-08-06 12:28: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'), 48137, 'SRID=4674;POINT (-38.875422 -3.06468)', '2026-08-06 12:28:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875421 -3.064688)'), GeomFromEWKT('SRID=4674;POINT (-38.875422 -3.06468)'))) / (select extract(epoch from '2026-08-06 12:28:58'::timestamp) - extract(epoch from '2026-08-06 12:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875421 -3.064688)'), GeomFromEWKT('SRID=4674;POINT (-38.875422 -3.06468)'))) / (select extract(epoch from '2026-08-06 12:28:58'::timestamp) - extract(epoch from '2026-08-06 12:28: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'), 48137, 'SRID=4674;POINT (-38.875443 -3.064643)', '2026-08-06 12:29:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875422 -3.06468)'), GeomFromEWKT('SRID=4674;POINT (-38.875443 -3.064643)'))) / (select extract(epoch from '2026-08-06 12:29:03'::timestamp) - extract(epoch from '2026-08-06 12:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875422 -3.06468)'), GeomFromEWKT('SRID=4674;POINT (-38.875443 -3.064643)'))) / (select extract(epoch from '2026-08-06 12:29:03'::timestamp) - extract(epoch from '2026-08-06 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'), 48137, 'SRID=4674;POINT (-38.875445 -3.064635)', '2026-08-06 12:29:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875443 -3.064643)'), GeomFromEWKT('SRID=4674;POINT (-38.875445 -3.064635)'))) / (select extract(epoch from '2026-08-06 12:29:04'::timestamp) - extract(epoch from '2026-08-06 12:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875443 -3.064643)'), GeomFromEWKT('SRID=4674;POINT (-38.875445 -3.064635)'))) / (select extract(epoch from '2026-08-06 12:29:04'::timestamp) - extract(epoch from '2026-08-06 12:29: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'), 48137, 'SRID=4674;POINT (-38.875454 -3.064598)', '2026-08-06 12:29:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875445 -3.064635)'), GeomFromEWKT('SRID=4674;POINT (-38.875454 -3.064598)'))) / (select extract(epoch from '2026-08-06 12:29:08'::timestamp) - extract(epoch from '2026-08-06 12:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875445 -3.064635)'), GeomFromEWKT('SRID=4674;POINT (-38.875454 -3.064598)'))) / (select extract(epoch from '2026-08-06 12:29:08'::timestamp) - extract(epoch from '2026-08-06 12:29: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'), 48137, 'SRID=4674;POINT (-38.875463 -3.064549)', '2026-08-06 12:29:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875454 -3.064598)'), GeomFromEWKT('SRID=4674;POINT (-38.875463 -3.064549)'))) / (select extract(epoch from '2026-08-06 12:29:15'::timestamp) - extract(epoch from '2026-08-06 12:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875454 -3.064598)'), GeomFromEWKT('SRID=4674;POINT (-38.875463 -3.064549)'))) / (select extract(epoch from '2026-08-06 12:29:15'::timestamp) - extract(epoch from '2026-08-06 12:29: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'), 48137, 'SRID=4674;POINT (-38.875489 -3.064488)', '2026-08-06 12:29:24', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875463 -3.064549)'), GeomFromEWKT('SRID=4674;POINT (-38.875489 -3.064488)'))) / (select extract(epoch from '2026-08-06 12:29:24'::timestamp) - extract(epoch from '2026-08-06 12:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875463 -3.064549)'), GeomFromEWKT('SRID=4674;POINT (-38.875489 -3.064488)'))) / (select extract(epoch from '2026-08-06 12:29:24'::timestamp) - extract(epoch from '2026-08-06 12:29: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'), 48137, 'SRID=4674;POINT (-38.875525 -3.064436)', '2026-08-06 12:29:33', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875489 -3.064488)'), GeomFromEWKT('SRID=4674;POINT (-38.875525 -3.064436)'))) / (select extract(epoch from '2026-08-06 12:29:33'::timestamp) - extract(epoch from '2026-08-06 12:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875489 -3.064488)'), GeomFromEWKT('SRID=4674;POINT (-38.875525 -3.064436)'))) / (select extract(epoch from '2026-08-06 12:29:33'::timestamp) - extract(epoch from '2026-08-06 12:29: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'), 48137, 'SRID=4674;POINT (-38.875575 -3.064377)', '2026-08-06 12:29:41', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875525 -3.064436)'), GeomFromEWKT('SRID=4674;POINT (-38.875575 -3.064377)'))) / (select extract(epoch from '2026-08-06 12:29:41'::timestamp) - extract(epoch from '2026-08-06 12:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875525 -3.064436)'), GeomFromEWKT('SRID=4674;POINT (-38.875575 -3.064377)'))) / (select extract(epoch from '2026-08-06 12:29:41'::timestamp) - extract(epoch from '2026-08-06 12:29:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.875578 -3.064368)', '2026-08-06 12:29:42', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875575 -3.064377)'), GeomFromEWKT('SRID=4674;POINT (-38.875578 -3.064368)'))) / (select extract(epoch from '2026-08-06 12:29:42'::timestamp) - extract(epoch from '2026-08-06 12:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875575 -3.064377)'), GeomFromEWKT('SRID=4674;POINT (-38.875578 -3.064368)'))) / (select extract(epoch from '2026-08-06 12:29:42'::timestamp) - extract(epoch from '2026-08-06 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'), 48137, 'SRID=4674;POINT (-38.875578 -3.064354)', '2026-08-06 12:29:45', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875578 -3.064368)'), GeomFromEWKT('SRID=4674;POINT (-38.875578 -3.064354)'))) / (select extract(epoch from '2026-08-06 12:29:45'::timestamp) - extract(epoch from '2026-08-06 12:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875578 -3.064368)'), GeomFromEWKT('SRID=4674;POINT (-38.875578 -3.064354)'))) / (select extract(epoch from '2026-08-06 12:29:45'::timestamp) - extract(epoch from '2026-08-06 12:29: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'), 48137, 'SRID=4674;POINT (-38.875607 -3.064303)', '2026-08-06 12:29:52', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875578 -3.064354)'), GeomFromEWKT('SRID=4674;POINT (-38.875607 -3.064303)'))) / (select extract(epoch from '2026-08-06 12:29:52'::timestamp) - extract(epoch from '2026-08-06 12:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875578 -3.064354)'), GeomFromEWKT('SRID=4674;POINT (-38.875607 -3.064303)'))) / (select extract(epoch from '2026-08-06 12:29:52'::timestamp) - extract(epoch from '2026-08-06 12:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.875642 -3.064256)', '2026-08-06 12:29:59', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875607 -3.064303)'), GeomFromEWKT('SRID=4674;POINT (-38.875642 -3.064256)'))) / (select extract(epoch from '2026-08-06 12:29:59'::timestamp) - extract(epoch from '2026-08-06 12:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875607 -3.064303)'), GeomFromEWKT('SRID=4674;POINT (-38.875642 -3.064256)'))) / (select extract(epoch from '2026-08-06 12:29:59'::timestamp) - extract(epoch from '2026-08-06 12:29:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.875661 -3.064219)', '2026-08-06 12:30:06', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875642 -3.064256)'), GeomFromEWKT('SRID=4674;POINT (-38.875661 -3.064219)'))) / (select extract(epoch from '2026-08-06 12:30:06'::timestamp) - extract(epoch from '2026-08-06 12:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875642 -3.064256)'), GeomFromEWKT('SRID=4674;POINT (-38.875661 -3.064219)'))) / (select extract(epoch from '2026-08-06 12:30:06'::timestamp) - extract(epoch from '2026-08-06 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'), 48137, 'SRID=4674;POINT (-38.875689 -3.064172)', '2026-08-06 12:30:14', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875661 -3.064219)'), GeomFromEWKT('SRID=4674;POINT (-38.875689 -3.064172)'))) / (select extract(epoch from '2026-08-06 12:30:14'::timestamp) - extract(epoch from '2026-08-06 12:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875661 -3.064219)'), GeomFromEWKT('SRID=4674;POINT (-38.875689 -3.064172)'))) / (select extract(epoch from '2026-08-06 12:30:14'::timestamp) - extract(epoch from '2026-08-06 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'), 48137, 'SRID=4674;POINT (-38.875728 -3.064116)', '2026-08-06 12:30:22', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875689 -3.064172)'), GeomFromEWKT('SRID=4674;POINT (-38.875728 -3.064116)'))) / (select extract(epoch from '2026-08-06 12:30:22'::timestamp) - extract(epoch from '2026-08-06 12:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875689 -3.064172)'), GeomFromEWKT('SRID=4674;POINT (-38.875728 -3.064116)'))) / (select extract(epoch from '2026-08-06 12:30:22'::timestamp) - extract(epoch from '2026-08-06 12:30: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'), 48137, 'SRID=4674;POINT (-38.875742 -3.064068)', '2026-08-06 12:30:28', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875728 -3.064116)'), GeomFromEWKT('SRID=4674;POINT (-38.875742 -3.064068)'))) / (select extract(epoch from '2026-08-06 12:30:28'::timestamp) - extract(epoch from '2026-08-06 12:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875728 -3.064116)'), GeomFromEWKT('SRID=4674;POINT (-38.875742 -3.064068)'))) / (select extract(epoch from '2026-08-06 12:30:28'::timestamp) - extract(epoch from '2026-08-06 12:30: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'), 48137, 'SRID=4674;POINT (-38.87575 -3.064062)', '2026-08-06 12:30:29', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875742 -3.064068)'), GeomFromEWKT('SRID=4674;POINT (-38.87575 -3.064062)'))) / (select extract(epoch from '2026-08-06 12:30:29'::timestamp) - extract(epoch from '2026-08-06 12:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875742 -3.064068)'), GeomFromEWKT('SRID=4674;POINT (-38.87575 -3.064062)'))) / (select extract(epoch from '2026-08-06 12:30:29'::timestamp) - extract(epoch from '2026-08-06 12:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.875772 -3.06402)', '2026-08-06 12:30:35', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87575 -3.064062)'), GeomFromEWKT('SRID=4674;POINT (-38.875772 -3.06402)'))) / (select extract(epoch from '2026-08-06 12:30:35'::timestamp) - extract(epoch from '2026-08-06 12:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87575 -3.064062)'), GeomFromEWKT('SRID=4674;POINT (-38.875772 -3.06402)'))) / (select extract(epoch from '2026-08-06 12:30:35'::timestamp) - extract(epoch from '2026-08-06 12:30: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'), 48137, 'SRID=4674;POINT (-38.875805 -3.063982)', '2026-08-06 12:30:44', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875772 -3.06402)'), GeomFromEWKT('SRID=4674;POINT (-38.875805 -3.063982)'))) / (select extract(epoch from '2026-08-06 12:30:44'::timestamp) - extract(epoch from '2026-08-06 12:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875772 -3.06402)'), GeomFromEWKT('SRID=4674;POINT (-38.875805 -3.063982)'))) / (select extract(epoch from '2026-08-06 12:30:44'::timestamp) - extract(epoch from '2026-08-06 12:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.875834 -3.063952)', '2026-08-06 12:30:48', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875805 -3.063982)'), GeomFromEWKT('SRID=4674;POINT (-38.875834 -3.063952)'))) / (select extract(epoch from '2026-08-06 12:30:48'::timestamp) - extract(epoch from '2026-08-06 12:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875805 -3.063982)'), GeomFromEWKT('SRID=4674;POINT (-38.875834 -3.063952)'))) / (select extract(epoch from '2026-08-06 12:30:48'::timestamp) - extract(epoch from '2026-08-06 12:30: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'), 48137, 'SRID=4674;POINT (-38.875865 -3.063914)', '2026-08-06 12:30:55', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875834 -3.063952)'), GeomFromEWKT('SRID=4674;POINT (-38.875865 -3.063914)'))) / (select extract(epoch from '2026-08-06 12:30:55'::timestamp) - extract(epoch from '2026-08-06 12:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875834 -3.063952)'), GeomFromEWKT('SRID=4674;POINT (-38.875865 -3.063914)'))) / (select extract(epoch from '2026-08-06 12:30:55'::timestamp) - extract(epoch from '2026-08-06 12:30: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'), 48137, 'SRID=4674;POINT (-38.875889 -3.063866)', '2026-08-06 12:31:03', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875865 -3.063914)'), GeomFromEWKT('SRID=4674;POINT (-38.875889 -3.063866)'))) / (select extract(epoch from '2026-08-06 12:31:03'::timestamp) - extract(epoch from '2026-08-06 12:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875865 -3.063914)'), GeomFromEWKT('SRID=4674;POINT (-38.875889 -3.063866)'))) / (select extract(epoch from '2026-08-06 12:31:03'::timestamp) - extract(epoch from '2026-08-06 12:30: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'), 48137, 'SRID=4674;POINT (-38.875924 -3.063817)', '2026-08-06 12:31:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875889 -3.063866)'), GeomFromEWKT('SRID=4674;POINT (-38.875924 -3.063817)'))) / (select extract(epoch from '2026-08-06 12:31:09'::timestamp) - extract(epoch from '2026-08-06 12:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875889 -3.063866)'), GeomFromEWKT('SRID=4674;POINT (-38.875924 -3.063817)'))) / (select extract(epoch from '2026-08-06 12:31:09'::timestamp) - extract(epoch from '2026-08-06 12:31: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'), 48137, 'SRID=4674;POINT (-38.875924 -3.063809)', '2026-08-06 12:31:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875924 -3.063817)'), GeomFromEWKT('SRID=4674;POINT (-38.875924 -3.063809)'))) / (select extract(epoch from '2026-08-06 12:31:10'::timestamp) - extract(epoch from '2026-08-06 12:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875924 -3.063817)'), GeomFromEWKT('SRID=4674;POINT (-38.875924 -3.063809)'))) / (select extract(epoch from '2026-08-06 12:31:10'::timestamp) - extract(epoch from '2026-08-06 12:31: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'), 48137, 'SRID=4674;POINT (-38.875942 -3.063786)', '2026-08-06 12:31:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875924 -3.063809)'), GeomFromEWKT('SRID=4674;POINT (-38.875942 -3.063786)'))) / (select extract(epoch from '2026-08-06 12:31:13'::timestamp) - extract(epoch from '2026-08-06 12:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875924 -3.063809)'), GeomFromEWKT('SRID=4674;POINT (-38.875942 -3.063786)'))) / (select extract(epoch from '2026-08-06 12:31:13'::timestamp) - extract(epoch from '2026-08-06 12:31: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'), 48137, 'SRID=4674;POINT (-38.876 -3.063735)', '2026-08-06 12:31:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875942 -3.063786)'), GeomFromEWKT('SRID=4674;POINT (-38.876 -3.063735)'))) / (select extract(epoch from '2026-08-06 12:31:19'::timestamp) - extract(epoch from '2026-08-06 12:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.875942 -3.063786)'), GeomFromEWKT('SRID=4674;POINT (-38.876 -3.063735)'))) / (select extract(epoch from '2026-08-06 12:31:19'::timestamp) - extract(epoch from '2026-08-06 12:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.876055 -3.063682)', '2026-08-06 12:31:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876 -3.063735)'), GeomFromEWKT('SRID=4674;POINT (-38.876055 -3.063682)'))) / (select extract(epoch from '2026-08-06 12:31:25'::timestamp) - extract(epoch from '2026-08-06 12:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876 -3.063735)'), GeomFromEWKT('SRID=4674;POINT (-38.876055 -3.063682)'))) / (select extract(epoch from '2026-08-06 12:31:25'::timestamp) - extract(epoch from '2026-08-06 12:31: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'), 48137, 'SRID=4674;POINT (-38.876101 -3.063635)', '2026-08-06 12:31:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876055 -3.063682)'), GeomFromEWKT('SRID=4674;POINT (-38.876101 -3.063635)'))) / (select extract(epoch from '2026-08-06 12:31:30'::timestamp) - extract(epoch from '2026-08-06 12:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876055 -3.063682)'), GeomFromEWKT('SRID=4674;POINT (-38.876101 -3.063635)'))) / (select extract(epoch from '2026-08-06 12:31:30'::timestamp) - extract(epoch from '2026-08-06 12:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.876162 -3.063602)', '2026-08-06 12:31:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876101 -3.063635)'), GeomFromEWKT('SRID=4674;POINT (-38.876162 -3.063602)'))) / (select extract(epoch from '2026-08-06 12:31:36'::timestamp) - extract(epoch from '2026-08-06 12:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876101 -3.063635)'), GeomFromEWKT('SRID=4674;POINT (-38.876162 -3.063602)'))) / (select extract(epoch from '2026-08-06 12:31:36'::timestamp) - extract(epoch from '2026-08-06 12:31: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'), 48137, 'SRID=4674;POINT (-38.876212 -3.063582)', '2026-08-06 12:31:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876162 -3.063602)'), GeomFromEWKT('SRID=4674;POINT (-38.876212 -3.063582)'))) / (select extract(epoch from '2026-08-06 12:31:39'::timestamp) - extract(epoch from '2026-08-06 12:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876162 -3.063602)'), GeomFromEWKT('SRID=4674;POINT (-38.876212 -3.063582)'))) / (select extract(epoch from '2026-08-06 12:31:39'::timestamp) - extract(epoch from '2026-08-06 12:31: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'), 48137, 'SRID=4674;POINT (-38.87622 -3.063574)', '2026-08-06 12:31:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876212 -3.063582)'), GeomFromEWKT('SRID=4674;POINT (-38.87622 -3.063574)'))) / (select extract(epoch from '2026-08-06 12:31:40'::timestamp) - extract(epoch from '2026-08-06 12:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876212 -3.063582)'), GeomFromEWKT('SRID=4674;POINT (-38.87622 -3.063574)'))) / (select extract(epoch from '2026-08-06 12:31:40'::timestamp) - extract(epoch from '2026-08-06 12:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.876283 -3.06354)', '2026-08-06 12:31:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87622 -3.063574)'), GeomFromEWKT('SRID=4674;POINT (-38.876283 -3.06354)'))) / (select extract(epoch from '2026-08-06 12:31:45'::timestamp) - extract(epoch from '2026-08-06 12:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87622 -3.063574)'), GeomFromEWKT('SRID=4674;POINT (-38.876283 -3.06354)'))) / (select extract(epoch from '2026-08-06 12:31:45'::timestamp) - extract(epoch from '2026-08-06 12:31: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'), 48137, 'SRID=4674;POINT (-38.876295 -3.063531)', '2026-08-06 12:31:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876283 -3.06354)'), GeomFromEWKT('SRID=4674;POINT (-38.876295 -3.063531)'))) / (select extract(epoch from '2026-08-06 12:31:46'::timestamp) - extract(epoch from '2026-08-06 12:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876283 -3.06354)'), GeomFromEWKT('SRID=4674;POINT (-38.876295 -3.063531)'))) / (select extract(epoch from '2026-08-06 12:31:46'::timestamp) - extract(epoch from '2026-08-06 12:31: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'), 48137, 'SRID=4674;POINT (-38.876369 -3.063493)', '2026-08-06 12:31:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876295 -3.063531)'), GeomFromEWKT('SRID=4674;POINT (-38.876369 -3.063493)'))) / (select extract(epoch from '2026-08-06 12:31:52'::timestamp) - extract(epoch from '2026-08-06 12:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876295 -3.063531)'), GeomFromEWKT('SRID=4674;POINT (-38.876369 -3.063493)'))) / (select extract(epoch from '2026-08-06 12:31:52'::timestamp) - extract(epoch from '2026-08-06 12:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.876379 -3.063485)', '2026-08-06 12:31:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876369 -3.063493)'), GeomFromEWKT('SRID=4674;POINT (-38.876379 -3.063485)'))) / (select extract(epoch from '2026-08-06 12:31:53'::timestamp) - extract(epoch from '2026-08-06 12:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876369 -3.063493)'), GeomFromEWKT('SRID=4674;POINT (-38.876379 -3.063485)'))) / (select extract(epoch from '2026-08-06 12:31:53'::timestamp) - extract(epoch from '2026-08-06 12:31: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'), 48137, 'SRID=4674;POINT (-38.876395 -3.063467)', '2026-08-06 12:31:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876379 -3.063485)'), GeomFromEWKT('SRID=4674;POINT (-38.876395 -3.063467)'))) / (select extract(epoch from '2026-08-06 12:31:55'::timestamp) - extract(epoch from '2026-08-06 12:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876379 -3.063485)'), GeomFromEWKT('SRID=4674;POINT (-38.876395 -3.063467)'))) / (select extract(epoch from '2026-08-06 12:31:55'::timestamp) - extract(epoch from '2026-08-06 12:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.876413 -3.063458)', '2026-08-06 12:31:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876395 -3.063467)'), GeomFromEWKT('SRID=4674;POINT (-38.876413 -3.063458)'))) / (select extract(epoch from '2026-08-06 12:31:57'::timestamp) - extract(epoch from '2026-08-06 12:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876395 -3.063467)'), GeomFromEWKT('SRID=4674;POINT (-38.876413 -3.063458)'))) / (select extract(epoch from '2026-08-06 12:31:57'::timestamp) - extract(epoch from '2026-08-06 12:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.876469 -3.063412)', '2026-08-06 12:32:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876413 -3.063458)'), GeomFromEWKT('SRID=4674;POINT (-38.876469 -3.063412)'))) / (select extract(epoch from '2026-08-06 12:32:02'::timestamp) - extract(epoch from '2026-08-06 12:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876413 -3.063458)'), GeomFromEWKT('SRID=4674;POINT (-38.876469 -3.063412)'))) / (select extract(epoch from '2026-08-06 12:32:02'::timestamp) - extract(epoch from '2026-08-06 12:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.876484 -3.063406)', '2026-08-06 12:32:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876469 -3.063412)'), GeomFromEWKT('SRID=4674;POINT (-38.876484 -3.063406)'))) / (select extract(epoch from '2026-08-06 12:32:03'::timestamp) - extract(epoch from '2026-08-06 12:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876469 -3.063412)'), GeomFromEWKT('SRID=4674;POINT (-38.876484 -3.063406)'))) / (select extract(epoch from '2026-08-06 12:32:03'::timestamp) - extract(epoch from '2026-08-06 12:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.87651 -3.063394)', '2026-08-06 12:32:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876484 -3.063406)'), GeomFromEWKT('SRID=4674;POINT (-38.87651 -3.063394)'))) / (select extract(epoch from '2026-08-06 12:32:05'::timestamp) - extract(epoch from '2026-08-06 12:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876484 -3.063406)'), GeomFromEWKT('SRID=4674;POINT (-38.87651 -3.063394)'))) / (select extract(epoch from '2026-08-06 12:32:05'::timestamp) - extract(epoch from '2026-08-06 12:32: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'), 48137, 'SRID=4674;POINT (-38.876515 -3.063386)', '2026-08-06 12:32:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87651 -3.063394)'), GeomFromEWKT('SRID=4674;POINT (-38.876515 -3.063386)'))) / (select extract(epoch from '2026-08-06 12:32:06'::timestamp) - extract(epoch from '2026-08-06 12:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87651 -3.063394)'), GeomFromEWKT('SRID=4674;POINT (-38.876515 -3.063386)'))) / (select extract(epoch from '2026-08-06 12:32:06'::timestamp) - extract(epoch from '2026-08-06 12:32: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'), 48137, 'SRID=4674;POINT (-38.876524 -3.063383)', '2026-08-06 12:32:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876515 -3.063386)'), GeomFromEWKT('SRID=4674;POINT (-38.876524 -3.063383)'))) / (select extract(epoch from '2026-08-06 12:32:07'::timestamp) - extract(epoch from '2026-08-06 12:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876515 -3.063386)'), GeomFromEWKT('SRID=4674;POINT (-38.876524 -3.063383)'))) / (select extract(epoch from '2026-08-06 12:32:07'::timestamp) - extract(epoch from '2026-08-06 12:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.876576 -3.063359)', '2026-08-06 12:32:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876524 -3.063383)'), GeomFromEWKT('SRID=4674;POINT (-38.876576 -3.063359)'))) / (select extract(epoch from '2026-08-06 12:32:10'::timestamp) - extract(epoch from '2026-08-06 12:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876524 -3.063383)'), GeomFromEWKT('SRID=4674;POINT (-38.876576 -3.063359)'))) / (select extract(epoch from '2026-08-06 12:32:10'::timestamp) - extract(epoch from '2026-08-06 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'), 48137, 'SRID=4674;POINT (-38.876604 -3.063342)', '2026-08-06 12:32:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876576 -3.063359)'), GeomFromEWKT('SRID=4674;POINT (-38.876604 -3.063342)'))) / (select extract(epoch from '2026-08-06 12:32:13'::timestamp) - extract(epoch from '2026-08-06 12:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876576 -3.063359)'), GeomFromEWKT('SRID=4674;POINT (-38.876604 -3.063342)'))) / (select extract(epoch from '2026-08-06 12:32:13'::timestamp) - extract(epoch from '2026-08-06 12:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.876631 -3.063328)', '2026-08-06 12:32:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876604 -3.063342)'), GeomFromEWKT('SRID=4674;POINT (-38.876631 -3.063328)'))) / (select extract(epoch from '2026-08-06 12:32:15'::timestamp) - extract(epoch from '2026-08-06 12:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876604 -3.063342)'), GeomFromEWKT('SRID=4674;POINT (-38.876631 -3.063328)'))) / (select extract(epoch from '2026-08-06 12:32:15'::timestamp) - extract(epoch from '2026-08-06 12:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.876703 -3.063299)', '2026-08-06 12:32:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876631 -3.063328)'), GeomFromEWKT('SRID=4674;POINT (-38.876703 -3.063299)'))) / (select extract(epoch from '2026-08-06 12:32:21'::timestamp) - extract(epoch from '2026-08-06 12:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876631 -3.063328)'), GeomFromEWKT('SRID=4674;POINT (-38.876703 -3.063299)'))) / (select extract(epoch from '2026-08-06 12:32:21'::timestamp) - extract(epoch from '2026-08-06 12:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.876776 -3.063269)', '2026-08-06 12:32:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876703 -3.063299)'), GeomFromEWKT('SRID=4674;POINT (-38.876776 -3.063269)'))) / (select extract(epoch from '2026-08-06 12:32:27'::timestamp) - extract(epoch from '2026-08-06 12:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876703 -3.063299)'), GeomFromEWKT('SRID=4674;POINT (-38.876776 -3.063269)'))) / (select extract(epoch from '2026-08-06 12:32:27'::timestamp) - extract(epoch from '2026-08-06 12:32: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'), 48137, 'SRID=4674;POINT (-38.876836 -3.063245)', '2026-08-06 12:32:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876776 -3.063269)'), GeomFromEWKT('SRID=4674;POINT (-38.876836 -3.063245)'))) / (select extract(epoch from '2026-08-06 12:32:33'::timestamp) - extract(epoch from '2026-08-06 12:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876776 -3.063269)'), GeomFromEWKT('SRID=4674;POINT (-38.876836 -3.063245)'))) / (select extract(epoch from '2026-08-06 12:32:33'::timestamp) - extract(epoch from '2026-08-06 12:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.87692 -3.063208)', '2026-08-06 12:32:40', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876836 -3.063245)'), GeomFromEWKT('SRID=4674;POINT (-38.87692 -3.063208)'))) / (select extract(epoch from '2026-08-06 12:32:40'::timestamp) - extract(epoch from '2026-08-06 12:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876836 -3.063245)'), GeomFromEWKT('SRID=4674;POINT (-38.87692 -3.063208)'))) / (select extract(epoch from '2026-08-06 12:32:40'::timestamp) - extract(epoch from '2026-08-06 12:32: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'), 48137, 'SRID=4674;POINT (-38.876946 -3.063203)', '2026-08-06 12:32:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87692 -3.063208)'), GeomFromEWKT('SRID=4674;POINT (-38.876946 -3.063203)'))) / (select extract(epoch from '2026-08-06 12:32:42'::timestamp) - extract(epoch from '2026-08-06 12:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87692 -3.063208)'), GeomFromEWKT('SRID=4674;POINT (-38.876946 -3.063203)'))) / (select extract(epoch from '2026-08-06 12:32:42'::timestamp) - extract(epoch from '2026-08-06 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'), 48137, 'SRID=4674;POINT (-38.87697 -3.063188)', '2026-08-06 12:32:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876946 -3.063203)'), GeomFromEWKT('SRID=4674;POINT (-38.87697 -3.063188)'))) / (select extract(epoch from '2026-08-06 12:32:44'::timestamp) - extract(epoch from '2026-08-06 12:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876946 -3.063203)'), GeomFromEWKT('SRID=4674;POINT (-38.87697 -3.063188)'))) / (select extract(epoch from '2026-08-06 12:32:44'::timestamp) - extract(epoch from '2026-08-06 12:32: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'), 48137, 'SRID=4674;POINT (-38.876982 -3.063185)', '2026-08-06 12:32:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87697 -3.063188)'), GeomFromEWKT('SRID=4674;POINT (-38.876982 -3.063185)'))) / (select extract(epoch from '2026-08-06 12:32:45'::timestamp) - extract(epoch from '2026-08-06 12:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87697 -3.063188)'), GeomFromEWKT('SRID=4674;POINT (-38.876982 -3.063185)'))) / (select extract(epoch from '2026-08-06 12:32:45'::timestamp) - extract(epoch from '2026-08-06 12:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.877016 -3.063176)', '2026-08-06 12:32:48', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876982 -3.063185)'), GeomFromEWKT('SRID=4674;POINT (-38.877016 -3.063176)'))) / (select extract(epoch from '2026-08-06 12:32:48'::timestamp) - extract(epoch from '2026-08-06 12:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.876982 -3.063185)'), GeomFromEWKT('SRID=4674;POINT (-38.877016 -3.063176)'))) / (select extract(epoch from '2026-08-06 12:32:48'::timestamp) - extract(epoch from '2026-08-06 12:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.877045 -3.063158)', '2026-08-06 12:32:51', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877016 -3.063176)'), GeomFromEWKT('SRID=4674;POINT (-38.877045 -3.063158)'))) / (select extract(epoch from '2026-08-06 12:32:51'::timestamp) - extract(epoch from '2026-08-06 12:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877016 -3.063176)'), GeomFromEWKT('SRID=4674;POINT (-38.877045 -3.063158)'))) / (select extract(epoch from '2026-08-06 12:32:51'::timestamp) - extract(epoch from '2026-08-06 12:32: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'), 48137, 'SRID=4674;POINT (-38.877114 -3.063133)', '2026-08-06 12:32:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877045 -3.063158)'), GeomFromEWKT('SRID=4674;POINT (-38.877114 -3.063133)'))) / (select extract(epoch from '2026-08-06 12:32:57'::timestamp) - extract(epoch from '2026-08-06 12:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877045 -3.063158)'), GeomFromEWKT('SRID=4674;POINT (-38.877114 -3.063133)'))) / (select extract(epoch from '2026-08-06 12:32:57'::timestamp) - extract(epoch from '2026-08-06 12:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.87717 -3.063126)', '2026-08-06 12:33:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877114 -3.063133)'), GeomFromEWKT('SRID=4674;POINT (-38.87717 -3.063126)'))) / (select extract(epoch from '2026-08-06 12:33:02'::timestamp) - extract(epoch from '2026-08-06 12:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877114 -3.063133)'), GeomFromEWKT('SRID=4674;POINT (-38.87717 -3.063126)'))) / (select extract(epoch from '2026-08-06 12:33:02'::timestamp) - extract(epoch from '2026-08-06 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'), 48137, 'SRID=4674;POINT (-38.877181 -3.063124)', '2026-08-06 12:33:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87717 -3.063126)'), GeomFromEWKT('SRID=4674;POINT (-38.877181 -3.063124)'))) / (select extract(epoch from '2026-08-06 12:33:03'::timestamp) - extract(epoch from '2026-08-06 12:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87717 -3.063126)'), GeomFromEWKT('SRID=4674;POINT (-38.877181 -3.063124)'))) / (select extract(epoch from '2026-08-06 12:33:03'::timestamp) - extract(epoch from '2026-08-06 12:33: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'), 48137, 'SRID=4674;POINT (-38.87725 -3.063109)', '2026-08-06 12:33:09', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877181 -3.063124)'), GeomFromEWKT('SRID=4674;POINT (-38.87725 -3.063109)'))) / (select extract(epoch from '2026-08-06 12:33:09'::timestamp) - extract(epoch from '2026-08-06 12:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877181 -3.063124)'), GeomFromEWKT('SRID=4674;POINT (-38.87725 -3.063109)'))) / (select extract(epoch from '2026-08-06 12:33:09'::timestamp) - extract(epoch from '2026-08-06 12:33:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.877314 -3.063089)', '2026-08-06 12:33:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87725 -3.063109)'), GeomFromEWKT('SRID=4674;POINT (-38.877314 -3.063089)'))) / (select extract(epoch from '2026-08-06 12:33:15'::timestamp) - extract(epoch from '2026-08-06 12:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87725 -3.063109)'), GeomFromEWKT('SRID=4674;POINT (-38.877314 -3.063089)'))) / (select extract(epoch from '2026-08-06 12:33:15'::timestamp) - extract(epoch from '2026-08-06 12:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.877362 -3.063084)', '2026-08-06 12:33:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877314 -3.063089)'), GeomFromEWKT('SRID=4674;POINT (-38.877362 -3.063084)'))) / (select extract(epoch from '2026-08-06 12:33:18'::timestamp) - extract(epoch from '2026-08-06 12:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877314 -3.063089)'), GeomFromEWKT('SRID=4674;POINT (-38.877362 -3.063084)'))) / (select extract(epoch from '2026-08-06 12:33:18'::timestamp) - extract(epoch from '2026-08-06 12:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.877374 -3.063079)', '2026-08-06 12:33:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877362 -3.063084)'), GeomFromEWKT('SRID=4674;POINT (-38.877374 -3.063079)'))) / (select extract(epoch from '2026-08-06 12:33:19'::timestamp) - extract(epoch from '2026-08-06 12:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877362 -3.063084)'), GeomFromEWKT('SRID=4674;POINT (-38.877374 -3.063079)'))) / (select extract(epoch from '2026-08-06 12:33:19'::timestamp) - extract(epoch from '2026-08-06 12:33: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'), 48137, 'SRID=4674;POINT (-38.877438 -3.063048)', '2026-08-06 12:33:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877374 -3.063079)'), GeomFromEWKT('SRID=4674;POINT (-38.877438 -3.063048)'))) / (select extract(epoch from '2026-08-06 12:33:25'::timestamp) - extract(epoch from '2026-08-06 12:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877374 -3.063079)'), GeomFromEWKT('SRID=4674;POINT (-38.877438 -3.063048)'))) / (select extract(epoch from '2026-08-06 12:33:25'::timestamp) - extract(epoch from '2026-08-06 12:33: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'), 48137, 'SRID=4674;POINT (-38.87746 -3.063039)', '2026-08-06 12:33:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877438 -3.063048)'), GeomFromEWKT('SRID=4674;POINT (-38.87746 -3.063039)'))) / (select extract(epoch from '2026-08-06 12:33:27'::timestamp) - extract(epoch from '2026-08-06 12:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877438 -3.063048)'), GeomFromEWKT('SRID=4674;POINT (-38.87746 -3.063039)'))) / (select extract(epoch from '2026-08-06 12:33:27'::timestamp) - extract(epoch from '2026-08-06 12:33: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'), 48137, 'SRID=4674;POINT (-38.877475 -3.063021)', '2026-08-06 12:33:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87746 -3.063039)'), GeomFromEWKT('SRID=4674;POINT (-38.877475 -3.063021)'))) / (select extract(epoch from '2026-08-06 12:33:29'::timestamp) - extract(epoch from '2026-08-06 12:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.87746 -3.063039)'), GeomFromEWKT('SRID=4674;POINT (-38.877475 -3.063021)'))) / (select extract(epoch from '2026-08-06 12:33:29'::timestamp) - extract(epoch from '2026-08-06 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'), 48137, 'SRID=4674;POINT (-38.877487 -3.063018)', '2026-08-06 12:33:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877475 -3.063021)'), GeomFromEWKT('SRID=4674;POINT (-38.877487 -3.063018)'))) / (select extract(epoch from '2026-08-06 12:33:30'::timestamp) - extract(epoch from '2026-08-06 12:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877475 -3.063021)'), GeomFromEWKT('SRID=4674;POINT (-38.877487 -3.063018)'))) / (select extract(epoch from '2026-08-06 12:33:30'::timestamp) - extract(epoch from '2026-08-06 12:33: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'), 48137, 'SRID=4674;POINT (-38.877552 -3.062992)', '2026-08-06 12:33:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877487 -3.063018)'), GeomFromEWKT('SRID=4674;POINT (-38.877552 -3.062992)'))) / (select extract(epoch from '2026-08-06 12:33:35'::timestamp) - extract(epoch from '2026-08-06 12:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877487 -3.063018)'), GeomFromEWKT('SRID=4674;POINT (-38.877552 -3.062992)'))) / (select extract(epoch from '2026-08-06 12:33:35'::timestamp) - extract(epoch from '2026-08-06 12:33: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'), 48137, 'SRID=4674;POINT (-38.877624 -3.062965)', '2026-08-06 12:33:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877552 -3.062992)'), GeomFromEWKT('SRID=4674;POINT (-38.877624 -3.062965)'))) / (select extract(epoch from '2026-08-06 12:33:41'::timestamp) - extract(epoch from '2026-08-06 12:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877552 -3.062992)'), GeomFromEWKT('SRID=4674;POINT (-38.877624 -3.062965)'))) / (select extract(epoch from '2026-08-06 12:33:41'::timestamp) - extract(epoch from '2026-08-06 12:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.877657 -3.062958)', '2026-08-06 12:33:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877624 -3.062965)'), GeomFromEWKT('SRID=4674;POINT (-38.877657 -3.062958)'))) / (select extract(epoch from '2026-08-06 12:33:44'::timestamp) - extract(epoch from '2026-08-06 12:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877624 -3.062965)'), GeomFromEWKT('SRID=4674;POINT (-38.877657 -3.062958)'))) / (select extract(epoch from '2026-08-06 12:33:44'::timestamp) - extract(epoch from '2026-08-06 12:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48137, 'SRID=4674;POINT (-38.877699 -3.062946)', '2026-08-06 12:33:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877657 -3.062958)'), GeomFromEWKT('SRID=4674;POINT (-38.877699 -3.062946)'))) / (select extract(epoch from '2026-08-06 12:33:48'::timestamp) - extract(epoch from '2026-08-06 12:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.877657 -3.062958)'), GeomFromEWKT('SRID=4674;POINT (-38.877699 -3.062946)'))) / (select extract(epoch from '2026-08-06 12:33:48'::timestamp) - extract(epoch from '2026-08-06 12:33:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
