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'), 48139, 'SRID=4674;POINT (-39.031644 -3.404142)', '2026-08-11 16:18:35', 6.6, 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'), 48139, 'SRID=4674;POINT (-39.031777 -3.404072)', '2026-08-11 16:18:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031644 -3.404142)'), GeomFromEWKT('SRID=4674;POINT (-39.031777 -3.404072)'))) / (select extract(epoch from '2026-08-11 16:18:43'::timestamp) - extract(epoch from '2026-08-11 16:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031644 -3.404142)'), GeomFromEWKT('SRID=4674;POINT (-39.031777 -3.404072)'))) / (select extract(epoch from '2026-08-11 16:18:43'::timestamp) - extract(epoch from '2026-08-11 16:18: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'), 48139, 'SRID=4674;POINT (-39.031901 -3.403998)', '2026-08-11 16:18:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031777 -3.404072)'), GeomFromEWKT('SRID=4674;POINT (-39.031901 -3.403998)'))) / (select extract(epoch from '2026-08-11 16:18:50'::timestamp) - extract(epoch from '2026-08-11 16:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031777 -3.404072)'), GeomFromEWKT('SRID=4674;POINT (-39.031901 -3.403998)'))) / (select extract(epoch from '2026-08-11 16:18:50'::timestamp) - extract(epoch from '2026-08-11 16:18: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'), 48139, 'SRID=4674;POINT (-39.032022 -3.403929)', '2026-08-11 16:18:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031901 -3.403998)'), GeomFromEWKT('SRID=4674;POINT (-39.032022 -3.403929)'))) / (select extract(epoch from '2026-08-11 16:18:57'::timestamp) - extract(epoch from '2026-08-11 16:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031901 -3.403998)'), GeomFromEWKT('SRID=4674;POINT (-39.032022 -3.403929)'))) / (select extract(epoch from '2026-08-11 16:18:57'::timestamp) - extract(epoch from '2026-08-11 16:18: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'), 48139, 'SRID=4674;POINT (-39.032119 -3.403839)', '2026-08-11 16:19:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032022 -3.403929)'), GeomFromEWKT('SRID=4674;POINT (-39.032119 -3.403839)'))) / (select extract(epoch from '2026-08-11 16:19:04'::timestamp) - extract(epoch from '2026-08-11 16:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032022 -3.403929)'), GeomFromEWKT('SRID=4674;POINT (-39.032119 -3.403839)'))) / (select extract(epoch from '2026-08-11 16:19:04'::timestamp) - extract(epoch from '2026-08-11 16:18: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'), 48139, 'SRID=4674;POINT (-39.032243 -3.40377)', '2026-08-11 16:19:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032119 -3.403839)'), GeomFromEWKT('SRID=4674;POINT (-39.032243 -3.40377)'))) / (select extract(epoch from '2026-08-11 16:19:11'::timestamp) - extract(epoch from '2026-08-11 16:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032119 -3.403839)'), GeomFromEWKT('SRID=4674;POINT (-39.032243 -3.40377)'))) / (select extract(epoch from '2026-08-11 16:19:11'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48139, 'SRID=4674;POINT (-39.032341 -3.403699)', '2026-08-11 16:19:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032243 -3.40377)'), GeomFromEWKT('SRID=4674;POINT (-39.032341 -3.403699)'))) / (select extract(epoch from '2026-08-11 16:19:17'::timestamp) - extract(epoch from '2026-08-11 16:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032243 -3.40377)'), GeomFromEWKT('SRID=4674;POINT (-39.032341 -3.403699)'))) / (select extract(epoch from '2026-08-11 16:19:17'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48139, 'SRID=4674;POINT (-39.032415 -3.403613)', '2026-08-11 16:19:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032341 -3.403699)'), GeomFromEWKT('SRID=4674;POINT (-39.032415 -3.403613)'))) / (select extract(epoch from '2026-08-11 16:19:23'::timestamp) - extract(epoch from '2026-08-11 16:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032341 -3.403699)'), GeomFromEWKT('SRID=4674;POINT (-39.032415 -3.403613)'))) / (select extract(epoch from '2026-08-11 16:19:23'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48139, 'SRID=4674;POINT (-39.032505 -3.403512)', '2026-08-11 16:19:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032415 -3.403613)'), GeomFromEWKT('SRID=4674;POINT (-39.032505 -3.403512)'))) / (select extract(epoch from '2026-08-11 16:19:30'::timestamp) - extract(epoch from '2026-08-11 16:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032415 -3.403613)'), GeomFromEWKT('SRID=4674;POINT (-39.032505 -3.403512)'))) / (select extract(epoch from '2026-08-11 16:19:30'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48139, 'SRID=4674;POINT (-39.03259 -3.403425)', '2026-08-11 16:19:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032505 -3.403512)'), GeomFromEWKT('SRID=4674;POINT (-39.03259 -3.403425)'))) / (select extract(epoch from '2026-08-11 16:19:36'::timestamp) - extract(epoch from '2026-08-11 16:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032505 -3.403512)'), GeomFromEWKT('SRID=4674;POINT (-39.03259 -3.403425)'))) / (select extract(epoch from '2026-08-11 16:19:36'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48139, 'SRID=4674;POINT (-39.032709 -3.40332)', '2026-08-11 16:19:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03259 -3.403425)'), GeomFromEWKT('SRID=4674;POINT (-39.032709 -3.40332)'))) / (select extract(epoch from '2026-08-11 16:19:44'::timestamp) - extract(epoch from '2026-08-11 16:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03259 -3.403425)'), GeomFromEWKT('SRID=4674;POINT (-39.032709 -3.40332)'))) / (select extract(epoch from '2026-08-11 16:19:44'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48139, 'SRID=4674;POINT (-39.032815 -3.403255)', '2026-08-11 16:19:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032709 -3.40332)'), GeomFromEWKT('SRID=4674;POINT (-39.032815 -3.403255)'))) / (select extract(epoch from '2026-08-11 16:19:50'::timestamp) - extract(epoch from '2026-08-11 16:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032709 -3.40332)'), GeomFromEWKT('SRID=4674;POINT (-39.032815 -3.403255)'))) / (select extract(epoch from '2026-08-11 16:19:50'::timestamp) - extract(epoch from '2026-08-11 16:19: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'), 48139, 'SRID=4674;POINT (-39.0329 -3.403202)', '2026-08-11 16:19:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032815 -3.403255)'), GeomFromEWKT('SRID=4674;POINT (-39.0329 -3.403202)'))) / (select extract(epoch from '2026-08-11 16:19:55'::timestamp) - extract(epoch from '2026-08-11 16:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032815 -3.403255)'), GeomFromEWKT('SRID=4674;POINT (-39.0329 -3.403202)'))) / (select extract(epoch from '2026-08-11 16:19:55'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.033011 -3.403139)', '2026-08-11 16:20:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0329 -3.403202)'), GeomFromEWKT('SRID=4674;POINT (-39.033011 -3.403139)'))) / (select extract(epoch from '2026-08-11 16:20:01'::timestamp) - extract(epoch from '2026-08-11 16:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0329 -3.403202)'), GeomFromEWKT('SRID=4674;POINT (-39.033011 -3.403139)'))) / (select extract(epoch from '2026-08-11 16:20:01'::timestamp) - extract(epoch from '2026-08-11 16:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.033095 -3.403081)', '2026-08-11 16:20:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033011 -3.403139)'), GeomFromEWKT('SRID=4674;POINT (-39.033095 -3.403081)'))) / (select extract(epoch from '2026-08-11 16:20:06'::timestamp) - extract(epoch from '2026-08-11 16:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033011 -3.403139)'), GeomFromEWKT('SRID=4674;POINT (-39.033095 -3.403081)'))) / (select extract(epoch from '2026-08-11 16:20:06'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48139, 'SRID=4674;POINT (-39.033223 -3.403016)', '2026-08-11 16:20:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033095 -3.403081)'), GeomFromEWKT('SRID=4674;POINT (-39.033223 -3.403016)'))) / (select extract(epoch from '2026-08-11 16:20:13'::timestamp) - extract(epoch from '2026-08-11 16:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033095 -3.403081)'), GeomFromEWKT('SRID=4674;POINT (-39.033223 -3.403016)'))) / (select extract(epoch from '2026-08-11 16:20:13'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48139, 'SRID=4674;POINT (-39.033327 -3.402932)', '2026-08-11 16:20:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033223 -3.403016)'), GeomFromEWKT('SRID=4674;POINT (-39.033327 -3.402932)'))) / (select extract(epoch from '2026-08-11 16:20:20'::timestamp) - extract(epoch from '2026-08-11 16:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033223 -3.403016)'), GeomFromEWKT('SRID=4674;POINT (-39.033327 -3.402932)'))) / (select extract(epoch from '2026-08-11 16:20:20'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.033416 -3.402825)', '2026-08-11 16:20:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033327 -3.402932)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.402825)'))) / (select extract(epoch from '2026-08-11 16:20:27'::timestamp) - extract(epoch from '2026-08-11 16:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033327 -3.402932)'), GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.402825)'))) / (select extract(epoch from '2026-08-11 16:20:27'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48139, 'SRID=4674;POINT (-39.033506 -3.402743)', '2026-08-11 16:20:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.402825)'), GeomFromEWKT('SRID=4674;POINT (-39.033506 -3.402743)'))) / (select extract(epoch from '2026-08-11 16:20:33'::timestamp) - extract(epoch from '2026-08-11 16:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033416 -3.402825)'), GeomFromEWKT('SRID=4674;POINT (-39.033506 -3.402743)'))) / (select extract(epoch from '2026-08-11 16:20:33'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.033614 -3.402654)', '2026-08-11 16:20:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033506 -3.402743)'), GeomFromEWKT('SRID=4674;POINT (-39.033614 -3.402654)'))) / (select extract(epoch from '2026-08-11 16:20:40'::timestamp) - extract(epoch from '2026-08-11 16:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033506 -3.402743)'), GeomFromEWKT('SRID=4674;POINT (-39.033614 -3.402654)'))) / (select extract(epoch from '2026-08-11 16:20:40'::timestamp) - extract(epoch from '2026-08-11 16:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.033693 -3.402582)', '2026-08-11 16:20:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033614 -3.402654)'), GeomFromEWKT('SRID=4674;POINT (-39.033693 -3.402582)'))) / (select extract(epoch from '2026-08-11 16:20:45'::timestamp) - extract(epoch from '2026-08-11 16:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033614 -3.402654)'), GeomFromEWKT('SRID=4674;POINT (-39.033693 -3.402582)'))) / (select extract(epoch from '2026-08-11 16:20:45'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.033778 -3.402526)', '2026-08-11 16:20:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033693 -3.402582)'), GeomFromEWKT('SRID=4674;POINT (-39.033778 -3.402526)'))) / (select extract(epoch from '2026-08-11 16:20:50'::timestamp) - extract(epoch from '2026-08-11 16:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033693 -3.402582)'), GeomFromEWKT('SRID=4674;POINT (-39.033778 -3.402526)'))) / (select extract(epoch from '2026-08-11 16:20:50'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48139, 'SRID=4674;POINT (-39.033868 -3.402448)', '2026-08-11 16:20:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033778 -3.402526)'), GeomFromEWKT('SRID=4674;POINT (-39.033868 -3.402448)'))) / (select extract(epoch from '2026-08-11 16:20:56'::timestamp) - extract(epoch from '2026-08-11 16:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033778 -3.402526)'), GeomFromEWKT('SRID=4674;POINT (-39.033868 -3.402448)'))) / (select extract(epoch from '2026-08-11 16:20:56'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48139, 'SRID=4674;POINT (-39.033947 -3.402358)', '2026-08-11 16:21:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033868 -3.402448)'), GeomFromEWKT('SRID=4674;POINT (-39.033947 -3.402358)'))) / (select extract(epoch from '2026-08-11 16:21:02'::timestamp) - extract(epoch from '2026-08-11 16:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033868 -3.402448)'), GeomFromEWKT('SRID=4674;POINT (-39.033947 -3.402358)'))) / (select extract(epoch from '2026-08-11 16:21:02'::timestamp) - extract(epoch from '2026-08-11 16:20: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'), 48139, 'SRID=4674;POINT (-39.034021 -3.402263)', '2026-08-11 16:21:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033947 -3.402358)'), GeomFromEWKT('SRID=4674;POINT (-39.034021 -3.402263)'))) / (select extract(epoch from '2026-08-11 16:21:08'::timestamp) - extract(epoch from '2026-08-11 16:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033947 -3.402358)'), GeomFromEWKT('SRID=4674;POINT (-39.034021 -3.402263)'))) / (select extract(epoch from '2026-08-11 16:21:08'::timestamp) - extract(epoch from '2026-08-11 16:21:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.034105 -3.402176)', '2026-08-11 16:21:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034021 -3.402263)'), GeomFromEWKT('SRID=4674;POINT (-39.034105 -3.402176)'))) / (select extract(epoch from '2026-08-11 16:21:14'::timestamp) - extract(epoch from '2026-08-11 16:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034021 -3.402263)'), GeomFromEWKT('SRID=4674;POINT (-39.034105 -3.402176)'))) / (select extract(epoch from '2026-08-11 16:21:14'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48139, 'SRID=4674;POINT (-39.034172 -3.402109)', '2026-08-11 16:21:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034105 -3.402176)'), GeomFromEWKT('SRID=4674;POINT (-39.034172 -3.402109)'))) / (select extract(epoch from '2026-08-11 16:21:19'::timestamp) - extract(epoch from '2026-08-11 16:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034105 -3.402176)'), GeomFromEWKT('SRID=4674;POINT (-39.034172 -3.402109)'))) / (select extract(epoch from '2026-08-11 16:21:19'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.034221 -3.402028)', '2026-08-11 16:21:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034172 -3.402109)'), GeomFromEWKT('SRID=4674;POINT (-39.034221 -3.402028)'))) / (select extract(epoch from '2026-08-11 16:21:24'::timestamp) - extract(epoch from '2026-08-11 16:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034172 -3.402109)'), GeomFromEWKT('SRID=4674;POINT (-39.034221 -3.402028)'))) / (select extract(epoch from '2026-08-11 16:21:24'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48139, 'SRID=4674;POINT (-39.034302 -3.401907)', '2026-08-11 16:21:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034221 -3.402028)'), GeomFromEWKT('SRID=4674;POINT (-39.034302 -3.401907)'))) / (select extract(epoch from '2026-08-11 16:21:32'::timestamp) - extract(epoch from '2026-08-11 16:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034221 -3.402028)'), GeomFromEWKT('SRID=4674;POINT (-39.034302 -3.401907)'))) / (select extract(epoch from '2026-08-11 16:21:32'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48139, 'SRID=4674;POINT (-39.034362 -3.401814)', '2026-08-11 16:21:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034302 -3.401907)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -3.401814)'))) / (select extract(epoch from '2026-08-11 16:21:38'::timestamp) - extract(epoch from '2026-08-11 16:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034302 -3.401907)'), GeomFromEWKT('SRID=4674;POINT (-39.034362 -3.401814)'))) / (select extract(epoch from '2026-08-11 16:21:38'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48139, 'SRID=4674;POINT (-39.034449 -3.401711)', '2026-08-11 16:21:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -3.401814)'), GeomFromEWKT('SRID=4674;POINT (-39.034449 -3.401711)'))) / (select extract(epoch from '2026-08-11 16:21:45'::timestamp) - extract(epoch from '2026-08-11 16:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034362 -3.401814)'), GeomFromEWKT('SRID=4674;POINT (-39.034449 -3.401711)'))) / (select extract(epoch from '2026-08-11 16:21:45'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.034513 -3.401614)', '2026-08-11 16:21:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034449 -3.401711)'), GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.401614)'))) / (select extract(epoch from '2026-08-11 16:21:51'::timestamp) - extract(epoch from '2026-08-11 16:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034449 -3.401711)'), GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.401614)'))) / (select extract(epoch from '2026-08-11 16:21:51'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48139, 'SRID=4674;POINT (-39.034579 -3.401518)', '2026-08-11 16:21:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.401614)'), GeomFromEWKT('SRID=4674;POINT (-39.034579 -3.401518)'))) / (select extract(epoch from '2026-08-11 16:21:57'::timestamp) - extract(epoch from '2026-08-11 16:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.401614)'), GeomFromEWKT('SRID=4674;POINT (-39.034579 -3.401518)'))) / (select extract(epoch from '2026-08-11 16:21:57'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48139, 'SRID=4674;POINT (-39.034653 -3.401405)', '2026-08-11 16:22:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034579 -3.401518)'), GeomFromEWKT('SRID=4674;POINT (-39.034653 -3.401405)'))) / (select extract(epoch from '2026-08-11 16:22:04'::timestamp) - extract(epoch from '2026-08-11 16:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034579 -3.401518)'), GeomFromEWKT('SRID=4674;POINT (-39.034653 -3.401405)'))) / (select extract(epoch from '2026-08-11 16:22:04'::timestamp) - extract(epoch from '2026-08-11 16:21: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'), 48139, 'SRID=4674;POINT (-39.034734 -3.401327)', '2026-08-11 16:22:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034653 -3.401405)'), GeomFromEWKT('SRID=4674;POINT (-39.034734 -3.401327)'))) / (select extract(epoch from '2026-08-11 16:22:10'::timestamp) - extract(epoch from '2026-08-11 16:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034653 -3.401405)'), GeomFromEWKT('SRID=4674;POINT (-39.034734 -3.401327)'))) / (select extract(epoch from '2026-08-11 16:22:10'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.034831 -3.401239)', '2026-08-11 16:22:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034734 -3.401327)'), GeomFromEWKT('SRID=4674;POINT (-39.034831 -3.401239)'))) / (select extract(epoch from '2026-08-11 16:22:17'::timestamp) - extract(epoch from '2026-08-11 16:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034734 -3.401327)'), GeomFromEWKT('SRID=4674;POINT (-39.034831 -3.401239)'))) / (select extract(epoch from '2026-08-11 16:22:17'::timestamp) - extract(epoch from '2026-08-11 16:22: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'), 48139, 'SRID=4674;POINT (-39.034944 -3.401137)', '2026-08-11 16:22:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034831 -3.401239)'), GeomFromEWKT('SRID=4674;POINT (-39.034944 -3.401137)'))) / (select extract(epoch from '2026-08-11 16:22:24'::timestamp) - extract(epoch from '2026-08-11 16:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034831 -3.401239)'), GeomFromEWKT('SRID=4674;POINT (-39.034944 -3.401137)'))) / (select extract(epoch from '2026-08-11 16:22:24'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.03504 -3.401039)', '2026-08-11 16:22:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034944 -3.401137)'), GeomFromEWKT('SRID=4674;POINT (-39.03504 -3.401039)'))) / (select extract(epoch from '2026-08-11 16:22:31'::timestamp) - extract(epoch from '2026-08-11 16:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034944 -3.401137)'), GeomFromEWKT('SRID=4674;POINT (-39.03504 -3.401039)'))) / (select extract(epoch from '2026-08-11 16:22:31'::timestamp) - extract(epoch from '2026-08-11 16:22: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'), 48139, 'SRID=4674;POINT (-39.035113 -3.400946)', '2026-08-11 16:22:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03504 -3.401039)'), GeomFromEWKT('SRID=4674;POINT (-39.035113 -3.400946)'))) / (select extract(epoch from '2026-08-11 16:22:37'::timestamp) - extract(epoch from '2026-08-11 16:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03504 -3.401039)'), GeomFromEWKT('SRID=4674;POINT (-39.035113 -3.400946)'))) / (select extract(epoch from '2026-08-11 16:22:37'::timestamp) - extract(epoch from '2026-08-11 16:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.035192 -3.400841)', '2026-08-11 16:22:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035113 -3.400946)'), GeomFromEWKT('SRID=4674;POINT (-39.035192 -3.400841)'))) / (select extract(epoch from '2026-08-11 16:22:44'::timestamp) - extract(epoch from '2026-08-11 16:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035113 -3.400946)'), GeomFromEWKT('SRID=4674;POINT (-39.035192 -3.400841)'))) / (select extract(epoch from '2026-08-11 16:22:44'::timestamp) - extract(epoch from '2026-08-11 16:22: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'), 48139, 'SRID=4674;POINT (-39.035263 -3.400755)', '2026-08-11 16:22:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035192 -3.400841)'), GeomFromEWKT('SRID=4674;POINT (-39.035263 -3.400755)'))) / (select extract(epoch from '2026-08-11 16:22:50'::timestamp) - extract(epoch from '2026-08-11 16:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035192 -3.400841)'), GeomFromEWKT('SRID=4674;POINT (-39.035263 -3.400755)'))) / (select extract(epoch from '2026-08-11 16:22:50'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.035337 -3.400687)', '2026-08-11 16:22:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035263 -3.400755)'), GeomFromEWKT('SRID=4674;POINT (-39.035337 -3.400687)'))) / (select extract(epoch from '2026-08-11 16:22:55'::timestamp) - extract(epoch from '2026-08-11 16:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035263 -3.400755)'), GeomFromEWKT('SRID=4674;POINT (-39.035337 -3.400687)'))) / (select extract(epoch from '2026-08-11 16:22:55'::timestamp) - extract(epoch from '2026-08-11 16:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.035403 -3.400626)', '2026-08-11 16:23:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035337 -3.400687)'), GeomFromEWKT('SRID=4674;POINT (-39.035403 -3.400626)'))) / (select extract(epoch from '2026-08-11 16:23:00'::timestamp) - extract(epoch from '2026-08-11 16:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035337 -3.400687)'), GeomFromEWKT('SRID=4674;POINT (-39.035403 -3.400626)'))) / (select extract(epoch from '2026-08-11 16:23:00'::timestamp) - extract(epoch from '2026-08-11 16:22: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'), 48139, 'SRID=4674;POINT (-39.035485 -3.400566)', '2026-08-11 16:23:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035403 -3.400626)'), GeomFromEWKT('SRID=4674;POINT (-39.035485 -3.400566)'))) / (select extract(epoch from '2026-08-11 16:23:05'::timestamp) - extract(epoch from '2026-08-11 16:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035403 -3.400626)'), GeomFromEWKT('SRID=4674;POINT (-39.035485 -3.400566)'))) / (select extract(epoch from '2026-08-11 16:23:05'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48139, 'SRID=4674;POINT (-39.035591 -3.400505)', '2026-08-11 16:23:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035485 -3.400566)'), GeomFromEWKT('SRID=4674;POINT (-39.035591 -3.400505)'))) / (select extract(epoch from '2026-08-11 16:23:11'::timestamp) - extract(epoch from '2026-08-11 16:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035485 -3.400566)'), GeomFromEWKT('SRID=4674;POINT (-39.035591 -3.400505)'))) / (select extract(epoch from '2026-08-11 16:23:11'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48139, 'SRID=4674;POINT (-39.035702 -3.400417)', '2026-08-11 16:23:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035591 -3.400505)'), GeomFromEWKT('SRID=4674;POINT (-39.035702 -3.400417)'))) / (select extract(epoch from '2026-08-11 16:23:18'::timestamp) - extract(epoch from '2026-08-11 16:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035591 -3.400505)'), GeomFromEWKT('SRID=4674;POINT (-39.035702 -3.400417)'))) / (select extract(epoch from '2026-08-11 16:23:18'::timestamp) - extract(epoch from '2026-08-11 16:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.035773 -3.400325)', '2026-08-11 16:23:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035702 -3.400417)'), GeomFromEWKT('SRID=4674;POINT (-39.035773 -3.400325)'))) / (select extract(epoch from '2026-08-11 16:23:24'::timestamp) - extract(epoch from '2026-08-11 16:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035702 -3.400417)'), GeomFromEWKT('SRID=4674;POINT (-39.035773 -3.400325)'))) / (select extract(epoch from '2026-08-11 16:23:24'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48139, 'SRID=4674;POINT (-39.03583 -3.400228)', '2026-08-11 16:23:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035773 -3.400325)'), GeomFromEWKT('SRID=4674;POINT (-39.03583 -3.400228)'))) / (select extract(epoch from '2026-08-11 16:23:30'::timestamp) - extract(epoch from '2026-08-11 16:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035773 -3.400325)'), GeomFromEWKT('SRID=4674;POINT (-39.03583 -3.400228)'))) / (select extract(epoch from '2026-08-11 16:23:30'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.03585 -3.400198)', '2026-08-11 16:23:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03583 -3.400228)'), GeomFromEWKT('SRID=4674;POINT (-39.03585 -3.400198)'))) / (select extract(epoch from '2026-08-11 16:23:32'::timestamp) - extract(epoch from '2026-08-11 16:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03583 -3.400228)'), GeomFromEWKT('SRID=4674;POINT (-39.03585 -3.400198)'))) / (select extract(epoch from '2026-08-11 16:23:32'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48139, 'SRID=4674;POINT (-39.035877 -3.400154)', '2026-08-11 16:23:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03585 -3.400198)'), GeomFromEWKT('SRID=4674;POINT (-39.035877 -3.400154)'))) / (select extract(epoch from '2026-08-11 16:23:35'::timestamp) - extract(epoch from '2026-08-11 16:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03585 -3.400198)'), GeomFromEWKT('SRID=4674;POINT (-39.035877 -3.400154)'))) / (select extract(epoch from '2026-08-11 16:23:35'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48139, 'SRID=4674;POINT (-39.035908 -3.400091)', '2026-08-11 16:23:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035877 -3.400154)'), GeomFromEWKT('SRID=4674;POINT (-39.035908 -3.400091)'))) / (select extract(epoch from '2026-08-11 16:23:39'::timestamp) - extract(epoch from '2026-08-11 16:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035877 -3.400154)'), GeomFromEWKT('SRID=4674;POINT (-39.035908 -3.400091)'))) / (select extract(epoch from '2026-08-11 16:23:39'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48139, 'SRID=4674;POINT (-39.035919 -3.400077)', '2026-08-11 16:23:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035908 -3.400091)'), GeomFromEWKT('SRID=4674;POINT (-39.035919 -3.400077)'))) / (select extract(epoch from '2026-08-11 16:23:40'::timestamp) - extract(epoch from '2026-08-11 16:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035908 -3.400091)'), GeomFromEWKT('SRID=4674;POINT (-39.035919 -3.400077)'))) / (select extract(epoch from '2026-08-11 16:23:40'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48139, 'SRID=4674;POINT (-39.035993 -3.399956)', '2026-08-11 16:23:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035919 -3.400077)'), GeomFromEWKT('SRID=4674;POINT (-39.035993 -3.399956)'))) / (select extract(epoch from '2026-08-11 16:23:48'::timestamp) - extract(epoch from '2026-08-11 16:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035919 -3.400077)'), GeomFromEWKT('SRID=4674;POINT (-39.035993 -3.399956)'))) / (select extract(epoch from '2026-08-11 16:23:48'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48139, 'SRID=4674;POINT (-39.036065 -3.39987)', '2026-08-11 16:23:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035993 -3.399956)'), GeomFromEWKT('SRID=4674;POINT (-39.036065 -3.39987)'))) / (select extract(epoch from '2026-08-11 16:23:54'::timestamp) - extract(epoch from '2026-08-11 16:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035993 -3.399956)'), GeomFromEWKT('SRID=4674;POINT (-39.036065 -3.39987)'))) / (select extract(epoch from '2026-08-11 16:23:54'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48139, 'SRID=4674;POINT (-39.036129 -3.399782)', '2026-08-11 16:24:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036065 -3.39987)'), GeomFromEWKT('SRID=4674;POINT (-39.036129 -3.399782)'))) / (select extract(epoch from '2026-08-11 16:24:00'::timestamp) - extract(epoch from '2026-08-11 16:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036065 -3.39987)'), GeomFromEWKT('SRID=4674;POINT (-39.036129 -3.399782)'))) / (select extract(epoch from '2026-08-11 16:24:00'::timestamp) - extract(epoch from '2026-08-11 16:23: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'), 48139, 'SRID=4674;POINT (-39.03619 -3.399705)', '2026-08-11 16:24:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036129 -3.399782)'), GeomFromEWKT('SRID=4674;POINT (-39.03619 -3.399705)'))) / (select extract(epoch from '2026-08-11 16:24:05'::timestamp) - extract(epoch from '2026-08-11 16:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036129 -3.399782)'), GeomFromEWKT('SRID=4674;POINT (-39.03619 -3.399705)'))) / (select extract(epoch from '2026-08-11 16:24:05'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48139, 'SRID=4674;POINT (-39.036259 -3.399645)', '2026-08-11 16:24:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03619 -3.399705)'), GeomFromEWKT('SRID=4674;POINT (-39.036259 -3.399645)'))) / (select extract(epoch from '2026-08-11 16:24:10'::timestamp) - extract(epoch from '2026-08-11 16:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03619 -3.399705)'), GeomFromEWKT('SRID=4674;POINT (-39.036259 -3.399645)'))) / (select extract(epoch from '2026-08-11 16:24:10'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48139, 'SRID=4674;POINT (-39.03633 -3.399559)', '2026-08-11 16:24:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036259 -3.399645)'), GeomFromEWKT('SRID=4674;POINT (-39.03633 -3.399559)'))) / (select extract(epoch from '2026-08-11 16:24:16'::timestamp) - extract(epoch from '2026-08-11 16:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036259 -3.399645)'), GeomFromEWKT('SRID=4674;POINT (-39.03633 -3.399559)'))) / (select extract(epoch from '2026-08-11 16:24:16'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48139, 'SRID=4674;POINT (-39.036415 -3.399436)', '2026-08-11 16:24:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03633 -3.399559)'), GeomFromEWKT('SRID=4674;POINT (-39.036415 -3.399436)'))) / (select extract(epoch from '2026-08-11 16:24:24'::timestamp) - extract(epoch from '2026-08-11 16:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03633 -3.399559)'), GeomFromEWKT('SRID=4674;POINT (-39.036415 -3.399436)'))) / (select extract(epoch from '2026-08-11 16:24:24'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48139, 'SRID=4674;POINT (-39.036504 -3.399267)', '2026-08-11 16:24:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036415 -3.399436)'), GeomFromEWKT('SRID=4674;POINT (-39.036504 -3.399267)'))) / (select extract(epoch from '2026-08-11 16:24:34'::timestamp) - extract(epoch from '2026-08-11 16:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036415 -3.399436)'), GeomFromEWKT('SRID=4674;POINT (-39.036504 -3.399267)'))) / (select extract(epoch from '2026-08-11 16:24:34'::timestamp) - extract(epoch from '2026-08-11 16:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.036555 -3.399166)', '2026-08-11 16:24:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036504 -3.399267)'), GeomFromEWKT('SRID=4674;POINT (-39.036555 -3.399166)'))) / (select extract(epoch from '2026-08-11 16:24:40'::timestamp) - extract(epoch from '2026-08-11 16:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036504 -3.399267)'), GeomFromEWKT('SRID=4674;POINT (-39.036555 -3.399166)'))) / (select extract(epoch from '2026-08-11 16:24:40'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48139, 'SRID=4674;POINT (-39.036607 -3.399094)', '2026-08-11 16:24:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036555 -3.399166)'), GeomFromEWKT('SRID=4674;POINT (-39.036607 -3.399094)'))) / (select extract(epoch from '2026-08-11 16:24:45'::timestamp) - extract(epoch from '2026-08-11 16:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036555 -3.399166)'), GeomFromEWKT('SRID=4674;POINT (-39.036607 -3.399094)'))) / (select extract(epoch from '2026-08-11 16:24:45'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48139, 'SRID=4674;POINT (-39.036691 -3.399012)', '2026-08-11 16:24:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036607 -3.399094)'), GeomFromEWKT('SRID=4674;POINT (-39.036691 -3.399012)'))) / (select extract(epoch from '2026-08-11 16:24:51'::timestamp) - extract(epoch from '2026-08-11 16:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036607 -3.399094)'), GeomFromEWKT('SRID=4674;POINT (-39.036691 -3.399012)'))) / (select extract(epoch from '2026-08-11 16:24:51'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48139, 'SRID=4674;POINT (-39.03675 -3.398957)', '2026-08-11 16:24:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036691 -3.399012)'), GeomFromEWKT('SRID=4674;POINT (-39.03675 -3.398957)'))) / (select extract(epoch from '2026-08-11 16:24:55'::timestamp) - extract(epoch from '2026-08-11 16:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036691 -3.399012)'), GeomFromEWKT('SRID=4674;POINT (-39.03675 -3.398957)'))) / (select extract(epoch from '2026-08-11 16:24:55'::timestamp) - extract(epoch from '2026-08-11 16:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.036761 -3.398944)', '2026-08-11 16:24:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03675 -3.398957)'), GeomFromEWKT('SRID=4674;POINT (-39.036761 -3.398944)'))) / (select extract(epoch from '2026-08-11 16:24:56'::timestamp) - extract(epoch from '2026-08-11 16:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03675 -3.398957)'), GeomFromEWKT('SRID=4674;POINT (-39.036761 -3.398944)'))) / (select extract(epoch from '2026-08-11 16:24:56'::timestamp) - extract(epoch from '2026-08-11 16:24: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'), 48139, 'SRID=4674;POINT (-39.036833 -3.398879)', '2026-08-11 16:25:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036761 -3.398944)'), GeomFromEWKT('SRID=4674;POINT (-39.036833 -3.398879)'))) / (select extract(epoch from '2026-08-11 16:25:01'::timestamp) - extract(epoch from '2026-08-11 16:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036761 -3.398944)'), GeomFromEWKT('SRID=4674;POINT (-39.036833 -3.398879)'))) / (select extract(epoch from '2026-08-11 16:25:01'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.036898 -3.398808)', '2026-08-11 16:25:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036833 -3.398879)'), GeomFromEWKT('SRID=4674;POINT (-39.036898 -3.398808)'))) / (select extract(epoch from '2026-08-11 16:25:06'::timestamp) - extract(epoch from '2026-08-11 16:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036833 -3.398879)'), GeomFromEWKT('SRID=4674;POINT (-39.036898 -3.398808)'))) / (select extract(epoch from '2026-08-11 16:25:06'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.036976 -3.39872)', '2026-08-11 16:25:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036898 -3.398808)'), GeomFromEWKT('SRID=4674;POINT (-39.036976 -3.39872)'))) / (select extract(epoch from '2026-08-11 16:25:12'::timestamp) - extract(epoch from '2026-08-11 16:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036898 -3.398808)'), GeomFromEWKT('SRID=4674;POINT (-39.036976 -3.39872)'))) / (select extract(epoch from '2026-08-11 16:25:12'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.037037 -3.398618)', '2026-08-11 16:25:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036976 -3.39872)'), GeomFromEWKT('SRID=4674;POINT (-39.037037 -3.398618)'))) / (select extract(epoch from '2026-08-11 16:25:18'::timestamp) - extract(epoch from '2026-08-11 16:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036976 -3.39872)'), GeomFromEWKT('SRID=4674;POINT (-39.037037 -3.398618)'))) / (select extract(epoch from '2026-08-11 16:25:18'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48139, 'SRID=4674;POINT (-39.037115 -3.398512)', '2026-08-11 16:25:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037037 -3.398618)'), GeomFromEWKT('SRID=4674;POINT (-39.037115 -3.398512)'))) / (select extract(epoch from '2026-08-11 16:25:25'::timestamp) - extract(epoch from '2026-08-11 16:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037037 -3.398618)'), GeomFromEWKT('SRID=4674;POINT (-39.037115 -3.398512)'))) / (select extract(epoch from '2026-08-11 16:25:25'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48139, 'SRID=4674;POINT (-39.037208 -3.398391)', '2026-08-11 16:25:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037115 -3.398512)'), GeomFromEWKT('SRID=4674;POINT (-39.037208 -3.398391)'))) / (select extract(epoch from '2026-08-11 16:25:33'::timestamp) - extract(epoch from '2026-08-11 16:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037115 -3.398512)'), GeomFromEWKT('SRID=4674;POINT (-39.037208 -3.398391)'))) / (select extract(epoch from '2026-08-11 16:25:33'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48139, 'SRID=4674;POINT (-39.037271 -3.398295)', '2026-08-11 16:25:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037208 -3.398391)'), GeomFromEWKT('SRID=4674;POINT (-39.037271 -3.398295)'))) / (select extract(epoch from '2026-08-11 16:25:39'::timestamp) - extract(epoch from '2026-08-11 16:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037208 -3.398391)'), GeomFromEWKT('SRID=4674;POINT (-39.037271 -3.398295)'))) / (select extract(epoch from '2026-08-11 16:25:39'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48139, 'SRID=4674;POINT (-39.037322 -3.398192)', '2026-08-11 16:25:45', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037271 -3.398295)'), GeomFromEWKT('SRID=4674;POINT (-39.037322 -3.398192)'))) / (select extract(epoch from '2026-08-11 16:25:45'::timestamp) - extract(epoch from '2026-08-11 16:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037271 -3.398295)'), GeomFromEWKT('SRID=4674;POINT (-39.037322 -3.398192)'))) / (select extract(epoch from '2026-08-11 16:25:45'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.037376 -3.398088)', '2026-08-11 16:25:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037322 -3.398192)'), GeomFromEWKT('SRID=4674;POINT (-39.037376 -3.398088)'))) / (select extract(epoch from '2026-08-11 16:25:51'::timestamp) - extract(epoch from '2026-08-11 16:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037322 -3.398192)'), GeomFromEWKT('SRID=4674;POINT (-39.037376 -3.398088)'))) / (select extract(epoch from '2026-08-11 16:25:51'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48139, 'SRID=4674;POINT (-39.037429 -3.397991)', '2026-08-11 16:25:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037376 -3.398088)'), GeomFromEWKT('SRID=4674;POINT (-39.037429 -3.397991)'))) / (select extract(epoch from '2026-08-11 16:25:57'::timestamp) - extract(epoch from '2026-08-11 16:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037376 -3.398088)'), GeomFromEWKT('SRID=4674;POINT (-39.037429 -3.397991)'))) / (select extract(epoch from '2026-08-11 16:25:57'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48139, 'SRID=4674;POINT (-39.037476 -3.397893)', '2026-08-11 16:26:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037429 -3.397991)'), GeomFromEWKT('SRID=4674;POINT (-39.037476 -3.397893)'))) / (select extract(epoch from '2026-08-11 16:26:03'::timestamp) - extract(epoch from '2026-08-11 16:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037429 -3.397991)'), GeomFromEWKT('SRID=4674;POINT (-39.037476 -3.397893)'))) / (select extract(epoch from '2026-08-11 16:26:03'::timestamp) - extract(epoch from '2026-08-11 16:25: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'), 48139, 'SRID=4674;POINT (-39.037521 -3.397801)', '2026-08-11 16:26:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037476 -3.397893)'), GeomFromEWKT('SRID=4674;POINT (-39.037521 -3.397801)'))) / (select extract(epoch from '2026-08-11 16:26:09'::timestamp) - extract(epoch from '2026-08-11 16:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037476 -3.397893)'), GeomFromEWKT('SRID=4674;POINT (-39.037521 -3.397801)'))) / (select extract(epoch from '2026-08-11 16:26:09'::timestamp) - extract(epoch from '2026-08-11 16:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.037582 -3.397665)', '2026-08-11 16:26:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037521 -3.397801)'), GeomFromEWKT('SRID=4674;POINT (-39.037582 -3.397665)'))) / (select extract(epoch from '2026-08-11 16:26:17'::timestamp) - extract(epoch from '2026-08-11 16:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037521 -3.397801)'), GeomFromEWKT('SRID=4674;POINT (-39.037582 -3.397665)'))) / (select extract(epoch from '2026-08-11 16:26:17'::timestamp) - extract(epoch from '2026-08-11 16:26:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.037606 -3.397583)', '2026-08-11 16:26:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037582 -3.397665)'), GeomFromEWKT('SRID=4674;POINT (-39.037606 -3.397583)'))) / (select extract(epoch from '2026-08-11 16:26:22'::timestamp) - extract(epoch from '2026-08-11 16:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037582 -3.397665)'), GeomFromEWKT('SRID=4674;POINT (-39.037606 -3.397583)'))) / (select extract(epoch from '2026-08-11 16:26:22'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48139, 'SRID=4674;POINT (-39.037616 -3.397566)', '2026-08-11 16:26:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037606 -3.397583)'), GeomFromEWKT('SRID=4674;POINT (-39.037616 -3.397566)'))) / (select extract(epoch from '2026-08-11 16:26:23'::timestamp) - extract(epoch from '2026-08-11 16:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037606 -3.397583)'), GeomFromEWKT('SRID=4674;POINT (-39.037616 -3.397566)'))) / (select extract(epoch from '2026-08-11 16:26:23'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48139, 'SRID=4674;POINT (-39.03767 -3.397467)', '2026-08-11 16:26:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037616 -3.397566)'), GeomFromEWKT('SRID=4674;POINT (-39.03767 -3.397467)'))) / (select extract(epoch from '2026-08-11 16:26:29'::timestamp) - extract(epoch from '2026-08-11 16:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037616 -3.397566)'), GeomFromEWKT('SRID=4674;POINT (-39.03767 -3.397467)'))) / (select extract(epoch from '2026-08-11 16:26:29'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48139, 'SRID=4674;POINT (-39.037686 -3.397432)', '2026-08-11 16:26:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03767 -3.397467)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.397432)'))) / (select extract(epoch from '2026-08-11 16:26:31'::timestamp) - extract(epoch from '2026-08-11 16:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03767 -3.397467)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.397432)'))) / (select extract(epoch from '2026-08-11 16:26:31'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48139, 'SRID=4674;POINT (-39.037709 -3.397382)', '2026-08-11 16:26:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.397432)'), GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.397382)'))) / (select extract(epoch from '2026-08-11 16:26:34'::timestamp) - extract(epoch from '2026-08-11 16:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.397432)'), GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.397382)'))) / (select extract(epoch from '2026-08-11 16:26:34'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.037737 -3.397292)', '2026-08-11 16:26:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.397382)'), GeomFromEWKT('SRID=4674;POINT (-39.037737 -3.397292)'))) / (select extract(epoch from '2026-08-11 16:26:39'::timestamp) - extract(epoch from '2026-08-11 16:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.397382)'), GeomFromEWKT('SRID=4674;POINT (-39.037737 -3.397292)'))) / (select extract(epoch from '2026-08-11 16:26:39'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48139, 'SRID=4674;POINT (-39.037791 -3.397171)', '2026-08-11 16:26:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037737 -3.397292)'), GeomFromEWKT('SRID=4674;POINT (-39.037791 -3.397171)'))) / (select extract(epoch from '2026-08-11 16:26:46'::timestamp) - extract(epoch from '2026-08-11 16:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037737 -3.397292)'), GeomFromEWKT('SRID=4674;POINT (-39.037791 -3.397171)'))) / (select extract(epoch from '2026-08-11 16:26:46'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48139, 'SRID=4674;POINT (-39.037868 -3.397047)', '2026-08-11 16:26:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037791 -3.397171)'), GeomFromEWKT('SRID=4674;POINT (-39.037868 -3.397047)'))) / (select extract(epoch from '2026-08-11 16:26:54'::timestamp) - extract(epoch from '2026-08-11 16:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037791 -3.397171)'), GeomFromEWKT('SRID=4674;POINT (-39.037868 -3.397047)'))) / (select extract(epoch from '2026-08-11 16:26:54'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48139, 'SRID=4674;POINT (-39.037932 -3.396952)', '2026-08-11 16:27:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037868 -3.397047)'), GeomFromEWKT('SRID=4674;POINT (-39.037932 -3.396952)'))) / (select extract(epoch from '2026-08-11 16:27:00'::timestamp) - extract(epoch from '2026-08-11 16:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037868 -3.397047)'), GeomFromEWKT('SRID=4674;POINT (-39.037932 -3.396952)'))) / (select extract(epoch from '2026-08-11 16:27:00'::timestamp) - extract(epoch from '2026-08-11 16:26: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'), 48139, 'SRID=4674;POINT (-39.038004 -3.396858)', '2026-08-11 16:27:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037932 -3.396952)'), GeomFromEWKT('SRID=4674;POINT (-39.038004 -3.396858)'))) / (select extract(epoch from '2026-08-11 16:27:06'::timestamp) - extract(epoch from '2026-08-11 16:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037932 -3.396952)'), GeomFromEWKT('SRID=4674;POINT (-39.038004 -3.396858)'))) / (select extract(epoch from '2026-08-11 16:27:06'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48139, 'SRID=4674;POINT (-39.03806 -3.396785)', '2026-08-11 16:27:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038004 -3.396858)'), GeomFromEWKT('SRID=4674;POINT (-39.03806 -3.396785)'))) / (select extract(epoch from '2026-08-11 16:27:11'::timestamp) - extract(epoch from '2026-08-11 16:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038004 -3.396858)'), GeomFromEWKT('SRID=4674;POINT (-39.03806 -3.396785)'))) / (select extract(epoch from '2026-08-11 16:27:11'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.038115 -3.396688)', '2026-08-11 16:27:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03806 -3.396785)'), GeomFromEWKT('SRID=4674;POINT (-39.038115 -3.396688)'))) / (select extract(epoch from '2026-08-11 16:27:17'::timestamp) - extract(epoch from '2026-08-11 16:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03806 -3.396785)'), GeomFromEWKT('SRID=4674;POINT (-39.038115 -3.396688)'))) / (select extract(epoch from '2026-08-11 16:27:17'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48139, 'SRID=4674;POINT (-39.038174 -3.396589)', '2026-08-11 16:27:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038115 -3.396688)'), GeomFromEWKT('SRID=4674;POINT (-39.038174 -3.396589)'))) / (select extract(epoch from '2026-08-11 16:27:23'::timestamp) - extract(epoch from '2026-08-11 16:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038115 -3.396688)'), GeomFromEWKT('SRID=4674;POINT (-39.038174 -3.396589)'))) / (select extract(epoch from '2026-08-11 16:27:23'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48139, 'SRID=4674;POINT (-39.038243 -3.396475)', '2026-08-11 16:27:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038174 -3.396589)'), GeomFromEWKT('SRID=4674;POINT (-39.038243 -3.396475)'))) / (select extract(epoch from '2026-08-11 16:27:30'::timestamp) - extract(epoch from '2026-08-11 16:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038174 -3.396589)'), GeomFromEWKT('SRID=4674;POINT (-39.038243 -3.396475)'))) / (select extract(epoch from '2026-08-11 16:27:30'::timestamp) - extract(epoch from '2026-08-11 16:27:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.038308 -3.396382)', '2026-08-11 16:27:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038243 -3.396475)'), GeomFromEWKT('SRID=4674;POINT (-39.038308 -3.396382)'))) / (select extract(epoch from '2026-08-11 16:27:36'::timestamp) - extract(epoch from '2026-08-11 16:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038243 -3.396475)'), GeomFromEWKT('SRID=4674;POINT (-39.038308 -3.396382)'))) / (select extract(epoch from '2026-08-11 16:27:36'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.038368 -3.396288)', '2026-08-11 16:27:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038308 -3.396382)'), GeomFromEWKT('SRID=4674;POINT (-39.038368 -3.396288)'))) / (select extract(epoch from '2026-08-11 16:27:42'::timestamp) - extract(epoch from '2026-08-11 16:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038308 -3.396382)'), GeomFromEWKT('SRID=4674;POINT (-39.038368 -3.396288)'))) / (select extract(epoch from '2026-08-11 16:27:42'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48139, 'SRID=4674;POINT (-39.038429 -3.396181)', '2026-08-11 16:27:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038368 -3.396288)'), GeomFromEWKT('SRID=4674;POINT (-39.038429 -3.396181)'))) / (select extract(epoch from '2026-08-11 16:27:49'::timestamp) - extract(epoch from '2026-08-11 16:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038368 -3.396288)'), GeomFromEWKT('SRID=4674;POINT (-39.038429 -3.396181)'))) / (select extract(epoch from '2026-08-11 16:27:49'::timestamp) - extract(epoch from '2026-08-11 16:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.038476 -3.396122)', '2026-08-11 16:27:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038429 -3.396181)'), GeomFromEWKT('SRID=4674;POINT (-39.038476 -3.396122)'))) / (select extract(epoch from '2026-08-11 16:27:53'::timestamp) - extract(epoch from '2026-08-11 16:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038429 -3.396181)'), GeomFromEWKT('SRID=4674;POINT (-39.038476 -3.396122)'))) / (select extract(epoch from '2026-08-11 16:27:53'::timestamp) - extract(epoch from '2026-08-11 16:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.03849 -3.396085)', '2026-08-11 16:27:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038476 -3.396122)'), GeomFromEWKT('SRID=4674;POINT (-39.03849 -3.396085)'))) / (select extract(epoch from '2026-08-11 16:27:55'::timestamp) - extract(epoch from '2026-08-11 16:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038476 -3.396122)'), GeomFromEWKT('SRID=4674;POINT (-39.03849 -3.396085)'))) / (select extract(epoch from '2026-08-11 16:27:55'::timestamp) - extract(epoch from '2026-08-11 16:27: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'), 48139, 'SRID=4674;POINT (-39.038548 -3.395979)', '2026-08-11 16:28:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03849 -3.396085)'), GeomFromEWKT('SRID=4674;POINT (-39.038548 -3.395979)'))) / (select extract(epoch from '2026-08-11 16:28:01'::timestamp) - extract(epoch from '2026-08-11 16:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03849 -3.396085)'), GeomFromEWKT('SRID=4674;POINT (-39.038548 -3.395979)'))) / (select extract(epoch from '2026-08-11 16:28:01'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.038601 -3.395849)', '2026-08-11 16:28:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038548 -3.395979)'), GeomFromEWKT('SRID=4674;POINT (-39.038601 -3.395849)'))) / (select extract(epoch from '2026-08-11 16:28:09'::timestamp) - extract(epoch from '2026-08-11 16:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038548 -3.395979)'), GeomFromEWKT('SRID=4674;POINT (-39.038601 -3.395849)'))) / (select extract(epoch from '2026-08-11 16:28:09'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.038654 -3.395736)', '2026-08-11 16:28:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038601 -3.395849)'), GeomFromEWKT('SRID=4674;POINT (-39.038654 -3.395736)'))) / (select extract(epoch from '2026-08-11 16:28:16'::timestamp) - extract(epoch from '2026-08-11 16:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038601 -3.395849)'), GeomFromEWKT('SRID=4674;POINT (-39.038654 -3.395736)'))) / (select extract(epoch from '2026-08-11 16:28:16'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.038719 -3.395643)', '2026-08-11 16:28:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038654 -3.395736)'), GeomFromEWKT('SRID=4674;POINT (-39.038719 -3.395643)'))) / (select extract(epoch from '2026-08-11 16:28:22'::timestamp) - extract(epoch from '2026-08-11 16:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038654 -3.395736)'), GeomFromEWKT('SRID=4674;POINT (-39.038719 -3.395643)'))) / (select extract(epoch from '2026-08-11 16:28:22'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.038774 -3.395567)', '2026-08-11 16:28:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038719 -3.395643)'), GeomFromEWKT('SRID=4674;POINT (-39.038774 -3.395567)'))) / (select extract(epoch from '2026-08-11 16:28:27'::timestamp) - extract(epoch from '2026-08-11 16:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038719 -3.395643)'), GeomFromEWKT('SRID=4674;POINT (-39.038774 -3.395567)'))) / (select extract(epoch from '2026-08-11 16:28:27'::timestamp) - extract(epoch from '2026-08-11 16:28: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'), 48139, 'SRID=4674;POINT (-39.038839 -3.395497)', '2026-08-11 16:28:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038774 -3.395567)'), GeomFromEWKT('SRID=4674;POINT (-39.038839 -3.395497)'))) / (select extract(epoch from '2026-08-11 16:28:32'::timestamp) - extract(epoch from '2026-08-11 16:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038774 -3.395567)'), GeomFromEWKT('SRID=4674;POINT (-39.038839 -3.395497)'))) / (select extract(epoch from '2026-08-11 16:28:32'::timestamp) - extract(epoch from '2026-08-11 16:28: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'), 48139, 'SRID=4674;POINT (-39.038849 -3.395483)', '2026-08-11 16:28:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038839 -3.395497)'), GeomFromEWKT('SRID=4674;POINT (-39.038849 -3.395483)'))) / (select extract(epoch from '2026-08-11 16:28:33'::timestamp) - extract(epoch from '2026-08-11 16:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038839 -3.395497)'), GeomFromEWKT('SRID=4674;POINT (-39.038849 -3.395483)'))) / (select extract(epoch from '2026-08-11 16:28:33'::timestamp) - extract(epoch from '2026-08-11 16:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.038917 -3.395386)', '2026-08-11 16:28:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038849 -3.395483)'), GeomFromEWKT('SRID=4674;POINT (-39.038917 -3.395386)'))) / (select extract(epoch from '2026-08-11 16:28:39'::timestamp) - extract(epoch from '2026-08-11 16:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038849 -3.395483)'), GeomFromEWKT('SRID=4674;POINT (-39.038917 -3.395386)'))) / (select extract(epoch from '2026-08-11 16:28:39'::timestamp) - extract(epoch from '2026-08-11 16:28:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.038986 -3.39527)', '2026-08-11 16:28:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038917 -3.395386)'), GeomFromEWKT('SRID=4674;POINT (-39.038986 -3.39527)'))) / (select extract(epoch from '2026-08-11 16:28:46'::timestamp) - extract(epoch from '2026-08-11 16:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038917 -3.395386)'), GeomFromEWKT('SRID=4674;POINT (-39.038986 -3.39527)'))) / (select extract(epoch from '2026-08-11 16:28:46'::timestamp) - extract(epoch from '2026-08-11 16:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.039043 -3.395171)', '2026-08-11 16:28:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038986 -3.39527)'), GeomFromEWKT('SRID=4674;POINT (-39.039043 -3.395171)'))) / (select extract(epoch from '2026-08-11 16:28:52'::timestamp) - extract(epoch from '2026-08-11 16:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038986 -3.39527)'), GeomFromEWKT('SRID=4674;POINT (-39.039043 -3.395171)'))) / (select extract(epoch from '2026-08-11 16:28:52'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.039102 -3.395063)', '2026-08-11 16:28:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039043 -3.395171)'), GeomFromEWKT('SRID=4674;POINT (-39.039102 -3.395063)'))) / (select extract(epoch from '2026-08-11 16:28:58'::timestamp) - extract(epoch from '2026-08-11 16:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039043 -3.395171)'), GeomFromEWKT('SRID=4674;POINT (-39.039102 -3.395063)'))) / (select extract(epoch from '2026-08-11 16:28:58'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.039162 -3.394967)', '2026-08-11 16:29:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039102 -3.395063)'), GeomFromEWKT('SRID=4674;POINT (-39.039162 -3.394967)'))) / (select extract(epoch from '2026-08-11 16:29:04'::timestamp) - extract(epoch from '2026-08-11 16:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039102 -3.395063)'), GeomFromEWKT('SRID=4674;POINT (-39.039162 -3.394967)'))) / (select extract(epoch from '2026-08-11 16:29:04'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.039223 -3.394875)', '2026-08-11 16:29:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039162 -3.394967)'), GeomFromEWKT('SRID=4674;POINT (-39.039223 -3.394875)'))) / (select extract(epoch from '2026-08-11 16:29:10'::timestamp) - extract(epoch from '2026-08-11 16:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039162 -3.394967)'), GeomFromEWKT('SRID=4674;POINT (-39.039223 -3.394875)'))) / (select extract(epoch from '2026-08-11 16:29:10'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.039295 -3.394777)', '2026-08-11 16:29:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039223 -3.394875)'), GeomFromEWKT('SRID=4674;POINT (-39.039295 -3.394777)'))) / (select extract(epoch from '2026-08-11 16:29:16'::timestamp) - extract(epoch from '2026-08-11 16:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039223 -3.394875)'), GeomFromEWKT('SRID=4674;POINT (-39.039295 -3.394777)'))) / (select extract(epoch from '2026-08-11 16:29:16'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48139, 'SRID=4674;POINT (-39.039368 -3.394687)', '2026-08-11 16:29:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039295 -3.394777)'), GeomFromEWKT('SRID=4674;POINT (-39.039368 -3.394687)'))) / (select extract(epoch from '2026-08-11 16:29:22'::timestamp) - extract(epoch from '2026-08-11 16:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039295 -3.394777)'), GeomFromEWKT('SRID=4674;POINT (-39.039368 -3.394687)'))) / (select extract(epoch from '2026-08-11 16:29:22'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48139, 'SRID=4674;POINT (-39.039417 -3.394604)', '2026-08-11 16:29:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039368 -3.394687)'), GeomFromEWKT('SRID=4674;POINT (-39.039417 -3.394604)'))) / (select extract(epoch from '2026-08-11 16:29:27'::timestamp) - extract(epoch from '2026-08-11 16:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039368 -3.394687)'), GeomFromEWKT('SRID=4674;POINT (-39.039417 -3.394604)'))) / (select extract(epoch from '2026-08-11 16:29:27'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48139, 'SRID=4674;POINT (-39.039478 -3.394529)', '2026-08-11 16:29:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039417 -3.394604)'), GeomFromEWKT('SRID=4674;POINT (-39.039478 -3.394529)'))) / (select extract(epoch from '2026-08-11 16:29:32'::timestamp) - extract(epoch from '2026-08-11 16:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039417 -3.394604)'), GeomFromEWKT('SRID=4674;POINT (-39.039478 -3.394529)'))) / (select extract(epoch from '2026-08-11 16:29:32'::timestamp) - extract(epoch from '2026-08-11 16:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.039551 -3.39444)', '2026-08-11 16:29:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039478 -3.394529)'), GeomFromEWKT('SRID=4674;POINT (-39.039551 -3.39444)'))) / (select extract(epoch from '2026-08-11 16:29:38'::timestamp) - extract(epoch from '2026-08-11 16:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039478 -3.394529)'), GeomFromEWKT('SRID=4674;POINT (-39.039551 -3.39444)'))) / (select extract(epoch from '2026-08-11 16:29:38'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.039649 -3.394338)', '2026-08-11 16:29:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039551 -3.39444)'), GeomFromEWKT('SRID=4674;POINT (-39.039649 -3.394338)'))) / (select extract(epoch from '2026-08-11 16:29:46'::timestamp) - extract(epoch from '2026-08-11 16:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039551 -3.39444)'), GeomFromEWKT('SRID=4674;POINT (-39.039649 -3.394338)'))) / (select extract(epoch from '2026-08-11 16:29:46'::timestamp) - extract(epoch from '2026-08-11 16:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.039741 -3.394256)', '2026-08-11 16:29:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039649 -3.394338)'), GeomFromEWKT('SRID=4674;POINT (-39.039741 -3.394256)'))) / (select extract(epoch from '2026-08-11 16:29:53'::timestamp) - extract(epoch from '2026-08-11 16:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039649 -3.394338)'), GeomFromEWKT('SRID=4674;POINT (-39.039741 -3.394256)'))) / (select extract(epoch from '2026-08-11 16:29:53'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.03983 -3.3942)', '2026-08-11 16:29:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039741 -3.394256)'), GeomFromEWKT('SRID=4674;POINT (-39.03983 -3.3942)'))) / (select extract(epoch from '2026-08-11 16:29:59'::timestamp) - extract(epoch from '2026-08-11 16:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039741 -3.394256)'), GeomFromEWKT('SRID=4674;POINT (-39.03983 -3.3942)'))) / (select extract(epoch from '2026-08-11 16:29:59'::timestamp) - extract(epoch from '2026-08-11 16:29: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'), 48139, 'SRID=4674;POINT (-39.039861 -3.394184)', '2026-08-11 16:30:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03983 -3.3942)'), GeomFromEWKT('SRID=4674;POINT (-39.039861 -3.394184)'))) / (select extract(epoch from '2026-08-11 16:30:01'::timestamp) - extract(epoch from '2026-08-11 16:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03983 -3.3942)'), GeomFromEWKT('SRID=4674;POINT (-39.039861 -3.394184)'))) / (select extract(epoch from '2026-08-11 16:30:01'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.039905 -3.39415)', '2026-08-11 16:30:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039861 -3.394184)'), GeomFromEWKT('SRID=4674;POINT (-39.039905 -3.39415)'))) / (select extract(epoch from '2026-08-11 16:30:04'::timestamp) - extract(epoch from '2026-08-11 16:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039861 -3.394184)'), GeomFromEWKT('SRID=4674;POINT (-39.039905 -3.39415)'))) / (select extract(epoch from '2026-08-11 16:30:04'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48139, 'SRID=4674;POINT (-39.03997 -3.39409)', '2026-08-11 16:30:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039905 -3.39415)'), GeomFromEWKT('SRID=4674;POINT (-39.03997 -3.39409)'))) / (select extract(epoch from '2026-08-11 16:30:09'::timestamp) - extract(epoch from '2026-08-11 16:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039905 -3.39415)'), GeomFromEWKT('SRID=4674;POINT (-39.03997 -3.39409)'))) / (select extract(epoch from '2026-08-11 16:30:09'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48139, 'SRID=4674;POINT (-39.039983 -3.39408)', '2026-08-11 16:30:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03997 -3.39409)'), GeomFromEWKT('SRID=4674;POINT (-39.039983 -3.39408)'))) / (select extract(epoch from '2026-08-11 16:30:10'::timestamp) - extract(epoch from '2026-08-11 16:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03997 -3.39409)'), GeomFromEWKT('SRID=4674;POINT (-39.039983 -3.39408)'))) / (select extract(epoch from '2026-08-11 16:30:10'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48139, 'SRID=4674;POINT (-39.040034 -3.394036)', '2026-08-11 16:30:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039983 -3.39408)'), GeomFromEWKT('SRID=4674;POINT (-39.040034 -3.394036)'))) / (select extract(epoch from '2026-08-11 16:30:14'::timestamp) - extract(epoch from '2026-08-11 16:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039983 -3.39408)'), GeomFromEWKT('SRID=4674;POINT (-39.040034 -3.394036)'))) / (select extract(epoch from '2026-08-11 16:30:14'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48139, 'SRID=4674;POINT (-39.040084 -3.393991)', '2026-08-11 16:30:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040034 -3.394036)'), GeomFromEWKT('SRID=4674;POINT (-39.040084 -3.393991)'))) / (select extract(epoch from '2026-08-11 16:30:18'::timestamp) - extract(epoch from '2026-08-11 16:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040034 -3.394036)'), GeomFromEWKT('SRID=4674;POINT (-39.040084 -3.393991)'))) / (select extract(epoch from '2026-08-11 16:30:18'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.040104 -3.393987)', '2026-08-11 16:30:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040084 -3.393991)'), GeomFromEWKT('SRID=4674;POINT (-39.040104 -3.393987)'))) / (select extract(epoch from '2026-08-11 16:30:19'::timestamp) - extract(epoch from '2026-08-11 16:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040084 -3.393991)'), GeomFromEWKT('SRID=4674;POINT (-39.040104 -3.393987)'))) / (select extract(epoch from '2026-08-11 16:30:19'::timestamp) - extract(epoch from '2026-08-11 16:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.040153 -3.393959)', '2026-08-11 16:30:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040104 -3.393987)'), GeomFromEWKT('SRID=4674;POINT (-39.040153 -3.393959)'))) / (select extract(epoch from '2026-08-11 16:30:22'::timestamp) - extract(epoch from '2026-08-11 16:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040104 -3.393987)'), GeomFromEWKT('SRID=4674;POINT (-39.040153 -3.393959)'))) / (select extract(epoch from '2026-08-11 16:30:22'::timestamp) - extract(epoch from '2026-08-11 16:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.040172 -3.393951)', '2026-08-11 16:30:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040153 -3.393959)'), GeomFromEWKT('SRID=4674;POINT (-39.040172 -3.393951)'))) / (select extract(epoch from '2026-08-11 16:30:23'::timestamp) - extract(epoch from '2026-08-11 16:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040153 -3.393959)'), GeomFromEWKT('SRID=4674;POINT (-39.040172 -3.393951)'))) / (select extract(epoch from '2026-08-11 16:30:23'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.040235 -3.393888)', '2026-08-11 16:30:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040172 -3.393951)'), GeomFromEWKT('SRID=4674;POINT (-39.040235 -3.393888)'))) / (select extract(epoch from '2026-08-11 16:30:28'::timestamp) - extract(epoch from '2026-08-11 16:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040172 -3.393951)'), GeomFromEWKT('SRID=4674;POINT (-39.040235 -3.393888)'))) / (select extract(epoch from '2026-08-11 16:30:28'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.040299 -3.393809)', '2026-08-11 16:30:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040235 -3.393888)'), GeomFromEWKT('SRID=4674;POINT (-39.040299 -3.393809)'))) / (select extract(epoch from '2026-08-11 16:30:34'::timestamp) - extract(epoch from '2026-08-11 16:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040235 -3.393888)'), GeomFromEWKT('SRID=4674;POINT (-39.040299 -3.393809)'))) / (select extract(epoch from '2026-08-11 16:30:34'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.040366 -3.393736)', '2026-08-11 16:30:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040299 -3.393809)'), GeomFromEWKT('SRID=4674;POINT (-39.040366 -3.393736)'))) / (select extract(epoch from '2026-08-11 16:30:40'::timestamp) - extract(epoch from '2026-08-11 16:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040299 -3.393809)'), GeomFromEWKT('SRID=4674;POINT (-39.040366 -3.393736)'))) / (select extract(epoch from '2026-08-11 16:30:40'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48139, 'SRID=4674;POINT (-39.040437 -3.393674)', '2026-08-11 16:30:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040366 -3.393736)'), GeomFromEWKT('SRID=4674;POINT (-39.040437 -3.393674)'))) / (select extract(epoch from '2026-08-11 16:30:45'::timestamp) - extract(epoch from '2026-08-11 16:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040366 -3.393736)'), GeomFromEWKT('SRID=4674;POINT (-39.040437 -3.393674)'))) / (select extract(epoch from '2026-08-11 16:30:45'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48139, 'SRID=4674;POINT (-39.040487 -3.393618)', '2026-08-11 16:30:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040437 -3.393674)'), GeomFromEWKT('SRID=4674;POINT (-39.040487 -3.393618)'))) / (select extract(epoch from '2026-08-11 16:30:49'::timestamp) - extract(epoch from '2026-08-11 16:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040437 -3.393674)'), GeomFromEWKT('SRID=4674;POINT (-39.040487 -3.393618)'))) / (select extract(epoch from '2026-08-11 16:30:49'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48139, 'SRID=4674;POINT (-39.040508 -3.393588)', '2026-08-11 16:30:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040487 -3.393618)'), GeomFromEWKT('SRID=4674;POINT (-39.040508 -3.393588)'))) / (select extract(epoch from '2026-08-11 16:30:51'::timestamp) - extract(epoch from '2026-08-11 16:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040487 -3.393618)'), GeomFromEWKT('SRID=4674;POINT (-39.040508 -3.393588)'))) / (select extract(epoch from '2026-08-11 16:30:51'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48139, 'SRID=4674;POINT (-39.040557 -3.393523)', '2026-08-11 16:30:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040508 -3.393588)'), GeomFromEWKT('SRID=4674;POINT (-39.040557 -3.393523)'))) / (select extract(epoch from '2026-08-11 16:30:56'::timestamp) - extract(epoch from '2026-08-11 16:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040508 -3.393588)'), GeomFromEWKT('SRID=4674;POINT (-39.040557 -3.393523)'))) / (select extract(epoch from '2026-08-11 16:30:56'::timestamp) - extract(epoch from '2026-08-11 16:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.040565 -3.393508)', '2026-08-11 16:30:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040557 -3.393523)'), GeomFromEWKT('SRID=4674;POINT (-39.040565 -3.393508)'))) / (select extract(epoch from '2026-08-11 16:30:57'::timestamp) - extract(epoch from '2026-08-11 16:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040557 -3.393523)'), GeomFromEWKT('SRID=4674;POINT (-39.040565 -3.393508)'))) / (select extract(epoch from '2026-08-11 16:30:57'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48139, 'SRID=4674;POINT (-39.040618 -3.393424)', '2026-08-11 16:31:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040565 -3.393508)'), GeomFromEWKT('SRID=4674;POINT (-39.040618 -3.393424)'))) / (select extract(epoch from '2026-08-11 16:31:03'::timestamp) - extract(epoch from '2026-08-11 16:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040565 -3.393508)'), GeomFromEWKT('SRID=4674;POINT (-39.040618 -3.393424)'))) / (select extract(epoch from '2026-08-11 16:31:03'::timestamp) - extract(epoch from '2026-08-11 16:30: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'), 48139, 'SRID=4674;POINT (-39.040636 -3.393394)', '2026-08-11 16:31:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040618 -3.393424)'), GeomFromEWKT('SRID=4674;POINT (-39.040636 -3.393394)'))) / (select extract(epoch from '2026-08-11 16:31:05'::timestamp) - extract(epoch from '2026-08-11 16:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040618 -3.393424)'), GeomFromEWKT('SRID=4674;POINT (-39.040636 -3.393394)'))) / (select extract(epoch from '2026-08-11 16:31:05'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.040662 -3.393369)', '2026-08-11 16:31:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040636 -3.393394)'), GeomFromEWKT('SRID=4674;POINT (-39.040662 -3.393369)'))) / (select extract(epoch from '2026-08-11 16:31:07'::timestamp) - extract(epoch from '2026-08-11 16:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040636 -3.393394)'), GeomFromEWKT('SRID=4674;POINT (-39.040662 -3.393369)'))) / (select extract(epoch from '2026-08-11 16:31:07'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48139, 'SRID=4674;POINT (-39.040737 -3.393289)', '2026-08-11 16:31:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040662 -3.393369)'), GeomFromEWKT('SRID=4674;POINT (-39.040737 -3.393289)'))) / (select extract(epoch from '2026-08-11 16:31:13'::timestamp) - extract(epoch from '2026-08-11 16:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040662 -3.393369)'), GeomFromEWKT('SRID=4674;POINT (-39.040737 -3.393289)'))) / (select extract(epoch from '2026-08-11 16:31:13'::timestamp) - extract(epoch from '2026-08-11 16:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.040795 -3.393204)', '2026-08-11 16:31:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040737 -3.393289)'), GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.393204)'))) / (select extract(epoch from '2026-08-11 16:31:19'::timestamp) - extract(epoch from '2026-08-11 16:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040737 -3.393289)'), GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.393204)'))) / (select extract(epoch from '2026-08-11 16:31:19'::timestamp) - extract(epoch from '2026-08-11 16:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.040852 -3.393119)', '2026-08-11 16:31:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.393204)'), GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.393119)'))) / (select extract(epoch from '2026-08-11 16:31:25'::timestamp) - extract(epoch from '2026-08-11 16:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.393204)'), GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.393119)'))) / (select extract(epoch from '2026-08-11 16:31:25'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.040908 -3.393027)', '2026-08-11 16:31:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.393119)'), GeomFromEWKT('SRID=4674;POINT (-39.040908 -3.393027)'))) / (select extract(epoch from '2026-08-11 16:31:31'::timestamp) - extract(epoch from '2026-08-11 16:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.393119)'), GeomFromEWKT('SRID=4674;POINT (-39.040908 -3.393027)'))) / (select extract(epoch from '2026-08-11 16:31:31'::timestamp) - extract(epoch from '2026-08-11 16:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.040961 -3.392938)', '2026-08-11 16:31:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040908 -3.393027)'), GeomFromEWKT('SRID=4674;POINT (-39.040961 -3.392938)'))) / (select extract(epoch from '2026-08-11 16:31:37'::timestamp) - extract(epoch from '2026-08-11 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040908 -3.393027)'), GeomFromEWKT('SRID=4674;POINT (-39.040961 -3.392938)'))) / (select extract(epoch from '2026-08-11 16:31:37'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48139, 'SRID=4674;POINT (-39.041 -3.392864)', '2026-08-11 16:31:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040961 -3.392938)'), GeomFromEWKT('SRID=4674;POINT (-39.041 -3.392864)'))) / (select extract(epoch from '2026-08-11 16:31:42'::timestamp) - extract(epoch from '2026-08-11 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040961 -3.392938)'), GeomFromEWKT('SRID=4674;POINT (-39.041 -3.392864)'))) / (select extract(epoch from '2026-08-11 16:31:42'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48139, 'SRID=4674;POINT (-39.041057 -3.392764)', '2026-08-11 16:31:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041 -3.392864)'), GeomFromEWKT('SRID=4674;POINT (-39.041057 -3.392764)'))) / (select extract(epoch from '2026-08-11 16:31:49'::timestamp) - extract(epoch from '2026-08-11 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041 -3.392864)'), GeomFromEWKT('SRID=4674;POINT (-39.041057 -3.392764)'))) / (select extract(epoch from '2026-08-11 16:31:49'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.041101 -3.392688)', '2026-08-11 16:31:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041057 -3.392764)'), GeomFromEWKT('SRID=4674;POINT (-39.041101 -3.392688)'))) / (select extract(epoch from '2026-08-11 16:31:54'::timestamp) - extract(epoch from '2026-08-11 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041057 -3.392764)'), GeomFromEWKT('SRID=4674;POINT (-39.041101 -3.392688)'))) / (select extract(epoch from '2026-08-11 16:31:54'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.04114 -3.392615)', '2026-08-11 16:31:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041101 -3.392688)'), GeomFromEWKT('SRID=4674;POINT (-39.04114 -3.392615)'))) / (select extract(epoch from '2026-08-11 16:31:59'::timestamp) - extract(epoch from '2026-08-11 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041101 -3.392688)'), GeomFromEWKT('SRID=4674;POINT (-39.04114 -3.392615)'))) / (select extract(epoch from '2026-08-11 16:31:59'::timestamp) - extract(epoch from '2026-08-11 16:31: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'), 48139, 'SRID=4674;POINT (-39.041148 -3.392599)', '2026-08-11 16:32:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04114 -3.392615)'), GeomFromEWKT('SRID=4674;POINT (-39.041148 -3.392599)'))) / (select extract(epoch from '2026-08-11 16:32:00'::timestamp) - extract(epoch from '2026-08-11 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04114 -3.392615)'), GeomFromEWKT('SRID=4674;POINT (-39.041148 -3.392599)'))) / (select extract(epoch from '2026-08-11 16:32:00'::timestamp) - extract(epoch from '2026-08-11 16:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.041164 -3.392587)', '2026-08-11 16:32:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041148 -3.392599)'), GeomFromEWKT('SRID=4674;POINT (-39.041164 -3.392587)'))) / (select extract(epoch from '2026-08-11 16:32:01'::timestamp) - extract(epoch from '2026-08-11 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041148 -3.392599)'), GeomFromEWKT('SRID=4674;POINT (-39.041164 -3.392587)'))) / (select extract(epoch from '2026-08-11 16:32:01'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48139, 'SRID=4674;POINT (-39.041188 -3.392576)', '2026-08-11 16:32:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041164 -3.392587)'), GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.392576)'))) / (select extract(epoch from '2026-08-11 16:32:03'::timestamp) - extract(epoch from '2026-08-11 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041164 -3.392587)'), GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.392576)'))) / (select extract(epoch from '2026-08-11 16:32:03'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48139, 'SRID=4674;POINT (-39.041201 -3.392567)', '2026-08-11 16:32:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.392576)'), GeomFromEWKT('SRID=4674;POINT (-39.041201 -3.392567)'))) / (select extract(epoch from '2026-08-11 16:32:04'::timestamp) - extract(epoch from '2026-08-11 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.392576)'), GeomFromEWKT('SRID=4674;POINT (-39.041201 -3.392567)'))) / (select extract(epoch from '2026-08-11 16:32:04'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.041287 -3.392493)', '2026-08-11 16:32:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041201 -3.392567)'), GeomFromEWKT('SRID=4674;POINT (-39.041287 -3.392493)'))) / (select extract(epoch from '2026-08-11 16:32:11'::timestamp) - extract(epoch from '2026-08-11 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041201 -3.392567)'), GeomFromEWKT('SRID=4674;POINT (-39.041287 -3.392493)'))) / (select extract(epoch from '2026-08-11 16:32:11'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.041344 -3.392434)', '2026-08-11 16:32:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041287 -3.392493)'), GeomFromEWKT('SRID=4674;POINT (-39.041344 -3.392434)'))) / (select extract(epoch from '2026-08-11 16:32:16'::timestamp) - extract(epoch from '2026-08-11 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041287 -3.392493)'), GeomFromEWKT('SRID=4674;POINT (-39.041344 -3.392434)'))) / (select extract(epoch from '2026-08-11 16:32:16'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48139, 'SRID=4674;POINT (-39.041408 -3.39233)', '2026-08-11 16:32:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041344 -3.392434)'), GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.39233)'))) / (select extract(epoch from '2026-08-11 16:32:23'::timestamp) - extract(epoch from '2026-08-11 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041344 -3.392434)'), GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.39233)'))) / (select extract(epoch from '2026-08-11 16:32:23'::timestamp) - extract(epoch from '2026-08-11 16:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.041437 -3.392274)', '2026-08-11 16:32:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.39233)'), GeomFromEWKT('SRID=4674;POINT (-39.041437 -3.392274)'))) / (select extract(epoch from '2026-08-11 16:32:27'::timestamp) - extract(epoch from '2026-08-11 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.39233)'), GeomFromEWKT('SRID=4674;POINT (-39.041437 -3.392274)'))) / (select extract(epoch from '2026-08-11 16:32:27'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48139, 'SRID=4674;POINT (-39.041445 -3.392258)', '2026-08-11 16:32:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041437 -3.392274)'), GeomFromEWKT('SRID=4674;POINT (-39.041445 -3.392258)'))) / (select extract(epoch from '2026-08-11 16:32:28'::timestamp) - extract(epoch from '2026-08-11 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041437 -3.392274)'), GeomFromEWKT('SRID=4674;POINT (-39.041445 -3.392258)'))) / (select extract(epoch from '2026-08-11 16:32:28'::timestamp) - extract(epoch from '2026-08-11 16:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.041481 -3.392173)', '2026-08-11 16:32:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041445 -3.392258)'), GeomFromEWKT('SRID=4674;POINT (-39.041481 -3.392173)'))) / (select extract(epoch from '2026-08-11 16:32:34'::timestamp) - extract(epoch from '2026-08-11 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041445 -3.392258)'), GeomFromEWKT('SRID=4674;POINT (-39.041481 -3.392173)'))) / (select extract(epoch from '2026-08-11 16:32:34'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48139, 'SRID=4674;POINT (-39.041484 -3.392158)', '2026-08-11 16:32:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041481 -3.392173)'), GeomFromEWKT('SRID=4674;POINT (-39.041484 -3.392158)'))) / (select extract(epoch from '2026-08-11 16:32:35'::timestamp) - extract(epoch from '2026-08-11 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041481 -3.392173)'), GeomFromEWKT('SRID=4674;POINT (-39.041484 -3.392158)'))) / (select extract(epoch from '2026-08-11 16:32:35'::timestamp) - extract(epoch from '2026-08-11 16:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.041493 -3.392145)', '2026-08-11 16:32:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041484 -3.392158)'), GeomFromEWKT('SRID=4674;POINT (-39.041493 -3.392145)'))) / (select extract(epoch from '2026-08-11 16:32:36'::timestamp) - extract(epoch from '2026-08-11 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041484 -3.392158)'), GeomFromEWKT('SRID=4674;POINT (-39.041493 -3.392145)'))) / (select extract(epoch from '2026-08-11 16:32:36'::timestamp) - extract(epoch from '2026-08-11 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.041515 -3.392117)', '2026-08-11 16:32:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041493 -3.392145)'), GeomFromEWKT('SRID=4674;POINT (-39.041515 -3.392117)'))) / (select extract(epoch from '2026-08-11 16:32:38'::timestamp) - extract(epoch from '2026-08-11 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041493 -3.392145)'), GeomFromEWKT('SRID=4674;POINT (-39.041515 -3.392117)'))) / (select extract(epoch from '2026-08-11 16:32:38'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48139, 'SRID=4674;POINT (-39.041534 -3.392093)', '2026-08-11 16:32:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041515 -3.392117)'), GeomFromEWKT('SRID=4674;POINT (-39.041534 -3.392093)'))) / (select extract(epoch from '2026-08-11 16:32:40'::timestamp) - extract(epoch from '2026-08-11 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041515 -3.392117)'), GeomFromEWKT('SRID=4674;POINT (-39.041534 -3.392093)'))) / (select extract(epoch from '2026-08-11 16:32:40'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48139, 'SRID=4674;POINT (-39.041572 -3.392032)', '2026-08-11 16:32:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041534 -3.392093)'), GeomFromEWKT('SRID=4674;POINT (-39.041572 -3.392032)'))) / (select extract(epoch from '2026-08-11 16:32:44'::timestamp) - extract(epoch from '2026-08-11 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041534 -3.392093)'), GeomFromEWKT('SRID=4674;POINT (-39.041572 -3.392032)'))) / (select extract(epoch from '2026-08-11 16:32:44'::timestamp) - extract(epoch from '2026-08-11 16:32:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.041583 -3.392017)', '2026-08-11 16:32:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041572 -3.392032)'), GeomFromEWKT('SRID=4674;POINT (-39.041583 -3.392017)'))) / (select extract(epoch from '2026-08-11 16:32:45'::timestamp) - extract(epoch from '2026-08-11 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041572 -3.392032)'), GeomFromEWKT('SRID=4674;POINT (-39.041583 -3.392017)'))) / (select extract(epoch from '2026-08-11 16:32:45'::timestamp) - extract(epoch from '2026-08-11 16:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.04162 -3.391946)', '2026-08-11 16:32:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041583 -3.392017)'), GeomFromEWKT('SRID=4674;POINT (-39.04162 -3.391946)'))) / (select extract(epoch from '2026-08-11 16:32:50'::timestamp) - extract(epoch from '2026-08-11 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041583 -3.392017)'), GeomFromEWKT('SRID=4674;POINT (-39.04162 -3.391946)'))) / (select extract(epoch from '2026-08-11 16:32:50'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.041666 -3.391856)', '2026-08-11 16:32:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04162 -3.391946)'), GeomFromEWKT('SRID=4674;POINT (-39.041666 -3.391856)'))) / (select extract(epoch from '2026-08-11 16:32:56'::timestamp) - extract(epoch from '2026-08-11 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04162 -3.391946)'), GeomFromEWKT('SRID=4674;POINT (-39.041666 -3.391856)'))) / (select extract(epoch from '2026-08-11 16:32:56'::timestamp) - extract(epoch from '2026-08-11 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.041714 -3.391781)', '2026-08-11 16:33:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041666 -3.391856)'), GeomFromEWKT('SRID=4674;POINT (-39.041714 -3.391781)'))) / (select extract(epoch from '2026-08-11 16:33:01'::timestamp) - extract(epoch from '2026-08-11 16:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041666 -3.391856)'), GeomFromEWKT('SRID=4674;POINT (-39.041714 -3.391781)'))) / (select extract(epoch from '2026-08-11 16:33:01'::timestamp) - extract(epoch from '2026-08-11 16:32: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'), 48139, 'SRID=4674;POINT (-39.041746 -3.391706)', '2026-08-11 16:33:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041714 -3.391781)'), GeomFromEWKT('SRID=4674;POINT (-39.041746 -3.391706)'))) / (select extract(epoch from '2026-08-11 16:33:06'::timestamp) - extract(epoch from '2026-08-11 16:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041714 -3.391781)'), GeomFromEWKT('SRID=4674;POINT (-39.041746 -3.391706)'))) / (select extract(epoch from '2026-08-11 16:33:06'::timestamp) - extract(epoch from '2026-08-11 16:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.041786 -3.391619)', '2026-08-11 16:33:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041746 -3.391706)'), GeomFromEWKT('SRID=4674;POINT (-39.041786 -3.391619)'))) / (select extract(epoch from '2026-08-11 16:33:12'::timestamp) - extract(epoch from '2026-08-11 16:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041746 -3.391706)'), GeomFromEWKT('SRID=4674;POINT (-39.041786 -3.391619)'))) / (select extract(epoch from '2026-08-11 16:33:12'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48139, 'SRID=4674;POINT (-39.041821 -3.391562)', '2026-08-11 16:33:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041786 -3.391619)'), GeomFromEWKT('SRID=4674;POINT (-39.041821 -3.391562)'))) / (select extract(epoch from '2026-08-11 16:33:16'::timestamp) - extract(epoch from '2026-08-11 16:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041786 -3.391619)'), GeomFromEWKT('SRID=4674;POINT (-39.041821 -3.391562)'))) / (select extract(epoch from '2026-08-11 16:33:16'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48139, 'SRID=4674;POINT (-39.041848 -3.391537)', '2026-08-11 16:33:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041821 -3.391562)'), GeomFromEWKT('SRID=4674;POINT (-39.041848 -3.391537)'))) / (select extract(epoch from '2026-08-11 16:33:18'::timestamp) - extract(epoch from '2026-08-11 16:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041821 -3.391562)'), GeomFromEWKT('SRID=4674;POINT (-39.041848 -3.391537)'))) / (select extract(epoch from '2026-08-11 16:33:18'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48139, 'SRID=4674;POINT (-39.041905 -3.391452)', '2026-08-11 16:33:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041848 -3.391537)'), GeomFromEWKT('SRID=4674;POINT (-39.041905 -3.391452)'))) / (select extract(epoch from '2026-08-11 16:33:24'::timestamp) - extract(epoch from '2026-08-11 16:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041848 -3.391537)'), GeomFromEWKT('SRID=4674;POINT (-39.041905 -3.391452)'))) / (select extract(epoch from '2026-08-11 16:33:24'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.041929 -3.391395)', '2026-08-11 16:33:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041905 -3.391452)'), GeomFromEWKT('SRID=4674;POINT (-39.041929 -3.391395)'))) / (select extract(epoch from '2026-08-11 16:33:28'::timestamp) - extract(epoch from '2026-08-11 16:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041905 -3.391452)'), GeomFromEWKT('SRID=4674;POINT (-39.041929 -3.391395)'))) / (select extract(epoch from '2026-08-11 16:33:28'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48139, 'SRID=4674;POINT (-39.041932 -3.391381)', '2026-08-11 16:33:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041929 -3.391395)'), GeomFromEWKT('SRID=4674;POINT (-39.041932 -3.391381)'))) / (select extract(epoch from '2026-08-11 16:33:29'::timestamp) - extract(epoch from '2026-08-11 16:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041929 -3.391395)'), GeomFromEWKT('SRID=4674;POINT (-39.041932 -3.391381)'))) / (select extract(epoch from '2026-08-11 16:33:29'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48139, 'SRID=4674;POINT (-39.041961 -3.391292)', '2026-08-11 16:33:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041932 -3.391381)'), GeomFromEWKT('SRID=4674;POINT (-39.041961 -3.391292)'))) / (select extract(epoch from '2026-08-11 16:33:35'::timestamp) - extract(epoch from '2026-08-11 16:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041932 -3.391381)'), GeomFromEWKT('SRID=4674;POINT (-39.041961 -3.391292)'))) / (select extract(epoch from '2026-08-11 16:33:35'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.042009 -3.391182)', '2026-08-11 16:33:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041961 -3.391292)'), GeomFromEWKT('SRID=4674;POINT (-39.042009 -3.391182)'))) / (select extract(epoch from '2026-08-11 16:33:42'::timestamp) - extract(epoch from '2026-08-11 16:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041961 -3.391292)'), GeomFromEWKT('SRID=4674;POINT (-39.042009 -3.391182)'))) / (select extract(epoch from '2026-08-11 16:33:42'::timestamp) - extract(epoch from '2026-08-11 16:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.042068 -3.391104)', '2026-08-11 16:33:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042009 -3.391182)'), GeomFromEWKT('SRID=4674;POINT (-39.042068 -3.391104)'))) / (select extract(epoch from '2026-08-11 16:33:48'::timestamp) - extract(epoch from '2026-08-11 16:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042009 -3.391182)'), GeomFromEWKT('SRID=4674;POINT (-39.042068 -3.391104)'))) / (select extract(epoch from '2026-08-11 16:33:48'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48139, 'SRID=4674;POINT (-39.042154 -3.391002)', '2026-08-11 16:33:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042068 -3.391104)'), GeomFromEWKT('SRID=4674;POINT (-39.042154 -3.391002)'))) / (select extract(epoch from '2026-08-11 16:33:56'::timestamp) - extract(epoch from '2026-08-11 16:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042068 -3.391104)'), GeomFromEWKT('SRID=4674;POINT (-39.042154 -3.391002)'))) / (select extract(epoch from '2026-08-11 16:33:56'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48139, 'SRID=4674;POINT (-39.042212 -3.390938)', '2026-08-11 16:34:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042154 -3.391002)'), GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.390938)'))) / (select extract(epoch from '2026-08-11 16:34:01'::timestamp) - extract(epoch from '2026-08-11 16:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042154 -3.391002)'), GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.390938)'))) / (select extract(epoch from '2026-08-11 16:34:01'::timestamp) - extract(epoch from '2026-08-11 16:33: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'), 48139, 'SRID=4674;POINT (-39.042278 -3.390857)', '2026-08-11 16:34:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.390938)'), GeomFromEWKT('SRID=4674;POINT (-39.042278 -3.390857)'))) / (select extract(epoch from '2026-08-11 16:34:07'::timestamp) - extract(epoch from '2026-08-11 16:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.390938)'), GeomFromEWKT('SRID=4674;POINT (-39.042278 -3.390857)'))) / (select extract(epoch from '2026-08-11 16:34:07'::timestamp) - extract(epoch from '2026-08-11 16:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.042343 -3.39077)', '2026-08-11 16:34:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042278 -3.390857)'), GeomFromEWKT('SRID=4674;POINT (-39.042343 -3.39077)'))) / (select extract(epoch from '2026-08-11 16:34:13'::timestamp) - extract(epoch from '2026-08-11 16:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042278 -3.390857)'), GeomFromEWKT('SRID=4674;POINT (-39.042343 -3.39077)'))) / (select extract(epoch from '2026-08-11 16:34:13'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48139, 'SRID=4674;POINT (-39.042408 -3.390682)', '2026-08-11 16:34:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042343 -3.39077)'), GeomFromEWKT('SRID=4674;POINT (-39.042408 -3.390682)'))) / (select extract(epoch from '2026-08-11 16:34:19'::timestamp) - extract(epoch from '2026-08-11 16:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042343 -3.39077)'), GeomFromEWKT('SRID=4674;POINT (-39.042408 -3.390682)'))) / (select extract(epoch from '2026-08-11 16:34:19'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48139, 'SRID=4674;POINT (-39.042466 -3.390601)', '2026-08-11 16:34:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042408 -3.390682)'), GeomFromEWKT('SRID=4674;POINT (-39.042466 -3.390601)'))) / (select extract(epoch from '2026-08-11 16:34:25'::timestamp) - extract(epoch from '2026-08-11 16:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042408 -3.390682)'), GeomFromEWKT('SRID=4674;POINT (-39.042466 -3.390601)'))) / (select extract(epoch from '2026-08-11 16:34:25'::timestamp) - extract(epoch from '2026-08-11 16:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.042527 -3.390501)', '2026-08-11 16:34:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042466 -3.390601)'), GeomFromEWKT('SRID=4674;POINT (-39.042527 -3.390501)'))) / (select extract(epoch from '2026-08-11 16:34:32'::timestamp) - extract(epoch from '2026-08-11 16:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042466 -3.390601)'), GeomFromEWKT('SRID=4674;POINT (-39.042527 -3.390501)'))) / (select extract(epoch from '2026-08-11 16:34:32'::timestamp) - extract(epoch from '2026-08-11 16:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.042546 -3.390476)', '2026-08-11 16:34:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042527 -3.390501)'), GeomFromEWKT('SRID=4674;POINT (-39.042546 -3.390476)'))) / (select extract(epoch from '2026-08-11 16:34:34'::timestamp) - extract(epoch from '2026-08-11 16:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042527 -3.390501)'), GeomFromEWKT('SRID=4674;POINT (-39.042546 -3.390476)'))) / (select extract(epoch from '2026-08-11 16:34:34'::timestamp) - extract(epoch from '2026-08-11 16:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.042575 -3.390438)', '2026-08-11 16:34:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042546 -3.390476)'), GeomFromEWKT('SRID=4674;POINT (-39.042575 -3.390438)'))) / (select extract(epoch from '2026-08-11 16:34:37'::timestamp) - extract(epoch from '2026-08-11 16:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042546 -3.390476)'), GeomFromEWKT('SRID=4674;POINT (-39.042575 -3.390438)'))) / (select extract(epoch from '2026-08-11 16:34:37'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48139, 'SRID=4674;POINT (-39.042644 -3.390344)', '2026-08-11 16:34:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042575 -3.390438)'), GeomFromEWKT('SRID=4674;POINT (-39.042644 -3.390344)'))) / (select extract(epoch from '2026-08-11 16:34:44'::timestamp) - extract(epoch from '2026-08-11 16:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042575 -3.390438)'), GeomFromEWKT('SRID=4674;POINT (-39.042644 -3.390344)'))) / (select extract(epoch from '2026-08-11 16:34:44'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48139, 'SRID=4674;POINT (-39.042695 -3.390236)', '2026-08-11 16:34:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042644 -3.390344)'), GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.390236)'))) / (select extract(epoch from '2026-08-11 16:34:51'::timestamp) - extract(epoch from '2026-08-11 16:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042644 -3.390344)'), GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.390236)'))) / (select extract(epoch from '2026-08-11 16:34:51'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48139, 'SRID=4674;POINT (-39.042743 -3.390167)', '2026-08-11 16:34:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.390236)'), GeomFromEWKT('SRID=4674;POINT (-39.042743 -3.390167)'))) / (select extract(epoch from '2026-08-11 16:34:56'::timestamp) - extract(epoch from '2026-08-11 16:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.390236)'), GeomFromEWKT('SRID=4674;POINT (-39.042743 -3.390167)'))) / (select extract(epoch from '2026-08-11 16:34:56'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48139, 'SRID=4674;POINT (-39.042751 -3.390151)', '2026-08-11 16:34:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042743 -3.390167)'), GeomFromEWKT('SRID=4674;POINT (-39.042751 -3.390151)'))) / (select extract(epoch from '2026-08-11 16:34:57'::timestamp) - extract(epoch from '2026-08-11 16:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042743 -3.390167)'), GeomFromEWKT('SRID=4674;POINT (-39.042751 -3.390151)'))) / (select extract(epoch from '2026-08-11 16:34:57'::timestamp) - extract(epoch from '2026-08-11 16:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.042787 -3.390079)', '2026-08-11 16:35:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042751 -3.390151)'), GeomFromEWKT('SRID=4674;POINT (-39.042787 -3.390079)'))) / (select extract(epoch from '2026-08-11 16:35:02'::timestamp) - extract(epoch from '2026-08-11 16:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042751 -3.390151)'), GeomFromEWKT('SRID=4674;POINT (-39.042787 -3.390079)'))) / (select extract(epoch from '2026-08-11 16:35:02'::timestamp) - extract(epoch from '2026-08-11 16:34: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'), 48139, 'SRID=4674;POINT (-39.042802 -3.390049)', '2026-08-11 16:35:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042787 -3.390079)'), GeomFromEWKT('SRID=4674;POINT (-39.042802 -3.390049)'))) / (select extract(epoch from '2026-08-11 16:35:04'::timestamp) - extract(epoch from '2026-08-11 16:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042787 -3.390079)'), GeomFromEWKT('SRID=4674;POINT (-39.042802 -3.390049)'))) / (select extract(epoch from '2026-08-11 16:35:04'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.042818 -3.390026)', '2026-08-11 16:35:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042802 -3.390049)'), GeomFromEWKT('SRID=4674;POINT (-39.042818 -3.390026)'))) / (select extract(epoch from '2026-08-11 16:35:06'::timestamp) - extract(epoch from '2026-08-11 16:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042802 -3.390049)'), GeomFromEWKT('SRID=4674;POINT (-39.042818 -3.390026)'))) / (select extract(epoch from '2026-08-11 16:35:06'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.042819 -3.390011)', '2026-08-11 16:35:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042818 -3.390026)'), GeomFromEWKT('SRID=4674;POINT (-39.042819 -3.390011)'))) / (select extract(epoch from '2026-08-11 16:35:07'::timestamp) - extract(epoch from '2026-08-11 16:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042818 -3.390026)'), GeomFromEWKT('SRID=4674;POINT (-39.042819 -3.390011)'))) / (select extract(epoch from '2026-08-11 16:35:07'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.042828 -3.389994)', '2026-08-11 16:35:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042819 -3.390011)'), GeomFromEWKT('SRID=4674;POINT (-39.042828 -3.389994)'))) / (select extract(epoch from '2026-08-11 16:35:08'::timestamp) - extract(epoch from '2026-08-11 16:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042819 -3.390011)'), GeomFromEWKT('SRID=4674;POINT (-39.042828 -3.389994)'))) / (select extract(epoch from '2026-08-11 16:35:08'::timestamp) - extract(epoch from '2026-08-11 16:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.042848 -3.38997)', '2026-08-11 16:35:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042828 -3.389994)'), GeomFromEWKT('SRID=4674;POINT (-39.042848 -3.38997)'))) / (select extract(epoch from '2026-08-11 16:35:10'::timestamp) - extract(epoch from '2026-08-11 16:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042828 -3.389994)'), GeomFromEWKT('SRID=4674;POINT (-39.042848 -3.38997)'))) / (select extract(epoch from '2026-08-11 16:35:10'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.042857 -3.38994)', '2026-08-11 16:35:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042848 -3.38997)'), GeomFromEWKT('SRID=4674;POINT (-39.042857 -3.38994)'))) / (select extract(epoch from '2026-08-11 16:35:12'::timestamp) - extract(epoch from '2026-08-11 16:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042848 -3.38997)'), GeomFromEWKT('SRID=4674;POINT (-39.042857 -3.38994)'))) / (select extract(epoch from '2026-08-11 16:35:12'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.042881 -3.389894)', '2026-08-11 16:35:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042857 -3.38994)'), GeomFromEWKT('SRID=4674;POINT (-39.042881 -3.389894)'))) / (select extract(epoch from '2026-08-11 16:35:15'::timestamp) - extract(epoch from '2026-08-11 16:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042857 -3.38994)'), GeomFromEWKT('SRID=4674;POINT (-39.042881 -3.389894)'))) / (select extract(epoch from '2026-08-11 16:35:15'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.042905 -3.38983)', '2026-08-11 16:35:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042881 -3.389894)'), GeomFromEWKT('SRID=4674;POINT (-39.042905 -3.38983)'))) / (select extract(epoch from '2026-08-11 16:35:19'::timestamp) - extract(epoch from '2026-08-11 16:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042881 -3.389894)'), GeomFromEWKT('SRID=4674;POINT (-39.042905 -3.38983)'))) / (select extract(epoch from '2026-08-11 16:35:19'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.042927 -3.389779)', '2026-08-11 16:35:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042905 -3.38983)'), GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.389779)'))) / (select extract(epoch from '2026-08-11 16:35:23'::timestamp) - extract(epoch from '2026-08-11 16:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042905 -3.38983)'), GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.389779)'))) / (select extract(epoch from '2026-08-11 16:35:23'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.042936 -3.389766)', '2026-08-11 16:35:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.389779)'), GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.389766)'))) / (select extract(epoch from '2026-08-11 16:35:24'::timestamp) - extract(epoch from '2026-08-11 16:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.389779)'), GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.389766)'))) / (select extract(epoch from '2026-08-11 16:35:24'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.042978 -3.389676)', '2026-08-11 16:35:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.389766)'), GeomFromEWKT('SRID=4674;POINT (-39.042978 -3.389676)'))) / (select extract(epoch from '2026-08-11 16:35:30'::timestamp) - extract(epoch from '2026-08-11 16:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042936 -3.389766)'), GeomFromEWKT('SRID=4674;POINT (-39.042978 -3.389676)'))) / (select extract(epoch from '2026-08-11 16:35:30'::timestamp) - extract(epoch from '2026-08-11 16: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'), 48139, 'SRID=4674;POINT (-39.043017 -3.389602)', '2026-08-11 16:35:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042978 -3.389676)'), GeomFromEWKT('SRID=4674;POINT (-39.043017 -3.389602)'))) / (select extract(epoch from '2026-08-11 16:35:35'::timestamp) - extract(epoch from '2026-08-11 16:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042978 -3.389676)'), GeomFromEWKT('SRID=4674;POINT (-39.043017 -3.389602)'))) / (select extract(epoch from '2026-08-11 16:35:35'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.043042 -3.389559)', '2026-08-11 16:35:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043017 -3.389602)'), GeomFromEWKT('SRID=4674;POINT (-39.043042 -3.389559)'))) / (select extract(epoch from '2026-08-11 16:35:38'::timestamp) - extract(epoch from '2026-08-11 16:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043017 -3.389602)'), GeomFromEWKT('SRID=4674;POINT (-39.043042 -3.389559)'))) / (select extract(epoch from '2026-08-11 16:35:38'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.043054 -3.389533)', '2026-08-11 16:35:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043042 -3.389559)'), GeomFromEWKT('SRID=4674;POINT (-39.043054 -3.389533)'))) / (select extract(epoch from '2026-08-11 16:35:40'::timestamp) - extract(epoch from '2026-08-11 16:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043042 -3.389559)'), GeomFromEWKT('SRID=4674;POINT (-39.043054 -3.389533)'))) / (select extract(epoch from '2026-08-11 16:35:40'::timestamp) - extract(epoch from '2026-08-11 16:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.043089 -3.389447)', '2026-08-11 16:35:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043054 -3.389533)'), GeomFromEWKT('SRID=4674;POINT (-39.043089 -3.389447)'))) / (select extract(epoch from '2026-08-11 16:35:46'::timestamp) - extract(epoch from '2026-08-11 16:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043054 -3.389533)'), GeomFromEWKT('SRID=4674;POINT (-39.043089 -3.389447)'))) / (select extract(epoch from '2026-08-11 16:35:46'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.043111 -3.389405)', '2026-08-11 16:35:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043089 -3.389447)'), GeomFromEWKT('SRID=4674;POINT (-39.043111 -3.389405)'))) / (select extract(epoch from '2026-08-11 16:35:49'::timestamp) - extract(epoch from '2026-08-11 16:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043089 -3.389447)'), GeomFromEWKT('SRID=4674;POINT (-39.043111 -3.389405)'))) / (select extract(epoch from '2026-08-11 16:35:49'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.043133 -3.389365)', '2026-08-11 16:35:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043111 -3.389405)'), GeomFromEWKT('SRID=4674;POINT (-39.043133 -3.389365)'))) / (select extract(epoch from '2026-08-11 16:35:52'::timestamp) - extract(epoch from '2026-08-11 16:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043111 -3.389405)'), GeomFromEWKT('SRID=4674;POINT (-39.043133 -3.389365)'))) / (select extract(epoch from '2026-08-11 16:35:52'::timestamp) - extract(epoch from '2026-08-11 16:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.043172 -3.389276)', '2026-08-11 16:35:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043133 -3.389365)'), GeomFromEWKT('SRID=4674;POINT (-39.043172 -3.389276)'))) / (select extract(epoch from '2026-08-11 16:35:58'::timestamp) - extract(epoch from '2026-08-11 16:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043133 -3.389365)'), GeomFromEWKT('SRID=4674;POINT (-39.043172 -3.389276)'))) / (select extract(epoch from '2026-08-11 16:35:58'::timestamp) - extract(epoch from '2026-08-11 16:35:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.043205 -3.389221)', '2026-08-11 16:36:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043172 -3.389276)'), GeomFromEWKT('SRID=4674;POINT (-39.043205 -3.389221)'))) / (select extract(epoch from '2026-08-11 16:36:02'::timestamp) - extract(epoch from '2026-08-11 16:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043172 -3.389276)'), GeomFromEWKT('SRID=4674;POINT (-39.043205 -3.389221)'))) / (select extract(epoch from '2026-08-11 16:36:02'::timestamp) - extract(epoch from '2026-08-11 16:35: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'), 48139, 'SRID=4674;POINT (-39.043215 -3.389206)', '2026-08-11 16:36:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043205 -3.389221)'), GeomFromEWKT('SRID=4674;POINT (-39.043215 -3.389206)'))) / (select extract(epoch from '2026-08-11 16:36:03'::timestamp) - extract(epoch from '2026-08-11 16:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043205 -3.389221)'), GeomFromEWKT('SRID=4674;POINT (-39.043215 -3.389206)'))) / (select extract(epoch from '2026-08-11 16:36:03'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.043273 -3.389139)', '2026-08-11 16:36:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043215 -3.389206)'), GeomFromEWKT('SRID=4674;POINT (-39.043273 -3.389139)'))) / (select extract(epoch from '2026-08-11 16:36:08'::timestamp) - extract(epoch from '2026-08-11 16:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043215 -3.389206)'), GeomFromEWKT('SRID=4674;POINT (-39.043273 -3.389139)'))) / (select extract(epoch from '2026-08-11 16:36:08'::timestamp) - extract(epoch from '2026-08-11 16:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.043322 -3.389049)', '2026-08-11 16:36:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043273 -3.389139)'), GeomFromEWKT('SRID=4674;POINT (-39.043322 -3.389049)'))) / (select extract(epoch from '2026-08-11 16:36:14'::timestamp) - extract(epoch from '2026-08-11 16:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043273 -3.389139)'), GeomFromEWKT('SRID=4674;POINT (-39.043322 -3.389049)'))) / (select extract(epoch from '2026-08-11 16:36:14'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.04338 -3.388971)', '2026-08-11 16:36:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043322 -3.389049)'), GeomFromEWKT('SRID=4674;POINT (-39.04338 -3.388971)'))) / (select extract(epoch from '2026-08-11 16:36:20'::timestamp) - extract(epoch from '2026-08-11 16:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043322 -3.389049)'), GeomFromEWKT('SRID=4674;POINT (-39.04338 -3.388971)'))) / (select extract(epoch from '2026-08-11 16:36:20'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.043441 -3.388888)', '2026-08-11 16:36:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04338 -3.388971)'), GeomFromEWKT('SRID=4674;POINT (-39.043441 -3.388888)'))) / (select extract(epoch from '2026-08-11 16:36:26'::timestamp) - extract(epoch from '2026-08-11 16:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04338 -3.388971)'), GeomFromEWKT('SRID=4674;POINT (-39.043441 -3.388888)'))) / (select extract(epoch from '2026-08-11 16:36:26'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.043451 -3.388873)', '2026-08-11 16:36:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043441 -3.388888)'), GeomFromEWKT('SRID=4674;POINT (-39.043451 -3.388873)'))) / (select extract(epoch from '2026-08-11 16:36:27'::timestamp) - extract(epoch from '2026-08-11 16:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043441 -3.388888)'), GeomFromEWKT('SRID=4674;POINT (-39.043451 -3.388873)'))) / (select extract(epoch from '2026-08-11 16:36:27'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.04347 -3.388846)', '2026-08-11 16:36:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043451 -3.388873)'), GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.388846)'))) / (select extract(epoch from '2026-08-11 16:36:29'::timestamp) - extract(epoch from '2026-08-11 16:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043451 -3.388873)'), GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.388846)'))) / (select extract(epoch from '2026-08-11 16:36:29'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.043485 -3.388824)', '2026-08-11 16:36:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.388846)'), GeomFromEWKT('SRID=4674;POINT (-39.043485 -3.388824)'))) / (select extract(epoch from '2026-08-11 16:36:31'::timestamp) - extract(epoch from '2026-08-11 16:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.388846)'), GeomFromEWKT('SRID=4674;POINT (-39.043485 -3.388824)'))) / (select extract(epoch from '2026-08-11 16:36:31'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.043525 -3.388751)', '2026-08-11 16:36:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043485 -3.388824)'), GeomFromEWKT('SRID=4674;POINT (-39.043525 -3.388751)'))) / (select extract(epoch from '2026-08-11 16:36:36'::timestamp) - extract(epoch from '2026-08-11 16:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043485 -3.388824)'), GeomFromEWKT('SRID=4674;POINT (-39.043525 -3.388751)'))) / (select extract(epoch from '2026-08-11 16:36:36'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.043539 -3.388721)', '2026-08-11 16:36:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043525 -3.388751)'), GeomFromEWKT('SRID=4674;POINT (-39.043539 -3.388721)'))) / (select extract(epoch from '2026-08-11 16:36:38'::timestamp) - extract(epoch from '2026-08-11 16:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043525 -3.388751)'), GeomFromEWKT('SRID=4674;POINT (-39.043539 -3.388721)'))) / (select extract(epoch from '2026-08-11 16:36:38'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.043559 -3.388693)', '2026-08-11 16:36:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043539 -3.388721)'), GeomFromEWKT('SRID=4674;POINT (-39.043559 -3.388693)'))) / (select extract(epoch from '2026-08-11 16:36:40'::timestamp) - extract(epoch from '2026-08-11 16:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043539 -3.388721)'), GeomFromEWKT('SRID=4674;POINT (-39.043559 -3.388693)'))) / (select extract(epoch from '2026-08-11 16:36:40'::timestamp) - extract(epoch from '2026-08-11 16:36:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.043569 -3.388681)', '2026-08-11 16:36:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043559 -3.388693)'), GeomFromEWKT('SRID=4674;POINT (-39.043569 -3.388681)'))) / (select extract(epoch from '2026-08-11 16:36:41'::timestamp) - extract(epoch from '2026-08-11 16:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043559 -3.388693)'), GeomFromEWKT('SRID=4674;POINT (-39.043569 -3.388681)'))) / (select extract(epoch from '2026-08-11 16:36:41'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.043641 -3.388556)', '2026-08-11 16:36:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043569 -3.388681)'), GeomFromEWKT('SRID=4674;POINT (-39.043641 -3.388556)'))) / (select extract(epoch from '2026-08-11 16:36:50'::timestamp) - extract(epoch from '2026-08-11 16:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043569 -3.388681)'), GeomFromEWKT('SRID=4674;POINT (-39.043641 -3.388556)'))) / (select extract(epoch from '2026-08-11 16:36:50'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.043682 -3.388474)', '2026-08-11 16:36:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043641 -3.388556)'), GeomFromEWKT('SRID=4674;POINT (-39.043682 -3.388474)'))) / (select extract(epoch from '2026-08-11 16:36:56'::timestamp) - extract(epoch from '2026-08-11 16:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043641 -3.388556)'), GeomFromEWKT('SRID=4674;POINT (-39.043682 -3.388474)'))) / (select extract(epoch from '2026-08-11 16:36:56'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.043722 -3.388385)', '2026-08-11 16:37:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043682 -3.388474)'), GeomFromEWKT('SRID=4674;POINT (-39.043722 -3.388385)'))) / (select extract(epoch from '2026-08-11 16:37:02'::timestamp) - extract(epoch from '2026-08-11 16:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043682 -3.388474)'), GeomFromEWKT('SRID=4674;POINT (-39.043722 -3.388385)'))) / (select extract(epoch from '2026-08-11 16:37:02'::timestamp) - extract(epoch from '2026-08-11 16:36: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'), 48139, 'SRID=4674;POINT (-39.043737 -3.388343)', '2026-08-11 16:37:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043722 -3.388385)'), GeomFromEWKT('SRID=4674;POINT (-39.043737 -3.388343)'))) / (select extract(epoch from '2026-08-11 16:37:05'::timestamp) - extract(epoch from '2026-08-11 16:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043722 -3.388385)'), GeomFromEWKT('SRID=4674;POINT (-39.043737 -3.388343)'))) / (select extract(epoch from '2026-08-11 16:37:05'::timestamp) - extract(epoch from '2026-08-11 16:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.043745 -3.38831)', '2026-08-11 16:37:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043737 -3.388343)'), GeomFromEWKT('SRID=4674;POINT (-39.043745 -3.38831)'))) / (select extract(epoch from '2026-08-11 16:37:07'::timestamp) - extract(epoch from '2026-08-11 16:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043737 -3.388343)'), GeomFromEWKT('SRID=4674;POINT (-39.043745 -3.38831)'))) / (select extract(epoch from '2026-08-11 16:37:07'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.043757 -3.388295)', '2026-08-11 16:37:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043745 -3.38831)'), GeomFromEWKT('SRID=4674;POINT (-39.043757 -3.388295)'))) / (select extract(epoch from '2026-08-11 16:37:08'::timestamp) - extract(epoch from '2026-08-11 16:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043745 -3.38831)'), GeomFromEWKT('SRID=4674;POINT (-39.043757 -3.388295)'))) / (select extract(epoch from '2026-08-11 16:37:08'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.04377 -3.388268)', '2026-08-11 16:37:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043757 -3.388295)'), GeomFromEWKT('SRID=4674;POINT (-39.04377 -3.388268)'))) / (select extract(epoch from '2026-08-11 16:37:10'::timestamp) - extract(epoch from '2026-08-11 16:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043757 -3.388295)'), GeomFromEWKT('SRID=4674;POINT (-39.04377 -3.388268)'))) / (select extract(epoch from '2026-08-11 16:37:10'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.043781 -3.388238)', '2026-08-11 16:37:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04377 -3.388268)'), GeomFromEWKT('SRID=4674;POINT (-39.043781 -3.388238)'))) / (select extract(epoch from '2026-08-11 16:37:12'::timestamp) - extract(epoch from '2026-08-11 16:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04377 -3.388268)'), GeomFromEWKT('SRID=4674;POINT (-39.043781 -3.388238)'))) / (select extract(epoch from '2026-08-11 16:37:12'::timestamp) - extract(epoch from '2026-08-11 16:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.043815 -3.388176)', '2026-08-11 16:37:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043781 -3.388238)'), GeomFromEWKT('SRID=4674;POINT (-39.043815 -3.388176)'))) / (select extract(epoch from '2026-08-11 16:37:17'::timestamp) - extract(epoch from '2026-08-11 16:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043781 -3.388238)'), GeomFromEWKT('SRID=4674;POINT (-39.043815 -3.388176)'))) / (select extract(epoch from '2026-08-11 16:37:17'::timestamp) - extract(epoch from '2026-08-11 16:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.043841 -3.388119)', '2026-08-11 16:37:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043815 -3.388176)'), GeomFromEWKT('SRID=4674;POINT (-39.043841 -3.388119)'))) / (select extract(epoch from '2026-08-11 16:37:21'::timestamp) - extract(epoch from '2026-08-11 16:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043815 -3.388176)'), GeomFromEWKT('SRID=4674;POINT (-39.043841 -3.388119)'))) / (select extract(epoch from '2026-08-11 16:37:21'::timestamp) - extract(epoch from '2026-08-11 16:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.043859 -3.388089)', '2026-08-11 16:37:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043841 -3.388119)'), GeomFromEWKT('SRID=4674;POINT (-39.043859 -3.388089)'))) / (select extract(epoch from '2026-08-11 16:37:23'::timestamp) - extract(epoch from '2026-08-11 16:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043841 -3.388119)'), GeomFromEWKT('SRID=4674;POINT (-39.043859 -3.388089)'))) / (select extract(epoch from '2026-08-11 16:37:23'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.043895 -3.388037)', '2026-08-11 16:37:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043859 -3.388089)'), GeomFromEWKT('SRID=4674;POINT (-39.043895 -3.388037)'))) / (select extract(epoch from '2026-08-11 16:37:27'::timestamp) - extract(epoch from '2026-08-11 16:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043859 -3.388089)'), GeomFromEWKT('SRID=4674;POINT (-39.043895 -3.388037)'))) / (select extract(epoch from '2026-08-11 16:37:27'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.043956 -3.387943)', '2026-08-11 16:37:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043895 -3.388037)'), GeomFromEWKT('SRID=4674;POINT (-39.043956 -3.387943)'))) / (select extract(epoch from '2026-08-11 16:37:34'::timestamp) - extract(epoch from '2026-08-11 16:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043895 -3.388037)'), GeomFromEWKT('SRID=4674;POINT (-39.043956 -3.387943)'))) / (select extract(epoch from '2026-08-11 16:37:34'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.043978 -3.387918)', '2026-08-11 16:37:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043956 -3.387943)'), GeomFromEWKT('SRID=4674;POINT (-39.043978 -3.387918)'))) / (select extract(epoch from '2026-08-11 16:37:36'::timestamp) - extract(epoch from '2026-08-11 16:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043956 -3.387943)'), GeomFromEWKT('SRID=4674;POINT (-39.043978 -3.387918)'))) / (select extract(epoch from '2026-08-11 16:37:36'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.043997 -3.387889)', '2026-08-11 16:37:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043978 -3.387918)'), GeomFromEWKT('SRID=4674;POINT (-39.043997 -3.387889)'))) / (select extract(epoch from '2026-08-11 16:37:38'::timestamp) - extract(epoch from '2026-08-11 16:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043978 -3.387918)'), GeomFromEWKT('SRID=4674;POINT (-39.043997 -3.387889)'))) / (select extract(epoch from '2026-08-11 16:37:38'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.044052 -3.387805)', '2026-08-11 16:37:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043997 -3.387889)'), GeomFromEWKT('SRID=4674;POINT (-39.044052 -3.387805)'))) / (select extract(epoch from '2026-08-11 16:37:44'::timestamp) - extract(epoch from '2026-08-11 16:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043997 -3.387889)'), GeomFromEWKT('SRID=4674;POINT (-39.044052 -3.387805)'))) / (select extract(epoch from '2026-08-11 16:37:44'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.044074 -3.387766)', '2026-08-11 16:37:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044052 -3.387805)'), GeomFromEWKT('SRID=4674;POINT (-39.044074 -3.387766)'))) / (select extract(epoch from '2026-08-11 16:37:47'::timestamp) - extract(epoch from '2026-08-11 16:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044052 -3.387805)'), GeomFromEWKT('SRID=4674;POINT (-39.044074 -3.387766)'))) / (select extract(epoch from '2026-08-11 16:37:47'::timestamp) - extract(epoch from '2026-08-11 16:37:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.0441 -3.38772)', '2026-08-11 16:37:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044074 -3.387766)'), GeomFromEWKT('SRID=4674;POINT (-39.0441 -3.38772)'))) / (select extract(epoch from '2026-08-11 16:37:50'::timestamp) - extract(epoch from '2026-08-11 16:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044074 -3.387766)'), GeomFromEWKT('SRID=4674;POINT (-39.0441 -3.38772)'))) / (select extract(epoch from '2026-08-11 16:37:50'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.044122 -3.387653)', '2026-08-11 16:37:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0441 -3.38772)'), GeomFromEWKT('SRID=4674;POINT (-39.044122 -3.387653)'))) / (select extract(epoch from '2026-08-11 16:37:54'::timestamp) - extract(epoch from '2026-08-11 16:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0441 -3.38772)'), GeomFromEWKT('SRID=4674;POINT (-39.044122 -3.387653)'))) / (select extract(epoch from '2026-08-11 16:37:54'::timestamp) - extract(epoch from '2026-08-11 16:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.044133 -3.387637)', '2026-08-11 16:37:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044122 -3.387653)'), GeomFromEWKT('SRID=4674;POINT (-39.044133 -3.387637)'))) / (select extract(epoch from '2026-08-11 16:37:55'::timestamp) - extract(epoch from '2026-08-11 16:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044122 -3.387653)'), GeomFromEWKT('SRID=4674;POINT (-39.044133 -3.387637)'))) / (select extract(epoch from '2026-08-11 16:37:55'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.044179 -3.38757)', '2026-08-11 16:38:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044133 -3.387637)'), GeomFromEWKT('SRID=4674;POINT (-39.044179 -3.38757)'))) / (select extract(epoch from '2026-08-11 16:38:00'::timestamp) - extract(epoch from '2026-08-11 16:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044133 -3.387637)'), GeomFromEWKT('SRID=4674;POINT (-39.044179 -3.38757)'))) / (select extract(epoch from '2026-08-11 16:38:00'::timestamp) - extract(epoch from '2026-08-11 16:37: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'), 48139, 'SRID=4674;POINT (-39.044225 -3.3875)', '2026-08-11 16:38:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044179 -3.38757)'), GeomFromEWKT('SRID=4674;POINT (-39.044225 -3.3875)'))) / (select extract(epoch from '2026-08-11 16:38:05'::timestamp) - extract(epoch from '2026-08-11 16:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044179 -3.38757)'), GeomFromEWKT('SRID=4674;POINT (-39.044225 -3.3875)'))) / (select extract(epoch from '2026-08-11 16:38:05'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48139, 'SRID=4674;POINT (-39.044267 -3.387424)', '2026-08-11 16:38:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044225 -3.3875)'), GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.387424)'))) / (select extract(epoch from '2026-08-11 16:38:10'::timestamp) - extract(epoch from '2026-08-11 16:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044225 -3.3875)'), GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.387424)'))) / (select extract(epoch from '2026-08-11 16:38:10'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48139, 'SRID=4674;POINT (-39.04431 -3.38734)', '2026-08-11 16:38:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.387424)'), GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.38734)'))) / (select extract(epoch from '2026-08-11 16:38:16'::timestamp) - extract(epoch from '2026-08-11 16:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.387424)'), GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.38734)'))) / (select extract(epoch from '2026-08-11 16:38:16'::timestamp) - extract(epoch from '2026-08-11 16:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.044349 -3.387247)', '2026-08-11 16:38:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.38734)'), GeomFromEWKT('SRID=4674;POINT (-39.044349 -3.387247)'))) / (select extract(epoch from '2026-08-11 16:38:22'::timestamp) - extract(epoch from '2026-08-11 16:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.38734)'), GeomFromEWKT('SRID=4674;POINT (-39.044349 -3.387247)'))) / (select extract(epoch from '2026-08-11 16:38:22'::timestamp) - extract(epoch from '2026-08-11 16:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.044365 -3.387186)', '2026-08-11 16:38:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044349 -3.387247)'), GeomFromEWKT('SRID=4674;POINT (-39.044365 -3.387186)'))) / (select extract(epoch from '2026-08-11 16:38:26'::timestamp) - extract(epoch from '2026-08-11 16:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044349 -3.387247)'), GeomFromEWKT('SRID=4674;POINT (-39.044365 -3.387186)'))) / (select extract(epoch from '2026-08-11 16:38:26'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48139, 'SRID=4674;POINT (-39.044388 -3.38716)', '2026-08-11 16:38:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044365 -3.387186)'), GeomFromEWKT('SRID=4674;POINT (-39.044388 -3.38716)'))) / (select extract(epoch from '2026-08-11 16:38:28'::timestamp) - extract(epoch from '2026-08-11 16:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044365 -3.387186)'), GeomFromEWKT('SRID=4674;POINT (-39.044388 -3.38716)'))) / (select extract(epoch from '2026-08-11 16:38:28'::timestamp) - extract(epoch from '2026-08-11 16:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.044451 -3.387073)', '2026-08-11 16:38:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044388 -3.38716)'), GeomFromEWKT('SRID=4674;POINT (-39.044451 -3.387073)'))) / (select extract(epoch from '2026-08-11 16:38:35'::timestamp) - extract(epoch from '2026-08-11 16:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044388 -3.38716)'), GeomFromEWKT('SRID=4674;POINT (-39.044451 -3.387073)'))) / (select extract(epoch from '2026-08-11 16:38:35'::timestamp) - extract(epoch from '2026-08-11 16:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.044508 -3.386988)', '2026-08-11 16:38:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044451 -3.387073)'), GeomFromEWKT('SRID=4674;POINT (-39.044508 -3.386988)'))) / (select extract(epoch from '2026-08-11 16:38:41'::timestamp) - extract(epoch from '2026-08-11 16:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044451 -3.387073)'), GeomFromEWKT('SRID=4674;POINT (-39.044508 -3.386988)'))) / (select extract(epoch from '2026-08-11 16:38:41'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48139, 'SRID=4674;POINT (-39.044565 -3.386889)', '2026-08-11 16:38:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044508 -3.386988)'), GeomFromEWKT('SRID=4674;POINT (-39.044565 -3.386889)'))) / (select extract(epoch from '2026-08-11 16:38:48'::timestamp) - extract(epoch from '2026-08-11 16:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044508 -3.386988)'), GeomFromEWKT('SRID=4674;POINT (-39.044565 -3.386889)'))) / (select extract(epoch from '2026-08-11 16:38:48'::timestamp) - extract(epoch from '2026-08-11 16:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.04462 -3.38681)', '2026-08-11 16:38:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044565 -3.386889)'), GeomFromEWKT('SRID=4674;POINT (-39.04462 -3.38681)'))) / (select extract(epoch from '2026-08-11 16:38:54'::timestamp) - extract(epoch from '2026-08-11 16:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044565 -3.386889)'), GeomFromEWKT('SRID=4674;POINT (-39.04462 -3.38681)'))) / (select extract(epoch from '2026-08-11 16:38:54'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48139, 'SRID=4674;POINT (-39.044629 -3.386779)', '2026-08-11 16:38:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04462 -3.38681)'), GeomFromEWKT('SRID=4674;POINT (-39.044629 -3.386779)'))) / (select extract(epoch from '2026-08-11 16:38:56'::timestamp) - extract(epoch from '2026-08-11 16:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04462 -3.38681)'), GeomFromEWKT('SRID=4674;POINT (-39.044629 -3.386779)'))) / (select extract(epoch from '2026-08-11 16:38:56'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48139, 'SRID=4674;POINT (-39.044673 -3.386724)', '2026-08-11 16:39:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044629 -3.386779)'), GeomFromEWKT('SRID=4674;POINT (-39.044673 -3.386724)'))) / (select extract(epoch from '2026-08-11 16:39:00'::timestamp) - extract(epoch from '2026-08-11 16:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044629 -3.386779)'), GeomFromEWKT('SRID=4674;POINT (-39.044673 -3.386724)'))) / (select extract(epoch from '2026-08-11 16:39:00'::timestamp) - extract(epoch from '2026-08-11 16:38: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'), 48139, 'SRID=4674;POINT (-39.044761 -3.386666)', '2026-08-11 16:39:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044673 -3.386724)'), GeomFromEWKT('SRID=4674;POINT (-39.044761 -3.386666)'))) / (select extract(epoch from '2026-08-11 16:39:06'::timestamp) - extract(epoch from '2026-08-11 16:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044673 -3.386724)'), GeomFromEWKT('SRID=4674;POINT (-39.044761 -3.386666)'))) / (select extract(epoch from '2026-08-11 16:39:06'::timestamp) - extract(epoch from '2026-08-11 16:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.044845 -3.386596)', '2026-08-11 16:39:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044761 -3.386666)'), GeomFromEWKT('SRID=4674;POINT (-39.044845 -3.386596)'))) / (select extract(epoch from '2026-08-11 16:39:12'::timestamp) - extract(epoch from '2026-08-11 16:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044761 -3.386666)'), GeomFromEWKT('SRID=4674;POINT (-39.044845 -3.386596)'))) / (select extract(epoch from '2026-08-11 16:39:12'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48139, 'SRID=4674;POINT (-39.044902 -3.386534)', '2026-08-11 16:39:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044845 -3.386596)'), GeomFromEWKT('SRID=4674;POINT (-39.044902 -3.386534)'))) / (select extract(epoch from '2026-08-11 16:39:17'::timestamp) - extract(epoch from '2026-08-11 16:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044845 -3.386596)'), GeomFromEWKT('SRID=4674;POINT (-39.044902 -3.386534)'))) / (select extract(epoch from '2026-08-11 16:39:17'::timestamp) - extract(epoch from '2026-08-11 16:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.044948 -3.38647)', '2026-08-11 16:39:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044902 -3.386534)'), GeomFromEWKT('SRID=4674;POINT (-39.044948 -3.38647)'))) / (select extract(epoch from '2026-08-11 16:39:22'::timestamp) - extract(epoch from '2026-08-11 16:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044902 -3.386534)'), GeomFromEWKT('SRID=4674;POINT (-39.044948 -3.38647)'))) / (select extract(epoch from '2026-08-11 16:39:22'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48139, 'SRID=4674;POINT (-39.044993 -3.386398)', '2026-08-11 16:39:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044948 -3.38647)'), GeomFromEWKT('SRID=4674;POINT (-39.044993 -3.386398)'))) / (select extract(epoch from '2026-08-11 16:39:27'::timestamp) - extract(epoch from '2026-08-11 16:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044948 -3.38647)'), GeomFromEWKT('SRID=4674;POINT (-39.044993 -3.386398)'))) / (select extract(epoch from '2026-08-11 16:39:27'::timestamp) - extract(epoch from '2026-08-11 16:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.045029 -3.386324)', '2026-08-11 16:39:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044993 -3.386398)'), GeomFromEWKT('SRID=4674;POINT (-39.045029 -3.386324)'))) / (select extract(epoch from '2026-08-11 16:39:32'::timestamp) - extract(epoch from '2026-08-11 16:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044993 -3.386398)'), GeomFromEWKT('SRID=4674;POINT (-39.045029 -3.386324)'))) / (select extract(epoch from '2026-08-11 16:39:32'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48139, 'SRID=4674;POINT (-39.045081 -3.386261)', '2026-08-11 16:39:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045029 -3.386324)'), GeomFromEWKT('SRID=4674;POINT (-39.045081 -3.386261)'))) / (select extract(epoch from '2026-08-11 16:39:37'::timestamp) - extract(epoch from '2026-08-11 16:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045029 -3.386324)'), GeomFromEWKT('SRID=4674;POINT (-39.045081 -3.386261)'))) / (select extract(epoch from '2026-08-11 16:39:37'::timestamp) - extract(epoch from '2026-08-11 16:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.045093 -3.38625)', '2026-08-11 16:39:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045081 -3.386261)'), GeomFromEWKT('SRID=4674;POINT (-39.045093 -3.38625)'))) / (select extract(epoch from '2026-08-11 16:39:38'::timestamp) - extract(epoch from '2026-08-11 16:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045081 -3.386261)'), GeomFromEWKT('SRID=4674;POINT (-39.045093 -3.38625)'))) / (select extract(epoch from '2026-08-11 16:39:38'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48139, 'SRID=4674;POINT (-39.045148 -3.386169)', '2026-08-11 16:39:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045093 -3.38625)'), GeomFromEWKT('SRID=4674;POINT (-39.045148 -3.386169)'))) / (select extract(epoch from '2026-08-11 16:39:44'::timestamp) - extract(epoch from '2026-08-11 16:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045093 -3.38625)'), GeomFromEWKT('SRID=4674;POINT (-39.045148 -3.386169)'))) / (select extract(epoch from '2026-08-11 16:39:44'::timestamp) - extract(epoch from '2026-08-11 16:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.045194 -3.386084)', '2026-08-11 16:39:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045148 -3.386169)'), GeomFromEWKT('SRID=4674;POINT (-39.045194 -3.386084)'))) / (select extract(epoch from '2026-08-11 16:39:50'::timestamp) - extract(epoch from '2026-08-11 16:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045148 -3.386169)'), GeomFromEWKT('SRID=4674;POINT (-39.045194 -3.386084)'))) / (select extract(epoch from '2026-08-11 16:39:50'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48139, 'SRID=4674;POINT (-39.045202 -3.38607)', '2026-08-11 16:39:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045194 -3.386084)'), GeomFromEWKT('SRID=4674;POINT (-39.045202 -3.38607)'))) / (select extract(epoch from '2026-08-11 16:39:51'::timestamp) - extract(epoch from '2026-08-11 16:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045194 -3.386084)'), GeomFromEWKT('SRID=4674;POINT (-39.045202 -3.38607)'))) / (select extract(epoch from '2026-08-11 16:39:51'::timestamp) - extract(epoch from '2026-08-11 16:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.045231 -3.386011)', '2026-08-11 16:39:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045202 -3.38607)'), GeomFromEWKT('SRID=4674;POINT (-39.045231 -3.386011)'))) / (select extract(epoch from '2026-08-11 16:39:55'::timestamp) - extract(epoch from '2026-08-11 16:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045202 -3.38607)'), GeomFromEWKT('SRID=4674;POINT (-39.045231 -3.386011)'))) / (select extract(epoch from '2026-08-11 16:39:55'::timestamp) - extract(epoch from '2026-08-11 16:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.045282 -3.385957)', '2026-08-11 16:39:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045231 -3.386011)'), GeomFromEWKT('SRID=4674;POINT (-39.045282 -3.385957)'))) / (select extract(epoch from '2026-08-11 16:39:59'::timestamp) - extract(epoch from '2026-08-11 16:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045231 -3.386011)'), GeomFromEWKT('SRID=4674;POINT (-39.045282 -3.385957)'))) / (select extract(epoch from '2026-08-11 16:39:59'::timestamp) - extract(epoch from '2026-08-11 16:39: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'), 48139, 'SRID=4674;POINT (-39.045289 -3.385942)', '2026-08-11 16:40:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045282 -3.385957)'), GeomFromEWKT('SRID=4674;POINT (-39.045289 -3.385942)'))) / (select extract(epoch from '2026-08-11 16:40:00'::timestamp) - extract(epoch from '2026-08-11 16:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045282 -3.385957)'), GeomFromEWKT('SRID=4674;POINT (-39.045289 -3.385942)'))) / (select extract(epoch from '2026-08-11 16:40:00'::timestamp) - extract(epoch from '2026-08-11 16:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.045342 -3.385876)', '2026-08-11 16:40:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045289 -3.385942)'), GeomFromEWKT('SRID=4674;POINT (-39.045342 -3.385876)'))) / (select extract(epoch from '2026-08-11 16:40:05'::timestamp) - extract(epoch from '2026-08-11 16:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045289 -3.385942)'), GeomFromEWKT('SRID=4674;POINT (-39.045342 -3.385876)'))) / (select extract(epoch from '2026-08-11 16:40:05'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48139, 'SRID=4674;POINT (-39.045422 -3.385812)', '2026-08-11 16:40:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045342 -3.385876)'), GeomFromEWKT('SRID=4674;POINT (-39.045422 -3.385812)'))) / (select extract(epoch from '2026-08-11 16:40:11'::timestamp) - extract(epoch from '2026-08-11 16:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045342 -3.385876)'), GeomFromEWKT('SRID=4674;POINT (-39.045422 -3.385812)'))) / (select extract(epoch from '2026-08-11 16:40:11'::timestamp) - extract(epoch from '2026-08-11 16:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.045509 -3.385733)', '2026-08-11 16:40:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045422 -3.385812)'), GeomFromEWKT('SRID=4674;POINT (-39.045509 -3.385733)'))) / (select extract(epoch from '2026-08-11 16:40:18'::timestamp) - extract(epoch from '2026-08-11 16:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045422 -3.385812)'), GeomFromEWKT('SRID=4674;POINT (-39.045509 -3.385733)'))) / (select extract(epoch from '2026-08-11 16:40:18'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48139, 'SRID=4674;POINT (-39.045576 -3.385655)', '2026-08-11 16:40:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045509 -3.385733)'), GeomFromEWKT('SRID=4674;POINT (-39.045576 -3.385655)'))) / (select extract(epoch from '2026-08-11 16:40:24'::timestamp) - extract(epoch from '2026-08-11 16:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045509 -3.385733)'), GeomFromEWKT('SRID=4674;POINT (-39.045576 -3.385655)'))) / (select extract(epoch from '2026-08-11 16:40:24'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48139, 'SRID=4674;POINT (-39.045637 -3.385587)', '2026-08-11 16:40:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045576 -3.385655)'), GeomFromEWKT('SRID=4674;POINT (-39.045637 -3.385587)'))) / (select extract(epoch from '2026-08-11 16:40:29'::timestamp) - extract(epoch from '2026-08-11 16:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045576 -3.385655)'), GeomFromEWKT('SRID=4674;POINT (-39.045637 -3.385587)'))) / (select extract(epoch from '2026-08-11 16:40:29'::timestamp) - extract(epoch from '2026-08-11 16:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.045697 -3.385506)', '2026-08-11 16:40:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045637 -3.385587)'), GeomFromEWKT('SRID=4674;POINT (-39.045697 -3.385506)'))) / (select extract(epoch from '2026-08-11 16:40:35'::timestamp) - extract(epoch from '2026-08-11 16:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045637 -3.385587)'), GeomFromEWKT('SRID=4674;POINT (-39.045697 -3.385506)'))) / (select extract(epoch from '2026-08-11 16:40:35'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48139, 'SRID=4674;POINT (-39.04575 -3.385428)', '2026-08-11 16:40:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045697 -3.385506)'), GeomFromEWKT('SRID=4674;POINT (-39.04575 -3.385428)'))) / (select extract(epoch from '2026-08-11 16:40:41'::timestamp) - extract(epoch from '2026-08-11 16:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045697 -3.385506)'), GeomFromEWKT('SRID=4674;POINT (-39.04575 -3.385428)'))) / (select extract(epoch from '2026-08-11 16:40:41'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48139, 'SRID=4674;POINT (-39.045813 -3.385354)', '2026-08-11 16:40:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04575 -3.385428)'), GeomFromEWKT('SRID=4674;POINT (-39.045813 -3.385354)'))) / (select extract(epoch from '2026-08-11 16:40:48'::timestamp) - extract(epoch from '2026-08-11 16:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04575 -3.385428)'), GeomFromEWKT('SRID=4674;POINT (-39.045813 -3.385354)'))) / (select extract(epoch from '2026-08-11 16:40:48'::timestamp) - extract(epoch from '2026-08-11 16:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.045903 -3.385268)', '2026-08-11 16:40:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045813 -3.385354)'), GeomFromEWKT('SRID=4674;POINT (-39.045903 -3.385268)'))) / (select extract(epoch from '2026-08-11 16:40:56'::timestamp) - extract(epoch from '2026-08-11 16:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045813 -3.385354)'), GeomFromEWKT('SRID=4674;POINT (-39.045903 -3.385268)'))) / (select extract(epoch from '2026-08-11 16:40:56'::timestamp) - extract(epoch from '2026-08-11 16:40: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'), 48139, 'SRID=4674;POINT (-39.045972 -3.385197)', '2026-08-11 16:41:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045903 -3.385268)'), GeomFromEWKT('SRID=4674;POINT (-39.045972 -3.385197)'))) / (select extract(epoch from '2026-08-11 16:41:02'::timestamp) - extract(epoch from '2026-08-11 16:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045903 -3.385268)'), GeomFromEWKT('SRID=4674;POINT (-39.045972 -3.385197)'))) / (select extract(epoch from '2026-08-11 16:41:02'::timestamp) - extract(epoch from '2026-08-11 16:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.045988 -3.385187)', '2026-08-11 16:41:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045972 -3.385197)'), GeomFromEWKT('SRID=4674;POINT (-39.045988 -3.385187)'))) / (select extract(epoch from '2026-08-11 16:41:03'::timestamp) - extract(epoch from '2026-08-11 16:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045972 -3.385197)'), GeomFromEWKT('SRID=4674;POINT (-39.045988 -3.385187)'))) / (select extract(epoch from '2026-08-11 16:41:03'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48139, 'SRID=4674;POINT (-39.046032 -3.385154)', '2026-08-11 16:41:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045988 -3.385187)'), GeomFromEWKT('SRID=4674;POINT (-39.046032 -3.385154)'))) / (select extract(epoch from '2026-08-11 16:41:06'::timestamp) - extract(epoch from '2026-08-11 16:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045988 -3.385187)'), GeomFromEWKT('SRID=4674;POINT (-39.046032 -3.385154)'))) / (select extract(epoch from '2026-08-11 16:41:06'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48139, 'SRID=4674;POINT (-39.046064 -3.385122)', '2026-08-11 16:41:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046032 -3.385154)'), GeomFromEWKT('SRID=4674;POINT (-39.046064 -3.385122)'))) / (select extract(epoch from '2026-08-11 16:41:09'::timestamp) - extract(epoch from '2026-08-11 16:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046032 -3.385154)'), GeomFromEWKT('SRID=4674;POINT (-39.046064 -3.385122)'))) / (select extract(epoch from '2026-08-11 16:41:09'::timestamp) - extract(epoch from '2026-08-11 16:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046093 -3.385105)', '2026-08-11 16:41:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046064 -3.385122)'), GeomFromEWKT('SRID=4674;POINT (-39.046093 -3.385105)'))) / (select extract(epoch from '2026-08-11 16:41:11'::timestamp) - extract(epoch from '2026-08-11 16:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046064 -3.385122)'), GeomFromEWKT('SRID=4674;POINT (-39.046093 -3.385105)'))) / (select extract(epoch from '2026-08-11 16:41:11'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48139, 'SRID=4674;POINT (-39.046117 -3.385087)', '2026-08-11 16:41:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046093 -3.385105)'), GeomFromEWKT('SRID=4674;POINT (-39.046117 -3.385087)'))) / (select extract(epoch from '2026-08-11 16:41:13'::timestamp) - extract(epoch from '2026-08-11 16:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046093 -3.385105)'), GeomFromEWKT('SRID=4674;POINT (-39.046117 -3.385087)'))) / (select extract(epoch from '2026-08-11 16:41:13'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48139, 'SRID=4674;POINT (-39.046158 -3.385063)', '2026-08-11 16:41:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046117 -3.385087)'), GeomFromEWKT('SRID=4674;POINT (-39.046158 -3.385063)'))) / (select extract(epoch from '2026-08-11 16:41:16'::timestamp) - extract(epoch from '2026-08-11 16:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046117 -3.385087)'), GeomFromEWKT('SRID=4674;POINT (-39.046158 -3.385063)'))) / (select extract(epoch from '2026-08-11 16:41:16'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48139, 'SRID=4674;POINT (-39.046222 -3.385025)', '2026-08-11 16:41:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046158 -3.385063)'), GeomFromEWKT('SRID=4674;POINT (-39.046222 -3.385025)'))) / (select extract(epoch from '2026-08-11 16:41:21'::timestamp) - extract(epoch from '2026-08-11 16:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046158 -3.385063)'), GeomFromEWKT('SRID=4674;POINT (-39.046222 -3.385025)'))) / (select extract(epoch from '2026-08-11 16:41:21'::timestamp) - extract(epoch from '2026-08-11 16:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046236 -3.385018)', '2026-08-11 16:41:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046222 -3.385025)'), GeomFromEWKT('SRID=4674;POINT (-39.046236 -3.385018)'))) / (select extract(epoch from '2026-08-11 16:41:22'::timestamp) - extract(epoch from '2026-08-11 16:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046222 -3.385025)'), GeomFromEWKT('SRID=4674;POINT (-39.046236 -3.385018)'))) / (select extract(epoch from '2026-08-11 16:41:22'::timestamp) - extract(epoch from '2026-08-11 16:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046287 -3.384981)', '2026-08-11 16:41:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046236 -3.385018)'), GeomFromEWKT('SRID=4674;POINT (-39.046287 -3.384981)'))) / (select extract(epoch from '2026-08-11 16:41:26'::timestamp) - extract(epoch from '2026-08-11 16:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046236 -3.385018)'), GeomFromEWKT('SRID=4674;POINT (-39.046287 -3.384981)'))) / (select extract(epoch from '2026-08-11 16:41:26'::timestamp) - extract(epoch from '2026-08-11 16:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046365 -3.384913)', '2026-08-11 16:41:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046287 -3.384981)'), GeomFromEWKT('SRID=4674;POINT (-39.046365 -3.384913)'))) / (select extract(epoch from '2026-08-11 16:41:33'::timestamp) - extract(epoch from '2026-08-11 16:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046287 -3.384981)'), GeomFromEWKT('SRID=4674;POINT (-39.046365 -3.384913)'))) / (select extract(epoch from '2026-08-11 16:41:33'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48139, 'SRID=4674;POINT (-39.046417 -3.38486)', '2026-08-11 16:41:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046365 -3.384913)'), GeomFromEWKT('SRID=4674;POINT (-39.046417 -3.38486)'))) / (select extract(epoch from '2026-08-11 16:41:38'::timestamp) - extract(epoch from '2026-08-11 16:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046365 -3.384913)'), GeomFromEWKT('SRID=4674;POINT (-39.046417 -3.38486)'))) / (select extract(epoch from '2026-08-11 16:41:38'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48139, 'SRID=4674;POINT (-39.046428 -3.384847)', '2026-08-11 16:41:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046417 -3.38486)'), GeomFromEWKT('SRID=4674;POINT (-39.046428 -3.384847)'))) / (select extract(epoch from '2026-08-11 16:41:39'::timestamp) - extract(epoch from '2026-08-11 16:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046417 -3.38486)'), GeomFromEWKT('SRID=4674;POINT (-39.046428 -3.384847)'))) / (select extract(epoch from '2026-08-11 16:41:39'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48139, 'SRID=4674;POINT (-39.046447 -3.384825)', '2026-08-11 16:41:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046428 -3.384847)'), GeomFromEWKT('SRID=4674;POINT (-39.046447 -3.384825)'))) / (select extract(epoch from '2026-08-11 16:41:41'::timestamp) - extract(epoch from '2026-08-11 16:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046428 -3.384847)'), GeomFromEWKT('SRID=4674;POINT (-39.046447 -3.384825)'))) / (select extract(epoch from '2026-08-11 16:41:41'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48139, 'SRID=4674;POINT (-39.046467 -3.384783)', '2026-08-11 16:41:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046447 -3.384825)'), GeomFromEWKT('SRID=4674;POINT (-39.046467 -3.384783)'))) / (select extract(epoch from '2026-08-11 16:41:44'::timestamp) - extract(epoch from '2026-08-11 16:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046447 -3.384825)'), GeomFromEWKT('SRID=4674;POINT (-39.046467 -3.384783)'))) / (select extract(epoch from '2026-08-11 16:41:44'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48139, 'SRID=4674;POINT (-39.046512 -3.384696)', '2026-08-11 16:41:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046467 -3.384783)'), GeomFromEWKT('SRID=4674;POINT (-39.046512 -3.384696)'))) / (select extract(epoch from '2026-08-11 16:41:50'::timestamp) - extract(epoch from '2026-08-11 16:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046467 -3.384783)'), GeomFromEWKT('SRID=4674;POINT (-39.046512 -3.384696)'))) / (select extract(epoch from '2026-08-11 16:41:50'::timestamp) - extract(epoch from '2026-08-11 16:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046532 -3.384642)', '2026-08-11 16:41:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046512 -3.384696)'), GeomFromEWKT('SRID=4674;POINT (-39.046532 -3.384642)'))) / (select extract(epoch from '2026-08-11 16:41:54'::timestamp) - extract(epoch from '2026-08-11 16:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046512 -3.384696)'), GeomFromEWKT('SRID=4674;POINT (-39.046532 -3.384642)'))) / (select extract(epoch from '2026-08-11 16:41:54'::timestamp) - extract(epoch from '2026-08-11 16:41: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'), 48139, 'SRID=4674;POINT (-39.04654 -3.384614)', '2026-08-11 16:41:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046532 -3.384642)'), GeomFromEWKT('SRID=4674;POINT (-39.04654 -3.384614)'))) / (select extract(epoch from '2026-08-11 16:41:56'::timestamp) - extract(epoch from '2026-08-11 16:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046532 -3.384642)'), GeomFromEWKT('SRID=4674;POINT (-39.04654 -3.384614)'))) / (select extract(epoch from '2026-08-11 16:41:56'::timestamp) - extract(epoch from '2026-08-11 16:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046556 -3.384589)', '2026-08-11 16:41:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04654 -3.384614)'), GeomFromEWKT('SRID=4674;POINT (-39.046556 -3.384589)'))) / (select extract(epoch from '2026-08-11 16:41:58'::timestamp) - extract(epoch from '2026-08-11 16:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04654 -3.384614)'), GeomFromEWKT('SRID=4674;POINT (-39.046556 -3.384589)'))) / (select extract(epoch from '2026-08-11 16:41:58'::timestamp) - extract(epoch from '2026-08-11 16:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046561 -3.384575)', '2026-08-11 16:41:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046556 -3.384589)'), GeomFromEWKT('SRID=4674;POINT (-39.046561 -3.384575)'))) / (select extract(epoch from '2026-08-11 16:41:59'::timestamp) - extract(epoch from '2026-08-11 16:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046556 -3.384589)'), GeomFromEWKT('SRID=4674;POINT (-39.046561 -3.384575)'))) / (select extract(epoch from '2026-08-11 16:41:59'::timestamp) - extract(epoch from '2026-08-11 16:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.04657 -3.384564)', '2026-08-11 16:42:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046561 -3.384575)'), GeomFromEWKT('SRID=4674;POINT (-39.04657 -3.384564)'))) / (select extract(epoch from '2026-08-11 16:42:00'::timestamp) - extract(epoch from '2026-08-11 16:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046561 -3.384575)'), GeomFromEWKT('SRID=4674;POINT (-39.04657 -3.384564)'))) / (select extract(epoch from '2026-08-11 16:42:00'::timestamp) - extract(epoch from '2026-08-11 16:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046603 -3.384522)', '2026-08-11 16:42:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04657 -3.384564)'), GeomFromEWKT('SRID=4674;POINT (-39.046603 -3.384522)'))) / (select extract(epoch from '2026-08-11 16:42:04'::timestamp) - extract(epoch from '2026-08-11 16:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04657 -3.384564)'), GeomFromEWKT('SRID=4674;POINT (-39.046603 -3.384522)'))) / (select extract(epoch from '2026-08-11 16:42:04'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48139, 'SRID=4674;POINT (-39.04666 -3.384441)', '2026-08-11 16:42:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046603 -3.384522)'), GeomFromEWKT('SRID=4674;POINT (-39.04666 -3.384441)'))) / (select extract(epoch from '2026-08-11 16:42:11'::timestamp) - extract(epoch from '2026-08-11 16:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046603 -3.384522)'), GeomFromEWKT('SRID=4674;POINT (-39.04666 -3.384441)'))) / (select extract(epoch from '2026-08-11 16:42:11'::timestamp) - extract(epoch from '2026-08-11 16:42:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046702 -3.384355)', '2026-08-11 16:42:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04666 -3.384441)'), GeomFromEWKT('SRID=4674;POINT (-39.046702 -3.384355)'))) / (select extract(epoch from '2026-08-11 16:42:17'::timestamp) - extract(epoch from '2026-08-11 16:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04666 -3.384441)'), GeomFromEWKT('SRID=4674;POINT (-39.046702 -3.384355)'))) / (select extract(epoch from '2026-08-11 16:42:17'::timestamp) - extract(epoch from '2026-08-11 16:42:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046727 -3.384301)', '2026-08-11 16:42:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046702 -3.384355)'), GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.384301)'))) / (select extract(epoch from '2026-08-11 16:42:21'::timestamp) - extract(epoch from '2026-08-11 16:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046702 -3.384355)'), GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.384301)'))) / (select extract(epoch from '2026-08-11 16:42:21'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48139, 'SRID=4674;POINT (-39.046735 -3.384289)', '2026-08-11 16:42:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.384301)'), GeomFromEWKT('SRID=4674;POINT (-39.046735 -3.384289)'))) / (select extract(epoch from '2026-08-11 16:42:22'::timestamp) - extract(epoch from '2026-08-11 16:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.384301)'), GeomFromEWKT('SRID=4674;POINT (-39.046735 -3.384289)'))) / (select extract(epoch from '2026-08-11 16:42:22'::timestamp) - extract(epoch from '2026-08-11 16:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.04677 -3.384241)', '2026-08-11 16:42:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046735 -3.384289)'), GeomFromEWKT('SRID=4674;POINT (-39.04677 -3.384241)'))) / (select extract(epoch from '2026-08-11 16:42:26'::timestamp) - extract(epoch from '2026-08-11 16:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046735 -3.384289)'), GeomFromEWKT('SRID=4674;POINT (-39.04677 -3.384241)'))) / (select extract(epoch from '2026-08-11 16:42:26'::timestamp) - extract(epoch from '2026-08-11 16:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046776 -3.38423)', '2026-08-11 16:42:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04677 -3.384241)'), GeomFromEWKT('SRID=4674;POINT (-39.046776 -3.38423)'))) / (select extract(epoch from '2026-08-11 16:42:27'::timestamp) - extract(epoch from '2026-08-11 16:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04677 -3.384241)'), GeomFromEWKT('SRID=4674;POINT (-39.046776 -3.38423)'))) / (select extract(epoch from '2026-08-11 16:42:27'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48139, 'SRID=4674;POINT (-39.046823 -3.384148)', '2026-08-11 16:42:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046776 -3.38423)'), GeomFromEWKT('SRID=4674;POINT (-39.046823 -3.384148)'))) / (select extract(epoch from '2026-08-11 16:42:33'::timestamp) - extract(epoch from '2026-08-11 16:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046776 -3.38423)'), GeomFromEWKT('SRID=4674;POINT (-39.046823 -3.384148)'))) / (select extract(epoch from '2026-08-11 16:42:33'::timestamp) - extract(epoch from '2026-08-11 16:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046854 -3.384064)', '2026-08-11 16:42:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046823 -3.384148)'), GeomFromEWKT('SRID=4674;POINT (-39.046854 -3.384064)'))) / (select extract(epoch from '2026-08-11 16:42:39'::timestamp) - extract(epoch from '2026-08-11 16:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046823 -3.384148)'), GeomFromEWKT('SRID=4674;POINT (-39.046854 -3.384064)'))) / (select extract(epoch from '2026-08-11 16:42:39'::timestamp) - extract(epoch from '2026-08-11 16:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046886 -3.383969)', '2026-08-11 16:42:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046854 -3.384064)'), GeomFromEWKT('SRID=4674;POINT (-39.046886 -3.383969)'))) / (select extract(epoch from '2026-08-11 16:42:46'::timestamp) - extract(epoch from '2026-08-11 16:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046854 -3.384064)'), GeomFromEWKT('SRID=4674;POINT (-39.046886 -3.383969)'))) / (select extract(epoch from '2026-08-11 16:42:46'::timestamp) - extract(epoch from '2026-08-11 16:42:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.046911 -3.383902)', '2026-08-11 16:42:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046886 -3.383969)'), GeomFromEWKT('SRID=4674;POINT (-39.046911 -3.383902)'))) / (select extract(epoch from '2026-08-11 16:42:51'::timestamp) - extract(epoch from '2026-08-11 16:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046886 -3.383969)'), GeomFromEWKT('SRID=4674;POINT (-39.046911 -3.383902)'))) / (select extract(epoch from '2026-08-11 16:42:51'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48139, 'SRID=4674;POINT (-39.046944 -3.383835)', '2026-08-11 16:42:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046911 -3.383902)'), GeomFromEWKT('SRID=4674;POINT (-39.046944 -3.383835)'))) / (select extract(epoch from '2026-08-11 16:42:56'::timestamp) - extract(epoch from '2026-08-11 16:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046911 -3.383902)'), GeomFromEWKT('SRID=4674;POINT (-39.046944 -3.383835)'))) / (select extract(epoch from '2026-08-11 16:42:56'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48139, 'SRID=4674;POINT (-39.046967 -3.383811)', '2026-08-11 16:42:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046944 -3.383835)'), GeomFromEWKT('SRID=4674;POINT (-39.046967 -3.383811)'))) / (select extract(epoch from '2026-08-11 16:42:58'::timestamp) - extract(epoch from '2026-08-11 16:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046944 -3.383835)'), GeomFromEWKT('SRID=4674;POINT (-39.046967 -3.383811)'))) / (select extract(epoch from '2026-08-11 16:42:58'::timestamp) - extract(epoch from '2026-08-11 16:42: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'), 48139, 'SRID=4674;POINT (-39.046996 -3.383779)', '2026-08-11 16:43:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046967 -3.383811)'), GeomFromEWKT('SRID=4674;POINT (-39.046996 -3.383779)'))) / (select extract(epoch from '2026-08-11 16:43:01'::timestamp) - extract(epoch from '2026-08-11 16:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046967 -3.383811)'), GeomFromEWKT('SRID=4674;POINT (-39.046996 -3.383779)'))) / (select extract(epoch from '2026-08-11 16:43:01'::timestamp) - extract(epoch from '2026-08-11 16:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.04704 -3.383722)', '2026-08-11 16:43:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046996 -3.383779)'), GeomFromEWKT('SRID=4674;POINT (-39.04704 -3.383722)'))) / (select extract(epoch from '2026-08-11 16:43:06'::timestamp) - extract(epoch from '2026-08-11 16:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046996 -3.383779)'), GeomFromEWKT('SRID=4674;POINT (-39.04704 -3.383722)'))) / (select extract(epoch from '2026-08-11 16:43:06'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047097 -3.383656)', '2026-08-11 16:43:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04704 -3.383722)'), GeomFromEWKT('SRID=4674;POINT (-39.047097 -3.383656)'))) / (select extract(epoch from '2026-08-11 16:43:12'::timestamp) - extract(epoch from '2026-08-11 16:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04704 -3.383722)'), GeomFromEWKT('SRID=4674;POINT (-39.047097 -3.383656)'))) / (select extract(epoch from '2026-08-11 16:43:12'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047115 -3.38363)', '2026-08-11 16:43:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047097 -3.383656)'), GeomFromEWKT('SRID=4674;POINT (-39.047115 -3.38363)'))) / (select extract(epoch from '2026-08-11 16:43:14'::timestamp) - extract(epoch from '2026-08-11 16:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047097 -3.383656)'), GeomFromEWKT('SRID=4674;POINT (-39.047115 -3.38363)'))) / (select extract(epoch from '2026-08-11 16:43:14'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047146 -3.383608)', '2026-08-11 16:43:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047115 -3.38363)'), GeomFromEWKT('SRID=4674;POINT (-39.047146 -3.383608)'))) / (select extract(epoch from '2026-08-11 16:43:16'::timestamp) - extract(epoch from '2026-08-11 16:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047115 -3.38363)'), GeomFromEWKT('SRID=4674;POINT (-39.047146 -3.383608)'))) / (select extract(epoch from '2026-08-11 16:43:16'::timestamp) - extract(epoch from '2026-08-11 16:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047152 -3.383595)', '2026-08-11 16:43:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047146 -3.383608)'), GeomFromEWKT('SRID=4674;POINT (-39.047152 -3.383595)'))) / (select extract(epoch from '2026-08-11 16:43:17'::timestamp) - extract(epoch from '2026-08-11 16:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047146 -3.383608)'), GeomFromEWKT('SRID=4674;POINT (-39.047152 -3.383595)'))) / (select extract(epoch from '2026-08-11 16:43:17'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047165 -3.383568)', '2026-08-11 16:43:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047152 -3.383595)'), GeomFromEWKT('SRID=4674;POINT (-39.047165 -3.383568)'))) / (select extract(epoch from '2026-08-11 16:43:19'::timestamp) - extract(epoch from '2026-08-11 16:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047152 -3.383595)'), GeomFromEWKT('SRID=4674;POINT (-39.047165 -3.383568)'))) / (select extract(epoch from '2026-08-11 16:43:19'::timestamp) - extract(epoch from '2026-08-11 16:43:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047205 -3.383535)', '2026-08-11 16:43:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047165 -3.383568)'), GeomFromEWKT('SRID=4674;POINT (-39.047205 -3.383535)'))) / (select extract(epoch from '2026-08-11 16:43:22'::timestamp) - extract(epoch from '2026-08-11 16:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047165 -3.383568)'), GeomFromEWKT('SRID=4674;POINT (-39.047205 -3.383535)'))) / (select extract(epoch from '2026-08-11 16:43:22'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047224 -3.383511)', '2026-08-11 16:43:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047205 -3.383535)'), GeomFromEWKT('SRID=4674;POINT (-39.047224 -3.383511)'))) / (select extract(epoch from '2026-08-11 16:43:24'::timestamp) - extract(epoch from '2026-08-11 16:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047205 -3.383535)'), GeomFromEWKT('SRID=4674;POINT (-39.047224 -3.383511)'))) / (select extract(epoch from '2026-08-11 16:43:24'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047275 -3.383468)', '2026-08-11 16:43:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047224 -3.383511)'), GeomFromEWKT('SRID=4674;POINT (-39.047275 -3.383468)'))) / (select extract(epoch from '2026-08-11 16:43:28'::timestamp) - extract(epoch from '2026-08-11 16:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047224 -3.383511)'), GeomFromEWKT('SRID=4674;POINT (-39.047275 -3.383468)'))) / (select extract(epoch from '2026-08-11 16:43:28'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047339 -3.383385)', '2026-08-11 16:43:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047275 -3.383468)'), GeomFromEWKT('SRID=4674;POINT (-39.047339 -3.383385)'))) / (select extract(epoch from '2026-08-11 16:43:35'::timestamp) - extract(epoch from '2026-08-11 16:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047275 -3.383468)'), GeomFromEWKT('SRID=4674;POINT (-39.047339 -3.383385)'))) / (select extract(epoch from '2026-08-11 16:43:35'::timestamp) - extract(epoch from '2026-08-11 16:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047377 -3.383306)', '2026-08-11 16:43:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047339 -3.383385)'), GeomFromEWKT('SRID=4674;POINT (-39.047377 -3.383306)'))) / (select extract(epoch from '2026-08-11 16:43:41'::timestamp) - extract(epoch from '2026-08-11 16:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047339 -3.383385)'), GeomFromEWKT('SRID=4674;POINT (-39.047377 -3.383306)'))) / (select extract(epoch from '2026-08-11 16:43:41'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047402 -3.38326)', '2026-08-11 16:43:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047377 -3.383306)'), GeomFromEWKT('SRID=4674;POINT (-39.047402 -3.38326)'))) / (select extract(epoch from '2026-08-11 16:43:45'::timestamp) - extract(epoch from '2026-08-11 16:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047377 -3.383306)'), GeomFromEWKT('SRID=4674;POINT (-39.047402 -3.38326)'))) / (select extract(epoch from '2026-08-11 16:43:45'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.04742 -3.383239)', '2026-08-11 16:43:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047402 -3.38326)'), GeomFromEWKT('SRID=4674;POINT (-39.04742 -3.383239)'))) / (select extract(epoch from '2026-08-11 16:43:47'::timestamp) - extract(epoch from '2026-08-11 16:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047402 -3.38326)'), GeomFromEWKT('SRID=4674;POINT (-39.04742 -3.383239)'))) / (select extract(epoch from '2026-08-11 16:43:47'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047439 -3.38322)', '2026-08-11 16:43:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04742 -3.383239)'), GeomFromEWKT('SRID=4674;POINT (-39.047439 -3.38322)'))) / (select extract(epoch from '2026-08-11 16:43:49'::timestamp) - extract(epoch from '2026-08-11 16:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04742 -3.383239)'), GeomFromEWKT('SRID=4674;POINT (-39.047439 -3.38322)'))) / (select extract(epoch from '2026-08-11 16:43:49'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047452 -3.3832)', '2026-08-11 16:43:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047439 -3.38322)'), GeomFromEWKT('SRID=4674;POINT (-39.047452 -3.3832)'))) / (select extract(epoch from '2026-08-11 16:43:51'::timestamp) - extract(epoch from '2026-08-11 16:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047439 -3.38322)'), GeomFromEWKT('SRID=4674;POINT (-39.047452 -3.3832)'))) / (select extract(epoch from '2026-08-11 16:43:51'::timestamp) - extract(epoch from '2026-08-11 16:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047503 -3.383152)', '2026-08-11 16:43:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047452 -3.3832)'), GeomFromEWKT('SRID=4674;POINT (-39.047503 -3.383152)'))) / (select extract(epoch from '2026-08-11 16:43:56'::timestamp) - extract(epoch from '2026-08-11 16:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047452 -3.3832)'), GeomFromEWKT('SRID=4674;POINT (-39.047503 -3.383152)'))) / (select extract(epoch from '2026-08-11 16:43:56'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047512 -3.383144)', '2026-08-11 16:43:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047503 -3.383152)'), GeomFromEWKT('SRID=4674;POINT (-39.047512 -3.383144)'))) / (select extract(epoch from '2026-08-11 16:43:57'::timestamp) - extract(epoch from '2026-08-11 16:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047503 -3.383152)'), GeomFromEWKT('SRID=4674;POINT (-39.047512 -3.383144)'))) / (select extract(epoch from '2026-08-11 16:43:57'::timestamp) - extract(epoch from '2026-08-11 16:43:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047546 -3.383118)', '2026-08-11 16:44:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047512 -3.383144)'), GeomFromEWKT('SRID=4674;POINT (-39.047546 -3.383118)'))) / (select extract(epoch from '2026-08-11 16:44:00'::timestamp) - extract(epoch from '2026-08-11 16:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047512 -3.383144)'), GeomFromEWKT('SRID=4674;POINT (-39.047546 -3.383118)'))) / (select extract(epoch from '2026-08-11 16:44:00'::timestamp) - extract(epoch from '2026-08-11 16:43: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'), 48139, 'SRID=4674;POINT (-39.047551 -3.383108)', '2026-08-11 16:44:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047546 -3.383118)'), GeomFromEWKT('SRID=4674;POINT (-39.047551 -3.383108)'))) / (select extract(epoch from '2026-08-11 16:44:01'::timestamp) - extract(epoch from '2026-08-11 16:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047546 -3.383118)'), GeomFromEWKT('SRID=4674;POINT (-39.047551 -3.383108)'))) / (select extract(epoch from '2026-08-11 16:44:01'::timestamp) - extract(epoch from '2026-08-11 16:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047558 -3.383097)', '2026-08-11 16:44:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047551 -3.383108)'), GeomFromEWKT('SRID=4674;POINT (-39.047558 -3.383097)'))) / (select extract(epoch from '2026-08-11 16:44:02'::timestamp) - extract(epoch from '2026-08-11 16:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047551 -3.383108)'), GeomFromEWKT('SRID=4674;POINT (-39.047558 -3.383097)'))) / (select extract(epoch from '2026-08-11 16:44:02'::timestamp) - extract(epoch from '2026-08-11 16:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047593 -3.383068)', '2026-08-11 16:44:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047558 -3.383097)'), GeomFromEWKT('SRID=4674;POINT (-39.047593 -3.383068)'))) / (select extract(epoch from '2026-08-11 16:44:05'::timestamp) - extract(epoch from '2026-08-11 16:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047558 -3.383097)'), GeomFromEWKT('SRID=4674;POINT (-39.047593 -3.383068)'))) / (select extract(epoch from '2026-08-11 16:44:05'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047609 -3.38305)', '2026-08-11 16:44:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047593 -3.383068)'), GeomFromEWKT('SRID=4674;POINT (-39.047609 -3.38305)'))) / (select extract(epoch from '2026-08-11 16:44:07'::timestamp) - extract(epoch from '2026-08-11 16:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047593 -3.383068)'), GeomFromEWKT('SRID=4674;POINT (-39.047609 -3.38305)'))) / (select extract(epoch from '2026-08-11 16:44:07'::timestamp) - extract(epoch from '2026-08-11 16:44:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047638 -3.383027)', '2026-08-11 16:44:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047609 -3.38305)'), GeomFromEWKT('SRID=4674;POINT (-39.047638 -3.383027)'))) / (select extract(epoch from '2026-08-11 16:44:10'::timestamp) - extract(epoch from '2026-08-11 16:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047609 -3.38305)'), GeomFromEWKT('SRID=4674;POINT (-39.047638 -3.383027)'))) / (select extract(epoch from '2026-08-11 16:44:10'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047644 -3.383017)', '2026-08-11 16:44:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047638 -3.383027)'), GeomFromEWKT('SRID=4674;POINT (-39.047644 -3.383017)'))) / (select extract(epoch from '2026-08-11 16:44:11'::timestamp) - extract(epoch from '2026-08-11 16:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047638 -3.383027)'), GeomFromEWKT('SRID=4674;POINT (-39.047644 -3.383017)'))) / (select extract(epoch from '2026-08-11 16:44:11'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047654 -3.383009)', '2026-08-11 16:44:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047644 -3.383017)'), GeomFromEWKT('SRID=4674;POINT (-39.047654 -3.383009)'))) / (select extract(epoch from '2026-08-11 16:44:12'::timestamp) - extract(epoch from '2026-08-11 16:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047644 -3.383017)'), GeomFromEWKT('SRID=4674;POINT (-39.047654 -3.383009)'))) / (select extract(epoch from '2026-08-11 16:44:12'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047676 -3.382993)', '2026-08-11 16:44:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047654 -3.383009)'), GeomFromEWKT('SRID=4674;POINT (-39.047676 -3.382993)'))) / (select extract(epoch from '2026-08-11 16:44:14'::timestamp) - extract(epoch from '2026-08-11 16:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047654 -3.383009)'), GeomFromEWKT('SRID=4674;POINT (-39.047676 -3.382993)'))) / (select extract(epoch from '2026-08-11 16:44:14'::timestamp) - extract(epoch from '2026-08-11 16:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047697 -3.382984)', '2026-08-11 16:44:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047676 -3.382993)'), GeomFromEWKT('SRID=4674;POINT (-39.047697 -3.382984)'))) / (select extract(epoch from '2026-08-11 16:44:16'::timestamp) - extract(epoch from '2026-08-11 16:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047676 -3.382993)'), GeomFromEWKT('SRID=4674;POINT (-39.047697 -3.382984)'))) / (select extract(epoch from '2026-08-11 16:44:16'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047705 -3.382977)', '2026-08-11 16:44:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047697 -3.382984)'), GeomFromEWKT('SRID=4674;POINT (-39.047705 -3.382977)'))) / (select extract(epoch from '2026-08-11 16:44:17'::timestamp) - extract(epoch from '2026-08-11 16:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047697 -3.382984)'), GeomFromEWKT('SRID=4674;POINT (-39.047705 -3.382977)'))) / (select extract(epoch from '2026-08-11 16:44:17'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047716 -3.382958)', '2026-08-11 16:44:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047705 -3.382977)'), GeomFromEWKT('SRID=4674;POINT (-39.047716 -3.382958)'))) / (select extract(epoch from '2026-08-11 16:44:19'::timestamp) - extract(epoch from '2026-08-11 16:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047705 -3.382977)'), GeomFromEWKT('SRID=4674;POINT (-39.047716 -3.382958)'))) / (select extract(epoch from '2026-08-11 16:44:19'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047733 -3.382947)', '2026-08-11 16:44:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047716 -3.382958)'), GeomFromEWKT('SRID=4674;POINT (-39.047733 -3.382947)'))) / (select extract(epoch from '2026-08-11 16:44:20'::timestamp) - extract(epoch from '2026-08-11 16:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047716 -3.382958)'), GeomFromEWKT('SRID=4674;POINT (-39.047733 -3.382947)'))) / (select extract(epoch from '2026-08-11 16:44:20'::timestamp) - extract(epoch from '2026-08-11 16:44:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047746 -3.382925)', '2026-08-11 16:44:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047733 -3.382947)'), GeomFromEWKT('SRID=4674;POINT (-39.047746 -3.382925)'))) / (select extract(epoch from '2026-08-11 16:44:22'::timestamp) - extract(epoch from '2026-08-11 16:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047733 -3.382947)'), GeomFromEWKT('SRID=4674;POINT (-39.047746 -3.382925)'))) / (select extract(epoch from '2026-08-11 16:44:22'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047755 -3.382901)', '2026-08-11 16:44:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047746 -3.382925)'), GeomFromEWKT('SRID=4674;POINT (-39.047755 -3.382901)'))) / (select extract(epoch from '2026-08-11 16:44:24'::timestamp) - extract(epoch from '2026-08-11 16:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047746 -3.382925)'), GeomFromEWKT('SRID=4674;POINT (-39.047755 -3.382901)'))) / (select extract(epoch from '2026-08-11 16:44:24'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047798 -3.382834)', '2026-08-11 16:44:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047755 -3.382901)'), GeomFromEWKT('SRID=4674;POINT (-39.047798 -3.382834)'))) / (select extract(epoch from '2026-08-11 16:44:30'::timestamp) - extract(epoch from '2026-08-11 16:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047755 -3.382901)'), GeomFromEWKT('SRID=4674;POINT (-39.047798 -3.382834)'))) / (select extract(epoch from '2026-08-11 16:44:30'::timestamp) - extract(epoch from '2026-08-11 16:44:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047823 -3.382795)', '2026-08-11 16:44:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047798 -3.382834)'), GeomFromEWKT('SRID=4674;POINT (-39.047823 -3.382795)'))) / (select extract(epoch from '2026-08-11 16:44:33'::timestamp) - extract(epoch from '2026-08-11 16:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047798 -3.382834)'), GeomFromEWKT('SRID=4674;POINT (-39.047823 -3.382795)'))) / (select extract(epoch from '2026-08-11 16:44:33'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.04784 -3.382757)', '2026-08-11 16:44:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047823 -3.382795)'), GeomFromEWKT('SRID=4674;POINT (-39.04784 -3.382757)'))) / (select extract(epoch from '2026-08-11 16:44:36'::timestamp) - extract(epoch from '2026-08-11 16:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047823 -3.382795)'), GeomFromEWKT('SRID=4674;POINT (-39.04784 -3.382757)'))) / (select extract(epoch from '2026-08-11 16:44:36'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047866 -3.38272)', '2026-08-11 16:44:39', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04784 -3.382757)'), GeomFromEWKT('SRID=4674;POINT (-39.047866 -3.38272)'))) / (select extract(epoch from '2026-08-11 16:44:39'::timestamp) - extract(epoch from '2026-08-11 16:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04784 -3.382757)'), GeomFromEWKT('SRID=4674;POINT (-39.047866 -3.38272)'))) / (select extract(epoch from '2026-08-11 16:44:39'::timestamp) - extract(epoch from '2026-08-11 16:44:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.047886 -3.382701)', '2026-08-11 16:44:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047866 -3.38272)'), GeomFromEWKT('SRID=4674;POINT (-39.047886 -3.382701)'))) / (select extract(epoch from '2026-08-11 16:44:41'::timestamp) - extract(epoch from '2026-08-11 16:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047866 -3.38272)'), GeomFromEWKT('SRID=4674;POINT (-39.047886 -3.382701)'))) / (select extract(epoch from '2026-08-11 16:44:41'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047925 -3.382659)', '2026-08-11 16:44:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047886 -3.382701)'), GeomFromEWKT('SRID=4674;POINT (-39.047925 -3.382659)'))) / (select extract(epoch from '2026-08-11 16:44:46'::timestamp) - extract(epoch from '2026-08-11 16:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047886 -3.382701)'), GeomFromEWKT('SRID=4674;POINT (-39.047925 -3.382659)'))) / (select extract(epoch from '2026-08-11 16:44:46'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047945 -3.382642)', '2026-08-11 16:44:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047925 -3.382659)'), GeomFromEWKT('SRID=4674;POINT (-39.047945 -3.382642)'))) / (select extract(epoch from '2026-08-11 16:44:48'::timestamp) - extract(epoch from '2026-08-11 16:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047925 -3.382659)'), GeomFromEWKT('SRID=4674;POINT (-39.047945 -3.382642)'))) / (select extract(epoch from '2026-08-11 16:44:48'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047965 -3.38262)', '2026-08-11 16:44:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047945 -3.382642)'), GeomFromEWKT('SRID=4674;POINT (-39.047965 -3.38262)'))) / (select extract(epoch from '2026-08-11 16:44:50'::timestamp) - extract(epoch from '2026-08-11 16:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047945 -3.382642)'), GeomFromEWKT('SRID=4674;POINT (-39.047965 -3.38262)'))) / (select extract(epoch from '2026-08-11 16:44:50'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.047997 -3.382589)', '2026-08-11 16:44:53', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047965 -3.38262)'), GeomFromEWKT('SRID=4674;POINT (-39.047997 -3.382589)'))) / (select extract(epoch from '2026-08-11 16:44:53'::timestamp) - extract(epoch from '2026-08-11 16:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047965 -3.38262)'), GeomFromEWKT('SRID=4674;POINT (-39.047997 -3.382589)'))) / (select extract(epoch from '2026-08-11 16:44:53'::timestamp) - extract(epoch from '2026-08-11 16:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048018 -3.382561)', '2026-08-11 16:44:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047997 -3.382589)'), GeomFromEWKT('SRID=4674;POINT (-39.048018 -3.382561)'))) / (select extract(epoch from '2026-08-11 16:44:56'::timestamp) - extract(epoch from '2026-08-11 16:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047997 -3.382589)'), GeomFromEWKT('SRID=4674;POINT (-39.048018 -3.382561)'))) / (select extract(epoch from '2026-08-11 16:44:56'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.048056 -3.382536)', '2026-08-11 16:44:59', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048018 -3.382561)'), GeomFromEWKT('SRID=4674;POINT (-39.048056 -3.382536)'))) / (select extract(epoch from '2026-08-11 16:44:59'::timestamp) - extract(epoch from '2026-08-11 16:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048018 -3.382561)'), GeomFromEWKT('SRID=4674;POINT (-39.048056 -3.382536)'))) / (select extract(epoch from '2026-08-11 16:44:59'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.048059 -3.382524)', '2026-08-11 16:45:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048056 -3.382536)'), GeomFromEWKT('SRID=4674;POINT (-39.048059 -3.382524)'))) / (select extract(epoch from '2026-08-11 16:45:00'::timestamp) - extract(epoch from '2026-08-11 16:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048056 -3.382536)'), GeomFromEWKT('SRID=4674;POINT (-39.048059 -3.382524)'))) / (select extract(epoch from '2026-08-11 16:45:00'::timestamp) - extract(epoch from '2026-08-11 16:44: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'), 48139, 'SRID=4674;POINT (-39.048073 -3.382503)', '2026-08-11 16:45:02', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048059 -3.382524)'), GeomFromEWKT('SRID=4674;POINT (-39.048073 -3.382503)'))) / (select extract(epoch from '2026-08-11 16:45:02'::timestamp) - extract(epoch from '2026-08-11 16:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048059 -3.382524)'), GeomFromEWKT('SRID=4674;POINT (-39.048073 -3.382503)'))) / (select extract(epoch from '2026-08-11 16:45:02'::timestamp) - extract(epoch from '2026-08-11 16:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048097 -3.38248)', '2026-08-11 16:45:04', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048073 -3.382503)'), GeomFromEWKT('SRID=4674;POINT (-39.048097 -3.38248)'))) / (select extract(epoch from '2026-08-11 16:45:04'::timestamp) - extract(epoch from '2026-08-11 16:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048073 -3.382503)'), GeomFromEWKT('SRID=4674;POINT (-39.048097 -3.38248)'))) / (select extract(epoch from '2026-08-11 16:45:04'::timestamp) - extract(epoch from '2026-08-11 16:45:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.04816 -3.382401)', '2026-08-11 16:45:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048097 -3.38248)'), GeomFromEWKT('SRID=4674;POINT (-39.04816 -3.382401)'))) / (select extract(epoch from '2026-08-11 16:45:11'::timestamp) - extract(epoch from '2026-08-11 16:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048097 -3.38248)'), GeomFromEWKT('SRID=4674;POINT (-39.04816 -3.382401)'))) / (select extract(epoch from '2026-08-11 16:45:11'::timestamp) - extract(epoch from '2026-08-11 16:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048198 -3.382337)', '2026-08-11 16:45:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04816 -3.382401)'), GeomFromEWKT('SRID=4674;POINT (-39.048198 -3.382337)'))) / (select extract(epoch from '2026-08-11 16:45:16'::timestamp) - extract(epoch from '2026-08-11 16:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04816 -3.382401)'), GeomFromEWKT('SRID=4674;POINT (-39.048198 -3.382337)'))) / (select extract(epoch from '2026-08-11 16:45:16'::timestamp) - extract(epoch from '2026-08-11 16:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048206 -3.382316)', '2026-08-11 16:45:18', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048198 -3.382337)'), GeomFromEWKT('SRID=4674;POINT (-39.048206 -3.382316)'))) / (select extract(epoch from '2026-08-11 16:45:18'::timestamp) - extract(epoch from '2026-08-11 16:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048198 -3.382337)'), GeomFromEWKT('SRID=4674;POINT (-39.048206 -3.382316)'))) / (select extract(epoch from '2026-08-11 16:45:18'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48139, 'SRID=4674;POINT (-39.048228 -3.382283)', '2026-08-11 16:45:21', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048206 -3.382316)'), GeomFromEWKT('SRID=4674;POINT (-39.048228 -3.382283)'))) / (select extract(epoch from '2026-08-11 16:45:21'::timestamp) - extract(epoch from '2026-08-11 16:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048206 -3.382316)'), GeomFromEWKT('SRID=4674;POINT (-39.048228 -3.382283)'))) / (select extract(epoch from '2026-08-11 16:45:21'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48139, 'SRID=4674;POINT (-39.048254 -3.382249)', '2026-08-11 16:45:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048228 -3.382283)'), GeomFromEWKT('SRID=4674;POINT (-39.048254 -3.382249)'))) / (select extract(epoch from '2026-08-11 16:45:24'::timestamp) - extract(epoch from '2026-08-11 16:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048228 -3.382283)'), GeomFromEWKT('SRID=4674;POINT (-39.048254 -3.382249)'))) / (select extract(epoch from '2026-08-11 16:45:24'::timestamp) - extract(epoch from '2026-08-11 16:45:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048257 -3.382235)', '2026-08-11 16:45:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048254 -3.382249)'), GeomFromEWKT('SRID=4674;POINT (-39.048257 -3.382235)'))) / (select extract(epoch from '2026-08-11 16:45:25'::timestamp) - extract(epoch from '2026-08-11 16:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048254 -3.382249)'), GeomFromEWKT('SRID=4674;POINT (-39.048257 -3.382235)'))) / (select extract(epoch from '2026-08-11 16:45:25'::timestamp) - extract(epoch from '2026-08-11 16:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048268 -3.382222)', '2026-08-11 16:45:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048257 -3.382235)'), GeomFromEWKT('SRID=4674;POINT (-39.048268 -3.382222)'))) / (select extract(epoch from '2026-08-11 16:45:26'::timestamp) - extract(epoch from '2026-08-11 16:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048257 -3.382235)'), GeomFromEWKT('SRID=4674;POINT (-39.048268 -3.382222)'))) / (select extract(epoch from '2026-08-11 16:45:26'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48139, 'SRID=4674;POINT (-39.048286 -3.382201)', '2026-08-11 16:45:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048268 -3.382222)'), GeomFromEWKT('SRID=4674;POINT (-39.048286 -3.382201)'))) / (select extract(epoch from '2026-08-11 16:45:28'::timestamp) - extract(epoch from '2026-08-11 16:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048268 -3.382222)'), GeomFromEWKT('SRID=4674;POINT (-39.048286 -3.382201)'))) / (select extract(epoch from '2026-08-11 16:45:28'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48139, 'SRID=4674;POINT (-39.048291 -3.382186)', '2026-08-11 16:45:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048286 -3.382201)'), GeomFromEWKT('SRID=4674;POINT (-39.048291 -3.382186)'))) / (select extract(epoch from '2026-08-11 16:45:29'::timestamp) - extract(epoch from '2026-08-11 16:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048286 -3.382201)'), GeomFromEWKT('SRID=4674;POINT (-39.048291 -3.382186)'))) / (select extract(epoch from '2026-08-11 16:45:29'::timestamp) - extract(epoch from '2026-08-11 16:45:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048318 -3.382135)', '2026-08-11 16:45:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048291 -3.382186)'), GeomFromEWKT('SRID=4674;POINT (-39.048318 -3.382135)'))) / (select extract(epoch from '2026-08-11 16:45:34'::timestamp) - extract(epoch from '2026-08-11 16:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048291 -3.382186)'), GeomFromEWKT('SRID=4674;POINT (-39.048318 -3.382135)'))) / (select extract(epoch from '2026-08-11 16:45:34'::timestamp) - extract(epoch from '2026-08-11 16:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048324 -3.382127)', '2026-08-11 16:45:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048318 -3.382135)'), GeomFromEWKT('SRID=4674;POINT (-39.048324 -3.382127)'))) / (select extract(epoch from '2026-08-11 16:45:35'::timestamp) - extract(epoch from '2026-08-11 16:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048318 -3.382135)'), GeomFromEWKT('SRID=4674;POINT (-39.048324 -3.382127)'))) / (select extract(epoch from '2026-08-11 16:45:35'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48139, 'SRID=4674;POINT (-39.048352 -3.38207)', '2026-08-11 16:45:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048324 -3.382127)'), GeomFromEWKT('SRID=4674;POINT (-39.048352 -3.38207)'))) / (select extract(epoch from '2026-08-11 16:45:40'::timestamp) - extract(epoch from '2026-08-11 16:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048324 -3.382127)'), GeomFromEWKT('SRID=4674;POINT (-39.048352 -3.38207)'))) / (select extract(epoch from '2026-08-11 16:45:40'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48139, 'SRID=4674;POINT (-39.048366 -3.382049)', '2026-08-11 16:45:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048352 -3.38207)'), GeomFromEWKT('SRID=4674;POINT (-39.048366 -3.382049)'))) / (select extract(epoch from '2026-08-11 16:45:42'::timestamp) - extract(epoch from '2026-08-11 16:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048352 -3.38207)'), GeomFromEWKT('SRID=4674;POINT (-39.048366 -3.382049)'))) / (select extract(epoch from '2026-08-11 16:45:42'::timestamp) - extract(epoch from '2026-08-11 16:45:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048385 -3.382018)', '2026-08-11 16:45:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048366 -3.382049)'), GeomFromEWKT('SRID=4674;POINT (-39.048385 -3.382018)'))) / (select extract(epoch from '2026-08-11 16:45:45'::timestamp) - extract(epoch from '2026-08-11 16:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048366 -3.382049)'), GeomFromEWKT('SRID=4674;POINT (-39.048385 -3.382018)'))) / (select extract(epoch from '2026-08-11 16:45:45'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48139, 'SRID=4674;POINT (-39.048423 -3.381954)', '2026-08-11 16:45:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048385 -3.382018)'), GeomFromEWKT('SRID=4674;POINT (-39.048423 -3.381954)'))) / (select extract(epoch from '2026-08-11 16:45:50'::timestamp) - extract(epoch from '2026-08-11 16:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048385 -3.382018)'), GeomFromEWKT('SRID=4674;POINT (-39.048423 -3.381954)'))) / (select extract(epoch from '2026-08-11 16:45:50'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48139, 'SRID=4674;POINT (-39.048427 -3.381944)', '2026-08-11 16:45:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048423 -3.381954)'), GeomFromEWKT('SRID=4674;POINT (-39.048427 -3.381944)'))) / (select extract(epoch from '2026-08-11 16:45:51'::timestamp) - extract(epoch from '2026-08-11 16:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048423 -3.381954)'), GeomFromEWKT('SRID=4674;POINT (-39.048427 -3.381944)'))) / (select extract(epoch from '2026-08-11 16:45:51'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48139, 'SRID=4674;POINT (-39.048468 -3.381878)', '2026-08-11 16:45:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048427 -3.381944)'), GeomFromEWKT('SRID=4674;POINT (-39.048468 -3.381878)'))) / (select extract(epoch from '2026-08-11 16:45:57'::timestamp) - extract(epoch from '2026-08-11 16:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048427 -3.381944)'), GeomFromEWKT('SRID=4674;POINT (-39.048468 -3.381878)'))) / (select extract(epoch from '2026-08-11 16:45:57'::timestamp) - extract(epoch from '2026-08-11 16:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048479 -3.381849)', '2026-08-11 16:45:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048468 -3.381878)'), GeomFromEWKT('SRID=4674;POINT (-39.048479 -3.381849)'))) / (select extract(epoch from '2026-08-11 16:45:59'::timestamp) - extract(epoch from '2026-08-11 16:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048468 -3.381878)'), GeomFromEWKT('SRID=4674;POINT (-39.048479 -3.381849)'))) / (select extract(epoch from '2026-08-11 16:45:59'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48139, 'SRID=4674;POINT (-39.048508 -3.38183)', '2026-08-11 16:46:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048479 -3.381849)'), GeomFromEWKT('SRID=4674;POINT (-39.048508 -3.38183)'))) / (select extract(epoch from '2026-08-11 16:46:02'::timestamp) - extract(epoch from '2026-08-11 16:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048479 -3.381849)'), GeomFromEWKT('SRID=4674;POINT (-39.048508 -3.38183)'))) / (select extract(epoch from '2026-08-11 16:46:02'::timestamp) - extract(epoch from '2026-08-11 16:45: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'), 48139, 'SRID=4674;POINT (-39.048521 -3.381809)', '2026-08-11 16:46:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048508 -3.38183)'), GeomFromEWKT('SRID=4674;POINT (-39.048521 -3.381809)'))) / (select extract(epoch from '2026-08-11 16:46:04'::timestamp) - extract(epoch from '2026-08-11 16:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048508 -3.38183)'), GeomFromEWKT('SRID=4674;POINT (-39.048521 -3.381809)'))) / (select extract(epoch from '2026-08-11 16:46:04'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.04854 -3.381776)', '2026-08-11 16:46:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048521 -3.381809)'), GeomFromEWKT('SRID=4674;POINT (-39.04854 -3.381776)'))) / (select extract(epoch from '2026-08-11 16:46:07'::timestamp) - extract(epoch from '2026-08-11 16:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048521 -3.381809)'), GeomFromEWKT('SRID=4674;POINT (-39.04854 -3.381776)'))) / (select extract(epoch from '2026-08-11 16:46:07'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.04855 -3.381753)', '2026-08-11 16:46:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04854 -3.381776)'), GeomFromEWKT('SRID=4674;POINT (-39.04855 -3.381753)'))) / (select extract(epoch from '2026-08-11 16:46:09'::timestamp) - extract(epoch from '2026-08-11 16:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04854 -3.381776)'), GeomFromEWKT('SRID=4674;POINT (-39.04855 -3.381753)'))) / (select extract(epoch from '2026-08-11 16:46:09'::timestamp) - extract(epoch from '2026-08-11 16:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048572 -3.381722)', '2026-08-11 16:46:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04855 -3.381753)'), GeomFromEWKT('SRID=4674;POINT (-39.048572 -3.381722)'))) / (select extract(epoch from '2026-08-11 16:46:12'::timestamp) - extract(epoch from '2026-08-11 16:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04855 -3.381753)'), GeomFromEWKT('SRID=4674;POINT (-39.048572 -3.381722)'))) / (select extract(epoch from '2026-08-11 16:46:12'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048599 -3.381655)', '2026-08-11 16:46:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048572 -3.381722)'), GeomFromEWKT('SRID=4674;POINT (-39.048599 -3.381655)'))) / (select extract(epoch from '2026-08-11 16:46:18'::timestamp) - extract(epoch from '2026-08-11 16:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048572 -3.381722)'), GeomFromEWKT('SRID=4674;POINT (-39.048599 -3.381655)'))) / (select extract(epoch from '2026-08-11 16:46:18'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.04861 -3.381643)', '2026-08-11 16:46:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048599 -3.381655)'), GeomFromEWKT('SRID=4674;POINT (-39.04861 -3.381643)'))) / (select extract(epoch from '2026-08-11 16:46:19'::timestamp) - extract(epoch from '2026-08-11 16:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048599 -3.381655)'), GeomFromEWKT('SRID=4674;POINT (-39.04861 -3.381643)'))) / (select extract(epoch from '2026-08-11 16:46:19'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048625 -3.381622)', '2026-08-11 16:46:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04861 -3.381643)'), GeomFromEWKT('SRID=4674;POINT (-39.048625 -3.381622)'))) / (select extract(epoch from '2026-08-11 16:46:21'::timestamp) - extract(epoch from '2026-08-11 16:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04861 -3.381643)'), GeomFromEWKT('SRID=4674;POINT (-39.048625 -3.381622)'))) / (select extract(epoch from '2026-08-11 16:46:21'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048628 -3.381601)', '2026-08-11 16:46:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048625 -3.381622)'), GeomFromEWKT('SRID=4674;POINT (-39.048628 -3.381601)'))) / (select extract(epoch from '2026-08-11 16:46:23'::timestamp) - extract(epoch from '2026-08-11 16:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048625 -3.381622)'), GeomFromEWKT('SRID=4674;POINT (-39.048628 -3.381601)'))) / (select extract(epoch from '2026-08-11 16:46:23'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048631 -3.38159)', '2026-08-11 16:46:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048628 -3.381601)'), GeomFromEWKT('SRID=4674;POINT (-39.048631 -3.38159)'))) / (select extract(epoch from '2026-08-11 16:46:24'::timestamp) - extract(epoch from '2026-08-11 16:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048628 -3.381601)'), GeomFromEWKT('SRID=4674;POINT (-39.048631 -3.38159)'))) / (select extract(epoch from '2026-08-11 16:46:24'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048638 -3.381581)', '2026-08-11 16:46:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048631 -3.38159)'), GeomFromEWKT('SRID=4674;POINT (-39.048638 -3.381581)'))) / (select extract(epoch from '2026-08-11 16:46:25'::timestamp) - extract(epoch from '2026-08-11 16:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048631 -3.38159)'), GeomFromEWKT('SRID=4674;POINT (-39.048638 -3.381581)'))) / (select extract(epoch from '2026-08-11 16:46:25'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048656 -3.381547)', '2026-08-11 16:46:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048638 -3.381581)'), GeomFromEWKT('SRID=4674;POINT (-39.048656 -3.381547)'))) / (select extract(epoch from '2026-08-11 16:46:29'::timestamp) - extract(epoch from '2026-08-11 16:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048638 -3.381581)'), GeomFromEWKT('SRID=4674;POINT (-39.048656 -3.381547)'))) / (select extract(epoch from '2026-08-11 16:46:29'::timestamp) - extract(epoch from '2026-08-11 16:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048681 -3.381497)', '2026-08-11 16:46:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048656 -3.381547)'), GeomFromEWKT('SRID=4674;POINT (-39.048681 -3.381497)'))) / (select extract(epoch from '2026-08-11 16:46:35'::timestamp) - extract(epoch from '2026-08-11 16:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048656 -3.381547)'), GeomFromEWKT('SRID=4674;POINT (-39.048681 -3.381497)'))) / (select extract(epoch from '2026-08-11 16:46:35'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048706 -3.381456)', '2026-08-11 16:46:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048681 -3.381497)'), GeomFromEWKT('SRID=4674;POINT (-39.048706 -3.381456)'))) / (select extract(epoch from '2026-08-11 16:46:41'::timestamp) - extract(epoch from '2026-08-11 16:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048681 -3.381497)'), GeomFromEWKT('SRID=4674;POINT (-39.048706 -3.381456)'))) / (select extract(epoch from '2026-08-11 16:46:41'::timestamp) - extract(epoch from '2026-08-11 16:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048718 -3.381439)', '2026-08-11 16:46:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048706 -3.381456)'), GeomFromEWKT('SRID=4674;POINT (-39.048718 -3.381439)'))) / (select extract(epoch from '2026-08-11 16:46:43'::timestamp) - extract(epoch from '2026-08-11 16:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048706 -3.381456)'), GeomFromEWKT('SRID=4674;POINT (-39.048718 -3.381439)'))) / (select extract(epoch from '2026-08-11 16:46:43'::timestamp) - extract(epoch from '2026-08-11 16:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048726 -3.381424)', '2026-08-11 16:46:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048718 -3.381439)'), GeomFromEWKT('SRID=4674;POINT (-39.048726 -3.381424)'))) / (select extract(epoch from '2026-08-11 16:46:45'::timestamp) - extract(epoch from '2026-08-11 16:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048718 -3.381439)'), GeomFromEWKT('SRID=4674;POINT (-39.048726 -3.381424)'))) / (select extract(epoch from '2026-08-11 16:46:45'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048732 -3.381404)', '2026-08-11 16:46:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048726 -3.381424)'), GeomFromEWKT('SRID=4674;POINT (-39.048732 -3.381404)'))) / (select extract(epoch from '2026-08-11 16:46:47'::timestamp) - extract(epoch from '2026-08-11 16:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048726 -3.381424)'), GeomFromEWKT('SRID=4674;POINT (-39.048732 -3.381404)'))) / (select extract(epoch from '2026-08-11 16:46:47'::timestamp) - extract(epoch from '2026-08-11 16:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048739 -3.381393)', '2026-08-11 16:46:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048732 -3.381404)'), GeomFromEWKT('SRID=4674;POINT (-39.048739 -3.381393)'))) / (select extract(epoch from '2026-08-11 16:46:48'::timestamp) - extract(epoch from '2026-08-11 16:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048732 -3.381404)'), GeomFromEWKT('SRID=4674;POINT (-39.048739 -3.381393)'))) / (select extract(epoch from '2026-08-11 16:46:48'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048747 -3.381365)', '2026-08-11 16:46:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048739 -3.381393)'), GeomFromEWKT('SRID=4674;POINT (-39.048747 -3.381365)'))) / (select extract(epoch from '2026-08-11 16:46:51'::timestamp) - extract(epoch from '2026-08-11 16:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048739 -3.381393)'), GeomFromEWKT('SRID=4674;POINT (-39.048747 -3.381365)'))) / (select extract(epoch from '2026-08-11 16:46:51'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048752 -3.381354)', '2026-08-11 16:46:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048747 -3.381365)'), GeomFromEWKT('SRID=4674;POINT (-39.048752 -3.381354)'))) / (select extract(epoch from '2026-08-11 16:46:52'::timestamp) - extract(epoch from '2026-08-11 16:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048747 -3.381365)'), GeomFromEWKT('SRID=4674;POINT (-39.048752 -3.381354)'))) / (select extract(epoch from '2026-08-11 16:46:52'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048767 -3.381314)', '2026-08-11 16:46:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048752 -3.381354)'), GeomFromEWKT('SRID=4674;POINT (-39.048767 -3.381314)'))) / (select extract(epoch from '2026-08-11 16:46:57'::timestamp) - extract(epoch from '2026-08-11 16:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048752 -3.381354)'), GeomFromEWKT('SRID=4674;POINT (-39.048767 -3.381314)'))) / (select extract(epoch from '2026-08-11 16:46:57'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048777 -3.381309)', '2026-08-11 16:46:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048767 -3.381314)'), GeomFromEWKT('SRID=4674;POINT (-39.048777 -3.381309)'))) / (select extract(epoch from '2026-08-11 16:46:58'::timestamp) - extract(epoch from '2026-08-11 16:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048767 -3.381314)'), GeomFromEWKT('SRID=4674;POINT (-39.048777 -3.381309)'))) / (select extract(epoch from '2026-08-11 16:46:58'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048788 -3.381289)', '2026-08-11 16:47:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048777 -3.381309)'), GeomFromEWKT('SRID=4674;POINT (-39.048788 -3.381289)'))) / (select extract(epoch from '2026-08-11 16:47:01'::timestamp) - extract(epoch from '2026-08-11 16:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048777 -3.381309)'), GeomFromEWKT('SRID=4674;POINT (-39.048788 -3.381289)'))) / (select extract(epoch from '2026-08-11 16:47:01'::timestamp) - extract(epoch from '2026-08-11 16:46: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'), 48139, 'SRID=4674;POINT (-39.048791 -3.381281)', '2026-08-11 16:47:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048788 -3.381289)'), GeomFromEWKT('SRID=4674;POINT (-39.048791 -3.381281)'))) / (select extract(epoch from '2026-08-11 16:47:02'::timestamp) - extract(epoch from '2026-08-11 16:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048788 -3.381289)'), GeomFromEWKT('SRID=4674;POINT (-39.048791 -3.381281)'))) / (select extract(epoch from '2026-08-11 16:47:02'::timestamp) - extract(epoch from '2026-08-11 16:47:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048799 -3.381272)', '2026-08-11 16:47:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048791 -3.381281)'), GeomFromEWKT('SRID=4674;POINT (-39.048799 -3.381272)'))) / (select extract(epoch from '2026-08-11 16:47:03'::timestamp) - extract(epoch from '2026-08-11 16:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048791 -3.381281)'), GeomFromEWKT('SRID=4674;POINT (-39.048799 -3.381272)'))) / (select extract(epoch from '2026-08-11 16:47:03'::timestamp) - extract(epoch from '2026-08-11 16:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048813 -3.381254)', '2026-08-11 16:47:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048799 -3.381272)'), GeomFromEWKT('SRID=4674;POINT (-39.048813 -3.381254)'))) / (select extract(epoch from '2026-08-11 16:47:05'::timestamp) - extract(epoch from '2026-08-11 16:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048799 -3.381272)'), GeomFromEWKT('SRID=4674;POINT (-39.048813 -3.381254)'))) / (select extract(epoch from '2026-08-11 16:47:05'::timestamp) - extract(epoch from '2026-08-11 16:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.04882 -3.381245)', '2026-08-11 16:47:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048813 -3.381254)'), GeomFromEWKT('SRID=4674;POINT (-39.04882 -3.381245)'))) / (select extract(epoch from '2026-08-11 16:47:06'::timestamp) - extract(epoch from '2026-08-11 16:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048813 -3.381254)'), GeomFromEWKT('SRID=4674;POINT (-39.04882 -3.381245)'))) / (select extract(epoch from '2026-08-11 16:47:06'::timestamp) - extract(epoch from '2026-08-11 16:47: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'), 48139, 'SRID=4674;POINT (-39.048863 -3.381198)', '2026-08-11 16:47:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04882 -3.381245)'), GeomFromEWKT('SRID=4674;POINT (-39.048863 -3.381198)'))) / (select extract(epoch from '2026-08-11 16:47:12'::timestamp) - extract(epoch from '2026-08-11 16:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04882 -3.381245)'), GeomFromEWKT('SRID=4674;POINT (-39.048863 -3.381198)'))) / (select extract(epoch from '2026-08-11 16:47:12'::timestamp) - extract(epoch from '2026-08-11 16:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.048899 -3.381153)', '2026-08-11 16:47:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048863 -3.381198)'), GeomFromEWKT('SRID=4674;POINT (-39.048899 -3.381153)'))) / (select extract(epoch from '2026-08-11 16:47:19'::timestamp) - extract(epoch from '2026-08-11 16:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048863 -3.381198)'), GeomFromEWKT('SRID=4674;POINT (-39.048899 -3.381153)'))) / (select extract(epoch from '2026-08-11 16:47:19'::timestamp) - extract(epoch from '2026-08-11 16:47: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'), 48139, 'SRID=4674;POINT (-39.048933 -3.381124)', '2026-08-11 16:47:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048899 -3.381153)'), GeomFromEWKT('SRID=4674;POINT (-39.048933 -3.381124)'))) / (select extract(epoch from '2026-08-11 16:47:26'::timestamp) - extract(epoch from '2026-08-11 16:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048899 -3.381153)'), GeomFromEWKT('SRID=4674;POINT (-39.048933 -3.381124)'))) / (select extract(epoch from '2026-08-11 16:47:26'::timestamp) - extract(epoch from '2026-08-11 16:47: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'), 48139, 'SRID=4674;POINT (-39.048984 -3.381101)', '2026-08-11 16:47:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048933 -3.381124)'), GeomFromEWKT('SRID=4674;POINT (-39.048984 -3.381101)'))) / (select extract(epoch from '2026-08-11 16:47:35'::timestamp) - extract(epoch from '2026-08-11 16:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048933 -3.381124)'), GeomFromEWKT('SRID=4674;POINT (-39.048984 -3.381101)'))) / (select extract(epoch from '2026-08-11 16:47:35'::timestamp) - extract(epoch from '2026-08-11 16:47: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'), 48139, 'SRID=4674;POINT (-39.049019 -3.38109)', '2026-08-11 16:47:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048984 -3.381101)'), GeomFromEWKT('SRID=4674;POINT (-39.049019 -3.38109)'))) / (select extract(epoch from '2026-08-11 16:47:43'::timestamp) - extract(epoch from '2026-08-11 16:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048984 -3.381101)'), GeomFromEWKT('SRID=4674;POINT (-39.049019 -3.38109)'))) / (select extract(epoch from '2026-08-11 16:47:43'::timestamp) - extract(epoch from '2026-08-11 16:47: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'), 48139, 'SRID=4674;POINT (-39.049064 -3.381074)', '2026-08-11 16:47:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049019 -3.38109)'), GeomFromEWKT('SRID=4674;POINT (-39.049064 -3.381074)'))) / (select extract(epoch from '2026-08-11 16:47:52'::timestamp) - extract(epoch from '2026-08-11 16:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049019 -3.38109)'), GeomFromEWKT('SRID=4674;POINT (-39.049064 -3.381074)'))) / (select extract(epoch from '2026-08-11 16:47:52'::timestamp) - extract(epoch from '2026-08-11 16:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.049132 -3.381063)', '2026-08-11 16:48:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049064 -3.381074)'), GeomFromEWKT('SRID=4674;POINT (-39.049132 -3.381063)'))) / (select extract(epoch from '2026-08-11 16:48:04'::timestamp) - extract(epoch from '2026-08-11 16:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049064 -3.381074)'), GeomFromEWKT('SRID=4674;POINT (-39.049132 -3.381063)'))) / (select extract(epoch from '2026-08-11 16:48:04'::timestamp) - extract(epoch from '2026-08-11 16:47: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'), 48139, 'SRID=4674;POINT (-39.049187 -3.381023)', '2026-08-11 16:48:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049132 -3.381063)'), GeomFromEWKT('SRID=4674;POINT (-39.049187 -3.381023)'))) / (select extract(epoch from '2026-08-11 16:48:18'::timestamp) - extract(epoch from '2026-08-11 16:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049132 -3.381063)'), GeomFromEWKT('SRID=4674;POINT (-39.049187 -3.381023)'))) / (select extract(epoch from '2026-08-11 16:48:18'::timestamp) - extract(epoch from '2026-08-11 16:48:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.049218 -3.381021)', '2026-08-11 16:48:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049187 -3.381023)'), GeomFromEWKT('SRID=4674;POINT (-39.049218 -3.381021)'))) / (select extract(epoch from '2026-08-11 16:48:25'::timestamp) - extract(epoch from '2026-08-11 16:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049187 -3.381023)'), GeomFromEWKT('SRID=4674;POINT (-39.049218 -3.381021)'))) / (select extract(epoch from '2026-08-11 16:48:25'::timestamp) - extract(epoch from '2026-08-11 16:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.049241 -3.381022)', '2026-08-11 16:48:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049218 -3.381021)'), GeomFromEWKT('SRID=4674;POINT (-39.049241 -3.381022)'))) / (select extract(epoch from '2026-08-11 16:48:29'::timestamp) - extract(epoch from '2026-08-11 16:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049218 -3.381021)'), GeomFromEWKT('SRID=4674;POINT (-39.049241 -3.381022)'))) / (select extract(epoch from '2026-08-11 16:48:29'::timestamp) - extract(epoch from '2026-08-11 16:48: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'), 48139, 'SRID=4674;POINT (-39.049268 -3.381023)', '2026-08-11 16:48:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049241 -3.381022)'), GeomFromEWKT('SRID=4674;POINT (-39.049268 -3.381023)'))) / (select extract(epoch from '2026-08-11 16:48:33'::timestamp) - extract(epoch from '2026-08-11 16:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049241 -3.381022)'), GeomFromEWKT('SRID=4674;POINT (-39.049268 -3.381023)'))) / (select extract(epoch from '2026-08-11 16:48:33'::timestamp) - extract(epoch from '2026-08-11 16:48:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.049319 -3.381015)', '2026-08-11 16:48:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049268 -3.381023)'), GeomFromEWKT('SRID=4674;POINT (-39.049319 -3.381015)'))) / (select extract(epoch from '2026-08-11 16:48:41'::timestamp) - extract(epoch from '2026-08-11 16:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049268 -3.381023)'), GeomFromEWKT('SRID=4674;POINT (-39.049319 -3.381015)'))) / (select extract(epoch from '2026-08-11 16:48:41'::timestamp) - extract(epoch from '2026-08-11 16:48:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.049387 -3.381008)', '2026-08-11 16:48:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049319 -3.381015)'), GeomFromEWKT('SRID=4674;POINT (-39.049387 -3.381008)'))) / (select extract(epoch from '2026-08-11 16:48:52'::timestamp) - extract(epoch from '2026-08-11 16:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049319 -3.381015)'), GeomFromEWKT('SRID=4674;POINT (-39.049387 -3.381008)'))) / (select extract(epoch from '2026-08-11 16:48:52'::timestamp) - extract(epoch from '2026-08-11 16:48: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'), 48139, 'SRID=4674;POINT (-39.049437 -3.38099)', '2026-08-11 16:49:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049387 -3.381008)'), GeomFromEWKT('SRID=4674;POINT (-39.049437 -3.38099)'))) / (select extract(epoch from '2026-08-11 16:49:01'::timestamp) - extract(epoch from '2026-08-11 16:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049387 -3.381008)'), GeomFromEWKT('SRID=4674;POINT (-39.049437 -3.38099)'))) / (select extract(epoch from '2026-08-11 16:49:01'::timestamp) - extract(epoch from '2026-08-11 16:48: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'), 48139, 'SRID=4674;POINT (-39.049483 -3.38097)', '2026-08-11 16:49:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049437 -3.38099)'), GeomFromEWKT('SRID=4674;POINT (-39.049483 -3.38097)'))) / (select extract(epoch from '2026-08-11 16:49:11'::timestamp) - extract(epoch from '2026-08-11 16:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049437 -3.38099)'), GeomFromEWKT('SRID=4674;POINT (-39.049483 -3.38097)'))) / (select extract(epoch from '2026-08-11 16:49:11'::timestamp) - extract(epoch from '2026-08-11 16:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.049524 -3.380962)', '2026-08-11 16:49:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049483 -3.38097)'), GeomFromEWKT('SRID=4674;POINT (-39.049524 -3.380962)'))) / (select extract(epoch from '2026-08-11 16:49:19'::timestamp) - extract(epoch from '2026-08-11 16:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049483 -3.38097)'), GeomFromEWKT('SRID=4674;POINT (-39.049524 -3.380962)'))) / (select extract(epoch from '2026-08-11 16:49:19'::timestamp) - extract(epoch from '2026-08-11 16:49: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'), 48139, 'SRID=4674;POINT (-39.049535 -3.38094)', '2026-08-11 16:49:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049524 -3.380962)'), GeomFromEWKT('SRID=4674;POINT (-39.049535 -3.38094)'))) / (select extract(epoch from '2026-08-11 16:49:24'::timestamp) - extract(epoch from '2026-08-11 16:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049524 -3.380962)'), GeomFromEWKT('SRID=4674;POINT (-39.049535 -3.38094)'))) / (select extract(epoch from '2026-08-11 16:49:24'::timestamp) - extract(epoch from '2026-08-11 16:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.049596 -3.380941)', '2026-08-11 16:49:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049535 -3.38094)'), GeomFromEWKT('SRID=4674;POINT (-39.049596 -3.380941)'))) / (select extract(epoch from '2026-08-11 16:49:33'::timestamp) - extract(epoch from '2026-08-11 16:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049535 -3.38094)'), GeomFromEWKT('SRID=4674;POINT (-39.049596 -3.380941)'))) / (select extract(epoch from '2026-08-11 16:49:33'::timestamp) - extract(epoch from '2026-08-11 16:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.049676 -3.380931)', '2026-08-11 16:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049596 -3.380941)'), GeomFromEWKT('SRID=4674;POINT (-39.049676 -3.380931)'))) / (select extract(epoch from '2026-08-11 16:49:44'::timestamp) - extract(epoch from '2026-08-11 16:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049596 -3.380941)'), GeomFromEWKT('SRID=4674;POINT (-39.049676 -3.380931)'))) / (select extract(epoch from '2026-08-11 16:49:44'::timestamp) - extract(epoch from '2026-08-11 16:49: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'), 48139, 'SRID=4674;POINT (-39.049744 -3.380917)', '2026-08-11 16:49:57', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049676 -3.380931)'), GeomFromEWKT('SRID=4674;POINT (-39.049744 -3.380917)'))) / (select extract(epoch from '2026-08-11 16:49:57'::timestamp) - extract(epoch from '2026-08-11 16:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049676 -3.380931)'), GeomFromEWKT('SRID=4674;POINT (-39.049744 -3.380917)'))) / (select extract(epoch from '2026-08-11 16:49:57'::timestamp) - extract(epoch from '2026-08-11 16:49: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'), 48139, 'SRID=4674;POINT (-39.049799 -3.380917)', '2026-08-11 16:50:02', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049744 -3.380917)'), GeomFromEWKT('SRID=4674;POINT (-39.049799 -3.380917)'))) / (select extract(epoch from '2026-08-11 16:50:02'::timestamp) - extract(epoch from '2026-08-11 16:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049744 -3.380917)'), GeomFromEWKT('SRID=4674;POINT (-39.049799 -3.380917)'))) / (select extract(epoch from '2026-08-11 16:50:02'::timestamp) - extract(epoch from '2026-08-11 16:49: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'), 48139, 'SRID=4674;POINT (-39.049848 -3.380909)', '2026-08-11 16:50:10', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049799 -3.380917)'), GeomFromEWKT('SRID=4674;POINT (-39.049848 -3.380909)'))) / (select extract(epoch from '2026-08-11 16:50:10'::timestamp) - extract(epoch from '2026-08-11 16:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049799 -3.380917)'), GeomFromEWKT('SRID=4674;POINT (-39.049848 -3.380909)'))) / (select extract(epoch from '2026-08-11 16:50:10'::timestamp) - extract(epoch from '2026-08-11 16:50: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'), 48139, 'SRID=4674;POINT (-39.049886 -3.380894)', '2026-08-11 16:50:18', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049848 -3.380909)'), GeomFromEWKT('SRID=4674;POINT (-39.049886 -3.380894)'))) / (select extract(epoch from '2026-08-11 16:50:18'::timestamp) - extract(epoch from '2026-08-11 16:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049848 -3.380909)'), GeomFromEWKT('SRID=4674;POINT (-39.049886 -3.380894)'))) / (select extract(epoch from '2026-08-11 16:50:18'::timestamp) - extract(epoch from '2026-08-11 16:50:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.049956 -3.380894)', '2026-08-11 16:50:24', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049886 -3.380894)'), GeomFromEWKT('SRID=4674;POINT (-39.049956 -3.380894)'))) / (select extract(epoch from '2026-08-11 16:50:24'::timestamp) - extract(epoch from '2026-08-11 16:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049886 -3.380894)'), GeomFromEWKT('SRID=4674;POINT (-39.049956 -3.380894)'))) / (select extract(epoch from '2026-08-11 16:50:24'::timestamp) - extract(epoch from '2026-08-11 16:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.04997 -3.380888)', '2026-08-11 16:50:28', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049956 -3.380894)'), GeomFromEWKT('SRID=4674;POINT (-39.04997 -3.380888)'))) / (select extract(epoch from '2026-08-11 16:50:28'::timestamp) - extract(epoch from '2026-08-11 16:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049956 -3.380894)'), GeomFromEWKT('SRID=4674;POINT (-39.04997 -3.380888)'))) / (select extract(epoch from '2026-08-11 16:50:28'::timestamp) - extract(epoch from '2026-08-11 16:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.050006 -3.380876)', '2026-08-11 16:50:36', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04997 -3.380888)'), GeomFromEWKT('SRID=4674;POINT (-39.050006 -3.380876)'))) / (select extract(epoch from '2026-08-11 16:50:36'::timestamp) - extract(epoch from '2026-08-11 16:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04997 -3.380888)'), GeomFromEWKT('SRID=4674;POINT (-39.050006 -3.380876)'))) / (select extract(epoch from '2026-08-11 16:50:36'::timestamp) - extract(epoch from '2026-08-11 16:50: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'), 48139, 'SRID=4674;POINT (-39.050044 -3.380869)', '2026-08-11 16:50:42', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050006 -3.380876)'), GeomFromEWKT('SRID=4674;POINT (-39.050044 -3.380869)'))) / (select extract(epoch from '2026-08-11 16:50:42'::timestamp) - extract(epoch from '2026-08-11 16:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050006 -3.380876)'), GeomFromEWKT('SRID=4674;POINT (-39.050044 -3.380869)'))) / (select extract(epoch from '2026-08-11 16:50:42'::timestamp) - extract(epoch from '2026-08-11 16:50: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'), 48139, 'SRID=4674;POINT (-39.05007 -3.380857)', '2026-08-11 16:50:50', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050044 -3.380869)'), GeomFromEWKT('SRID=4674;POINT (-39.05007 -3.380857)'))) / (select extract(epoch from '2026-08-11 16:50:50'::timestamp) - extract(epoch from '2026-08-11 16:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050044 -3.380869)'), GeomFromEWKT('SRID=4674;POINT (-39.05007 -3.380857)'))) / (select extract(epoch from '2026-08-11 16:50:50'::timestamp) - extract(epoch from '2026-08-11 16:50: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'), 48139, 'SRID=4674;POINT (-39.05011 -3.380851)', '2026-08-11 16:50:58', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05007 -3.380857)'), GeomFromEWKT('SRID=4674;POINT (-39.05011 -3.380851)'))) / (select extract(epoch from '2026-08-11 16:50:58'::timestamp) - extract(epoch from '2026-08-11 16:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05007 -3.380857)'), GeomFromEWKT('SRID=4674;POINT (-39.05011 -3.380851)'))) / (select extract(epoch from '2026-08-11 16:50:58'::timestamp) - extract(epoch from '2026-08-11 16:50: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'), 48139, 'SRID=4674;POINT (-39.050146 -3.380847)', '2026-08-11 16:51:09', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05011 -3.380851)'), GeomFromEWKT('SRID=4674;POINT (-39.050146 -3.380847)'))) / (select extract(epoch from '2026-08-11 16:51:09'::timestamp) - extract(epoch from '2026-08-11 16:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05011 -3.380851)'), GeomFromEWKT('SRID=4674;POINT (-39.050146 -3.380847)'))) / (select extract(epoch from '2026-08-11 16:51:09'::timestamp) - extract(epoch from '2026-08-11 16:50: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'), 48139, 'SRID=4674;POINT (-39.050178 -3.380834)', '2026-08-11 16:51:17', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050146 -3.380847)'), GeomFromEWKT('SRID=4674;POINT (-39.050178 -3.380834)'))) / (select extract(epoch from '2026-08-11 16:51:17'::timestamp) - extract(epoch from '2026-08-11 16:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050146 -3.380847)'), GeomFromEWKT('SRID=4674;POINT (-39.050178 -3.380834)'))) / (select extract(epoch from '2026-08-11 16:51:17'::timestamp) - extract(epoch from '2026-08-11 16:51: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'), 48139, 'SRID=4674;POINT (-39.050207 -3.380823)', '2026-08-11 16:51:25', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050178 -3.380834)'), GeomFromEWKT('SRID=4674;POINT (-39.050207 -3.380823)'))) / (select extract(epoch from '2026-08-11 16:51:25'::timestamp) - extract(epoch from '2026-08-11 16:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050178 -3.380834)'), GeomFromEWKT('SRID=4674;POINT (-39.050207 -3.380823)'))) / (select extract(epoch from '2026-08-11 16:51:25'::timestamp) - extract(epoch from '2026-08-11 16:51: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'), 48139, 'SRID=4674;POINT (-39.050258 -3.3808)', '2026-08-11 16:51:34', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050207 -3.380823)'), GeomFromEWKT('SRID=4674;POINT (-39.050258 -3.3808)'))) / (select extract(epoch from '2026-08-11 16:51:34'::timestamp) - extract(epoch from '2026-08-11 16:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050207 -3.380823)'), GeomFromEWKT('SRID=4674;POINT (-39.050258 -3.3808)'))) / (select extract(epoch from '2026-08-11 16:51:34'::timestamp) - extract(epoch from '2026-08-11 16:51: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'), 48139, 'SRID=4674;POINT (-39.050305 -3.380801)', '2026-08-11 16:51:40', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050258 -3.3808)'), GeomFromEWKT('SRID=4674;POINT (-39.050305 -3.380801)'))) / (select extract(epoch from '2026-08-11 16:51:40'::timestamp) - extract(epoch from '2026-08-11 16:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050258 -3.3808)'), GeomFromEWKT('SRID=4674;POINT (-39.050305 -3.380801)'))) / (select extract(epoch from '2026-08-11 16:51:40'::timestamp) - extract(epoch from '2026-08-11 16:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.050333 -3.380794)', '2026-08-11 16:51:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050305 -3.380801)'), GeomFromEWKT('SRID=4674;POINT (-39.050333 -3.380794)'))) / (select extract(epoch from '2026-08-11 16:51:47'::timestamp) - extract(epoch from '2026-08-11 16:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050305 -3.380801)'), GeomFromEWKT('SRID=4674;POINT (-39.050333 -3.380794)'))) / (select extract(epoch from '2026-08-11 16:51:47'::timestamp) - extract(epoch from '2026-08-11 16:51: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'), 48139, 'SRID=4674;POINT (-39.050378 -3.380784)', '2026-08-11 16:51:56', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050333 -3.380794)'), GeomFromEWKT('SRID=4674;POINT (-39.050378 -3.380784)'))) / (select extract(epoch from '2026-08-11 16:51:56'::timestamp) - extract(epoch from '2026-08-11 16:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050333 -3.380794)'), GeomFromEWKT('SRID=4674;POINT (-39.050378 -3.380784)'))) / (select extract(epoch from '2026-08-11 16:51:56'::timestamp) - extract(epoch from '2026-08-11 16:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.050432 -3.380777)', '2026-08-11 16:52:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050378 -3.380784)'), GeomFromEWKT('SRID=4674;POINT (-39.050432 -3.380777)'))) / (select extract(epoch from '2026-08-11 16:52:07'::timestamp) - extract(epoch from '2026-08-11 16:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050378 -3.380784)'), GeomFromEWKT('SRID=4674;POINT (-39.050432 -3.380777)'))) / (select extract(epoch from '2026-08-11 16:52:07'::timestamp) - extract(epoch from '2026-08-11 16:51: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'), 48139, 'SRID=4674;POINT (-39.050514 -3.380765)', '2026-08-11 16:52:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050432 -3.380777)'), GeomFromEWKT('SRID=4674;POINT (-39.050514 -3.380765)'))) / (select extract(epoch from '2026-08-11 16:52:21'::timestamp) - extract(epoch from '2026-08-11 16:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050432 -3.380777)'), GeomFromEWKT('SRID=4674;POINT (-39.050514 -3.380765)'))) / (select extract(epoch from '2026-08-11 16:52:21'::timestamp) - extract(epoch from '2026-08-11 16:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.050563 -3.38076)', '2026-08-11 16:52:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050514 -3.380765)'), GeomFromEWKT('SRID=4674;POINT (-39.050563 -3.38076)'))) / (select extract(epoch from '2026-08-11 16:52:31'::timestamp) - extract(epoch from '2026-08-11 16:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050514 -3.380765)'), GeomFromEWKT('SRID=4674;POINT (-39.050563 -3.38076)'))) / (select extract(epoch from '2026-08-11 16:52:31'::timestamp) - extract(epoch from '2026-08-11 16:52: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'), 48139, 'SRID=4674;POINT (-39.050608 -3.380754)', '2026-08-11 16:52:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050563 -3.38076)'), GeomFromEWKT('SRID=4674;POINT (-39.050608 -3.380754)'))) / (select extract(epoch from '2026-08-11 16:52:40'::timestamp) - extract(epoch from '2026-08-11 16:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050563 -3.38076)'), GeomFromEWKT('SRID=4674;POINT (-39.050608 -3.380754)'))) / (select extract(epoch from '2026-08-11 16:52:40'::timestamp) - extract(epoch from '2026-08-11 16:52:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.050654 -3.380747)', '2026-08-11 16:52:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050608 -3.380754)'), GeomFromEWKT('SRID=4674;POINT (-39.050654 -3.380747)'))) / (select extract(epoch from '2026-08-11 16:52:48'::timestamp) - extract(epoch from '2026-08-11 16:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050608 -3.380754)'), GeomFromEWKT('SRID=4674;POINT (-39.050654 -3.380747)'))) / (select extract(epoch from '2026-08-11 16:52:48'::timestamp) - extract(epoch from '2026-08-11 16:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.050683 -3.380735)', '2026-08-11 16:52:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050654 -3.380747)'), GeomFromEWKT('SRID=4674;POINT (-39.050683 -3.380735)'))) / (select extract(epoch from '2026-08-11 16:52:58'::timestamp) - extract(epoch from '2026-08-11 16:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050654 -3.380747)'), GeomFromEWKT('SRID=4674;POINT (-39.050683 -3.380735)'))) / (select extract(epoch from '2026-08-11 16:52:58'::timestamp) - extract(epoch from '2026-08-11 16:52: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'), 48139, 'SRID=4674;POINT (-39.050686 -3.380737)', '2026-08-11 16:52:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050683 -3.380735)'), GeomFromEWKT('SRID=4674;POINT (-39.050686 -3.380737)'))) / (select extract(epoch from '2026-08-11 16:52:59'::timestamp) - extract(epoch from '2026-08-11 16:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050683 -3.380735)'), GeomFromEWKT('SRID=4674;POINT (-39.050686 -3.380737)'))) / (select extract(epoch from '2026-08-11 16:52:59'::timestamp) - extract(epoch from '2026-08-11 16:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.050717 -3.380732)', '2026-08-11 16:53:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050686 -3.380737)'), GeomFromEWKT('SRID=4674;POINT (-39.050717 -3.380732)'))) / (select extract(epoch from '2026-08-11 16:53:04'::timestamp) - extract(epoch from '2026-08-11 16:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050686 -3.380737)'), GeomFromEWKT('SRID=4674;POINT (-39.050717 -3.380732)'))) / (select extract(epoch from '2026-08-11 16:53:04'::timestamp) - extract(epoch from '2026-08-11 16:52:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.050769 -3.380728)', '2026-08-11 16:53:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050717 -3.380732)'), GeomFromEWKT('SRID=4674;POINT (-39.050769 -3.380728)'))) / (select extract(epoch from '2026-08-11 16:53:11'::timestamp) - extract(epoch from '2026-08-11 16:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050717 -3.380732)'), GeomFromEWKT('SRID=4674;POINT (-39.050769 -3.380728)'))) / (select extract(epoch from '2026-08-11 16:53:11'::timestamp) - extract(epoch from '2026-08-11 16:53: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'), 48139, 'SRID=4674;POINT (-39.0508 -3.380728)', '2026-08-11 16:53:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050769 -3.380728)'), GeomFromEWKT('SRID=4674;POINT (-39.0508 -3.380728)'))) / (select extract(epoch from '2026-08-11 16:53:16'::timestamp) - extract(epoch from '2026-08-11 16:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050769 -3.380728)'), GeomFromEWKT('SRID=4674;POINT (-39.0508 -3.380728)'))) / (select extract(epoch from '2026-08-11 16:53:16'::timestamp) - extract(epoch from '2026-08-11 16:53: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'), 48139, 'SRID=4674;POINT (-39.050866 -3.380714)', '2026-08-11 16:53:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0508 -3.380728)'), GeomFromEWKT('SRID=4674;POINT (-39.050866 -3.380714)'))) / (select extract(epoch from '2026-08-11 16:53:27'::timestamp) - extract(epoch from '2026-08-11 16:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0508 -3.380728)'), GeomFromEWKT('SRID=4674;POINT (-39.050866 -3.380714)'))) / (select extract(epoch from '2026-08-11 16:53:27'::timestamp) - extract(epoch from '2026-08-11 16:53: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'), 48139, 'SRID=4674;POINT (-39.050918 -3.380718)', '2026-08-11 16:53:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050866 -3.380714)'), GeomFromEWKT('SRID=4674;POINT (-39.050918 -3.380718)'))) / (select extract(epoch from '2026-08-11 16:53:35'::timestamp) - extract(epoch from '2026-08-11 16:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050866 -3.380714)'), GeomFromEWKT('SRID=4674;POINT (-39.050918 -3.380718)'))) / (select extract(epoch from '2026-08-11 16:53:35'::timestamp) - extract(epoch from '2026-08-11 16:53: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'), 48139, 'SRID=4674;POINT (-39.050962 -3.380708)', '2026-08-11 16:53:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050918 -3.380718)'), GeomFromEWKT('SRID=4674;POINT (-39.050962 -3.380708)'))) / (select extract(epoch from '2026-08-11 16:53:44'::timestamp) - extract(epoch from '2026-08-11 16:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050918 -3.380718)'), GeomFromEWKT('SRID=4674;POINT (-39.050962 -3.380708)'))) / (select extract(epoch from '2026-08-11 16:53:44'::timestamp) - extract(epoch from '2026-08-11 16:53: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'), 48139, 'SRID=4674;POINT (-39.051006 -3.380707)', '2026-08-11 16:53:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050962 -3.380708)'), GeomFromEWKT('SRID=4674;POINT (-39.051006 -3.380707)'))) / (select extract(epoch from '2026-08-11 16:53:53'::timestamp) - extract(epoch from '2026-08-11 16:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050962 -3.380708)'), GeomFromEWKT('SRID=4674;POINT (-39.051006 -3.380707)'))) / (select extract(epoch from '2026-08-11 16:53:53'::timestamp) - extract(epoch from '2026-08-11 16:53: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'), 48139, 'SRID=4674;POINT (-39.051048 -3.380702)', '2026-08-11 16:54:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051006 -3.380707)'), GeomFromEWKT('SRID=4674;POINT (-39.051048 -3.380702)'))) / (select extract(epoch from '2026-08-11 16:54:01'::timestamp) - extract(epoch from '2026-08-11 16:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051006 -3.380707)'), GeomFromEWKT('SRID=4674;POINT (-39.051048 -3.380702)'))) / (select extract(epoch from '2026-08-11 16:54:01'::timestamp) - extract(epoch from '2026-08-11 16:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.051092 -3.380686)', '2026-08-11 16:54:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051048 -3.380702)'), GeomFromEWKT('SRID=4674;POINT (-39.051092 -3.380686)'))) / (select extract(epoch from '2026-08-11 16:54:12'::timestamp) - extract(epoch from '2026-08-11 16:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051048 -3.380702)'), GeomFromEWKT('SRID=4674;POINT (-39.051092 -3.380686)'))) / (select extract(epoch from '2026-08-11 16:54:12'::timestamp) - extract(epoch from '2026-08-11 16:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.051145 -3.380675)', '2026-08-11 16:54:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051092 -3.380686)'), GeomFromEWKT('SRID=4674;POINT (-39.051145 -3.380675)'))) / (select extract(epoch from '2026-08-11 16:54:22'::timestamp) - extract(epoch from '2026-08-11 16:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051092 -3.380686)'), GeomFromEWKT('SRID=4674;POINT (-39.051145 -3.380675)'))) / (select extract(epoch from '2026-08-11 16:54:22'::timestamp) - extract(epoch from '2026-08-11 16:54:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.051207 -3.380667)', '2026-08-11 16:54:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051145 -3.380675)'), GeomFromEWKT('SRID=4674;POINT (-39.051207 -3.380667)'))) / (select extract(epoch from '2026-08-11 16:54:32'::timestamp) - extract(epoch from '2026-08-11 16:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051145 -3.380675)'), GeomFromEWKT('SRID=4674;POINT (-39.051207 -3.380667)'))) / (select extract(epoch from '2026-08-11 16:54:32'::timestamp) - extract(epoch from '2026-08-11 16:54: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'), 48139, 'SRID=4674;POINT (-39.051256 -3.380673)', '2026-08-11 16:54:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051207 -3.380667)'), GeomFromEWKT('SRID=4674;POINT (-39.051256 -3.380673)'))) / (select extract(epoch from '2026-08-11 16:54:39'::timestamp) - extract(epoch from '2026-08-11 16:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051207 -3.380667)'), GeomFromEWKT('SRID=4674;POINT (-39.051256 -3.380673)'))) / (select extract(epoch from '2026-08-11 16:54:39'::timestamp) - extract(epoch from '2026-08-11 16:54: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'), 48139, 'SRID=4674;POINT (-39.051303 -3.380661)', '2026-08-11 16:54:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051256 -3.380673)'), GeomFromEWKT('SRID=4674;POINT (-39.051303 -3.380661)'))) / (select extract(epoch from '2026-08-11 16:54:50'::timestamp) - extract(epoch from '2026-08-11 16:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051256 -3.380673)'), GeomFromEWKT('SRID=4674;POINT (-39.051303 -3.380661)'))) / (select extract(epoch from '2026-08-11 16:54:50'::timestamp) - extract(epoch from '2026-08-11 16:54: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'), 48139, 'SRID=4674;POINT (-39.051328 -3.380651)', '2026-08-11 16:54:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051303 -3.380661)'), GeomFromEWKT('SRID=4674;POINT (-39.051328 -3.380651)'))) / (select extract(epoch from '2026-08-11 16:54:58'::timestamp) - extract(epoch from '2026-08-11 16:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051303 -3.380661)'), GeomFromEWKT('SRID=4674;POINT (-39.051328 -3.380651)'))) / (select extract(epoch from '2026-08-11 16:54:58'::timestamp) - extract(epoch from '2026-08-11 16:54: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'), 48139, 'SRID=4674;POINT (-39.051356 -3.38064)', '2026-08-11 16:55:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051328 -3.380651)'), GeomFromEWKT('SRID=4674;POINT (-39.051356 -3.38064)'))) / (select extract(epoch from '2026-08-11 16:55:05'::timestamp) - extract(epoch from '2026-08-11 16:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051328 -3.380651)'), GeomFromEWKT('SRID=4674;POINT (-39.051356 -3.38064)'))) / (select extract(epoch from '2026-08-11 16:55:05'::timestamp) - extract(epoch from '2026-08-11 16:54: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'), 48139, 'SRID=4674;POINT (-39.051363 -3.380641)', '2026-08-11 16:55:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051356 -3.38064)'), GeomFromEWKT('SRID=4674;POINT (-39.051363 -3.380641)'))) / (select extract(epoch from '2026-08-11 16:55:06'::timestamp) - extract(epoch from '2026-08-11 16:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051356 -3.38064)'), GeomFromEWKT('SRID=4674;POINT (-39.051363 -3.380641)'))) / (select extract(epoch from '2026-08-11 16:55:06'::timestamp) - extract(epoch from '2026-08-11 16:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.051392 -3.380645)', '2026-08-11 16:55:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051363 -3.380641)'), GeomFromEWKT('SRID=4674;POINT (-39.051392 -3.380645)'))) / (select extract(epoch from '2026-08-11 16:55:09'::timestamp) - extract(epoch from '2026-08-11 16:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051363 -3.380641)'), GeomFromEWKT('SRID=4674;POINT (-39.051392 -3.380645)'))) / (select extract(epoch from '2026-08-11 16:55:09'::timestamp) - extract(epoch from '2026-08-11 16:55: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'), 48139, 'SRID=4674;POINT (-39.051438 -3.380643)', '2026-08-11 16:55:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051392 -3.380645)'), GeomFromEWKT('SRID=4674;POINT (-39.051438 -3.380643)'))) / (select extract(epoch from '2026-08-11 16:55:18'::timestamp) - extract(epoch from '2026-08-11 16:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051392 -3.380645)'), GeomFromEWKT('SRID=4674;POINT (-39.051438 -3.380643)'))) / (select extract(epoch from '2026-08-11 16:55:18'::timestamp) - extract(epoch from '2026-08-11 16:55: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'), 48139, 'SRID=4674;POINT (-39.051498 -3.380641)', '2026-08-11 16:55:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051438 -3.380643)'), GeomFromEWKT('SRID=4674;POINT (-39.051498 -3.380641)'))) / (select extract(epoch from '2026-08-11 16:55:28'::timestamp) - extract(epoch from '2026-08-11 16:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051438 -3.380643)'), GeomFromEWKT('SRID=4674;POINT (-39.051498 -3.380641)'))) / (select extract(epoch from '2026-08-11 16:55:28'::timestamp) - extract(epoch from '2026-08-11 16:55: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'), 48139, 'SRID=4674;POINT (-39.051532 -3.380639)', '2026-08-11 16:55:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051498 -3.380641)'), GeomFromEWKT('SRID=4674;POINT (-39.051532 -3.380639)'))) / (select extract(epoch from '2026-08-11 16:55:33'::timestamp) - extract(epoch from '2026-08-11 16:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051498 -3.380641)'), GeomFromEWKT('SRID=4674;POINT (-39.051532 -3.380639)'))) / (select extract(epoch from '2026-08-11 16:55:33'::timestamp) - extract(epoch from '2026-08-11 16:55: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'), 48139, 'SRID=4674;POINT (-39.051575 -3.380632)', '2026-08-11 16:55:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051532 -3.380639)'), GeomFromEWKT('SRID=4674;POINT (-39.051575 -3.380632)'))) / (select extract(epoch from '2026-08-11 16:55:41'::timestamp) - extract(epoch from '2026-08-11 16:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051532 -3.380639)'), GeomFromEWKT('SRID=4674;POINT (-39.051575 -3.380632)'))) / (select extract(epoch from '2026-08-11 16:55:41'::timestamp) - extract(epoch from '2026-08-11 16:55: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'), 48139, 'SRID=4674;POINT (-39.051626 -3.380619)', '2026-08-11 16:55:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051575 -3.380632)'), GeomFromEWKT('SRID=4674;POINT (-39.051626 -3.380619)'))) / (select extract(epoch from '2026-08-11 16:55:51'::timestamp) - extract(epoch from '2026-08-11 16:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051575 -3.380632)'), GeomFromEWKT('SRID=4674;POINT (-39.051626 -3.380619)'))) / (select extract(epoch from '2026-08-11 16:55:51'::timestamp) - extract(epoch from '2026-08-11 16:55: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'), 48139, 'SRID=4674;POINT (-39.051672 -3.380613)', '2026-08-11 16:56:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051626 -3.380619)'), GeomFromEWKT('SRID=4674;POINT (-39.051672 -3.380613)'))) / (select extract(epoch from '2026-08-11 16:56:01'::timestamp) - extract(epoch from '2026-08-11 16:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051626 -3.380619)'), GeomFromEWKT('SRID=4674;POINT (-39.051672 -3.380613)'))) / (select extract(epoch from '2026-08-11 16:56:01'::timestamp) - extract(epoch from '2026-08-11 16:55: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'), 48139, 'SRID=4674;POINT (-39.051717 -3.380609)', '2026-08-11 16:56:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051672 -3.380613)'), GeomFromEWKT('SRID=4674;POINT (-39.051717 -3.380609)'))) / (select extract(epoch from '2026-08-11 16:56:10'::timestamp) - extract(epoch from '2026-08-11 16:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051672 -3.380613)'), GeomFromEWKT('SRID=4674;POINT (-39.051717 -3.380609)'))) / (select extract(epoch from '2026-08-11 16:56:10'::timestamp) - extract(epoch from '2026-08-11 16:56: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'), 48139, 'SRID=4674;POINT (-39.051763 -3.380613)', '2026-08-11 16:56:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051717 -3.380609)'), GeomFromEWKT('SRID=4674;POINT (-39.051763 -3.380613)'))) / (select extract(epoch from '2026-08-11 16:56:17'::timestamp) - extract(epoch from '2026-08-11 16:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051717 -3.380609)'), GeomFromEWKT('SRID=4674;POINT (-39.051763 -3.380613)'))) / (select extract(epoch from '2026-08-11 16:56:17'::timestamp) - extract(epoch from '2026-08-11 16:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.051807 -3.380603)', '2026-08-11 16:56:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051763 -3.380613)'), GeomFromEWKT('SRID=4674;POINT (-39.051807 -3.380603)'))) / (select extract(epoch from '2026-08-11 16:56:27'::timestamp) - extract(epoch from '2026-08-11 16:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051763 -3.380613)'), GeomFromEWKT('SRID=4674;POINT (-39.051807 -3.380603)'))) / (select extract(epoch from '2026-08-11 16:56:27'::timestamp) - extract(epoch from '2026-08-11 16:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48139, 'SRID=4674;POINT (-39.051853 -3.380599)', '2026-08-11 16:56:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051807 -3.380603)'), GeomFromEWKT('SRID=4674;POINT (-39.051853 -3.380599)'))) / (select extract(epoch from '2026-08-11 16:56:35'::timestamp) - extract(epoch from '2026-08-11 16:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.051807 -3.380603)'), GeomFromEWKT('SRID=4674;POINT (-39.051853 -3.380599)'))) / (select extract(epoch from '2026-08-11 16:56:35'::timestamp) - extract(epoch from '2026-08-11 16:56:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
