 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.238173 -3.201204)', '2026-06-27 16:48:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238093 -3.201145)'), GeomFromEWKT('SRID=4674;POINT (-39.238173 -3.201204)'))) / (select extract(epoch from '2026-06-27 16:48:28'::timestamp) - extract(epoch from '2026-06-27 16:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238093 -3.201145)'), GeomFromEWKT('SRID=4674;POINT (-39.238173 -3.201204)'))) / (select extract(epoch from '2026-06-27 16:48:28'::timestamp) - extract(epoch from '2026-06-27 16:48: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'), 46645, 'SRID=4674;POINT (-39.238248 -3.201274)', '2026-06-27 16:48:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238173 -3.201204)'), GeomFromEWKT('SRID=4674;POINT (-39.238248 -3.201274)'))) / (select extract(epoch from '2026-06-27 16:48:33'::timestamp) - extract(epoch from '2026-06-27 16:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238173 -3.201204)'), GeomFromEWKT('SRID=4674;POINT (-39.238248 -3.201274)'))) / (select extract(epoch from '2026-06-27 16:48:33'::timestamp) - extract(epoch from '2026-06-27 16:48: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'), 46645, 'SRID=4674;POINT (-39.238337 -3.201365)', '2026-06-27 16:48:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238248 -3.201274)'), GeomFromEWKT('SRID=4674;POINT (-39.238337 -3.201365)'))) / (select extract(epoch from '2026-06-27 16:48:39'::timestamp) - extract(epoch from '2026-06-27 16:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238248 -3.201274)'), GeomFromEWKT('SRID=4674;POINT (-39.238337 -3.201365)'))) / (select extract(epoch from '2026-06-27 16:48:39'::timestamp) - extract(epoch from '2026-06-27 16:48:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.238423 -3.201449)', '2026-06-27 16:48:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238337 -3.201365)'), GeomFromEWKT('SRID=4674;POINT (-39.238423 -3.201449)'))) / (select extract(epoch from '2026-06-27 16:48:45'::timestamp) - extract(epoch from '2026-06-27 16:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238337 -3.201365)'), GeomFromEWKT('SRID=4674;POINT (-39.238423 -3.201449)'))) / (select extract(epoch from '2026-06-27 16:48:45'::timestamp) - extract(epoch from '2026-06-27 16:48: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'), 46645, 'SRID=4674;POINT (-39.238514 -3.201557)', '2026-06-27 16:48:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238423 -3.201449)'), GeomFromEWKT('SRID=4674;POINT (-39.238514 -3.201557)'))) / (select extract(epoch from '2026-06-27 16:48:52'::timestamp) - extract(epoch from '2026-06-27 16:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238423 -3.201449)'), GeomFromEWKT('SRID=4674;POINT (-39.238514 -3.201557)'))) / (select extract(epoch from '2026-06-27 16:48:52'::timestamp) - extract(epoch from '2026-06-27 16:48: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'), 46645, 'SRID=4674;POINT (-39.238606 -3.201673)', '2026-06-27 16:48:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238514 -3.201557)'), GeomFromEWKT('SRID=4674;POINT (-39.238606 -3.201673)'))) / (select extract(epoch from '2026-06-27 16:48:59'::timestamp) - extract(epoch from '2026-06-27 16:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238514 -3.201557)'), GeomFromEWKT('SRID=4674;POINT (-39.238606 -3.201673)'))) / (select extract(epoch from '2026-06-27 16:48:59'::timestamp) - extract(epoch from '2026-06-27 16:48:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.238673 -3.201746)', '2026-06-27 16:49:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238606 -3.201673)'), GeomFromEWKT('SRID=4674;POINT (-39.238673 -3.201746)'))) / (select extract(epoch from '2026-06-27 16:49:04'::timestamp) - extract(epoch from '2026-06-27 16:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238606 -3.201673)'), GeomFromEWKT('SRID=4674;POINT (-39.238673 -3.201746)'))) / (select extract(epoch from '2026-06-27 16:49:04'::timestamp) - extract(epoch from '2026-06-27 16: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'), 46645, 'SRID=4674;POINT (-39.238752 -3.201826)', '2026-06-27 16:49:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238673 -3.201746)'), GeomFromEWKT('SRID=4674;POINT (-39.238752 -3.201826)'))) / (select extract(epoch from '2026-06-27 16:49:09'::timestamp) - extract(epoch from '2026-06-27 16:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238673 -3.201746)'), GeomFromEWKT('SRID=4674;POINT (-39.238752 -3.201826)'))) / (select extract(epoch from '2026-06-27 16:49:09'::timestamp) - extract(epoch from '2026-06-27 16:49: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'), 46645, 'SRID=4674;POINT (-39.238844 -3.201907)', '2026-06-27 16:49:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238752 -3.201826)'), GeomFromEWKT('SRID=4674;POINT (-39.238844 -3.201907)'))) / (select extract(epoch from '2026-06-27 16:49:15'::timestamp) - extract(epoch from '2026-06-27 16:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238752 -3.201826)'), GeomFromEWKT('SRID=4674;POINT (-39.238844 -3.201907)'))) / (select extract(epoch from '2026-06-27 16:49:15'::timestamp) - extract(epoch from '2026-06-27 16:49: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'), 46645, 'SRID=4674;POINT (-39.238945 -3.201994)', '2026-06-27 16:49:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238844 -3.201907)'), GeomFromEWKT('SRID=4674;POINT (-39.238945 -3.201994)'))) / (select extract(epoch from '2026-06-27 16:49:21'::timestamp) - extract(epoch from '2026-06-27 16:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238844 -3.201907)'), GeomFromEWKT('SRID=4674;POINT (-39.238945 -3.201994)'))) / (select extract(epoch from '2026-06-27 16:49:21'::timestamp) - extract(epoch from '2026-06-27 16:49: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'), 46645, 'SRID=4674;POINT (-39.239036 -3.202082)', '2026-06-27 16:49:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238945 -3.201994)'), GeomFromEWKT('SRID=4674;POINT (-39.239036 -3.202082)'))) / (select extract(epoch from '2026-06-27 16:49:27'::timestamp) - extract(epoch from '2026-06-27 16:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.238945 -3.201994)'), GeomFromEWKT('SRID=4674;POINT (-39.239036 -3.202082)'))) / (select extract(epoch from '2026-06-27 16:49:27'::timestamp) - extract(epoch from '2026-06-27 16:49: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'), 46645, 'SRID=4674;POINT (-39.239134 -3.202189)', '2026-06-27 16:49:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239036 -3.202082)'), GeomFromEWKT('SRID=4674;POINT (-39.239134 -3.202189)'))) / (select extract(epoch from '2026-06-27 16:49:34'::timestamp) - extract(epoch from '2026-06-27 16:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239036 -3.202082)'), GeomFromEWKT('SRID=4674;POINT (-39.239134 -3.202189)'))) / (select extract(epoch from '2026-06-27 16:49:34'::timestamp) - extract(epoch from '2026-06-27 16:49: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'), 46645, 'SRID=4674;POINT (-39.239222 -3.202259)', '2026-06-27 16:49:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239134 -3.202189)'), GeomFromEWKT('SRID=4674;POINT (-39.239222 -3.202259)'))) / (select extract(epoch from '2026-06-27 16:49:39'::timestamp) - extract(epoch from '2026-06-27 16:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239134 -3.202189)'), GeomFromEWKT('SRID=4674;POINT (-39.239222 -3.202259)'))) / (select extract(epoch from '2026-06-27 16:49:39'::timestamp) - extract(epoch from '2026-06-27 16:49: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'), 46645, 'SRID=4674;POINT (-39.239341 -3.202362)', '2026-06-27 16:49:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239222 -3.202259)'), GeomFromEWKT('SRID=4674;POINT (-39.239341 -3.202362)'))) / (select extract(epoch from '2026-06-27 16:49:46'::timestamp) - extract(epoch from '2026-06-27 16:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239222 -3.202259)'), GeomFromEWKT('SRID=4674;POINT (-39.239341 -3.202362)'))) / (select extract(epoch from '2026-06-27 16:49:46'::timestamp) - extract(epoch from '2026-06-27 16:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.239432 -3.202438)', '2026-06-27 16:49:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239341 -3.202362)'), GeomFromEWKT('SRID=4674;POINT (-39.239432 -3.202438)'))) / (select extract(epoch from '2026-06-27 16:49:52'::timestamp) - extract(epoch from '2026-06-27 16:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239341 -3.202362)'), GeomFromEWKT('SRID=4674;POINT (-39.239432 -3.202438)'))) / (select extract(epoch from '2026-06-27 16:49:52'::timestamp) - extract(epoch from '2026-06-27 16:49: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'), 46645, 'SRID=4674;POINT (-39.239563 -3.202551)', '2026-06-27 16:50:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239432 -3.202438)'), GeomFromEWKT('SRID=4674;POINT (-39.239563 -3.202551)'))) / (select extract(epoch from '2026-06-27 16:50:00'::timestamp) - extract(epoch from '2026-06-27 16:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239432 -3.202438)'), GeomFromEWKT('SRID=4674;POINT (-39.239563 -3.202551)'))) / (select extract(epoch from '2026-06-27 16:50:00'::timestamp) - extract(epoch from '2026-06-27 16:49: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'), 46645, 'SRID=4674;POINT (-39.239601 -3.20257)', '2026-06-27 16:50:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239563 -3.202551)'), GeomFromEWKT('SRID=4674;POINT (-39.239601 -3.20257)'))) / (select extract(epoch from '2026-06-27 16:50:02'::timestamp) - extract(epoch from '2026-06-27 16:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239563 -3.202551)'), GeomFromEWKT('SRID=4674;POINT (-39.239601 -3.20257)'))) / (select extract(epoch from '2026-06-27 16:50:02'::timestamp) - extract(epoch from '2026-06-27 16:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.239662 -3.202599)', '2026-06-27 16:50:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239601 -3.20257)'), GeomFromEWKT('SRID=4674;POINT (-39.239662 -3.202599)'))) / (select extract(epoch from '2026-06-27 16:50:05'::timestamp) - extract(epoch from '2026-06-27 16:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239601 -3.20257)'), GeomFromEWKT('SRID=4674;POINT (-39.239662 -3.202599)'))) / (select extract(epoch from '2026-06-27 16:50:05'::timestamp) - extract(epoch from '2026-06-27 16:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.239772 -3.202656)', '2026-06-27 16:50:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239662 -3.202599)'), GeomFromEWKT('SRID=4674;POINT (-39.239772 -3.202656)'))) / (select extract(epoch from '2026-06-27 16:50:11'::timestamp) - extract(epoch from '2026-06-27 16:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239662 -3.202599)'), GeomFromEWKT('SRID=4674;POINT (-39.239772 -3.202656)'))) / (select extract(epoch from '2026-06-27 16:50:11'::timestamp) - extract(epoch from '2026-06-27 16:50: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'), 46645, 'SRID=4674;POINT (-39.239888 -3.202733)', '2026-06-27 16:50:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239772 -3.202656)'), GeomFromEWKT('SRID=4674;POINT (-39.239888 -3.202733)'))) / (select extract(epoch from '2026-06-27 16:50:18'::timestamp) - extract(epoch from '2026-06-27 16:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239772 -3.202656)'), GeomFromEWKT('SRID=4674;POINT (-39.239888 -3.202733)'))) / (select extract(epoch from '2026-06-27 16:50:18'::timestamp) - extract(epoch from '2026-06-27 16:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.239978 -3.202786)', '2026-06-27 16:50:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239888 -3.202733)'), GeomFromEWKT('SRID=4674;POINT (-39.239978 -3.202786)'))) / (select extract(epoch from '2026-06-27 16:50:23'::timestamp) - extract(epoch from '2026-06-27 16:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239888 -3.202733)'), GeomFromEWKT('SRID=4674;POINT (-39.239978 -3.202786)'))) / (select extract(epoch from '2026-06-27 16:50:23'::timestamp) - extract(epoch from '2026-06-27 16:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.240087 -3.202864)', '2026-06-27 16:50:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239978 -3.202786)'), GeomFromEWKT('SRID=4674;POINT (-39.240087 -3.202864)'))) / (select extract(epoch from '2026-06-27 16:50:29'::timestamp) - extract(epoch from '2026-06-27 16:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.239978 -3.202786)'), GeomFromEWKT('SRID=4674;POINT (-39.240087 -3.202864)'))) / (select extract(epoch from '2026-06-27 16:50:29'::timestamp) - extract(epoch from '2026-06-27 16:50: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'), 46645, 'SRID=4674;POINT (-39.240217 -3.202953)', '2026-06-27 16:50:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240087 -3.202864)'), GeomFromEWKT('SRID=4674;POINT (-39.240217 -3.202953)'))) / (select extract(epoch from '2026-06-27 16:50:36'::timestamp) - extract(epoch from '2026-06-27 16:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240087 -3.202864)'), GeomFromEWKT('SRID=4674;POINT (-39.240217 -3.202953)'))) / (select extract(epoch from '2026-06-27 16:50:36'::timestamp) - extract(epoch from '2026-06-27 16:50: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'), 46645, 'SRID=4674;POINT (-39.240329 -3.203049)', '2026-06-27 16:50:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240217 -3.202953)'), GeomFromEWKT('SRID=4674;POINT (-39.240329 -3.203049)'))) / (select extract(epoch from '2026-06-27 16:50:43'::timestamp) - extract(epoch from '2026-06-27 16:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240217 -3.202953)'), GeomFromEWKT('SRID=4674;POINT (-39.240329 -3.203049)'))) / (select extract(epoch from '2026-06-27 16:50:43'::timestamp) - extract(epoch from '2026-06-27 16:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.240444 -3.203143)', '2026-06-27 16:50:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240329 -3.203049)'), GeomFromEWKT('SRID=4674;POINT (-39.240444 -3.203143)'))) / (select extract(epoch from '2026-06-27 16:50:50'::timestamp) - extract(epoch from '2026-06-27 16:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240329 -3.203049)'), GeomFromEWKT('SRID=4674;POINT (-39.240444 -3.203143)'))) / (select extract(epoch from '2026-06-27 16:50:50'::timestamp) - extract(epoch from '2026-06-27 16:50: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'), 46645, 'SRID=4674;POINT (-39.240523 -3.203214)', '2026-06-27 16:50:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240444 -3.203143)'), GeomFromEWKT('SRID=4674;POINT (-39.240523 -3.203214)'))) / (select extract(epoch from '2026-06-27 16:50:55'::timestamp) - extract(epoch from '2026-06-27 16:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240444 -3.203143)'), GeomFromEWKT('SRID=4674;POINT (-39.240523 -3.203214)'))) / (select extract(epoch from '2026-06-27 16:50:55'::timestamp) - extract(epoch from '2026-06-27 16:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.240623 -3.203285)', '2026-06-27 16:51:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240523 -3.203214)'), GeomFromEWKT('SRID=4674;POINT (-39.240623 -3.203285)'))) / (select extract(epoch from '2026-06-27 16:51:01'::timestamp) - extract(epoch from '2026-06-27 16:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240523 -3.203214)'), GeomFromEWKT('SRID=4674;POINT (-39.240623 -3.203285)'))) / (select extract(epoch from '2026-06-27 16:51:01'::timestamp) - extract(epoch from '2026-06-27 16: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'), 46645, 'SRID=4674;POINT (-39.240729 -3.203364)', '2026-06-27 16:51:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240623 -3.203285)'), GeomFromEWKT('SRID=4674;POINT (-39.240729 -3.203364)'))) / (select extract(epoch from '2026-06-27 16:51:07'::timestamp) - extract(epoch from '2026-06-27 16:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240623 -3.203285)'), GeomFromEWKT('SRID=4674;POINT (-39.240729 -3.203364)'))) / (select extract(epoch from '2026-06-27 16:51:07'::timestamp) - extract(epoch from '2026-06-27 16:51: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'), 46645, 'SRID=4674;POINT (-39.240818 -3.203414)', '2026-06-27 16:51:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240729 -3.203364)'), GeomFromEWKT('SRID=4674;POINT (-39.240818 -3.203414)'))) / (select extract(epoch from '2026-06-27 16:51:12'::timestamp) - extract(epoch from '2026-06-27 16:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240729 -3.203364)'), GeomFromEWKT('SRID=4674;POINT (-39.240818 -3.203414)'))) / (select extract(epoch from '2026-06-27 16:51:12'::timestamp) - extract(epoch from '2026-06-27 16: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'), 46645, 'SRID=4674;POINT (-39.240937 -3.203498)', '2026-06-27 16:51:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240818 -3.203414)'), GeomFromEWKT('SRID=4674;POINT (-39.240937 -3.203498)'))) / (select extract(epoch from '2026-06-27 16:51:19'::timestamp) - extract(epoch from '2026-06-27 16:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240818 -3.203414)'), GeomFromEWKT('SRID=4674;POINT (-39.240937 -3.203498)'))) / (select extract(epoch from '2026-06-27 16:51:19'::timestamp) - extract(epoch from '2026-06-27 16:51: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'), 46645, 'SRID=4674;POINT (-39.241053 -3.203589)', '2026-06-27 16:51:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240937 -3.203498)'), GeomFromEWKT('SRID=4674;POINT (-39.241053 -3.203589)'))) / (select extract(epoch from '2026-06-27 16:51:26'::timestamp) - extract(epoch from '2026-06-27 16:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.240937 -3.203498)'), GeomFromEWKT('SRID=4674;POINT (-39.241053 -3.203589)'))) / (select extract(epoch from '2026-06-27 16:51:26'::timestamp) - extract(epoch from '2026-06-27 16:51: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'), 46645, 'SRID=4674;POINT (-39.241168 -3.203678)', '2026-06-27 16:51:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241053 -3.203589)'), GeomFromEWKT('SRID=4674;POINT (-39.241168 -3.203678)'))) / (select extract(epoch from '2026-06-27 16:51:33'::timestamp) - extract(epoch from '2026-06-27 16:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241053 -3.203589)'), GeomFromEWKT('SRID=4674;POINT (-39.241168 -3.203678)'))) / (select extract(epoch from '2026-06-27 16:51:33'::timestamp) - extract(epoch from '2026-06-27 16: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'), 46645, 'SRID=4674;POINT (-39.241265 -3.203757)', '2026-06-27 16:51:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241168 -3.203678)'), GeomFromEWKT('SRID=4674;POINT (-39.241265 -3.203757)'))) / (select extract(epoch from '2026-06-27 16:51:39'::timestamp) - extract(epoch from '2026-06-27 16:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241168 -3.203678)'), GeomFromEWKT('SRID=4674;POINT (-39.241265 -3.203757)'))) / (select extract(epoch from '2026-06-27 16:51:39'::timestamp) - extract(epoch from '2026-06-27 16: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'), 46645, 'SRID=4674;POINT (-39.241397 -3.203855)', '2026-06-27 16:51:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241265 -3.203757)'), GeomFromEWKT('SRID=4674;POINT (-39.241397 -3.203855)'))) / (select extract(epoch from '2026-06-27 16:51:47'::timestamp) - extract(epoch from '2026-06-27 16:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241265 -3.203757)'), GeomFromEWKT('SRID=4674;POINT (-39.241397 -3.203855)'))) / (select extract(epoch from '2026-06-27 16:51:47'::timestamp) - extract(epoch from '2026-06-27 16:51: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'), 46645, 'SRID=4674;POINT (-39.241515 -3.203947)', '2026-06-27 16:51:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241397 -3.203855)'), GeomFromEWKT('SRID=4674;POINT (-39.241515 -3.203947)'))) / (select extract(epoch from '2026-06-27 16:51:54'::timestamp) - extract(epoch from '2026-06-27 16:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241397 -3.203855)'), GeomFromEWKT('SRID=4674;POINT (-39.241515 -3.203947)'))) / (select extract(epoch from '2026-06-27 16:51:54'::timestamp) - extract(epoch from '2026-06-27 16:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.241617 -3.20402)', '2026-06-27 16:52:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241515 -3.203947)'), GeomFromEWKT('SRID=4674;POINT (-39.241617 -3.20402)'))) / (select extract(epoch from '2026-06-27 16:52:00'::timestamp) - extract(epoch from '2026-06-27 16:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241515 -3.203947)'), GeomFromEWKT('SRID=4674;POINT (-39.241617 -3.20402)'))) / (select extract(epoch from '2026-06-27 16:52:00'::timestamp) - extract(epoch from '2026-06-27 16: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'), 46645, 'SRID=4674;POINT (-39.241716 -3.204099)', '2026-06-27 16:52:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241617 -3.20402)'), GeomFromEWKT('SRID=4674;POINT (-39.241716 -3.204099)'))) / (select extract(epoch from '2026-06-27 16:52:06'::timestamp) - extract(epoch from '2026-06-27 16:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241617 -3.20402)'), GeomFromEWKT('SRID=4674;POINT (-39.241716 -3.204099)'))) / (select extract(epoch from '2026-06-27 16:52:06'::timestamp) - extract(epoch from '2026-06-27 16: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'), 46645, 'SRID=4674;POINT (-39.241854 -3.204213)', '2026-06-27 16:52:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241716 -3.204099)'), GeomFromEWKT('SRID=4674;POINT (-39.241854 -3.204213)'))) / (select extract(epoch from '2026-06-27 16:52:15'::timestamp) - extract(epoch from '2026-06-27 16:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241716 -3.204099)'), GeomFromEWKT('SRID=4674;POINT (-39.241854 -3.204213)'))) / (select extract(epoch from '2026-06-27 16:52:15'::timestamp) - extract(epoch from '2026-06-27 16:52: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'), 46645, 'SRID=4674;POINT (-39.241951 -3.204295)', '2026-06-27 16:52:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241854 -3.204213)'), GeomFromEWKT('SRID=4674;POINT (-39.241951 -3.204295)'))) / (select extract(epoch from '2026-06-27 16:52:22'::timestamp) - extract(epoch from '2026-06-27 16:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241854 -3.204213)'), GeomFromEWKT('SRID=4674;POINT (-39.241951 -3.204295)'))) / (select extract(epoch from '2026-06-27 16:52:22'::timestamp) - extract(epoch from '2026-06-27 16:52: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'), 46645, 'SRID=4674;POINT (-39.242033 -3.204374)', '2026-06-27 16:52:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241951 -3.204295)'), GeomFromEWKT('SRID=4674;POINT (-39.242033 -3.204374)'))) / (select extract(epoch from '2026-06-27 16:52:27'::timestamp) - extract(epoch from '2026-06-27 16:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.241951 -3.204295)'), GeomFromEWKT('SRID=4674;POINT (-39.242033 -3.204374)'))) / (select extract(epoch from '2026-06-27 16:52:27'::timestamp) - extract(epoch from '2026-06-27 16: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'), 46645, 'SRID=4674;POINT (-39.242141 -3.204441)', '2026-06-27 16:52:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242033 -3.204374)'), GeomFromEWKT('SRID=4674;POINT (-39.242141 -3.204441)'))) / (select extract(epoch from '2026-06-27 16:52:33'::timestamp) - extract(epoch from '2026-06-27 16:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242033 -3.204374)'), GeomFromEWKT('SRID=4674;POINT (-39.242141 -3.204441)'))) / (select extract(epoch from '2026-06-27 16:52:33'::timestamp) - extract(epoch from '2026-06-27 16:52: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'), 46645, 'SRID=4674;POINT (-39.242275 -3.204512)', '2026-06-27 16:52:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242141 -3.204441)'), GeomFromEWKT('SRID=4674;POINT (-39.242275 -3.204512)'))) / (select extract(epoch from '2026-06-27 16:52:40'::timestamp) - extract(epoch from '2026-06-27 16:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242141 -3.204441)'), GeomFromEWKT('SRID=4674;POINT (-39.242275 -3.204512)'))) / (select extract(epoch from '2026-06-27 16:52:40'::timestamp) - extract(epoch from '2026-06-27 16:52: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'), 46645, 'SRID=4674;POINT (-39.242403 -3.204582)', '2026-06-27 16:52:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242275 -3.204512)'), GeomFromEWKT('SRID=4674;POINT (-39.242403 -3.204582)'))) / (select extract(epoch from '2026-06-27 16:52:47'::timestamp) - extract(epoch from '2026-06-27 16:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242275 -3.204512)'), GeomFromEWKT('SRID=4674;POINT (-39.242403 -3.204582)'))) / (select extract(epoch from '2026-06-27 16:52:47'::timestamp) - extract(epoch from '2026-06-27 16:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.242521 -3.204649)', '2026-06-27 16:52:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242403 -3.204582)'), GeomFromEWKT('SRID=4674;POINT (-39.242521 -3.204649)'))) / (select extract(epoch from '2026-06-27 16:52:54'::timestamp) - extract(epoch from '2026-06-27 16:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242403 -3.204582)'), GeomFromEWKT('SRID=4674;POINT (-39.242521 -3.204649)'))) / (select extract(epoch from '2026-06-27 16:52:54'::timestamp) - extract(epoch from '2026-06-27 16: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'), 46645, 'SRID=4674;POINT (-39.242634 -3.204733)', '2026-06-27 16:53:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242521 -3.204649)'), GeomFromEWKT('SRID=4674;POINT (-39.242634 -3.204733)'))) / (select extract(epoch from '2026-06-27 16:53:01'::timestamp) - extract(epoch from '2026-06-27 16:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242521 -3.204649)'), GeomFromEWKT('SRID=4674;POINT (-39.242634 -3.204733)'))) / (select extract(epoch from '2026-06-27 16:53:01'::timestamp) - extract(epoch from '2026-06-27 16:52: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'), 46645, 'SRID=4674;POINT (-39.242716 -3.204799)', '2026-06-27 16:53:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242634 -3.204733)'), GeomFromEWKT('SRID=4674;POINT (-39.242716 -3.204799)'))) / (select extract(epoch from '2026-06-27 16:53:06'::timestamp) - extract(epoch from '2026-06-27 16:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242634 -3.204733)'), GeomFromEWKT('SRID=4674;POINT (-39.242716 -3.204799)'))) / (select extract(epoch from '2026-06-27 16:53:06'::timestamp) - extract(epoch from '2026-06-27 16:53: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'), 46645, 'SRID=4674;POINT (-39.242756 -3.204821)', '2026-06-27 16:53:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242716 -3.204799)'), GeomFromEWKT('SRID=4674;POINT (-39.242756 -3.204821)'))) / (select extract(epoch from '2026-06-27 16:53:08'::timestamp) - extract(epoch from '2026-06-27 16:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242716 -3.204799)'), GeomFromEWKT('SRID=4674;POINT (-39.242756 -3.204821)'))) / (select extract(epoch from '2026-06-27 16:53:08'::timestamp) - extract(epoch from '2026-06-27 16:53: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'), 46645, 'SRID=4674;POINT (-39.242838 -3.204905)', '2026-06-27 16:53:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242756 -3.204821)'), GeomFromEWKT('SRID=4674;POINT (-39.242838 -3.204905)'))) / (select extract(epoch from '2026-06-27 16:53:13'::timestamp) - extract(epoch from '2026-06-27 16:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242756 -3.204821)'), GeomFromEWKT('SRID=4674;POINT (-39.242838 -3.204905)'))) / (select extract(epoch from '2026-06-27 16:53:13'::timestamp) - extract(epoch from '2026-06-27 16:53: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'), 46645, 'SRID=4674;POINT (-39.24293 -3.204985)', '2026-06-27 16:53:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242838 -3.204905)'), GeomFromEWKT('SRID=4674;POINT (-39.24293 -3.204985)'))) / (select extract(epoch from '2026-06-27 16:53:19'::timestamp) - extract(epoch from '2026-06-27 16:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.242838 -3.204905)'), GeomFromEWKT('SRID=4674;POINT (-39.24293 -3.204985)'))) / (select extract(epoch from '2026-06-27 16:53:19'::timestamp) - extract(epoch from '2026-06-27 16:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.243005 -3.20505)', '2026-06-27 16:53:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24293 -3.204985)'), GeomFromEWKT('SRID=4674;POINT (-39.243005 -3.20505)'))) / (select extract(epoch from '2026-06-27 16:53:24'::timestamp) - extract(epoch from '2026-06-27 16:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24293 -3.204985)'), GeomFromEWKT('SRID=4674;POINT (-39.243005 -3.20505)'))) / (select extract(epoch from '2026-06-27 16:53:24'::timestamp) - extract(epoch from '2026-06-27 16:53: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'), 46645, 'SRID=4674;POINT (-39.243104 -3.205142)', '2026-06-27 16:53:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243005 -3.20505)'), GeomFromEWKT('SRID=4674;POINT (-39.243104 -3.205142)'))) / (select extract(epoch from '2026-06-27 16:53:31'::timestamp) - extract(epoch from '2026-06-27 16:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243005 -3.20505)'), GeomFromEWKT('SRID=4674;POINT (-39.243104 -3.205142)'))) / (select extract(epoch from '2026-06-27 16:53:31'::timestamp) - extract(epoch from '2026-06-27 16:53: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'), 46645, 'SRID=4674;POINT (-39.243204 -3.205241)', '2026-06-27 16:53:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243104 -3.205142)'), GeomFromEWKT('SRID=4674;POINT (-39.243204 -3.205241)'))) / (select extract(epoch from '2026-06-27 16:53:38'::timestamp) - extract(epoch from '2026-06-27 16:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243104 -3.205142)'), GeomFromEWKT('SRID=4674;POINT (-39.243204 -3.205241)'))) / (select extract(epoch from '2026-06-27 16:53:38'::timestamp) - extract(epoch from '2026-06-27 16:53: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'), 46645, 'SRID=4674;POINT (-39.243282 -3.205305)', '2026-06-27 16:53:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243204 -3.205241)'), GeomFromEWKT('SRID=4674;POINT (-39.243282 -3.205305)'))) / (select extract(epoch from '2026-06-27 16:53:43'::timestamp) - extract(epoch from '2026-06-27 16:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243204 -3.205241)'), GeomFromEWKT('SRID=4674;POINT (-39.243282 -3.205305)'))) / (select extract(epoch from '2026-06-27 16:53:43'::timestamp) - extract(epoch from '2026-06-27 16:53: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'), 46645, 'SRID=4674;POINT (-39.24334 -3.205361)', '2026-06-27 16:53:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243282 -3.205305)'), GeomFromEWKT('SRID=4674;POINT (-39.24334 -3.205361)'))) / (select extract(epoch from '2026-06-27 16:53:47'::timestamp) - extract(epoch from '2026-06-27 16:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243282 -3.205305)'), GeomFromEWKT('SRID=4674;POINT (-39.24334 -3.205361)'))) / (select extract(epoch from '2026-06-27 16:53:47'::timestamp) - extract(epoch from '2026-06-27 16:53: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'), 46645, 'SRID=4674;POINT (-39.243358 -3.205376)', '2026-06-27 16:53:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24334 -3.205361)'), GeomFromEWKT('SRID=4674;POINT (-39.243358 -3.205376)'))) / (select extract(epoch from '2026-06-27 16:53:48'::timestamp) - extract(epoch from '2026-06-27 16:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24334 -3.205361)'), GeomFromEWKT('SRID=4674;POINT (-39.243358 -3.205376)'))) / (select extract(epoch from '2026-06-27 16:53:48'::timestamp) - extract(epoch from '2026-06-27 16:53: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'), 46645, 'SRID=4674;POINT (-39.24346 -3.205455)', '2026-06-27 16:53:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243358 -3.205376)'), GeomFromEWKT('SRID=4674;POINT (-39.24346 -3.205455)'))) / (select extract(epoch from '2026-06-27 16:53:54'::timestamp) - extract(epoch from '2026-06-27 16:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243358 -3.205376)'), GeomFromEWKT('SRID=4674;POINT (-39.24346 -3.205455)'))) / (select extract(epoch from '2026-06-27 16:53:54'::timestamp) - extract(epoch from '2026-06-27 16:53: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'), 46645, 'SRID=4674;POINT (-39.243558 -3.20553)', '2026-06-27 16:54:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24346 -3.205455)'), GeomFromEWKT('SRID=4674;POINT (-39.243558 -3.20553)'))) / (select extract(epoch from '2026-06-27 16:54:00'::timestamp) - extract(epoch from '2026-06-27 16:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24346 -3.205455)'), GeomFromEWKT('SRID=4674;POINT (-39.243558 -3.20553)'))) / (select extract(epoch from '2026-06-27 16:54:00'::timestamp) - extract(epoch from '2026-06-27 16:53: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'), 46645, 'SRID=4674;POINT (-39.243638 -3.205599)', '2026-06-27 16:54:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243558 -3.20553)'), GeomFromEWKT('SRID=4674;POINT (-39.243638 -3.205599)'))) / (select extract(epoch from '2026-06-27 16:54:05'::timestamp) - extract(epoch from '2026-06-27 16:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243558 -3.20553)'), GeomFromEWKT('SRID=4674;POINT (-39.243638 -3.205599)'))) / (select extract(epoch from '2026-06-27 16:54:05'::timestamp) - extract(epoch from '2026-06-27 16:54: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'), 46645, 'SRID=4674;POINT (-39.243723 -3.205661)', '2026-06-27 16:54:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243638 -3.205599)'), GeomFromEWKT('SRID=4674;POINT (-39.243723 -3.205661)'))) / (select extract(epoch from '2026-06-27 16:54:10'::timestamp) - extract(epoch from '2026-06-27 16:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243638 -3.205599)'), GeomFromEWKT('SRID=4674;POINT (-39.243723 -3.205661)'))) / (select extract(epoch from '2026-06-27 16:54:10'::timestamp) - extract(epoch from '2026-06-27 16:54:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.243817 -3.205742)', '2026-06-27 16:54:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243723 -3.205661)'), GeomFromEWKT('SRID=4674;POINT (-39.243817 -3.205742)'))) / (select extract(epoch from '2026-06-27 16:54:16'::timestamp) - extract(epoch from '2026-06-27 16:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243723 -3.205661)'), GeomFromEWKT('SRID=4674;POINT (-39.243817 -3.205742)'))) / (select extract(epoch from '2026-06-27 16:54:16'::timestamp) - extract(epoch from '2026-06-27 16:54: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'), 46645, 'SRID=4674;POINT (-39.243896 -3.205833)', '2026-06-27 16:54:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243817 -3.205742)'), GeomFromEWKT('SRID=4674;POINT (-39.243896 -3.205833)'))) / (select extract(epoch from '2026-06-27 16:54:22'::timestamp) - extract(epoch from '2026-06-27 16:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243817 -3.205742)'), GeomFromEWKT('SRID=4674;POINT (-39.243896 -3.205833)'))) / (select extract(epoch from '2026-06-27 16:54:22'::timestamp) - extract(epoch from '2026-06-27 16:54: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'), 46645, 'SRID=4674;POINT (-39.244002 -3.20592)', '2026-06-27 16:54:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243896 -3.205833)'), GeomFromEWKT('SRID=4674;POINT (-39.244002 -3.20592)'))) / (select extract(epoch from '2026-06-27 16:54:29'::timestamp) - extract(epoch from '2026-06-27 16:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.243896 -3.205833)'), GeomFromEWKT('SRID=4674;POINT (-39.244002 -3.20592)'))) / (select extract(epoch from '2026-06-27 16:54:29'::timestamp) - extract(epoch from '2026-06-27 16:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.244105 -3.205976)', '2026-06-27 16:54:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244002 -3.20592)'), GeomFromEWKT('SRID=4674;POINT (-39.244105 -3.205976)'))) / (select extract(epoch from '2026-06-27 16:54:35'::timestamp) - extract(epoch from '2026-06-27 16:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244002 -3.20592)'), GeomFromEWKT('SRID=4674;POINT (-39.244105 -3.205976)'))) / (select extract(epoch from '2026-06-27 16:54:35'::timestamp) - extract(epoch from '2026-06-27 16:54:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.244208 -3.20604)', '2026-06-27 16:54:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244105 -3.205976)'), GeomFromEWKT('SRID=4674;POINT (-39.244208 -3.20604)'))) / (select extract(epoch from '2026-06-27 16:54:41'::timestamp) - extract(epoch from '2026-06-27 16:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244105 -3.205976)'), GeomFromEWKT('SRID=4674;POINT (-39.244208 -3.20604)'))) / (select extract(epoch from '2026-06-27 16:54:41'::timestamp) - extract(epoch from '2026-06-27 16:54: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'), 46645, 'SRID=4674;POINT (-39.244286 -3.206092)', '2026-06-27 16:54:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244208 -3.20604)'), GeomFromEWKT('SRID=4674;POINT (-39.244286 -3.206092)'))) / (select extract(epoch from '2026-06-27 16:54:46'::timestamp) - extract(epoch from '2026-06-27 16:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244208 -3.20604)'), GeomFromEWKT('SRID=4674;POINT (-39.244286 -3.206092)'))) / (select extract(epoch from '2026-06-27 16:54:46'::timestamp) - extract(epoch from '2026-06-27 16:54: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'), 46645, 'SRID=4674;POINT (-39.244312 -3.206117)', '2026-06-27 16:54:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244286 -3.206092)'), GeomFromEWKT('SRID=4674;POINT (-39.244312 -3.206117)'))) / (select extract(epoch from '2026-06-27 16:54:48'::timestamp) - extract(epoch from '2026-06-27 16:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244286 -3.206092)'), GeomFromEWKT('SRID=4674;POINT (-39.244312 -3.206117)'))) / (select extract(epoch from '2026-06-27 16:54:48'::timestamp) - extract(epoch from '2026-06-27 16:54: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'), 46645, 'SRID=4674;POINT (-39.244353 -3.206135)', '2026-06-27 16:54:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244312 -3.206117)'), GeomFromEWKT('SRID=4674;POINT (-39.244353 -3.206135)'))) / (select extract(epoch from '2026-06-27 16:54:50'::timestamp) - extract(epoch from '2026-06-27 16:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244312 -3.206117)'), GeomFromEWKT('SRID=4674;POINT (-39.244353 -3.206135)'))) / (select extract(epoch from '2026-06-27 16:54:50'::timestamp) - extract(epoch from '2026-06-27 16:54: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'), 46645, 'SRID=4674;POINT (-39.244434 -3.206182)', '2026-06-27 16:54:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244353 -3.206135)'), GeomFromEWKT('SRID=4674;POINT (-39.244434 -3.206182)'))) / (select extract(epoch from '2026-06-27 16:54:55'::timestamp) - extract(epoch from '2026-06-27 16:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244353 -3.206135)'), GeomFromEWKT('SRID=4674;POINT (-39.244434 -3.206182)'))) / (select extract(epoch from '2026-06-27 16:54:55'::timestamp) - extract(epoch from '2026-06-27 16:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.244533 -3.206243)', '2026-06-27 16:55:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244434 -3.206182)'), GeomFromEWKT('SRID=4674;POINT (-39.244533 -3.206243)'))) / (select extract(epoch from '2026-06-27 16:55:01'::timestamp) - extract(epoch from '2026-06-27 16:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244434 -3.206182)'), GeomFromEWKT('SRID=4674;POINT (-39.244533 -3.206243)'))) / (select extract(epoch from '2026-06-27 16:55:01'::timestamp) - extract(epoch from '2026-06-27 16:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.244608 -3.206296)', '2026-06-27 16:55:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244533 -3.206243)'), GeomFromEWKT('SRID=4674;POINT (-39.244608 -3.206296)'))) / (select extract(epoch from '2026-06-27 16:55:06'::timestamp) - extract(epoch from '2026-06-27 16:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244533 -3.206243)'), GeomFromEWKT('SRID=4674;POINT (-39.244608 -3.206296)'))) / (select extract(epoch from '2026-06-27 16:55:06'::timestamp) - extract(epoch from '2026-06-27 16:55: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'), 46645, 'SRID=4674;POINT (-39.24471 -3.206383)', '2026-06-27 16:55:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244608 -3.206296)'), GeomFromEWKT('SRID=4674;POINT (-39.24471 -3.206383)'))) / (select extract(epoch from '2026-06-27 16:55:13'::timestamp) - extract(epoch from '2026-06-27 16:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244608 -3.206296)'), GeomFromEWKT('SRID=4674;POINT (-39.24471 -3.206383)'))) / (select extract(epoch from '2026-06-27 16:55:13'::timestamp) - extract(epoch from '2026-06-27 16:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.244806 -3.206452)', '2026-06-27 16:55:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24471 -3.206383)'), GeomFromEWKT('SRID=4674;POINT (-39.244806 -3.206452)'))) / (select extract(epoch from '2026-06-27 16:55:19'::timestamp) - extract(epoch from '2026-06-27 16:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24471 -3.206383)'), GeomFromEWKT('SRID=4674;POINT (-39.244806 -3.206452)'))) / (select extract(epoch from '2026-06-27 16:55:19'::timestamp) - extract(epoch from '2026-06-27 16:55:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.244892 -3.206527)', '2026-06-27 16:55:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244806 -3.206452)'), GeomFromEWKT('SRID=4674;POINT (-39.244892 -3.206527)'))) / (select extract(epoch from '2026-06-27 16:55:24'::timestamp) - extract(epoch from '2026-06-27 16:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244806 -3.206452)'), GeomFromEWKT('SRID=4674;POINT (-39.244892 -3.206527)'))) / (select extract(epoch from '2026-06-27 16:55:24'::timestamp) - extract(epoch from '2026-06-27 16:55: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'), 46645, 'SRID=4674;POINT (-39.244985 -3.206594)', '2026-06-27 16:55:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244892 -3.206527)'), GeomFromEWKT('SRID=4674;POINT (-39.244985 -3.206594)'))) / (select extract(epoch from '2026-06-27 16:55:29'::timestamp) - extract(epoch from '2026-06-27 16:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244892 -3.206527)'), GeomFromEWKT('SRID=4674;POINT (-39.244985 -3.206594)'))) / (select extract(epoch from '2026-06-27 16:55:29'::timestamp) - extract(epoch from '2026-06-27 16:55: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'), 46645, 'SRID=4674;POINT (-39.245069 -3.206661)', '2026-06-27 16:55:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244985 -3.206594)'), GeomFromEWKT('SRID=4674;POINT (-39.245069 -3.206661)'))) / (select extract(epoch from '2026-06-27 16:55:34'::timestamp) - extract(epoch from '2026-06-27 16:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.244985 -3.206594)'), GeomFromEWKT('SRID=4674;POINT (-39.245069 -3.206661)'))) / (select extract(epoch from '2026-06-27 16:55:34'::timestamp) - extract(epoch from '2026-06-27 16:55: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'), 46645, 'SRID=4674;POINT (-39.245201 -3.206756)', '2026-06-27 16:55:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245069 -3.206661)'), GeomFromEWKT('SRID=4674;POINT (-39.245201 -3.206756)'))) / (select extract(epoch from '2026-06-27 16:55:42'::timestamp) - extract(epoch from '2026-06-27 16:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245069 -3.206661)'), GeomFromEWKT('SRID=4674;POINT (-39.245201 -3.206756)'))) / (select extract(epoch from '2026-06-27 16:55:42'::timestamp) - extract(epoch from '2026-06-27 16:55: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'), 46645, 'SRID=4674;POINT (-39.245282 -3.206826)', '2026-06-27 16:55:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245201 -3.206756)'), GeomFromEWKT('SRID=4674;POINT (-39.245282 -3.206826)'))) / (select extract(epoch from '2026-06-27 16:55:47'::timestamp) - extract(epoch from '2026-06-27 16:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245201 -3.206756)'), GeomFromEWKT('SRID=4674;POINT (-39.245282 -3.206826)'))) / (select extract(epoch from '2026-06-27 16:55:47'::timestamp) - extract(epoch from '2026-06-27 16:55: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'), 46645, 'SRID=4674;POINT (-39.245404 -3.206913)', '2026-06-27 16:55:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245282 -3.206826)'), GeomFromEWKT('SRID=4674;POINT (-39.245404 -3.206913)'))) / (select extract(epoch from '2026-06-27 16:55:54'::timestamp) - extract(epoch from '2026-06-27 16:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245282 -3.206826)'), GeomFromEWKT('SRID=4674;POINT (-39.245404 -3.206913)'))) / (select extract(epoch from '2026-06-27 16:55:54'::timestamp) - extract(epoch from '2026-06-27 16:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.245498 -3.206979)', '2026-06-27 16:55:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245404 -3.206913)'), GeomFromEWKT('SRID=4674;POINT (-39.245498 -3.206979)'))) / (select extract(epoch from '2026-06-27 16:55:59'::timestamp) - extract(epoch from '2026-06-27 16:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245404 -3.206913)'), GeomFromEWKT('SRID=4674;POINT (-39.245498 -3.206979)'))) / (select extract(epoch from '2026-06-27 16:55:59'::timestamp) - extract(epoch from '2026-06-27 16:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.24558 -3.207041)', '2026-06-27 16:56:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245498 -3.206979)'), GeomFromEWKT('SRID=4674;POINT (-39.24558 -3.207041)'))) / (select extract(epoch from '2026-06-27 16:56:04'::timestamp) - extract(epoch from '2026-06-27 16:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245498 -3.206979)'), GeomFromEWKT('SRID=4674;POINT (-39.24558 -3.207041)'))) / (select extract(epoch from '2026-06-27 16:56:04'::timestamp) - extract(epoch from '2026-06-27 16:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.24569 -3.207142)', '2026-06-27 16:56:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24558 -3.207041)'), GeomFromEWKT('SRID=4674;POINT (-39.24569 -3.207142)'))) / (select extract(epoch from '2026-06-27 16:56:11'::timestamp) - extract(epoch from '2026-06-27 16:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24558 -3.207041)'), GeomFromEWKT('SRID=4674;POINT (-39.24569 -3.207142)'))) / (select extract(epoch from '2026-06-27 16:56:11'::timestamp) - extract(epoch from '2026-06-27 16:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.245798 -3.207236)', '2026-06-27 16:56:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24569 -3.207142)'), GeomFromEWKT('SRID=4674;POINT (-39.245798 -3.207236)'))) / (select extract(epoch from '2026-06-27 16:56:18'::timestamp) - extract(epoch from '2026-06-27 16:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24569 -3.207142)'), GeomFromEWKT('SRID=4674;POINT (-39.245798 -3.207236)'))) / (select extract(epoch from '2026-06-27 16:56:18'::timestamp) - extract(epoch from '2026-06-27 16:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.245894 -3.207301)', '2026-06-27 16:56:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245798 -3.207236)'), GeomFromEWKT('SRID=4674;POINT (-39.245894 -3.207301)'))) / (select extract(epoch from '2026-06-27 16:56:23'::timestamp) - extract(epoch from '2026-06-27 16:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245798 -3.207236)'), GeomFromEWKT('SRID=4674;POINT (-39.245894 -3.207301)'))) / (select extract(epoch from '2026-06-27 16:56:23'::timestamp) - extract(epoch from '2026-06-27 16:56: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'), 46645, 'SRID=4674;POINT (-39.245973 -3.207355)', '2026-06-27 16:56:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245894 -3.207301)'), GeomFromEWKT('SRID=4674;POINT (-39.245973 -3.207355)'))) / (select extract(epoch from '2026-06-27 16:56:28'::timestamp) - extract(epoch from '2026-06-27 16:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245894 -3.207301)'), GeomFromEWKT('SRID=4674;POINT (-39.245973 -3.207355)'))) / (select extract(epoch from '2026-06-27 16:56:28'::timestamp) - extract(epoch from '2026-06-27 16:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.246068 -3.207425)', '2026-06-27 16:56:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245973 -3.207355)'), GeomFromEWKT('SRID=4674;POINT (-39.246068 -3.207425)'))) / (select extract(epoch from '2026-06-27 16:56:34'::timestamp) - extract(epoch from '2026-06-27 16:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.245973 -3.207355)'), GeomFromEWKT('SRID=4674;POINT (-39.246068 -3.207425)'))) / (select extract(epoch from '2026-06-27 16:56:34'::timestamp) - extract(epoch from '2026-06-27 16:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.24616 -3.207495)', '2026-06-27 16:56:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246068 -3.207425)'), GeomFromEWKT('SRID=4674;POINT (-39.24616 -3.207495)'))) / (select extract(epoch from '2026-06-27 16:56:40'::timestamp) - extract(epoch from '2026-06-27 16:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246068 -3.207425)'), GeomFromEWKT('SRID=4674;POINT (-39.24616 -3.207495)'))) / (select extract(epoch from '2026-06-27 16:56:40'::timestamp) - extract(epoch from '2026-06-27 16:56: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'), 46645, 'SRID=4674;POINT (-39.246262 -3.207571)', '2026-06-27 16:56:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24616 -3.207495)'), GeomFromEWKT('SRID=4674;POINT (-39.246262 -3.207571)'))) / (select extract(epoch from '2026-06-27 16:56:47'::timestamp) - extract(epoch from '2026-06-27 16:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24616 -3.207495)'), GeomFromEWKT('SRID=4674;POINT (-39.246262 -3.207571)'))) / (select extract(epoch from '2026-06-27 16:56:47'::timestamp) - extract(epoch from '2026-06-27 16:56: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'), 46645, 'SRID=4674;POINT (-39.246382 -3.207656)', '2026-06-27 16:56:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246262 -3.207571)'), GeomFromEWKT('SRID=4674;POINT (-39.246382 -3.207656)'))) / (select extract(epoch from '2026-06-27 16:56:54'::timestamp) - extract(epoch from '2026-06-27 16:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246262 -3.207571)'), GeomFromEWKT('SRID=4674;POINT (-39.246382 -3.207656)'))) / (select extract(epoch from '2026-06-27 16:56:54'::timestamp) - extract(epoch from '2026-06-27 16:56:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.246457 -3.207707)', '2026-06-27 16:56:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246382 -3.207656)'), GeomFromEWKT('SRID=4674;POINT (-39.246457 -3.207707)'))) / (select extract(epoch from '2026-06-27 16:56:59'::timestamp) - extract(epoch from '2026-06-27 16:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246382 -3.207656)'), GeomFromEWKT('SRID=4674;POINT (-39.246457 -3.207707)'))) / (select extract(epoch from '2026-06-27 16:56:59'::timestamp) - extract(epoch from '2026-06-27 16:56:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.246554 -3.207766)', '2026-06-27 16:57:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246457 -3.207707)'), GeomFromEWKT('SRID=4674;POINT (-39.246554 -3.207766)'))) / (select extract(epoch from '2026-06-27 16:57:05'::timestamp) - extract(epoch from '2026-06-27 16:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246457 -3.207707)'), GeomFromEWKT('SRID=4674;POINT (-39.246554 -3.207766)'))) / (select extract(epoch from '2026-06-27 16:57:05'::timestamp) - extract(epoch from '2026-06-27 16:56: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'), 46645, 'SRID=4674;POINT (-39.246633 -3.207829)', '2026-06-27 16:57:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246554 -3.207766)'), GeomFromEWKT('SRID=4674;POINT (-39.246633 -3.207829)'))) / (select extract(epoch from '2026-06-27 16:57:10'::timestamp) - extract(epoch from '2026-06-27 16:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246554 -3.207766)'), GeomFromEWKT('SRID=4674;POINT (-39.246633 -3.207829)'))) / (select extract(epoch from '2026-06-27 16:57:10'::timestamp) - extract(epoch from '2026-06-27 16:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.246708 -3.20787)', '2026-06-27 16:57:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246633 -3.207829)'), GeomFromEWKT('SRID=4674;POINT (-39.246708 -3.20787)'))) / (select extract(epoch from '2026-06-27 16:57:14'::timestamp) - extract(epoch from '2026-06-27 16:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246633 -3.207829)'), GeomFromEWKT('SRID=4674;POINT (-39.246708 -3.20787)'))) / (select extract(epoch from '2026-06-27 16:57:14'::timestamp) - extract(epoch from '2026-06-27 16:57: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'), 46645, 'SRID=4674;POINT (-39.246791 -3.207925)', '2026-06-27 16:57:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246708 -3.20787)'), GeomFromEWKT('SRID=4674;POINT (-39.246791 -3.207925)'))) / (select extract(epoch from '2026-06-27 16:57:19'::timestamp) - extract(epoch from '2026-06-27 16:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246708 -3.20787)'), GeomFromEWKT('SRID=4674;POINT (-39.246791 -3.207925)'))) / (select extract(epoch from '2026-06-27 16:57:19'::timestamp) - extract(epoch from '2026-06-27 16:57: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'), 46645, 'SRID=4674;POINT (-39.246882 -3.207997)', '2026-06-27 16:57:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246791 -3.207925)'), GeomFromEWKT('SRID=4674;POINT (-39.246882 -3.207997)'))) / (select extract(epoch from '2026-06-27 16:57:25'::timestamp) - extract(epoch from '2026-06-27 16:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246791 -3.207925)'), GeomFromEWKT('SRID=4674;POINT (-39.246882 -3.207997)'))) / (select extract(epoch from '2026-06-27 16:57:25'::timestamp) - extract(epoch from '2026-06-27 16:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.246987 -3.208048)', '2026-06-27 16:57:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246882 -3.207997)'), GeomFromEWKT('SRID=4674;POINT (-39.246987 -3.208048)'))) / (select extract(epoch from '2026-06-27 16:57:30'::timestamp) - extract(epoch from '2026-06-27 16:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246882 -3.207997)'), GeomFromEWKT('SRID=4674;POINT (-39.246987 -3.208048)'))) / (select extract(epoch from '2026-06-27 16:57:30'::timestamp) - extract(epoch from '2026-06-27 16:57: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'), 46645, 'SRID=4674;POINT (-39.247018 -3.208065)', '2026-06-27 16:57:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246987 -3.208048)'), GeomFromEWKT('SRID=4674;POINT (-39.247018 -3.208065)'))) / (select extract(epoch from '2026-06-27 16:57:32'::timestamp) - extract(epoch from '2026-06-27 16:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.246987 -3.208048)'), GeomFromEWKT('SRID=4674;POINT (-39.247018 -3.208065)'))) / (select extract(epoch from '2026-06-27 16:57:32'::timestamp) - extract(epoch from '2026-06-27 16:57: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'), 46645, 'SRID=4674;POINT (-39.247072 -3.208093)', '2026-06-27 16:57:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247018 -3.208065)'), GeomFromEWKT('SRID=4674;POINT (-39.247072 -3.208093)'))) / (select extract(epoch from '2026-06-27 16:57:35'::timestamp) - extract(epoch from '2026-06-27 16:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247018 -3.208065)'), GeomFromEWKT('SRID=4674;POINT (-39.247072 -3.208093)'))) / (select extract(epoch from '2026-06-27 16:57:35'::timestamp) - extract(epoch from '2026-06-27 16:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.2472 -3.208187)', '2026-06-27 16:57:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247072 -3.208093)'), GeomFromEWKT('SRID=4674;POINT (-39.2472 -3.208187)'))) / (select extract(epoch from '2026-06-27 16:57:42'::timestamp) - extract(epoch from '2026-06-27 16:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247072 -3.208093)'), GeomFromEWKT('SRID=4674;POINT (-39.2472 -3.208187)'))) / (select extract(epoch from '2026-06-27 16:57:42'::timestamp) - extract(epoch from '2026-06-27 16:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.247288 -3.208256)', '2026-06-27 16:57:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.2472 -3.208187)'), GeomFromEWKT('SRID=4674;POINT (-39.247288 -3.208256)'))) / (select extract(epoch from '2026-06-27 16:57:47'::timestamp) - extract(epoch from '2026-06-27 16:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.2472 -3.208187)'), GeomFromEWKT('SRID=4674;POINT (-39.247288 -3.208256)'))) / (select extract(epoch from '2026-06-27 16:57:47'::timestamp) - extract(epoch from '2026-06-27 16:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.247383 -3.20834)', '2026-06-27 16:57:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247288 -3.208256)'), GeomFromEWKT('SRID=4674;POINT (-39.247383 -3.20834)'))) / (select extract(epoch from '2026-06-27 16:57:53'::timestamp) - extract(epoch from '2026-06-27 16:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247288 -3.208256)'), GeomFromEWKT('SRID=4674;POINT (-39.247383 -3.20834)'))) / (select extract(epoch from '2026-06-27 16:57:53'::timestamp) - extract(epoch from '2026-06-27 16:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.247461 -3.208406)', '2026-06-27 16:57:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247383 -3.20834)'), GeomFromEWKT('SRID=4674;POINT (-39.247461 -3.208406)'))) / (select extract(epoch from '2026-06-27 16:57:58'::timestamp) - extract(epoch from '2026-06-27 16:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247383 -3.20834)'), GeomFromEWKT('SRID=4674;POINT (-39.247461 -3.208406)'))) / (select extract(epoch from '2026-06-27 16:57:58'::timestamp) - extract(epoch from '2026-06-27 16:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.247561 -3.208482)', '2026-06-27 16:58:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247461 -3.208406)'), GeomFromEWKT('SRID=4674;POINT (-39.247561 -3.208482)'))) / (select extract(epoch from '2026-06-27 16:58:04'::timestamp) - extract(epoch from '2026-06-27 16:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247461 -3.208406)'), GeomFromEWKT('SRID=4674;POINT (-39.247561 -3.208482)'))) / (select extract(epoch from '2026-06-27 16:58:04'::timestamp) - extract(epoch from '2026-06-27 16:57: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'), 46645, 'SRID=4674;POINT (-39.24768 -3.20857)', '2026-06-27 16:58:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247561 -3.208482)'), GeomFromEWKT('SRID=4674;POINT (-39.24768 -3.20857)'))) / (select extract(epoch from '2026-06-27 16:58:11'::timestamp) - extract(epoch from '2026-06-27 16:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247561 -3.208482)'), GeomFromEWKT('SRID=4674;POINT (-39.24768 -3.20857)'))) / (select extract(epoch from '2026-06-27 16:58:11'::timestamp) - extract(epoch from '2026-06-27 16: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'), 46645, 'SRID=4674;POINT (-39.247791 -3.208619)', '2026-06-27 16:58:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24768 -3.20857)'), GeomFromEWKT('SRID=4674;POINT (-39.247791 -3.208619)'))) / (select extract(epoch from '2026-06-27 16:58:17'::timestamp) - extract(epoch from '2026-06-27 16:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24768 -3.20857)'), GeomFromEWKT('SRID=4674;POINT (-39.247791 -3.208619)'))) / (select extract(epoch from '2026-06-27 16:58:17'::timestamp) - extract(epoch from '2026-06-27 16:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.247873 -3.208652)', '2026-06-27 16:58:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247791 -3.208619)'), GeomFromEWKT('SRID=4674;POINT (-39.247873 -3.208652)'))) / (select extract(epoch from '2026-06-27 16:58:22'::timestamp) - extract(epoch from '2026-06-27 16:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247791 -3.208619)'), GeomFromEWKT('SRID=4674;POINT (-39.247873 -3.208652)'))) / (select extract(epoch from '2026-06-27 16:58:22'::timestamp) - extract(epoch from '2026-06-27 16:58: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'), 46645, 'SRID=4674;POINT (-39.247951 -3.208721)', '2026-06-27 16:58:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247873 -3.208652)'), GeomFromEWKT('SRID=4674;POINT (-39.247951 -3.208721)'))) / (select extract(epoch from '2026-06-27 16:58:27'::timestamp) - extract(epoch from '2026-06-27 16:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247873 -3.208652)'), GeomFromEWKT('SRID=4674;POINT (-39.247951 -3.208721)'))) / (select extract(epoch from '2026-06-27 16:58:27'::timestamp) - extract(epoch from '2026-06-27 16:58: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'), 46645, 'SRID=4674;POINT (-39.248037 -3.2088)', '2026-06-27 16:58:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247951 -3.208721)'), GeomFromEWKT('SRID=4674;POINT (-39.248037 -3.2088)'))) / (select extract(epoch from '2026-06-27 16:58:33'::timestamp) - extract(epoch from '2026-06-27 16:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.247951 -3.208721)'), GeomFromEWKT('SRID=4674;POINT (-39.248037 -3.2088)'))) / (select extract(epoch from '2026-06-27 16:58:33'::timestamp) - extract(epoch from '2026-06-27 16:58: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'), 46645, 'SRID=4674;POINT (-39.248123 -3.208887)', '2026-06-27 16:58:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248037 -3.2088)'), GeomFromEWKT('SRID=4674;POINT (-39.248123 -3.208887)'))) / (select extract(epoch from '2026-06-27 16:58:38'::timestamp) - extract(epoch from '2026-06-27 16:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248037 -3.2088)'), GeomFromEWKT('SRID=4674;POINT (-39.248123 -3.208887)'))) / (select extract(epoch from '2026-06-27 16:58:38'::timestamp) - extract(epoch from '2026-06-27 16:58: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'), 46645, 'SRID=4674;POINT (-39.24821 -3.208976)', '2026-06-27 16:58:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248123 -3.208887)'), GeomFromEWKT('SRID=4674;POINT (-39.24821 -3.208976)'))) / (select extract(epoch from '2026-06-27 16:58:44'::timestamp) - extract(epoch from '2026-06-27 16:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248123 -3.208887)'), GeomFromEWKT('SRID=4674;POINT (-39.24821 -3.208976)'))) / (select extract(epoch from '2026-06-27 16:58:44'::timestamp) - extract(epoch from '2026-06-27 16:58: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'), 46645, 'SRID=4674;POINT (-39.248279 -3.209052)', '2026-06-27 16:58:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24821 -3.208976)'), GeomFromEWKT('SRID=4674;POINT (-39.248279 -3.209052)'))) / (select extract(epoch from '2026-06-27 16:58:49'::timestamp) - extract(epoch from '2026-06-27 16:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24821 -3.208976)'), GeomFromEWKT('SRID=4674;POINT (-39.248279 -3.209052)'))) / (select extract(epoch from '2026-06-27 16:58:49'::timestamp) - extract(epoch from '2026-06-27 16:58: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'), 46645, 'SRID=4674;POINT (-39.248353 -3.209125)', '2026-06-27 16:58:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248279 -3.209052)'), GeomFromEWKT('SRID=4674;POINT (-39.248353 -3.209125)'))) / (select extract(epoch from '2026-06-27 16:58:54'::timestamp) - extract(epoch from '2026-06-27 16:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248279 -3.209052)'), GeomFromEWKT('SRID=4674;POINT (-39.248353 -3.209125)'))) / (select extract(epoch from '2026-06-27 16:58:54'::timestamp) - extract(epoch from '2026-06-27 16:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.248437 -3.209218)', '2026-06-27 16:59:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248353 -3.209125)'), GeomFromEWKT('SRID=4674;POINT (-39.248437 -3.209218)'))) / (select extract(epoch from '2026-06-27 16:59:00'::timestamp) - extract(epoch from '2026-06-27 16:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248353 -3.209125)'), GeomFromEWKT('SRID=4674;POINT (-39.248437 -3.209218)'))) / (select extract(epoch from '2026-06-27 16:59:00'::timestamp) - extract(epoch from '2026-06-27 16:58: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'), 46645, 'SRID=4674;POINT (-39.248512 -3.209287)', '2026-06-27 16:59:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248437 -3.209218)'), GeomFromEWKT('SRID=4674;POINT (-39.248512 -3.209287)'))) / (select extract(epoch from '2026-06-27 16:59:05'::timestamp) - extract(epoch from '2026-06-27 16:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248437 -3.209218)'), GeomFromEWKT('SRID=4674;POINT (-39.248512 -3.209287)'))) / (select extract(epoch from '2026-06-27 16:59:05'::timestamp) - extract(epoch from '2026-06-27 16:59: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'), 46645, 'SRID=4674;POINT (-39.248613 -3.209366)', '2026-06-27 16:59:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248512 -3.209287)'), GeomFromEWKT('SRID=4674;POINT (-39.248613 -3.209366)'))) / (select extract(epoch from '2026-06-27 16:59:11'::timestamp) - extract(epoch from '2026-06-27 16:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248512 -3.209287)'), GeomFromEWKT('SRID=4674;POINT (-39.248613 -3.209366)'))) / (select extract(epoch from '2026-06-27 16:59:11'::timestamp) - extract(epoch from '2026-06-27 16:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.248692 -3.209435)', '2026-06-27 16:59:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248613 -3.209366)'), GeomFromEWKT('SRID=4674;POINT (-39.248692 -3.209435)'))) / (select extract(epoch from '2026-06-27 16:59:16'::timestamp) - extract(epoch from '2026-06-27 16:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248613 -3.209366)'), GeomFromEWKT('SRID=4674;POINT (-39.248692 -3.209435)'))) / (select extract(epoch from '2026-06-27 16:59:16'::timestamp) - extract(epoch from '2026-06-27 16:59: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'), 46645, 'SRID=4674;POINT (-39.248763 -3.209495)', '2026-06-27 16:59:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248692 -3.209435)'), GeomFromEWKT('SRID=4674;POINT (-39.248763 -3.209495)'))) / (select extract(epoch from '2026-06-27 16:59:21'::timestamp) - extract(epoch from '2026-06-27 16:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248692 -3.209435)'), GeomFromEWKT('SRID=4674;POINT (-39.248763 -3.209495)'))) / (select extract(epoch from '2026-06-27 16:59:21'::timestamp) - extract(epoch from '2026-06-27 16:59: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'), 46645, 'SRID=4674;POINT (-39.248846 -3.209568)', '2026-06-27 16:59:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248763 -3.209495)'), GeomFromEWKT('SRID=4674;POINT (-39.248846 -3.209568)'))) / (select extract(epoch from '2026-06-27 16:59:26'::timestamp) - extract(epoch from '2026-06-27 16:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248763 -3.209495)'), GeomFromEWKT('SRID=4674;POINT (-39.248846 -3.209568)'))) / (select extract(epoch from '2026-06-27 16:59:26'::timestamp) - extract(epoch from '2026-06-27 16:59: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'), 46645, 'SRID=4674;POINT (-39.248943 -3.209658)', '2026-06-27 16:59:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248846 -3.209568)'), GeomFromEWKT('SRID=4674;POINT (-39.248943 -3.209658)'))) / (select extract(epoch from '2026-06-27 16:59:33'::timestamp) - extract(epoch from '2026-06-27 16:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248846 -3.209568)'), GeomFromEWKT('SRID=4674;POINT (-39.248943 -3.209658)'))) / (select extract(epoch from '2026-06-27 16:59:33'::timestamp) - extract(epoch from '2026-06-27 16: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'), 46645, 'SRID=4674;POINT (-39.249037 -3.209736)', '2026-06-27 16:59:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248943 -3.209658)'), GeomFromEWKT('SRID=4674;POINT (-39.249037 -3.209736)'))) / (select extract(epoch from '2026-06-27 16:59:39'::timestamp) - extract(epoch from '2026-06-27 16:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.248943 -3.209658)'), GeomFromEWKT('SRID=4674;POINT (-39.249037 -3.209736)'))) / (select extract(epoch from '2026-06-27 16:59:39'::timestamp) - extract(epoch from '2026-06-27 16:59:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.249117 -3.209795)', '2026-06-27 16:59:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249037 -3.209736)'), GeomFromEWKT('SRID=4674;POINT (-39.249117 -3.209795)'))) / (select extract(epoch from '2026-06-27 16:59:44'::timestamp) - extract(epoch from '2026-06-27 16:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249037 -3.209736)'), GeomFromEWKT('SRID=4674;POINT (-39.249117 -3.209795)'))) / (select extract(epoch from '2026-06-27 16:59:44'::timestamp) - extract(epoch from '2026-06-27 16:59: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'), 46645, 'SRID=4674;POINT (-39.249214 -3.209903)', '2026-06-27 16:59:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249117 -3.209795)'), GeomFromEWKT('SRID=4674;POINT (-39.249214 -3.209903)'))) / (select extract(epoch from '2026-06-27 16:59:51'::timestamp) - extract(epoch from '2026-06-27 16:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249117 -3.209795)'), GeomFromEWKT('SRID=4674;POINT (-39.249214 -3.209903)'))) / (select extract(epoch from '2026-06-27 16:59:51'::timestamp) - extract(epoch from '2026-06-27 16:59: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'), 46645, 'SRID=4674;POINT (-39.249287 -3.209963)', '2026-06-27 16:59:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249214 -3.209903)'), GeomFromEWKT('SRID=4674;POINT (-39.249287 -3.209963)'))) / (select extract(epoch from '2026-06-27 16:59:56'::timestamp) - extract(epoch from '2026-06-27 16:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249214 -3.209903)'), GeomFromEWKT('SRID=4674;POINT (-39.249287 -3.209963)'))) / (select extract(epoch from '2026-06-27 16:59:56'::timestamp) - extract(epoch from '2026-06-27 16:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.249366 -3.210047)', '2026-06-27 17:00:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249287 -3.209963)'), GeomFromEWKT('SRID=4674;POINT (-39.249366 -3.210047)'))) / (select extract(epoch from '2026-06-27 17:00:02'::timestamp) - extract(epoch from '2026-06-27 16:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249287 -3.209963)'), GeomFromEWKT('SRID=4674;POINT (-39.249366 -3.210047)'))) / (select extract(epoch from '2026-06-27 17:00:02'::timestamp) - extract(epoch from '2026-06-27 16:59: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'), 46645, 'SRID=4674;POINT (-39.24944 -3.210129)', '2026-06-27 17:00:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249366 -3.210047)'), GeomFromEWKT('SRID=4674;POINT (-39.24944 -3.210129)'))) / (select extract(epoch from '2026-06-27 17:00:08'::timestamp) - extract(epoch from '2026-06-27 17:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249366 -3.210047)'), GeomFromEWKT('SRID=4674;POINT (-39.24944 -3.210129)'))) / (select extract(epoch from '2026-06-27 17:00:08'::timestamp) - extract(epoch from '2026-06-27 17:00: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'), 46645, 'SRID=4674;POINT (-39.249516 -3.210192)', '2026-06-27 17:00:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24944 -3.210129)'), GeomFromEWKT('SRID=4674;POINT (-39.249516 -3.210192)'))) / (select extract(epoch from '2026-06-27 17:00:13'::timestamp) - extract(epoch from '2026-06-27 17:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24944 -3.210129)'), GeomFromEWKT('SRID=4674;POINT (-39.249516 -3.210192)'))) / (select extract(epoch from '2026-06-27 17:00:13'::timestamp) - extract(epoch from '2026-06-27 17:00: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'), 46645, 'SRID=4674;POINT (-39.249613 -3.210261)', '2026-06-27 17:00:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249516 -3.210192)'), GeomFromEWKT('SRID=4674;POINT (-39.249613 -3.210261)'))) / (select extract(epoch from '2026-06-27 17:00:19'::timestamp) - extract(epoch from '2026-06-27 17:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249516 -3.210192)'), GeomFromEWKT('SRID=4674;POINT (-39.249613 -3.210261)'))) / (select extract(epoch from '2026-06-27 17:00:19'::timestamp) - extract(epoch from '2026-06-27 17:00: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'), 46645, 'SRID=4674;POINT (-39.249708 -3.210332)', '2026-06-27 17:00:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249613 -3.210261)'), GeomFromEWKT('SRID=4674;POINT (-39.249708 -3.210332)'))) / (select extract(epoch from '2026-06-27 17:00:25'::timestamp) - extract(epoch from '2026-06-27 17:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249613 -3.210261)'), GeomFromEWKT('SRID=4674;POINT (-39.249708 -3.210332)'))) / (select extract(epoch from '2026-06-27 17:00:25'::timestamp) - extract(epoch from '2026-06-27 17:00: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'), 46645, 'SRID=4674;POINT (-39.249808 -3.210434)', '2026-06-27 17:00:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249708 -3.210332)'), GeomFromEWKT('SRID=4674;POINT (-39.249808 -3.210434)'))) / (select extract(epoch from '2026-06-27 17:00:32'::timestamp) - extract(epoch from '2026-06-27 17:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249708 -3.210332)'), GeomFromEWKT('SRID=4674;POINT (-39.249808 -3.210434)'))) / (select extract(epoch from '2026-06-27 17:00:32'::timestamp) - extract(epoch from '2026-06-27 17: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'), 46645, 'SRID=4674;POINT (-39.249893 -3.210511)', '2026-06-27 17:00:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249808 -3.210434)'), GeomFromEWKT('SRID=4674;POINT (-39.249893 -3.210511)'))) / (select extract(epoch from '2026-06-27 17:00:38'::timestamp) - extract(epoch from '2026-06-27 17:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249808 -3.210434)'), GeomFromEWKT('SRID=4674;POINT (-39.249893 -3.210511)'))) / (select extract(epoch from '2026-06-27 17:00:38'::timestamp) - extract(epoch from '2026-06-27 17:00: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'), 46645, 'SRID=4674;POINT (-39.24996 -3.210565)', '2026-06-27 17:00:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249893 -3.210511)'), GeomFromEWKT('SRID=4674;POINT (-39.24996 -3.210565)'))) / (select extract(epoch from '2026-06-27 17:00:42'::timestamp) - extract(epoch from '2026-06-27 17:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.249893 -3.210511)'), GeomFromEWKT('SRID=4674;POINT (-39.24996 -3.210565)'))) / (select extract(epoch from '2026-06-27 17:00:42'::timestamp) - extract(epoch from '2026-06-27 17:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.250052 -3.210625)', '2026-06-27 17:00:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24996 -3.210565)'), GeomFromEWKT('SRID=4674;POINT (-39.250052 -3.210625)'))) / (select extract(epoch from '2026-06-27 17:00:48'::timestamp) - extract(epoch from '2026-06-27 17:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.24996 -3.210565)'), GeomFromEWKT('SRID=4674;POINT (-39.250052 -3.210625)'))) / (select extract(epoch from '2026-06-27 17:00:48'::timestamp) - extract(epoch from '2026-06-27 17:00: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'), 46645, 'SRID=4674;POINT (-39.25016 -3.2107)', '2026-06-27 17:00:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250052 -3.210625)'), GeomFromEWKT('SRID=4674;POINT (-39.25016 -3.2107)'))) / (select extract(epoch from '2026-06-27 17:00:55'::timestamp) - extract(epoch from '2026-06-27 17:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250052 -3.210625)'), GeomFromEWKT('SRID=4674;POINT (-39.25016 -3.2107)'))) / (select extract(epoch from '2026-06-27 17:00:55'::timestamp) - extract(epoch from '2026-06-27 17:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.250245 -3.210771)', '2026-06-27 17:01:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.25016 -3.2107)'), GeomFromEWKT('SRID=4674;POINT (-39.250245 -3.210771)'))) / (select extract(epoch from '2026-06-27 17:01:01'::timestamp) - extract(epoch from '2026-06-27 17:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.25016 -3.2107)'), GeomFromEWKT('SRID=4674;POINT (-39.250245 -3.210771)'))) / (select extract(epoch from '2026-06-27 17:01:01'::timestamp) - extract(epoch from '2026-06-27 17:00: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'), 46645, 'SRID=4674;POINT (-39.250361 -3.210855)', '2026-06-27 17:01:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250245 -3.210771)'), GeomFromEWKT('SRID=4674;POINT (-39.250361 -3.210855)'))) / (select extract(epoch from '2026-06-27 17:01:08'::timestamp) - extract(epoch from '2026-06-27 17:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250245 -3.210771)'), GeomFromEWKT('SRID=4674;POINT (-39.250361 -3.210855)'))) / (select extract(epoch from '2026-06-27 17:01:08'::timestamp) - extract(epoch from '2026-06-27 17:01: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'), 46645, 'SRID=4674;POINT (-39.250487 -3.210947)', '2026-06-27 17:01:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250361 -3.210855)'), GeomFromEWKT('SRID=4674;POINT (-39.250487 -3.210947)'))) / (select extract(epoch from '2026-06-27 17:01:16'::timestamp) - extract(epoch from '2026-06-27 17:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250361 -3.210855)'), GeomFromEWKT('SRID=4674;POINT (-39.250487 -3.210947)'))) / (select extract(epoch from '2026-06-27 17:01:16'::timestamp) - extract(epoch from '2026-06-27 17:01: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'), 46645, 'SRID=4674;POINT (-39.250586 -3.211024)', '2026-06-27 17:01:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250487 -3.210947)'), GeomFromEWKT('SRID=4674;POINT (-39.250586 -3.211024)'))) / (select extract(epoch from '2026-06-27 17:01:22'::timestamp) - extract(epoch from '2026-06-27 17:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250487 -3.210947)'), GeomFromEWKT('SRID=4674;POINT (-39.250586 -3.211024)'))) / (select extract(epoch from '2026-06-27 17:01:22'::timestamp) - extract(epoch from '2026-06-27 17:01: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'), 46645, 'SRID=4674;POINT (-39.250675 -3.211096)', '2026-06-27 17:01:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250586 -3.211024)'), GeomFromEWKT('SRID=4674;POINT (-39.250675 -3.211096)'))) / (select extract(epoch from '2026-06-27 17:01:28'::timestamp) - extract(epoch from '2026-06-27 17:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250586 -3.211024)'), GeomFromEWKT('SRID=4674;POINT (-39.250675 -3.211096)'))) / (select extract(epoch from '2026-06-27 17:01:28'::timestamp) - extract(epoch from '2026-06-27 17:01: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'), 46645, 'SRID=4674;POINT (-39.250774 -3.21118)', '2026-06-27 17:01:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250675 -3.211096)'), GeomFromEWKT('SRID=4674;POINT (-39.250774 -3.21118)'))) / (select extract(epoch from '2026-06-27 17:01:34'::timestamp) - extract(epoch from '2026-06-27 17:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250675 -3.211096)'), GeomFromEWKT('SRID=4674;POINT (-39.250774 -3.21118)'))) / (select extract(epoch from '2026-06-27 17:01:34'::timestamp) - extract(epoch from '2026-06-27 17:01: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'), 46645, 'SRID=4674;POINT (-39.250907 -3.211282)', '2026-06-27 17:01:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250774 -3.21118)'), GeomFromEWKT('SRID=4674;POINT (-39.250907 -3.211282)'))) / (select extract(epoch from '2026-06-27 17:01:42'::timestamp) - extract(epoch from '2026-06-27 17:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250774 -3.21118)'), GeomFromEWKT('SRID=4674;POINT (-39.250907 -3.211282)'))) / (select extract(epoch from '2026-06-27 17:01:42'::timestamp) - extract(epoch from '2026-06-27 17:01: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'), 46645, 'SRID=4674;POINT (-39.251025 -3.211362)', '2026-06-27 17:01:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250907 -3.211282)'), GeomFromEWKT('SRID=4674;POINT (-39.251025 -3.211362)'))) / (select extract(epoch from '2026-06-27 17:01:49'::timestamp) - extract(epoch from '2026-06-27 17:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.250907 -3.211282)'), GeomFromEWKT('SRID=4674;POINT (-39.251025 -3.211362)'))) / (select extract(epoch from '2026-06-27 17:01:49'::timestamp) - extract(epoch from '2026-06-27 17:01: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'), 46645, 'SRID=4674;POINT (-39.251156 -3.211444)', '2026-06-27 17:01:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251025 -3.211362)'), GeomFromEWKT('SRID=4674;POINT (-39.251156 -3.211444)'))) / (select extract(epoch from '2026-06-27 17:01:57'::timestamp) - extract(epoch from '2026-06-27 17:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251025 -3.211362)'), GeomFromEWKT('SRID=4674;POINT (-39.251156 -3.211444)'))) / (select extract(epoch from '2026-06-27 17:01:57'::timestamp) - extract(epoch from '2026-06-27 17:01: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'), 46645, 'SRID=4674;POINT (-39.251246 -3.211491)', '2026-06-27 17:02:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251156 -3.211444)'), GeomFromEWKT('SRID=4674;POINT (-39.251246 -3.211491)'))) / (select extract(epoch from '2026-06-27 17:02:02'::timestamp) - extract(epoch from '2026-06-27 17:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251156 -3.211444)'), GeomFromEWKT('SRID=4674;POINT (-39.251246 -3.211491)'))) / (select extract(epoch from '2026-06-27 17:02:02'::timestamp) - extract(epoch from '2026-06-27 17: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'), 46645, 'SRID=4674;POINT (-39.251366 -3.211544)', '2026-06-27 17:02:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251246 -3.211491)'), GeomFromEWKT('SRID=4674;POINT (-39.251366 -3.211544)'))) / (select extract(epoch from '2026-06-27 17:02:09'::timestamp) - extract(epoch from '2026-06-27 17:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251246 -3.211491)'), GeomFromEWKT('SRID=4674;POINT (-39.251366 -3.211544)'))) / (select extract(epoch from '2026-06-27 17:02:09'::timestamp) - extract(epoch from '2026-06-27 17:02: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'), 46645, 'SRID=4674;POINT (-39.251463 -3.211609)', '2026-06-27 17:02:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251366 -3.211544)'), GeomFromEWKT('SRID=4674;POINT (-39.251463 -3.211609)'))) / (select extract(epoch from '2026-06-27 17:02:15'::timestamp) - extract(epoch from '2026-06-27 17:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251366 -3.211544)'), GeomFromEWKT('SRID=4674;POINT (-39.251463 -3.211609)'))) / (select extract(epoch from '2026-06-27 17:02:15'::timestamp) - extract(epoch from '2026-06-27 17:02:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.251557 -3.211675)', '2026-06-27 17:02:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251463 -3.211609)'), GeomFromEWKT('SRID=4674;POINT (-39.251557 -3.211675)'))) / (select extract(epoch from '2026-06-27 17:02:21'::timestamp) - extract(epoch from '2026-06-27 17:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251463 -3.211609)'), GeomFromEWKT('SRID=4674;POINT (-39.251557 -3.211675)'))) / (select extract(epoch from '2026-06-27 17:02:21'::timestamp) - extract(epoch from '2026-06-27 17:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.251662 -3.211726)', '2026-06-27 17:02:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251557 -3.211675)'), GeomFromEWKT('SRID=4674;POINT (-39.251662 -3.211726)'))) / (select extract(epoch from '2026-06-27 17:02:27'::timestamp) - extract(epoch from '2026-06-27 17:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251557 -3.211675)'), GeomFromEWKT('SRID=4674;POINT (-39.251662 -3.211726)'))) / (select extract(epoch from '2026-06-27 17:02:27'::timestamp) - extract(epoch from '2026-06-27 17:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.251801 -3.211827)', '2026-06-27 17:02:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251662 -3.211726)'), GeomFromEWKT('SRID=4674;POINT (-39.251801 -3.211827)'))) / (select extract(epoch from '2026-06-27 17:02:36'::timestamp) - extract(epoch from '2026-06-27 17:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251662 -3.211726)'), GeomFromEWKT('SRID=4674;POINT (-39.251801 -3.211827)'))) / (select extract(epoch from '2026-06-27 17:02:36'::timestamp) - extract(epoch from '2026-06-27 17:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.251889 -3.211891)', '2026-06-27 17:02:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251801 -3.211827)'), GeomFromEWKT('SRID=4674;POINT (-39.251889 -3.211891)'))) / (select extract(epoch from '2026-06-27 17:02:41'::timestamp) - extract(epoch from '2026-06-27 17:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251801 -3.211827)'), GeomFromEWKT('SRID=4674;POINT (-39.251889 -3.211891)'))) / (select extract(epoch from '2026-06-27 17:02:41'::timestamp) - extract(epoch from '2026-06-27 17:02: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'), 46645, 'SRID=4674;POINT (-39.251981 -3.211971)', '2026-06-27 17:02:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251889 -3.211891)'), GeomFromEWKT('SRID=4674;POINT (-39.251981 -3.211971)'))) / (select extract(epoch from '2026-06-27 17:02:47'::timestamp) - extract(epoch from '2026-06-27 17:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251889 -3.211891)'), GeomFromEWKT('SRID=4674;POINT (-39.251981 -3.211971)'))) / (select extract(epoch from '2026-06-27 17:02:47'::timestamp) - extract(epoch from '2026-06-27 17: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'), 46645, 'SRID=4674;POINT (-39.252086 -3.212037)', '2026-06-27 17:02:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251981 -3.211971)'), GeomFromEWKT('SRID=4674;POINT (-39.252086 -3.212037)'))) / (select extract(epoch from '2026-06-27 17:02:53'::timestamp) - extract(epoch from '2026-06-27 17:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.251981 -3.211971)'), GeomFromEWKT('SRID=4674;POINT (-39.252086 -3.212037)'))) / (select extract(epoch from '2026-06-27 17:02:53'::timestamp) - extract(epoch from '2026-06-27 17:02: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'), 46645, 'SRID=4674;POINT (-39.252209 -3.212141)', '2026-06-27 17:03:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252086 -3.212037)'), GeomFromEWKT('SRID=4674;POINT (-39.252209 -3.212141)'))) / (select extract(epoch from '2026-06-27 17:03:00'::timestamp) - extract(epoch from '2026-06-27 17:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252086 -3.212037)'), GeomFromEWKT('SRID=4674;POINT (-39.252209 -3.212141)'))) / (select extract(epoch from '2026-06-27 17:03:00'::timestamp) - extract(epoch from '2026-06-27 17:02: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'), 46645, 'SRID=4674;POINT (-39.25233 -3.212231)', '2026-06-27 17:03:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252209 -3.212141)'), GeomFromEWKT('SRID=4674;POINT (-39.25233 -3.212231)'))) / (select extract(epoch from '2026-06-27 17:03:07'::timestamp) - extract(epoch from '2026-06-27 17:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252209 -3.212141)'), GeomFromEWKT('SRID=4674;POINT (-39.25233 -3.212231)'))) / (select extract(epoch from '2026-06-27 17:03:07'::timestamp) - extract(epoch from '2026-06-27 17:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.252435 -3.212319)', '2026-06-27 17:03:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.25233 -3.212231)'), GeomFromEWKT('SRID=4674;POINT (-39.252435 -3.212319)'))) / (select extract(epoch from '2026-06-27 17:03:14'::timestamp) - extract(epoch from '2026-06-27 17:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.25233 -3.212231)'), GeomFromEWKT('SRID=4674;POINT (-39.252435 -3.212319)'))) / (select extract(epoch from '2026-06-27 17:03:14'::timestamp) - extract(epoch from '2026-06-27 17:03: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'), 46645, 'SRID=4674;POINT (-39.25254 -3.212396)', '2026-06-27 17:03:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252435 -3.212319)'), GeomFromEWKT('SRID=4674;POINT (-39.25254 -3.212396)'))) / (select extract(epoch from '2026-06-27 17:03:20'::timestamp) - extract(epoch from '2026-06-27 17:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252435 -3.212319)'), GeomFromEWKT('SRID=4674;POINT (-39.25254 -3.212396)'))) / (select extract(epoch from '2026-06-27 17:03:20'::timestamp) - extract(epoch from '2026-06-27 17:03: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'), 46645, 'SRID=4674;POINT (-39.252649 -3.21245)', '2026-06-27 17:03:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.25254 -3.212396)'), GeomFromEWKT('SRID=4674;POINT (-39.252649 -3.21245)'))) / (select extract(epoch from '2026-06-27 17:03:27'::timestamp) - extract(epoch from '2026-06-27 17:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.25254 -3.212396)'), GeomFromEWKT('SRID=4674;POINT (-39.252649 -3.21245)'))) / (select extract(epoch from '2026-06-27 17:03:27'::timestamp) - extract(epoch from '2026-06-27 17:03:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.252736 -3.212493)', '2026-06-27 17:03:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252649 -3.21245)'), GeomFromEWKT('SRID=4674;POINT (-39.252736 -3.212493)'))) / (select extract(epoch from '2026-06-27 17:03:32'::timestamp) - extract(epoch from '2026-06-27 17:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252649 -3.21245)'), GeomFromEWKT('SRID=4674;POINT (-39.252736 -3.212493)'))) / (select extract(epoch from '2026-06-27 17:03:32'::timestamp) - extract(epoch from '2026-06-27 17:03: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'), 46645, 'SRID=4674;POINT (-39.252823 -3.212549)', '2026-06-27 17:03:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252736 -3.212493)'), GeomFromEWKT('SRID=4674;POINT (-39.252823 -3.212549)'))) / (select extract(epoch from '2026-06-27 17:03:38'::timestamp) - extract(epoch from '2026-06-27 17:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252736 -3.212493)'), GeomFromEWKT('SRID=4674;POINT (-39.252823 -3.212549)'))) / (select extract(epoch from '2026-06-27 17:03:38'::timestamp) - extract(epoch from '2026-06-27 17:03: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'), 46645, 'SRID=4674;POINT (-39.252925 -3.212598)', '2026-06-27 17:03:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252823 -3.212549)'), GeomFromEWKT('SRID=4674;POINT (-39.252925 -3.212598)'))) / (select extract(epoch from '2026-06-27 17:03:44'::timestamp) - extract(epoch from '2026-06-27 17:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252823 -3.212549)'), GeomFromEWKT('SRID=4674;POINT (-39.252925 -3.212598)'))) / (select extract(epoch from '2026-06-27 17:03:44'::timestamp) - extract(epoch from '2026-06-27 17:03: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'), 46645, 'SRID=4674;POINT (-39.253015 -3.212668)', '2026-06-27 17:03:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252925 -3.212598)'), GeomFromEWKT('SRID=4674;POINT (-39.253015 -3.212668)'))) / (select extract(epoch from '2026-06-27 17:03:50'::timestamp) - extract(epoch from '2026-06-27 17:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.252925 -3.212598)'), GeomFromEWKT('SRID=4674;POINT (-39.253015 -3.212668)'))) / (select extract(epoch from '2026-06-27 17:03:50'::timestamp) - extract(epoch from '2026-06-27 17: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'), 46645, 'SRID=4674;POINT (-39.253104 -3.212737)', '2026-06-27 17:03:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253015 -3.212668)'), GeomFromEWKT('SRID=4674;POINT (-39.253104 -3.212737)'))) / (select extract(epoch from '2026-06-27 17:03:56'::timestamp) - extract(epoch from '2026-06-27 17:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253015 -3.212668)'), GeomFromEWKT('SRID=4674;POINT (-39.253104 -3.212737)'))) / (select extract(epoch from '2026-06-27 17:03:56'::timestamp) - extract(epoch from '2026-06-27 17:03: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'), 46645, 'SRID=4674;POINT (-39.253149 -3.212773)', '2026-06-27 17:03:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253104 -3.212737)'), GeomFromEWKT('SRID=4674;POINT (-39.253149 -3.212773)'))) / (select extract(epoch from '2026-06-27 17:03:59'::timestamp) - extract(epoch from '2026-06-27 17:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253104 -3.212737)'), GeomFromEWKT('SRID=4674;POINT (-39.253149 -3.212773)'))) / (select extract(epoch from '2026-06-27 17:03:59'::timestamp) - extract(epoch from '2026-06-27 17:03: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'), 46645, 'SRID=4674;POINT (-39.253179 -3.2128)', '2026-06-27 17:04:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253149 -3.212773)'), GeomFromEWKT('SRID=4674;POINT (-39.253179 -3.2128)'))) / (select extract(epoch from '2026-06-27 17:04:01'::timestamp) - extract(epoch from '2026-06-27 17:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253149 -3.212773)'), GeomFromEWKT('SRID=4674;POINT (-39.253179 -3.2128)'))) / (select extract(epoch from '2026-06-27 17:04:01'::timestamp) - extract(epoch from '2026-06-27 17:03: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'), 46645, 'SRID=4674;POINT (-39.253194 -3.212813)', '2026-06-27 17:04:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253179 -3.2128)'), GeomFromEWKT('SRID=4674;POINT (-39.253194 -3.212813)'))) / (select extract(epoch from '2026-06-27 17:04:02'::timestamp) - extract(epoch from '2026-06-27 17:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253179 -3.2128)'), GeomFromEWKT('SRID=4674;POINT (-39.253194 -3.212813)'))) / (select extract(epoch from '2026-06-27 17:04:02'::timestamp) - extract(epoch from '2026-06-27 17:04:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.253253 -3.21288)', '2026-06-27 17:04:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253194 -3.212813)'), GeomFromEWKT('SRID=4674;POINT (-39.253253 -3.21288)'))) / (select extract(epoch from '2026-06-27 17:04:06'::timestamp) - extract(epoch from '2026-06-27 17:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253194 -3.212813)'), GeomFromEWKT('SRID=4674;POINT (-39.253253 -3.21288)'))) / (select extract(epoch from '2026-06-27 17:04:06'::timestamp) - extract(epoch from '2026-06-27 17:04: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'), 46645, 'SRID=4674;POINT (-39.253354 -3.212975)', '2026-06-27 17:04:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253253 -3.21288)'), GeomFromEWKT('SRID=4674;POINT (-39.253354 -3.212975)'))) / (select extract(epoch from '2026-06-27 17:04:13'::timestamp) - extract(epoch from '2026-06-27 17:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253253 -3.21288)'), GeomFromEWKT('SRID=4674;POINT (-39.253354 -3.212975)'))) / (select extract(epoch from '2026-06-27 17:04:13'::timestamp) - extract(epoch from '2026-06-27 17:04: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'), 46645, 'SRID=4674;POINT (-39.253447 -3.213059)', '2026-06-27 17:04:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253354 -3.212975)'), GeomFromEWKT('SRID=4674;POINT (-39.253447 -3.213059)'))) / (select extract(epoch from '2026-06-27 17:04:19'::timestamp) - extract(epoch from '2026-06-27 17:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253354 -3.212975)'), GeomFromEWKT('SRID=4674;POINT (-39.253447 -3.213059)'))) / (select extract(epoch from '2026-06-27 17:04:19'::timestamp) - extract(epoch from '2026-06-27 17:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.253525 -3.213125)', '2026-06-27 17:04:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253447 -3.213059)'), GeomFromEWKT('SRID=4674;POINT (-39.253525 -3.213125)'))) / (select extract(epoch from '2026-06-27 17:04:24'::timestamp) - extract(epoch from '2026-06-27 17:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253447 -3.213059)'), GeomFromEWKT('SRID=4674;POINT (-39.253525 -3.213125)'))) / (select extract(epoch from '2026-06-27 17:04:24'::timestamp) - extract(epoch from '2026-06-27 17:04: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'), 46645, 'SRID=4674;POINT (-39.253609 -3.213204)', '2026-06-27 17:04:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253525 -3.213125)'), GeomFromEWKT('SRID=4674;POINT (-39.253609 -3.213204)'))) / (select extract(epoch from '2026-06-27 17:04:30'::timestamp) - extract(epoch from '2026-06-27 17:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253525 -3.213125)'), GeomFromEWKT('SRID=4674;POINT (-39.253609 -3.213204)'))) / (select extract(epoch from '2026-06-27 17:04:30'::timestamp) - extract(epoch from '2026-06-27 17:04: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'), 46645, 'SRID=4674;POINT (-39.253725 -3.213286)', '2026-06-27 17:04:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253609 -3.213204)'), GeomFromEWKT('SRID=4674;POINT (-39.253725 -3.213286)'))) / (select extract(epoch from '2026-06-27 17:04:37'::timestamp) - extract(epoch from '2026-06-27 17:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253609 -3.213204)'), GeomFromEWKT('SRID=4674;POINT (-39.253725 -3.213286)'))) / (select extract(epoch from '2026-06-27 17:04:37'::timestamp) - extract(epoch from '2026-06-27 17:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.253858 -3.213406)', '2026-06-27 17:04:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253725 -3.213286)'), GeomFromEWKT('SRID=4674;POINT (-39.253858 -3.213406)'))) / (select extract(epoch from '2026-06-27 17:04:46'::timestamp) - extract(epoch from '2026-06-27 17:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253725 -3.213286)'), GeomFromEWKT('SRID=4674;POINT (-39.253858 -3.213406)'))) / (select extract(epoch from '2026-06-27 17:04:46'::timestamp) - extract(epoch from '2026-06-27 17:04: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'), 46645, 'SRID=4674;POINT (-39.253962 -3.213498)', '2026-06-27 17:04:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253858 -3.213406)'), GeomFromEWKT('SRID=4674;POINT (-39.253962 -3.213498)'))) / (select extract(epoch from '2026-06-27 17:04:53'::timestamp) - extract(epoch from '2026-06-27 17:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253858 -3.213406)'), GeomFromEWKT('SRID=4674;POINT (-39.253962 -3.213498)'))) / (select extract(epoch from '2026-06-27 17:04:53'::timestamp) - extract(epoch from '2026-06-27 17:04: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'), 46645, 'SRID=4674;POINT (-39.25409 -3.213581)', '2026-06-27 17:05:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253962 -3.213498)'), GeomFromEWKT('SRID=4674;POINT (-39.25409 -3.213581)'))) / (select extract(epoch from '2026-06-27 17:05:00'::timestamp) - extract(epoch from '2026-06-27 17:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.253962 -3.213498)'), GeomFromEWKT('SRID=4674;POINT (-39.25409 -3.213581)'))) / (select extract(epoch from '2026-06-27 17:05:00'::timestamp) - extract(epoch from '2026-06-27 17:04: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'), 46645, 'SRID=4674;POINT (-39.254213 -3.21363)', '2026-06-27 17:05:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.25409 -3.213581)'), GeomFromEWKT('SRID=4674;POINT (-39.254213 -3.21363)'))) / (select extract(epoch from '2026-06-27 17:05:06'::timestamp) - extract(epoch from '2026-06-27 17:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.25409 -3.213581)'), GeomFromEWKT('SRID=4674;POINT (-39.254213 -3.21363)'))) / (select extract(epoch from '2026-06-27 17:05:06'::timestamp) - extract(epoch from '2026-06-27 17:05: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'), 46645, 'SRID=4674;POINT (-39.254312 -3.213685)', '2026-06-27 17:05:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254213 -3.21363)'), GeomFromEWKT('SRID=4674;POINT (-39.254312 -3.213685)'))) / (select extract(epoch from '2026-06-27 17:05:12'::timestamp) - extract(epoch from '2026-06-27 17:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254213 -3.21363)'), GeomFromEWKT('SRID=4674;POINT (-39.254312 -3.213685)'))) / (select extract(epoch from '2026-06-27 17:05:12'::timestamp) - extract(epoch from '2026-06-27 17:05: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'), 46645, 'SRID=4674;POINT (-39.254454 -3.213752)', '2026-06-27 17:05:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254312 -3.213685)'), GeomFromEWKT('SRID=4674;POINT (-39.254454 -3.213752)'))) / (select extract(epoch from '2026-06-27 17:05:20'::timestamp) - extract(epoch from '2026-06-27 17:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254312 -3.213685)'), GeomFromEWKT('SRID=4674;POINT (-39.254454 -3.213752)'))) / (select extract(epoch from '2026-06-27 17:05:20'::timestamp) - extract(epoch from '2026-06-27 17:05: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'), 46645, 'SRID=4674;POINT (-39.254552 -3.213789)', '2026-06-27 17:05:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254454 -3.213752)'), GeomFromEWKT('SRID=4674;POINT (-39.254552 -3.213789)'))) / (select extract(epoch from '2026-06-27 17:05:25'::timestamp) - extract(epoch from '2026-06-27 17:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254454 -3.213752)'), GeomFromEWKT('SRID=4674;POINT (-39.254552 -3.213789)'))) / (select extract(epoch from '2026-06-27 17:05:25'::timestamp) - extract(epoch from '2026-06-27 17:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.25467 -3.213827)', '2026-06-27 17:05:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254552 -3.213789)'), GeomFromEWKT('SRID=4674;POINT (-39.25467 -3.213827)'))) / (select extract(epoch from '2026-06-27 17:05:31'::timestamp) - extract(epoch from '2026-06-27 17:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254552 -3.213789)'), GeomFromEWKT('SRID=4674;POINT (-39.25467 -3.213827)'))) / (select extract(epoch from '2026-06-27 17:05:31'::timestamp) - extract(epoch from '2026-06-27 17:05: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'), 46645, 'SRID=4674;POINT (-39.254787 -3.213865)', '2026-06-27 17:05:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.25467 -3.213827)'), GeomFromEWKT('SRID=4674;POINT (-39.254787 -3.213865)'))) / (select extract(epoch from '2026-06-27 17:05:37'::timestamp) - extract(epoch from '2026-06-27 17:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.25467 -3.213827)'), GeomFromEWKT('SRID=4674;POINT (-39.254787 -3.213865)'))) / (select extract(epoch from '2026-06-27 17:05:37'::timestamp) - extract(epoch from '2026-06-27 17:05: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'), 46645, 'SRID=4674;POINT (-39.254901 -3.213917)', '2026-06-27 17:05:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254787 -3.213865)'), GeomFromEWKT('SRID=4674;POINT (-39.254901 -3.213917)'))) / (select extract(epoch from '2026-06-27 17:05:43'::timestamp) - extract(epoch from '2026-06-27 17:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254787 -3.213865)'), GeomFromEWKT('SRID=4674;POINT (-39.254901 -3.213917)'))) / (select extract(epoch from '2026-06-27 17:05:43'::timestamp) - extract(epoch from '2026-06-27 17: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'), 46645, 'SRID=4674;POINT (-39.255024 -3.213954)', '2026-06-27 17:05:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254901 -3.213917)'), GeomFromEWKT('SRID=4674;POINT (-39.255024 -3.213954)'))) / (select extract(epoch from '2026-06-27 17:05:49'::timestamp) - extract(epoch from '2026-06-27 17:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.254901 -3.213917)'), GeomFromEWKT('SRID=4674;POINT (-39.255024 -3.213954)'))) / (select extract(epoch from '2026-06-27 17:05:49'::timestamp) - extract(epoch from '2026-06-27 17:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
