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'), 46535, 'SRID=4674;POINT (-38.485025 -3.717088)', '2026-05-27 08:56:02', 0, 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'), 46535, 'SRID=4674;POINT (-38.485166 -3.716847)', '2026-05-27 08:56:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485025 -3.717088)'), GeomFromEWKT('SRID=4674;POINT (-38.485166 -3.716847)'))) / (select extract(epoch from '2026-05-27 08:56:14'::timestamp) - extract(epoch from '2026-05-27 08:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485025 -3.717088)'), GeomFromEWKT('SRID=4674;POINT (-38.485166 -3.716847)'))) / (select extract(epoch from '2026-05-27 08:56:14'::timestamp) - extract(epoch from '2026-05-27 08:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48529 -3.716628)', '2026-05-27 08:56:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485166 -3.716847)'), GeomFromEWKT('SRID=4674;POINT (-38.48529 -3.716628)'))) / (select extract(epoch from '2026-05-27 08:56:25'::timestamp) - extract(epoch from '2026-05-27 08:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485166 -3.716847)'), GeomFromEWKT('SRID=4674;POINT (-38.48529 -3.716628)'))) / (select extract(epoch from '2026-05-27 08:56:25'::timestamp) - extract(epoch from '2026-05-27 08:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.485408 -3.7164)', '2026-05-27 08:56:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48529 -3.716628)'), GeomFromEWKT('SRID=4674;POINT (-38.485408 -3.7164)'))) / (select extract(epoch from '2026-05-27 08:56:36'::timestamp) - extract(epoch from '2026-05-27 08:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48529 -3.716628)'), GeomFromEWKT('SRID=4674;POINT (-38.485408 -3.7164)'))) / (select extract(epoch from '2026-05-27 08:56:36'::timestamp) - extract(epoch from '2026-05-27 08:56:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.485564 -3.716092)', '2026-05-27 08:56:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485408 -3.7164)'), GeomFromEWKT('SRID=4674;POINT (-38.485564 -3.716092)'))) / (select extract(epoch from '2026-05-27 08:56:51'::timestamp) - extract(epoch from '2026-05-27 08:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485408 -3.7164)'), GeomFromEWKT('SRID=4674;POINT (-38.485564 -3.716092)'))) / (select extract(epoch from '2026-05-27 08:56:51'::timestamp) - extract(epoch from '2026-05-27 08:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.485709 -3.715835)', '2026-05-27 08:57:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485564 -3.716092)'), GeomFromEWKT('SRID=4674;POINT (-38.485709 -3.715835)'))) / (select extract(epoch from '2026-05-27 08:57:04'::timestamp) - extract(epoch from '2026-05-27 08:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485564 -3.716092)'), GeomFromEWKT('SRID=4674;POINT (-38.485709 -3.715835)'))) / (select extract(epoch from '2026-05-27 08:57:04'::timestamp) - extract(epoch from '2026-05-27 08:56:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48588 -3.715581)', '2026-05-27 08:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485709 -3.715835)'), GeomFromEWKT('SRID=4674;POINT (-38.48588 -3.715581)'))) / (select extract(epoch from '2026-05-27 08:57:17'::timestamp) - extract(epoch from '2026-05-27 08:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485709 -3.715835)'), GeomFromEWKT('SRID=4674;POINT (-38.48588 -3.715581)'))) / (select extract(epoch from '2026-05-27 08:57:17'::timestamp) - extract(epoch from '2026-05-27 08:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.486056 -3.715391)', '2026-05-27 08:57:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48588 -3.715581)'), GeomFromEWKT('SRID=4674;POINT (-38.486056 -3.715391)'))) / (select extract(epoch from '2026-05-27 08:57:28'::timestamp) - extract(epoch from '2026-05-27 08:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48588 -3.715581)'), GeomFromEWKT('SRID=4674;POINT (-38.486056 -3.715391)'))) / (select extract(epoch from '2026-05-27 08:57:28'::timestamp) - extract(epoch from '2026-05-27 08:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.486261 -3.715186)', '2026-05-27 08:57:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486056 -3.715391)'), GeomFromEWKT('SRID=4674;POINT (-38.486261 -3.715186)'))) / (select extract(epoch from '2026-05-27 08:57:40'::timestamp) - extract(epoch from '2026-05-27 08:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486056 -3.715391)'), GeomFromEWKT('SRID=4674;POINT (-38.486261 -3.715186)'))) / (select extract(epoch from '2026-05-27 08:57:40'::timestamp) - extract(epoch from '2026-05-27 08:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.486416 -3.714983)', '2026-05-27 08:57:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486261 -3.715186)'), GeomFromEWKT('SRID=4674;POINT (-38.486416 -3.714983)'))) / (select extract(epoch from '2026-05-27 08:57:51'::timestamp) - extract(epoch from '2026-05-27 08:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486261 -3.715186)'), GeomFromEWKT('SRID=4674;POINT (-38.486416 -3.714983)'))) / (select extract(epoch from '2026-05-27 08:57:51'::timestamp) - extract(epoch from '2026-05-27 08:57:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48658 -3.714724)', '2026-05-27 08:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486416 -3.714983)'), GeomFromEWKT('SRID=4674;POINT (-38.48658 -3.714724)'))) / (select extract(epoch from '2026-05-27 08:58:04'::timestamp) - extract(epoch from '2026-05-27 08:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486416 -3.714983)'), GeomFromEWKT('SRID=4674;POINT (-38.48658 -3.714724)'))) / (select extract(epoch from '2026-05-27 08:58:04'::timestamp) - extract(epoch from '2026-05-27 08:57:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.486736 -3.71449)', '2026-05-27 08:58:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48658 -3.714724)'), GeomFromEWKT('SRID=4674;POINT (-38.486736 -3.71449)'))) / (select extract(epoch from '2026-05-27 08:58:16'::timestamp) - extract(epoch from '2026-05-27 08:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48658 -3.714724)'), GeomFromEWKT('SRID=4674;POINT (-38.486736 -3.71449)'))) / (select extract(epoch from '2026-05-27 08:58:16'::timestamp) - extract(epoch from '2026-05-27 08:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48685 -3.714315)', '2026-05-27 08:58:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486736 -3.71449)'), GeomFromEWKT('SRID=4674;POINT (-38.48685 -3.714315)'))) / (select extract(epoch from '2026-05-27 08:58:25'::timestamp) - extract(epoch from '2026-05-27 08:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486736 -3.71449)'), GeomFromEWKT('SRID=4674;POINT (-38.48685 -3.714315)'))) / (select extract(epoch from '2026-05-27 08:58:25'::timestamp) - extract(epoch from '2026-05-27 08:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.486941 -3.71413)', '2026-05-27 08:58:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48685 -3.714315)'), GeomFromEWKT('SRID=4674;POINT (-38.486941 -3.71413)'))) / (select extract(epoch from '2026-05-27 08:58:34'::timestamp) - extract(epoch from '2026-05-27 08:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48685 -3.714315)'), GeomFromEWKT('SRID=4674;POINT (-38.486941 -3.71413)'))) / (select extract(epoch from '2026-05-27 08:58:34'::timestamp) - extract(epoch from '2026-05-27 08:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487009 -3.713956)', '2026-05-27 08:58:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486941 -3.71413)'), GeomFromEWKT('SRID=4674;POINT (-38.487009 -3.713956)'))) / (select extract(epoch from '2026-05-27 08:58:42'::timestamp) - extract(epoch from '2026-05-27 08:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486941 -3.71413)'), GeomFromEWKT('SRID=4674;POINT (-38.487009 -3.713956)'))) / (select extract(epoch from '2026-05-27 08:58:42'::timestamp) - extract(epoch from '2026-05-27 08:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487152 -3.71367)', '2026-05-27 08:58:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487009 -3.713956)'), GeomFromEWKT('SRID=4674;POINT (-38.487152 -3.71367)'))) / (select extract(epoch from '2026-05-27 08:58:55'::timestamp) - extract(epoch from '2026-05-27 08:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487009 -3.713956)'), GeomFromEWKT('SRID=4674;POINT (-38.487152 -3.71367)'))) / (select extract(epoch from '2026-05-27 08:58:55'::timestamp) - extract(epoch from '2026-05-27 08:58:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48728 -3.713419)', '2026-05-27 08:59:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487152 -3.71367)'), GeomFromEWKT('SRID=4674;POINT (-38.48728 -3.713419)'))) / (select extract(epoch from '2026-05-27 08:59:07'::timestamp) - extract(epoch from '2026-05-27 08:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487152 -3.71367)'), GeomFromEWKT('SRID=4674;POINT (-38.48728 -3.713419)'))) / (select extract(epoch from '2026-05-27 08:59:07'::timestamp) - extract(epoch from '2026-05-27 08:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487393 -3.713213)', '2026-05-27 08:59:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48728 -3.713419)'), GeomFromEWKT('SRID=4674;POINT (-38.487393 -3.713213)'))) / (select extract(epoch from '2026-05-27 08:59:17'::timestamp) - extract(epoch from '2026-05-27 08:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48728 -3.713419)'), GeomFromEWKT('SRID=4674;POINT (-38.487393 -3.713213)'))) / (select extract(epoch from '2026-05-27 08:59:17'::timestamp) - extract(epoch from '2026-05-27 08:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487503 -3.713029)', '2026-05-27 08:59:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487393 -3.713213)'), GeomFromEWKT('SRID=4674;POINT (-38.487503 -3.713029)'))) / (select extract(epoch from '2026-05-27 08:59:26'::timestamp) - extract(epoch from '2026-05-27 08:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487393 -3.713213)'), GeomFromEWKT('SRID=4674;POINT (-38.487503 -3.713029)'))) / (select extract(epoch from '2026-05-27 08:59:26'::timestamp) - extract(epoch from '2026-05-27 08:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487621 -3.712799)', '2026-05-27 08:59:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487503 -3.713029)'), GeomFromEWKT('SRID=4674;POINT (-38.487621 -3.712799)'))) / (select extract(epoch from '2026-05-27 08:59:37'::timestamp) - extract(epoch from '2026-05-27 08:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487503 -3.713029)'), GeomFromEWKT('SRID=4674;POINT (-38.487621 -3.712799)'))) / (select extract(epoch from '2026-05-27 08:59:37'::timestamp) - extract(epoch from '2026-05-27 08:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487721 -3.712579)', '2026-05-27 08:59:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487621 -3.712799)'), GeomFromEWKT('SRID=4674;POINT (-38.487721 -3.712579)'))) / (select extract(epoch from '2026-05-27 08:59:47'::timestamp) - extract(epoch from '2026-05-27 08:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487621 -3.712799)'), GeomFromEWKT('SRID=4674;POINT (-38.487721 -3.712579)'))) / (select extract(epoch from '2026-05-27 08:59:47'::timestamp) - extract(epoch from '2026-05-27 08:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487836 -3.712317)', '2026-05-27 08:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487721 -3.712579)'), GeomFromEWKT('SRID=4674;POINT (-38.487836 -3.712317)'))) / (select extract(epoch from '2026-05-27 08:59:59'::timestamp) - extract(epoch from '2026-05-27 08:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487721 -3.712579)'), GeomFromEWKT('SRID=4674;POINT (-38.487836 -3.712317)'))) / (select extract(epoch from '2026-05-27 08:59:59'::timestamp) - extract(epoch from '2026-05-27 08:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487912 -3.712145)', '2026-05-27 09:00:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487836 -3.712317)'), GeomFromEWKT('SRID=4674;POINT (-38.487912 -3.712145)'))) / (select extract(epoch from '2026-05-27 09:00:07'::timestamp) - extract(epoch from '2026-05-27 08:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487836 -3.712317)'), GeomFromEWKT('SRID=4674;POINT (-38.487912 -3.712145)'))) / (select extract(epoch from '2026-05-27 09:00:07'::timestamp) - extract(epoch from '2026-05-27 08:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487969 -3.711943)', '2026-05-27 09:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487912 -3.712145)'), GeomFromEWKT('SRID=4674;POINT (-38.487969 -3.711943)'))) / (select extract(epoch from '2026-05-27 09:00:16'::timestamp) - extract(epoch from '2026-05-27 09:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487912 -3.712145)'), GeomFromEWKT('SRID=4674;POINT (-38.487969 -3.711943)'))) / (select extract(epoch from '2026-05-27 09:00:16'::timestamp) - extract(epoch from '2026-05-27 09:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488039 -3.711742)', '2026-05-27 09:00:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487969 -3.711943)'), GeomFromEWKT('SRID=4674;POINT (-38.488039 -3.711742)'))) / (select extract(epoch from '2026-05-27 09:00:25'::timestamp) - extract(epoch from '2026-05-27 09:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487969 -3.711943)'), GeomFromEWKT('SRID=4674;POINT (-38.488039 -3.711742)'))) / (select extract(epoch from '2026-05-27 09:00:25'::timestamp) - extract(epoch from '2026-05-27 09:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488151 -3.711585)', '2026-05-27 09:00:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488039 -3.711742)'), GeomFromEWKT('SRID=4674;POINT (-38.488151 -3.711585)'))) / (select extract(epoch from '2026-05-27 09:00:33'::timestamp) - extract(epoch from '2026-05-27 09:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488039 -3.711742)'), GeomFromEWKT('SRID=4674;POINT (-38.488151 -3.711585)'))) / (select extract(epoch from '2026-05-27 09:00:33'::timestamp) - extract(epoch from '2026-05-27 09:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488327 -3.711425)', '2026-05-27 09:00:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488151 -3.711585)'), GeomFromEWKT('SRID=4674;POINT (-38.488327 -3.711425)'))) / (select extract(epoch from '2026-05-27 09:00:43'::timestamp) - extract(epoch from '2026-05-27 09:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488151 -3.711585)'), GeomFromEWKT('SRID=4674;POINT (-38.488327 -3.711425)'))) / (select extract(epoch from '2026-05-27 09:00:43'::timestamp) - extract(epoch from '2026-05-27 09:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.4885 -3.711238)', '2026-05-27 09:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488327 -3.711425)'), GeomFromEWKT('SRID=4674;POINT (-38.4885 -3.711238)'))) / (select extract(epoch from '2026-05-27 09:00:54'::timestamp) - extract(epoch from '2026-05-27 09:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488327 -3.711425)'), GeomFromEWKT('SRID=4674;POINT (-38.4885 -3.711238)'))) / (select extract(epoch from '2026-05-27 09:00:54'::timestamp) - extract(epoch from '2026-05-27 09:00:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488624 -3.711038)', '2026-05-27 09:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4885 -3.711238)'), GeomFromEWKT('SRID=4674;POINT (-38.488624 -3.711038)'))) / (select extract(epoch from '2026-05-27 09:01:04'::timestamp) - extract(epoch from '2026-05-27 09:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4885 -3.711238)'), GeomFromEWKT('SRID=4674;POINT (-38.488624 -3.711038)'))) / (select extract(epoch from '2026-05-27 09:01:04'::timestamp) - extract(epoch from '2026-05-27 09:00:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488729 -3.710818)', '2026-05-27 09:01:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488624 -3.711038)'), GeomFromEWKT('SRID=4674;POINT (-38.488729 -3.710818)'))) / (select extract(epoch from '2026-05-27 09:01:14'::timestamp) - extract(epoch from '2026-05-27 09:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488624 -3.711038)'), GeomFromEWKT('SRID=4674;POINT (-38.488729 -3.710818)'))) / (select extract(epoch from '2026-05-27 09:01:14'::timestamp) - extract(epoch from '2026-05-27 09:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488826 -3.71058)', '2026-05-27 09:01:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488729 -3.710818)'), GeomFromEWKT('SRID=4674;POINT (-38.488826 -3.71058)'))) / (select extract(epoch from '2026-05-27 09:01:25'::timestamp) - extract(epoch from '2026-05-27 09:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488729 -3.710818)'), GeomFromEWKT('SRID=4674;POINT (-38.488826 -3.71058)'))) / (select extract(epoch from '2026-05-27 09:01:25'::timestamp) - extract(epoch from '2026-05-27 09:01:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488926 -3.71036)', '2026-05-27 09:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488826 -3.71058)'), GeomFromEWKT('SRID=4674;POINT (-38.488926 -3.71036)'))) / (select extract(epoch from '2026-05-27 09:01:35'::timestamp) - extract(epoch from '2026-05-27 09:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488826 -3.71058)'), GeomFromEWKT('SRID=4674;POINT (-38.488926 -3.71036)'))) / (select extract(epoch from '2026-05-27 09:01:35'::timestamp) - extract(epoch from '2026-05-27 09:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489027 -3.710139)', '2026-05-27 09:01:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488926 -3.71036)'), GeomFromEWKT('SRID=4674;POINT (-38.489027 -3.710139)'))) / (select extract(epoch from '2026-05-27 09:01:45'::timestamp) - extract(epoch from '2026-05-27 09:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488926 -3.71036)'), GeomFromEWKT('SRID=4674;POINT (-38.489027 -3.710139)'))) / (select extract(epoch from '2026-05-27 09:01:45'::timestamp) - extract(epoch from '2026-05-27 09:01:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489093 -3.709869)', '2026-05-27 09:01:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489027 -3.710139)'), GeomFromEWKT('SRID=4674;POINT (-38.489093 -3.709869)'))) / (select extract(epoch from '2026-05-27 09:01:57'::timestamp) - extract(epoch from '2026-05-27 09:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489027 -3.710139)'), GeomFromEWKT('SRID=4674;POINT (-38.489093 -3.709869)'))) / (select extract(epoch from '2026-05-27 09:01:57'::timestamp) - extract(epoch from '2026-05-27 09:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489099 -3.709643)', '2026-05-27 09:02:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489093 -3.709869)'), GeomFromEWKT('SRID=4674;POINT (-38.489099 -3.709643)'))) / (select extract(epoch from '2026-05-27 09:02:07'::timestamp) - extract(epoch from '2026-05-27 09:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489093 -3.709869)'), GeomFromEWKT('SRID=4674;POINT (-38.489099 -3.709643)'))) / (select extract(epoch from '2026-05-27 09:02:07'::timestamp) - extract(epoch from '2026-05-27 09:01:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489128 -3.709482)', '2026-05-27 09:02:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489099 -3.709643)'), GeomFromEWKT('SRID=4674;POINT (-38.489128 -3.709482)'))) / (select extract(epoch from '2026-05-27 09:02:14'::timestamp) - extract(epoch from '2026-05-27 09:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489099 -3.709643)'), GeomFromEWKT('SRID=4674;POINT (-38.489128 -3.709482)'))) / (select extract(epoch from '2026-05-27 09:02:14'::timestamp) - extract(epoch from '2026-05-27 09:02:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489216 -3.709295)', '2026-05-27 09:02:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489128 -3.709482)'), GeomFromEWKT('SRID=4674;POINT (-38.489216 -3.709295)'))) / (select extract(epoch from '2026-05-27 09:02:23'::timestamp) - extract(epoch from '2026-05-27 09:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489128 -3.709482)'), GeomFromEWKT('SRID=4674;POINT (-38.489216 -3.709295)'))) / (select extract(epoch from '2026-05-27 09:02:23'::timestamp) - extract(epoch from '2026-05-27 09:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489379 -3.709131)', '2026-05-27 09:02:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489216 -3.709295)'), GeomFromEWKT('SRID=4674;POINT (-38.489379 -3.709131)'))) / (select extract(epoch from '2026-05-27 09:02:33'::timestamp) - extract(epoch from '2026-05-27 09:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489216 -3.709295)'), GeomFromEWKT('SRID=4674;POINT (-38.489379 -3.709131)'))) / (select extract(epoch from '2026-05-27 09:02:33'::timestamp) - extract(epoch from '2026-05-27 09:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489481 -3.70898)', '2026-05-27 09:02:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489379 -3.709131)'), GeomFromEWKT('SRID=4674;POINT (-38.489481 -3.70898)'))) / (select extract(epoch from '2026-05-27 09:02:41'::timestamp) - extract(epoch from '2026-05-27 09:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489379 -3.709131)'), GeomFromEWKT('SRID=4674;POINT (-38.489481 -3.70898)'))) / (select extract(epoch from '2026-05-27 09:02:41'::timestamp) - extract(epoch from '2026-05-27 09:02:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489519 -3.708799)', '2026-05-27 09:02:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489481 -3.70898)'), GeomFromEWKT('SRID=4674;POINT (-38.489519 -3.708799)'))) / (select extract(epoch from '2026-05-27 09:02:49'::timestamp) - extract(epoch from '2026-05-27 09:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489481 -3.70898)'), GeomFromEWKT('SRID=4674;POINT (-38.489519 -3.708799)'))) / (select extract(epoch from '2026-05-27 09:02:49'::timestamp) - extract(epoch from '2026-05-27 09:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489569 -3.708573)', '2026-05-27 09:02:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489519 -3.708799)'), GeomFromEWKT('SRID=4674;POINT (-38.489569 -3.708573)'))) / (select extract(epoch from '2026-05-27 09:02:59'::timestamp) - extract(epoch from '2026-05-27 09:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489519 -3.708799)'), GeomFromEWKT('SRID=4674;POINT (-38.489569 -3.708573)'))) / (select extract(epoch from '2026-05-27 09:02:59'::timestamp) - extract(epoch from '2026-05-27 09:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489662 -3.708384)', '2026-05-27 09:03:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489569 -3.708573)'), GeomFromEWKT('SRID=4674;POINT (-38.489662 -3.708384)'))) / (select extract(epoch from '2026-05-27 09:03:08'::timestamp) - extract(epoch from '2026-05-27 09:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489569 -3.708573)'), GeomFromEWKT('SRID=4674;POINT (-38.489662 -3.708384)'))) / (select extract(epoch from '2026-05-27 09:03:08'::timestamp) - extract(epoch from '2026-05-27 09:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489764 -3.708232)', '2026-05-27 09:03:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489662 -3.708384)'), GeomFromEWKT('SRID=4674;POINT (-38.489764 -3.708232)'))) / (select extract(epoch from '2026-05-27 09:03:16'::timestamp) - extract(epoch from '2026-05-27 09:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489662 -3.708384)'), GeomFromEWKT('SRID=4674;POINT (-38.489764 -3.708232)'))) / (select extract(epoch from '2026-05-27 09:03:16'::timestamp) - extract(epoch from '2026-05-27 09:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48986 -3.708046)', '2026-05-27 09:03:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489764 -3.708232)'), GeomFromEWKT('SRID=4674;POINT (-38.48986 -3.708046)'))) / (select extract(epoch from '2026-05-27 09:03:25'::timestamp) - extract(epoch from '2026-05-27 09:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489764 -3.708232)'), GeomFromEWKT('SRID=4674;POINT (-38.48986 -3.708046)'))) / (select extract(epoch from '2026-05-27 09:03:25'::timestamp) - extract(epoch from '2026-05-27 09:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489921 -3.707844)', '2026-05-27 09:03:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48986 -3.708046)'), GeomFromEWKT('SRID=4674;POINT (-38.489921 -3.707844)'))) / (select extract(epoch from '2026-05-27 09:03:34'::timestamp) - extract(epoch from '2026-05-27 09:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48986 -3.708046)'), GeomFromEWKT('SRID=4674;POINT (-38.489921 -3.707844)'))) / (select extract(epoch from '2026-05-27 09:03:34'::timestamp) - extract(epoch from '2026-05-27 09:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489993 -3.70762)', '2026-05-27 09:03:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489921 -3.707844)'), GeomFromEWKT('SRID=4674;POINT (-38.489993 -3.70762)'))) / (select extract(epoch from '2026-05-27 09:03:44'::timestamp) - extract(epoch from '2026-05-27 09:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489921 -3.707844)'), GeomFromEWKT('SRID=4674;POINT (-38.489993 -3.70762)'))) / (select extract(epoch from '2026-05-27 09:03:44'::timestamp) - extract(epoch from '2026-05-27 09:03:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490095 -3.70746)', '2026-05-27 09:03:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489993 -3.70762)'), GeomFromEWKT('SRID=4674;POINT (-38.490095 -3.70746)'))) / (select extract(epoch from '2026-05-27 09:03:52'::timestamp) - extract(epoch from '2026-05-27 09:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489993 -3.70762)'), GeomFromEWKT('SRID=4674;POINT (-38.490095 -3.70746)'))) / (select extract(epoch from '2026-05-27 09:03:52'::timestamp) - extract(epoch from '2026-05-27 09:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490203 -3.707228)', '2026-05-27 09:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490095 -3.70746)'), GeomFromEWKT('SRID=4674;POINT (-38.490203 -3.707228)'))) / (select extract(epoch from '2026-05-27 09:04:03'::timestamp) - extract(epoch from '2026-05-27 09:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490095 -3.70746)'), GeomFromEWKT('SRID=4674;POINT (-38.490203 -3.707228)'))) / (select extract(epoch from '2026-05-27 09:04:03'::timestamp) - extract(epoch from '2026-05-27 09:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490235 -3.707019)', '2026-05-27 09:04:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490203 -3.707228)'), GeomFromEWKT('SRID=4674;POINT (-38.490235 -3.707019)'))) / (select extract(epoch from '2026-05-27 09:04:12'::timestamp) - extract(epoch from '2026-05-27 09:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490203 -3.707228)'), GeomFromEWKT('SRID=4674;POINT (-38.490235 -3.707019)'))) / (select extract(epoch from '2026-05-27 09:04:12'::timestamp) - extract(epoch from '2026-05-27 09:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490252 -3.706765)', '2026-05-27 09:04:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490235 -3.707019)'), GeomFromEWKT('SRID=4674;POINT (-38.490252 -3.706765)'))) / (select extract(epoch from '2026-05-27 09:04:23'::timestamp) - extract(epoch from '2026-05-27 09:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490235 -3.707019)'), GeomFromEWKT('SRID=4674;POINT (-38.490252 -3.706765)'))) / (select extract(epoch from '2026-05-27 09:04:23'::timestamp) - extract(epoch from '2026-05-27 09:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490309 -3.706588)', '2026-05-27 09:04:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490252 -3.706765)'), GeomFromEWKT('SRID=4674;POINT (-38.490309 -3.706588)'))) / (select extract(epoch from '2026-05-27 09:04:31'::timestamp) - extract(epoch from '2026-05-27 09:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490252 -3.706765)'), GeomFromEWKT('SRID=4674;POINT (-38.490309 -3.706588)'))) / (select extract(epoch from '2026-05-27 09:04:31'::timestamp) - extract(epoch from '2026-05-27 09:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490407 -3.706427)', '2026-05-27 09:04:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490309 -3.706588)'), GeomFromEWKT('SRID=4674;POINT (-38.490407 -3.706427)'))) / (select extract(epoch from '2026-05-27 09:04:39'::timestamp) - extract(epoch from '2026-05-27 09:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490309 -3.706588)'), GeomFromEWKT('SRID=4674;POINT (-38.490407 -3.706427)'))) / (select extract(epoch from '2026-05-27 09:04:39'::timestamp) - extract(epoch from '2026-05-27 09:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490509 -3.706268)', '2026-05-27 09:04:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490407 -3.706427)'), GeomFromEWKT('SRID=4674;POINT (-38.490509 -3.706268)'))) / (select extract(epoch from '2026-05-27 09:04:47'::timestamp) - extract(epoch from '2026-05-27 09:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490407 -3.706427)'), GeomFromEWKT('SRID=4674;POINT (-38.490509 -3.706268)'))) / (select extract(epoch from '2026-05-27 09:04:47'::timestamp) - extract(epoch from '2026-05-27 09:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490567 -3.706068)', '2026-05-27 09:04:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490509 -3.706268)'), GeomFromEWKT('SRID=4674;POINT (-38.490567 -3.706068)'))) / (select extract(epoch from '2026-05-27 09:04:56'::timestamp) - extract(epoch from '2026-05-27 09:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490509 -3.706268)'), GeomFromEWKT('SRID=4674;POINT (-38.490567 -3.706068)'))) / (select extract(epoch from '2026-05-27 09:04:56'::timestamp) - extract(epoch from '2026-05-27 09:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490576 -3.705855)', '2026-05-27 09:05:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490567 -3.706068)'), GeomFromEWKT('SRID=4674;POINT (-38.490576 -3.705855)'))) / (select extract(epoch from '2026-05-27 09:05:05'::timestamp) - extract(epoch from '2026-05-27 09:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490567 -3.706068)'), GeomFromEWKT('SRID=4674;POINT (-38.490576 -3.705855)'))) / (select extract(epoch from '2026-05-27 09:05:05'::timestamp) - extract(epoch from '2026-05-27 09:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490569 -3.705638)', '2026-05-27 09:05:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490576 -3.705855)'), GeomFromEWKT('SRID=4674;POINT (-38.490569 -3.705638)'))) / (select extract(epoch from '2026-05-27 09:05:14'::timestamp) - extract(epoch from '2026-05-27 09:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490576 -3.705855)'), GeomFromEWKT('SRID=4674;POINT (-38.490569 -3.705638)'))) / (select extract(epoch from '2026-05-27 09:05:14'::timestamp) - extract(epoch from '2026-05-27 09:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.49057 -3.705476)', '2026-05-27 09:05:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490569 -3.705638)'), GeomFromEWKT('SRID=4674;POINT (-38.49057 -3.705476)'))) / (select extract(epoch from '2026-05-27 09:05:21'::timestamp) - extract(epoch from '2026-05-27 09:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490569 -3.705638)'), GeomFromEWKT('SRID=4674;POINT (-38.49057 -3.705476)'))) / (select extract(epoch from '2026-05-27 09:05:21'::timestamp) - extract(epoch from '2026-05-27 09:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.49057 -3.705297)', '2026-05-27 09:05:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49057 -3.705476)'), GeomFromEWKT('SRID=4674;POINT (-38.49057 -3.705297)'))) / (select extract(epoch from '2026-05-27 09:05:29'::timestamp) - extract(epoch from '2026-05-27 09:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49057 -3.705476)'), GeomFromEWKT('SRID=4674;POINT (-38.49057 -3.705297)'))) / (select extract(epoch from '2026-05-27 09:05:29'::timestamp) - extract(epoch from '2026-05-27 09:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490575 -3.705119)', '2026-05-27 09:05:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49057 -3.705297)'), GeomFromEWKT('SRID=4674;POINT (-38.490575 -3.705119)'))) / (select extract(epoch from '2026-05-27 09:05:37'::timestamp) - extract(epoch from '2026-05-27 09:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49057 -3.705297)'), GeomFromEWKT('SRID=4674;POINT (-38.490575 -3.705119)'))) / (select extract(epoch from '2026-05-27 09:05:37'::timestamp) - extract(epoch from '2026-05-27 09:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490589 -3.704908)', '2026-05-27 09:05:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490575 -3.705119)'), GeomFromEWKT('SRID=4674;POINT (-38.490589 -3.704908)'))) / (select extract(epoch from '2026-05-27 09:05:46'::timestamp) - extract(epoch from '2026-05-27 09:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490575 -3.705119)'), GeomFromEWKT('SRID=4674;POINT (-38.490589 -3.704908)'))) / (select extract(epoch from '2026-05-27 09:05:46'::timestamp) - extract(epoch from '2026-05-27 09:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490621 -3.704704)', '2026-05-27 09:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490589 -3.704908)'), GeomFromEWKT('SRID=4674;POINT (-38.490621 -3.704704)'))) / (select extract(epoch from '2026-05-27 09:05:55'::timestamp) - extract(epoch from '2026-05-27 09:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490589 -3.704908)'), GeomFromEWKT('SRID=4674;POINT (-38.490621 -3.704704)'))) / (select extract(epoch from '2026-05-27 09:05:55'::timestamp) - extract(epoch from '2026-05-27 09:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490629 -3.704498)', '2026-05-27 09:06:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490621 -3.704704)'), GeomFromEWKT('SRID=4674;POINT (-38.490629 -3.704498)'))) / (select extract(epoch from '2026-05-27 09:06:04'::timestamp) - extract(epoch from '2026-05-27 09:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490621 -3.704704)'), GeomFromEWKT('SRID=4674;POINT (-38.490629 -3.704498)'))) / (select extract(epoch from '2026-05-27 09:06:04'::timestamp) - extract(epoch from '2026-05-27 09:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490621 -3.704297)', '2026-05-27 09:06:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490629 -3.704498)'), GeomFromEWKT('SRID=4674;POINT (-38.490621 -3.704297)'))) / (select extract(epoch from '2026-05-27 09:06:13'::timestamp) - extract(epoch from '2026-05-27 09:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490629 -3.704498)'), GeomFromEWKT('SRID=4674;POINT (-38.490621 -3.704297)'))) / (select extract(epoch from '2026-05-27 09:06:13'::timestamp) - extract(epoch from '2026-05-27 09:06:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490593 -3.70409)', '2026-05-27 09:06:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490621 -3.704297)'), GeomFromEWKT('SRID=4674;POINT (-38.490593 -3.70409)'))) / (select extract(epoch from '2026-05-27 09:06:22'::timestamp) - extract(epoch from '2026-05-27 09:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490621 -3.704297)'), GeomFromEWKT('SRID=4674;POINT (-38.490593 -3.70409)'))) / (select extract(epoch from '2026-05-27 09:06:22'::timestamp) - extract(epoch from '2026-05-27 09:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490573 -3.703879)', '2026-05-27 09:06:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490593 -3.70409)'), GeomFromEWKT('SRID=4674;POINT (-38.490573 -3.703879)'))) / (select extract(epoch from '2026-05-27 09:06:31'::timestamp) - extract(epoch from '2026-05-27 09:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490593 -3.70409)'), GeomFromEWKT('SRID=4674;POINT (-38.490573 -3.703879)'))) / (select extract(epoch from '2026-05-27 09:06:31'::timestamp) - extract(epoch from '2026-05-27 09:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490562 -3.703672)', '2026-05-27 09:06:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490573 -3.703879)'), GeomFromEWKT('SRID=4674;POINT (-38.490562 -3.703672)'))) / (select extract(epoch from '2026-05-27 09:06:40'::timestamp) - extract(epoch from '2026-05-27 09:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490573 -3.703879)'), GeomFromEWKT('SRID=4674;POINT (-38.490562 -3.703672)'))) / (select extract(epoch from '2026-05-27 09:06:40'::timestamp) - extract(epoch from '2026-05-27 09:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490542 -3.703514)', '2026-05-27 09:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490562 -3.703672)'), GeomFromEWKT('SRID=4674;POINT (-38.490542 -3.703514)'))) / (select extract(epoch from '2026-05-27 09:06:47'::timestamp) - extract(epoch from '2026-05-27 09:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490562 -3.703672)'), GeomFromEWKT('SRID=4674;POINT (-38.490542 -3.703514)'))) / (select extract(epoch from '2026-05-27 09:06:47'::timestamp) - extract(epoch from '2026-05-27 09:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490527 -3.703325)', '2026-05-27 09:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490542 -3.703514)'), GeomFromEWKT('SRID=4674;POINT (-38.490527 -3.703325)'))) / (select extract(epoch from '2026-05-27 09:06:55'::timestamp) - extract(epoch from '2026-05-27 09:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490542 -3.703514)'), GeomFromEWKT('SRID=4674;POINT (-38.490527 -3.703325)'))) / (select extract(epoch from '2026-05-27 09:06:55'::timestamp) - extract(epoch from '2026-05-27 09:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490525 -3.703142)', '2026-05-27 09:07:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490527 -3.703325)'), GeomFromEWKT('SRID=4674;POINT (-38.490525 -3.703142)'))) / (select extract(epoch from '2026-05-27 09:07:03'::timestamp) - extract(epoch from '2026-05-27 09:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490527 -3.703325)'), GeomFromEWKT('SRID=4674;POINT (-38.490525 -3.703142)'))) / (select extract(epoch from '2026-05-27 09:07:03'::timestamp) - extract(epoch from '2026-05-27 09:06:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490512 -3.702951)', '2026-05-27 09:07:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490525 -3.703142)'), GeomFromEWKT('SRID=4674;POINT (-38.490512 -3.702951)'))) / (select extract(epoch from '2026-05-27 09:07:11'::timestamp) - extract(epoch from '2026-05-27 09:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490525 -3.703142)'), GeomFromEWKT('SRID=4674;POINT (-38.490512 -3.702951)'))) / (select extract(epoch from '2026-05-27 09:07:11'::timestamp) - extract(epoch from '2026-05-27 09:07:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490497 -3.702768)', '2026-05-27 09:07:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490512 -3.702951)'), GeomFromEWKT('SRID=4674;POINT (-38.490497 -3.702768)'))) / (select extract(epoch from '2026-05-27 09:07:19'::timestamp) - extract(epoch from '2026-05-27 09:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490512 -3.702951)'), GeomFromEWKT('SRID=4674;POINT (-38.490497 -3.702768)'))) / (select extract(epoch from '2026-05-27 09:07:19'::timestamp) - extract(epoch from '2026-05-27 09:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490476 -3.702601)', '2026-05-27 09:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490497 -3.702768)'), GeomFromEWKT('SRID=4674;POINT (-38.490476 -3.702601)'))) / (select extract(epoch from '2026-05-27 09:07:27'::timestamp) - extract(epoch from '2026-05-27 09:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490497 -3.702768)'), GeomFromEWKT('SRID=4674;POINT (-38.490476 -3.702601)'))) / (select extract(epoch from '2026-05-27 09:07:27'::timestamp) - extract(epoch from '2026-05-27 09:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490454 -3.702466)', '2026-05-27 09:07:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490476 -3.702601)'), GeomFromEWKT('SRID=4674;POINT (-38.490454 -3.702466)'))) / (select extract(epoch from '2026-05-27 09:07:33'::timestamp) - extract(epoch from '2026-05-27 09:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490476 -3.702601)'), GeomFromEWKT('SRID=4674;POINT (-38.490454 -3.702466)'))) / (select extract(epoch from '2026-05-27 09:07:33'::timestamp) - extract(epoch from '2026-05-27 09:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490448 -3.702338)', '2026-05-27 09:07:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490454 -3.702466)'), GeomFromEWKT('SRID=4674;POINT (-38.490448 -3.702338)'))) / (select extract(epoch from '2026-05-27 09:07:39'::timestamp) - extract(epoch from '2026-05-27 09:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490454 -3.702466)'), GeomFromEWKT('SRID=4674;POINT (-38.490448 -3.702338)'))) / (select extract(epoch from '2026-05-27 09:07:39'::timestamp) - extract(epoch from '2026-05-27 09:07:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490438 -3.702127)', '2026-05-27 09:07:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490448 -3.702338)'), GeomFromEWKT('SRID=4674;POINT (-38.490438 -3.702127)'))) / (select extract(epoch from '2026-05-27 09:07:48'::timestamp) - extract(epoch from '2026-05-27 09:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490448 -3.702338)'), GeomFromEWKT('SRID=4674;POINT (-38.490438 -3.702127)'))) / (select extract(epoch from '2026-05-27 09:07:48'::timestamp) - extract(epoch from '2026-05-27 09:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490423 -3.701962)', '2026-05-27 09:07:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490438 -3.702127)'), GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.701962)'))) / (select extract(epoch from '2026-05-27 09:07:55'::timestamp) - extract(epoch from '2026-05-27 09:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490438 -3.702127)'), GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.701962)'))) / (select extract(epoch from '2026-05-27 09:07:55'::timestamp) - extract(epoch from '2026-05-27 09:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490389 -3.701754)', '2026-05-27 09:08:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.701962)'), GeomFromEWKT('SRID=4674;POINT (-38.490389 -3.701754)'))) / (select extract(epoch from '2026-05-27 09:08:04'::timestamp) - extract(epoch from '2026-05-27 09:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.701962)'), GeomFromEWKT('SRID=4674;POINT (-38.490389 -3.701754)'))) / (select extract(epoch from '2026-05-27 09:08:04'::timestamp) - extract(epoch from '2026-05-27 09:07:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490358 -3.701554)', '2026-05-27 09:08:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490389 -3.701754)'), GeomFromEWKT('SRID=4674;POINT (-38.490358 -3.701554)'))) / (select extract(epoch from '2026-05-27 09:08:13'::timestamp) - extract(epoch from '2026-05-27 09:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490389 -3.701754)'), GeomFromEWKT('SRID=4674;POINT (-38.490358 -3.701554)'))) / (select extract(epoch from '2026-05-27 09:08:13'::timestamp) - extract(epoch from '2026-05-27 09:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490355 -3.701378)', '2026-05-27 09:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490358 -3.701554)'), GeomFromEWKT('SRID=4674;POINT (-38.490355 -3.701378)'))) / (select extract(epoch from '2026-05-27 09:08:21'::timestamp) - extract(epoch from '2026-05-27 09:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490358 -3.701554)'), GeomFromEWKT('SRID=4674;POINT (-38.490355 -3.701378)'))) / (select extract(epoch from '2026-05-27 09:08:21'::timestamp) - extract(epoch from '2026-05-27 09:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490331 -3.701208)', '2026-05-27 09:08:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490355 -3.701378)'), GeomFromEWKT('SRID=4674;POINT (-38.490331 -3.701208)'))) / (select extract(epoch from '2026-05-27 09:08:29'::timestamp) - extract(epoch from '2026-05-27 09:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490355 -3.701378)'), GeomFromEWKT('SRID=4674;POINT (-38.490331 -3.701208)'))) / (select extract(epoch from '2026-05-27 09:08:29'::timestamp) - extract(epoch from '2026-05-27 09:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490285 -3.701053)', '2026-05-27 09:08:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490331 -3.701208)'), GeomFromEWKT('SRID=4674;POINT (-38.490285 -3.701053)'))) / (select extract(epoch from '2026-05-27 09:08:37'::timestamp) - extract(epoch from '2026-05-27 09:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490331 -3.701208)'), GeomFromEWKT('SRID=4674;POINT (-38.490285 -3.701053)'))) / (select extract(epoch from '2026-05-27 09:08:37'::timestamp) - extract(epoch from '2026-05-27 09:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490244 -3.700944)', '2026-05-27 09:08:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490285 -3.701053)'), GeomFromEWKT('SRID=4674;POINT (-38.490244 -3.700944)'))) / (select extract(epoch from '2026-05-27 09:08:45'::timestamp) - extract(epoch from '2026-05-27 09:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490285 -3.701053)'), GeomFromEWKT('SRID=4674;POINT (-38.490244 -3.700944)'))) / (select extract(epoch from '2026-05-27 09:08:45'::timestamp) - extract(epoch from '2026-05-27 09:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490212 -3.700869)', '2026-05-27 09:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490244 -3.700944)'), GeomFromEWKT('SRID=4674;POINT (-38.490212 -3.700869)'))) / (select extract(epoch from '2026-05-27 09:08:53'::timestamp) - extract(epoch from '2026-05-27 09:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490244 -3.700944)'), GeomFromEWKT('SRID=4674;POINT (-38.490212 -3.700869)'))) / (select extract(epoch from '2026-05-27 09:08:53'::timestamp) - extract(epoch from '2026-05-27 09:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490189 -3.700823)', '2026-05-27 09:09:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490212 -3.700869)'), GeomFromEWKT('SRID=4674;POINT (-38.490189 -3.700823)'))) / (select extract(epoch from '2026-05-27 09:09:00'::timestamp) - extract(epoch from '2026-05-27 09:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490212 -3.700869)'), GeomFromEWKT('SRID=4674;POINT (-38.490189 -3.700823)'))) / (select extract(epoch from '2026-05-27 09:09:00'::timestamp) - extract(epoch from '2026-05-27 09:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490159 -3.700753)', '2026-05-27 09:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490189 -3.700823)'), GeomFromEWKT('SRID=4674;POINT (-38.490159 -3.700753)'))) / (select extract(epoch from '2026-05-27 09:09:11'::timestamp) - extract(epoch from '2026-05-27 09:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490189 -3.700823)'), GeomFromEWKT('SRID=4674;POINT (-38.490159 -3.700753)'))) / (select extract(epoch from '2026-05-27 09:09:11'::timestamp) - extract(epoch from '2026-05-27 09:09:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490141 -3.700693)', '2026-05-27 09:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490159 -3.700753)'), GeomFromEWKT('SRID=4674;POINT (-38.490141 -3.700693)'))) / (select extract(epoch from '2026-05-27 09:09:23'::timestamp) - extract(epoch from '2026-05-27 09:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490159 -3.700753)'), GeomFromEWKT('SRID=4674;POINT (-38.490141 -3.700693)'))) / (select extract(epoch from '2026-05-27 09:09:23'::timestamp) - extract(epoch from '2026-05-27 09:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490127 -3.700641)', '2026-05-27 09:09:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490141 -3.700693)'), GeomFromEWKT('SRID=4674;POINT (-38.490127 -3.700641)'))) / (select extract(epoch from '2026-05-27 09:09:34'::timestamp) - extract(epoch from '2026-05-27 09:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490141 -3.700693)'), GeomFromEWKT('SRID=4674;POINT (-38.490127 -3.700641)'))) / (select extract(epoch from '2026-05-27 09:09:34'::timestamp) - extract(epoch from '2026-05-27 09:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490135 -3.700596)', '2026-05-27 09:09:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490127 -3.700641)'), GeomFromEWKT('SRID=4674;POINT (-38.490135 -3.700596)'))) / (select extract(epoch from '2026-05-27 09:09:44'::timestamp) - extract(epoch from '2026-05-27 09:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490127 -3.700641)'), GeomFromEWKT('SRID=4674;POINT (-38.490135 -3.700596)'))) / (select extract(epoch from '2026-05-27 09:09:44'::timestamp) - extract(epoch from '2026-05-27 09:09:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490154 -3.700549)', '2026-05-27 09:09:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490135 -3.700596)'), GeomFromEWKT('SRID=4674;POINT (-38.490154 -3.700549)'))) / (select extract(epoch from '2026-05-27 09:09:55'::timestamp) - extract(epoch from '2026-05-27 09:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490135 -3.700596)'), GeomFromEWKT('SRID=4674;POINT (-38.490154 -3.700549)'))) / (select extract(epoch from '2026-05-27 09:09:55'::timestamp) - extract(epoch from '2026-05-27 09:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490164 -3.700498)', '2026-05-27 09:10:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490154 -3.700549)'), GeomFromEWKT('SRID=4674;POINT (-38.490164 -3.700498)'))) / (select extract(epoch from '2026-05-27 09:10:05'::timestamp) - extract(epoch from '2026-05-27 09:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490154 -3.700549)'), GeomFromEWKT('SRID=4674;POINT (-38.490164 -3.700498)'))) / (select extract(epoch from '2026-05-27 09:10:05'::timestamp) - extract(epoch from '2026-05-27 09:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490173 -3.70044)', '2026-05-27 09:10:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490164 -3.700498)'), GeomFromEWKT('SRID=4674;POINT (-38.490173 -3.70044)'))) / (select extract(epoch from '2026-05-27 09:10:15'::timestamp) - extract(epoch from '2026-05-27 09:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490164 -3.700498)'), GeomFromEWKT('SRID=4674;POINT (-38.490173 -3.70044)'))) / (select extract(epoch from '2026-05-27 09:10:15'::timestamp) - extract(epoch from '2026-05-27 09:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490176 -3.70038)', '2026-05-27 09:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490173 -3.70044)'), GeomFromEWKT('SRID=4674;POINT (-38.490176 -3.70038)'))) / (select extract(epoch from '2026-05-27 09:10:27'::timestamp) - extract(epoch from '2026-05-27 09:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490173 -3.70044)'), GeomFromEWKT('SRID=4674;POINT (-38.490176 -3.70038)'))) / (select extract(epoch from '2026-05-27 09:10:27'::timestamp) - extract(epoch from '2026-05-27 09:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490192 -3.700345)', '2026-05-27 09:10:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490176 -3.70038)'), GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.700345)'))) / (select extract(epoch from '2026-05-27 09:10:35'::timestamp) - extract(epoch from '2026-05-27 09:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490176 -3.70038)'), GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.700345)'))) / (select extract(epoch from '2026-05-27 09:10:35'::timestamp) - extract(epoch from '2026-05-27 09:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490186 -3.700297)', '2026-05-27 09:10:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.700345)'), GeomFromEWKT('SRID=4674;POINT (-38.490186 -3.700297)'))) / (select extract(epoch from '2026-05-27 09:10:44'::timestamp) - extract(epoch from '2026-05-27 09:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.700345)'), GeomFromEWKT('SRID=4674;POINT (-38.490186 -3.700297)'))) / (select extract(epoch from '2026-05-27 09:10:44'::timestamp) - extract(epoch from '2026-05-27 09:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490187 -3.700262)', '2026-05-27 09:10:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490186 -3.700297)'), GeomFromEWKT('SRID=4674;POINT (-38.490187 -3.700262)'))) / (select extract(epoch from '2026-05-27 09:10:51'::timestamp) - extract(epoch from '2026-05-27 09:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490186 -3.700297)'), GeomFromEWKT('SRID=4674;POINT (-38.490187 -3.700262)'))) / (select extract(epoch from '2026-05-27 09:10:51'::timestamp) - extract(epoch from '2026-05-27 09:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490192 -3.700172)', '2026-05-27 09:11:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490187 -3.700262)'), GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.700172)'))) / (select extract(epoch from '2026-05-27 09:11:05'::timestamp) - extract(epoch from '2026-05-27 09:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490187 -3.700262)'), GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.700172)'))) / (select extract(epoch from '2026-05-27 09:11:05'::timestamp) - extract(epoch from '2026-05-27 09:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490202 -3.700118)', '2026-05-27 09:11:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.700172)'), GeomFromEWKT('SRID=4674;POINT (-38.490202 -3.700118)'))) / (select extract(epoch from '2026-05-27 09:11:15'::timestamp) - extract(epoch from '2026-05-27 09:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.700172)'), GeomFromEWKT('SRID=4674;POINT (-38.490202 -3.700118)'))) / (select extract(epoch from '2026-05-27 09:11:15'::timestamp) - extract(epoch from '2026-05-27 09:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490209 -3.700055)', '2026-05-27 09:11:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490202 -3.700118)'), GeomFromEWKT('SRID=4674;POINT (-38.490209 -3.700055)'))) / (select extract(epoch from '2026-05-27 09:11:26'::timestamp) - extract(epoch from '2026-05-27 09:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490202 -3.700118)'), GeomFromEWKT('SRID=4674;POINT (-38.490209 -3.700055)'))) / (select extract(epoch from '2026-05-27 09:11:26'::timestamp) - extract(epoch from '2026-05-27 09:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490217 -3.699988)', '2026-05-27 09:11:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490209 -3.700055)'), GeomFromEWKT('SRID=4674;POINT (-38.490217 -3.699988)'))) / (select extract(epoch from '2026-05-27 09:11:37'::timestamp) - extract(epoch from '2026-05-27 09:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490209 -3.700055)'), GeomFromEWKT('SRID=4674;POINT (-38.490217 -3.699988)'))) / (select extract(epoch from '2026-05-27 09:11:37'::timestamp) - extract(epoch from '2026-05-27 09:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490216 -3.699942)', '2026-05-27 09:11:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490217 -3.699988)'), GeomFromEWKT('SRID=4674;POINT (-38.490216 -3.699942)'))) / (select extract(epoch from '2026-05-27 09:11:47'::timestamp) - extract(epoch from '2026-05-27 09:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490217 -3.699988)'), GeomFromEWKT('SRID=4674;POINT (-38.490216 -3.699942)'))) / (select extract(epoch from '2026-05-27 09:11:47'::timestamp) - extract(epoch from '2026-05-27 09:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490215 -3.699904)', '2026-05-27 09:11:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490216 -3.699942)'), GeomFromEWKT('SRID=4674;POINT (-38.490215 -3.699904)'))) / (select extract(epoch from '2026-05-27 09:11:55'::timestamp) - extract(epoch from '2026-05-27 09:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490216 -3.699942)'), GeomFromEWKT('SRID=4674;POINT (-38.490215 -3.699904)'))) / (select extract(epoch from '2026-05-27 09:11:55'::timestamp) - extract(epoch from '2026-05-27 09:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490225 -3.699842)', '2026-05-27 09:12:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490215 -3.699904)'), GeomFromEWKT('SRID=4674;POINT (-38.490225 -3.699842)'))) / (select extract(epoch from '2026-05-27 09:12:07'::timestamp) - extract(epoch from '2026-05-27 09:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490215 -3.699904)'), GeomFromEWKT('SRID=4674;POINT (-38.490225 -3.699842)'))) / (select extract(epoch from '2026-05-27 09:12:07'::timestamp) - extract(epoch from '2026-05-27 09:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490231 -3.69979)', '2026-05-27 09:12:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490225 -3.699842)'), GeomFromEWKT('SRID=4674;POINT (-38.490231 -3.69979)'))) / (select extract(epoch from '2026-05-27 09:12:16'::timestamp) - extract(epoch from '2026-05-27 09:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490225 -3.699842)'), GeomFromEWKT('SRID=4674;POINT (-38.490231 -3.69979)'))) / (select extract(epoch from '2026-05-27 09:12:16'::timestamp) - extract(epoch from '2026-05-27 09:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490243 -3.699746)', '2026-05-27 09:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490231 -3.69979)'), GeomFromEWKT('SRID=4674;POINT (-38.490243 -3.699746)'))) / (select extract(epoch from '2026-05-27 09:12:24'::timestamp) - extract(epoch from '2026-05-27 09:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490231 -3.69979)'), GeomFromEWKT('SRID=4674;POINT (-38.490243 -3.699746)'))) / (select extract(epoch from '2026-05-27 09:12:24'::timestamp) - extract(epoch from '2026-05-27 09:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490259 -3.699667)', '2026-05-27 09:12:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490243 -3.699746)'), GeomFromEWKT('SRID=4674;POINT (-38.490259 -3.699667)'))) / (select extract(epoch from '2026-05-27 09:12:36'::timestamp) - extract(epoch from '2026-05-27 09:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490243 -3.699746)'), GeomFromEWKT('SRID=4674;POINT (-38.490259 -3.699667)'))) / (select extract(epoch from '2026-05-27 09:12:36'::timestamp) - extract(epoch from '2026-05-27 09:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490257 -3.699606)', '2026-05-27 09:12:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490259 -3.699667)'), GeomFromEWKT('SRID=4674;POINT (-38.490257 -3.699606)'))) / (select extract(epoch from '2026-05-27 09:12:47'::timestamp) - extract(epoch from '2026-05-27 09:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490259 -3.699667)'), GeomFromEWKT('SRID=4674;POINT (-38.490257 -3.699606)'))) / (select extract(epoch from '2026-05-27 09:12:47'::timestamp) - extract(epoch from '2026-05-27 09:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490251 -3.699542)', '2026-05-27 09:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490257 -3.699606)'), GeomFromEWKT('SRID=4674;POINT (-38.490251 -3.699542)'))) / (select extract(epoch from '2026-05-27 09:12:58'::timestamp) - extract(epoch from '2026-05-27 09:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490257 -3.699606)'), GeomFromEWKT('SRID=4674;POINT (-38.490251 -3.699542)'))) / (select extract(epoch from '2026-05-27 09:12:58'::timestamp) - extract(epoch from '2026-05-27 09:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490247 -3.699497)', '2026-05-27 09:13:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490251 -3.699542)'), GeomFromEWKT('SRID=4674;POINT (-38.490247 -3.699497)'))) / (select extract(epoch from '2026-05-27 09:13:07'::timestamp) - extract(epoch from '2026-05-27 09:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490251 -3.699542)'), GeomFromEWKT('SRID=4674;POINT (-38.490247 -3.699497)'))) / (select extract(epoch from '2026-05-27 09:13:07'::timestamp) - extract(epoch from '2026-05-27 09:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.49024 -3.699455)', '2026-05-27 09:13:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490247 -3.699497)'), GeomFromEWKT('SRID=4674;POINT (-38.49024 -3.699455)'))) / (select extract(epoch from '2026-05-27 09:13:17'::timestamp) - extract(epoch from '2026-05-27 09:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490247 -3.699497)'), GeomFromEWKT('SRID=4674;POINT (-38.49024 -3.699455)'))) / (select extract(epoch from '2026-05-27 09:13:17'::timestamp) - extract(epoch from '2026-05-27 09:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490242 -3.699431)', '2026-05-27 09:13:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49024 -3.699455)'), GeomFromEWKT('SRID=4674;POINT (-38.490242 -3.699431)'))) / (select extract(epoch from '2026-05-27 09:13:25'::timestamp) - extract(epoch from '2026-05-27 09:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49024 -3.699455)'), GeomFromEWKT('SRID=4674;POINT (-38.490242 -3.699431)'))) / (select extract(epoch from '2026-05-27 09:13:25'::timestamp) - extract(epoch from '2026-05-27 09:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.49025 -3.699412)', '2026-05-27 09:13:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490242 -3.699431)'), GeomFromEWKT('SRID=4674;POINT (-38.49025 -3.699412)'))) / (select extract(epoch from '2026-05-27 09:13:36'::timestamp) - extract(epoch from '2026-05-27 09:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490242 -3.699431)'), GeomFromEWKT('SRID=4674;POINT (-38.49025 -3.699412)'))) / (select extract(epoch from '2026-05-27 09:13:36'::timestamp) - extract(epoch from '2026-05-27 09:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490252 -3.69936)', '2026-05-27 09:13:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49025 -3.699412)'), GeomFromEWKT('SRID=4674;POINT (-38.490252 -3.69936)'))) / (select extract(epoch from '2026-05-27 09:13:48'::timestamp) - extract(epoch from '2026-05-27 09:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49025 -3.699412)'), GeomFromEWKT('SRID=4674;POINT (-38.490252 -3.69936)'))) / (select extract(epoch from '2026-05-27 09:13:48'::timestamp) - extract(epoch from '2026-05-27 09:13:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490258 -3.699335)', '2026-05-27 09:13:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490252 -3.69936)'), GeomFromEWKT('SRID=4674;POINT (-38.490258 -3.699335)'))) / (select extract(epoch from '2026-05-27 09:13:54'::timestamp) - extract(epoch from '2026-05-27 09:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490252 -3.69936)'), GeomFromEWKT('SRID=4674;POINT (-38.490258 -3.699335)'))) / (select extract(epoch from '2026-05-27 09:13:54'::timestamp) - extract(epoch from '2026-05-27 09:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.49025 -3.699267)', '2026-05-27 09:14:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490258 -3.699335)'), GeomFromEWKT('SRID=4674;POINT (-38.49025 -3.699267)'))) / (select extract(epoch from '2026-05-27 09:14:05'::timestamp) - extract(epoch from '2026-05-27 09:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490258 -3.699335)'), GeomFromEWKT('SRID=4674;POINT (-38.49025 -3.699267)'))) / (select extract(epoch from '2026-05-27 09:14:05'::timestamp) - extract(epoch from '2026-05-27 09:13:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490236 -3.699226)', '2026-05-27 09:14:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49025 -3.699267)'), GeomFromEWKT('SRID=4674;POINT (-38.490236 -3.699226)'))) / (select extract(epoch from '2026-05-27 09:14:12'::timestamp) - extract(epoch from '2026-05-27 09:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49025 -3.699267)'), GeomFromEWKT('SRID=4674;POINT (-38.490236 -3.699226)'))) / (select extract(epoch from '2026-05-27 09:14:12'::timestamp) - extract(epoch from '2026-05-27 09:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490227 -3.699169)', '2026-05-27 09:14:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490236 -3.699226)'), GeomFromEWKT('SRID=4674;POINT (-38.490227 -3.699169)'))) / (select extract(epoch from '2026-05-27 09:14:23'::timestamp) - extract(epoch from '2026-05-27 09:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490236 -3.699226)'), GeomFromEWKT('SRID=4674;POINT (-38.490227 -3.699169)'))) / (select extract(epoch from '2026-05-27 09:14:23'::timestamp) - extract(epoch from '2026-05-27 09:14:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490233 -3.699115)', '2026-05-27 09:14:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490227 -3.699169)'), GeomFromEWKT('SRID=4674;POINT (-38.490233 -3.699115)'))) / (select extract(epoch from '2026-05-27 09:14:36'::timestamp) - extract(epoch from '2026-05-27 09:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490227 -3.699169)'), GeomFromEWKT('SRID=4674;POINT (-38.490233 -3.699115)'))) / (select extract(epoch from '2026-05-27 09:14:36'::timestamp) - extract(epoch from '2026-05-27 09:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490223 -3.699072)', '2026-05-27 09:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490233 -3.699115)'), GeomFromEWKT('SRID=4674;POINT (-38.490223 -3.699072)'))) / (select extract(epoch from '2026-05-27 09:14:45'::timestamp) - extract(epoch from '2026-05-27 09:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490233 -3.699115)'), GeomFromEWKT('SRID=4674;POINT (-38.490223 -3.699072)'))) / (select extract(epoch from '2026-05-27 09:14:45'::timestamp) - extract(epoch from '2026-05-27 09:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490231 -3.699029)', '2026-05-27 09:14:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490223 -3.699072)'), GeomFromEWKT('SRID=4674;POINT (-38.490231 -3.699029)'))) / (select extract(epoch from '2026-05-27 09:14:57'::timestamp) - extract(epoch from '2026-05-27 09:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490223 -3.699072)'), GeomFromEWKT('SRID=4674;POINT (-38.490231 -3.699029)'))) / (select extract(epoch from '2026-05-27 09:14:57'::timestamp) - extract(epoch from '2026-05-27 09:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490233 -3.698944)', '2026-05-27 09:15:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490231 -3.699029)'), GeomFromEWKT('SRID=4674;POINT (-38.490233 -3.698944)'))) / (select extract(epoch from '2026-05-27 09:15:09'::timestamp) - extract(epoch from '2026-05-27 09:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490231 -3.699029)'), GeomFromEWKT('SRID=4674;POINT (-38.490233 -3.698944)'))) / (select extract(epoch from '2026-05-27 09:15:09'::timestamp) - extract(epoch from '2026-05-27 09:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490192 -3.698856)', '2026-05-27 09:15:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490233 -3.698944)'), GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.698856)'))) / (select extract(epoch from '2026-05-27 09:15:22'::timestamp) - extract(epoch from '2026-05-27 09:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490233 -3.698944)'), GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.698856)'))) / (select extract(epoch from '2026-05-27 09:15:22'::timestamp) - extract(epoch from '2026-05-27 09:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490173 -3.698799)', '2026-05-27 09:15:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.698856)'), GeomFromEWKT('SRID=4674;POINT (-38.490173 -3.698799)'))) / (select extract(epoch from '2026-05-27 09:15:34'::timestamp) - extract(epoch from '2026-05-27 09:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490192 -3.698856)'), GeomFromEWKT('SRID=4674;POINT (-38.490173 -3.698799)'))) / (select extract(epoch from '2026-05-27 09:15:34'::timestamp) - extract(epoch from '2026-05-27 09:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.49013 -3.698711)', '2026-05-27 09:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490173 -3.698799)'), GeomFromEWKT('SRID=4674;POINT (-38.49013 -3.698711)'))) / (select extract(epoch from '2026-05-27 09:15:43'::timestamp) - extract(epoch from '2026-05-27 09:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490173 -3.698799)'), GeomFromEWKT('SRID=4674;POINT (-38.49013 -3.698711)'))) / (select extract(epoch from '2026-05-27 09:15:43'::timestamp) - extract(epoch from '2026-05-27 09:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490089 -3.698638)', '2026-05-27 09:15:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49013 -3.698711)'), GeomFromEWKT('SRID=4674;POINT (-38.490089 -3.698638)'))) / (select extract(epoch from '2026-05-27 09:15:49'::timestamp) - extract(epoch from '2026-05-27 09:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49013 -3.698711)'), GeomFromEWKT('SRID=4674;POINT (-38.490089 -3.698638)'))) / (select extract(epoch from '2026-05-27 09:15:49'::timestamp) - extract(epoch from '2026-05-27 09:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490024 -3.69853)', '2026-05-27 09:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490089 -3.698638)'), GeomFromEWKT('SRID=4674;POINT (-38.490024 -3.69853)'))) / (select extract(epoch from '2026-05-27 09:15:58'::timestamp) - extract(epoch from '2026-05-27 09:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490089 -3.698638)'), GeomFromEWKT('SRID=4674;POINT (-38.490024 -3.69853)'))) / (select extract(epoch from '2026-05-27 09:15:58'::timestamp) - extract(epoch from '2026-05-27 09:15:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489976 -3.698453)', '2026-05-27 09:16:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490024 -3.69853)'), GeomFromEWKT('SRID=4674;POINT (-38.489976 -3.698453)'))) / (select extract(epoch from '2026-05-27 09:16:05'::timestamp) - extract(epoch from '2026-05-27 09:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490024 -3.69853)'), GeomFromEWKT('SRID=4674;POINT (-38.489976 -3.698453)'))) / (select extract(epoch from '2026-05-27 09:16:05'::timestamp) - extract(epoch from '2026-05-27 09:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489923 -3.69836)', '2026-05-27 09:16:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489976 -3.698453)'), GeomFromEWKT('SRID=4674;POINT (-38.489923 -3.69836)'))) / (select extract(epoch from '2026-05-27 09:16:14'::timestamp) - extract(epoch from '2026-05-27 09:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489976 -3.698453)'), GeomFromEWKT('SRID=4674;POINT (-38.489923 -3.69836)'))) / (select extract(epoch from '2026-05-27 09:16:14'::timestamp) - extract(epoch from '2026-05-27 09:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489885 -3.698274)', '2026-05-27 09:16:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489923 -3.69836)'), GeomFromEWKT('SRID=4674;POINT (-38.489885 -3.698274)'))) / (select extract(epoch from '2026-05-27 09:16:22'::timestamp) - extract(epoch from '2026-05-27 09:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489923 -3.69836)'), GeomFromEWKT('SRID=4674;POINT (-38.489885 -3.698274)'))) / (select extract(epoch from '2026-05-27 09:16:22'::timestamp) - extract(epoch from '2026-05-27 09:16:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489851 -3.698188)', '2026-05-27 09:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489885 -3.698274)'), GeomFromEWKT('SRID=4674;POINT (-38.489851 -3.698188)'))) / (select extract(epoch from '2026-05-27 09:16:28'::timestamp) - extract(epoch from '2026-05-27 09:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489885 -3.698274)'), GeomFromEWKT('SRID=4674;POINT (-38.489851 -3.698188)'))) / (select extract(epoch from '2026-05-27 09:16:28'::timestamp) - extract(epoch from '2026-05-27 09:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.4898 -3.698066)', '2026-05-27 09:16:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489851 -3.698188)'), GeomFromEWKT('SRID=4674;POINT (-38.4898 -3.698066)'))) / (select extract(epoch from '2026-05-27 09:16:36'::timestamp) - extract(epoch from '2026-05-27 09:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489851 -3.698188)'), GeomFromEWKT('SRID=4674;POINT (-38.4898 -3.698066)'))) / (select extract(epoch from '2026-05-27 09:16:36'::timestamp) - extract(epoch from '2026-05-27 09:16:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489755 -3.697925)', '2026-05-27 09:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4898 -3.698066)'), GeomFromEWKT('SRID=4674;POINT (-38.489755 -3.697925)'))) / (select extract(epoch from '2026-05-27 09:16:44'::timestamp) - extract(epoch from '2026-05-27 09:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4898 -3.698066)'), GeomFromEWKT('SRID=4674;POINT (-38.489755 -3.697925)'))) / (select extract(epoch from '2026-05-27 09:16:44'::timestamp) - extract(epoch from '2026-05-27 09:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489697 -3.697785)', '2026-05-27 09:16:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489755 -3.697925)'), GeomFromEWKT('SRID=4674;POINT (-38.489697 -3.697785)'))) / (select extract(epoch from '2026-05-27 09:16:52'::timestamp) - extract(epoch from '2026-05-27 09:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489755 -3.697925)'), GeomFromEWKT('SRID=4674;POINT (-38.489697 -3.697785)'))) / (select extract(epoch from '2026-05-27 09:16:52'::timestamp) - extract(epoch from '2026-05-27 09:16:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489621 -3.697621)', '2026-05-27 09:17:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489697 -3.697785)'), GeomFromEWKT('SRID=4674;POINT (-38.489621 -3.697621)'))) / (select extract(epoch from '2026-05-27 09:17:01'::timestamp) - extract(epoch from '2026-05-27 09:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489697 -3.697785)'), GeomFromEWKT('SRID=4674;POINT (-38.489621 -3.697621)'))) / (select extract(epoch from '2026-05-27 09:17:01'::timestamp) - extract(epoch from '2026-05-27 09:16:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489542 -3.697498)', '2026-05-27 09:17:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489621 -3.697621)'), GeomFromEWKT('SRID=4674;POINT (-38.489542 -3.697498)'))) / (select extract(epoch from '2026-05-27 09:17:08'::timestamp) - extract(epoch from '2026-05-27 09:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489621 -3.697621)'), GeomFromEWKT('SRID=4674;POINT (-38.489542 -3.697498)'))) / (select extract(epoch from '2026-05-27 09:17:08'::timestamp) - extract(epoch from '2026-05-27 09:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489483 -3.69739)', '2026-05-27 09:17:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489542 -3.697498)'), GeomFromEWKT('SRID=4674;POINT (-38.489483 -3.69739)'))) / (select extract(epoch from '2026-05-27 09:17:14'::timestamp) - extract(epoch from '2026-05-27 09:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489542 -3.697498)'), GeomFromEWKT('SRID=4674;POINT (-38.489483 -3.69739)'))) / (select extract(epoch from '2026-05-27 09:17:14'::timestamp) - extract(epoch from '2026-05-27 09:17:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489402 -3.697266)', '2026-05-27 09:17:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489483 -3.69739)'), GeomFromEWKT('SRID=4674;POINT (-38.489402 -3.697266)'))) / (select extract(epoch from '2026-05-27 09:17:21'::timestamp) - extract(epoch from '2026-05-27 09:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489483 -3.69739)'), GeomFromEWKT('SRID=4674;POINT (-38.489402 -3.697266)'))) / (select extract(epoch from '2026-05-27 09:17:21'::timestamp) - extract(epoch from '2026-05-27 09:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489346 -3.69716)', '2026-05-27 09:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489402 -3.697266)'), GeomFromEWKT('SRID=4674;POINT (-38.489346 -3.69716)'))) / (select extract(epoch from '2026-05-27 09:17:27'::timestamp) - extract(epoch from '2026-05-27 09:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489402 -3.697266)'), GeomFromEWKT('SRID=4674;POINT (-38.489346 -3.69716)'))) / (select extract(epoch from '2026-05-27 09:17:27'::timestamp) - extract(epoch from '2026-05-27 09:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48928 -3.69698)', '2026-05-27 09:17:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489346 -3.69716)'), GeomFromEWKT('SRID=4674;POINT (-38.48928 -3.69698)'))) / (select extract(epoch from '2026-05-27 09:17:36'::timestamp) - extract(epoch from '2026-05-27 09:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489346 -3.69716)'), GeomFromEWKT('SRID=4674;POINT (-38.48928 -3.69698)'))) / (select extract(epoch from '2026-05-27 09:17:36'::timestamp) - extract(epoch from '2026-05-27 09:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489254 -3.696796)', '2026-05-27 09:17:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48928 -3.69698)'), GeomFromEWKT('SRID=4674;POINT (-38.489254 -3.696796)'))) / (select extract(epoch from '2026-05-27 09:17:44'::timestamp) - extract(epoch from '2026-05-27 09:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48928 -3.69698)'), GeomFromEWKT('SRID=4674;POINT (-38.489254 -3.696796)'))) / (select extract(epoch from '2026-05-27 09:17:44'::timestamp) - extract(epoch from '2026-05-27 09:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489241 -3.696628)', '2026-05-27 09:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489254 -3.696796)'), GeomFromEWKT('SRID=4674;POINT (-38.489241 -3.696628)'))) / (select extract(epoch from '2026-05-27 09:17:51'::timestamp) - extract(epoch from '2026-05-27 09:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489254 -3.696796)'), GeomFromEWKT('SRID=4674;POINT (-38.489241 -3.696628)'))) / (select extract(epoch from '2026-05-27 09:17:51'::timestamp) - extract(epoch from '2026-05-27 09:17:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489224 -3.696472)', '2026-05-27 09:17:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489241 -3.696628)'), GeomFromEWKT('SRID=4674;POINT (-38.489224 -3.696472)'))) / (select extract(epoch from '2026-05-27 09:17:58'::timestamp) - extract(epoch from '2026-05-27 09:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489241 -3.696628)'), GeomFromEWKT('SRID=4674;POINT (-38.489224 -3.696472)'))) / (select extract(epoch from '2026-05-27 09:17:58'::timestamp) - extract(epoch from '2026-05-27 09:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489208 -3.69635)', '2026-05-27 09:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489224 -3.696472)'), GeomFromEWKT('SRID=4674;POINT (-38.489208 -3.69635)'))) / (select extract(epoch from '2026-05-27 09:18:04'::timestamp) - extract(epoch from '2026-05-27 09:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489224 -3.696472)'), GeomFromEWKT('SRID=4674;POINT (-38.489208 -3.69635)'))) / (select extract(epoch from '2026-05-27 09:18:04'::timestamp) - extract(epoch from '2026-05-27 09:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489189 -3.696191)', '2026-05-27 09:18:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489208 -3.69635)'), GeomFromEWKT('SRID=4674;POINT (-38.489189 -3.696191)'))) / (select extract(epoch from '2026-05-27 09:18:12'::timestamp) - extract(epoch from '2026-05-27 09:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489208 -3.69635)'), GeomFromEWKT('SRID=4674;POINT (-38.489189 -3.696191)'))) / (select extract(epoch from '2026-05-27 09:18:12'::timestamp) - extract(epoch from '2026-05-27 09:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489171 -3.696051)', '2026-05-27 09:18:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489189 -3.696191)'), GeomFromEWKT('SRID=4674;POINT (-38.489171 -3.696051)'))) / (select extract(epoch from '2026-05-27 09:18:19'::timestamp) - extract(epoch from '2026-05-27 09:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489189 -3.696191)'), GeomFromEWKT('SRID=4674;POINT (-38.489171 -3.696051)'))) / (select extract(epoch from '2026-05-27 09:18:19'::timestamp) - extract(epoch from '2026-05-27 09:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489156 -3.695936)', '2026-05-27 09:18:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489171 -3.696051)'), GeomFromEWKT('SRID=4674;POINT (-38.489156 -3.695936)'))) / (select extract(epoch from '2026-05-27 09:18:25'::timestamp) - extract(epoch from '2026-05-27 09:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489171 -3.696051)'), GeomFromEWKT('SRID=4674;POINT (-38.489156 -3.695936)'))) / (select extract(epoch from '2026-05-27 09:18:25'::timestamp) - extract(epoch from '2026-05-27 09:18:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489143 -3.6958)', '2026-05-27 09:18:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489156 -3.695936)'), GeomFromEWKT('SRID=4674;POINT (-38.489143 -3.6958)'))) / (select extract(epoch from '2026-05-27 09:18:32'::timestamp) - extract(epoch from '2026-05-27 09:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489156 -3.695936)'), GeomFromEWKT('SRID=4674;POINT (-38.489143 -3.6958)'))) / (select extract(epoch from '2026-05-27 09:18:32'::timestamp) - extract(epoch from '2026-05-27 09:18:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489126 -3.695679)', '2026-05-27 09:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489143 -3.6958)'), GeomFromEWKT('SRID=4674;POINT (-38.489126 -3.695679)'))) / (select extract(epoch from '2026-05-27 09:18:38'::timestamp) - extract(epoch from '2026-05-27 09:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489143 -3.6958)'), GeomFromEWKT('SRID=4674;POINT (-38.489126 -3.695679)'))) / (select extract(epoch from '2026-05-27 09:18:38'::timestamp) - extract(epoch from '2026-05-27 09:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489071 -3.695512)', '2026-05-27 09:18:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489126 -3.695679)'), GeomFromEWKT('SRID=4674;POINT (-38.489071 -3.695512)'))) / (select extract(epoch from '2026-05-27 09:18:46'::timestamp) - extract(epoch from '2026-05-27 09:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489126 -3.695679)'), GeomFromEWKT('SRID=4674;POINT (-38.489071 -3.695512)'))) / (select extract(epoch from '2026-05-27 09:18:46'::timestamp) - extract(epoch from '2026-05-27 09:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489038 -3.695404)', '2026-05-27 09:18:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489071 -3.695512)'), GeomFromEWKT('SRID=4674;POINT (-38.489038 -3.695404)'))) / (select extract(epoch from '2026-05-27 09:18:51'::timestamp) - extract(epoch from '2026-05-27 09:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489071 -3.695512)'), GeomFromEWKT('SRID=4674;POINT (-38.489038 -3.695404)'))) / (select extract(epoch from '2026-05-27 09:18:51'::timestamp) - extract(epoch from '2026-05-27 09:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488993 -3.695234)', '2026-05-27 09:18:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489038 -3.695404)'), GeomFromEWKT('SRID=4674;POINT (-38.488993 -3.695234)'))) / (select extract(epoch from '2026-05-27 09:18:59'::timestamp) - extract(epoch from '2026-05-27 09:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489038 -3.695404)'), GeomFromEWKT('SRID=4674;POINT (-38.488993 -3.695234)'))) / (select extract(epoch from '2026-05-27 09:18:59'::timestamp) - extract(epoch from '2026-05-27 09:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488981 -3.695101)', '2026-05-27 09:19:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488993 -3.695234)'), GeomFromEWKT('SRID=4674;POINT (-38.488981 -3.695101)'))) / (select extract(epoch from '2026-05-27 09:19:05'::timestamp) - extract(epoch from '2026-05-27 09:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488993 -3.695234)'), GeomFromEWKT('SRID=4674;POINT (-38.488981 -3.695101)'))) / (select extract(epoch from '2026-05-27 09:19:05'::timestamp) - extract(epoch from '2026-05-27 09:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488944 -3.69494)', '2026-05-27 09:19:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488981 -3.695101)'), GeomFromEWKT('SRID=4674;POINT (-38.488944 -3.69494)'))) / (select extract(epoch from '2026-05-27 09:19:12'::timestamp) - extract(epoch from '2026-05-27 09:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488981 -3.695101)'), GeomFromEWKT('SRID=4674;POINT (-38.488944 -3.69494)'))) / (select extract(epoch from '2026-05-27 09:19:12'::timestamp) - extract(epoch from '2026-05-27 09:19:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488912 -3.694737)', '2026-05-27 09:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488944 -3.69494)'), GeomFromEWKT('SRID=4674;POINT (-38.488912 -3.694737)'))) / (select extract(epoch from '2026-05-27 09:19:21'::timestamp) - extract(epoch from '2026-05-27 09:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488944 -3.69494)'), GeomFromEWKT('SRID=4674;POINT (-38.488912 -3.694737)'))) / (select extract(epoch from '2026-05-27 09:19:21'::timestamp) - extract(epoch from '2026-05-27 09:19:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488899 -3.694559)', '2026-05-27 09:19:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488912 -3.694737)'), GeomFromEWKT('SRID=4674;POINT (-38.488899 -3.694559)'))) / (select extract(epoch from '2026-05-27 09:19:29'::timestamp) - extract(epoch from '2026-05-27 09:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488912 -3.694737)'), GeomFromEWKT('SRID=4674;POINT (-38.488899 -3.694559)'))) / (select extract(epoch from '2026-05-27 09:19:29'::timestamp) - extract(epoch from '2026-05-27 09:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488891 -3.69436)', '2026-05-27 09:19:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488899 -3.694559)'), GeomFromEWKT('SRID=4674;POINT (-38.488891 -3.69436)'))) / (select extract(epoch from '2026-05-27 09:19:38'::timestamp) - extract(epoch from '2026-05-27 09:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488899 -3.694559)'), GeomFromEWKT('SRID=4674;POINT (-38.488891 -3.69436)'))) / (select extract(epoch from '2026-05-27 09:19:38'::timestamp) - extract(epoch from '2026-05-27 09:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48888 -3.694204)', '2026-05-27 09:19:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488891 -3.69436)'), GeomFromEWKT('SRID=4674;POINT (-38.48888 -3.694204)'))) / (select extract(epoch from '2026-05-27 09:19:46'::timestamp) - extract(epoch from '2026-05-27 09:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488891 -3.69436)'), GeomFromEWKT('SRID=4674;POINT (-38.48888 -3.694204)'))) / (select extract(epoch from '2026-05-27 09:19:46'::timestamp) - extract(epoch from '2026-05-27 09:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488878 -3.694069)', '2026-05-27 09:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48888 -3.694204)'), GeomFromEWKT('SRID=4674;POINT (-38.488878 -3.694069)'))) / (select extract(epoch from '2026-05-27 09:19:53'::timestamp) - extract(epoch from '2026-05-27 09:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48888 -3.694204)'), GeomFromEWKT('SRID=4674;POINT (-38.488878 -3.694069)'))) / (select extract(epoch from '2026-05-27 09:19:53'::timestamp) - extract(epoch from '2026-05-27 09:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488866 -3.693936)', '2026-05-27 09:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488878 -3.694069)'), GeomFromEWKT('SRID=4674;POINT (-38.488866 -3.693936)'))) / (select extract(epoch from '2026-05-27 09:20:00'::timestamp) - extract(epoch from '2026-05-27 09:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488878 -3.694069)'), GeomFromEWKT('SRID=4674;POINT (-38.488866 -3.693936)'))) / (select extract(epoch from '2026-05-27 09:20:00'::timestamp) - extract(epoch from '2026-05-27 09:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488847 -3.6938)', '2026-05-27 09:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488866 -3.693936)'), GeomFromEWKT('SRID=4674;POINT (-38.488847 -3.6938)'))) / (select extract(epoch from '2026-05-27 09:20:07'::timestamp) - extract(epoch from '2026-05-27 09:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488866 -3.693936)'), GeomFromEWKT('SRID=4674;POINT (-38.488847 -3.6938)'))) / (select extract(epoch from '2026-05-27 09:20:07'::timestamp) - extract(epoch from '2026-05-27 09:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488834 -3.693715)', '2026-05-27 09:20:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488847 -3.6938)'), GeomFromEWKT('SRID=4674;POINT (-38.488834 -3.693715)'))) / (select extract(epoch from '2026-05-27 09:20:12'::timestamp) - extract(epoch from '2026-05-27 09:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488847 -3.6938)'), GeomFromEWKT('SRID=4674;POINT (-38.488834 -3.693715)'))) / (select extract(epoch from '2026-05-27 09:20:12'::timestamp) - extract(epoch from '2026-05-27 09:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488819 -3.693603)', '2026-05-27 09:20:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488834 -3.693715)'), GeomFromEWKT('SRID=4674;POINT (-38.488819 -3.693603)'))) / (select extract(epoch from '2026-05-27 09:20:18'::timestamp) - extract(epoch from '2026-05-27 09:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488834 -3.693715)'), GeomFromEWKT('SRID=4674;POINT (-38.488819 -3.693603)'))) / (select extract(epoch from '2026-05-27 09:20:18'::timestamp) - extract(epoch from '2026-05-27 09:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48879 -3.693464)', '2026-05-27 09:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488819 -3.693603)'), GeomFromEWKT('SRID=4674;POINT (-38.48879 -3.693464)'))) / (select extract(epoch from '2026-05-27 09:20:25'::timestamp) - extract(epoch from '2026-05-27 09:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488819 -3.693603)'), GeomFromEWKT('SRID=4674;POINT (-38.48879 -3.693464)'))) / (select extract(epoch from '2026-05-27 09:20:25'::timestamp) - extract(epoch from '2026-05-27 09:20:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488753 -3.693271)', '2026-05-27 09:20:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48879 -3.693464)'), GeomFromEWKT('SRID=4674;POINT (-38.488753 -3.693271)'))) / (select extract(epoch from '2026-05-27 09:20:35'::timestamp) - extract(epoch from '2026-05-27 09:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48879 -3.693464)'), GeomFromEWKT('SRID=4674;POINT (-38.488753 -3.693271)'))) / (select extract(epoch from '2026-05-27 09:20:35'::timestamp) - extract(epoch from '2026-05-27 09:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488729 -3.693134)', '2026-05-27 09:20:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488753 -3.693271)'), GeomFromEWKT('SRID=4674;POINT (-38.488729 -3.693134)'))) / (select extract(epoch from '2026-05-27 09:20:43'::timestamp) - extract(epoch from '2026-05-27 09:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488753 -3.693271)'), GeomFromEWKT('SRID=4674;POINT (-38.488729 -3.693134)'))) / (select extract(epoch from '2026-05-27 09:20:43'::timestamp) - extract(epoch from '2026-05-27 09:20:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488704 -3.693033)', '2026-05-27 09:20:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488729 -3.693134)'), GeomFromEWKT('SRID=4674;POINT (-38.488704 -3.693033)'))) / (select extract(epoch from '2026-05-27 09:20:49'::timestamp) - extract(epoch from '2026-05-27 09:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488729 -3.693134)'), GeomFromEWKT('SRID=4674;POINT (-38.488704 -3.693033)'))) / (select extract(epoch from '2026-05-27 09:20:49'::timestamp) - extract(epoch from '2026-05-27 09:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488663 -3.692868)', '2026-05-27 09:20:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488704 -3.693033)'), GeomFromEWKT('SRID=4674;POINT (-38.488663 -3.692868)'))) / (select extract(epoch from '2026-05-27 09:20:58'::timestamp) - extract(epoch from '2026-05-27 09:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488704 -3.693033)'), GeomFromEWKT('SRID=4674;POINT (-38.488663 -3.692868)'))) / (select extract(epoch from '2026-05-27 09:20:58'::timestamp) - extract(epoch from '2026-05-27 09:20:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488625 -3.692721)', '2026-05-27 09:21:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488663 -3.692868)'), GeomFromEWKT('SRID=4674;POINT (-38.488625 -3.692721)'))) / (select extract(epoch from '2026-05-27 09:21:06'::timestamp) - extract(epoch from '2026-05-27 09:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488663 -3.692868)'), GeomFromEWKT('SRID=4674;POINT (-38.488625 -3.692721)'))) / (select extract(epoch from '2026-05-27 09:21:06'::timestamp) - extract(epoch from '2026-05-27 09:20:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488593 -3.692645)', '2026-05-27 09:21:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488625 -3.692721)'), GeomFromEWKT('SRID=4674;POINT (-38.488593 -3.692645)'))) / (select extract(epoch from '2026-05-27 09:21:11'::timestamp) - extract(epoch from '2026-05-27 09:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488625 -3.692721)'), GeomFromEWKT('SRID=4674;POINT (-38.488593 -3.692645)'))) / (select extract(epoch from '2026-05-27 09:21:11'::timestamp) - extract(epoch from '2026-05-27 09:21:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488549 -3.692569)', '2026-05-27 09:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488593 -3.692645)'), GeomFromEWKT('SRID=4674;POINT (-38.488549 -3.692569)'))) / (select extract(epoch from '2026-05-27 09:21:17'::timestamp) - extract(epoch from '2026-05-27 09:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488593 -3.692645)'), GeomFromEWKT('SRID=4674;POINT (-38.488549 -3.692569)'))) / (select extract(epoch from '2026-05-27 09:21:17'::timestamp) - extract(epoch from '2026-05-27 09:21:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488498 -3.692519)', '2026-05-27 09:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488549 -3.692569)'), GeomFromEWKT('SRID=4674;POINT (-38.488498 -3.692519)'))) / (select extract(epoch from '2026-05-27 09:21:24'::timestamp) - extract(epoch from '2026-05-27 09:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488549 -3.692569)'), GeomFromEWKT('SRID=4674;POINT (-38.488498 -3.692519)'))) / (select extract(epoch from '2026-05-27 09:21:24'::timestamp) - extract(epoch from '2026-05-27 09:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48846 -3.692469)', '2026-05-27 09:21:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488498 -3.692519)'), GeomFromEWKT('SRID=4674;POINT (-38.48846 -3.692469)'))) / (select extract(epoch from '2026-05-27 09:21:31'::timestamp) - extract(epoch from '2026-05-27 09:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488498 -3.692519)'), GeomFromEWKT('SRID=4674;POINT (-38.48846 -3.692469)'))) / (select extract(epoch from '2026-05-27 09:21:31'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488423 -3.692388)', '2026-05-27 09:21:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48846 -3.692469)'), GeomFromEWKT('SRID=4674;POINT (-38.488423 -3.692388)'))) / (select extract(epoch from '2026-05-27 09:21:38'::timestamp) - extract(epoch from '2026-05-27 09:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48846 -3.692469)'), GeomFromEWKT('SRID=4674;POINT (-38.488423 -3.692388)'))) / (select extract(epoch from '2026-05-27 09:21:38'::timestamp) - extract(epoch from '2026-05-27 09:21:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488378 -3.692288)', '2026-05-27 09:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488423 -3.692388)'), GeomFromEWKT('SRID=4674;POINT (-38.488378 -3.692288)'))) / (select extract(epoch from '2026-05-27 09:21:46'::timestamp) - extract(epoch from '2026-05-27 09:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488423 -3.692388)'), GeomFromEWKT('SRID=4674;POINT (-38.488378 -3.692288)'))) / (select extract(epoch from '2026-05-27 09:21:46'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488353 -3.692192)', '2026-05-27 09:21:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488378 -3.692288)'), GeomFromEWKT('SRID=4674;POINT (-38.488353 -3.692192)'))) / (select extract(epoch from '2026-05-27 09:21:53'::timestamp) - extract(epoch from '2026-05-27 09:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488378 -3.692288)'), GeomFromEWKT('SRID=4674;POINT (-38.488353 -3.692192)'))) / (select extract(epoch from '2026-05-27 09:21:53'::timestamp) - extract(epoch from '2026-05-27 09:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488308 -3.692062)', '2026-05-27 09:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488353 -3.692192)'), GeomFromEWKT('SRID=4674;POINT (-38.488308 -3.692062)'))) / (select extract(epoch from '2026-05-27 09:22:01'::timestamp) - extract(epoch from '2026-05-27 09:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488353 -3.692192)'), GeomFromEWKT('SRID=4674;POINT (-38.488308 -3.692062)'))) / (select extract(epoch from '2026-05-27 09:22:01'::timestamp) - extract(epoch from '2026-05-27 09:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488269 -3.691979)', '2026-05-27 09:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488308 -3.692062)'), GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.691979)'))) / (select extract(epoch from '2026-05-27 09:22:06'::timestamp) - extract(epoch from '2026-05-27 09:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488308 -3.692062)'), GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.691979)'))) / (select extract(epoch from '2026-05-27 09:22:06'::timestamp) - extract(epoch from '2026-05-27 09:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488233 -3.69188)', '2026-05-27 09:22:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.691979)'), GeomFromEWKT('SRID=4674;POINT (-38.488233 -3.69188)'))) / (select extract(epoch from '2026-05-27 09:22:12'::timestamp) - extract(epoch from '2026-05-27 09:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.691979)'), GeomFromEWKT('SRID=4674;POINT (-38.488233 -3.69188)'))) / (select extract(epoch from '2026-05-27 09:22:12'::timestamp) - extract(epoch from '2026-05-27 09:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488215 -3.691712)', '2026-05-27 09:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488233 -3.69188)'), GeomFromEWKT('SRID=4674;POINT (-38.488215 -3.691712)'))) / (select extract(epoch from '2026-05-27 09:22:20'::timestamp) - extract(epoch from '2026-05-27 09:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488233 -3.69188)'), GeomFromEWKT('SRID=4674;POINT (-38.488215 -3.691712)'))) / (select extract(epoch from '2026-05-27 09:22:20'::timestamp) - extract(epoch from '2026-05-27 09:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488224 -3.691519)', '2026-05-27 09:22:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488215 -3.691712)'), GeomFromEWKT('SRID=4674;POINT (-38.488224 -3.691519)'))) / (select extract(epoch from '2026-05-27 09:22:28'::timestamp) - extract(epoch from '2026-05-27 09:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488215 -3.691712)'), GeomFromEWKT('SRID=4674;POINT (-38.488224 -3.691519)'))) / (select extract(epoch from '2026-05-27 09:22:28'::timestamp) - extract(epoch from '2026-05-27 09:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488222 -3.691372)', '2026-05-27 09:22:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488224 -3.691519)'), GeomFromEWKT('SRID=4674;POINT (-38.488222 -3.691372)'))) / (select extract(epoch from '2026-05-27 09:22:34'::timestamp) - extract(epoch from '2026-05-27 09:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488224 -3.691519)'), GeomFromEWKT('SRID=4674;POINT (-38.488222 -3.691372)'))) / (select extract(epoch from '2026-05-27 09:22:34'::timestamp) - extract(epoch from '2026-05-27 09:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488213 -3.69125)', '2026-05-27 09:22:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488222 -3.691372)'), GeomFromEWKT('SRID=4674;POINT (-38.488213 -3.69125)'))) / (select extract(epoch from '2026-05-27 09:22:39'::timestamp) - extract(epoch from '2026-05-27 09:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488222 -3.691372)'), GeomFromEWKT('SRID=4674;POINT (-38.488213 -3.69125)'))) / (select extract(epoch from '2026-05-27 09:22:39'::timestamp) - extract(epoch from '2026-05-27 09:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488199 -3.691098)', '2026-05-27 09:22:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488213 -3.69125)'), GeomFromEWKT('SRID=4674;POINT (-38.488199 -3.691098)'))) / (select extract(epoch from '2026-05-27 09:22:45'::timestamp) - extract(epoch from '2026-05-27 09:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488213 -3.69125)'), GeomFromEWKT('SRID=4674;POINT (-38.488199 -3.691098)'))) / (select extract(epoch from '2026-05-27 09:22:45'::timestamp) - extract(epoch from '2026-05-27 09:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488191 -3.690931)', '2026-05-27 09:22:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488199 -3.691098)'), GeomFromEWKT('SRID=4674;POINT (-38.488191 -3.690931)'))) / (select extract(epoch from '2026-05-27 09:22:52'::timestamp) - extract(epoch from '2026-05-27 09:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488199 -3.691098)'), GeomFromEWKT('SRID=4674;POINT (-38.488191 -3.690931)'))) / (select extract(epoch from '2026-05-27 09:22:52'::timestamp) - extract(epoch from '2026-05-27 09:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488194 -3.690787)', '2026-05-27 09:22:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488191 -3.690931)'), GeomFromEWKT('SRID=4674;POINT (-38.488194 -3.690787)'))) / (select extract(epoch from '2026-05-27 09:22:58'::timestamp) - extract(epoch from '2026-05-27 09:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488191 -3.690931)'), GeomFromEWKT('SRID=4674;POINT (-38.488194 -3.690787)'))) / (select extract(epoch from '2026-05-27 09:22:58'::timestamp) - extract(epoch from '2026-05-27 09:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488166 -3.690611)', '2026-05-27 09:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488194 -3.690787)'), GeomFromEWKT('SRID=4674;POINT (-38.488166 -3.690611)'))) / (select extract(epoch from '2026-05-27 09:23:06'::timestamp) - extract(epoch from '2026-05-27 09:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488194 -3.690787)'), GeomFromEWKT('SRID=4674;POINT (-38.488166 -3.690611)'))) / (select extract(epoch from '2026-05-27 09:23:06'::timestamp) - extract(epoch from '2026-05-27 09:22:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488142 -3.690513)', '2026-05-27 09:23:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488166 -3.690611)'), GeomFromEWKT('SRID=4674;POINT (-38.488142 -3.690513)'))) / (select extract(epoch from '2026-05-27 09:23:11'::timestamp) - extract(epoch from '2026-05-27 09:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488166 -3.690611)'), GeomFromEWKT('SRID=4674;POINT (-38.488142 -3.690513)'))) / (select extract(epoch from '2026-05-27 09:23:11'::timestamp) - extract(epoch from '2026-05-27 09:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488081 -3.690382)', '2026-05-27 09:23:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488142 -3.690513)'), GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.690382)'))) / (select extract(epoch from '2026-05-27 09:23:18'::timestamp) - extract(epoch from '2026-05-27 09:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488142 -3.690513)'), GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.690382)'))) / (select extract(epoch from '2026-05-27 09:23:18'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488 -3.690266)', '2026-05-27 09:23:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.690382)'), GeomFromEWKT('SRID=4674;POINT (-38.488 -3.690266)'))) / (select extract(epoch from '2026-05-27 09:23:25'::timestamp) - extract(epoch from '2026-05-27 09:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.690382)'), GeomFromEWKT('SRID=4674;POINT (-38.488 -3.690266)'))) / (select extract(epoch from '2026-05-27 09:23:25'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.487944 -3.69015)', '2026-05-27 09:23:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488 -3.690266)'), GeomFromEWKT('SRID=4674;POINT (-38.487944 -3.69015)'))) / (select extract(epoch from '2026-05-27 09:23:31'::timestamp) - extract(epoch from '2026-05-27 09:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488 -3.690266)'), GeomFromEWKT('SRID=4674;POINT (-38.487944 -3.69015)'))) / (select extract(epoch from '2026-05-27 09:23:31'::timestamp) - extract(epoch from '2026-05-27 09:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48793 -3.690037)', '2026-05-27 09:23:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487944 -3.69015)'), GeomFromEWKT('SRID=4674;POINT (-38.48793 -3.690037)'))) / (select extract(epoch from '2026-05-27 09:23:37'::timestamp) - extract(epoch from '2026-05-27 09:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487944 -3.69015)'), GeomFromEWKT('SRID=4674;POINT (-38.48793 -3.690037)'))) / (select extract(epoch from '2026-05-27 09:23:37'::timestamp) - extract(epoch from '2026-05-27 09:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487935 -3.689922)', '2026-05-27 09:23:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48793 -3.690037)'), GeomFromEWKT('SRID=4674;POINT (-38.487935 -3.689922)'))) / (select extract(epoch from '2026-05-27 09:23:43'::timestamp) - extract(epoch from '2026-05-27 09:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48793 -3.690037)'), GeomFromEWKT('SRID=4674;POINT (-38.487935 -3.689922)'))) / (select extract(epoch from '2026-05-27 09:23:43'::timestamp) - extract(epoch from '2026-05-27 09:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487957 -3.689772)', '2026-05-27 09:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487935 -3.689922)'), GeomFromEWKT('SRID=4674;POINT (-38.487957 -3.689772)'))) / (select extract(epoch from '2026-05-27 09:23:50'::timestamp) - extract(epoch from '2026-05-27 09:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487935 -3.689922)'), GeomFromEWKT('SRID=4674;POINT (-38.487957 -3.689772)'))) / (select extract(epoch from '2026-05-27 09:23:50'::timestamp) - extract(epoch from '2026-05-27 09:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487967 -3.689642)', '2026-05-27 09:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487957 -3.689772)'), GeomFromEWKT('SRID=4674;POINT (-38.487967 -3.689642)'))) / (select extract(epoch from '2026-05-27 09:23:56'::timestamp) - extract(epoch from '2026-05-27 09:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487957 -3.689772)'), GeomFromEWKT('SRID=4674;POINT (-38.487967 -3.689642)'))) / (select extract(epoch from '2026-05-27 09:23:56'::timestamp) - extract(epoch from '2026-05-27 09:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487978 -3.689463)', '2026-05-27 09:24:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487967 -3.689642)'), GeomFromEWKT('SRID=4674;POINT (-38.487978 -3.689463)'))) / (select extract(epoch from '2026-05-27 09:24:04'::timestamp) - extract(epoch from '2026-05-27 09:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487967 -3.689642)'), GeomFromEWKT('SRID=4674;POINT (-38.487978 -3.689463)'))) / (select extract(epoch from '2026-05-27 09:24:04'::timestamp) - extract(epoch from '2026-05-27 09:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487963 -3.689295)', '2026-05-27 09:24:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487978 -3.689463)'), GeomFromEWKT('SRID=4674;POINT (-38.487963 -3.689295)'))) / (select extract(epoch from '2026-05-27 09:24:12'::timestamp) - extract(epoch from '2026-05-27 09:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487978 -3.689463)'), GeomFromEWKT('SRID=4674;POINT (-38.487963 -3.689295)'))) / (select extract(epoch from '2026-05-27 09:24:12'::timestamp) - extract(epoch from '2026-05-27 09:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487919 -3.689133)', '2026-05-27 09:24:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487963 -3.689295)'), GeomFromEWKT('SRID=4674;POINT (-38.487919 -3.689133)'))) / (select extract(epoch from '2026-05-27 09:24:19'::timestamp) - extract(epoch from '2026-05-27 09:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487963 -3.689295)'), GeomFromEWKT('SRID=4674;POINT (-38.487919 -3.689133)'))) / (select extract(epoch from '2026-05-27 09:24:19'::timestamp) - extract(epoch from '2026-05-27 09:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48789 -3.688972)', '2026-05-27 09:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487919 -3.689133)'), GeomFromEWKT('SRID=4674;POINT (-38.48789 -3.688972)'))) / (select extract(epoch from '2026-05-27 09:24:26'::timestamp) - extract(epoch from '2026-05-27 09:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487919 -3.689133)'), GeomFromEWKT('SRID=4674;POINT (-38.48789 -3.688972)'))) / (select extract(epoch from '2026-05-27 09:24:26'::timestamp) - extract(epoch from '2026-05-27 09:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487896 -3.688772)', '2026-05-27 09:24:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48789 -3.688972)'), GeomFromEWKT('SRID=4674;POINT (-38.487896 -3.688772)'))) / (select extract(epoch from '2026-05-27 09:24:34'::timestamp) - extract(epoch from '2026-05-27 09:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48789 -3.688972)'), GeomFromEWKT('SRID=4674;POINT (-38.487896 -3.688772)'))) / (select extract(epoch from '2026-05-27 09:24:34'::timestamp) - extract(epoch from '2026-05-27 09:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487934 -3.688629)', '2026-05-27 09:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487896 -3.688772)'), GeomFromEWKT('SRID=4674;POINT (-38.487934 -3.688629)'))) / (select extract(epoch from '2026-05-27 09:24:40'::timestamp) - extract(epoch from '2026-05-27 09:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487896 -3.688772)'), GeomFromEWKT('SRID=4674;POINT (-38.487934 -3.688629)'))) / (select extract(epoch from '2026-05-27 09:24:40'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.48799 -3.688473)', '2026-05-27 09:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487934 -3.688629)'), GeomFromEWKT('SRID=4674;POINT (-38.48799 -3.688473)'))) / (select extract(epoch from '2026-05-27 09:24:47'::timestamp) - extract(epoch from '2026-05-27 09:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487934 -3.688629)'), GeomFromEWKT('SRID=4674;POINT (-38.48799 -3.688473)'))) / (select extract(epoch from '2026-05-27 09:24:47'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488012 -3.688384)', '2026-05-27 09:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48799 -3.688473)'), GeomFromEWKT('SRID=4674;POINT (-38.488012 -3.688384)'))) / (select extract(epoch from '2026-05-27 09:24:51'::timestamp) - extract(epoch from '2026-05-27 09:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48799 -3.688473)'), GeomFromEWKT('SRID=4674;POINT (-38.488012 -3.688384)'))) / (select extract(epoch from '2026-05-27 09:24:51'::timestamp) - extract(epoch from '2026-05-27 09:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488022 -3.688175)', '2026-05-27 09:25:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488012 -3.688384)'), GeomFromEWKT('SRID=4674;POINT (-38.488022 -3.688175)'))) / (select extract(epoch from '2026-05-27 09:25:00'::timestamp) - extract(epoch from '2026-05-27 09:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488012 -3.688384)'), GeomFromEWKT('SRID=4674;POINT (-38.488022 -3.688175)'))) / (select extract(epoch from '2026-05-27 09:25:00'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488034 -3.687972)', '2026-05-27 09:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488022 -3.688175)'), GeomFromEWKT('SRID=4674;POINT (-38.488034 -3.687972)'))) / (select extract(epoch from '2026-05-27 09:25:08'::timestamp) - extract(epoch from '2026-05-27 09:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488022 -3.688175)'), GeomFromEWKT('SRID=4674;POINT (-38.488034 -3.687972)'))) / (select extract(epoch from '2026-05-27 09:25:08'::timestamp) - extract(epoch from '2026-05-27 09:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488027 -3.687829)', '2026-05-27 09:25:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488034 -3.687972)'), GeomFromEWKT('SRID=4674;POINT (-38.488027 -3.687829)'))) / (select extract(epoch from '2026-05-27 09:25:14'::timestamp) - extract(epoch from '2026-05-27 09:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488034 -3.687972)'), GeomFromEWKT('SRID=4674;POINT (-38.488027 -3.687829)'))) / (select extract(epoch from '2026-05-27 09:25:14'::timestamp) - extract(epoch from '2026-05-27 09:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488041 -3.687629)', '2026-05-27 09:25:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488027 -3.687829)'), GeomFromEWKT('SRID=4674;POINT (-38.488041 -3.687629)'))) / (select extract(epoch from '2026-05-27 09:25:22'::timestamp) - extract(epoch from '2026-05-27 09:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488027 -3.687829)'), GeomFromEWKT('SRID=4674;POINT (-38.488041 -3.687629)'))) / (select extract(epoch from '2026-05-27 09:25:22'::timestamp) - extract(epoch from '2026-05-27 09:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488041 -3.687442)', '2026-05-27 09:25:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488041 -3.687629)'), GeomFromEWKT('SRID=4674;POINT (-38.488041 -3.687442)'))) / (select extract(epoch from '2026-05-27 09:25:29'::timestamp) - extract(epoch from '2026-05-27 09:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488041 -3.687629)'), GeomFromEWKT('SRID=4674;POINT (-38.488041 -3.687442)'))) / (select extract(epoch from '2026-05-27 09:25:29'::timestamp) - extract(epoch from '2026-05-27 09:25:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488031 -3.687277)', '2026-05-27 09:25:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488041 -3.687442)'), GeomFromEWKT('SRID=4674;POINT (-38.488031 -3.687277)'))) / (select extract(epoch from '2026-05-27 09:25:35'::timestamp) - extract(epoch from '2026-05-27 09:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488041 -3.687442)'), GeomFromEWKT('SRID=4674;POINT (-38.488031 -3.687277)'))) / (select extract(epoch from '2026-05-27 09:25:35'::timestamp) - extract(epoch from '2026-05-27 09:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488046 -3.68708)', '2026-05-27 09:25:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488031 -3.687277)'), GeomFromEWKT('SRID=4674;POINT (-38.488046 -3.68708)'))) / (select extract(epoch from '2026-05-27 09:25:42'::timestamp) - extract(epoch from '2026-05-27 09:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488031 -3.687277)'), GeomFromEWKT('SRID=4674;POINT (-38.488046 -3.68708)'))) / (select extract(epoch from '2026-05-27 09:25:42'::timestamp) - extract(epoch from '2026-05-27 09:25:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488052 -3.686919)', '2026-05-27 09:25:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488046 -3.68708)'), GeomFromEWKT('SRID=4674;POINT (-38.488052 -3.686919)'))) / (select extract(epoch from '2026-05-27 09:25:48'::timestamp) - extract(epoch from '2026-05-27 09:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488046 -3.68708)'), GeomFromEWKT('SRID=4674;POINT (-38.488052 -3.686919)'))) / (select extract(epoch from '2026-05-27 09:25:48'::timestamp) - extract(epoch from '2026-05-27 09:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488065 -3.686748)', '2026-05-27 09:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488052 -3.686919)'), GeomFromEWKT('SRID=4674;POINT (-38.488065 -3.686748)'))) / (select extract(epoch from '2026-05-27 09:25:55'::timestamp) - extract(epoch from '2026-05-27 09:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488052 -3.686919)'), GeomFromEWKT('SRID=4674;POINT (-38.488065 -3.686748)'))) / (select extract(epoch from '2026-05-27 09:25:55'::timestamp) - extract(epoch from '2026-05-27 09:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488077 -3.686574)', '2026-05-27 09:26:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488065 -3.686748)'), GeomFromEWKT('SRID=4674;POINT (-38.488077 -3.686574)'))) / (select extract(epoch from '2026-05-27 09:26:02'::timestamp) - extract(epoch from '2026-05-27 09:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488065 -3.686748)'), GeomFromEWKT('SRID=4674;POINT (-38.488077 -3.686574)'))) / (select extract(epoch from '2026-05-27 09:26:02'::timestamp) - extract(epoch from '2026-05-27 09:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488081 -3.686412)', '2026-05-27 09:26:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488077 -3.686574)'), GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.686412)'))) / (select extract(epoch from '2026-05-27 09:26:08'::timestamp) - extract(epoch from '2026-05-27 09:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488077 -3.686574)'), GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.686412)'))) / (select extract(epoch from '2026-05-27 09:26:08'::timestamp) - extract(epoch from '2026-05-27 09:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488081 -3.686256)', '2026-05-27 09:26:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.686412)'), GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.686256)'))) / (select extract(epoch from '2026-05-27 09:26:14'::timestamp) - extract(epoch from '2026-05-27 09:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.686412)'), GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.686256)'))) / (select extract(epoch from '2026-05-27 09:26:14'::timestamp) - extract(epoch from '2026-05-27 09:26:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488085 -3.686112)', '2026-05-27 09:26:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.686256)'), GeomFromEWKT('SRID=4674;POINT (-38.488085 -3.686112)'))) / (select extract(epoch from '2026-05-27 09:26:20'::timestamp) - extract(epoch from '2026-05-27 09:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488081 -3.686256)'), GeomFromEWKT('SRID=4674;POINT (-38.488085 -3.686112)'))) / (select extract(epoch from '2026-05-27 09:26:20'::timestamp) - extract(epoch from '2026-05-27 09:26:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488094 -3.685976)', '2026-05-27 09:26:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488085 -3.686112)'), GeomFromEWKT('SRID=4674;POINT (-38.488094 -3.685976)'))) / (select extract(epoch from '2026-05-27 09:26:26'::timestamp) - extract(epoch from '2026-05-27 09:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488085 -3.686112)'), GeomFromEWKT('SRID=4674;POINT (-38.488094 -3.685976)'))) / (select extract(epoch from '2026-05-27 09:26:26'::timestamp) - extract(epoch from '2026-05-27 09:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488107 -3.685814)', '2026-05-27 09:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488094 -3.685976)'), GeomFromEWKT('SRID=4674;POINT (-38.488107 -3.685814)'))) / (select extract(epoch from '2026-05-27 09:26:33'::timestamp) - extract(epoch from '2026-05-27 09:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488094 -3.685976)'), GeomFromEWKT('SRID=4674;POINT (-38.488107 -3.685814)'))) / (select extract(epoch from '2026-05-27 09:26:33'::timestamp) - extract(epoch from '2026-05-27 09:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488109 -3.685649)', '2026-05-27 09:26:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488107 -3.685814)'), GeomFromEWKT('SRID=4674;POINT (-38.488109 -3.685649)'))) / (select extract(epoch from '2026-05-27 09:26:40'::timestamp) - extract(epoch from '2026-05-27 09:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488107 -3.685814)'), GeomFromEWKT('SRID=4674;POINT (-38.488109 -3.685649)'))) / (select extract(epoch from '2026-05-27 09:26:40'::timestamp) - extract(epoch from '2026-05-27 09:26:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488119 -3.685453)', '2026-05-27 09:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488109 -3.685649)'), GeomFromEWKT('SRID=4674;POINT (-38.488119 -3.685453)'))) / (select extract(epoch from '2026-05-27 09:26:48'::timestamp) - extract(epoch from '2026-05-27 09:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488109 -3.685649)'), GeomFromEWKT('SRID=4674;POINT (-38.488119 -3.685453)'))) / (select extract(epoch from '2026-05-27 09:26:48'::timestamp) - extract(epoch from '2026-05-27 09:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488134 -3.685275)', '2026-05-27 09:26:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488119 -3.685453)'), GeomFromEWKT('SRID=4674;POINT (-38.488134 -3.685275)'))) / (select extract(epoch from '2026-05-27 09:26:55'::timestamp) - extract(epoch from '2026-05-27 09:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488119 -3.685453)'), GeomFromEWKT('SRID=4674;POINT (-38.488134 -3.685275)'))) / (select extract(epoch from '2026-05-27 09:26:55'::timestamp) - extract(epoch from '2026-05-27 09:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488132 -3.685082)', '2026-05-27 09:27:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488134 -3.685275)'), GeomFromEWKT('SRID=4674;POINT (-38.488132 -3.685082)'))) / (select extract(epoch from '2026-05-27 09:27:02'::timestamp) - extract(epoch from '2026-05-27 09:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488134 -3.685275)'), GeomFromEWKT('SRID=4674;POINT (-38.488132 -3.685082)'))) / (select extract(epoch from '2026-05-27 09:27:02'::timestamp) - extract(epoch from '2026-05-27 09:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488153 -3.684909)', '2026-05-27 09:27:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488132 -3.685082)'), GeomFromEWKT('SRID=4674;POINT (-38.488153 -3.684909)'))) / (select extract(epoch from '2026-05-27 09:27:09'::timestamp) - extract(epoch from '2026-05-27 09:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488132 -3.685082)'), GeomFromEWKT('SRID=4674;POINT (-38.488153 -3.684909)'))) / (select extract(epoch from '2026-05-27 09:27:09'::timestamp) - extract(epoch from '2026-05-27 09:27:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488166 -3.68472)', '2026-05-27 09:27:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488153 -3.684909)'), GeomFromEWKT('SRID=4674;POINT (-38.488166 -3.68472)'))) / (select extract(epoch from '2026-05-27 09:27:16'::timestamp) - extract(epoch from '2026-05-27 09:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488153 -3.684909)'), GeomFromEWKT('SRID=4674;POINT (-38.488166 -3.68472)'))) / (select extract(epoch from '2026-05-27 09:27:16'::timestamp) - extract(epoch from '2026-05-27 09:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488171 -3.684573)', '2026-05-27 09:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488166 -3.68472)'), GeomFromEWKT('SRID=4674;POINT (-38.488171 -3.684573)'))) / (select extract(epoch from '2026-05-27 09:27:22'::timestamp) - extract(epoch from '2026-05-27 09:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488166 -3.68472)'), GeomFromEWKT('SRID=4674;POINT (-38.488171 -3.684573)'))) / (select extract(epoch from '2026-05-27 09:27:22'::timestamp) - extract(epoch from '2026-05-27 09:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488182 -3.684444)', '2026-05-27 09:27:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488171 -3.684573)'), GeomFromEWKT('SRID=4674;POINT (-38.488182 -3.684444)'))) / (select extract(epoch from '2026-05-27 09:27:27'::timestamp) - extract(epoch from '2026-05-27 09:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488171 -3.684573)'), GeomFromEWKT('SRID=4674;POINT (-38.488182 -3.684444)'))) / (select extract(epoch from '2026-05-27 09:27:27'::timestamp) - extract(epoch from '2026-05-27 09:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488205 -3.684279)', '2026-05-27 09:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488182 -3.684444)'), GeomFromEWKT('SRID=4674;POINT (-38.488205 -3.684279)'))) / (select extract(epoch from '2026-05-27 09:27:34'::timestamp) - extract(epoch from '2026-05-27 09:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488182 -3.684444)'), GeomFromEWKT('SRID=4674;POINT (-38.488205 -3.684279)'))) / (select extract(epoch from '2026-05-27 09:27:34'::timestamp) - extract(epoch from '2026-05-27 09:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488227 -3.684087)', '2026-05-27 09:27:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488205 -3.684279)'), GeomFromEWKT('SRID=4674;POINT (-38.488227 -3.684087)'))) / (select extract(epoch from '2026-05-27 09:27:42'::timestamp) - extract(epoch from '2026-05-27 09:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488205 -3.684279)'), GeomFromEWKT('SRID=4674;POINT (-38.488227 -3.684087)'))) / (select extract(epoch from '2026-05-27 09:27:42'::timestamp) - extract(epoch from '2026-05-27 09:27:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488243 -3.68389)', '2026-05-27 09:27:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488227 -3.684087)'), GeomFromEWKT('SRID=4674;POINT (-38.488243 -3.68389)'))) / (select extract(epoch from '2026-05-27 09:27:50'::timestamp) - extract(epoch from '2026-05-27 09:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488227 -3.684087)'), GeomFromEWKT('SRID=4674;POINT (-38.488243 -3.68389)'))) / (select extract(epoch from '2026-05-27 09:27:50'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488251 -3.68378)', '2026-05-27 09:27:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488243 -3.68389)'), GeomFromEWKT('SRID=4674;POINT (-38.488251 -3.68378)'))) / (select extract(epoch from '2026-05-27 09:27:54'::timestamp) - extract(epoch from '2026-05-27 09:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488243 -3.68389)'), GeomFromEWKT('SRID=4674;POINT (-38.488251 -3.68378)'))) / (select extract(epoch from '2026-05-27 09:27:54'::timestamp) - extract(epoch from '2026-05-27 09:27:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488267 -3.683624)', '2026-05-27 09:28:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488251 -3.68378)'), GeomFromEWKT('SRID=4674;POINT (-38.488267 -3.683624)'))) / (select extract(epoch from '2026-05-27 09:28:00'::timestamp) - extract(epoch from '2026-05-27 09:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488251 -3.68378)'), GeomFromEWKT('SRID=4674;POINT (-38.488267 -3.683624)'))) / (select extract(epoch from '2026-05-27 09:28:00'::timestamp) - extract(epoch from '2026-05-27 09:27:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488269 -3.683472)', '2026-05-27 09:28:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488267 -3.683624)'), GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.683472)'))) / (select extract(epoch from '2026-05-27 09:28:06'::timestamp) - extract(epoch from '2026-05-27 09:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488267 -3.683624)'), GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.683472)'))) / (select extract(epoch from '2026-05-27 09:28:06'::timestamp) - extract(epoch from '2026-05-27 09:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488243 -3.683296)', '2026-05-27 09:28:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.683472)'), GeomFromEWKT('SRID=4674;POINT (-38.488243 -3.683296)'))) / (select extract(epoch from '2026-05-27 09:28:13'::timestamp) - extract(epoch from '2026-05-27 09:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.683472)'), GeomFromEWKT('SRID=4674;POINT (-38.488243 -3.683296)'))) / (select extract(epoch from '2026-05-27 09:28:13'::timestamp) - extract(epoch from '2026-05-27 09:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.4882 -3.683149)', '2026-05-27 09:28:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488243 -3.683296)'), GeomFromEWKT('SRID=4674;POINT (-38.4882 -3.683149)'))) / (select extract(epoch from '2026-05-27 09:28:19'::timestamp) - extract(epoch from '2026-05-27 09:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488243 -3.683296)'), GeomFromEWKT('SRID=4674;POINT (-38.4882 -3.683149)'))) / (select extract(epoch from '2026-05-27 09:28:19'::timestamp) - extract(epoch from '2026-05-27 09:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488103 -3.682994)', '2026-05-27 09:28:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4882 -3.683149)'), GeomFromEWKT('SRID=4674;POINT (-38.488103 -3.682994)'))) / (select extract(epoch from '2026-05-27 09:28:27'::timestamp) - extract(epoch from '2026-05-27 09:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4882 -3.683149)'), GeomFromEWKT('SRID=4674;POINT (-38.488103 -3.682994)'))) / (select extract(epoch from '2026-05-27 09:28:27'::timestamp) - extract(epoch from '2026-05-27 09:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488021 -3.682879)', '2026-05-27 09:28:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488103 -3.682994)'), GeomFromEWKT('SRID=4674;POINT (-38.488021 -3.682879)'))) / (select extract(epoch from '2026-05-27 09:28:35'::timestamp) - extract(epoch from '2026-05-27 09:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488103 -3.682994)'), GeomFromEWKT('SRID=4674;POINT (-38.488021 -3.682879)'))) / (select extract(epoch from '2026-05-27 09:28:35'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.487953 -3.682796)', '2026-05-27 09:28:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488021 -3.682879)'), GeomFromEWKT('SRID=4674;POINT (-38.487953 -3.682796)'))) / (select extract(epoch from '2026-05-27 09:28:42'::timestamp) - extract(epoch from '2026-05-27 09:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488021 -3.682879)'), GeomFromEWKT('SRID=4674;POINT (-38.487953 -3.682796)'))) / (select extract(epoch from '2026-05-27 09:28:42'::timestamp) - extract(epoch from '2026-05-27 09:28:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487893 -3.682718)', '2026-05-27 09:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487953 -3.682796)'), GeomFromEWKT('SRID=4674;POINT (-38.487893 -3.682718)'))) / (select extract(epoch from '2026-05-27 09:28:49'::timestamp) - extract(epoch from '2026-05-27 09:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487953 -3.682796)'), GeomFromEWKT('SRID=4674;POINT (-38.487893 -3.682718)'))) / (select extract(epoch from '2026-05-27 09:28:49'::timestamp) - extract(epoch from '2026-05-27 09:28:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487826 -3.682628)', '2026-05-27 09:28:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487893 -3.682718)'), GeomFromEWKT('SRID=4674;POINT (-38.487826 -3.682628)'))) / (select extract(epoch from '2026-05-27 09:28:56'::timestamp) - extract(epoch from '2026-05-27 09:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487893 -3.682718)'), GeomFromEWKT('SRID=4674;POINT (-38.487826 -3.682628)'))) / (select extract(epoch from '2026-05-27 09:28:56'::timestamp) - extract(epoch from '2026-05-27 09:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.4878 -3.682598)', '2026-05-27 09:28:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487826 -3.682628)'), GeomFromEWKT('SRID=4674;POINT (-38.4878 -3.682598)'))) / (select extract(epoch from '2026-05-27 09:28:59'::timestamp) - extract(epoch from '2026-05-27 09:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487826 -3.682628)'), GeomFromEWKT('SRID=4674;POINT (-38.4878 -3.682598)'))) / (select extract(epoch from '2026-05-27 09:28:59'::timestamp) - extract(epoch from '2026-05-27 09:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487774 -3.682559)', '2026-05-27 09:29:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4878 -3.682598)'), GeomFromEWKT('SRID=4674;POINT (-38.487774 -3.682559)'))) / (select extract(epoch from '2026-05-27 09:29:02'::timestamp) - extract(epoch from '2026-05-27 09:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4878 -3.682598)'), GeomFromEWKT('SRID=4674;POINT (-38.487774 -3.682559)'))) / (select extract(epoch from '2026-05-27 09:29:02'::timestamp) - extract(epoch from '2026-05-27 09:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487703 -3.682476)', '2026-05-27 09:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487774 -3.682559)'), GeomFromEWKT('SRID=4674;POINT (-38.487703 -3.682476)'))) / (select extract(epoch from '2026-05-27 09:29:10'::timestamp) - extract(epoch from '2026-05-27 09:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487774 -3.682559)'), GeomFromEWKT('SRID=4674;POINT (-38.487703 -3.682476)'))) / (select extract(epoch from '2026-05-27 09:29:10'::timestamp) - extract(epoch from '2026-05-27 09:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487622 -3.682359)', '2026-05-27 09:29:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487703 -3.682476)'), GeomFromEWKT('SRID=4674;POINT (-38.487622 -3.682359)'))) / (select extract(epoch from '2026-05-27 09:29:19'::timestamp) - extract(epoch from '2026-05-27 09:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487703 -3.682476)'), GeomFromEWKT('SRID=4674;POINT (-38.487622 -3.682359)'))) / (select extract(epoch from '2026-05-27 09:29:19'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.48756 -3.682237)', '2026-05-27 09:29:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487622 -3.682359)'), GeomFromEWKT('SRID=4674;POINT (-38.48756 -3.682237)'))) / (select extract(epoch from '2026-05-27 09:29:27'::timestamp) - extract(epoch from '2026-05-27 09:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487622 -3.682359)'), GeomFromEWKT('SRID=4674;POINT (-38.48756 -3.682237)'))) / (select extract(epoch from '2026-05-27 09:29:27'::timestamp) - extract(epoch from '2026-05-27 09:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.4875 -3.682113)', '2026-05-27 09:29:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48756 -3.682237)'), GeomFromEWKT('SRID=4674;POINT (-38.4875 -3.682113)'))) / (select extract(epoch from '2026-05-27 09:29:36'::timestamp) - extract(epoch from '2026-05-27 09:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48756 -3.682237)'), GeomFromEWKT('SRID=4674;POINT (-38.4875 -3.682113)'))) / (select extract(epoch from '2026-05-27 09:29:36'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.487449 -3.68203)', '2026-05-27 09:29:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4875 -3.682113)'), GeomFromEWKT('SRID=4674;POINT (-38.487449 -3.68203)'))) / (select extract(epoch from '2026-05-27 09:29:42'::timestamp) - extract(epoch from '2026-05-27 09:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4875 -3.682113)'), GeomFromEWKT('SRID=4674;POINT (-38.487449 -3.68203)'))) / (select extract(epoch from '2026-05-27 09:29:42'::timestamp) - extract(epoch from '2026-05-27 09:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487387 -3.681958)', '2026-05-27 09:29:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487449 -3.68203)'), GeomFromEWKT('SRID=4674;POINT (-38.487387 -3.681958)'))) / (select extract(epoch from '2026-05-27 09:29:48'::timestamp) - extract(epoch from '2026-05-27 09:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487449 -3.68203)'), GeomFromEWKT('SRID=4674;POINT (-38.487387 -3.681958)'))) / (select extract(epoch from '2026-05-27 09:29:48'::timestamp) - extract(epoch from '2026-05-27 09:29:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487374 -3.681934)', '2026-05-27 09:29:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487387 -3.681958)'), GeomFromEWKT('SRID=4674;POINT (-38.487374 -3.681934)'))) / (select extract(epoch from '2026-05-27 09:29:50'::timestamp) - extract(epoch from '2026-05-27 09:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487387 -3.681958)'), GeomFromEWKT('SRID=4674;POINT (-38.487374 -3.681934)'))) / (select extract(epoch from '2026-05-27 09:29:50'::timestamp) - extract(epoch from '2026-05-27 09:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487354 -3.681902)', '2026-05-27 09:29:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487374 -3.681934)'), GeomFromEWKT('SRID=4674;POINT (-38.487354 -3.681902)'))) / (select extract(epoch from '2026-05-27 09:29:53'::timestamp) - extract(epoch from '2026-05-27 09:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487374 -3.681934)'), GeomFromEWKT('SRID=4674;POINT (-38.487354 -3.681902)'))) / (select extract(epoch from '2026-05-27 09:29:53'::timestamp) - extract(epoch from '2026-05-27 09:29:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487308 -3.681805)', '2026-05-27 09:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487354 -3.681902)'), GeomFromEWKT('SRID=4674;POINT (-38.487308 -3.681805)'))) / (select extract(epoch from '2026-05-27 09:30:00'::timestamp) - extract(epoch from '2026-05-27 09:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487354 -3.681902)'), GeomFromEWKT('SRID=4674;POINT (-38.487308 -3.681805)'))) / (select extract(epoch from '2026-05-27 09:30:00'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.487285 -3.681738)', '2026-05-27 09:30:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487308 -3.681805)'), GeomFromEWKT('SRID=4674;POINT (-38.487285 -3.681738)'))) / (select extract(epoch from '2026-05-27 09:30:05'::timestamp) - extract(epoch from '2026-05-27 09:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487308 -3.681805)'), GeomFromEWKT('SRID=4674;POINT (-38.487285 -3.681738)'))) / (select extract(epoch from '2026-05-27 09:30:05'::timestamp) - extract(epoch from '2026-05-27 09:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487254 -3.681599)', '2026-05-27 09:30:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487285 -3.681738)'), GeomFromEWKT('SRID=4674;POINT (-38.487254 -3.681599)'))) / (select extract(epoch from '2026-05-27 09:30:12'::timestamp) - extract(epoch from '2026-05-27 09:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487285 -3.681738)'), GeomFromEWKT('SRID=4674;POINT (-38.487254 -3.681599)'))) / (select extract(epoch from '2026-05-27 09:30:12'::timestamp) - extract(epoch from '2026-05-27 09:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487246 -3.681466)', '2026-05-27 09:30:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487254 -3.681599)'), GeomFromEWKT('SRID=4674;POINT (-38.487246 -3.681466)'))) / (select extract(epoch from '2026-05-27 09:30:18'::timestamp) - extract(epoch from '2026-05-27 09:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487254 -3.681599)'), GeomFromEWKT('SRID=4674;POINT (-38.487246 -3.681466)'))) / (select extract(epoch from '2026-05-27 09:30:18'::timestamp) - extract(epoch from '2026-05-27 09:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48725 -3.681312)', '2026-05-27 09:30:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487246 -3.681466)'), GeomFromEWKT('SRID=4674;POINT (-38.48725 -3.681312)'))) / (select extract(epoch from '2026-05-27 09:30:24'::timestamp) - extract(epoch from '2026-05-27 09:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487246 -3.681466)'), GeomFromEWKT('SRID=4674;POINT (-38.48725 -3.681312)'))) / (select extract(epoch from '2026-05-27 09:30:24'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.487273 -3.681109)', '2026-05-27 09:30:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48725 -3.681312)'), GeomFromEWKT('SRID=4674;POINT (-38.487273 -3.681109)'))) / (select extract(epoch from '2026-05-27 09:30:32'::timestamp) - extract(epoch from '2026-05-27 09:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48725 -3.681312)'), GeomFromEWKT('SRID=4674;POINT (-38.487273 -3.681109)'))) / (select extract(epoch from '2026-05-27 09:30:32'::timestamp) - extract(epoch from '2026-05-27 09:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487317 -3.680959)', '2026-05-27 09:30:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487273 -3.681109)'), GeomFromEWKT('SRID=4674;POINT (-38.487317 -3.680959)'))) / (select extract(epoch from '2026-05-27 09:30:38'::timestamp) - extract(epoch from '2026-05-27 09:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487273 -3.681109)'), GeomFromEWKT('SRID=4674;POINT (-38.487317 -3.680959)'))) / (select extract(epoch from '2026-05-27 09:30:38'::timestamp) - extract(epoch from '2026-05-27 09:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487348 -3.680833)', '2026-05-27 09:30:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487317 -3.680959)'), GeomFromEWKT('SRID=4674;POINT (-38.487348 -3.680833)'))) / (select extract(epoch from '2026-05-27 09:30:43'::timestamp) - extract(epoch from '2026-05-27 09:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487317 -3.680959)'), GeomFromEWKT('SRID=4674;POINT (-38.487348 -3.680833)'))) / (select extract(epoch from '2026-05-27 09:30:43'::timestamp) - extract(epoch from '2026-05-27 09:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487371 -3.680676)', '2026-05-27 09:30:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487348 -3.680833)'), GeomFromEWKT('SRID=4674;POINT (-38.487371 -3.680676)'))) / (select extract(epoch from '2026-05-27 09:30:49'::timestamp) - extract(epoch from '2026-05-27 09:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487348 -3.680833)'), GeomFromEWKT('SRID=4674;POINT (-38.487371 -3.680676)'))) / (select extract(epoch from '2026-05-27 09:30:49'::timestamp) - extract(epoch from '2026-05-27 09:30:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487376 -3.68053)', '2026-05-27 09:30:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487371 -3.680676)'), GeomFromEWKT('SRID=4674;POINT (-38.487376 -3.68053)'))) / (select extract(epoch from '2026-05-27 09:30:55'::timestamp) - extract(epoch from '2026-05-27 09:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487371 -3.680676)'), GeomFromEWKT('SRID=4674;POINT (-38.487376 -3.68053)'))) / (select extract(epoch from '2026-05-27 09:30:55'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.487379 -3.680383)', '2026-05-27 09:31:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487376 -3.68053)'), GeomFromEWKT('SRID=4674;POINT (-38.487379 -3.680383)'))) / (select extract(epoch from '2026-05-27 09:31:01'::timestamp) - extract(epoch from '2026-05-27 09:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487376 -3.68053)'), GeomFromEWKT('SRID=4674;POINT (-38.487379 -3.680383)'))) / (select extract(epoch from '2026-05-27 09:31:01'::timestamp) - extract(epoch from '2026-05-27 09:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487393 -3.680263)', '2026-05-27 09:31:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487379 -3.680383)'), GeomFromEWKT('SRID=4674;POINT (-38.487393 -3.680263)'))) / (select extract(epoch from '2026-05-27 09:31:06'::timestamp) - extract(epoch from '2026-05-27 09:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487379 -3.680383)'), GeomFromEWKT('SRID=4674;POINT (-38.487393 -3.680263)'))) / (select extract(epoch from '2026-05-27 09:31:06'::timestamp) - extract(epoch from '2026-05-27 09:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487417 -3.680098)', '2026-05-27 09:31:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487393 -3.680263)'), GeomFromEWKT('SRID=4674;POINT (-38.487417 -3.680098)'))) / (select extract(epoch from '2026-05-27 09:31:13'::timestamp) - extract(epoch from '2026-05-27 09:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487393 -3.680263)'), GeomFromEWKT('SRID=4674;POINT (-38.487417 -3.680098)'))) / (select extract(epoch from '2026-05-27 09:31:13'::timestamp) - extract(epoch from '2026-05-27 09:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487435 -3.679949)', '2026-05-27 09:31:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487417 -3.680098)'), GeomFromEWKT('SRID=4674;POINT (-38.487435 -3.679949)'))) / (select extract(epoch from '2026-05-27 09:31:19'::timestamp) - extract(epoch from '2026-05-27 09:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487417 -3.680098)'), GeomFromEWKT('SRID=4674;POINT (-38.487435 -3.679949)'))) / (select extract(epoch from '2026-05-27 09:31:19'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.487439 -3.679791)', '2026-05-27 09:31:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487435 -3.679949)'), GeomFromEWKT('SRID=4674;POINT (-38.487439 -3.679791)'))) / (select extract(epoch from '2026-05-27 09:31:25'::timestamp) - extract(epoch from '2026-05-27 09:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487435 -3.679949)'), GeomFromEWKT('SRID=4674;POINT (-38.487439 -3.679791)'))) / (select extract(epoch from '2026-05-27 09:31:25'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.487446 -3.679615)', '2026-05-27 09:31:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487439 -3.679791)'), GeomFromEWKT('SRID=4674;POINT (-38.487446 -3.679615)'))) / (select extract(epoch from '2026-05-27 09:31:32'::timestamp) - extract(epoch from '2026-05-27 09:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487439 -3.679791)'), GeomFromEWKT('SRID=4674;POINT (-38.487446 -3.679615)'))) / (select extract(epoch from '2026-05-27 09:31:32'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.487467 -3.679407)', '2026-05-27 09:31:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487446 -3.679615)'), GeomFromEWKT('SRID=4674;POINT (-38.487467 -3.679407)'))) / (select extract(epoch from '2026-05-27 09:31:40'::timestamp) - extract(epoch from '2026-05-27 09:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487446 -3.679615)'), GeomFromEWKT('SRID=4674;POINT (-38.487467 -3.679407)'))) / (select extract(epoch from '2026-05-27 09:31:40'::timestamp) - extract(epoch from '2026-05-27 09:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487494 -3.67925)', '2026-05-27 09:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487467 -3.679407)'), GeomFromEWKT('SRID=4674;POINT (-38.487494 -3.67925)'))) / (select extract(epoch from '2026-05-27 09:31:46'::timestamp) - extract(epoch from '2026-05-27 09:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487467 -3.679407)'), GeomFromEWKT('SRID=4674;POINT (-38.487494 -3.67925)'))) / (select extract(epoch from '2026-05-27 09:31:46'::timestamp) - extract(epoch from '2026-05-27 09:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48752 -3.679069)', '2026-05-27 09:31:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487494 -3.67925)'), GeomFromEWKT('SRID=4674;POINT (-38.48752 -3.679069)'))) / (select extract(epoch from '2026-05-27 09:31:53'::timestamp) - extract(epoch from '2026-05-27 09:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487494 -3.67925)'), GeomFromEWKT('SRID=4674;POINT (-38.48752 -3.679069)'))) / (select extract(epoch from '2026-05-27 09:31:53'::timestamp) - extract(epoch from '2026-05-27 09:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487541 -3.678902)', '2026-05-27 09:31:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48752 -3.679069)'), GeomFromEWKT('SRID=4674;POINT (-38.487541 -3.678902)'))) / (select extract(epoch from '2026-05-27 09:31:59'::timestamp) - extract(epoch from '2026-05-27 09:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48752 -3.679069)'), GeomFromEWKT('SRID=4674;POINT (-38.487541 -3.678902)'))) / (select extract(epoch from '2026-05-27 09:31:59'::timestamp) - extract(epoch from '2026-05-27 09:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487553 -3.678744)', '2026-05-27 09:32:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487541 -3.678902)'), GeomFromEWKT('SRID=4674;POINT (-38.487553 -3.678744)'))) / (select extract(epoch from '2026-05-27 09:32:05'::timestamp) - extract(epoch from '2026-05-27 09:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487541 -3.678902)'), GeomFromEWKT('SRID=4674;POINT (-38.487553 -3.678744)'))) / (select extract(epoch from '2026-05-27 09:32:05'::timestamp) - extract(epoch from '2026-05-27 09:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487565 -3.67861)', '2026-05-27 09:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487553 -3.678744)'), GeomFromEWKT('SRID=4674;POINT (-38.487565 -3.67861)'))) / (select extract(epoch from '2026-05-27 09:32:10'::timestamp) - extract(epoch from '2026-05-27 09:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487553 -3.678744)'), GeomFromEWKT('SRID=4674;POINT (-38.487565 -3.67861)'))) / (select extract(epoch from '2026-05-27 09:32:10'::timestamp) - extract(epoch from '2026-05-27 09:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487585 -3.678426)', '2026-05-27 09:32:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487565 -3.67861)'), GeomFromEWKT('SRID=4674;POINT (-38.487585 -3.678426)'))) / (select extract(epoch from '2026-05-27 09:32:17'::timestamp) - extract(epoch from '2026-05-27 09:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487565 -3.67861)'), GeomFromEWKT('SRID=4674;POINT (-38.487585 -3.678426)'))) / (select extract(epoch from '2026-05-27 09:32:17'::timestamp) - extract(epoch from '2026-05-27 09:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487599 -3.678273)', '2026-05-27 09:32:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487585 -3.678426)'), GeomFromEWKT('SRID=4674;POINT (-38.487599 -3.678273)'))) / (select extract(epoch from '2026-05-27 09:32:23'::timestamp) - extract(epoch from '2026-05-27 09:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487585 -3.678426)'), GeomFromEWKT('SRID=4674;POINT (-38.487599 -3.678273)'))) / (select extract(epoch from '2026-05-27 09:32:23'::timestamp) - extract(epoch from '2026-05-27 09:32:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487624 -3.678125)', '2026-05-27 09:32:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487599 -3.678273)'), GeomFromEWKT('SRID=4674;POINT (-38.487624 -3.678125)'))) / (select extract(epoch from '2026-05-27 09:32:29'::timestamp) - extract(epoch from '2026-05-27 09:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487599 -3.678273)'), GeomFromEWKT('SRID=4674;POINT (-38.487624 -3.678125)'))) / (select extract(epoch from '2026-05-27 09:32:29'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.487634 -3.677994)', '2026-05-27 09:32:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487624 -3.678125)'), GeomFromEWKT('SRID=4674;POINT (-38.487634 -3.677994)'))) / (select extract(epoch from '2026-05-27 09:32:34'::timestamp) - extract(epoch from '2026-05-27 09:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487624 -3.678125)'), GeomFromEWKT('SRID=4674;POINT (-38.487634 -3.677994)'))) / (select extract(epoch from '2026-05-27 09:32:34'::timestamp) - extract(epoch from '2026-05-27 09:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487641 -3.677804)', '2026-05-27 09:32:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487634 -3.677994)'), GeomFromEWKT('SRID=4674;POINT (-38.487641 -3.677804)'))) / (select extract(epoch from '2026-05-27 09:32:41'::timestamp) - extract(epoch from '2026-05-27 09:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487634 -3.677994)'), GeomFromEWKT('SRID=4674;POINT (-38.487641 -3.677804)'))) / (select extract(epoch from '2026-05-27 09:32:41'::timestamp) - extract(epoch from '2026-05-27 09:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487668 -3.677614)', '2026-05-27 09:32:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487641 -3.677804)'), GeomFromEWKT('SRID=4674;POINT (-38.487668 -3.677614)'))) / (select extract(epoch from '2026-05-27 09:32:48'::timestamp) - extract(epoch from '2026-05-27 09:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487641 -3.677804)'), GeomFromEWKT('SRID=4674;POINT (-38.487668 -3.677614)'))) / (select extract(epoch from '2026-05-27 09:32:48'::timestamp) - extract(epoch from '2026-05-27 09:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487695 -3.677438)', '2026-05-27 09:32:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487668 -3.677614)'), GeomFromEWKT('SRID=4674;POINT (-38.487695 -3.677438)'))) / (select extract(epoch from '2026-05-27 09:32:55'::timestamp) - extract(epoch from '2026-05-27 09:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487668 -3.677614)'), GeomFromEWKT('SRID=4674;POINT (-38.487695 -3.677438)'))) / (select extract(epoch from '2026-05-27 09:32:55'::timestamp) - extract(epoch from '2026-05-27 09:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487724 -3.67726)', '2026-05-27 09:33:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487695 -3.677438)'), GeomFromEWKT('SRID=4674;POINT (-38.487724 -3.67726)'))) / (select extract(epoch from '2026-05-27 09:33:02'::timestamp) - extract(epoch from '2026-05-27 09:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487695 -3.677438)'), GeomFromEWKT('SRID=4674;POINT (-38.487724 -3.67726)'))) / (select extract(epoch from '2026-05-27 09:33:02'::timestamp) - extract(epoch from '2026-05-27 09:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48774 -3.67707)', '2026-05-27 09:33:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487724 -3.67726)'), GeomFromEWKT('SRID=4674;POINT (-38.48774 -3.67707)'))) / (select extract(epoch from '2026-05-27 09:33:09'::timestamp) - extract(epoch from '2026-05-27 09:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487724 -3.67726)'), GeomFromEWKT('SRID=4674;POINT (-38.48774 -3.67707)'))) / (select extract(epoch from '2026-05-27 09:33:09'::timestamp) - extract(epoch from '2026-05-27 09:33:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48776 -3.676886)', '2026-05-27 09:33:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48774 -3.67707)'), GeomFromEWKT('SRID=4674;POINT (-38.48776 -3.676886)'))) / (select extract(epoch from '2026-05-27 09:33:16'::timestamp) - extract(epoch from '2026-05-27 09:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48774 -3.67707)'), GeomFromEWKT('SRID=4674;POINT (-38.48776 -3.676886)'))) / (select extract(epoch from '2026-05-27 09:33:16'::timestamp) - extract(epoch from '2026-05-27 09:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487778 -3.676754)', '2026-05-27 09:33:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48776 -3.676886)'), GeomFromEWKT('SRID=4674;POINT (-38.487778 -3.676754)'))) / (select extract(epoch from '2026-05-27 09:33:21'::timestamp) - extract(epoch from '2026-05-27 09:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48776 -3.676886)'), GeomFromEWKT('SRID=4674;POINT (-38.487778 -3.676754)'))) / (select extract(epoch from '2026-05-27 09:33:21'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.487802 -3.676624)', '2026-05-27 09:33:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487778 -3.676754)'), GeomFromEWKT('SRID=4674;POINT (-38.487802 -3.676624)'))) / (select extract(epoch from '2026-05-27 09:33:26'::timestamp) - extract(epoch from '2026-05-27 09:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487778 -3.676754)'), GeomFromEWKT('SRID=4674;POINT (-38.487802 -3.676624)'))) / (select extract(epoch from '2026-05-27 09:33:26'::timestamp) - extract(epoch from '2026-05-27 09:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487835 -3.676455)', '2026-05-27 09:33:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487802 -3.676624)'), GeomFromEWKT('SRID=4674;POINT (-38.487835 -3.676455)'))) / (select extract(epoch from '2026-05-27 09:33:33'::timestamp) - extract(epoch from '2026-05-27 09:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487802 -3.676624)'), GeomFromEWKT('SRID=4674;POINT (-38.487835 -3.676455)'))) / (select extract(epoch from '2026-05-27 09:33:33'::timestamp) - extract(epoch from '2026-05-27 09:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487852 -3.67632)', '2026-05-27 09:33:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487835 -3.676455)'), GeomFromEWKT('SRID=4674;POINT (-38.487852 -3.67632)'))) / (select extract(epoch from '2026-05-27 09:33:39'::timestamp) - extract(epoch from '2026-05-27 09:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487835 -3.676455)'), GeomFromEWKT('SRID=4674;POINT (-38.487852 -3.67632)'))) / (select extract(epoch from '2026-05-27 09:33:39'::timestamp) - extract(epoch from '2026-05-27 09:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487868 -3.676186)', '2026-05-27 09:33:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487852 -3.67632)'), GeomFromEWKT('SRID=4674;POINT (-38.487868 -3.676186)'))) / (select extract(epoch from '2026-05-27 09:33:45'::timestamp) - extract(epoch from '2026-05-27 09:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487852 -3.67632)'), GeomFromEWKT('SRID=4674;POINT (-38.487868 -3.676186)'))) / (select extract(epoch from '2026-05-27 09:33:45'::timestamp) - extract(epoch from '2026-05-27 09:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487893 -3.67604)', '2026-05-27 09:33:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487868 -3.676186)'), GeomFromEWKT('SRID=4674;POINT (-38.487893 -3.67604)'))) / (select extract(epoch from '2026-05-27 09:33:51'::timestamp) - extract(epoch from '2026-05-27 09:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487868 -3.676186)'), GeomFromEWKT('SRID=4674;POINT (-38.487893 -3.67604)'))) / (select extract(epoch from '2026-05-27 09:33:51'::timestamp) - extract(epoch from '2026-05-27 09:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487923 -3.675886)', '2026-05-27 09:33:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487893 -3.67604)'), GeomFromEWKT('SRID=4674;POINT (-38.487923 -3.675886)'))) / (select extract(epoch from '2026-05-27 09:33:57'::timestamp) - extract(epoch from '2026-05-27 09:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487893 -3.67604)'), GeomFromEWKT('SRID=4674;POINT (-38.487923 -3.675886)'))) / (select extract(epoch from '2026-05-27 09:33:57'::timestamp) - extract(epoch from '2026-05-27 09:33:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.487961 -3.675713)', '2026-05-27 09:34:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487923 -3.675886)'), GeomFromEWKT('SRID=4674;POINT (-38.487961 -3.675713)'))) / (select extract(epoch from '2026-05-27 09:34:04'::timestamp) - extract(epoch from '2026-05-27 09:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487923 -3.675886)'), GeomFromEWKT('SRID=4674;POINT (-38.487961 -3.675713)'))) / (select extract(epoch from '2026-05-27 09:34:04'::timestamp) - extract(epoch from '2026-05-27 09:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48801 -3.675548)', '2026-05-27 09:34:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487961 -3.675713)'), GeomFromEWKT('SRID=4674;POINT (-38.48801 -3.675548)'))) / (select extract(epoch from '2026-05-27 09:34:11'::timestamp) - extract(epoch from '2026-05-27 09:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487961 -3.675713)'), GeomFromEWKT('SRID=4674;POINT (-38.48801 -3.675548)'))) / (select extract(epoch from '2026-05-27 09:34:11'::timestamp) - extract(epoch from '2026-05-27 09:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488025 -3.675431)', '2026-05-27 09:34:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48801 -3.675548)'), GeomFromEWKT('SRID=4674;POINT (-38.488025 -3.675431)'))) / (select extract(epoch from '2026-05-27 09:34:16'::timestamp) - extract(epoch from '2026-05-27 09:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48801 -3.675548)'), GeomFromEWKT('SRID=4674;POINT (-38.488025 -3.675431)'))) / (select extract(epoch from '2026-05-27 09:34:16'::timestamp) - extract(epoch from '2026-05-27 09:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488036 -3.675314)', '2026-05-27 09:34:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488025 -3.675431)'), GeomFromEWKT('SRID=4674;POINT (-38.488036 -3.675314)'))) / (select extract(epoch from '2026-05-27 09:34:21'::timestamp) - extract(epoch from '2026-05-27 09:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488025 -3.675431)'), GeomFromEWKT('SRID=4674;POINT (-38.488036 -3.675314)'))) / (select extract(epoch from '2026-05-27 09:34:21'::timestamp) - extract(epoch from '2026-05-27 09:34:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48804 -3.67519)', '2026-05-27 09:34:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488036 -3.675314)'), GeomFromEWKT('SRID=4674;POINT (-38.48804 -3.67519)'))) / (select extract(epoch from '2026-05-27 09:34:26'::timestamp) - extract(epoch from '2026-05-27 09:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488036 -3.675314)'), GeomFromEWKT('SRID=4674;POINT (-38.48804 -3.67519)'))) / (select extract(epoch from '2026-05-27 09:34:26'::timestamp) - extract(epoch from '2026-05-27 09:34:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488071 -3.675039)', '2026-05-27 09:34:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48804 -3.67519)'), GeomFromEWKT('SRID=4674;POINT (-38.488071 -3.675039)'))) / (select extract(epoch from '2026-05-27 09:34:32'::timestamp) - extract(epoch from '2026-05-27 09:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48804 -3.67519)'), GeomFromEWKT('SRID=4674;POINT (-38.488071 -3.675039)'))) / (select extract(epoch from '2026-05-27 09:34:32'::timestamp) - extract(epoch from '2026-05-27 09:34:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488104 -3.674886)', '2026-05-27 09:34:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488071 -3.675039)'), GeomFromEWKT('SRID=4674;POINT (-38.488104 -3.674886)'))) / (select extract(epoch from '2026-05-27 09:34:38'::timestamp) - extract(epoch from '2026-05-27 09:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488071 -3.675039)'), GeomFromEWKT('SRID=4674;POINT (-38.488104 -3.674886)'))) / (select extract(epoch from '2026-05-27 09:34:38'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488119 -3.674764)', '2026-05-27 09:34:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488104 -3.674886)'), GeomFromEWKT('SRID=4674;POINT (-38.488119 -3.674764)'))) / (select extract(epoch from '2026-05-27 09:34:43'::timestamp) - extract(epoch from '2026-05-27 09:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488104 -3.674886)'), GeomFromEWKT('SRID=4674;POINT (-38.488119 -3.674764)'))) / (select extract(epoch from '2026-05-27 09:34:43'::timestamp) - extract(epoch from '2026-05-27 09:34:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488153 -3.674615)', '2026-05-27 09:34:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488119 -3.674764)'), GeomFromEWKT('SRID=4674;POINT (-38.488153 -3.674615)'))) / (select extract(epoch from '2026-05-27 09:34:49'::timestamp) - extract(epoch from '2026-05-27 09:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488119 -3.674764)'), GeomFromEWKT('SRID=4674;POINT (-38.488153 -3.674615)'))) / (select extract(epoch from '2026-05-27 09:34:49'::timestamp) - extract(epoch from '2026-05-27 09:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48819 -3.674477)', '2026-05-27 09:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488153 -3.674615)'), GeomFromEWKT('SRID=4674;POINT (-38.48819 -3.674477)'))) / (select extract(epoch from '2026-05-27 09:34:55'::timestamp) - extract(epoch from '2026-05-27 09:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488153 -3.674615)'), GeomFromEWKT('SRID=4674;POINT (-38.48819 -3.674477)'))) / (select extract(epoch from '2026-05-27 09:34:55'::timestamp) - extract(epoch from '2026-05-27 09:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48822 -3.674349)', '2026-05-27 09:35:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48819 -3.674477)'), GeomFromEWKT('SRID=4674;POINT (-38.48822 -3.674349)'))) / (select extract(epoch from '2026-05-27 09:35:00'::timestamp) - extract(epoch from '2026-05-27 09:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48819 -3.674477)'), GeomFromEWKT('SRID=4674;POINT (-38.48822 -3.674349)'))) / (select extract(epoch from '2026-05-27 09:35:00'::timestamp) - extract(epoch from '2026-05-27 09:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48825 -3.674203)', '2026-05-27 09:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48822 -3.674349)'), GeomFromEWKT('SRID=4674;POINT (-38.48825 -3.674203)'))) / (select extract(epoch from '2026-05-27 09:35:06'::timestamp) - extract(epoch from '2026-05-27 09:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48822 -3.674349)'), GeomFromEWKT('SRID=4674;POINT (-38.48825 -3.674203)'))) / (select extract(epoch from '2026-05-27 09:35:06'::timestamp) - extract(epoch from '2026-05-27 09:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488269 -3.674085)', '2026-05-27 09:35:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48825 -3.674203)'), GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.674085)'))) / (select extract(epoch from '2026-05-27 09:35:11'::timestamp) - extract(epoch from '2026-05-27 09:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48825 -3.674203)'), GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.674085)'))) / (select extract(epoch from '2026-05-27 09:35:11'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488295 -3.67396)', '2026-05-27 09:35:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.674085)'), GeomFromEWKT('SRID=4674;POINT (-38.488295 -3.67396)'))) / (select extract(epoch from '2026-05-27 09:35:16'::timestamp) - extract(epoch from '2026-05-27 09:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488269 -3.674085)'), GeomFromEWKT('SRID=4674;POINT (-38.488295 -3.67396)'))) / (select extract(epoch from '2026-05-27 09:35:16'::timestamp) - extract(epoch from '2026-05-27 09:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488312 -3.673832)', '2026-05-27 09:35:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488295 -3.67396)'), GeomFromEWKT('SRID=4674;POINT (-38.488312 -3.673832)'))) / (select extract(epoch from '2026-05-27 09:35:21'::timestamp) - extract(epoch from '2026-05-27 09:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488295 -3.67396)'), GeomFromEWKT('SRID=4674;POINT (-38.488312 -3.673832)'))) / (select extract(epoch from '2026-05-27 09:35:21'::timestamp) - extract(epoch from '2026-05-27 09:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488338 -3.673685)', '2026-05-27 09:35:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488312 -3.673832)'), GeomFromEWKT('SRID=4674;POINT (-38.488338 -3.673685)'))) / (select extract(epoch from '2026-05-27 09:35:27'::timestamp) - extract(epoch from '2026-05-27 09:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488312 -3.673832)'), GeomFromEWKT('SRID=4674;POINT (-38.488338 -3.673685)'))) / (select extract(epoch from '2026-05-27 09:35:27'::timestamp) - extract(epoch from '2026-05-27 09:35:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488359 -3.673563)', '2026-05-27 09:35:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488338 -3.673685)'), GeomFromEWKT('SRID=4674;POINT (-38.488359 -3.673563)'))) / (select extract(epoch from '2026-05-27 09:35:32'::timestamp) - extract(epoch from '2026-05-27 09:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488338 -3.673685)'), GeomFromEWKT('SRID=4674;POINT (-38.488359 -3.673563)'))) / (select extract(epoch from '2026-05-27 09:35:32'::timestamp) - extract(epoch from '2026-05-27 09:35:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488365 -3.673392)', '2026-05-27 09:35:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488359 -3.673563)'), GeomFromEWKT('SRID=4674;POINT (-38.488365 -3.673392)'))) / (select extract(epoch from '2026-05-27 09:35:39'::timestamp) - extract(epoch from '2026-05-27 09:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488359 -3.673563)'), GeomFromEWKT('SRID=4674;POINT (-38.488365 -3.673392)'))) / (select extract(epoch from '2026-05-27 09:35:39'::timestamp) - extract(epoch from '2026-05-27 09:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488366 -3.673235)', '2026-05-27 09:35:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488365 -3.673392)'), GeomFromEWKT('SRID=4674;POINT (-38.488366 -3.673235)'))) / (select extract(epoch from '2026-05-27 09:35:45'::timestamp) - extract(epoch from '2026-05-27 09:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488365 -3.673392)'), GeomFromEWKT('SRID=4674;POINT (-38.488366 -3.673235)'))) / (select extract(epoch from '2026-05-27 09:35:45'::timestamp) - extract(epoch from '2026-05-27 09:35:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488369 -3.673054)', '2026-05-27 09:35:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488366 -3.673235)'), GeomFromEWKT('SRID=4674;POINT (-38.488369 -3.673054)'))) / (select extract(epoch from '2026-05-27 09:35:52'::timestamp) - extract(epoch from '2026-05-27 09:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488366 -3.673235)'), GeomFromEWKT('SRID=4674;POINT (-38.488369 -3.673054)'))) / (select extract(epoch from '2026-05-27 09:35:52'::timestamp) - extract(epoch from '2026-05-27 09:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488374 -3.672887)', '2026-05-27 09:35:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488369 -3.673054)'), GeomFromEWKT('SRID=4674;POINT (-38.488374 -3.672887)'))) / (select extract(epoch from '2026-05-27 09:35:58'::timestamp) - extract(epoch from '2026-05-27 09:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488369 -3.673054)'), GeomFromEWKT('SRID=4674;POINT (-38.488374 -3.672887)'))) / (select extract(epoch from '2026-05-27 09:35:58'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488394 -3.672689)', '2026-05-27 09:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488374 -3.672887)'), GeomFromEWKT('SRID=4674;POINT (-38.488394 -3.672689)'))) / (select extract(epoch from '2026-05-27 09:36:05'::timestamp) - extract(epoch from '2026-05-27 09:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488374 -3.672887)'), GeomFromEWKT('SRID=4674;POINT (-38.488394 -3.672689)'))) / (select extract(epoch from '2026-05-27 09:36:05'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488409 -3.672517)', '2026-05-27 09:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488394 -3.672689)'), GeomFromEWKT('SRID=4674;POINT (-38.488409 -3.672517)'))) / (select extract(epoch from '2026-05-27 09:36:11'::timestamp) - extract(epoch from '2026-05-27 09:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488394 -3.672689)'), GeomFromEWKT('SRID=4674;POINT (-38.488409 -3.672517)'))) / (select extract(epoch from '2026-05-27 09:36:11'::timestamp) - extract(epoch from '2026-05-27 09:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488418 -3.672334)', '2026-05-27 09:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488409 -3.672517)'), GeomFromEWKT('SRID=4674;POINT (-38.488418 -3.672334)'))) / (select extract(epoch from '2026-05-27 09:36:18'::timestamp) - extract(epoch from '2026-05-27 09:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488409 -3.672517)'), GeomFromEWKT('SRID=4674;POINT (-38.488418 -3.672334)'))) / (select extract(epoch from '2026-05-27 09:36:18'::timestamp) - extract(epoch from '2026-05-27 09:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488432 -3.672144)', '2026-05-27 09:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488418 -3.672334)'), GeomFromEWKT('SRID=4674;POINT (-38.488432 -3.672144)'))) / (select extract(epoch from '2026-05-27 09:36:25'::timestamp) - extract(epoch from '2026-05-27 09:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488418 -3.672334)'), GeomFromEWKT('SRID=4674;POINT (-38.488432 -3.672144)'))) / (select extract(epoch from '2026-05-27 09:36:25'::timestamp) - extract(epoch from '2026-05-27 09:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488433 -3.671917)', '2026-05-27 09:36:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488432 -3.672144)'), GeomFromEWKT('SRID=4674;POINT (-38.488433 -3.671917)'))) / (select extract(epoch from '2026-05-27 09:36:33'::timestamp) - extract(epoch from '2026-05-27 09:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488432 -3.672144)'), GeomFromEWKT('SRID=4674;POINT (-38.488433 -3.671917)'))) / (select extract(epoch from '2026-05-27 09:36:33'::timestamp) - extract(epoch from '2026-05-27 09:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48844 -3.671715)', '2026-05-27 09:36:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488433 -3.671917)'), GeomFromEWKT('SRID=4674;POINT (-38.48844 -3.671715)'))) / (select extract(epoch from '2026-05-27 09:36:40'::timestamp) - extract(epoch from '2026-05-27 09:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488433 -3.671917)'), GeomFromEWKT('SRID=4674;POINT (-38.48844 -3.671715)'))) / (select extract(epoch from '2026-05-27 09:36:40'::timestamp) - extract(epoch from '2026-05-27 09:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488462 -3.671546)', '2026-05-27 09:36:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48844 -3.671715)'), GeomFromEWKT('SRID=4674;POINT (-38.488462 -3.671546)'))) / (select extract(epoch from '2026-05-27 09:36:46'::timestamp) - extract(epoch from '2026-05-27 09:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48844 -3.671715)'), GeomFromEWKT('SRID=4674;POINT (-38.488462 -3.671546)'))) / (select extract(epoch from '2026-05-27 09:36:46'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.48848 -3.671364)', '2026-05-27 09:36:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488462 -3.671546)'), GeomFromEWKT('SRID=4674;POINT (-38.48848 -3.671364)'))) / (select extract(epoch from '2026-05-27 09:36:53'::timestamp) - extract(epoch from '2026-05-27 09:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488462 -3.671546)'), GeomFromEWKT('SRID=4674;POINT (-38.48848 -3.671364)'))) / (select extract(epoch from '2026-05-27 09:36:53'::timestamp) - extract(epoch from '2026-05-27 09:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488483 -3.671231)', '2026-05-27 09:36:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48848 -3.671364)'), GeomFromEWKT('SRID=4674;POINT (-38.488483 -3.671231)'))) / (select extract(epoch from '2026-05-27 09:36:58'::timestamp) - extract(epoch from '2026-05-27 09:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48848 -3.671364)'), GeomFromEWKT('SRID=4674;POINT (-38.488483 -3.671231)'))) / (select extract(epoch from '2026-05-27 09:36:58'::timestamp) - extract(epoch from '2026-05-27 09:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488484 -3.6711)', '2026-05-27 09:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488483 -3.671231)'), GeomFromEWKT('SRID=4674;POINT (-38.488484 -3.6711)'))) / (select extract(epoch from '2026-05-27 09:37:03'::timestamp) - extract(epoch from '2026-05-27 09:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488483 -3.671231)'), GeomFromEWKT('SRID=4674;POINT (-38.488484 -3.6711)'))) / (select extract(epoch from '2026-05-27 09:37:03'::timestamp) - extract(epoch from '2026-05-27 09:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488481 -3.67092)', '2026-05-27 09:37:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488484 -3.6711)'), GeomFromEWKT('SRID=4674;POINT (-38.488481 -3.67092)'))) / (select extract(epoch from '2026-05-27 09:37:10'::timestamp) - extract(epoch from '2026-05-27 09:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488484 -3.6711)'), GeomFromEWKT('SRID=4674;POINT (-38.488481 -3.67092)'))) / (select extract(epoch from '2026-05-27 09:37:10'::timestamp) - extract(epoch from '2026-05-27 09:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488477 -3.670769)', '2026-05-27 09:37:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488481 -3.67092)'), GeomFromEWKT('SRID=4674;POINT (-38.488477 -3.670769)'))) / (select extract(epoch from '2026-05-27 09:37:16'::timestamp) - extract(epoch from '2026-05-27 09:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488481 -3.67092)'), GeomFromEWKT('SRID=4674;POINT (-38.488477 -3.670769)'))) / (select extract(epoch from '2026-05-27 09:37:16'::timestamp) - extract(epoch from '2026-05-27 09:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488495 -3.670584)', '2026-05-27 09:37:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488477 -3.670769)'), GeomFromEWKT('SRID=4674;POINT (-38.488495 -3.670584)'))) / (select extract(epoch from '2026-05-27 09:37:24'::timestamp) - extract(epoch from '2026-05-27 09:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488477 -3.670769)'), GeomFromEWKT('SRID=4674;POINT (-38.488495 -3.670584)'))) / (select extract(epoch from '2026-05-27 09:37:24'::timestamp) - extract(epoch from '2026-05-27 09:37:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488516 -3.670411)', '2026-05-27 09:37:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488495 -3.670584)'), GeomFromEWKT('SRID=4674;POINT (-38.488516 -3.670411)'))) / (select extract(epoch from '2026-05-27 09:37:31'::timestamp) - extract(epoch from '2026-05-27 09:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488495 -3.670584)'), GeomFromEWKT('SRID=4674;POINT (-38.488516 -3.670411)'))) / (select extract(epoch from '2026-05-27 09:37:31'::timestamp) - extract(epoch from '2026-05-27 09:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488518 -3.670292)', '2026-05-27 09:37:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488516 -3.670411)'), GeomFromEWKT('SRID=4674;POINT (-38.488518 -3.670292)'))) / (select extract(epoch from '2026-05-27 09:37:36'::timestamp) - extract(epoch from '2026-05-27 09:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488516 -3.670411)'), GeomFromEWKT('SRID=4674;POINT (-38.488518 -3.670292)'))) / (select extract(epoch from '2026-05-27 09:37:36'::timestamp) - extract(epoch from '2026-05-27 09:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488529 -3.670121)', '2026-05-27 09:37:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488518 -3.670292)'), GeomFromEWKT('SRID=4674;POINT (-38.488529 -3.670121)'))) / (select extract(epoch from '2026-05-27 09:37:43'::timestamp) - extract(epoch from '2026-05-27 09:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488518 -3.670292)'), GeomFromEWKT('SRID=4674;POINT (-38.488529 -3.670121)'))) / (select extract(epoch from '2026-05-27 09:37:43'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488527 -3.669995)', '2026-05-27 09:37:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488529 -3.670121)'), GeomFromEWKT('SRID=4674;POINT (-38.488527 -3.669995)'))) / (select extract(epoch from '2026-05-27 09:37:48'::timestamp) - extract(epoch from '2026-05-27 09:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488529 -3.670121)'), GeomFromEWKT('SRID=4674;POINT (-38.488527 -3.669995)'))) / (select extract(epoch from '2026-05-27 09:37:48'::timestamp) - extract(epoch from '2026-05-27 09:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488534 -3.669868)', '2026-05-27 09:37:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488527 -3.669995)'), GeomFromEWKT('SRID=4674;POINT (-38.488534 -3.669868)'))) / (select extract(epoch from '2026-05-27 09:37:53'::timestamp) - extract(epoch from '2026-05-27 09:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488527 -3.669995)'), GeomFromEWKT('SRID=4674;POINT (-38.488534 -3.669868)'))) / (select extract(epoch from '2026-05-27 09:37:53'::timestamp) - extract(epoch from '2026-05-27 09:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488543 -3.669688)', '2026-05-27 09:38:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488534 -3.669868)'), GeomFromEWKT('SRID=4674;POINT (-38.488543 -3.669688)'))) / (select extract(epoch from '2026-05-27 09:38:00'::timestamp) - extract(epoch from '2026-05-27 09:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488534 -3.669868)'), GeomFromEWKT('SRID=4674;POINT (-38.488543 -3.669688)'))) / (select extract(epoch from '2026-05-27 09:38:00'::timestamp) - extract(epoch from '2026-05-27 09:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488562 -3.669539)', '2026-05-27 09:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488543 -3.669688)'), GeomFromEWKT('SRID=4674;POINT (-38.488562 -3.669539)'))) / (select extract(epoch from '2026-05-27 09:38:06'::timestamp) - extract(epoch from '2026-05-27 09:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488543 -3.669688)'), GeomFromEWKT('SRID=4674;POINT (-38.488562 -3.669539)'))) / (select extract(epoch from '2026-05-27 09:38:06'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488584 -3.669418)', '2026-05-27 09:38:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488562 -3.669539)'), GeomFromEWKT('SRID=4674;POINT (-38.488584 -3.669418)'))) / (select extract(epoch from '2026-05-27 09:38:11'::timestamp) - extract(epoch from '2026-05-27 09:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488562 -3.669539)'), GeomFromEWKT('SRID=4674;POINT (-38.488584 -3.669418)'))) / (select extract(epoch from '2026-05-27 09:38:11'::timestamp) - extract(epoch from '2026-05-27 09:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488609 -3.669282)', '2026-05-27 09:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488584 -3.669418)'), GeomFromEWKT('SRID=4674;POINT (-38.488609 -3.669282)'))) / (select extract(epoch from '2026-05-27 09:38:17'::timestamp) - extract(epoch from '2026-05-27 09:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488584 -3.669418)'), GeomFromEWKT('SRID=4674;POINT (-38.488609 -3.669282)'))) / (select extract(epoch from '2026-05-27 09:38:17'::timestamp) - extract(epoch from '2026-05-27 09:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488624 -3.669158)', '2026-05-27 09:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488609 -3.669282)'), GeomFromEWKT('SRID=4674;POINT (-38.488624 -3.669158)'))) / (select extract(epoch from '2026-05-27 09:38:22'::timestamp) - extract(epoch from '2026-05-27 09:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488609 -3.669282)'), GeomFromEWKT('SRID=4674;POINT (-38.488624 -3.669158)'))) / (select extract(epoch from '2026-05-27 09:38:22'::timestamp) - extract(epoch from '2026-05-27 09:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488641 -3.669024)', '2026-05-27 09:38:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488624 -3.669158)'), GeomFromEWKT('SRID=4674;POINT (-38.488641 -3.669024)'))) / (select extract(epoch from '2026-05-27 09:38:28'::timestamp) - extract(epoch from '2026-05-27 09:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488624 -3.669158)'), GeomFromEWKT('SRID=4674;POINT (-38.488641 -3.669024)'))) / (select extract(epoch from '2026-05-27 09:38:28'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488663 -3.668884)', '2026-05-27 09:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488641 -3.669024)'), GeomFromEWKT('SRID=4674;POINT (-38.488663 -3.668884)'))) / (select extract(epoch from '2026-05-27 09:38:34'::timestamp) - extract(epoch from '2026-05-27 09:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488641 -3.669024)'), GeomFromEWKT('SRID=4674;POINT (-38.488663 -3.668884)'))) / (select extract(epoch from '2026-05-27 09:38:34'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488658 -3.668697)', '2026-05-27 09:38:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488663 -3.668884)'), GeomFromEWKT('SRID=4674;POINT (-38.488658 -3.668697)'))) / (select extract(epoch from '2026-05-27 09:38:42'::timestamp) - extract(epoch from '2026-05-27 09:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488663 -3.668884)'), GeomFromEWKT('SRID=4674;POINT (-38.488658 -3.668697)'))) / (select extract(epoch from '2026-05-27 09:38:42'::timestamp) - extract(epoch from '2026-05-27 09:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488646 -3.668564)', '2026-05-27 09:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488658 -3.668697)'), GeomFromEWKT('SRID=4674;POINT (-38.488646 -3.668564)'))) / (select extract(epoch from '2026-05-27 09:38:47'::timestamp) - extract(epoch from '2026-05-27 09:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488658 -3.668697)'), GeomFromEWKT('SRID=4674;POINT (-38.488646 -3.668564)'))) / (select extract(epoch from '2026-05-27 09:38:47'::timestamp) - extract(epoch from '2026-05-27 09:38:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488644 -3.668411)', '2026-05-27 09:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488646 -3.668564)'), GeomFromEWKT('SRID=4674;POINT (-38.488644 -3.668411)'))) / (select extract(epoch from '2026-05-27 09:38:53'::timestamp) - extract(epoch from '2026-05-27 09:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488646 -3.668564)'), GeomFromEWKT('SRID=4674;POINT (-38.488644 -3.668411)'))) / (select extract(epoch from '2026-05-27 09:38:53'::timestamp) - extract(epoch from '2026-05-27 09:38:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488659 -3.66827)', '2026-05-27 09:38:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488644 -3.668411)'), GeomFromEWKT('SRID=4674;POINT (-38.488659 -3.66827)'))) / (select extract(epoch from '2026-05-27 09:38:59'::timestamp) - extract(epoch from '2026-05-27 09:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488644 -3.668411)'), GeomFromEWKT('SRID=4674;POINT (-38.488659 -3.66827)'))) / (select extract(epoch from '2026-05-27 09:38:59'::timestamp) - extract(epoch from '2026-05-27 09:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488674 -3.668147)', '2026-05-27 09:39:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488659 -3.66827)'), GeomFromEWKT('SRID=4674;POINT (-38.488674 -3.668147)'))) / (select extract(epoch from '2026-05-27 09:39:04'::timestamp) - extract(epoch from '2026-05-27 09:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488659 -3.66827)'), GeomFromEWKT('SRID=4674;POINT (-38.488674 -3.668147)'))) / (select extract(epoch from '2026-05-27 09:39:04'::timestamp) - extract(epoch from '2026-05-27 09:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488683 -3.667951)', '2026-05-27 09:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488674 -3.668147)'), GeomFromEWKT('SRID=4674;POINT (-38.488683 -3.667951)'))) / (select extract(epoch from '2026-05-27 09:39:12'::timestamp) - extract(epoch from '2026-05-27 09:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488674 -3.668147)'), GeomFromEWKT('SRID=4674;POINT (-38.488683 -3.667951)'))) / (select extract(epoch from '2026-05-27 09:39:12'::timestamp) - extract(epoch from '2026-05-27 09:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488716 -3.667785)', '2026-05-27 09:39:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488683 -3.667951)'), GeomFromEWKT('SRID=4674;POINT (-38.488716 -3.667785)'))) / (select extract(epoch from '2026-05-27 09:39:19'::timestamp) - extract(epoch from '2026-05-27 09:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488683 -3.667951)'), GeomFromEWKT('SRID=4674;POINT (-38.488716 -3.667785)'))) / (select extract(epoch from '2026-05-27 09:39:19'::timestamp) - extract(epoch from '2026-05-27 09:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488747 -3.667616)', '2026-05-27 09:39:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488716 -3.667785)'), GeomFromEWKT('SRID=4674;POINT (-38.488747 -3.667616)'))) / (select extract(epoch from '2026-05-27 09:39:26'::timestamp) - extract(epoch from '2026-05-27 09:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488716 -3.667785)'), GeomFromEWKT('SRID=4674;POINT (-38.488747 -3.667616)'))) / (select extract(epoch from '2026-05-27 09:39:26'::timestamp) - extract(epoch from '2026-05-27 09:39:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488766 -3.667497)', '2026-05-27 09:39:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488747 -3.667616)'), GeomFromEWKT('SRID=4674;POINT (-38.488766 -3.667497)'))) / (select extract(epoch from '2026-05-27 09:39:31'::timestamp) - extract(epoch from '2026-05-27 09:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488747 -3.667616)'), GeomFromEWKT('SRID=4674;POINT (-38.488766 -3.667497)'))) / (select extract(epoch from '2026-05-27 09:39:31'::timestamp) - extract(epoch from '2026-05-27 09:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488781 -3.667328)', '2026-05-27 09:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488766 -3.667497)'), GeomFromEWKT('SRID=4674;POINT (-38.488781 -3.667328)'))) / (select extract(epoch from '2026-05-27 09:39:38'::timestamp) - extract(epoch from '2026-05-27 09:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488766 -3.667497)'), GeomFromEWKT('SRID=4674;POINT (-38.488781 -3.667328)'))) / (select extract(epoch from '2026-05-27 09:39:38'::timestamp) - extract(epoch from '2026-05-27 09:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488796 -3.667206)', '2026-05-27 09:39:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488781 -3.667328)'), GeomFromEWKT('SRID=4674;POINT (-38.488796 -3.667206)'))) / (select extract(epoch from '2026-05-27 09:39:43'::timestamp) - extract(epoch from '2026-05-27 09:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488781 -3.667328)'), GeomFromEWKT('SRID=4674;POINT (-38.488796 -3.667206)'))) / (select extract(epoch from '2026-05-27 09:39:43'::timestamp) - extract(epoch from '2026-05-27 09:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488817 -3.667052)', '2026-05-27 09:39:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488796 -3.667206)'), GeomFromEWKT('SRID=4674;POINT (-38.488817 -3.667052)'))) / (select extract(epoch from '2026-05-27 09:39:49'::timestamp) - extract(epoch from '2026-05-27 09:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488796 -3.667206)'), GeomFromEWKT('SRID=4674;POINT (-38.488817 -3.667052)'))) / (select extract(epoch from '2026-05-27 09:39:49'::timestamp) - extract(epoch from '2026-05-27 09:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488846 -3.666908)', '2026-05-27 09:39:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488817 -3.667052)'), GeomFromEWKT('SRID=4674;POINT (-38.488846 -3.666908)'))) / (select extract(epoch from '2026-05-27 09:39:55'::timestamp) - extract(epoch from '2026-05-27 09:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488817 -3.667052)'), GeomFromEWKT('SRID=4674;POINT (-38.488846 -3.666908)'))) / (select extract(epoch from '2026-05-27 09:39:55'::timestamp) - extract(epoch from '2026-05-27 09:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488854 -3.666752)', '2026-05-27 09:40:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488846 -3.666908)'), GeomFromEWKT('SRID=4674;POINT (-38.488854 -3.666752)'))) / (select extract(epoch from '2026-05-27 09:40:01'::timestamp) - extract(epoch from '2026-05-27 09:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488846 -3.666908)'), GeomFromEWKT('SRID=4674;POINT (-38.488854 -3.666752)'))) / (select extract(epoch from '2026-05-27 09:40:01'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488849 -3.666589)', '2026-05-27 09:40:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488854 -3.666752)'), GeomFromEWKT('SRID=4674;POINT (-38.488849 -3.666589)'))) / (select extract(epoch from '2026-05-27 09:40:07'::timestamp) - extract(epoch from '2026-05-27 09:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488854 -3.666752)'), GeomFromEWKT('SRID=4674;POINT (-38.488849 -3.666589)'))) / (select extract(epoch from '2026-05-27 09:40:07'::timestamp) - extract(epoch from '2026-05-27 09:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488843 -3.666402)', '2026-05-27 09:40:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488849 -3.666589)'), GeomFromEWKT('SRID=4674;POINT (-38.488843 -3.666402)'))) / (select extract(epoch from '2026-05-27 09:40:14'::timestamp) - extract(epoch from '2026-05-27 09:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488849 -3.666589)'), GeomFromEWKT('SRID=4674;POINT (-38.488843 -3.666402)'))) / (select extract(epoch from '2026-05-27 09:40:14'::timestamp) - extract(epoch from '2026-05-27 09:40:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48884 -3.666249)', '2026-05-27 09:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488843 -3.666402)'), GeomFromEWKT('SRID=4674;POINT (-38.48884 -3.666249)'))) / (select extract(epoch from '2026-05-27 09:40:20'::timestamp) - extract(epoch from '2026-05-27 09:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488843 -3.666402)'), GeomFromEWKT('SRID=4674;POINT (-38.48884 -3.666249)'))) / (select extract(epoch from '2026-05-27 09:40:20'::timestamp) - extract(epoch from '2026-05-27 09:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488845 -3.666042)', '2026-05-27 09:40:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48884 -3.666249)'), GeomFromEWKT('SRID=4674;POINT (-38.488845 -3.666042)'))) / (select extract(epoch from '2026-05-27 09:40:28'::timestamp) - extract(epoch from '2026-05-27 09:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48884 -3.666249)'), GeomFromEWKT('SRID=4674;POINT (-38.488845 -3.666042)'))) / (select extract(epoch from '2026-05-27 09:40:28'::timestamp) - extract(epoch from '2026-05-27 09:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488858 -3.665893)', '2026-05-27 09:40:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488845 -3.666042)'), GeomFromEWKT('SRID=4674;POINT (-38.488858 -3.665893)'))) / (select extract(epoch from '2026-05-27 09:40:34'::timestamp) - extract(epoch from '2026-05-27 09:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488845 -3.666042)'), GeomFromEWKT('SRID=4674;POINT (-38.488858 -3.665893)'))) / (select extract(epoch from '2026-05-27 09:40:34'::timestamp) - extract(epoch from '2026-05-27 09:40:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488858 -3.665734)', '2026-05-27 09:40:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488858 -3.665893)'), GeomFromEWKT('SRID=4674;POINT (-38.488858 -3.665734)'))) / (select extract(epoch from '2026-05-27 09:40:40'::timestamp) - extract(epoch from '2026-05-27 09:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488858 -3.665893)'), GeomFromEWKT('SRID=4674;POINT (-38.488858 -3.665734)'))) / (select extract(epoch from '2026-05-27 09:40:40'::timestamp) - extract(epoch from '2026-05-27 09:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488852 -3.665559)', '2026-05-27 09:40:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488858 -3.665734)'), GeomFromEWKT('SRID=4674;POINT (-38.488852 -3.665559)'))) / (select extract(epoch from '2026-05-27 09:40:47'::timestamp) - extract(epoch from '2026-05-27 09:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488858 -3.665734)'), GeomFromEWKT('SRID=4674;POINT (-38.488852 -3.665559)'))) / (select extract(epoch from '2026-05-27 09:40:47'::timestamp) - extract(epoch from '2026-05-27 09:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488831 -3.665347)', '2026-05-27 09:40:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488852 -3.665559)'), GeomFromEWKT('SRID=4674;POINT (-38.488831 -3.665347)'))) / (select extract(epoch from '2026-05-27 09:40:55'::timestamp) - extract(epoch from '2026-05-27 09:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488852 -3.665559)'), GeomFromEWKT('SRID=4674;POINT (-38.488831 -3.665347)'))) / (select extract(epoch from '2026-05-27 09:40:55'::timestamp) - extract(epoch from '2026-05-27 09:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488821 -3.665207)', '2026-05-27 09:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488831 -3.665347)'), GeomFromEWKT('SRID=4674;POINT (-38.488821 -3.665207)'))) / (select extract(epoch from '2026-05-27 09:41:00'::timestamp) - extract(epoch from '2026-05-27 09:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488831 -3.665347)'), GeomFromEWKT('SRID=4674;POINT (-38.488821 -3.665207)'))) / (select extract(epoch from '2026-05-27 09:41:00'::timestamp) - extract(epoch from '2026-05-27 09:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488815 -3.665003)', '2026-05-27 09:41:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488821 -3.665207)'), GeomFromEWKT('SRID=4674;POINT (-38.488815 -3.665003)'))) / (select extract(epoch from '2026-05-27 09:41:08'::timestamp) - extract(epoch from '2026-05-27 09:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488821 -3.665207)'), GeomFromEWKT('SRID=4674;POINT (-38.488815 -3.665003)'))) / (select extract(epoch from '2026-05-27 09:41:08'::timestamp) - extract(epoch from '2026-05-27 09:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488818 -3.664831)', '2026-05-27 09:41:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488815 -3.665003)'), GeomFromEWKT('SRID=4674;POINT (-38.488818 -3.664831)'))) / (select extract(epoch from '2026-05-27 09:41:14'::timestamp) - extract(epoch from '2026-05-27 09:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488815 -3.665003)'), GeomFromEWKT('SRID=4674;POINT (-38.488818 -3.664831)'))) / (select extract(epoch from '2026-05-27 09:41:14'::timestamp) - extract(epoch from '2026-05-27 09:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488804 -3.664646)', '2026-05-27 09:41:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488818 -3.664831)'), GeomFromEWKT('SRID=4674;POINT (-38.488804 -3.664646)'))) / (select extract(epoch from '2026-05-27 09:41:21'::timestamp) - extract(epoch from '2026-05-27 09:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488818 -3.664831)'), GeomFromEWKT('SRID=4674;POINT (-38.488804 -3.664646)'))) / (select extract(epoch from '2026-05-27 09:41:21'::timestamp) - extract(epoch from '2026-05-27 09:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488782 -3.664437)', '2026-05-27 09:41:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488804 -3.664646)'), GeomFromEWKT('SRID=4674;POINT (-38.488782 -3.664437)'))) / (select extract(epoch from '2026-05-27 09:41:29'::timestamp) - extract(epoch from '2026-05-27 09:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488804 -3.664646)'), GeomFromEWKT('SRID=4674;POINT (-38.488782 -3.664437)'))) / (select extract(epoch from '2026-05-27 09:41:29'::timestamp) - extract(epoch from '2026-05-27 09:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488778 -3.664276)', '2026-05-27 09:41:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488782 -3.664437)'), GeomFromEWKT('SRID=4674;POINT (-38.488778 -3.664276)'))) / (select extract(epoch from '2026-05-27 09:41:35'::timestamp) - extract(epoch from '2026-05-27 09:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488782 -3.664437)'), GeomFromEWKT('SRID=4674;POINT (-38.488778 -3.664276)'))) / (select extract(epoch from '2026-05-27 09:41:35'::timestamp) - extract(epoch from '2026-05-27 09:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488794 -3.664105)', '2026-05-27 09:41:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488778 -3.664276)'), GeomFromEWKT('SRID=4674;POINT (-38.488794 -3.664105)'))) / (select extract(epoch from '2026-05-27 09:41:41'::timestamp) - extract(epoch from '2026-05-27 09:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488778 -3.664276)'), GeomFromEWKT('SRID=4674;POINT (-38.488794 -3.664105)'))) / (select extract(epoch from '2026-05-27 09:41:41'::timestamp) - extract(epoch from '2026-05-27 09:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488801 -3.663966)', '2026-05-27 09:41:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488794 -3.664105)'), GeomFromEWKT('SRID=4674;POINT (-38.488801 -3.663966)'))) / (select extract(epoch from '2026-05-27 09:41:46'::timestamp) - extract(epoch from '2026-05-27 09:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488794 -3.664105)'), GeomFromEWKT('SRID=4674;POINT (-38.488801 -3.663966)'))) / (select extract(epoch from '2026-05-27 09:41:46'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488805 -3.663836)', '2026-05-27 09:41:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488801 -3.663966)'), GeomFromEWKT('SRID=4674;POINT (-38.488805 -3.663836)'))) / (select extract(epoch from '2026-05-27 09:41:51'::timestamp) - extract(epoch from '2026-05-27 09:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488801 -3.663966)'), GeomFromEWKT('SRID=4674;POINT (-38.488805 -3.663836)'))) / (select extract(epoch from '2026-05-27 09:41:51'::timestamp) - extract(epoch from '2026-05-27 09:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488803 -3.663695)', '2026-05-27 09:41:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488805 -3.663836)'), GeomFromEWKT('SRID=4674;POINT (-38.488803 -3.663695)'))) / (select extract(epoch from '2026-05-27 09:41:56'::timestamp) - extract(epoch from '2026-05-27 09:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488805 -3.663836)'), GeomFromEWKT('SRID=4674;POINT (-38.488803 -3.663695)'))) / (select extract(epoch from '2026-05-27 09:41:56'::timestamp) - extract(epoch from '2026-05-27 09:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488789 -3.663524)', '2026-05-27 09:42:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488803 -3.663695)'), GeomFromEWKT('SRID=4674;POINT (-38.488789 -3.663524)'))) / (select extract(epoch from '2026-05-27 09:42:03'::timestamp) - extract(epoch from '2026-05-27 09:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488803 -3.663695)'), GeomFromEWKT('SRID=4674;POINT (-38.488789 -3.663524)'))) / (select extract(epoch from '2026-05-27 09:42:03'::timestamp) - extract(epoch from '2026-05-27 09:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.4888 -3.663301)', '2026-05-27 09:42:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488789 -3.663524)'), GeomFromEWKT('SRID=4674;POINT (-38.4888 -3.663301)'))) / (select extract(epoch from '2026-05-27 09:42:11'::timestamp) - extract(epoch from '2026-05-27 09:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488789 -3.663524)'), GeomFromEWKT('SRID=4674;POINT (-38.4888 -3.663301)'))) / (select extract(epoch from '2026-05-27 09:42:11'::timestamp) - extract(epoch from '2026-05-27 09:42:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488825 -3.663083)', '2026-05-27 09:42:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4888 -3.663301)'), GeomFromEWKT('SRID=4674;POINT (-38.488825 -3.663083)'))) / (select extract(epoch from '2026-05-27 09:42:19'::timestamp) - extract(epoch from '2026-05-27 09:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4888 -3.663301)'), GeomFromEWKT('SRID=4674;POINT (-38.488825 -3.663083)'))) / (select extract(epoch from '2026-05-27 09:42:19'::timestamp) - extract(epoch from '2026-05-27 09:42:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488842 -3.662918)', '2026-05-27 09:42:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488825 -3.663083)'), GeomFromEWKT('SRID=4674;POINT (-38.488842 -3.662918)'))) / (select extract(epoch from '2026-05-27 09:42:25'::timestamp) - extract(epoch from '2026-05-27 09:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488825 -3.663083)'), GeomFromEWKT('SRID=4674;POINT (-38.488842 -3.662918)'))) / (select extract(epoch from '2026-05-27 09:42:25'::timestamp) - extract(epoch from '2026-05-27 09:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48885 -3.662748)', '2026-05-27 09:42:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488842 -3.662918)'), GeomFromEWKT('SRID=4674;POINT (-38.48885 -3.662748)'))) / (select extract(epoch from '2026-05-27 09:42:31'::timestamp) - extract(epoch from '2026-05-27 09:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488842 -3.662918)'), GeomFromEWKT('SRID=4674;POINT (-38.48885 -3.662748)'))) / (select extract(epoch from '2026-05-27 09:42:31'::timestamp) - extract(epoch from '2026-05-27 09:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488865 -3.662568)', '2026-05-27 09:42:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48885 -3.662748)'), GeomFromEWKT('SRID=4674;POINT (-38.488865 -3.662568)'))) / (select extract(epoch from '2026-05-27 09:42:38'::timestamp) - extract(epoch from '2026-05-27 09:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48885 -3.662748)'), GeomFromEWKT('SRID=4674;POINT (-38.488865 -3.662568)'))) / (select extract(epoch from '2026-05-27 09:42:38'::timestamp) - extract(epoch from '2026-05-27 09:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488894 -3.662385)', '2026-05-27 09:42:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488865 -3.662568)'), GeomFromEWKT('SRID=4674;POINT (-38.488894 -3.662385)'))) / (select extract(epoch from '2026-05-27 09:42:45'::timestamp) - extract(epoch from '2026-05-27 09:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488865 -3.662568)'), GeomFromEWKT('SRID=4674;POINT (-38.488894 -3.662385)'))) / (select extract(epoch from '2026-05-27 09:42:45'::timestamp) - extract(epoch from '2026-05-27 09:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488932 -3.662225)', '2026-05-27 09:42:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488894 -3.662385)'), GeomFromEWKT('SRID=4674;POINT (-38.488932 -3.662225)'))) / (select extract(epoch from '2026-05-27 09:42:51'::timestamp) - extract(epoch from '2026-05-27 09:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488894 -3.662385)'), GeomFromEWKT('SRID=4674;POINT (-38.488932 -3.662225)'))) / (select extract(epoch from '2026-05-27 09:42:51'::timestamp) - extract(epoch from '2026-05-27 09:42:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488943 -3.662077)', '2026-05-27 09:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488932 -3.662225)'), GeomFromEWKT('SRID=4674;POINT (-38.488943 -3.662077)'))) / (select extract(epoch from '2026-05-27 09:42:56'::timestamp) - extract(epoch from '2026-05-27 09:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488932 -3.662225)'), GeomFromEWKT('SRID=4674;POINT (-38.488943 -3.662077)'))) / (select extract(epoch from '2026-05-27 09:42:56'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488938 -3.66194)', '2026-05-27 09:43:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488943 -3.662077)'), GeomFromEWKT('SRID=4674;POINT (-38.488938 -3.66194)'))) / (select extract(epoch from '2026-05-27 09:43:01'::timestamp) - extract(epoch from '2026-05-27 09:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488943 -3.662077)'), GeomFromEWKT('SRID=4674;POINT (-38.488938 -3.66194)'))) / (select extract(epoch from '2026-05-27 09:43:01'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488951 -3.661758)', '2026-05-27 09:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488938 -3.66194)'), GeomFromEWKT('SRID=4674;POINT (-38.488951 -3.661758)'))) / (select extract(epoch from '2026-05-27 09:43:08'::timestamp) - extract(epoch from '2026-05-27 09:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488938 -3.66194)'), GeomFromEWKT('SRID=4674;POINT (-38.488951 -3.661758)'))) / (select extract(epoch from '2026-05-27 09:43:08'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.488981 -3.661606)', '2026-05-27 09:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488951 -3.661758)'), GeomFromEWKT('SRID=4674;POINT (-38.488981 -3.661606)'))) / (select extract(epoch from '2026-05-27 09:43:14'::timestamp) - extract(epoch from '2026-05-27 09:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488951 -3.661758)'), GeomFromEWKT('SRID=4674;POINT (-38.488981 -3.661606)'))) / (select extract(epoch from '2026-05-27 09:43:14'::timestamp) - extract(epoch from '2026-05-27 09:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488999 -3.661447)', '2026-05-27 09:43:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488981 -3.661606)'), GeomFromEWKT('SRID=4674;POINT (-38.488999 -3.661447)'))) / (select extract(epoch from '2026-05-27 09:43:20'::timestamp) - extract(epoch from '2026-05-27 09:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488981 -3.661606)'), GeomFromEWKT('SRID=4674;POINT (-38.488999 -3.661447)'))) / (select extract(epoch from '2026-05-27 09:43:20'::timestamp) - extract(epoch from '2026-05-27 09:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489 -3.661248)', '2026-05-27 09:43:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488999 -3.661447)'), GeomFromEWKT('SRID=4674;POINT (-38.489 -3.661248)'))) / (select extract(epoch from '2026-05-27 09:43:28'::timestamp) - extract(epoch from '2026-05-27 09:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488999 -3.661447)'), GeomFromEWKT('SRID=4674;POINT (-38.489 -3.661248)'))) / (select extract(epoch from '2026-05-27 09:43:28'::timestamp) - extract(epoch from '2026-05-27 09:43:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.488993 -3.661118)', '2026-05-27 09:43:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489 -3.661248)'), GeomFromEWKT('SRID=4674;POINT (-38.488993 -3.661118)'))) / (select extract(epoch from '2026-05-27 09:43:33'::timestamp) - extract(epoch from '2026-05-27 09:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489 -3.661248)'), GeomFromEWKT('SRID=4674;POINT (-38.488993 -3.661118)'))) / (select extract(epoch from '2026-05-27 09:43:33'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489014 -3.660902)', '2026-05-27 09:43:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488993 -3.661118)'), GeomFromEWKT('SRID=4674;POINT (-38.489014 -3.660902)'))) / (select extract(epoch from '2026-05-27 09:43:41'::timestamp) - extract(epoch from '2026-05-27 09:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488993 -3.661118)'), GeomFromEWKT('SRID=4674;POINT (-38.489014 -3.660902)'))) / (select extract(epoch from '2026-05-27 09:43:41'::timestamp) - extract(epoch from '2026-05-27 09:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489037 -3.660709)', '2026-05-27 09:43:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489014 -3.660902)'), GeomFromEWKT('SRID=4674;POINT (-38.489037 -3.660709)'))) / (select extract(epoch from '2026-05-27 09:43:48'::timestamp) - extract(epoch from '2026-05-27 09:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489014 -3.660902)'), GeomFromEWKT('SRID=4674;POINT (-38.489037 -3.660709)'))) / (select extract(epoch from '2026-05-27 09:43:48'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489057 -3.66052)', '2026-05-27 09:43:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489037 -3.660709)'), GeomFromEWKT('SRID=4674;POINT (-38.489057 -3.66052)'))) / (select extract(epoch from '2026-05-27 09:43:55'::timestamp) - extract(epoch from '2026-05-27 09:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489037 -3.660709)'), GeomFromEWKT('SRID=4674;POINT (-38.489057 -3.66052)'))) / (select extract(epoch from '2026-05-27 09:43:55'::timestamp) - extract(epoch from '2026-05-27 09:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489073 -3.660354)', '2026-05-27 09:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489057 -3.66052)'), GeomFromEWKT('SRID=4674;POINT (-38.489073 -3.660354)'))) / (select extract(epoch from '2026-05-27 09:44:01'::timestamp) - extract(epoch from '2026-05-27 09:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489057 -3.66052)'), GeomFromEWKT('SRID=4674;POINT (-38.489073 -3.660354)'))) / (select extract(epoch from '2026-05-27 09:44:01'::timestamp) - extract(epoch from '2026-05-27 09:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489097 -3.660204)', '2026-05-27 09:44:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489073 -3.660354)'), GeomFromEWKT('SRID=4674;POINT (-38.489097 -3.660204)'))) / (select extract(epoch from '2026-05-27 09:44:07'::timestamp) - extract(epoch from '2026-05-27 09:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489073 -3.660354)'), GeomFromEWKT('SRID=4674;POINT (-38.489097 -3.660204)'))) / (select extract(epoch from '2026-05-27 09:44:07'::timestamp) - extract(epoch from '2026-05-27 09:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489136 -3.660052)', '2026-05-27 09:44:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489097 -3.660204)'), GeomFromEWKT('SRID=4674;POINT (-38.489136 -3.660052)'))) / (select extract(epoch from '2026-05-27 09:44:13'::timestamp) - extract(epoch from '2026-05-27 09:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489097 -3.660204)'), GeomFromEWKT('SRID=4674;POINT (-38.489136 -3.660052)'))) / (select extract(epoch from '2026-05-27 09:44:13'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489152 -3.65992)', '2026-05-27 09:44:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489136 -3.660052)'), GeomFromEWKT('SRID=4674;POINT (-38.489152 -3.65992)'))) / (select extract(epoch from '2026-05-27 09:44:18'::timestamp) - extract(epoch from '2026-05-27 09:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489136 -3.660052)'), GeomFromEWKT('SRID=4674;POINT (-38.489152 -3.65992)'))) / (select extract(epoch from '2026-05-27 09:44:18'::timestamp) - extract(epoch from '2026-05-27 09:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489154 -3.659731)', '2026-05-27 09:44:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489152 -3.65992)'), GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659731)'))) / (select extract(epoch from '2026-05-27 09:44:25'::timestamp) - extract(epoch from '2026-05-27 09:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489152 -3.65992)'), GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659731)'))) / (select extract(epoch from '2026-05-27 09:44:25'::timestamp) - extract(epoch from '2026-05-27 09:44:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489154 -3.659599)', '2026-05-27 09:44:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659731)'), GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659599)'))) / (select extract(epoch from '2026-05-27 09:44:30'::timestamp) - extract(epoch from '2026-05-27 09:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659731)'), GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659599)'))) / (select extract(epoch from '2026-05-27 09:44:30'::timestamp) - extract(epoch from '2026-05-27 09:44:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489154 -3.659439)', '2026-05-27 09:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659599)'), GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659439)'))) / (select extract(epoch from '2026-05-27 09:44:36'::timestamp) - extract(epoch from '2026-05-27 09:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659599)'), GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659439)'))) / (select extract(epoch from '2026-05-27 09:44:36'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489164 -3.659308)', '2026-05-27 09:44:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659439)'), GeomFromEWKT('SRID=4674;POINT (-38.489164 -3.659308)'))) / (select extract(epoch from '2026-05-27 09:44:41'::timestamp) - extract(epoch from '2026-05-27 09:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489154 -3.659439)'), GeomFromEWKT('SRID=4674;POINT (-38.489164 -3.659308)'))) / (select extract(epoch from '2026-05-27 09:44:41'::timestamp) - extract(epoch from '2026-05-27 09:44:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489184 -3.659162)', '2026-05-27 09:44:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489164 -3.659308)'), GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.659162)'))) / (select extract(epoch from '2026-05-27 09:44:47'::timestamp) - extract(epoch from '2026-05-27 09:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489164 -3.659308)'), GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.659162)'))) / (select extract(epoch from '2026-05-27 09:44:47'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.4892 -3.658966)', '2026-05-27 09:44:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.659162)'), GeomFromEWKT('SRID=4674;POINT (-38.4892 -3.658966)'))) / (select extract(epoch from '2026-05-27 09:44:55'::timestamp) - extract(epoch from '2026-05-27 09:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.659162)'), GeomFromEWKT('SRID=4674;POINT (-38.4892 -3.658966)'))) / (select extract(epoch from '2026-05-27 09:44:55'::timestamp) - extract(epoch from '2026-05-27 09:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489197 -3.658796)', '2026-05-27 09:45:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4892 -3.658966)'), GeomFromEWKT('SRID=4674;POINT (-38.489197 -3.658796)'))) / (select extract(epoch from '2026-05-27 09:45:02'::timestamp) - extract(epoch from '2026-05-27 09:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4892 -3.658966)'), GeomFromEWKT('SRID=4674;POINT (-38.489197 -3.658796)'))) / (select extract(epoch from '2026-05-27 09:45:02'::timestamp) - extract(epoch from '2026-05-27 09:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489184 -3.658672)', '2026-05-27 09:45:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489197 -3.658796)'), GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.658672)'))) / (select extract(epoch from '2026-05-27 09:45:07'::timestamp) - extract(epoch from '2026-05-27 09:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489197 -3.658796)'), GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.658672)'))) / (select extract(epoch from '2026-05-27 09:45:07'::timestamp) - extract(epoch from '2026-05-27 09:45:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489169 -3.658548)', '2026-05-27 09:45:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.658672)'), GeomFromEWKT('SRID=4674;POINT (-38.489169 -3.658548)'))) / (select extract(epoch from '2026-05-27 09:45:12'::timestamp) - extract(epoch from '2026-05-27 09:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.658672)'), GeomFromEWKT('SRID=4674;POINT (-38.489169 -3.658548)'))) / (select extract(epoch from '2026-05-27 09:45:12'::timestamp) - extract(epoch from '2026-05-27 09:45:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489184 -3.658412)', '2026-05-27 09:45:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489169 -3.658548)'), GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.658412)'))) / (select extract(epoch from '2026-05-27 09:45:18'::timestamp) - extract(epoch from '2026-05-27 09:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489169 -3.658548)'), GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.658412)'))) / (select extract(epoch from '2026-05-27 09:45:18'::timestamp) - extract(epoch from '2026-05-27 09:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489208 -3.658253)', '2026-05-27 09:45:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.658412)'), GeomFromEWKT('SRID=4674;POINT (-38.489208 -3.658253)'))) / (select extract(epoch from '2026-05-27 09:45:25'::timestamp) - extract(epoch from '2026-05-27 09:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489184 -3.658412)'), GeomFromEWKT('SRID=4674;POINT (-38.489208 -3.658253)'))) / (select extract(epoch from '2026-05-27 09:45:25'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489222 -3.658121)', '2026-05-27 09:45:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489208 -3.658253)'), GeomFromEWKT('SRID=4674;POINT (-38.489222 -3.658121)'))) / (select extract(epoch from '2026-05-27 09:45:31'::timestamp) - extract(epoch from '2026-05-27 09:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489208 -3.658253)'), GeomFromEWKT('SRID=4674;POINT (-38.489222 -3.658121)'))) / (select extract(epoch from '2026-05-27 09:45:31'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489227 -3.657953)', '2026-05-27 09:45:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489222 -3.658121)'), GeomFromEWKT('SRID=4674;POINT (-38.489227 -3.657953)'))) / (select extract(epoch from '2026-05-27 09:45:38'::timestamp) - extract(epoch from '2026-05-27 09:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489222 -3.658121)'), GeomFromEWKT('SRID=4674;POINT (-38.489227 -3.657953)'))) / (select extract(epoch from '2026-05-27 09:45:38'::timestamp) - extract(epoch from '2026-05-27 09:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489222 -3.657794)', '2026-05-27 09:45:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489227 -3.657953)'), GeomFromEWKT('SRID=4674;POINT (-38.489222 -3.657794)'))) / (select extract(epoch from '2026-05-27 09:45:45'::timestamp) - extract(epoch from '2026-05-27 09:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489227 -3.657953)'), GeomFromEWKT('SRID=4674;POINT (-38.489222 -3.657794)'))) / (select extract(epoch from '2026-05-27 09:45:45'::timestamp) - extract(epoch from '2026-05-27 09:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489236 -3.657632)', '2026-05-27 09:45:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489222 -3.657794)'), GeomFromEWKT('SRID=4674;POINT (-38.489236 -3.657632)'))) / (select extract(epoch from '2026-05-27 09:45:52'::timestamp) - extract(epoch from '2026-05-27 09:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489222 -3.657794)'), GeomFromEWKT('SRID=4674;POINT (-38.489236 -3.657632)'))) / (select extract(epoch from '2026-05-27 09:45:52'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489234 -3.657473)', '2026-05-27 09:45:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489236 -3.657632)'), GeomFromEWKT('SRID=4674;POINT (-38.489234 -3.657473)'))) / (select extract(epoch from '2026-05-27 09:45:58'::timestamp) - extract(epoch from '2026-05-27 09:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489236 -3.657632)'), GeomFromEWKT('SRID=4674;POINT (-38.489234 -3.657473)'))) / (select extract(epoch from '2026-05-27 09:45:58'::timestamp) - extract(epoch from '2026-05-27 09:45:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489241 -3.657296)', '2026-05-27 09:46:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489234 -3.657473)'), GeomFromEWKT('SRID=4674;POINT (-38.489241 -3.657296)'))) / (select extract(epoch from '2026-05-27 09:46:05'::timestamp) - extract(epoch from '2026-05-27 09:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489234 -3.657473)'), GeomFromEWKT('SRID=4674;POINT (-38.489241 -3.657296)'))) / (select extract(epoch from '2026-05-27 09:46:05'::timestamp) - extract(epoch from '2026-05-27 09:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489249 -3.657147)', '2026-05-27 09:46:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489241 -3.657296)'), GeomFromEWKT('SRID=4674;POINT (-38.489249 -3.657147)'))) / (select extract(epoch from '2026-05-27 09:46:11'::timestamp) - extract(epoch from '2026-05-27 09:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489241 -3.657296)'), GeomFromEWKT('SRID=4674;POINT (-38.489249 -3.657147)'))) / (select extract(epoch from '2026-05-27 09:46:11'::timestamp) - extract(epoch from '2026-05-27 09:46:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489265 -3.657031)', '2026-05-27 09:46:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489249 -3.657147)'), GeomFromEWKT('SRID=4674;POINT (-38.489265 -3.657031)'))) / (select extract(epoch from '2026-05-27 09:46:16'::timestamp) - extract(epoch from '2026-05-27 09:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489249 -3.657147)'), GeomFromEWKT('SRID=4674;POINT (-38.489265 -3.657031)'))) / (select extract(epoch from '2026-05-27 09:46:16'::timestamp) - extract(epoch from '2026-05-27 09:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489287 -3.656866)', '2026-05-27 09:46:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489265 -3.657031)'), GeomFromEWKT('SRID=4674;POINT (-38.489287 -3.656866)'))) / (select extract(epoch from '2026-05-27 09:46:23'::timestamp) - extract(epoch from '2026-05-27 09:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489265 -3.657031)'), GeomFromEWKT('SRID=4674;POINT (-38.489287 -3.656866)'))) / (select extract(epoch from '2026-05-27 09:46:23'::timestamp) - extract(epoch from '2026-05-27 09:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489296 -3.656685)', '2026-05-27 09:46:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489287 -3.656866)'), GeomFromEWKT('SRID=4674;POINT (-38.489296 -3.656685)'))) / (select extract(epoch from '2026-05-27 09:46:30'::timestamp) - extract(epoch from '2026-05-27 09:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489287 -3.656866)'), GeomFromEWKT('SRID=4674;POINT (-38.489296 -3.656685)'))) / (select extract(epoch from '2026-05-27 09:46:30'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489299 -3.65656)', '2026-05-27 09:46:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489296 -3.656685)'), GeomFromEWKT('SRID=4674;POINT (-38.489299 -3.65656)'))) / (select extract(epoch from '2026-05-27 09:46:35'::timestamp) - extract(epoch from '2026-05-27 09:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489296 -3.656685)'), GeomFromEWKT('SRID=4674;POINT (-38.489299 -3.65656)'))) / (select extract(epoch from '2026-05-27 09:46:35'::timestamp) - extract(epoch from '2026-05-27 09:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489299 -3.656409)', '2026-05-27 09:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489299 -3.65656)'), GeomFromEWKT('SRID=4674;POINT (-38.489299 -3.656409)'))) / (select extract(epoch from '2026-05-27 09:46:41'::timestamp) - extract(epoch from '2026-05-27 09:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489299 -3.65656)'), GeomFromEWKT('SRID=4674;POINT (-38.489299 -3.656409)'))) / (select extract(epoch from '2026-05-27 09:46:41'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489285 -3.656305)', '2026-05-27 09:46:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489299 -3.656409)'), GeomFromEWKT('SRID=4674;POINT (-38.489285 -3.656305)'))) / (select extract(epoch from '2026-05-27 09:46:45'::timestamp) - extract(epoch from '2026-05-27 09:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489299 -3.656409)'), GeomFromEWKT('SRID=4674;POINT (-38.489285 -3.656305)'))) / (select extract(epoch from '2026-05-27 09:46:45'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489275 -3.656174)', '2026-05-27 09:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489285 -3.656305)'), GeomFromEWKT('SRID=4674;POINT (-38.489275 -3.656174)'))) / (select extract(epoch from '2026-05-27 09:46:50'::timestamp) - extract(epoch from '2026-05-27 09:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489285 -3.656305)'), GeomFromEWKT('SRID=4674;POINT (-38.489275 -3.656174)'))) / (select extract(epoch from '2026-05-27 09:46:50'::timestamp) - extract(epoch from '2026-05-27 09:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489278 -3.655997)', '2026-05-27 09:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489275 -3.656174)'), GeomFromEWKT('SRID=4674;POINT (-38.489278 -3.655997)'))) / (select extract(epoch from '2026-05-27 09:46:57'::timestamp) - extract(epoch from '2026-05-27 09:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489275 -3.656174)'), GeomFromEWKT('SRID=4674;POINT (-38.489278 -3.655997)'))) / (select extract(epoch from '2026-05-27 09:46:57'::timestamp) - extract(epoch from '2026-05-27 09:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489292 -3.655865)', '2026-05-27 09:47:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489278 -3.655997)'), GeomFromEWKT('SRID=4674;POINT (-38.489292 -3.655865)'))) / (select extract(epoch from '2026-05-27 09:47:02'::timestamp) - extract(epoch from '2026-05-27 09:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489278 -3.655997)'), GeomFromEWKT('SRID=4674;POINT (-38.489292 -3.655865)'))) / (select extract(epoch from '2026-05-27 09:47:02'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489315 -3.655683)', '2026-05-27 09:47:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489292 -3.655865)'), GeomFromEWKT('SRID=4674;POINT (-38.489315 -3.655683)'))) / (select extract(epoch from '2026-05-27 09:47:09'::timestamp) - extract(epoch from '2026-05-27 09:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489292 -3.655865)'), GeomFromEWKT('SRID=4674;POINT (-38.489315 -3.655683)'))) / (select extract(epoch from '2026-05-27 09:47:09'::timestamp) - extract(epoch from '2026-05-27 09:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489323 -3.655502)', '2026-05-27 09:47:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489315 -3.655683)'), GeomFromEWKT('SRID=4674;POINT (-38.489323 -3.655502)'))) / (select extract(epoch from '2026-05-27 09:47:16'::timestamp) - extract(epoch from '2026-05-27 09:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489315 -3.655683)'), GeomFromEWKT('SRID=4674;POINT (-38.489323 -3.655502)'))) / (select extract(epoch from '2026-05-27 09:47:16'::timestamp) - extract(epoch from '2026-05-27 09:47:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489336 -3.655361)', '2026-05-27 09:47:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489323 -3.655502)'), GeomFromEWKT('SRID=4674;POINT (-38.489336 -3.655361)'))) / (select extract(epoch from '2026-05-27 09:47:21'::timestamp) - extract(epoch from '2026-05-27 09:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489323 -3.655502)'), GeomFromEWKT('SRID=4674;POINT (-38.489336 -3.655361)'))) / (select extract(epoch from '2026-05-27 09:47:21'::timestamp) - extract(epoch from '2026-05-27 09:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489329 -3.6552)', '2026-05-27 09:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489336 -3.655361)'), GeomFromEWKT('SRID=4674;POINT (-38.489329 -3.6552)'))) / (select extract(epoch from '2026-05-27 09:47:27'::timestamp) - extract(epoch from '2026-05-27 09:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489336 -3.655361)'), GeomFromEWKT('SRID=4674;POINT (-38.489329 -3.6552)'))) / (select extract(epoch from '2026-05-27 09:47:27'::timestamp) - extract(epoch from '2026-05-27 09:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489332 -3.655074)', '2026-05-27 09:47:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489329 -3.6552)'), GeomFromEWKT('SRID=4674;POINT (-38.489332 -3.655074)'))) / (select extract(epoch from '2026-05-27 09:47:32'::timestamp) - extract(epoch from '2026-05-27 09:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489329 -3.6552)'), GeomFromEWKT('SRID=4674;POINT (-38.489332 -3.655074)'))) / (select extract(epoch from '2026-05-27 09:47:32'::timestamp) - extract(epoch from '2026-05-27 09:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489361 -3.654878)', '2026-05-27 09:47:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489332 -3.655074)'), GeomFromEWKT('SRID=4674;POINT (-38.489361 -3.654878)'))) / (select extract(epoch from '2026-05-27 09:47:39'::timestamp) - extract(epoch from '2026-05-27 09:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489332 -3.655074)'), GeomFromEWKT('SRID=4674;POINT (-38.489361 -3.654878)'))) / (select extract(epoch from '2026-05-27 09:47:39'::timestamp) - extract(epoch from '2026-05-27 09:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489396 -3.654723)', '2026-05-27 09:47:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489361 -3.654878)'), GeomFromEWKT('SRID=4674;POINT (-38.489396 -3.654723)'))) / (select extract(epoch from '2026-05-27 09:47:45'::timestamp) - extract(epoch from '2026-05-27 09:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489361 -3.654878)'), GeomFromEWKT('SRID=4674;POINT (-38.489396 -3.654723)'))) / (select extract(epoch from '2026-05-27 09:47:45'::timestamp) - extract(epoch from '2026-05-27 09:47:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489404 -3.654626)', '2026-05-27 09:47:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489396 -3.654723)'), GeomFromEWKT('SRID=4674;POINT (-38.489404 -3.654626)'))) / (select extract(epoch from '2026-05-27 09:47:49'::timestamp) - extract(epoch from '2026-05-27 09:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489396 -3.654723)'), GeomFromEWKT('SRID=4674;POINT (-38.489404 -3.654626)'))) / (select extract(epoch from '2026-05-27 09:47:49'::timestamp) - extract(epoch from '2026-05-27 09:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489421 -3.654493)', '2026-05-27 09:47:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489404 -3.654626)'), GeomFromEWKT('SRID=4674;POINT (-38.489421 -3.654493)'))) / (select extract(epoch from '2026-05-27 09:47:54'::timestamp) - extract(epoch from '2026-05-27 09:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489404 -3.654626)'), GeomFromEWKT('SRID=4674;POINT (-38.489421 -3.654493)'))) / (select extract(epoch from '2026-05-27 09:47:54'::timestamp) - extract(epoch from '2026-05-27 09:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489443 -3.654366)', '2026-05-27 09:47:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489421 -3.654493)'), GeomFromEWKT('SRID=4674;POINT (-38.489443 -3.654366)'))) / (select extract(epoch from '2026-05-27 09:47:59'::timestamp) - extract(epoch from '2026-05-27 09:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489421 -3.654493)'), GeomFromEWKT('SRID=4674;POINT (-38.489443 -3.654366)'))) / (select extract(epoch from '2026-05-27 09:47:59'::timestamp) - extract(epoch from '2026-05-27 09:47:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489477 -3.654152)', '2026-05-27 09:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489443 -3.654366)'), GeomFromEWKT('SRID=4674;POINT (-38.489477 -3.654152)'))) / (select extract(epoch from '2026-05-27 09:48:07'::timestamp) - extract(epoch from '2026-05-27 09:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489443 -3.654366)'), GeomFromEWKT('SRID=4674;POINT (-38.489477 -3.654152)'))) / (select extract(epoch from '2026-05-27 09:48:07'::timestamp) - extract(epoch from '2026-05-27 09:47:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489499 -3.654025)', '2026-05-27 09:48:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489477 -3.654152)'), GeomFromEWKT('SRID=4674;POINT (-38.489499 -3.654025)'))) / (select extract(epoch from '2026-05-27 09:48:12'::timestamp) - extract(epoch from '2026-05-27 09:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489477 -3.654152)'), GeomFromEWKT('SRID=4674;POINT (-38.489499 -3.654025)'))) / (select extract(epoch from '2026-05-27 09:48:12'::timestamp) - extract(epoch from '2026-05-27 09:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48954 -3.653866)', '2026-05-27 09:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489499 -3.654025)'), GeomFromEWKT('SRID=4674;POINT (-38.48954 -3.653866)'))) / (select extract(epoch from '2026-05-27 09:48:18'::timestamp) - extract(epoch from '2026-05-27 09:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489499 -3.654025)'), GeomFromEWKT('SRID=4674;POINT (-38.48954 -3.653866)'))) / (select extract(epoch from '2026-05-27 09:48:18'::timestamp) - extract(epoch from '2026-05-27 09:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489555 -3.653699)', '2026-05-27 09:48:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48954 -3.653866)'), GeomFromEWKT('SRID=4674;POINT (-38.489555 -3.653699)'))) / (select extract(epoch from '2026-05-27 09:48:24'::timestamp) - extract(epoch from '2026-05-27 09:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48954 -3.653866)'), GeomFromEWKT('SRID=4674;POINT (-38.489555 -3.653699)'))) / (select extract(epoch from '2026-05-27 09:48:24'::timestamp) - extract(epoch from '2026-05-27 09:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48955 -3.653541)', '2026-05-27 09:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489555 -3.653699)'), GeomFromEWKT('SRID=4674;POINT (-38.48955 -3.653541)'))) / (select extract(epoch from '2026-05-27 09:48:30'::timestamp) - extract(epoch from '2026-05-27 09:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489555 -3.653699)'), GeomFromEWKT('SRID=4674;POINT (-38.48955 -3.653541)'))) / (select extract(epoch from '2026-05-27 09:48:30'::timestamp) - extract(epoch from '2026-05-27 09:48:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489562 -3.653382)', '2026-05-27 09:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48955 -3.653541)'), GeomFromEWKT('SRID=4674;POINT (-38.489562 -3.653382)'))) / (select extract(epoch from '2026-05-27 09:48:36'::timestamp) - extract(epoch from '2026-05-27 09:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48955 -3.653541)'), GeomFromEWKT('SRID=4674;POINT (-38.489562 -3.653382)'))) / (select extract(epoch from '2026-05-27 09:48:36'::timestamp) - extract(epoch from '2026-05-27 09:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489589 -3.653229)', '2026-05-27 09:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489562 -3.653382)'), GeomFromEWKT('SRID=4674;POINT (-38.489589 -3.653229)'))) / (select extract(epoch from '2026-05-27 09:48:42'::timestamp) - extract(epoch from '2026-05-27 09:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489562 -3.653382)'), GeomFromEWKT('SRID=4674;POINT (-38.489589 -3.653229)'))) / (select extract(epoch from '2026-05-27 09:48:42'::timestamp) - extract(epoch from '2026-05-27 09:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489607 -3.653101)', '2026-05-27 09:48:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489589 -3.653229)'), GeomFromEWKT('SRID=4674;POINT (-38.489607 -3.653101)'))) / (select extract(epoch from '2026-05-27 09:48:47'::timestamp) - extract(epoch from '2026-05-27 09:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489589 -3.653229)'), GeomFromEWKT('SRID=4674;POINT (-38.489607 -3.653101)'))) / (select extract(epoch from '2026-05-27 09:48:47'::timestamp) - extract(epoch from '2026-05-27 09:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489638 -3.652916)', '2026-05-27 09:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489607 -3.653101)'), GeomFromEWKT('SRID=4674;POINT (-38.489638 -3.652916)'))) / (select extract(epoch from '2026-05-27 09:48:54'::timestamp) - extract(epoch from '2026-05-27 09:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489607 -3.653101)'), GeomFromEWKT('SRID=4674;POINT (-38.489638 -3.652916)'))) / (select extract(epoch from '2026-05-27 09:48:54'::timestamp) - extract(epoch from '2026-05-27 09:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489656 -3.65278)', '2026-05-27 09:48:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489638 -3.652916)'), GeomFromEWKT('SRID=4674;POINT (-38.489656 -3.65278)'))) / (select extract(epoch from '2026-05-27 09:48:59'::timestamp) - extract(epoch from '2026-05-27 09:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489638 -3.652916)'), GeomFromEWKT('SRID=4674;POINT (-38.489656 -3.65278)'))) / (select extract(epoch from '2026-05-27 09:48:59'::timestamp) - extract(epoch from '2026-05-27 09:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489671 -3.652624)', '2026-05-27 09:49:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489656 -3.65278)'), GeomFromEWKT('SRID=4674;POINT (-38.489671 -3.652624)'))) / (select extract(epoch from '2026-05-27 09:49:05'::timestamp) - extract(epoch from '2026-05-27 09:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489656 -3.65278)'), GeomFromEWKT('SRID=4674;POINT (-38.489671 -3.652624)'))) / (select extract(epoch from '2026-05-27 09:49:05'::timestamp) - extract(epoch from '2026-05-27 09:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489691 -3.652475)', '2026-05-27 09:49:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489671 -3.652624)'), GeomFromEWKT('SRID=4674;POINT (-38.489691 -3.652475)'))) / (select extract(epoch from '2026-05-27 09:49:11'::timestamp) - extract(epoch from '2026-05-27 09:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489671 -3.652624)'), GeomFromEWKT('SRID=4674;POINT (-38.489691 -3.652475)'))) / (select extract(epoch from '2026-05-27 09:49:11'::timestamp) - extract(epoch from '2026-05-27 09:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.48971 -3.652349)', '2026-05-27 09:49:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489691 -3.652475)'), GeomFromEWKT('SRID=4674;POINT (-38.48971 -3.652349)'))) / (select extract(epoch from '2026-05-27 09:49:16'::timestamp) - extract(epoch from '2026-05-27 09:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489691 -3.652475)'), GeomFromEWKT('SRID=4674;POINT (-38.48971 -3.652349)'))) / (select extract(epoch from '2026-05-27 09:49:16'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489746 -3.652195)', '2026-05-27 09:49:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48971 -3.652349)'), GeomFromEWKT('SRID=4674;POINT (-38.489746 -3.652195)'))) / (select extract(epoch from '2026-05-27 09:49:22'::timestamp) - extract(epoch from '2026-05-27 09:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48971 -3.652349)'), GeomFromEWKT('SRID=4674;POINT (-38.489746 -3.652195)'))) / (select extract(epoch from '2026-05-27 09:49:22'::timestamp) - extract(epoch from '2026-05-27 09:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489786 -3.651957)', '2026-05-27 09:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489746 -3.652195)'), GeomFromEWKT('SRID=4674;POINT (-38.489786 -3.651957)'))) / (select extract(epoch from '2026-05-27 09:49:31'::timestamp) - extract(epoch from '2026-05-27 09:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489746 -3.652195)'), GeomFromEWKT('SRID=4674;POINT (-38.489786 -3.651957)'))) / (select extract(epoch from '2026-05-27 09:49:31'::timestamp) - extract(epoch from '2026-05-27 09:49:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489795 -3.651773)', '2026-05-27 09:49:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489786 -3.651957)'), GeomFromEWKT('SRID=4674;POINT (-38.489795 -3.651773)'))) / (select extract(epoch from '2026-05-27 09:49:38'::timestamp) - extract(epoch from '2026-05-27 09:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489786 -3.651957)'), GeomFromEWKT('SRID=4674;POINT (-38.489795 -3.651773)'))) / (select extract(epoch from '2026-05-27 09:49:38'::timestamp) - extract(epoch from '2026-05-27 09:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489793 -3.651623)', '2026-05-27 09:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489795 -3.651773)'), GeomFromEWKT('SRID=4674;POINT (-38.489793 -3.651623)'))) / (select extract(epoch from '2026-05-27 09:49:44'::timestamp) - extract(epoch from '2026-05-27 09:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489795 -3.651773)'), GeomFromEWKT('SRID=4674;POINT (-38.489793 -3.651623)'))) / (select extract(epoch from '2026-05-27 09:49:44'::timestamp) - extract(epoch from '2026-05-27 09:49:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489788 -3.651471)', '2026-05-27 09:49:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489793 -3.651623)'), GeomFromEWKT('SRID=4674;POINT (-38.489788 -3.651471)'))) / (select extract(epoch from '2026-05-27 09:49:50'::timestamp) - extract(epoch from '2026-05-27 09:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489793 -3.651623)'), GeomFromEWKT('SRID=4674;POINT (-38.489788 -3.651471)'))) / (select extract(epoch from '2026-05-27 09:49:50'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489807 -3.651323)', '2026-05-27 09:49:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489788 -3.651471)'), GeomFromEWKT('SRID=4674;POINT (-38.489807 -3.651323)'))) / (select extract(epoch from '2026-05-27 09:49:56'::timestamp) - extract(epoch from '2026-05-27 09:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489788 -3.651471)'), GeomFromEWKT('SRID=4674;POINT (-38.489807 -3.651323)'))) / (select extract(epoch from '2026-05-27 09:49:56'::timestamp) - extract(epoch from '2026-05-27 09:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489824 -3.651148)', '2026-05-27 09:50:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489807 -3.651323)'), GeomFromEWKT('SRID=4674;POINT (-38.489824 -3.651148)'))) / (select extract(epoch from '2026-05-27 09:50:03'::timestamp) - extract(epoch from '2026-05-27 09:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489807 -3.651323)'), GeomFromEWKT('SRID=4674;POINT (-38.489824 -3.651148)'))) / (select extract(epoch from '2026-05-27 09:50:03'::timestamp) - extract(epoch from '2026-05-27 09:49:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489834 -3.651002)', '2026-05-27 09:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489824 -3.651148)'), GeomFromEWKT('SRID=4674;POINT (-38.489834 -3.651002)'))) / (select extract(epoch from '2026-05-27 09:50:09'::timestamp) - extract(epoch from '2026-05-27 09:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489824 -3.651148)'), GeomFromEWKT('SRID=4674;POINT (-38.489834 -3.651002)'))) / (select extract(epoch from '2026-05-27 09:50:09'::timestamp) - extract(epoch from '2026-05-27 09:50:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489851 -3.650832)', '2026-05-27 09:50:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489834 -3.651002)'), GeomFromEWKT('SRID=4674;POINT (-38.489851 -3.650832)'))) / (select extract(epoch from '2026-05-27 09:50:16'::timestamp) - extract(epoch from '2026-05-27 09:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489834 -3.651002)'), GeomFromEWKT('SRID=4674;POINT (-38.489851 -3.650832)'))) / (select extract(epoch from '2026-05-27 09:50:16'::timestamp) - extract(epoch from '2026-05-27 09:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489864 -3.650635)', '2026-05-27 09:50:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489851 -3.650832)'), GeomFromEWKT('SRID=4674;POINT (-38.489864 -3.650635)'))) / (select extract(epoch from '2026-05-27 09:50:24'::timestamp) - extract(epoch from '2026-05-27 09:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489851 -3.650832)'), GeomFromEWKT('SRID=4674;POINT (-38.489864 -3.650635)'))) / (select extract(epoch from '2026-05-27 09:50:24'::timestamp) - extract(epoch from '2026-05-27 09:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489876 -3.650458)', '2026-05-27 09:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489864 -3.650635)'), GeomFromEWKT('SRID=4674;POINT (-38.489876 -3.650458)'))) / (select extract(epoch from '2026-05-27 09:50:31'::timestamp) - extract(epoch from '2026-05-27 09:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489864 -3.650635)'), GeomFromEWKT('SRID=4674;POINT (-38.489876 -3.650458)'))) / (select extract(epoch from '2026-05-27 09:50:31'::timestamp) - extract(epoch from '2026-05-27 09:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489892 -3.65031)', '2026-05-27 09:50:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489876 -3.650458)'), GeomFromEWKT('SRID=4674;POINT (-38.489892 -3.65031)'))) / (select extract(epoch from '2026-05-27 09:50:37'::timestamp) - extract(epoch from '2026-05-27 09:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489876 -3.650458)'), GeomFromEWKT('SRID=4674;POINT (-38.489892 -3.65031)'))) / (select extract(epoch from '2026-05-27 09:50:37'::timestamp) - extract(epoch from '2026-05-27 09:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489907 -3.65018)', '2026-05-27 09:50:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489892 -3.65031)'), GeomFromEWKT('SRID=4674;POINT (-38.489907 -3.65018)'))) / (select extract(epoch from '2026-05-27 09:50:42'::timestamp) - extract(epoch from '2026-05-27 09:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489892 -3.65031)'), GeomFromEWKT('SRID=4674;POINT (-38.489907 -3.65018)'))) / (select extract(epoch from '2026-05-27 09:50:42'::timestamp) - extract(epoch from '2026-05-27 09:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489912 -3.650004)', '2026-05-27 09:50:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489907 -3.65018)'), GeomFromEWKT('SRID=4674;POINT (-38.489912 -3.650004)'))) / (select extract(epoch from '2026-05-27 09:50:49'::timestamp) - extract(epoch from '2026-05-27 09:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489907 -3.65018)'), GeomFromEWKT('SRID=4674;POINT (-38.489912 -3.650004)'))) / (select extract(epoch from '2026-05-27 09:50:49'::timestamp) - extract(epoch from '2026-05-27 09: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'), 46535, 'SRID=4674;POINT (-38.489896 -3.649849)', '2026-05-27 09:50:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489912 -3.650004)'), GeomFromEWKT('SRID=4674;POINT (-38.489896 -3.649849)'))) / (select extract(epoch from '2026-05-27 09:50:55'::timestamp) - extract(epoch from '2026-05-27 09:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489912 -3.650004)'), GeomFromEWKT('SRID=4674;POINT (-38.489896 -3.649849)'))) / (select extract(epoch from '2026-05-27 09:50:55'::timestamp) - extract(epoch from '2026-05-27 09:50:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489884 -3.649712)', '2026-05-27 09:51:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489896 -3.649849)'), GeomFromEWKT('SRID=4674;POINT (-38.489884 -3.649712)'))) / (select extract(epoch from '2026-05-27 09:51:00'::timestamp) - extract(epoch from '2026-05-27 09:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489896 -3.649849)'), GeomFromEWKT('SRID=4674;POINT (-38.489884 -3.649712)'))) / (select extract(epoch from '2026-05-27 09:51:00'::timestamp) - extract(epoch from '2026-05-27 09:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489875 -3.64954)', '2026-05-27 09:51:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489884 -3.649712)'), GeomFromEWKT('SRID=4674;POINT (-38.489875 -3.64954)'))) / (select extract(epoch from '2026-05-27 09:51:07'::timestamp) - extract(epoch from '2026-05-27 09:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489884 -3.649712)'), GeomFromEWKT('SRID=4674;POINT (-38.489875 -3.64954)'))) / (select extract(epoch from '2026-05-27 09:51:07'::timestamp) - extract(epoch from '2026-05-27 09:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489913 -3.649367)', '2026-05-27 09:51:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489875 -3.64954)'), GeomFromEWKT('SRID=4674;POINT (-38.489913 -3.649367)'))) / (select extract(epoch from '2026-05-27 09:51:14'::timestamp) - extract(epoch from '2026-05-27 09:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489875 -3.64954)'), GeomFromEWKT('SRID=4674;POINT (-38.489913 -3.649367)'))) / (select extract(epoch from '2026-05-27 09:51:14'::timestamp) - extract(epoch from '2026-05-27 09:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489943 -3.64921)', '2026-05-27 09:51:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489913 -3.649367)'), GeomFromEWKT('SRID=4674;POINT (-38.489943 -3.64921)'))) / (select extract(epoch from '2026-05-27 09:51:20'::timestamp) - extract(epoch from '2026-05-27 09:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489913 -3.649367)'), GeomFromEWKT('SRID=4674;POINT (-38.489943 -3.64921)'))) / (select extract(epoch from '2026-05-27 09:51:20'::timestamp) - extract(epoch from '2026-05-27 09:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489956 -3.649053)', '2026-05-27 09:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489943 -3.64921)'), GeomFromEWKT('SRID=4674;POINT (-38.489956 -3.649053)'))) / (select extract(epoch from '2026-05-27 09:51:26'::timestamp) - extract(epoch from '2026-05-27 09:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489943 -3.64921)'), GeomFromEWKT('SRID=4674;POINT (-38.489956 -3.649053)'))) / (select extract(epoch from '2026-05-27 09:51:26'::timestamp) - extract(epoch from '2026-05-27 09:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489964 -3.648863)', '2026-05-27 09:51:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489956 -3.649053)'), GeomFromEWKT('SRID=4674;POINT (-38.489964 -3.648863)'))) / (select extract(epoch from '2026-05-27 09:51:33'::timestamp) - extract(epoch from '2026-05-27 09:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489956 -3.649053)'), GeomFromEWKT('SRID=4674;POINT (-38.489964 -3.648863)'))) / (select extract(epoch from '2026-05-27 09:51:33'::timestamp) - extract(epoch from '2026-05-27 09:51:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489971 -3.648735)', '2026-05-27 09:51:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489964 -3.648863)'), GeomFromEWKT('SRID=4674;POINT (-38.489971 -3.648735)'))) / (select extract(epoch from '2026-05-27 09:51:38'::timestamp) - extract(epoch from '2026-05-27 09:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489964 -3.648863)'), GeomFromEWKT('SRID=4674;POINT (-38.489971 -3.648735)'))) / (select extract(epoch from '2026-05-27 09:51:38'::timestamp) - extract(epoch from '2026-05-27 09:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489976 -3.648606)', '2026-05-27 09:51:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489971 -3.648735)'), GeomFromEWKT('SRID=4674;POINT (-38.489976 -3.648606)'))) / (select extract(epoch from '2026-05-27 09:51:43'::timestamp) - extract(epoch from '2026-05-27 09:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489971 -3.648735)'), GeomFromEWKT('SRID=4674;POINT (-38.489976 -3.648606)'))) / (select extract(epoch from '2026-05-27 09:51:43'::timestamp) - extract(epoch from '2026-05-27 09:51:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489971 -3.648448)', '2026-05-27 09:51:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489976 -3.648606)'), GeomFromEWKT('SRID=4674;POINT (-38.489971 -3.648448)'))) / (select extract(epoch from '2026-05-27 09:51:49'::timestamp) - extract(epoch from '2026-05-27 09:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489976 -3.648606)'), GeomFromEWKT('SRID=4674;POINT (-38.489971 -3.648448)'))) / (select extract(epoch from '2026-05-27 09:51:49'::timestamp) - extract(epoch from '2026-05-27 09:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489973 -3.648314)', '2026-05-27 09:51:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489971 -3.648448)'), GeomFromEWKT('SRID=4674;POINT (-38.489973 -3.648314)'))) / (select extract(epoch from '2026-05-27 09:51:54'::timestamp) - extract(epoch from '2026-05-27 09:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489971 -3.648448)'), GeomFromEWKT('SRID=4674;POINT (-38.489973 -3.648314)'))) / (select extract(epoch from '2026-05-27 09:51:54'::timestamp) - extract(epoch from '2026-05-27 09:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489974 -3.648147)', '2026-05-27 09:52:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489973 -3.648314)'), GeomFromEWKT('SRID=4674;POINT (-38.489974 -3.648147)'))) / (select extract(epoch from '2026-05-27 09:52:00'::timestamp) - extract(epoch from '2026-05-27 09:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489973 -3.648314)'), GeomFromEWKT('SRID=4674;POINT (-38.489974 -3.648147)'))) / (select extract(epoch from '2026-05-27 09:52:00'::timestamp) - extract(epoch from '2026-05-27 09:51:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489986 -3.64801)', '2026-05-27 09:52:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489974 -3.648147)'), GeomFromEWKT('SRID=4674;POINT (-38.489986 -3.64801)'))) / (select extract(epoch from '2026-05-27 09:52:05'::timestamp) - extract(epoch from '2026-05-27 09:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489974 -3.648147)'), GeomFromEWKT('SRID=4674;POINT (-38.489986 -3.64801)'))) / (select extract(epoch from '2026-05-27 09:52:05'::timestamp) - extract(epoch from '2026-05-27 09:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.489988 -3.647846)', '2026-05-27 09:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489986 -3.64801)'), GeomFromEWKT('SRID=4674;POINT (-38.489988 -3.647846)'))) / (select extract(epoch from '2026-05-27 09:52:11'::timestamp) - extract(epoch from '2026-05-27 09:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489986 -3.64801)'), GeomFromEWKT('SRID=4674;POINT (-38.489988 -3.647846)'))) / (select extract(epoch from '2026-05-27 09:52:11'::timestamp) - extract(epoch from '2026-05-27 09:52:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490019 -3.647695)', '2026-05-27 09:52:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489988 -3.647846)'), GeomFromEWKT('SRID=4674;POINT (-38.490019 -3.647695)'))) / (select extract(epoch from '2026-05-27 09:52:17'::timestamp) - extract(epoch from '2026-05-27 09:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489988 -3.647846)'), GeomFromEWKT('SRID=4674;POINT (-38.490019 -3.647695)'))) / (select extract(epoch from '2026-05-27 09:52:17'::timestamp) - extract(epoch from '2026-05-27 09:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490051 -3.647564)', '2026-05-27 09:52:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490019 -3.647695)'), GeomFromEWKT('SRID=4674;POINT (-38.490051 -3.647564)'))) / (select extract(epoch from '2026-05-27 09:52:22'::timestamp) - extract(epoch from '2026-05-27 09:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490019 -3.647695)'), GeomFromEWKT('SRID=4674;POINT (-38.490051 -3.647564)'))) / (select extract(epoch from '2026-05-27 09:52:22'::timestamp) - extract(epoch from '2026-05-27 09:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490075 -3.647415)', '2026-05-27 09:52:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490051 -3.647564)'), GeomFromEWKT('SRID=4674;POINT (-38.490075 -3.647415)'))) / (select extract(epoch from '2026-05-27 09:52:28'::timestamp) - extract(epoch from '2026-05-27 09:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490051 -3.647564)'), GeomFromEWKT('SRID=4674;POINT (-38.490075 -3.647415)'))) / (select extract(epoch from '2026-05-27 09:52:28'::timestamp) - extract(epoch from '2026-05-27 09:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490104 -3.647239)', '2026-05-27 09:52:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490075 -3.647415)'), GeomFromEWKT('SRID=4674;POINT (-38.490104 -3.647239)'))) / (select extract(epoch from '2026-05-27 09:52:35'::timestamp) - extract(epoch from '2026-05-27 09:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490075 -3.647415)'), GeomFromEWKT('SRID=4674;POINT (-38.490104 -3.647239)'))) / (select extract(epoch from '2026-05-27 09:52:35'::timestamp) - extract(epoch from '2026-05-27 09:52:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490118 -3.647107)', '2026-05-27 09:52:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490104 -3.647239)'), GeomFromEWKT('SRID=4674;POINT (-38.490118 -3.647107)'))) / (select extract(epoch from '2026-05-27 09:52:40'::timestamp) - extract(epoch from '2026-05-27 09:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490104 -3.647239)'), GeomFromEWKT('SRID=4674;POINT (-38.490118 -3.647107)'))) / (select extract(epoch from '2026-05-27 09:52:40'::timestamp) - extract(epoch from '2026-05-27 09:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490134 -3.646917)', '2026-05-27 09:52:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490118 -3.647107)'), GeomFromEWKT('SRID=4674;POINT (-38.490134 -3.646917)'))) / (select extract(epoch from '2026-05-27 09:52:47'::timestamp) - extract(epoch from '2026-05-27 09:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490118 -3.647107)'), GeomFromEWKT('SRID=4674;POINT (-38.490134 -3.646917)'))) / (select extract(epoch from '2026-05-27 09:52:47'::timestamp) - extract(epoch from '2026-05-27 09:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490127 -3.646695)', '2026-05-27 09:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490134 -3.646917)'), GeomFromEWKT('SRID=4674;POINT (-38.490127 -3.646695)'))) / (select extract(epoch from '2026-05-27 09:52:55'::timestamp) - extract(epoch from '2026-05-27 09:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490134 -3.646917)'), GeomFromEWKT('SRID=4674;POINT (-38.490127 -3.646695)'))) / (select extract(epoch from '2026-05-27 09:52:55'::timestamp) - extract(epoch from '2026-05-27 09:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490137 -3.646507)', '2026-05-27 09:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490127 -3.646695)'), GeomFromEWKT('SRID=4674;POINT (-38.490137 -3.646507)'))) / (select extract(epoch from '2026-05-27 09:53:02'::timestamp) - extract(epoch from '2026-05-27 09:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490127 -3.646695)'), GeomFromEWKT('SRID=4674;POINT (-38.490137 -3.646507)'))) / (select extract(epoch from '2026-05-27 09:53:02'::timestamp) - extract(epoch from '2026-05-27 09:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.49015 -3.646344)', '2026-05-27 09:53:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490137 -3.646507)'), GeomFromEWKT('SRID=4674;POINT (-38.49015 -3.646344)'))) / (select extract(epoch from '2026-05-27 09:53:08'::timestamp) - extract(epoch from '2026-05-27 09:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490137 -3.646507)'), GeomFromEWKT('SRID=4674;POINT (-38.49015 -3.646344)'))) / (select extract(epoch from '2026-05-27 09:53:08'::timestamp) - extract(epoch from '2026-05-27 09:53:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.490156 -3.6462)', '2026-05-27 09:53:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49015 -3.646344)'), GeomFromEWKT('SRID=4674;POINT (-38.490156 -3.6462)'))) / (select extract(epoch from '2026-05-27 09:53:14'::timestamp) - extract(epoch from '2026-05-27 09:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49015 -3.646344)'), GeomFromEWKT('SRID=4674;POINT (-38.490156 -3.6462)'))) / (select extract(epoch from '2026-05-27 09:53:14'::timestamp) - extract(epoch from '2026-05-27 09:53:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
