BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.520906 -3.098948)', '2026-06-09 05:26:38', 5.8, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.520998 -3.098839)', '2026-06-09 05:26:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520906 -3.098948)'), GeomFromEWKT('SRID=4674;POINT (-39.520998 -3.098839)'))) / (select extract(epoch from '2026-06-09 05:26:44'::timestamp) - extract(epoch from '2026-06-09 05:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520906 -3.098948)'), GeomFromEWKT('SRID=4674;POINT (-39.520998 -3.098839)'))) / (select extract(epoch from '2026-06-09 05:26:44'::timestamp) - extract(epoch from '2026-06-09 05:26:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.521093 -3.098699)', '2026-06-09 05:26:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520998 -3.098839)'), GeomFromEWKT('SRID=4674;POINT (-39.521093 -3.098699)'))) / (select extract(epoch from '2026-06-09 05:26:51'::timestamp) - extract(epoch from '2026-06-09 05:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520998 -3.098839)'), GeomFromEWKT('SRID=4674;POINT (-39.521093 -3.098699)'))) / (select extract(epoch from '2026-06-09 05:26:51'::timestamp) - extract(epoch from '2026-06-09 05:26: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'), 46794, 'SRID=4674;POINT (-39.521197 -3.098535)', '2026-06-09 05:26:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521093 -3.098699)'), GeomFromEWKT('SRID=4674;POINT (-39.521197 -3.098535)'))) / (select extract(epoch from '2026-06-09 05:26:59'::timestamp) - extract(epoch from '2026-06-09 05:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521093 -3.098699)'), GeomFromEWKT('SRID=4674;POINT (-39.521197 -3.098535)'))) / (select extract(epoch from '2026-06-09 05:26:59'::timestamp) - extract(epoch from '2026-06-09 05:26: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'), 46794, 'SRID=4674;POINT (-39.521293 -3.098395)', '2026-06-09 05:27:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521197 -3.098535)'), GeomFromEWKT('SRID=4674;POINT (-39.521293 -3.098395)'))) / (select extract(epoch from '2026-06-09 05:27:06'::timestamp) - extract(epoch from '2026-06-09 05:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521197 -3.098535)'), GeomFromEWKT('SRID=4674;POINT (-39.521293 -3.098395)'))) / (select extract(epoch from '2026-06-09 05:27:06'::timestamp) - extract(epoch from '2026-06-09 05:26: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'), 46794, 'SRID=4674;POINT (-39.521397 -3.098261)', '2026-06-09 05:27:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521293 -3.098395)'), GeomFromEWKT('SRID=4674;POINT (-39.521397 -3.098261)'))) / (select extract(epoch from '2026-06-09 05:27:13'::timestamp) - extract(epoch from '2026-06-09 05:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521293 -3.098395)'), GeomFromEWKT('SRID=4674;POINT (-39.521397 -3.098261)'))) / (select extract(epoch from '2026-06-09 05:27:13'::timestamp) - extract(epoch from '2026-06-09 05:27: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'), 46794, 'SRID=4674;POINT (-39.521512 -3.098138)', '2026-06-09 05:27:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521397 -3.098261)'), GeomFromEWKT('SRID=4674;POINT (-39.521512 -3.098138)'))) / (select extract(epoch from '2026-06-09 05:27:20'::timestamp) - extract(epoch from '2026-06-09 05:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521397 -3.098261)'), GeomFromEWKT('SRID=4674;POINT (-39.521512 -3.098138)'))) / (select extract(epoch from '2026-06-09 05:27:20'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.521603 -3.098005)', '2026-06-09 05:27:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521512 -3.098138)'), GeomFromEWKT('SRID=4674;POINT (-39.521603 -3.098005)'))) / (select extract(epoch from '2026-06-09 05:27:27'::timestamp) - extract(epoch from '2026-06-09 05:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521512 -3.098138)'), GeomFromEWKT('SRID=4674;POINT (-39.521603 -3.098005)'))) / (select extract(epoch from '2026-06-09 05:27:27'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.521714 -3.097882)', '2026-06-09 05:27:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521603 -3.098005)'), GeomFromEWKT('SRID=4674;POINT (-39.521714 -3.097882)'))) / (select extract(epoch from '2026-06-09 05:27:34'::timestamp) - extract(epoch from '2026-06-09 05:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521603 -3.098005)'), GeomFromEWKT('SRID=4674;POINT (-39.521714 -3.097882)'))) / (select extract(epoch from '2026-06-09 05:27:34'::timestamp) - extract(epoch from '2026-06-09 05:27: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'), 46794, 'SRID=4674;POINT (-39.521804 -3.097768)', '2026-06-09 05:27:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521714 -3.097882)'), GeomFromEWKT('SRID=4674;POINT (-39.521804 -3.097768)'))) / (select extract(epoch from '2026-06-09 05:27:40'::timestamp) - extract(epoch from '2026-06-09 05:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521714 -3.097882)'), GeomFromEWKT('SRID=4674;POINT (-39.521804 -3.097768)'))) / (select extract(epoch from '2026-06-09 05:27:40'::timestamp) - extract(epoch from '2026-06-09 05:27: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'), 46794, 'SRID=4674;POINT (-39.521886 -3.097653)', '2026-06-09 05:27:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521804 -3.097768)'), GeomFromEWKT('SRID=4674;POINT (-39.521886 -3.097653)'))) / (select extract(epoch from '2026-06-09 05:27:46'::timestamp) - extract(epoch from '2026-06-09 05:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521804 -3.097768)'), GeomFromEWKT('SRID=4674;POINT (-39.521886 -3.097653)'))) / (select extract(epoch from '2026-06-09 05:27:46'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.521994 -3.097499)', '2026-06-09 05:27:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521886 -3.097653)'), GeomFromEWKT('SRID=4674;POINT (-39.521994 -3.097499)'))) / (select extract(epoch from '2026-06-09 05:27:54'::timestamp) - extract(epoch from '2026-06-09 05:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521886 -3.097653)'), GeomFromEWKT('SRID=4674;POINT (-39.521994 -3.097499)'))) / (select extract(epoch from '2026-06-09 05:27:54'::timestamp) - extract(epoch from '2026-06-09 05:27: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'), 46794, 'SRID=4674;POINT (-39.522072 -3.097349)', '2026-06-09 05:28:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521994 -3.097499)'), GeomFromEWKT('SRID=4674;POINT (-39.522072 -3.097349)'))) / (select extract(epoch from '2026-06-09 05:28:01'::timestamp) - extract(epoch from '2026-06-09 05:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521994 -3.097499)'), GeomFromEWKT('SRID=4674;POINT (-39.522072 -3.097349)'))) / (select extract(epoch from '2026-06-09 05:28:01'::timestamp) - extract(epoch from '2026-06-09 05:27:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.52216 -3.097181)', '2026-06-09 05:28:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522072 -3.097349)'), GeomFromEWKT('SRID=4674;POINT (-39.52216 -3.097181)'))) / (select extract(epoch from '2026-06-09 05:28:09'::timestamp) - extract(epoch from '2026-06-09 05:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522072 -3.097349)'), GeomFromEWKT('SRID=4674;POINT (-39.52216 -3.097181)'))) / (select extract(epoch from '2026-06-09 05:28:09'::timestamp) - extract(epoch from '2026-06-09 05:28: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'), 46794, 'SRID=4674;POINT (-39.522247 -3.097033)', '2026-06-09 05:28:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52216 -3.097181)'), GeomFromEWKT('SRID=4674;POINT (-39.522247 -3.097033)'))) / (select extract(epoch from '2026-06-09 05:28:16'::timestamp) - extract(epoch from '2026-06-09 05:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52216 -3.097181)'), GeomFromEWKT('SRID=4674;POINT (-39.522247 -3.097033)'))) / (select extract(epoch from '2026-06-09 05:28:16'::timestamp) - extract(epoch from '2026-06-09 05:28: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'), 46794, 'SRID=4674;POINT (-39.522316 -3.096882)', '2026-06-09 05:28:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522247 -3.097033)'), GeomFromEWKT('SRID=4674;POINT (-39.522316 -3.096882)'))) / (select extract(epoch from '2026-06-09 05:28:23'::timestamp) - extract(epoch from '2026-06-09 05:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522247 -3.097033)'), GeomFromEWKT('SRID=4674;POINT (-39.522316 -3.096882)'))) / (select extract(epoch from '2026-06-09 05:28:23'::timestamp) - extract(epoch from '2026-06-09 05:28: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'), 46794, 'SRID=4674;POINT (-39.522396 -3.096741)', '2026-06-09 05:28:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522316 -3.096882)'), GeomFromEWKT('SRID=4674;POINT (-39.522396 -3.096741)'))) / (select extract(epoch from '2026-06-09 05:28:30'::timestamp) - extract(epoch from '2026-06-09 05:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522316 -3.096882)'), GeomFromEWKT('SRID=4674;POINT (-39.522396 -3.096741)'))) / (select extract(epoch from '2026-06-09 05:28:30'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.522507 -3.096621)', '2026-06-09 05:28:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522396 -3.096741)'), GeomFromEWKT('SRID=4674;POINT (-39.522507 -3.096621)'))) / (select extract(epoch from '2026-06-09 05:28:37'::timestamp) - extract(epoch from '2026-06-09 05:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522396 -3.096741)'), GeomFromEWKT('SRID=4674;POINT (-39.522507 -3.096621)'))) / (select extract(epoch from '2026-06-09 05:28:37'::timestamp) - extract(epoch from '2026-06-09 05:28: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'), 46794, 'SRID=4674;POINT (-39.522599 -3.096511)', '2026-06-09 05:28:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522507 -3.096621)'), GeomFromEWKT('SRID=4674;POINT (-39.522599 -3.096511)'))) / (select extract(epoch from '2026-06-09 05:28:43'::timestamp) - extract(epoch from '2026-06-09 05:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522507 -3.096621)'), GeomFromEWKT('SRID=4674;POINT (-39.522599 -3.096511)'))) / (select extract(epoch from '2026-06-09 05:28:43'::timestamp) - extract(epoch from '2026-06-09 05:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.522709 -3.096384)', '2026-06-09 05:28:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522599 -3.096511)'), GeomFromEWKT('SRID=4674;POINT (-39.522709 -3.096384)'))) / (select extract(epoch from '2026-06-09 05:28:50'::timestamp) - extract(epoch from '2026-06-09 05:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522599 -3.096511)'), GeomFromEWKT('SRID=4674;POINT (-39.522709 -3.096384)'))) / (select extract(epoch from '2026-06-09 05:28:50'::timestamp) - extract(epoch from '2026-06-09 05:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.522812 -3.096247)', '2026-06-09 05:28:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522709 -3.096384)'), GeomFromEWKT('SRID=4674;POINT (-39.522812 -3.096247)'))) / (select extract(epoch from '2026-06-09 05:28:57'::timestamp) - extract(epoch from '2026-06-09 05:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522709 -3.096384)'), GeomFromEWKT('SRID=4674;POINT (-39.522812 -3.096247)'))) / (select extract(epoch from '2026-06-09 05:28:57'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.522885 -3.096091)', '2026-06-09 05:29:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522812 -3.096247)'), GeomFromEWKT('SRID=4674;POINT (-39.522885 -3.096091)'))) / (select extract(epoch from '2026-06-09 05:29:04'::timestamp) - extract(epoch from '2026-06-09 05:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522812 -3.096247)'), GeomFromEWKT('SRID=4674;POINT (-39.522885 -3.096091)'))) / (select extract(epoch from '2026-06-09 05:29:04'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.522955 -3.095938)', '2026-06-09 05:29:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522885 -3.096091)'), GeomFromEWKT('SRID=4674;POINT (-39.522955 -3.095938)'))) / (select extract(epoch from '2026-06-09 05:29:11'::timestamp) - extract(epoch from '2026-06-09 05:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522885 -3.096091)'), GeomFromEWKT('SRID=4674;POINT (-39.522955 -3.095938)'))) / (select extract(epoch from '2026-06-09 05:29:11'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.523019 -3.095785)', '2026-06-09 05:29:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522955 -3.095938)'), GeomFromEWKT('SRID=4674;POINT (-39.523019 -3.095785)'))) / (select extract(epoch from '2026-06-09 05:29:18'::timestamp) - extract(epoch from '2026-06-09 05:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522955 -3.095938)'), GeomFromEWKT('SRID=4674;POINT (-39.523019 -3.095785)'))) / (select extract(epoch from '2026-06-09 05:29:18'::timestamp) - extract(epoch from '2026-06-09 05:29: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'), 46794, 'SRID=4674;POINT (-39.523076 -3.095652)', '2026-06-09 05:29:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523019 -3.095785)'), GeomFromEWKT('SRID=4674;POINT (-39.523076 -3.095652)'))) / (select extract(epoch from '2026-06-09 05:29:24'::timestamp) - extract(epoch from '2026-06-09 05:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523019 -3.095785)'), GeomFromEWKT('SRID=4674;POINT (-39.523076 -3.095652)'))) / (select extract(epoch from '2026-06-09 05:29:24'::timestamp) - extract(epoch from '2026-06-09 05:29: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'), 46794, 'SRID=4674;POINT (-39.523156 -3.095492)', '2026-06-09 05:29:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523076 -3.095652)'), GeomFromEWKT('SRID=4674;POINT (-39.523156 -3.095492)'))) / (select extract(epoch from '2026-06-09 05:29:32'::timestamp) - extract(epoch from '2026-06-09 05:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523076 -3.095652)'), GeomFromEWKT('SRID=4674;POINT (-39.523156 -3.095492)'))) / (select extract(epoch from '2026-06-09 05:29:32'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.523255 -3.095331)', '2026-06-09 05:29:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523156 -3.095492)'), GeomFromEWKT('SRID=4674;POINT (-39.523255 -3.095331)'))) / (select extract(epoch from '2026-06-09 05:29:40'::timestamp) - extract(epoch from '2026-06-09 05:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523156 -3.095492)'), GeomFromEWKT('SRID=4674;POINT (-39.523255 -3.095331)'))) / (select extract(epoch from '2026-06-09 05:29:40'::timestamp) - extract(epoch from '2026-06-09 05:29: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'), 46794, 'SRID=4674;POINT (-39.523345 -3.095215)', '2026-06-09 05:29:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523255 -3.095331)'), GeomFromEWKT('SRID=4674;POINT (-39.523345 -3.095215)'))) / (select extract(epoch from '2026-06-09 05:29:46'::timestamp) - extract(epoch from '2026-06-09 05:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523255 -3.095331)'), GeomFromEWKT('SRID=4674;POINT (-39.523345 -3.095215)'))) / (select extract(epoch from '2026-06-09 05:29:46'::timestamp) - extract(epoch from '2026-06-09 05:29: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'), 46794, 'SRID=4674;POINT (-39.523476 -3.095064)', '2026-06-09 05:29:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523345 -3.095215)'), GeomFromEWKT('SRID=4674;POINT (-39.523476 -3.095064)'))) / (select extract(epoch from '2026-06-09 05:29:54'::timestamp) - extract(epoch from '2026-06-09 05:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523345 -3.095215)'), GeomFromEWKT('SRID=4674;POINT (-39.523476 -3.095064)'))) / (select extract(epoch from '2026-06-09 05:29:54'::timestamp) - extract(epoch from '2026-06-09 05:29: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'), 46794, 'SRID=4674;POINT (-39.52355 -3.094972)', '2026-06-09 05:29:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523476 -3.095064)'), GeomFromEWKT('SRID=4674;POINT (-39.52355 -3.094972)'))) / (select extract(epoch from '2026-06-09 05:29:59'::timestamp) - extract(epoch from '2026-06-09 05:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523476 -3.095064)'), GeomFromEWKT('SRID=4674;POINT (-39.52355 -3.094972)'))) / (select extract(epoch from '2026-06-09 05:29:59'::timestamp) - extract(epoch from '2026-06-09 05:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.523666 -3.094848)', '2026-06-09 05:30:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52355 -3.094972)'), GeomFromEWKT('SRID=4674;POINT (-39.523666 -3.094848)'))) / (select extract(epoch from '2026-06-09 05:30:06'::timestamp) - extract(epoch from '2026-06-09 05:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52355 -3.094972)'), GeomFromEWKT('SRID=4674;POINT (-39.523666 -3.094848)'))) / (select extract(epoch from '2026-06-09 05:30:06'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.523785 -3.094695)', '2026-06-09 05:30:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523666 -3.094848)'), GeomFromEWKT('SRID=4674;POINT (-39.523785 -3.094695)'))) / (select extract(epoch from '2026-06-09 05:30:14'::timestamp) - extract(epoch from '2026-06-09 05:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523666 -3.094848)'), GeomFromEWKT('SRID=4674;POINT (-39.523785 -3.094695)'))) / (select extract(epoch from '2026-06-09 05:30:14'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.523896 -3.094537)', '2026-06-09 05:30:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523785 -3.094695)'), GeomFromEWKT('SRID=4674;POINT (-39.523896 -3.094537)'))) / (select extract(epoch from '2026-06-09 05:30:22'::timestamp) - extract(epoch from '2026-06-09 05:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523785 -3.094695)'), GeomFromEWKT('SRID=4674;POINT (-39.523896 -3.094537)'))) / (select extract(epoch from '2026-06-09 05:30:22'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.523912 -3.094517)', '2026-06-09 05:30:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523896 -3.094537)'), GeomFromEWKT('SRID=4674;POINT (-39.523912 -3.094517)'))) / (select extract(epoch from '2026-06-09 05:30:23'::timestamp) - extract(epoch from '2026-06-09 05:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523896 -3.094537)'), GeomFromEWKT('SRID=4674;POINT (-39.523912 -3.094517)'))) / (select extract(epoch from '2026-06-09 05:30:23'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.524026 -3.094352)', '2026-06-09 05:30:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523912 -3.094517)'), GeomFromEWKT('SRID=4674;POINT (-39.524026 -3.094352)'))) / (select extract(epoch from '2026-06-09 05:30:31'::timestamp) - extract(epoch from '2026-06-09 05:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523912 -3.094517)'), GeomFromEWKT('SRID=4674;POINT (-39.524026 -3.094352)'))) / (select extract(epoch from '2026-06-09 05:30:31'::timestamp) - extract(epoch from '2026-06-09 05:30: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'), 46794, 'SRID=4674;POINT (-39.524036 -3.09433)', '2026-06-09 05:30:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524026 -3.094352)'), GeomFromEWKT('SRID=4674;POINT (-39.524036 -3.09433)'))) / (select extract(epoch from '2026-06-09 05:30:32'::timestamp) - extract(epoch from '2026-06-09 05:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524026 -3.094352)'), GeomFromEWKT('SRID=4674;POINT (-39.524036 -3.09433)'))) / (select extract(epoch from '2026-06-09 05:30:32'::timestamp) - extract(epoch from '2026-06-09 05:30: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'), 46794, 'SRID=4674;POINT (-39.524129 -3.094187)', '2026-06-09 05:30:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524036 -3.09433)'), GeomFromEWKT('SRID=4674;POINT (-39.524129 -3.094187)'))) / (select extract(epoch from '2026-06-09 05:30:39'::timestamp) - extract(epoch from '2026-06-09 05:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524036 -3.09433)'), GeomFromEWKT('SRID=4674;POINT (-39.524129 -3.094187)'))) / (select extract(epoch from '2026-06-09 05:30:39'::timestamp) - extract(epoch from '2026-06-09 05:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.524218 -3.094051)', '2026-06-09 05:30:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524129 -3.094187)'), GeomFromEWKT('SRID=4674;POINT (-39.524218 -3.094051)'))) / (select extract(epoch from '2026-06-09 05:30:46'::timestamp) - extract(epoch from '2026-06-09 05:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524129 -3.094187)'), GeomFromEWKT('SRID=4674;POINT (-39.524218 -3.094051)'))) / (select extract(epoch from '2026-06-09 05:30:46'::timestamp) - extract(epoch from '2026-06-09 05:30: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'), 46794, 'SRID=4674;POINT (-39.524322 -3.09389)', '2026-06-09 05:30:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524218 -3.094051)'), GeomFromEWKT('SRID=4674;POINT (-39.524322 -3.09389)'))) / (select extract(epoch from '2026-06-09 05:30:54'::timestamp) - extract(epoch from '2026-06-09 05:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524218 -3.094051)'), GeomFromEWKT('SRID=4674;POINT (-39.524322 -3.09389)'))) / (select extract(epoch from '2026-06-09 05:30:54'::timestamp) - extract(epoch from '2026-06-09 05:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.524422 -3.09375)', '2026-06-09 05:31:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524322 -3.09389)'), GeomFromEWKT('SRID=4674;POINT (-39.524422 -3.09375)'))) / (select extract(epoch from '2026-06-09 05:31:01'::timestamp) - extract(epoch from '2026-06-09 05:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524322 -3.09389)'), GeomFromEWKT('SRID=4674;POINT (-39.524422 -3.09375)'))) / (select extract(epoch from '2026-06-09 05:31:01'::timestamp) - extract(epoch from '2026-06-09 05:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.524527 -3.093611)', '2026-06-09 05:31:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524422 -3.09375)'), GeomFromEWKT('SRID=4674;POINT (-39.524527 -3.093611)'))) / (select extract(epoch from '2026-06-09 05:31:08'::timestamp) - extract(epoch from '2026-06-09 05:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524422 -3.09375)'), GeomFromEWKT('SRID=4674;POINT (-39.524527 -3.093611)'))) / (select extract(epoch from '2026-06-09 05:31:08'::timestamp) - extract(epoch from '2026-06-09 05:31: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'), 46794, 'SRID=4674;POINT (-39.524643 -3.093448)', '2026-06-09 05:31:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524527 -3.093611)'), GeomFromEWKT('SRID=4674;POINT (-39.524643 -3.093448)'))) / (select extract(epoch from '2026-06-09 05:31:16'::timestamp) - extract(epoch from '2026-06-09 05:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524527 -3.093611)'), GeomFromEWKT('SRID=4674;POINT (-39.524643 -3.093448)'))) / (select extract(epoch from '2026-06-09 05:31:16'::timestamp) - extract(epoch from '2026-06-09 05:31: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'), 46794, 'SRID=4674;POINT (-39.524742 -3.09334)', '2026-06-09 05:31:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524643 -3.093448)'), GeomFromEWKT('SRID=4674;POINT (-39.524742 -3.09334)'))) / (select extract(epoch from '2026-06-09 05:31:22'::timestamp) - extract(epoch from '2026-06-09 05:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524643 -3.093448)'), GeomFromEWKT('SRID=4674;POINT (-39.524742 -3.09334)'))) / (select extract(epoch from '2026-06-09 05:31:22'::timestamp) - extract(epoch from '2026-06-09 05:31: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'), 46794, 'SRID=4674;POINT (-39.524865 -3.093228)', '2026-06-09 05:31:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524742 -3.09334)'), GeomFromEWKT('SRID=4674;POINT (-39.524865 -3.093228)'))) / (select extract(epoch from '2026-06-09 05:31:29'::timestamp) - extract(epoch from '2026-06-09 05:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524742 -3.09334)'), GeomFromEWKT('SRID=4674;POINT (-39.524865 -3.093228)'))) / (select extract(epoch from '2026-06-09 05:31:29'::timestamp) - extract(epoch from '2026-06-09 05:31: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'), 46794, 'SRID=4674;POINT (-39.524992 -3.09311)', '2026-06-09 05:31:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524865 -3.093228)'), GeomFromEWKT('SRID=4674;POINT (-39.524992 -3.09311)'))) / (select extract(epoch from '2026-06-09 05:31:36'::timestamp) - extract(epoch from '2026-06-09 05:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524865 -3.093228)'), GeomFromEWKT('SRID=4674;POINT (-39.524992 -3.09311)'))) / (select extract(epoch from '2026-06-09 05:31:36'::timestamp) - extract(epoch from '2026-06-09 05:31: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'), 46794, 'SRID=4674;POINT (-39.525077 -3.092993)', '2026-06-09 05:31:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524992 -3.09311)'), GeomFromEWKT('SRID=4674;POINT (-39.525077 -3.092993)'))) / (select extract(epoch from '2026-06-09 05:31:42'::timestamp) - extract(epoch from '2026-06-09 05:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524992 -3.09311)'), GeomFromEWKT('SRID=4674;POINT (-39.525077 -3.092993)'))) / (select extract(epoch from '2026-06-09 05:31:42'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.525173 -3.092852)', '2026-06-09 05:31:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525077 -3.092993)'), GeomFromEWKT('SRID=4674;POINT (-39.525173 -3.092852)'))) / (select extract(epoch from '2026-06-09 05:31:49'::timestamp) - extract(epoch from '2026-06-09 05:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525077 -3.092993)'), GeomFromEWKT('SRID=4674;POINT (-39.525173 -3.092852)'))) / (select extract(epoch from '2026-06-09 05:31:49'::timestamp) - extract(epoch from '2026-06-09 05:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.525286 -3.092701)', '2026-06-09 05:31:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525173 -3.092852)'), GeomFromEWKT('SRID=4674;POINT (-39.525286 -3.092701)'))) / (select extract(epoch from '2026-06-09 05:31:57'::timestamp) - extract(epoch from '2026-06-09 05:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525173 -3.092852)'), GeomFromEWKT('SRID=4674;POINT (-39.525286 -3.092701)'))) / (select extract(epoch from '2026-06-09 05:31:57'::timestamp) - extract(epoch from '2026-06-09 05:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.525396 -3.092573)', '2026-06-09 05:32:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525286 -3.092701)'), GeomFromEWKT('SRID=4674;POINT (-39.525396 -3.092573)'))) / (select extract(epoch from '2026-06-09 05:32:04'::timestamp) - extract(epoch from '2026-06-09 05:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525286 -3.092701)'), GeomFromEWKT('SRID=4674;POINT (-39.525396 -3.092573)'))) / (select extract(epoch from '2026-06-09 05:32:04'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.525506 -3.092464)', '2026-06-09 05:32:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525396 -3.092573)'), GeomFromEWKT('SRID=4674;POINT (-39.525506 -3.092464)'))) / (select extract(epoch from '2026-06-09 05:32:10'::timestamp) - extract(epoch from '2026-06-09 05:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525396 -3.092573)'), GeomFromEWKT('SRID=4674;POINT (-39.525506 -3.092464)'))) / (select extract(epoch from '2026-06-09 05:32:10'::timestamp) - extract(epoch from '2026-06-09 05:32: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'), 46794, 'SRID=4674;POINT (-39.525615 -3.092336)', '2026-06-09 05:32:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525506 -3.092464)'), GeomFromEWKT('SRID=4674;POINT (-39.525615 -3.092336)'))) / (select extract(epoch from '2026-06-09 05:32:17'::timestamp) - extract(epoch from '2026-06-09 05:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525506 -3.092464)'), GeomFromEWKT('SRID=4674;POINT (-39.525615 -3.092336)'))) / (select extract(epoch from '2026-06-09 05:32:17'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.525731 -3.092183)', '2026-06-09 05:32:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525615 -3.092336)'), GeomFromEWKT('SRID=4674;POINT (-39.525731 -3.092183)'))) / (select extract(epoch from '2026-06-09 05:32:25'::timestamp) - extract(epoch from '2026-06-09 05:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525615 -3.092336)'), GeomFromEWKT('SRID=4674;POINT (-39.525731 -3.092183)'))) / (select extract(epoch from '2026-06-09 05:32:25'::timestamp) - extract(epoch from '2026-06-09 05:32: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'), 46794, 'SRID=4674;POINT (-39.525804 -3.092089)', '2026-06-09 05:32:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525731 -3.092183)'), GeomFromEWKT('SRID=4674;POINT (-39.525804 -3.092089)'))) / (select extract(epoch from '2026-06-09 05:32:30'::timestamp) - extract(epoch from '2026-06-09 05:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525731 -3.092183)'), GeomFromEWKT('SRID=4674;POINT (-39.525804 -3.092089)'))) / (select extract(epoch from '2026-06-09 05:32:30'::timestamp) - extract(epoch from '2026-06-09 05:32: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'), 46794, 'SRID=4674;POINT (-39.525879 -3.09199)', '2026-06-09 05:32:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525804 -3.092089)'), GeomFromEWKT('SRID=4674;POINT (-39.525879 -3.09199)'))) / (select extract(epoch from '2026-06-09 05:32:35'::timestamp) - extract(epoch from '2026-06-09 05:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525804 -3.092089)'), GeomFromEWKT('SRID=4674;POINT (-39.525879 -3.09199)'))) / (select extract(epoch from '2026-06-09 05:32:35'::timestamp) - extract(epoch from '2026-06-09 05:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.525972 -3.091847)', '2026-06-09 05:32:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525879 -3.09199)'), GeomFromEWKT('SRID=4674;POINT (-39.525972 -3.091847)'))) / (select extract(epoch from '2026-06-09 05:32:42'::timestamp) - extract(epoch from '2026-06-09 05:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525879 -3.09199)'), GeomFromEWKT('SRID=4674;POINT (-39.525972 -3.091847)'))) / (select extract(epoch from '2026-06-09 05:32:42'::timestamp) - extract(epoch from '2026-06-09 05:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.52607 -3.09168)', '2026-06-09 05:32:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525972 -3.091847)'), GeomFromEWKT('SRID=4674;POINT (-39.52607 -3.09168)'))) / (select extract(epoch from '2026-06-09 05:32:50'::timestamp) - extract(epoch from '2026-06-09 05:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525972 -3.091847)'), GeomFromEWKT('SRID=4674;POINT (-39.52607 -3.09168)'))) / (select extract(epoch from '2026-06-09 05:32:50'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.526178 -3.091526)', '2026-06-09 05:32:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52607 -3.09168)'), GeomFromEWKT('SRID=4674;POINT (-39.526178 -3.091526)'))) / (select extract(epoch from '2026-06-09 05:32:58'::timestamp) - extract(epoch from '2026-06-09 05:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52607 -3.09168)'), GeomFromEWKT('SRID=4674;POINT (-39.526178 -3.091526)'))) / (select extract(epoch from '2026-06-09 05:32:58'::timestamp) - extract(epoch from '2026-06-09 05:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.526278 -3.091388)', '2026-06-09 05:33:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526178 -3.091526)'), GeomFromEWKT('SRID=4674;POINT (-39.526278 -3.091388)'))) / (select extract(epoch from '2026-06-09 05:33:05'::timestamp) - extract(epoch from '2026-06-09 05:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526178 -3.091526)'), GeomFromEWKT('SRID=4674;POINT (-39.526278 -3.091388)'))) / (select extract(epoch from '2026-06-09 05:33:05'::timestamp) - extract(epoch from '2026-06-09 05:32: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'), 46794, 'SRID=4674;POINT (-39.526367 -3.091274)', '2026-06-09 05:33:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526278 -3.091388)'), GeomFromEWKT('SRID=4674;POINT (-39.526367 -3.091274)'))) / (select extract(epoch from '2026-06-09 05:33:11'::timestamp) - extract(epoch from '2026-06-09 05:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526278 -3.091388)'), GeomFromEWKT('SRID=4674;POINT (-39.526367 -3.091274)'))) / (select extract(epoch from '2026-06-09 05:33:11'::timestamp) - extract(epoch from '2026-06-09 05:33: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'), 46794, 'SRID=4674;POINT (-39.526476 -3.09114)', '2026-06-09 05:33:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526367 -3.091274)'), GeomFromEWKT('SRID=4674;POINT (-39.526476 -3.09114)'))) / (select extract(epoch from '2026-06-09 05:33:18'::timestamp) - extract(epoch from '2026-06-09 05:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526367 -3.091274)'), GeomFromEWKT('SRID=4674;POINT (-39.526476 -3.09114)'))) / (select extract(epoch from '2026-06-09 05:33:18'::timestamp) - extract(epoch from '2026-06-09 05:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.526588 -3.091008)', '2026-06-09 05:33:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526476 -3.09114)'), GeomFromEWKT('SRID=4674;POINT (-39.526588 -3.091008)'))) / (select extract(epoch from '2026-06-09 05:33:25'::timestamp) - extract(epoch from '2026-06-09 05:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526476 -3.09114)'), GeomFromEWKT('SRID=4674;POINT (-39.526588 -3.091008)'))) / (select extract(epoch from '2026-06-09 05:33:25'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.526694 -3.090879)', '2026-06-09 05:33:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526588 -3.091008)'), GeomFromEWKT('SRID=4674;POINT (-39.526694 -3.090879)'))) / (select extract(epoch from '2026-06-09 05:33:32'::timestamp) - extract(epoch from '2026-06-09 05:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526588 -3.091008)'), GeomFromEWKT('SRID=4674;POINT (-39.526694 -3.090879)'))) / (select extract(epoch from '2026-06-09 05:33:32'::timestamp) - extract(epoch from '2026-06-09 05: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'), 46794, 'SRID=4674;POINT (-39.526813 -3.090755)', '2026-06-09 05:33:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526694 -3.090879)'), GeomFromEWKT('SRID=4674;POINT (-39.526813 -3.090755)'))) / (select extract(epoch from '2026-06-09 05:33:39'::timestamp) - extract(epoch from '2026-06-09 05:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526694 -3.090879)'), GeomFromEWKT('SRID=4674;POINT (-39.526813 -3.090755)'))) / (select extract(epoch from '2026-06-09 05:33:39'::timestamp) - extract(epoch from '2026-06-09 05:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.526934 -3.090644)', '2026-06-09 05:33:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526813 -3.090755)'), GeomFromEWKT('SRID=4674;POINT (-39.526934 -3.090644)'))) / (select extract(epoch from '2026-06-09 05:33:46'::timestamp) - extract(epoch from '2026-06-09 05:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526813 -3.090755)'), GeomFromEWKT('SRID=4674;POINT (-39.526934 -3.090644)'))) / (select extract(epoch from '2026-06-09 05:33:46'::timestamp) - extract(epoch from '2026-06-09 05:33: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'), 46794, 'SRID=4674;POINT (-39.527057 -3.090536)', '2026-06-09 05:33:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526934 -3.090644)'), GeomFromEWKT('SRID=4674;POINT (-39.527057 -3.090536)'))) / (select extract(epoch from '2026-06-09 05:33:53'::timestamp) - extract(epoch from '2026-06-09 05:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526934 -3.090644)'), GeomFromEWKT('SRID=4674;POINT (-39.527057 -3.090536)'))) / (select extract(epoch from '2026-06-09 05:33:53'::timestamp) - extract(epoch from '2026-06-09 05:33: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'), 46794, 'SRID=4674;POINT (-39.527161 -3.090461)', '2026-06-09 05:33:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527057 -3.090536)'), GeomFromEWKT('SRID=4674;POINT (-39.527161 -3.090461)'))) / (select extract(epoch from '2026-06-09 05:33:58'::timestamp) - extract(epoch from '2026-06-09 05:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527057 -3.090536)'), GeomFromEWKT('SRID=4674;POINT (-39.527161 -3.090461)'))) / (select extract(epoch from '2026-06-09 05:33:58'::timestamp) - extract(epoch from '2026-06-09 05:33:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.527294 -3.090369)', '2026-06-09 05:34:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527161 -3.090461)'), GeomFromEWKT('SRID=4674;POINT (-39.527294 -3.090369)'))) / (select extract(epoch from '2026-06-09 05:34:05'::timestamp) - extract(epoch from '2026-06-09 05:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527161 -3.090461)'), GeomFromEWKT('SRID=4674;POINT (-39.527294 -3.090369)'))) / (select extract(epoch from '2026-06-09 05:34:05'::timestamp) - extract(epoch from '2026-06-09 05:33: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'), 46794, 'SRID=4674;POINT (-39.527424 -3.090292)', '2026-06-09 05:34:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527294 -3.090369)'), GeomFromEWKT('SRID=4674;POINT (-39.527424 -3.090292)'))) / (select extract(epoch from '2026-06-09 05:34:11'::timestamp) - extract(epoch from '2026-06-09 05:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527294 -3.090369)'), GeomFromEWKT('SRID=4674;POINT (-39.527424 -3.090292)'))) / (select extract(epoch from '2026-06-09 05:34:11'::timestamp) - extract(epoch from '2026-06-09 05:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.527531 -3.090222)', '2026-06-09 05:34:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527424 -3.090292)'), GeomFromEWKT('SRID=4674;POINT (-39.527531 -3.090222)'))) / (select extract(epoch from '2026-06-09 05:34:17'::timestamp) - extract(epoch from '2026-06-09 05:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527424 -3.090292)'), GeomFromEWKT('SRID=4674;POINT (-39.527531 -3.090222)'))) / (select extract(epoch from '2026-06-09 05:34:17'::timestamp) - extract(epoch from '2026-06-09 05:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.527646 -3.090192)', '2026-06-09 05:34:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527531 -3.090222)'), GeomFromEWKT('SRID=4674;POINT (-39.527646 -3.090192)'))) / (select extract(epoch from '2026-06-09 05:34:23'::timestamp) - extract(epoch from '2026-06-09 05:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527531 -3.090222)'), GeomFromEWKT('SRID=4674;POINT (-39.527646 -3.090192)'))) / (select extract(epoch from '2026-06-09 05:34:23'::timestamp) - extract(epoch from '2026-06-09 05:34: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'), 46794, 'SRID=4674;POINT (-39.527775 -3.090214)', '2026-06-09 05:34:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527646 -3.090192)'), GeomFromEWKT('SRID=4674;POINT (-39.527775 -3.090214)'))) / (select extract(epoch from '2026-06-09 05:34:27'::timestamp) - extract(epoch from '2026-06-09 05:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527646 -3.090192)'), GeomFromEWKT('SRID=4674;POINT (-39.527775 -3.090214)'))) / (select extract(epoch from '2026-06-09 05:34:27'::timestamp) - extract(epoch from '2026-06-09 05:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.527903 -3.090212)', '2026-06-09 05:34:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527775 -3.090214)'), GeomFromEWKT('SRID=4674;POINT (-39.527903 -3.090212)'))) / (select extract(epoch from '2026-06-09 05:34:33'::timestamp) - extract(epoch from '2026-06-09 05:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527775 -3.090214)'), GeomFromEWKT('SRID=4674;POINT (-39.527903 -3.090212)'))) / (select extract(epoch from '2026-06-09 05:34:33'::timestamp) - extract(epoch from '2026-06-09 05:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.528039 -3.090183)', '2026-06-09 05:34:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527903 -3.090212)'), GeomFromEWKT('SRID=4674;POINT (-39.528039 -3.090183)'))) / (select extract(epoch from '2026-06-09 05:34:39'::timestamp) - extract(epoch from '2026-06-09 05:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527903 -3.090212)'), GeomFromEWKT('SRID=4674;POINT (-39.528039 -3.090183)'))) / (select extract(epoch from '2026-06-09 05:34:39'::timestamp) - extract(epoch from '2026-06-09 05:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.52819 -3.090103)', '2026-06-09 05:34:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528039 -3.090183)'), GeomFromEWKT('SRID=4674;POINT (-39.52819 -3.090103)'))) / (select extract(epoch from '2026-06-09 05:34:47'::timestamp) - extract(epoch from '2026-06-09 05:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528039 -3.090183)'), GeomFromEWKT('SRID=4674;POINT (-39.52819 -3.090103)'))) / (select extract(epoch from '2026-06-09 05:34:47'::timestamp) - extract(epoch from '2026-06-09 05:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.528286 -3.090022)', '2026-06-09 05:34:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52819 -3.090103)'), GeomFromEWKT('SRID=4674;POINT (-39.528286 -3.090022)'))) / (select extract(epoch from '2026-06-09 05:34:52'::timestamp) - extract(epoch from '2026-06-09 05:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52819 -3.090103)'), GeomFromEWKT('SRID=4674;POINT (-39.528286 -3.090022)'))) / (select extract(epoch from '2026-06-09 05:34:52'::timestamp) - extract(epoch from '2026-06-09 05:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.528412 -3.089925)', '2026-06-09 05:35:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528286 -3.090022)'), GeomFromEWKT('SRID=4674;POINT (-39.528412 -3.089925)'))) / (select extract(epoch from '2026-06-09 05:35:00'::timestamp) - extract(epoch from '2026-06-09 05:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528286 -3.090022)'), GeomFromEWKT('SRID=4674;POINT (-39.528412 -3.089925)'))) / (select extract(epoch from '2026-06-09 05:35:00'::timestamp) - extract(epoch from '2026-06-09 05:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.528524 -3.089912)', '2026-06-09 05:35:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528412 -3.089925)'), GeomFromEWKT('SRID=4674;POINT (-39.528524 -3.089912)'))) / (select extract(epoch from '2026-06-09 05:35:06'::timestamp) - extract(epoch from '2026-06-09 05:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528412 -3.089925)'), GeomFromEWKT('SRID=4674;POINT (-39.528524 -3.089912)'))) / (select extract(epoch from '2026-06-09 05:35:06'::timestamp) - extract(epoch from '2026-06-09 05:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.528607 -3.089929)', '2026-06-09 05:35:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528524 -3.089912)'), GeomFromEWKT('SRID=4674;POINT (-39.528607 -3.089929)'))) / (select extract(epoch from '2026-06-09 05:35:11'::timestamp) - extract(epoch from '2026-06-09 05:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528524 -3.089912)'), GeomFromEWKT('SRID=4674;POINT (-39.528607 -3.089929)'))) / (select extract(epoch from '2026-06-09 05:35:11'::timestamp) - extract(epoch from '2026-06-09 05:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.528666 -3.090009)', '2026-06-09 05:35:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528607 -3.089929)'), GeomFromEWKT('SRID=4674;POINT (-39.528666 -3.090009)'))) / (select extract(epoch from '2026-06-09 05:35:24'::timestamp) - extract(epoch from '2026-06-09 05:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528607 -3.089929)'), GeomFromEWKT('SRID=4674;POINT (-39.528666 -3.090009)'))) / (select extract(epoch from '2026-06-09 05:35:24'::timestamp) - extract(epoch from '2026-06-09 05:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.52866 -3.090045)', '2026-06-09 05:35:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528666 -3.090009)'), GeomFromEWKT('SRID=4674;POINT (-39.52866 -3.090045)'))) / (select extract(epoch from '2026-06-09 05:35:32'::timestamp) - extract(epoch from '2026-06-09 05:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528666 -3.090009)'), GeomFromEWKT('SRID=4674;POINT (-39.52866 -3.090045)'))) / (select extract(epoch from '2026-06-09 05:35:32'::timestamp) - extract(epoch from '2026-06-09 05:35: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'), 46794, 'SRID=4674;POINT (-39.528625 -3.090079)', '2026-06-09 05:35:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52866 -3.090045)'), GeomFromEWKT('SRID=4674;POINT (-39.528625 -3.090079)'))) / (select extract(epoch from '2026-06-09 05:35:40'::timestamp) - extract(epoch from '2026-06-09 05:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52866 -3.090045)'), GeomFromEWKT('SRID=4674;POINT (-39.528625 -3.090079)'))) / (select extract(epoch from '2026-06-09 05:35:40'::timestamp) - extract(epoch from '2026-06-09 05:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46794, 'SRID=4674;POINT (-39.528604 -3.090078)', '2026-06-09 05:35:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528625 -3.090079)'), GeomFromEWKT('SRID=4674;POINT (-39.528604 -3.090078)'))) / (select extract(epoch from '2026-06-09 05:35:46'::timestamp) - extract(epoch from '2026-06-09 05:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528625 -3.090079)'), GeomFromEWKT('SRID=4674;POINT (-39.528604 -3.090078)'))) / (select extract(epoch from '2026-06-09 05:35:46'::timestamp) - extract(epoch from '2026-06-09 05:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
