 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69059 -2.6692)', '2026-07-24 16:05:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690444 -2.66934)'), GeomFromEWKT('SRID=4674;POINT (-39.69059 -2.6692)'))) / (select extract(epoch from '2026-07-24 16:05:04'::timestamp) - extract(epoch from '2026-07-24 16:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690444 -2.66934)'), GeomFromEWKT('SRID=4674;POINT (-39.69059 -2.6692)'))) / (select extract(epoch from '2026-07-24 16:05:04'::timestamp) - extract(epoch from '2026-07-24 16:04: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'), 47870, 'SRID=4674;POINT (-39.690722 -2.669079)', '2026-07-24 16:05:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69059 -2.6692)'), GeomFromEWKT('SRID=4674;POINT (-39.690722 -2.669079)'))) / (select extract(epoch from '2026-07-24 16:05:10'::timestamp) - extract(epoch from '2026-07-24 16:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69059 -2.6692)'), GeomFromEWKT('SRID=4674;POINT (-39.690722 -2.669079)'))) / (select extract(epoch from '2026-07-24 16:05:10'::timestamp) - extract(epoch from '2026-07-24 16:05: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'), 47870, 'SRID=4674;POINT (-39.690878 -2.668957)', '2026-07-24 16:05:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690722 -2.669079)'), GeomFromEWKT('SRID=4674;POINT (-39.690878 -2.668957)'))) / (select extract(epoch from '2026-07-24 16:05:17'::timestamp) - extract(epoch from '2026-07-24 16:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690722 -2.669079)'), GeomFromEWKT('SRID=4674;POINT (-39.690878 -2.668957)'))) / (select extract(epoch from '2026-07-24 16:05:17'::timestamp) - extract(epoch from '2026-07-24 16:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.690973 -2.668847)', '2026-07-24 16:05:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690878 -2.668957)'), GeomFromEWKT('SRID=4674;POINT (-39.690973 -2.668847)'))) / (select extract(epoch from '2026-07-24 16:05:22'::timestamp) - extract(epoch from '2026-07-24 16:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690878 -2.668957)'), GeomFromEWKT('SRID=4674;POINT (-39.690973 -2.668847)'))) / (select extract(epoch from '2026-07-24 16:05:22'::timestamp) - extract(epoch from '2026-07-24 16:05: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'), 47870, 'SRID=4674;POINT (-39.691065 -2.668703)', '2026-07-24 16:05:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690973 -2.668847)'), GeomFromEWKT('SRID=4674;POINT (-39.691065 -2.668703)'))) / (select extract(epoch from '2026-07-24 16:05:28'::timestamp) - extract(epoch from '2026-07-24 16:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690973 -2.668847)'), GeomFromEWKT('SRID=4674;POINT (-39.691065 -2.668703)'))) / (select extract(epoch from '2026-07-24 16:05:28'::timestamp) - extract(epoch from '2026-07-24 16:05: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'), 47870, 'SRID=4674;POINT (-39.691152 -2.668585)', '2026-07-24 16:05:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691065 -2.668703)'), GeomFromEWKT('SRID=4674;POINT (-39.691152 -2.668585)'))) / (select extract(epoch from '2026-07-24 16:05:33'::timestamp) - extract(epoch from '2026-07-24 16:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691065 -2.668703)'), GeomFromEWKT('SRID=4674;POINT (-39.691152 -2.668585)'))) / (select extract(epoch from '2026-07-24 16:05:33'::timestamp) - extract(epoch from '2026-07-24 16:05: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'), 47870, 'SRID=4674;POINT (-39.691281 -2.668472)', '2026-07-24 16:05:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691152 -2.668585)'), GeomFromEWKT('SRID=4674;POINT (-39.691281 -2.668472)'))) / (select extract(epoch from '2026-07-24 16:05:39'::timestamp) - extract(epoch from '2026-07-24 16:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691152 -2.668585)'), GeomFromEWKT('SRID=4674;POINT (-39.691281 -2.668472)'))) / (select extract(epoch from '2026-07-24 16:05:39'::timestamp) - extract(epoch from '2026-07-24 16:05: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'), 47870, 'SRID=4674;POINT (-39.69143 -2.668386)', '2026-07-24 16:05:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691281 -2.668472)'), GeomFromEWKT('SRID=4674;POINT (-39.69143 -2.668386)'))) / (select extract(epoch from '2026-07-24 16:05:45'::timestamp) - extract(epoch from '2026-07-24 16:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691281 -2.668472)'), GeomFromEWKT('SRID=4674;POINT (-39.69143 -2.668386)'))) / (select extract(epoch from '2026-07-24 16:05:45'::timestamp) - extract(epoch from '2026-07-24 16:05: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'), 47870, 'SRID=4674;POINT (-39.691553 -2.668268)', '2026-07-24 16:05:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69143 -2.668386)'), GeomFromEWKT('SRID=4674;POINT (-39.691553 -2.668268)'))) / (select extract(epoch from '2026-07-24 16:05:51'::timestamp) - extract(epoch from '2026-07-24 16:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69143 -2.668386)'), GeomFromEWKT('SRID=4674;POINT (-39.691553 -2.668268)'))) / (select extract(epoch from '2026-07-24 16:05:51'::timestamp) - extract(epoch from '2026-07-24 16:05: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'), 47870, 'SRID=4674;POINT (-39.691681 -2.668114)', '2026-07-24 16:05:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691553 -2.668268)'), GeomFromEWKT('SRID=4674;POINT (-39.691681 -2.668114)'))) / (select extract(epoch from '2026-07-24 16:05:58'::timestamp) - extract(epoch from '2026-07-24 16:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691553 -2.668268)'), GeomFromEWKT('SRID=4674;POINT (-39.691681 -2.668114)'))) / (select extract(epoch from '2026-07-24 16:05:58'::timestamp) - extract(epoch from '2026-07-24 16:05: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'), 47870, 'SRID=4674;POINT (-39.691833 -2.667943)', '2026-07-24 16:06:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691681 -2.668114)'), GeomFromEWKT('SRID=4674;POINT (-39.691833 -2.667943)'))) / (select extract(epoch from '2026-07-24 16:06:06'::timestamp) - extract(epoch from '2026-07-24 16:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691681 -2.668114)'), GeomFromEWKT('SRID=4674;POINT (-39.691833 -2.667943)'))) / (select extract(epoch from '2026-07-24 16:06:06'::timestamp) - extract(epoch from '2026-07-24 16:05: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'), 47870, 'SRID=4674;POINT (-39.691986 -2.667799)', '2026-07-24 16:06:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691833 -2.667943)'), GeomFromEWKT('SRID=4674;POINT (-39.691986 -2.667799)'))) / (select extract(epoch from '2026-07-24 16:06:13'::timestamp) - extract(epoch from '2026-07-24 16:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691833 -2.667943)'), GeomFromEWKT('SRID=4674;POINT (-39.691986 -2.667799)'))) / (select extract(epoch from '2026-07-24 16:06:13'::timestamp) - extract(epoch from '2026-07-24 16:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692095 -2.667709)', '2026-07-24 16:06:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691986 -2.667799)'), GeomFromEWKT('SRID=4674;POINT (-39.692095 -2.667709)'))) / (select extract(epoch from '2026-07-24 16:06:18'::timestamp) - extract(epoch from '2026-07-24 16:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691986 -2.667799)'), GeomFromEWKT('SRID=4674;POINT (-39.692095 -2.667709)'))) / (select extract(epoch from '2026-07-24 16:06:18'::timestamp) - extract(epoch from '2026-07-24 16:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692239 -2.667607)', '2026-07-24 16:06:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692095 -2.667709)'), GeomFromEWKT('SRID=4674;POINT (-39.692239 -2.667607)'))) / (select extract(epoch from '2026-07-24 16:06:24'::timestamp) - extract(epoch from '2026-07-24 16:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692095 -2.667709)'), GeomFromEWKT('SRID=4674;POINT (-39.692239 -2.667607)'))) / (select extract(epoch from '2026-07-24 16:06:24'::timestamp) - extract(epoch from '2026-07-24 16:06: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'), 47870, 'SRID=4674;POINT (-39.692385 -2.66749)', '2026-07-24 16:06:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692239 -2.667607)'), GeomFromEWKT('SRID=4674;POINT (-39.692385 -2.66749)'))) / (select extract(epoch from '2026-07-24 16:06:30'::timestamp) - extract(epoch from '2026-07-24 16:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692239 -2.667607)'), GeomFromEWKT('SRID=4674;POINT (-39.692385 -2.66749)'))) / (select extract(epoch from '2026-07-24 16:06:30'::timestamp) - extract(epoch from '2026-07-24 16:06: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'), 47870, 'SRID=4674;POINT (-39.692514 -2.667372)', '2026-07-24 16:06:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692385 -2.66749)'), GeomFromEWKT('SRID=4674;POINT (-39.692514 -2.667372)'))) / (select extract(epoch from '2026-07-24 16:06:36'::timestamp) - extract(epoch from '2026-07-24 16:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692385 -2.66749)'), GeomFromEWKT('SRID=4674;POINT (-39.692514 -2.667372)'))) / (select extract(epoch from '2026-07-24 16:06:36'::timestamp) - extract(epoch from '2026-07-24 16:06: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'), 47870, 'SRID=4674;POINT (-39.692685 -2.66721)', '2026-07-24 16:06:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692514 -2.667372)'), GeomFromEWKT('SRID=4674;POINT (-39.692685 -2.66721)'))) / (select extract(epoch from '2026-07-24 16:06:44'::timestamp) - extract(epoch from '2026-07-24 16:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692514 -2.667372)'), GeomFromEWKT('SRID=4674;POINT (-39.692685 -2.66721)'))) / (select extract(epoch from '2026-07-24 16:06:44'::timestamp) - extract(epoch from '2026-07-24 16:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692798 -2.66711)', '2026-07-24 16:06:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692685 -2.66721)'), GeomFromEWKT('SRID=4674;POINT (-39.692798 -2.66711)'))) / (select extract(epoch from '2026-07-24 16:06:49'::timestamp) - extract(epoch from '2026-07-24 16:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692685 -2.66721)'), GeomFromEWKT('SRID=4674;POINT (-39.692798 -2.66711)'))) / (select extract(epoch from '2026-07-24 16:06:49'::timestamp) - extract(epoch from '2026-07-24 16:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692942 -2.667008)', '2026-07-24 16:06:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692798 -2.66711)'), GeomFromEWKT('SRID=4674;POINT (-39.692942 -2.667008)'))) / (select extract(epoch from '2026-07-24 16:06:55'::timestamp) - extract(epoch from '2026-07-24 16:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692798 -2.66711)'), GeomFromEWKT('SRID=4674;POINT (-39.692942 -2.667008)'))) / (select extract(epoch from '2026-07-24 16:06:55'::timestamp) - extract(epoch from '2026-07-24 16:06: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'), 47870, 'SRID=4674;POINT (-39.693086 -2.666903)', '2026-07-24 16:07:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692942 -2.667008)'), GeomFromEWKT('SRID=4674;POINT (-39.693086 -2.666903)'))) / (select extract(epoch from '2026-07-24 16:07:01'::timestamp) - extract(epoch from '2026-07-24 16:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692942 -2.667008)'), GeomFromEWKT('SRID=4674;POINT (-39.693086 -2.666903)'))) / (select extract(epoch from '2026-07-24 16:07:01'::timestamp) - extract(epoch from '2026-07-24 16:06:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.693211 -2.666785)', '2026-07-24 16:07:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693086 -2.666903)'), GeomFromEWKT('SRID=4674;POINT (-39.693211 -2.666785)'))) / (select extract(epoch from '2026-07-24 16:07:07'::timestamp) - extract(epoch from '2026-07-24 16:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693086 -2.666903)'), GeomFromEWKT('SRID=4674;POINT (-39.693211 -2.666785)'))) / (select extract(epoch from '2026-07-24 16:07:07'::timestamp) - extract(epoch from '2026-07-24 16:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.693332 -2.66666)', '2026-07-24 16:07:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693211 -2.666785)'), GeomFromEWKT('SRID=4674;POINT (-39.693332 -2.66666)'))) / (select extract(epoch from '2026-07-24 16:07:13'::timestamp) - extract(epoch from '2026-07-24 16:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693211 -2.666785)'), GeomFromEWKT('SRID=4674;POINT (-39.693332 -2.66666)'))) / (select extract(epoch from '2026-07-24 16:07:13'::timestamp) - extract(epoch from '2026-07-24 16:07: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'), 47870, 'SRID=4674;POINT (-39.693478 -2.666528)', '2026-07-24 16:07:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693332 -2.66666)'), GeomFromEWKT('SRID=4674;POINT (-39.693478 -2.666528)'))) / (select extract(epoch from '2026-07-24 16:07:20'::timestamp) - extract(epoch from '2026-07-24 16:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693332 -2.66666)'), GeomFromEWKT('SRID=4674;POINT (-39.693478 -2.666528)'))) / (select extract(epoch from '2026-07-24 16:07:20'::timestamp) - extract(epoch from '2026-07-24 16:07: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'), 47870, 'SRID=4674;POINT (-39.693611 -2.666408)', '2026-07-24 16:07:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693478 -2.666528)'), GeomFromEWKT('SRID=4674;POINT (-39.693611 -2.666408)'))) / (select extract(epoch from '2026-07-24 16:07:26'::timestamp) - extract(epoch from '2026-07-24 16:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693478 -2.666528)'), GeomFromEWKT('SRID=4674;POINT (-39.693611 -2.666408)'))) / (select extract(epoch from '2026-07-24 16:07:26'::timestamp) - extract(epoch from '2026-07-24 16:07: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'), 47870, 'SRID=4674;POINT (-39.693747 -2.666287)', '2026-07-24 16:07:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693611 -2.666408)'), GeomFromEWKT('SRID=4674;POINT (-39.693747 -2.666287)'))) / (select extract(epoch from '2026-07-24 16:07:32'::timestamp) - extract(epoch from '2026-07-24 16:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693611 -2.666408)'), GeomFromEWKT('SRID=4674;POINT (-39.693747 -2.666287)'))) / (select extract(epoch from '2026-07-24 16:07:32'::timestamp) - extract(epoch from '2026-07-24 16:07: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'), 47870, 'SRID=4674;POINT (-39.69387 -2.666189)', '2026-07-24 16:07:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693747 -2.666287)'), GeomFromEWKT('SRID=4674;POINT (-39.69387 -2.666189)'))) / (select extract(epoch from '2026-07-24 16:07:37'::timestamp) - extract(epoch from '2026-07-24 16:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693747 -2.666287)'), GeomFromEWKT('SRID=4674;POINT (-39.69387 -2.666189)'))) / (select extract(epoch from '2026-07-24 16:07:37'::timestamp) - extract(epoch from '2026-07-24 16:07: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'), 47870, 'SRID=4674;POINT (-39.693976 -2.666098)', '2026-07-24 16:07:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69387 -2.666189)'), GeomFromEWKT('SRID=4674;POINT (-39.693976 -2.666098)'))) / (select extract(epoch from '2026-07-24 16:07:42'::timestamp) - extract(epoch from '2026-07-24 16:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69387 -2.666189)'), GeomFromEWKT('SRID=4674;POINT (-39.693976 -2.666098)'))) / (select extract(epoch from '2026-07-24 16:07:42'::timestamp) - extract(epoch from '2026-07-24 16:07: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'), 47870, 'SRID=4674;POINT (-39.694054 -2.666025)', '2026-07-24 16:07:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693976 -2.666098)'), GeomFromEWKT('SRID=4674;POINT (-39.694054 -2.666025)'))) / (select extract(epoch from '2026-07-24 16:07:46'::timestamp) - extract(epoch from '2026-07-24 16:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693976 -2.666098)'), GeomFromEWKT('SRID=4674;POINT (-39.694054 -2.666025)'))) / (select extract(epoch from '2026-07-24 16:07:46'::timestamp) - extract(epoch from '2026-07-24 16:07: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'), 47870, 'SRID=4674;POINT (-39.694181 -2.665907)', '2026-07-24 16:07:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694054 -2.666025)'), GeomFromEWKT('SRID=4674;POINT (-39.694181 -2.665907)'))) / (select extract(epoch from '2026-07-24 16:07:52'::timestamp) - extract(epoch from '2026-07-24 16:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694054 -2.666025)'), GeomFromEWKT('SRID=4674;POINT (-39.694181 -2.665907)'))) / (select extract(epoch from '2026-07-24 16:07:52'::timestamp) - extract(epoch from '2026-07-24 16:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694273 -2.665843)', '2026-07-24 16:07:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694181 -2.665907)'), GeomFromEWKT('SRID=4674;POINT (-39.694273 -2.665843)'))) / (select extract(epoch from '2026-07-24 16:07:56'::timestamp) - extract(epoch from '2026-07-24 16:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694181 -2.665907)'), GeomFromEWKT('SRID=4674;POINT (-39.694273 -2.665843)'))) / (select extract(epoch from '2026-07-24 16:07:56'::timestamp) - extract(epoch from '2026-07-24 16:07: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'), 47870, 'SRID=4674;POINT (-39.694456 -2.6657)', '2026-07-24 16:08:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694273 -2.665843)'), GeomFromEWKT('SRID=4674;POINT (-39.694456 -2.6657)'))) / (select extract(epoch from '2026-07-24 16:08:04'::timestamp) - extract(epoch from '2026-07-24 16:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694273 -2.665843)'), GeomFromEWKT('SRID=4674;POINT (-39.694456 -2.6657)'))) / (select extract(epoch from '2026-07-24 16:08:04'::timestamp) - extract(epoch from '2026-07-24 16:07: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'), 47870, 'SRID=4674;POINT (-39.694563 -2.665601)', '2026-07-24 16:08:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694456 -2.6657)'), GeomFromEWKT('SRID=4674;POINT (-39.694563 -2.665601)'))) / (select extract(epoch from '2026-07-24 16:08:09'::timestamp) - extract(epoch from '2026-07-24 16:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694456 -2.6657)'), GeomFromEWKT('SRID=4674;POINT (-39.694563 -2.665601)'))) / (select extract(epoch from '2026-07-24 16:08:09'::timestamp) - extract(epoch from '2026-07-24 16:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694659 -2.665471)', '2026-07-24 16:08:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694563 -2.665601)'), GeomFromEWKT('SRID=4674;POINT (-39.694659 -2.665471)'))) / (select extract(epoch from '2026-07-24 16:08:15'::timestamp) - extract(epoch from '2026-07-24 16:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694563 -2.665601)'), GeomFromEWKT('SRID=4674;POINT (-39.694659 -2.665471)'))) / (select extract(epoch from '2026-07-24 16:08:15'::timestamp) - extract(epoch from '2026-07-24 16:08: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'), 47870, 'SRID=4674;POINT (-39.694757 -2.665326)', '2026-07-24 16:08:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694659 -2.665471)'), GeomFromEWKT('SRID=4674;POINT (-39.694757 -2.665326)'))) / (select extract(epoch from '2026-07-24 16:08:21'::timestamp) - extract(epoch from '2026-07-24 16:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694659 -2.665471)'), GeomFromEWKT('SRID=4674;POINT (-39.694757 -2.665326)'))) / (select extract(epoch from '2026-07-24 16:08:21'::timestamp) - extract(epoch from '2026-07-24 16:08: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'), 47870, 'SRID=4674;POINT (-39.694877 -2.665197)', '2026-07-24 16:08:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694757 -2.665326)'), GeomFromEWKT('SRID=4674;POINT (-39.694877 -2.665197)'))) / (select extract(epoch from '2026-07-24 16:08:27'::timestamp) - extract(epoch from '2026-07-24 16:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694757 -2.665326)'), GeomFromEWKT('SRID=4674;POINT (-39.694877 -2.665197)'))) / (select extract(epoch from '2026-07-24 16:08:27'::timestamp) - extract(epoch from '2026-07-24 16:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694983 -2.665105)', '2026-07-24 16:08:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694877 -2.665197)'), GeomFromEWKT('SRID=4674;POINT (-39.694983 -2.665105)'))) / (select extract(epoch from '2026-07-24 16:08:32'::timestamp) - extract(epoch from '2026-07-24 16:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694877 -2.665197)'), GeomFromEWKT('SRID=4674;POINT (-39.694983 -2.665105)'))) / (select extract(epoch from '2026-07-24 16:08:32'::timestamp) - extract(epoch from '2026-07-24 16:08: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'), 47870, 'SRID=4674;POINT (-39.695165 -2.664965)', '2026-07-24 16:08:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694983 -2.665105)'), GeomFromEWKT('SRID=4674;POINT (-39.695165 -2.664965)'))) / (select extract(epoch from '2026-07-24 16:08:40'::timestamp) - extract(epoch from '2026-07-24 16:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694983 -2.665105)'), GeomFromEWKT('SRID=4674;POINT (-39.695165 -2.664965)'))) / (select extract(epoch from '2026-07-24 16:08:40'::timestamp) - extract(epoch from '2026-07-24 16:08: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'), 47870, 'SRID=4674;POINT (-39.695323 -2.664832)', '2026-07-24 16:08:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695165 -2.664965)'), GeomFromEWKT('SRID=4674;POINT (-39.695323 -2.664832)'))) / (select extract(epoch from '2026-07-24 16:08:47'::timestamp) - extract(epoch from '2026-07-24 16:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695165 -2.664965)'), GeomFromEWKT('SRID=4674;POINT (-39.695323 -2.664832)'))) / (select extract(epoch from '2026-07-24 16:08:47'::timestamp) - extract(epoch from '2026-07-24 16:08: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'), 47870, 'SRID=4674;POINT (-39.69547 -2.664734)', '2026-07-24 16:08:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695323 -2.664832)'), GeomFromEWKT('SRID=4674;POINT (-39.69547 -2.664734)'))) / (select extract(epoch from '2026-07-24 16:08:53'::timestamp) - extract(epoch from '2026-07-24 16:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695323 -2.664832)'), GeomFromEWKT('SRID=4674;POINT (-39.69547 -2.664734)'))) / (select extract(epoch from '2026-07-24 16:08:53'::timestamp) - extract(epoch from '2026-07-24 16:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695612 -2.664618)', '2026-07-24 16:08:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69547 -2.664734)'), GeomFromEWKT('SRID=4674;POINT (-39.695612 -2.664618)'))) / (select extract(epoch from '2026-07-24 16:08:59'::timestamp) - extract(epoch from '2026-07-24 16:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69547 -2.664734)'), GeomFromEWKT('SRID=4674;POINT (-39.695612 -2.664618)'))) / (select extract(epoch from '2026-07-24 16:08:59'::timestamp) - extract(epoch from '2026-07-24 16:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695712 -2.664519)', '2026-07-24 16:09:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695612 -2.664618)'), GeomFromEWKT('SRID=4674;POINT (-39.695712 -2.664519)'))) / (select extract(epoch from '2026-07-24 16:09:04'::timestamp) - extract(epoch from '2026-07-24 16:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695612 -2.664618)'), GeomFromEWKT('SRID=4674;POINT (-39.695712 -2.664519)'))) / (select extract(epoch from '2026-07-24 16:09:04'::timestamp) - extract(epoch from '2026-07-24 16:08: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'), 47870, 'SRID=4674;POINT (-39.695819 -2.664392)', '2026-07-24 16:09:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695712 -2.664519)'), GeomFromEWKT('SRID=4674;POINT (-39.695819 -2.664392)'))) / (select extract(epoch from '2026-07-24 16:09:10'::timestamp) - extract(epoch from '2026-07-24 16:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695712 -2.664519)'), GeomFromEWKT('SRID=4674;POINT (-39.695819 -2.664392)'))) / (select extract(epoch from '2026-07-24 16:09:10'::timestamp) - extract(epoch from '2026-07-24 16:09: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'), 47870, 'SRID=4674;POINT (-39.695933 -2.664294)', '2026-07-24 16:09:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695819 -2.664392)'), GeomFromEWKT('SRID=4674;POINT (-39.695933 -2.664294)'))) / (select extract(epoch from '2026-07-24 16:09:16'::timestamp) - extract(epoch from '2026-07-24 16:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695819 -2.664392)'), GeomFromEWKT('SRID=4674;POINT (-39.695933 -2.664294)'))) / (select extract(epoch from '2026-07-24 16:09:16'::timestamp) - extract(epoch from '2026-07-24 16:09: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'), 47870, 'SRID=4674;POINT (-39.695993 -2.664242)', '2026-07-24 16:09:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695933 -2.664294)'), GeomFromEWKT('SRID=4674;POINT (-39.695993 -2.664242)'))) / (select extract(epoch from '2026-07-24 16:09:20'::timestamp) - extract(epoch from '2026-07-24 16:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695933 -2.664294)'), GeomFromEWKT('SRID=4674;POINT (-39.695993 -2.664242)'))) / (select extract(epoch from '2026-07-24 16:09:20'::timestamp) - extract(epoch from '2026-07-24 16:09: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'), 47870, 'SRID=4674;POINT (-39.696014 -2.664231)', '2026-07-24 16:09:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695993 -2.664242)'), GeomFromEWKT('SRID=4674;POINT (-39.696014 -2.664231)'))) / (select extract(epoch from '2026-07-24 16:09:21'::timestamp) - extract(epoch from '2026-07-24 16:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695993 -2.664242)'), GeomFromEWKT('SRID=4674;POINT (-39.696014 -2.664231)'))) / (select extract(epoch from '2026-07-24 16:09:21'::timestamp) - extract(epoch from '2026-07-24 16:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69608 -2.66417)', '2026-07-24 16:09:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696014 -2.664231)'), GeomFromEWKT('SRID=4674;POINT (-39.69608 -2.66417)'))) / (select extract(epoch from '2026-07-24 16:09:26'::timestamp) - extract(epoch from '2026-07-24 16:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696014 -2.664231)'), GeomFromEWKT('SRID=4674;POINT (-39.69608 -2.66417)'))) / (select extract(epoch from '2026-07-24 16:09:26'::timestamp) - extract(epoch from '2026-07-24 16:09: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'), 47870, 'SRID=4674;POINT (-39.696123 -2.664121)', '2026-07-24 16:09:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69608 -2.66417)'), GeomFromEWKT('SRID=4674;POINT (-39.696123 -2.664121)'))) / (select extract(epoch from '2026-07-24 16:09:31'::timestamp) - extract(epoch from '2026-07-24 16:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69608 -2.66417)'), GeomFromEWKT('SRID=4674;POINT (-39.696123 -2.664121)'))) / (select extract(epoch from '2026-07-24 16:09:31'::timestamp) - extract(epoch from '2026-07-24 16:09: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'), 47870, 'SRID=4674;POINT (-39.696148 -2.664065)', '2026-07-24 16:09:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696123 -2.664121)'), GeomFromEWKT('SRID=4674;POINT (-39.696148 -2.664065)'))) / (select extract(epoch from '2026-07-24 16:09:38'::timestamp) - extract(epoch from '2026-07-24 16:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696123 -2.664121)'), GeomFromEWKT('SRID=4674;POINT (-39.696148 -2.664065)'))) / (select extract(epoch from '2026-07-24 16:09:38'::timestamp) - extract(epoch from '2026-07-24 16:09: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'), 47870, 'SRID=4674;POINT (-39.696203 -2.663988)', '2026-07-24 16:09:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696148 -2.664065)'), GeomFromEWKT('SRID=4674;POINT (-39.696203 -2.663988)'))) / (select extract(epoch from '2026-07-24 16:09:58'::timestamp) - extract(epoch from '2026-07-24 16:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696148 -2.664065)'), GeomFromEWKT('SRID=4674;POINT (-39.696203 -2.663988)'))) / (select extract(epoch from '2026-07-24 16:09:58'::timestamp) - extract(epoch from '2026-07-24 16:09:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696233 -2.663966)', '2026-07-24 16:10:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696203 -2.663988)'), GeomFromEWKT('SRID=4674;POINT (-39.696233 -2.663966)'))) / (select extract(epoch from '2026-07-24 16:10:05'::timestamp) - extract(epoch from '2026-07-24 16:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696203 -2.663988)'), GeomFromEWKT('SRID=4674;POINT (-39.696233 -2.663966)'))) / (select extract(epoch from '2026-07-24 16:10:05'::timestamp) - extract(epoch from '2026-07-24 16:09: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'), 47870, 'SRID=4674;POINT (-39.696278 -2.663943)', '2026-07-24 16:10:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696233 -2.663966)'), GeomFromEWKT('SRID=4674;POINT (-39.696278 -2.663943)'))) / (select extract(epoch from '2026-07-24 16:10:14'::timestamp) - extract(epoch from '2026-07-24 16:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696233 -2.663966)'), GeomFromEWKT('SRID=4674;POINT (-39.696278 -2.663943)'))) / (select extract(epoch from '2026-07-24 16:10:14'::timestamp) - extract(epoch from '2026-07-24 16:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696295 -2.663942)', '2026-07-24 16:10:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696278 -2.663943)'), GeomFromEWKT('SRID=4674;POINT (-39.696295 -2.663942)'))) / (select extract(epoch from '2026-07-24 16:10:17'::timestamp) - extract(epoch from '2026-07-24 16:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696278 -2.663943)'), GeomFromEWKT('SRID=4674;POINT (-39.696295 -2.663942)'))) / (select extract(epoch from '2026-07-24 16:10:17'::timestamp) - extract(epoch from '2026-07-24 16:10: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'), 47870, 'SRID=4674;POINT (-39.696313 -2.663936)', '2026-07-24 16:10:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696295 -2.663942)'), GeomFromEWKT('SRID=4674;POINT (-39.696313 -2.663936)'))) / (select extract(epoch from '2026-07-24 16:10:19'::timestamp) - extract(epoch from '2026-07-24 16:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696295 -2.663942)'), GeomFromEWKT('SRID=4674;POINT (-39.696313 -2.663936)'))) / (select extract(epoch from '2026-07-24 16:10:19'::timestamp) - extract(epoch from '2026-07-24 16:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696319 -2.663937)', '2026-07-24 16:10:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696313 -2.663936)'), GeomFromEWKT('SRID=4674;POINT (-39.696319 -2.663937)'))) / (select extract(epoch from '2026-07-24 16:10:20'::timestamp) - extract(epoch from '2026-07-24 16:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696313 -2.663936)'), GeomFromEWKT('SRID=4674;POINT (-39.696319 -2.663937)'))) / (select extract(epoch from '2026-07-24 16:10:20'::timestamp) - extract(epoch from '2026-07-24 16:10: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'), 47870, 'SRID=4674;POINT (-39.696385 -2.663921)', '2026-07-24 16:10:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696319 -2.663937)'), GeomFromEWKT('SRID=4674;POINT (-39.696385 -2.663921)'))) / (select extract(epoch from '2026-07-24 16:10:30'::timestamp) - extract(epoch from '2026-07-24 16:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696319 -2.663937)'), GeomFromEWKT('SRID=4674;POINT (-39.696385 -2.663921)'))) / (select extract(epoch from '2026-07-24 16:10:30'::timestamp) - extract(epoch from '2026-07-24 16:10: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'), 47870, 'SRID=4674;POINT (-39.69646 -2.66391)', '2026-07-24 16:10:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696385 -2.663921)'), GeomFromEWKT('SRID=4674;POINT (-39.69646 -2.66391)'))) / (select extract(epoch from '2026-07-24 16:10:41'::timestamp) - extract(epoch from '2026-07-24 16:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696385 -2.663921)'), GeomFromEWKT('SRID=4674;POINT (-39.69646 -2.66391)'))) / (select extract(epoch from '2026-07-24 16:10:41'::timestamp) - extract(epoch from '2026-07-24 16:10: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'), 47870, 'SRID=4674;POINT (-39.696515 -2.663897)', '2026-07-24 16:10:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69646 -2.66391)'), GeomFromEWKT('SRID=4674;POINT (-39.696515 -2.663897)'))) / (select extract(epoch from '2026-07-24 16:10:50'::timestamp) - extract(epoch from '2026-07-24 16:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69646 -2.66391)'), GeomFromEWKT('SRID=4674;POINT (-39.696515 -2.663897)'))) / (select extract(epoch from '2026-07-24 16:10:50'::timestamp) - extract(epoch from '2026-07-24 16:10: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'), 47870, 'SRID=4674;POINT (-39.696587 -2.663917)', '2026-07-24 16:10:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696515 -2.663897)'), GeomFromEWKT('SRID=4674;POINT (-39.696587 -2.663917)'))) / (select extract(epoch from '2026-07-24 16:10:58'::timestamp) - extract(epoch from '2026-07-24 16:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696515 -2.663897)'), GeomFromEWKT('SRID=4674;POINT (-39.696587 -2.663917)'))) / (select extract(epoch from '2026-07-24 16:10:58'::timestamp) - extract(epoch from '2026-07-24 16:10: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'), 47870, 'SRID=4674;POINT (-39.696699 -2.663969)', '2026-07-24 16:11:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696587 -2.663917)'), GeomFromEWKT('SRID=4674;POINT (-39.696699 -2.663969)'))) / (select extract(epoch from '2026-07-24 16:11:05'::timestamp) - extract(epoch from '2026-07-24 16:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696587 -2.663917)'), GeomFromEWKT('SRID=4674;POINT (-39.696699 -2.663969)'))) / (select extract(epoch from '2026-07-24 16:11:05'::timestamp) - extract(epoch from '2026-07-24 16:10: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'), 47870, 'SRID=4674;POINT (-39.696848 -2.663969)', '2026-07-24 16:11:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696699 -2.663969)'), GeomFromEWKT('SRID=4674;POINT (-39.696848 -2.663969)'))) / (select extract(epoch from '2026-07-24 16:11:11'::timestamp) - extract(epoch from '2026-07-24 16:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696699 -2.663969)'), GeomFromEWKT('SRID=4674;POINT (-39.696848 -2.663969)'))) / (select extract(epoch from '2026-07-24 16:11:11'::timestamp) - extract(epoch from '2026-07-24 16:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697008 -2.663913)', '2026-07-24 16:11:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696848 -2.663969)'), GeomFromEWKT('SRID=4674;POINT (-39.697008 -2.663913)'))) / (select extract(epoch from '2026-07-24 16:11:17'::timestamp) - extract(epoch from '2026-07-24 16:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696848 -2.663969)'), GeomFromEWKT('SRID=4674;POINT (-39.697008 -2.663913)'))) / (select extract(epoch from '2026-07-24 16:11:17'::timestamp) - extract(epoch from '2026-07-24 16:11:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697176 -2.663816)', '2026-07-24 16:11:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697008 -2.663913)'), GeomFromEWKT('SRID=4674;POINT (-39.697176 -2.663816)'))) / (select extract(epoch from '2026-07-24 16:11:24'::timestamp) - extract(epoch from '2026-07-24 16:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697008 -2.663913)'), GeomFromEWKT('SRID=4674;POINT (-39.697176 -2.663816)'))) / (select extract(epoch from '2026-07-24 16:11:24'::timestamp) - extract(epoch from '2026-07-24 16:11: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'), 47870, 'SRID=4674;POINT (-39.697231 -2.663707)', '2026-07-24 16:11:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697176 -2.663816)'), GeomFromEWKT('SRID=4674;POINT (-39.697231 -2.663707)'))) / (select extract(epoch from '2026-07-24 16:11:31'::timestamp) - extract(epoch from '2026-07-24 16:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697176 -2.663816)'), GeomFromEWKT('SRID=4674;POINT (-39.697231 -2.663707)'))) / (select extract(epoch from '2026-07-24 16:11:31'::timestamp) - extract(epoch from '2026-07-24 16:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697251 -2.663669)', '2026-07-24 16:11:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697231 -2.663707)'), GeomFromEWKT('SRID=4674;POINT (-39.697251 -2.663669)'))) / (select extract(epoch from '2026-07-24 16:11:36'::timestamp) - extract(epoch from '2026-07-24 16:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697231 -2.663707)'), GeomFromEWKT('SRID=4674;POINT (-39.697251 -2.663669)'))) / (select extract(epoch from '2026-07-24 16:11:36'::timestamp) - extract(epoch from '2026-07-24 16:11: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'), 47870, 'SRID=4674;POINT (-39.697255 -2.663648)', '2026-07-24 16:12:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697251 -2.663669)'), GeomFromEWKT('SRID=4674;POINT (-39.697255 -2.663648)'))) / (select extract(epoch from '2026-07-24 16:12:34'::timestamp) - extract(epoch from '2026-07-24 16:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697251 -2.663669)'), GeomFromEWKT('SRID=4674;POINT (-39.697255 -2.663648)'))) / (select extract(epoch from '2026-07-24 16:12:34'::timestamp) - extract(epoch from '2026-07-24 16:11: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'), 47870, 'SRID=4674;POINT (-39.697173 -2.663664)', '2026-07-24 16:12:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697255 -2.663648)'), GeomFromEWKT('SRID=4674;POINT (-39.697173 -2.663664)'))) / (select extract(epoch from '2026-07-24 16:12:42'::timestamp) - extract(epoch from '2026-07-24 16:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697255 -2.663648)'), GeomFromEWKT('SRID=4674;POINT (-39.697173 -2.663664)'))) / (select extract(epoch from '2026-07-24 16:12:42'::timestamp) - extract(epoch from '2026-07-24 16:12: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'), 47870, 'SRID=4674;POINT (-39.697164 -2.663663)', '2026-07-24 16:12:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697173 -2.663664)'), GeomFromEWKT('SRID=4674;POINT (-39.697164 -2.663663)'))) / (select extract(epoch from '2026-07-24 16:12:43'::timestamp) - extract(epoch from '2026-07-24 16:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697173 -2.663664)'), GeomFromEWKT('SRID=4674;POINT (-39.697164 -2.663663)'))) / (select extract(epoch from '2026-07-24 16:12:43'::timestamp) - extract(epoch from '2026-07-24 16:12: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'), 47870, 'SRID=4674;POINT (-39.697125 -2.663647)', '2026-07-24 16:12:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697164 -2.663663)'), GeomFromEWKT('SRID=4674;POINT (-39.697125 -2.663647)'))) / (select extract(epoch from '2026-07-24 16:12:47'::timestamp) - extract(epoch from '2026-07-24 16:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697164 -2.663663)'), GeomFromEWKT('SRID=4674;POINT (-39.697125 -2.663647)'))) / (select extract(epoch from '2026-07-24 16:12:47'::timestamp) - extract(epoch from '2026-07-24 16:12: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'), 47870, 'SRID=4674;POINT (-39.697032 -2.663636)', '2026-07-24 16:12:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697125 -2.663647)'), GeomFromEWKT('SRID=4674;POINT (-39.697032 -2.663636)'))) / (select extract(epoch from '2026-07-24 16:12:54'::timestamp) - extract(epoch from '2026-07-24 16:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697125 -2.663647)'), GeomFromEWKT('SRID=4674;POINT (-39.697032 -2.663636)'))) / (select extract(epoch from '2026-07-24 16:12:54'::timestamp) - extract(epoch from '2026-07-24 16:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696961 -2.663621)', '2026-07-24 16:12:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697032 -2.663636)'), GeomFromEWKT('SRID=4674;POINT (-39.696961 -2.663621)'))) / (select extract(epoch from '2026-07-24 16:12:59'::timestamp) - extract(epoch from '2026-07-24 16:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697032 -2.663636)'), GeomFromEWKT('SRID=4674;POINT (-39.696961 -2.663621)'))) / (select extract(epoch from '2026-07-24 16:12:59'::timestamp) - extract(epoch from '2026-07-24 16:12: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'), 47870, 'SRID=4674;POINT (-39.696954 -2.663611)', '2026-07-24 16:13:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696961 -2.663621)'), GeomFromEWKT('SRID=4674;POINT (-39.696954 -2.663611)'))) / (select extract(epoch from '2026-07-24 16:13:00'::timestamp) - extract(epoch from '2026-07-24 16:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696961 -2.663621)'), GeomFromEWKT('SRID=4674;POINT (-39.696954 -2.663611)'))) / (select extract(epoch from '2026-07-24 16:13:00'::timestamp) - extract(epoch from '2026-07-24 16:12: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'), 47870, 'SRID=4674;POINT (-39.69692 -2.663539)', '2026-07-24 16:13:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696954 -2.663611)'), GeomFromEWKT('SRID=4674;POINT (-39.69692 -2.663539)'))) / (select extract(epoch from '2026-07-24 16:13:06'::timestamp) - extract(epoch from '2026-07-24 16:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696954 -2.663611)'), GeomFromEWKT('SRID=4674;POINT (-39.69692 -2.663539)'))) / (select extract(epoch from '2026-07-24 16:13:06'::timestamp) - extract(epoch from '2026-07-24 16:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696904 -2.663425)', '2026-07-24 16:13:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69692 -2.663539)'), GeomFromEWKT('SRID=4674;POINT (-39.696904 -2.663425)'))) / (select extract(epoch from '2026-07-24 16:13:12'::timestamp) - extract(epoch from '2026-07-24 16:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69692 -2.663539)'), GeomFromEWKT('SRID=4674;POINT (-39.696904 -2.663425)'))) / (select extract(epoch from '2026-07-24 16:13:12'::timestamp) - extract(epoch from '2026-07-24 16:13: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'), 47870, 'SRID=4674;POINT (-39.696883 -2.663266)', '2026-07-24 16:13:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696904 -2.663425)'), GeomFromEWKT('SRID=4674;POINT (-39.696883 -2.663266)'))) / (select extract(epoch from '2026-07-24 16:13:19'::timestamp) - extract(epoch from '2026-07-24 16:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696904 -2.663425)'), GeomFromEWKT('SRID=4674;POINT (-39.696883 -2.663266)'))) / (select extract(epoch from '2026-07-24 16:13:19'::timestamp) - extract(epoch from '2026-07-24 16:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696883 -2.663129)', '2026-07-24 16:13:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696883 -2.663266)'), GeomFromEWKT('SRID=4674;POINT (-39.696883 -2.663129)'))) / (select extract(epoch from '2026-07-24 16:13:25'::timestamp) - extract(epoch from '2026-07-24 16:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696883 -2.663266)'), GeomFromEWKT('SRID=4674;POINT (-39.696883 -2.663129)'))) / (select extract(epoch from '2026-07-24 16:13:25'::timestamp) - extract(epoch from '2026-07-24 16:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696873 -2.663039)', '2026-07-24 16:13:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696883 -2.663129)'), GeomFromEWKT('SRID=4674;POINT (-39.696873 -2.663039)'))) / (select extract(epoch from '2026-07-24 16:13:31'::timestamp) - extract(epoch from '2026-07-24 16:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696883 -2.663129)'), GeomFromEWKT('SRID=4674;POINT (-39.696873 -2.663039)'))) / (select extract(epoch from '2026-07-24 16:13:31'::timestamp) - extract(epoch from '2026-07-24 16:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696864 -2.662996)', '2026-07-24 16:13:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696873 -2.663039)'), GeomFromEWKT('SRID=4674;POINT (-39.696864 -2.662996)'))) / (select extract(epoch from '2026-07-24 16:13:35'::timestamp) - extract(epoch from '2026-07-24 16:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696873 -2.663039)'), GeomFromEWKT('SRID=4674;POINT (-39.696864 -2.662996)'))) / (select extract(epoch from '2026-07-24 16:13:35'::timestamp) - extract(epoch from '2026-07-24 16:13: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'), 47870, 'SRID=4674;POINT (-39.696864 -2.662956)', '2026-07-24 16:13:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696864 -2.662996)'), GeomFromEWKT('SRID=4674;POINT (-39.696864 -2.662956)'))) / (select extract(epoch from '2026-07-24 16:13:38'::timestamp) - extract(epoch from '2026-07-24 16:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696864 -2.662996)'), GeomFromEWKT('SRID=4674;POINT (-39.696864 -2.662956)'))) / (select extract(epoch from '2026-07-24 16:13:38'::timestamp) - extract(epoch from '2026-07-24 16:13: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'), 47870, 'SRID=4674;POINT (-39.696861 -2.662869)', '2026-07-24 16:13:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696864 -2.662956)'), GeomFromEWKT('SRID=4674;POINT (-39.696861 -2.662869)'))) / (select extract(epoch from '2026-07-24 16:13:43'::timestamp) - extract(epoch from '2026-07-24 16:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696864 -2.662956)'), GeomFromEWKT('SRID=4674;POINT (-39.696861 -2.662869)'))) / (select extract(epoch from '2026-07-24 16:13:43'::timestamp) - extract(epoch from '2026-07-24 16:13: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'), 47870, 'SRID=4674;POINT (-39.696897 -2.662757)', '2026-07-24 16:13:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696861 -2.662869)'), GeomFromEWKT('SRID=4674;POINT (-39.696897 -2.662757)'))) / (select extract(epoch from '2026-07-24 16:13:49'::timestamp) - extract(epoch from '2026-07-24 16:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696861 -2.662869)'), GeomFromEWKT('SRID=4674;POINT (-39.696897 -2.662757)'))) / (select extract(epoch from '2026-07-24 16:13:49'::timestamp) - extract(epoch from '2026-07-24 16:13: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'), 47870, 'SRID=4674;POINT (-39.696914 -2.66274)', '2026-07-24 16:13:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696897 -2.662757)'), GeomFromEWKT('SRID=4674;POINT (-39.696914 -2.66274)'))) / (select extract(epoch from '2026-07-24 16:13:50'::timestamp) - extract(epoch from '2026-07-24 16:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696897 -2.662757)'), GeomFromEWKT('SRID=4674;POINT (-39.696914 -2.66274)'))) / (select extract(epoch from '2026-07-24 16:13:50'::timestamp) - extract(epoch from '2026-07-24 16:13: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'), 47870, 'SRID=4674;POINT (-39.696999 -2.662685)', '2026-07-24 16:13:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696914 -2.66274)'), GeomFromEWKT('SRID=4674;POINT (-39.696999 -2.662685)'))) / (select extract(epoch from '2026-07-24 16:13:54'::timestamp) - extract(epoch from '2026-07-24 16:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696914 -2.66274)'), GeomFromEWKT('SRID=4674;POINT (-39.696999 -2.662685)'))) / (select extract(epoch from '2026-07-24 16:13:54'::timestamp) - extract(epoch from '2026-07-24 16:13: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'), 47870, 'SRID=4674;POINT (-39.697202 -2.662598)', '2026-07-24 16:14:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696999 -2.662685)'), GeomFromEWKT('SRID=4674;POINT (-39.697202 -2.662598)'))) / (select extract(epoch from '2026-07-24 16:14:02'::timestamp) - extract(epoch from '2026-07-24 16:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696999 -2.662685)'), GeomFromEWKT('SRID=4674;POINT (-39.697202 -2.662598)'))) / (select extract(epoch from '2026-07-24 16:14:02'::timestamp) - extract(epoch from '2026-07-24 16:13:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697371 -2.662534)', '2026-07-24 16:14:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697202 -2.662598)'), GeomFromEWKT('SRID=4674;POINT (-39.697371 -2.662534)'))) / (select extract(epoch from '2026-07-24 16:14:08'::timestamp) - extract(epoch from '2026-07-24 16:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697202 -2.662598)'), GeomFromEWKT('SRID=4674;POINT (-39.697371 -2.662534)'))) / (select extract(epoch from '2026-07-24 16:14:08'::timestamp) - extract(epoch from '2026-07-24 16:14: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'), 47870, 'SRID=4674;POINT (-39.697526 -2.662479)', '2026-07-24 16:14:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697371 -2.662534)'), GeomFromEWKT('SRID=4674;POINT (-39.697526 -2.662479)'))) / (select extract(epoch from '2026-07-24 16:14:14'::timestamp) - extract(epoch from '2026-07-24 16:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697371 -2.662534)'), GeomFromEWKT('SRID=4674;POINT (-39.697526 -2.662479)'))) / (select extract(epoch from '2026-07-24 16:14:14'::timestamp) - extract(epoch from '2026-07-24 16:14: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'), 47870, 'SRID=4674;POINT (-39.697671 -2.662429)', '2026-07-24 16:14:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697526 -2.662479)'), GeomFromEWKT('SRID=4674;POINT (-39.697671 -2.662429)'))) / (select extract(epoch from '2026-07-24 16:14:21'::timestamp) - extract(epoch from '2026-07-24 16:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697526 -2.662479)'), GeomFromEWKT('SRID=4674;POINT (-39.697671 -2.662429)'))) / (select extract(epoch from '2026-07-24 16:14:21'::timestamp) - extract(epoch from '2026-07-24 16:14: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'), 47870, 'SRID=4674;POINT (-39.69774 -2.662335)', '2026-07-24 16:14:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697671 -2.662429)'), GeomFromEWKT('SRID=4674;POINT (-39.69774 -2.662335)'))) / (select extract(epoch from '2026-07-24 16:14:28'::timestamp) - extract(epoch from '2026-07-24 16:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697671 -2.662429)'), GeomFromEWKT('SRID=4674;POINT (-39.69774 -2.662335)'))) / (select extract(epoch from '2026-07-24 16:14:28'::timestamp) - extract(epoch from '2026-07-24 16:14: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'), 47870, 'SRID=4674;POINT (-39.69774 -2.66227)', '2026-07-24 16:14:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69774 -2.662335)'), GeomFromEWKT('SRID=4674;POINT (-39.69774 -2.66227)'))) / (select extract(epoch from '2026-07-24 16:14:36'::timestamp) - extract(epoch from '2026-07-24 16:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69774 -2.662335)'), GeomFromEWKT('SRID=4674;POINT (-39.69774 -2.66227)'))) / (select extract(epoch from '2026-07-24 16:14:36'::timestamp) - extract(epoch from '2026-07-24 16:14: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'), 47870, 'SRID=4674;POINT (-39.697686 -2.662228)', '2026-07-24 16:14:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69774 -2.66227)'), GeomFromEWKT('SRID=4674;POINT (-39.697686 -2.662228)'))) / (select extract(epoch from '2026-07-24 16:14:43'::timestamp) - extract(epoch from '2026-07-24 16:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69774 -2.66227)'), GeomFromEWKT('SRID=4674;POINT (-39.697686 -2.662228)'))) / (select extract(epoch from '2026-07-24 16:14:43'::timestamp) - extract(epoch from '2026-07-24 16:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697658 -2.662209)', '2026-07-24 16:14:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697686 -2.662228)'), GeomFromEWKT('SRID=4674;POINT (-39.697658 -2.662209)'))) / (select extract(epoch from '2026-07-24 16:14:45'::timestamp) - extract(epoch from '2026-07-24 16:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697686 -2.662228)'), GeomFromEWKT('SRID=4674;POINT (-39.697658 -2.662209)'))) / (select extract(epoch from '2026-07-24 16:14:45'::timestamp) - extract(epoch from '2026-07-24 16:14: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'), 47870, 'SRID=4674;POINT (-39.697536 -2.662135)', '2026-07-24 16:14:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697658 -2.662209)'), GeomFromEWKT('SRID=4674;POINT (-39.697536 -2.662135)'))) / (select extract(epoch from '2026-07-24 16:14:52'::timestamp) - extract(epoch from '2026-07-24 16:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697658 -2.662209)'), GeomFromEWKT('SRID=4674;POINT (-39.697536 -2.662135)'))) / (select extract(epoch from '2026-07-24 16:14:52'::timestamp) - extract(epoch from '2026-07-24 16:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697477 -2.662102)', '2026-07-24 16:14:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697536 -2.662135)'), GeomFromEWKT('SRID=4674;POINT (-39.697477 -2.662102)'))) / (select extract(epoch from '2026-07-24 16:14:57'::timestamp) - extract(epoch from '2026-07-24 16:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697536 -2.662135)'), GeomFromEWKT('SRID=4674;POINT (-39.697477 -2.662102)'))) / (select extract(epoch from '2026-07-24 16:14:57'::timestamp) - extract(epoch from '2026-07-24 16:14: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'), 47870, 'SRID=4674;POINT (-39.697464 -2.6621)', '2026-07-24 16:14:58', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697477 -2.662102)'), GeomFromEWKT('SRID=4674;POINT (-39.697464 -2.6621)'))) / (select extract(epoch from '2026-07-24 16:14:58'::timestamp) - extract(epoch from '2026-07-24 16:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697477 -2.662102)'), GeomFromEWKT('SRID=4674;POINT (-39.697464 -2.6621)'))) / (select extract(epoch from '2026-07-24 16:14:58'::timestamp) - extract(epoch from '2026-07-24 16:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69742 -2.662102)', '2026-07-24 16:15:04', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697464 -2.6621)'), GeomFromEWKT('SRID=4674;POINT (-39.69742 -2.662102)'))) / (select extract(epoch from '2026-07-24 16:15:04'::timestamp) - extract(epoch from '2026-07-24 16:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697464 -2.6621)'), GeomFromEWKT('SRID=4674;POINT (-39.69742 -2.662102)'))) / (select extract(epoch from '2026-07-24 16:15:04'::timestamp) - extract(epoch from '2026-07-24 16:14: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'), 47870, 'SRID=4674;POINT (-39.697386 -2.662145)', '2026-07-24 16:15:13', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69742 -2.662102)'), GeomFromEWKT('SRID=4674;POINT (-39.697386 -2.662145)'))) / (select extract(epoch from '2026-07-24 16:15:13'::timestamp) - extract(epoch from '2026-07-24 16:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69742 -2.662102)'), GeomFromEWKT('SRID=4674;POINT (-39.697386 -2.662145)'))) / (select extract(epoch from '2026-07-24 16:15:13'::timestamp) - extract(epoch from '2026-07-24 16:15: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'), 47870, 'SRID=4674;POINT (-39.697393 -2.66217)', '2026-07-24 16:15:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697386 -2.662145)'), GeomFromEWKT('SRID=4674;POINT (-39.697393 -2.66217)'))) / (select extract(epoch from '2026-07-24 16:15:20'::timestamp) - extract(epoch from '2026-07-24 16:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697386 -2.662145)'), GeomFromEWKT('SRID=4674;POINT (-39.697393 -2.66217)'))) / (select extract(epoch from '2026-07-24 16:15:20'::timestamp) - extract(epoch from '2026-07-24 16:15: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'), 47870, 'SRID=4674;POINT (-39.697411 -2.662184)', '2026-07-24 16:15:27', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697393 -2.66217)'), GeomFromEWKT('SRID=4674;POINT (-39.697411 -2.662184)'))) / (select extract(epoch from '2026-07-24 16:15:27'::timestamp) - extract(epoch from '2026-07-24 16:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697393 -2.66217)'), GeomFromEWKT('SRID=4674;POINT (-39.697411 -2.662184)'))) / (select extract(epoch from '2026-07-24 16:15:27'::timestamp) - extract(epoch from '2026-07-24 16:15: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'), 47870, 'SRID=4674;POINT (-39.697447 -2.662189)', '2026-07-24 16:15:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697411 -2.662184)'), GeomFromEWKT('SRID=4674;POINT (-39.697447 -2.662189)'))) / (select extract(epoch from '2026-07-24 16:15:33'::timestamp) - extract(epoch from '2026-07-24 16:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697411 -2.662184)'), GeomFromEWKT('SRID=4674;POINT (-39.697447 -2.662189)'))) / (select extract(epoch from '2026-07-24 16:15:33'::timestamp) - extract(epoch from '2026-07-24 16:15: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'), 47870, 'SRID=4674;POINT (-39.697496 -2.662184)', '2026-07-24 16:15:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697447 -2.662189)'), GeomFromEWKT('SRID=4674;POINT (-39.697496 -2.662184)'))) / (select extract(epoch from '2026-07-24 16:15:41'::timestamp) - extract(epoch from '2026-07-24 16:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697447 -2.662189)'), GeomFromEWKT('SRID=4674;POINT (-39.697496 -2.662184)'))) / (select extract(epoch from '2026-07-24 16:15:41'::timestamp) - extract(epoch from '2026-07-24 16:15: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'), 47870, 'SRID=4674;POINT (-39.697554 -2.662168)', '2026-07-24 16:15:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697496 -2.662184)'), GeomFromEWKT('SRID=4674;POINT (-39.697554 -2.662168)'))) / (select extract(epoch from '2026-07-24 16:15:50'::timestamp) - extract(epoch from '2026-07-24 16:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697496 -2.662184)'), GeomFromEWKT('SRID=4674;POINT (-39.697554 -2.662168)'))) / (select extract(epoch from '2026-07-24 16:15:50'::timestamp) - extract(epoch from '2026-07-24 16:15: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'), 47870, 'SRID=4674;POINT (-39.6976 -2.662152)', '2026-07-24 16:15:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697554 -2.662168)'), GeomFromEWKT('SRID=4674;POINT (-39.6976 -2.662152)'))) / (select extract(epoch from '2026-07-24 16:15:56'::timestamp) - extract(epoch from '2026-07-24 16:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697554 -2.662168)'), GeomFromEWKT('SRID=4674;POINT (-39.6976 -2.662152)'))) / (select extract(epoch from '2026-07-24 16:15:56'::timestamp) - extract(epoch from '2026-07-24 16:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697669 -2.662125)', '2026-07-24 16:16:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6976 -2.662152)'), GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.662125)'))) / (select extract(epoch from '2026-07-24 16:16:05'::timestamp) - extract(epoch from '2026-07-24 16:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6976 -2.662152)'), GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.662125)'))) / (select extract(epoch from '2026-07-24 16:16:05'::timestamp) - extract(epoch from '2026-07-24 16:15: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'), 47870, 'SRID=4674;POINT (-39.697742 -2.662083)', '2026-07-24 16:16:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.662125)'), GeomFromEWKT('SRID=4674;POINT (-39.697742 -2.662083)'))) / (select extract(epoch from '2026-07-24 16:16:17'::timestamp) - extract(epoch from '2026-07-24 16:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.662125)'), GeomFromEWKT('SRID=4674;POINT (-39.697742 -2.662083)'))) / (select extract(epoch from '2026-07-24 16:16:17'::timestamp) - extract(epoch from '2026-07-24 16:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697803 -2.662045)', '2026-07-24 16:16:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697742 -2.662083)'), GeomFromEWKT('SRID=4674;POINT (-39.697803 -2.662045)'))) / (select extract(epoch from '2026-07-24 16:16:28'::timestamp) - extract(epoch from '2026-07-24 16:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697742 -2.662083)'), GeomFromEWKT('SRID=4674;POINT (-39.697803 -2.662045)'))) / (select extract(epoch from '2026-07-24 16:16:28'::timestamp) - extract(epoch from '2026-07-24 16:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697866 -2.66203)', '2026-07-24 16:16:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697803 -2.662045)'), GeomFromEWKT('SRID=4674;POINT (-39.697866 -2.66203)'))) / (select extract(epoch from '2026-07-24 16:16:36'::timestamp) - extract(epoch from '2026-07-24 16:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697803 -2.662045)'), GeomFromEWKT('SRID=4674;POINT (-39.697866 -2.66203)'))) / (select extract(epoch from '2026-07-24 16:16:36'::timestamp) - extract(epoch from '2026-07-24 16:16:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697887 -2.662014)', '2026-07-24 16:16:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697866 -2.66203)'), GeomFromEWKT('SRID=4674;POINT (-39.697887 -2.662014)'))) / (select extract(epoch from '2026-07-24 16:16:41'::timestamp) - extract(epoch from '2026-07-24 16:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697866 -2.66203)'), GeomFromEWKT('SRID=4674;POINT (-39.697887 -2.662014)'))) / (select extract(epoch from '2026-07-24 16:16:41'::timestamp) - extract(epoch from '2026-07-24 16:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697927 -2.661994)', '2026-07-24 16:16:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697887 -2.662014)'), GeomFromEWKT('SRID=4674;POINT (-39.697927 -2.661994)'))) / (select extract(epoch from '2026-07-24 16:16:48'::timestamp) - extract(epoch from '2026-07-24 16:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697887 -2.662014)'), GeomFromEWKT('SRID=4674;POINT (-39.697927 -2.661994)'))) / (select extract(epoch from '2026-07-24 16:16:48'::timestamp) - extract(epoch from '2026-07-24 16:16: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'), 47870, 'SRID=4674;POINT (-39.69799 -2.661969)', '2026-07-24 16:16:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697927 -2.661994)'), GeomFromEWKT('SRID=4674;POINT (-39.69799 -2.661969)'))) / (select extract(epoch from '2026-07-24 16:16:58'::timestamp) - extract(epoch from '2026-07-24 16:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697927 -2.661994)'), GeomFromEWKT('SRID=4674;POINT (-39.69799 -2.661969)'))) / (select extract(epoch from '2026-07-24 16:16:58'::timestamp) - extract(epoch from '2026-07-24 16:16: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'), 47870, 'SRID=4674;POINT (-39.697998 -2.661965)', '2026-07-24 16:16:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69799 -2.661969)'), GeomFromEWKT('SRID=4674;POINT (-39.697998 -2.661965)'))) / (select extract(epoch from '2026-07-24 16:16:59'::timestamp) - extract(epoch from '2026-07-24 16:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69799 -2.661969)'), GeomFromEWKT('SRID=4674;POINT (-39.697998 -2.661965)'))) / (select extract(epoch from '2026-07-24 16:16:59'::timestamp) - extract(epoch from '2026-07-24 16:16: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'), 47870, 'SRID=4674;POINT (-39.698022 -2.661953)', '2026-07-24 16:17:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697998 -2.661965)'), GeomFromEWKT('SRID=4674;POINT (-39.698022 -2.661953)'))) / (select extract(epoch from '2026-07-24 16:17:04'::timestamp) - extract(epoch from '2026-07-24 16:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697998 -2.661965)'), GeomFromEWKT('SRID=4674;POINT (-39.698022 -2.661953)'))) / (select extract(epoch from '2026-07-24 16:17:04'::timestamp) - extract(epoch from '2026-07-24 16:16: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'), 47870, 'SRID=4674;POINT (-39.698094 -2.661931)', '2026-07-24 16:17:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698022 -2.661953)'), GeomFromEWKT('SRID=4674;POINT (-39.698094 -2.661931)'))) / (select extract(epoch from '2026-07-24 16:17:15'::timestamp) - extract(epoch from '2026-07-24 16:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698022 -2.661953)'), GeomFromEWKT('SRID=4674;POINT (-39.698094 -2.661931)'))) / (select extract(epoch from '2026-07-24 16:17:15'::timestamp) - extract(epoch from '2026-07-24 16:17: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'), 47870, 'SRID=4674;POINT (-39.69811 -2.661925)', '2026-07-24 16:17:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698094 -2.661931)'), GeomFromEWKT('SRID=4674;POINT (-39.69811 -2.661925)'))) / (select extract(epoch from '2026-07-24 16:17:18'::timestamp) - extract(epoch from '2026-07-24 16:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698094 -2.661931)'), GeomFromEWKT('SRID=4674;POINT (-39.69811 -2.661925)'))) / (select extract(epoch from '2026-07-24 16:17:18'::timestamp) - extract(epoch from '2026-07-24 16:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698132 -2.661919)', '2026-07-24 16:17:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69811 -2.661925)'), GeomFromEWKT('SRID=4674;POINT (-39.698132 -2.661919)'))) / (select extract(epoch from '2026-07-24 16:17:21'::timestamp) - extract(epoch from '2026-07-24 16:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69811 -2.661925)'), GeomFromEWKT('SRID=4674;POINT (-39.698132 -2.661919)'))) / (select extract(epoch from '2026-07-24 16:17:21'::timestamp) - extract(epoch from '2026-07-24 16:17: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'), 47870, 'SRID=4674;POINT (-39.698175 -2.661909)', '2026-07-24 16:17:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698132 -2.661919)'), GeomFromEWKT('SRID=4674;POINT (-39.698175 -2.661909)'))) / (select extract(epoch from '2026-07-24 16:17:29'::timestamp) - extract(epoch from '2026-07-24 16:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698132 -2.661919)'), GeomFromEWKT('SRID=4674;POINT (-39.698175 -2.661909)'))) / (select extract(epoch from '2026-07-24 16:17:29'::timestamp) - extract(epoch from '2026-07-24 16:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698218 -2.661897)', '2026-07-24 16:17:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698175 -2.661909)'), GeomFromEWKT('SRID=4674;POINT (-39.698218 -2.661897)'))) / (select extract(epoch from '2026-07-24 16:17:36'::timestamp) - extract(epoch from '2026-07-24 16:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698175 -2.661909)'), GeomFromEWKT('SRID=4674;POINT (-39.698218 -2.661897)'))) / (select extract(epoch from '2026-07-24 16:17:36'::timestamp) - extract(epoch from '2026-07-24 16:17: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'), 47870, 'SRID=4674;POINT (-39.698261 -2.66187)', '2026-07-24 16:17:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698218 -2.661897)'), GeomFromEWKT('SRID=4674;POINT (-39.698261 -2.66187)'))) / (select extract(epoch from '2026-07-24 16:17:46'::timestamp) - extract(epoch from '2026-07-24 16:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698218 -2.661897)'), GeomFromEWKT('SRID=4674;POINT (-39.698261 -2.66187)'))) / (select extract(epoch from '2026-07-24 16:17:46'::timestamp) - extract(epoch from '2026-07-24 16:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69827 -2.661849)', '2026-07-24 16:17:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698261 -2.66187)'), GeomFromEWKT('SRID=4674;POINT (-39.69827 -2.661849)'))) / (select extract(epoch from '2026-07-24 16:17:53'::timestamp) - extract(epoch from '2026-07-24 16:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698261 -2.66187)'), GeomFromEWKT('SRID=4674;POINT (-39.69827 -2.661849)'))) / (select extract(epoch from '2026-07-24 16:17:53'::timestamp) - extract(epoch from '2026-07-24 16:17: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'), 47870, 'SRID=4674;POINT (-39.698269 -2.661857)', '2026-07-24 16:18:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69827 -2.661849)'), GeomFromEWKT('SRID=4674;POINT (-39.698269 -2.661857)'))) / (select extract(epoch from '2026-07-24 16:18:05'::timestamp) - extract(epoch from '2026-07-24 16:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69827 -2.661849)'), GeomFromEWKT('SRID=4674;POINT (-39.698269 -2.661857)'))) / (select extract(epoch from '2026-07-24 16:18:05'::timestamp) - extract(epoch from '2026-07-24 16:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698311 -2.661861)', '2026-07-24 16:19:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698269 -2.661857)'), GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661861)'))) / (select extract(epoch from '2026-07-24 16:19:08'::timestamp) - extract(epoch from '2026-07-24 16:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698269 -2.661857)'), GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661861)'))) / (select extract(epoch from '2026-07-24 16:19:08'::timestamp) - extract(epoch from '2026-07-24 16:18: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'), 47870, 'SRID=4674;POINT (-39.698315 -2.661868)', '2026-07-24 16:19:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661861)'), GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661868)'))) / (select extract(epoch from '2026-07-24 16:19:59'::timestamp) - extract(epoch from '2026-07-24 16:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661861)'), GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661868)'))) / (select extract(epoch from '2026-07-24 16:19:59'::timestamp) - extract(epoch from '2026-07-24 16:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698315 -2.661862)', '2026-07-24 16:20:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661868)'), GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661862)'))) / (select extract(epoch from '2026-07-24 16:20:30'::timestamp) - extract(epoch from '2026-07-24 16:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661868)'), GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661862)'))) / (select extract(epoch from '2026-07-24 16:20:30'::timestamp) - extract(epoch from '2026-07-24 16:19: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'), 47870, 'SRID=4674;POINT (-39.698305 -2.661862)', '2026-07-24 16:20:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661862)'), GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661862)'))) / (select extract(epoch from '2026-07-24 16:20:48'::timestamp) - extract(epoch from '2026-07-24 16:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661862)'), GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661862)'))) / (select extract(epoch from '2026-07-24 16:20:48'::timestamp) - extract(epoch from '2026-07-24 16:20: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'), 47870, 'SRID=4674;POINT (-39.698285 -2.661865)', '2026-07-24 16:21:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661862)'), GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661865)'))) / (select extract(epoch from '2026-07-24 16:21:10'::timestamp) - extract(epoch from '2026-07-24 16:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661862)'), GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661865)'))) / (select extract(epoch from '2026-07-24 16:21:10'::timestamp) - extract(epoch from '2026-07-24 16:20: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'), 47870, 'SRID=4674;POINT (-39.698285 -2.661868)', '2026-07-24 16:21:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661865)'), GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661868)'))) / (select extract(epoch from '2026-07-24 16:21:17'::timestamp) - extract(epoch from '2026-07-24 16:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661865)'), GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661868)'))) / (select extract(epoch from '2026-07-24 16:21:17'::timestamp) - extract(epoch from '2026-07-24 16:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698295 -2.661862)', '2026-07-24 16:21:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661868)'), GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661862)'))) / (select extract(epoch from '2026-07-24 16:21:35'::timestamp) - extract(epoch from '2026-07-24 16:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661868)'), GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661862)'))) / (select extract(epoch from '2026-07-24 16:21:35'::timestamp) - extract(epoch from '2026-07-24 16:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698314 -2.661871)', '2026-07-24 16:22:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661862)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661871)'))) / (select extract(epoch from '2026-07-24 16:22:20'::timestamp) - extract(epoch from '2026-07-24 16:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661862)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661871)'))) / (select extract(epoch from '2026-07-24 16:22:20'::timestamp) - extract(epoch from '2026-07-24 16:21: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'), 47870, 'SRID=4674;POINT (-39.698322 -2.661875)', '2026-07-24 16:22:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661871)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661875)'))) / (select extract(epoch from '2026-07-24 16:22:23'::timestamp) - extract(epoch from '2026-07-24 16:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661871)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661875)'))) / (select extract(epoch from '2026-07-24 16:22:23'::timestamp) - extract(epoch from '2026-07-24 16:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698312 -2.661866)', '2026-07-24 16:22:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661875)'), GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.661866)'))) / (select extract(epoch from '2026-07-24 16:22:39'::timestamp) - extract(epoch from '2026-07-24 16:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661875)'), GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.661866)'))) / (select extract(epoch from '2026-07-24 16:22:39'::timestamp) - extract(epoch from '2026-07-24 16:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698321 -2.661862)', '2026-07-24 16:22:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.661866)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661862)'))) / (select extract(epoch from '2026-07-24 16:22:57'::timestamp) - extract(epoch from '2026-07-24 16:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.661866)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661862)'))) / (select extract(epoch from '2026-07-24 16:22:57'::timestamp) - extract(epoch from '2026-07-24 16:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698321 -2.661857)', '2026-07-24 16:23:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661862)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661857)'))) / (select extract(epoch from '2026-07-24 16:23:03'::timestamp) - extract(epoch from '2026-07-24 16:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661862)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661857)'))) / (select extract(epoch from '2026-07-24 16:23:03'::timestamp) - extract(epoch from '2026-07-24 16:22: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'), 47870, 'SRID=4674;POINT (-39.698308 -2.661854)', '2026-07-24 16:23:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661857)'), GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661854)'))) / (select extract(epoch from '2026-07-24 16:23:46'::timestamp) - extract(epoch from '2026-07-24 16:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661857)'), GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661854)'))) / (select extract(epoch from '2026-07-24 16:23:46'::timestamp) - extract(epoch from '2026-07-24 16:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698317 -2.661869)', '2026-07-24 16:24:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661854)'), GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661869)'))) / (select extract(epoch from '2026-07-24 16:24:08'::timestamp) - extract(epoch from '2026-07-24 16:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661854)'), GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661869)'))) / (select extract(epoch from '2026-07-24 16:24:08'::timestamp) - extract(epoch from '2026-07-24 16:23: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'), 47870, 'SRID=4674;POINT (-39.698318 -2.661871)', '2026-07-24 16:24:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661869)'), GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661871)'))) / (select extract(epoch from '2026-07-24 16:24:17'::timestamp) - extract(epoch from '2026-07-24 16:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661869)'), GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661871)'))) / (select extract(epoch from '2026-07-24 16:24:17'::timestamp) - extract(epoch from '2026-07-24 16:24:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698331 -2.661866)', '2026-07-24 16:25:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661871)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661866)'))) / (select extract(epoch from '2026-07-24 16:25:00'::timestamp) - extract(epoch from '2026-07-24 16:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661871)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661866)'))) / (select extract(epoch from '2026-07-24 16:25:00'::timestamp) - extract(epoch from '2026-07-24 16:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698333 -2.661869)', '2026-07-24 16:25:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661866)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661869)'))) / (select extract(epoch from '2026-07-24 16:25:34'::timestamp) - extract(epoch from '2026-07-24 16:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661866)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661869)'))) / (select extract(epoch from '2026-07-24 16:25:34'::timestamp) - extract(epoch from '2026-07-24 16:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698327 -2.661854)', '2026-07-24 16:25:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661869)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661854)'))) / (select extract(epoch from '2026-07-24 16:25:46'::timestamp) - extract(epoch from '2026-07-24 16:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661869)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661854)'))) / (select extract(epoch from '2026-07-24 16:25:46'::timestamp) - extract(epoch from '2026-07-24 16:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698329 -2.661849)', '2026-07-24 16:25:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661854)'), GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.661849)'))) / (select extract(epoch from '2026-07-24 16:25:51'::timestamp) - extract(epoch from '2026-07-24 16:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661854)'), GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.661849)'))) / (select extract(epoch from '2026-07-24 16:25:51'::timestamp) - extract(epoch from '2026-07-24 16:25: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'), 47870, 'SRID=4674;POINT (-39.698324 -2.661842)', '2026-07-24 16:26:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.661849)'), GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661842)'))) / (select extract(epoch from '2026-07-24 16:26:04'::timestamp) - extract(epoch from '2026-07-24 16:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.661849)'), GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661842)'))) / (select extract(epoch from '2026-07-24 16:26:04'::timestamp) - extract(epoch from '2026-07-24 16:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698325 -2.661843)', '2026-07-24 16:26:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661842)'), GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661843)'))) / (select extract(epoch from '2026-07-24 16:26:30'::timestamp) - extract(epoch from '2026-07-24 16:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661842)'), GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661843)'))) / (select extract(epoch from '2026-07-24 16:26:30'::timestamp) - extract(epoch from '2026-07-24 16:26: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'), 47870, 'SRID=4674;POINT (-39.698328 -2.661849)', '2026-07-24 16:27:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661843)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661849)'))) / (select extract(epoch from '2026-07-24 16:27:33'::timestamp) - extract(epoch from '2026-07-24 16:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661843)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661849)'))) / (select extract(epoch from '2026-07-24 16:27:33'::timestamp) - extract(epoch from '2026-07-24 16:26: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'), 47870, 'SRID=4674;POINT (-39.698324 -2.661848)', '2026-07-24 16:28:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661849)'), GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661848)'))) / (select extract(epoch from '2026-07-24 16:28:14'::timestamp) - extract(epoch from '2026-07-24 16:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661849)'), GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661848)'))) / (select extract(epoch from '2026-07-24 16:28:14'::timestamp) - extract(epoch from '2026-07-24 16:27: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'), 47870, 'SRID=4674;POINT (-39.698328 -2.661841)', '2026-07-24 16:28:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661848)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661841)'))) / (select extract(epoch from '2026-07-24 16:28:57'::timestamp) - extract(epoch from '2026-07-24 16:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661848)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661841)'))) / (select extract(epoch from '2026-07-24 16:28:57'::timestamp) - extract(epoch from '2026-07-24 16:28: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'), 47870, 'SRID=4674;POINT (-39.698331 -2.661837)', '2026-07-24 16:29:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661841)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661837)'))) / (select extract(epoch from '2026-07-24 16:29:01'::timestamp) - extract(epoch from '2026-07-24 16:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661841)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661837)'))) / (select extract(epoch from '2026-07-24 16:29:01'::timestamp) - extract(epoch from '2026-07-24 16:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698336 -2.661835)', '2026-07-24 16:29:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661837)'), GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.661835)'))) / (select extract(epoch from '2026-07-24 16:29:38'::timestamp) - extract(epoch from '2026-07-24 16:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661837)'), GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.661835)'))) / (select extract(epoch from '2026-07-24 16:29:38'::timestamp) - extract(epoch from '2026-07-24 16:29: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'), 47870, 'SRID=4674;POINT (-39.69834 -2.661859)', '2026-07-24 16:30:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.661835)'), GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.661859)'))) / (select extract(epoch from '2026-07-24 16:30:18'::timestamp) - extract(epoch from '2026-07-24 16:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.661835)'), GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.661859)'))) / (select extract(epoch from '2026-07-24 16:30:18'::timestamp) - extract(epoch from '2026-07-24 16:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698338 -2.661863)', '2026-07-24 16:30:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.661859)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661863)'))) / (select extract(epoch from '2026-07-24 16:30:52'::timestamp) - extract(epoch from '2026-07-24 16:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.661859)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661863)'))) / (select extract(epoch from '2026-07-24 16:30:52'::timestamp) - extract(epoch from '2026-07-24 16:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698328 -2.661862)', '2026-07-24 16:31:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661863)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661862)'))) / (select extract(epoch from '2026-07-24 16:31:04'::timestamp) - extract(epoch from '2026-07-24 16:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661863)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661862)'))) / (select extract(epoch from '2026-07-24 16:31:04'::timestamp) - extract(epoch from '2026-07-24 16:30: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'), 47870, 'SRID=4674;POINT (-39.698331 -2.661838)', '2026-07-24 16:33:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661862)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661838)'))) / (select extract(epoch from '2026-07-24 16:33:09'::timestamp) - extract(epoch from '2026-07-24 16:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661862)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661838)'))) / (select extract(epoch from '2026-07-24 16:33:09'::timestamp) - extract(epoch from '2026-07-24 16:31: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'), 47870, 'SRID=4674;POINT (-39.698317 -2.661822)', '2026-07-24 16:33:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661838)'), GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661822)'))) / (select extract(epoch from '2026-07-24 16:33:56'::timestamp) - extract(epoch from '2026-07-24 16:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661838)'), GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661822)'))) / (select extract(epoch from '2026-07-24 16:33:56'::timestamp) - extract(epoch from '2026-07-24 16:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698311 -2.661829)', '2026-07-24 16:34:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661822)'), GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661829)'))) / (select extract(epoch from '2026-07-24 16:34:15'::timestamp) - extract(epoch from '2026-07-24 16:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661822)'), GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661829)'))) / (select extract(epoch from '2026-07-24 16:34:15'::timestamp) - extract(epoch from '2026-07-24 16:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698313 -2.661828)', '2026-07-24 16:34:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661829)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661828)'))) / (select extract(epoch from '2026-07-24 16:34:26'::timestamp) - extract(epoch from '2026-07-24 16:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661829)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661828)'))) / (select extract(epoch from '2026-07-24 16:34:26'::timestamp) - extract(epoch from '2026-07-24 16:34: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'), 47870, 'SRID=4674;POINT (-39.698321 -2.661824)', '2026-07-24 16:35:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661828)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661824)'))) / (select extract(epoch from '2026-07-24 16:35:39'::timestamp) - extract(epoch from '2026-07-24 16:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661828)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661824)'))) / (select extract(epoch from '2026-07-24 16:35:39'::timestamp) - extract(epoch from '2026-07-24 16:34:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698319 -2.661819)', '2026-07-24 16:35:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661824)'), GeomFromEWKT('SRID=4674;POINT (-39.698319 -2.661819)'))) / (select extract(epoch from '2026-07-24 16:35:46'::timestamp) - extract(epoch from '2026-07-24 16:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661824)'), GeomFromEWKT('SRID=4674;POINT (-39.698319 -2.661819)'))) / (select extract(epoch from '2026-07-24 16:35:46'::timestamp) - extract(epoch from '2026-07-24 16:35:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698313 -2.661829)', '2026-07-24 16:36:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698319 -2.661819)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661829)'))) / (select extract(epoch from '2026-07-24 16:36:40'::timestamp) - extract(epoch from '2026-07-24 16:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698319 -2.661819)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661829)'))) / (select extract(epoch from '2026-07-24 16:36:40'::timestamp) - extract(epoch from '2026-07-24 16:35:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698308 -2.661826)', '2026-07-24 16:37:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661829)'), GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661826)'))) / (select extract(epoch from '2026-07-24 16:37:05'::timestamp) - extract(epoch from '2026-07-24 16:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661829)'), GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661826)'))) / (select extract(epoch from '2026-07-24 16:37:05'::timestamp) - extract(epoch from '2026-07-24 16:36:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698305 -2.661817)', '2026-07-24 16:37:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661826)'), GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661817)'))) / (select extract(epoch from '2026-07-24 16:37:23'::timestamp) - extract(epoch from '2026-07-24 16:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661826)'), GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661817)'))) / (select extract(epoch from '2026-07-24 16:37:23'::timestamp) - extract(epoch from '2026-07-24 16:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698305 -2.661823)', '2026-07-24 16:37:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661817)'), GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661823)'))) / (select extract(epoch from '2026-07-24 16:37:28'::timestamp) - extract(epoch from '2026-07-24 16:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661817)'), GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661823)'))) / (select extract(epoch from '2026-07-24 16:37:28'::timestamp) - extract(epoch from '2026-07-24 16:37:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698317 -2.661827)', '2026-07-24 16:37:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661823)'), GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661827)'))) / (select extract(epoch from '2026-07-24 16:37:58'::timestamp) - extract(epoch from '2026-07-24 16:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661823)'), GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661827)'))) / (select extract(epoch from '2026-07-24 16:37:58'::timestamp) - extract(epoch from '2026-07-24 16:37: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'), 47870, 'SRID=4674;POINT (-39.698323 -2.661827)', '2026-07-24 16:38:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661827)'), GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661827)'))) / (select extract(epoch from '2026-07-24 16:38:09'::timestamp) - extract(epoch from '2026-07-24 16:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698317 -2.661827)'), GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661827)'))) / (select extract(epoch from '2026-07-24 16:38:09'::timestamp) - extract(epoch from '2026-07-24 16:37: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'), 47870, 'SRID=4674;POINT (-39.698315 -2.661819)', '2026-07-24 16:38:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661827)'), GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661819)'))) / (select extract(epoch from '2026-07-24 16:38:20'::timestamp) - extract(epoch from '2026-07-24 16:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661827)'), GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661819)'))) / (select extract(epoch from '2026-07-24 16:38:20'::timestamp) - extract(epoch from '2026-07-24 16:38: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'), 47870, 'SRID=4674;POINT (-39.698314 -2.661821)', '2026-07-24 16:38:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661819)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661821)'))) / (select extract(epoch from '2026-07-24 16:38:24'::timestamp) - extract(epoch from '2026-07-24 16:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661819)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661821)'))) / (select extract(epoch from '2026-07-24 16:38:24'::timestamp) - extract(epoch from '2026-07-24 16:38: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'), 47870, 'SRID=4674;POINT (-39.698321 -2.661823)', '2026-07-24 16:39:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661821)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661823)'))) / (select extract(epoch from '2026-07-24 16:39:00'::timestamp) - extract(epoch from '2026-07-24 16:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661821)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661823)'))) / (select extract(epoch from '2026-07-24 16:39:00'::timestamp) - extract(epoch from '2026-07-24 16:38: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'), 47870, 'SRID=4674;POINT (-39.698324 -2.661836)', '2026-07-24 16:39:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661823)'), GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661836)'))) / (select extract(epoch from '2026-07-24 16:39:18'::timestamp) - extract(epoch from '2026-07-24 16:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661823)'), GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661836)'))) / (select extract(epoch from '2026-07-24 16:39:18'::timestamp) - extract(epoch from '2026-07-24 16:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698325 -2.661846)', '2026-07-24 16:40:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661836)'), GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661846)'))) / (select extract(epoch from '2026-07-24 16:40:20'::timestamp) - extract(epoch from '2026-07-24 16:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661836)'), GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661846)'))) / (select extract(epoch from '2026-07-24 16:40:20'::timestamp) - extract(epoch from '2026-07-24 16:39: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'), 47870, 'SRID=4674;POINT (-39.69832 -2.661846)', '2026-07-24 16:40:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661846)'), GeomFromEWKT('SRID=4674;POINT (-39.69832 -2.661846)'))) / (select extract(epoch from '2026-07-24 16:40:43'::timestamp) - extract(epoch from '2026-07-24 16:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661846)'), GeomFromEWKT('SRID=4674;POINT (-39.69832 -2.661846)'))) / (select extract(epoch from '2026-07-24 16:40:43'::timestamp) - extract(epoch from '2026-07-24 16:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698321 -2.661853)', '2026-07-24 16:41:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69832 -2.661846)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661853)'))) / (select extract(epoch from '2026-07-24 16:41:23'::timestamp) - extract(epoch from '2026-07-24 16:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69832 -2.661846)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661853)'))) / (select extract(epoch from '2026-07-24 16:41:23'::timestamp) - extract(epoch from '2026-07-24 16:40: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'), 47870, 'SRID=4674;POINT (-39.698323 -2.661858)', '2026-07-24 16:42:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661853)'), GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661858)'))) / (select extract(epoch from '2026-07-24 16:42:31'::timestamp) - extract(epoch from '2026-07-24 16:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661853)'), GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661858)'))) / (select extract(epoch from '2026-07-24 16:42:31'::timestamp) - extract(epoch from '2026-07-24 16:41: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'), 47870, 'SRID=4674;POINT (-39.698327 -2.661866)', '2026-07-24 16:44:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661858)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661866)'))) / (select extract(epoch from '2026-07-24 16:44:12'::timestamp) - extract(epoch from '2026-07-24 16:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661858)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661866)'))) / (select extract(epoch from '2026-07-24 16:44:12'::timestamp) - extract(epoch from '2026-07-24 16:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698326 -2.661871)', '2026-07-24 16:44:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661866)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661871)'))) / (select extract(epoch from '2026-07-24 16:44:20'::timestamp) - extract(epoch from '2026-07-24 16:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661866)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661871)'))) / (select extract(epoch from '2026-07-24 16:44:20'::timestamp) - extract(epoch from '2026-07-24 16:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698326 -2.661857)', '2026-07-24 16:46:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661871)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661857)'))) / (select extract(epoch from '2026-07-24 16:46:46'::timestamp) - extract(epoch from '2026-07-24 16:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661871)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661857)'))) / (select extract(epoch from '2026-07-24 16:46:46'::timestamp) - extract(epoch from '2026-07-24 16:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698327 -2.661848)', '2026-07-24 16:48:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661857)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661848)'))) / (select extract(epoch from '2026-07-24 16:48:49'::timestamp) - extract(epoch from '2026-07-24 16:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661857)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661848)'))) / (select extract(epoch from '2026-07-24 16:48:49'::timestamp) - extract(epoch from '2026-07-24 16:46: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'), 47870, 'SRID=4674;POINT (-39.698322 -2.661858)', '2026-07-24 16:49:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661848)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661858)'))) / (select extract(epoch from '2026-07-24 16:49:35'::timestamp) - extract(epoch from '2026-07-24 16:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661848)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661858)'))) / (select extract(epoch from '2026-07-24 16:49:35'::timestamp) - extract(epoch from '2026-07-24 16:48: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'), 47870, 'SRID=4674;POINT (-39.698325 -2.661861)', '2026-07-24 16:49:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661858)'), GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661861)'))) / (select extract(epoch from '2026-07-24 16:49:52'::timestamp) - extract(epoch from '2026-07-24 16:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661858)'), GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661861)'))) / (select extract(epoch from '2026-07-24 16:49:52'::timestamp) - extract(epoch from '2026-07-24 16:49: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'), 47870, 'SRID=4674;POINT (-39.698326 -2.661871)', '2026-07-24 16:50:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661861)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661871)'))) / (select extract(epoch from '2026-07-24 16:50:28'::timestamp) - extract(epoch from '2026-07-24 16:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661861)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661871)'))) / (select extract(epoch from '2026-07-24 16:50:28'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.698321 -2.661877)', '2026-07-24 16:50:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661871)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661877)'))) / (select extract(epoch from '2026-07-24 16:50:49'::timestamp) - extract(epoch from '2026-07-24 16:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661871)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661877)'))) / (select extract(epoch from '2026-07-24 16:50:49'::timestamp) - extract(epoch from '2026-07-24 16:50:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698326 -2.661881)', '2026-07-24 16:50:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661877)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661881)'))) / (select extract(epoch from '2026-07-24 16:50:53'::timestamp) - extract(epoch from '2026-07-24 16:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661877)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661881)'))) / (select extract(epoch from '2026-07-24 16:50:53'::timestamp) - extract(epoch from '2026-07-24 16:50:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698337 -2.661897)', '2026-07-24 16:51:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661881)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661897)'))) / (select extract(epoch from '2026-07-24 16:51:54'::timestamp) - extract(epoch from '2026-07-24 16:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661881)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661897)'))) / (select extract(epoch from '2026-07-24 16:51:54'::timestamp) - extract(epoch from '2026-07-24 16:50: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'), 47870, 'SRID=4674;POINT (-39.698331 -2.66189)', '2026-07-24 16:52:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661897)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.66189)'))) / (select extract(epoch from '2026-07-24 16:52:10'::timestamp) - extract(epoch from '2026-07-24 16:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661897)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.66189)'))) / (select extract(epoch from '2026-07-24 16:52:10'::timestamp) - extract(epoch from '2026-07-24 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'), 47870, 'SRID=4674;POINT (-39.698344 -2.661889)', '2026-07-24 16:52:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.66189)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661889)'))) / (select extract(epoch from '2026-07-24 16:52:35'::timestamp) - extract(epoch from '2026-07-24 16:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.66189)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661889)'))) / (select extract(epoch from '2026-07-24 16:52:35'::timestamp) - extract(epoch from '2026-07-24 16:52: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'), 47870, 'SRID=4674;POINT (-39.698337 -2.661888)', '2026-07-24 16:52:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661889)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661888)'))) / (select extract(epoch from '2026-07-24 16:52:43'::timestamp) - extract(epoch from '2026-07-24 16:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661889)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661888)'))) / (select extract(epoch from '2026-07-24 16:52:43'::timestamp) - extract(epoch from '2026-07-24 16:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698334 -2.661907)', '2026-07-24 16:53:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661888)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661907)'))) / (select extract(epoch from '2026-07-24 16:53:11'::timestamp) - extract(epoch from '2026-07-24 16:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661888)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661907)'))) / (select extract(epoch from '2026-07-24 16:53:11'::timestamp) - extract(epoch from '2026-07-24 16:52: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'), 47870, 'SRID=4674;POINT (-39.69833 -2.661894)', '2026-07-24 16:54:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661907)'), GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661894)'))) / (select extract(epoch from '2026-07-24 16:54:26'::timestamp) - extract(epoch from '2026-07-24 16:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661907)'), GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661894)'))) / (select extract(epoch from '2026-07-24 16:54:26'::timestamp) - extract(epoch from '2026-07-24 16:53:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698323 -2.661897)', '2026-07-24 16:54:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661894)'), GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661897)'))) / (select extract(epoch from '2026-07-24 16:54:52'::timestamp) - extract(epoch from '2026-07-24 16:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661894)'), GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661897)'))) / (select extract(epoch from '2026-07-24 16:54:52'::timestamp) - extract(epoch from '2026-07-24 16:54: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'), 47870, 'SRID=4674;POINT (-39.698322 -2.661887)', '2026-07-24 16:55:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661897)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661887)'))) / (select extract(epoch from '2026-07-24 16:55:28'::timestamp) - extract(epoch from '2026-07-24 16:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698323 -2.661897)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661887)'))) / (select extract(epoch from '2026-07-24 16:55:28'::timestamp) - extract(epoch from '2026-07-24 16:54: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'), 47870, 'SRID=4674;POINT (-39.698322 -2.661876)', '2026-07-24 16:56:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661887)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661876)'))) / (select extract(epoch from '2026-07-24 16:56:25'::timestamp) - extract(epoch from '2026-07-24 16:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661887)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661876)'))) / (select extract(epoch from '2026-07-24 16:56:25'::timestamp) - extract(epoch from '2026-07-24 16:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698308 -2.661846)', '2026-07-24 16:57:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661876)'), GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661846)'))) / (select extract(epoch from '2026-07-24 16:57:38'::timestamp) - extract(epoch from '2026-07-24 16:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661876)'), GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661846)'))) / (select extract(epoch from '2026-07-24 16:57:38'::timestamp) - extract(epoch from '2026-07-24 16:56:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698312 -2.66184)', '2026-07-24 16:57:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661846)'), GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.66184)'))) / (select extract(epoch from '2026-07-24 16:57:59'::timestamp) - extract(epoch from '2026-07-24 16:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661846)'), GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.66184)'))) / (select extract(epoch from '2026-07-24 16:57:59'::timestamp) - extract(epoch from '2026-07-24 16:57: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'), 47870, 'SRID=4674;POINT (-39.698314 -2.661851)', '2026-07-24 16:59:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.66184)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661851)'))) / (select extract(epoch from '2026-07-24 16:59:14'::timestamp) - extract(epoch from '2026-07-24 16:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.66184)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661851)'))) / (select extract(epoch from '2026-07-24 16:59:14'::timestamp) - extract(epoch from '2026-07-24 16:57: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'), 47870, 'SRID=4674;POINT (-39.698322 -2.661857)', '2026-07-24 16:59:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661851)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661857)'))) / (select extract(epoch from '2026-07-24 16:59:19'::timestamp) - extract(epoch from '2026-07-24 16:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661851)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661857)'))) / (select extract(epoch from '2026-07-24 16:59:19'::timestamp) - extract(epoch from '2026-07-24 16:59: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'), 47870, 'SRID=4674;POINT (-39.698289 -2.661814)', '2026-07-24 17:01:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661857)'), GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661814)'))) / (select extract(epoch from '2026-07-24 17:01:58'::timestamp) - extract(epoch from '2026-07-24 16:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661857)'), GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661814)'))) / (select extract(epoch from '2026-07-24 17:01:58'::timestamp) - extract(epoch from '2026-07-24 16:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69829 -2.661787)', '2026-07-24 17:02:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661814)'), GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661787)'))) / (select extract(epoch from '2026-07-24 17:02:44'::timestamp) - extract(epoch from '2026-07-24 17:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661814)'), GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661787)'))) / (select extract(epoch from '2026-07-24 17:02:44'::timestamp) - extract(epoch from '2026-07-24 17:01: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'), 47870, 'SRID=4674;POINT (-39.698311 -2.661802)', '2026-07-24 17:03:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661787)'), GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661802)'))) / (select extract(epoch from '2026-07-24 17:03:23'::timestamp) - extract(epoch from '2026-07-24 17:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661787)'), GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661802)'))) / (select extract(epoch from '2026-07-24 17:03:23'::timestamp) - extract(epoch from '2026-07-24 17:02: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'), 47870, 'SRID=4674;POINT (-39.698297 -2.661796)', '2026-07-24 17:03:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661802)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661796)'))) / (select extract(epoch from '2026-07-24 17:03:49'::timestamp) - extract(epoch from '2026-07-24 17:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698311 -2.661802)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661796)'))) / (select extract(epoch from '2026-07-24 17:03:49'::timestamp) - extract(epoch from '2026-07-24 17:03: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'), 47870, 'SRID=4674;POINT (-39.698298 -2.661797)', '2026-07-24 17:03:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661796)'), GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.661797)'))) / (select extract(epoch from '2026-07-24 17:03:55'::timestamp) - extract(epoch from '2026-07-24 17:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661796)'), GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.661797)'))) / (select extract(epoch from '2026-07-24 17:03:55'::timestamp) - extract(epoch from '2026-07-24 17:03: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'), 47870, 'SRID=4674;POINT (-39.698301 -2.661796)', '2026-07-24 17:04:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.661797)'), GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661796)'))) / (select extract(epoch from '2026-07-24 17:04:23'::timestamp) - extract(epoch from '2026-07-24 17:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.661797)'), GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661796)'))) / (select extract(epoch from '2026-07-24 17:04:23'::timestamp) - extract(epoch from '2026-07-24 17:03: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'), 47870, 'SRID=4674;POINT (-39.69831 -2.661802)', '2026-07-24 17:04:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661796)'), GeomFromEWKT('SRID=4674;POINT (-39.69831 -2.661802)'))) / (select extract(epoch from '2026-07-24 17:04:59'::timestamp) - extract(epoch from '2026-07-24 17:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661796)'), GeomFromEWKT('SRID=4674;POINT (-39.69831 -2.661802)'))) / (select extract(epoch from '2026-07-24 17:04:59'::timestamp) - extract(epoch from '2026-07-24 17:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698307 -2.661812)', '2026-07-24 17:05:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69831 -2.661802)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661812)'))) / (select extract(epoch from '2026-07-24 17:05:08'::timestamp) - extract(epoch from '2026-07-24 17:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69831 -2.661802)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661812)'))) / (select extract(epoch from '2026-07-24 17:05:08'::timestamp) - extract(epoch from '2026-07-24 17:04: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'), 47870, 'SRID=4674;POINT (-39.698307 -2.661817)', '2026-07-24 17:05:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661812)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661817)'))) / (select extract(epoch from '2026-07-24 17:05:24'::timestamp) - extract(epoch from '2026-07-24 17:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661812)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661817)'))) / (select extract(epoch from '2026-07-24 17:05:24'::timestamp) - extract(epoch from '2026-07-24 17:05: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'), 47870, 'SRID=4674;POINT (-39.698295 -2.661808)', '2026-07-24 17:07:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661817)'), GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661808)'))) / (select extract(epoch from '2026-07-24 17:07:52'::timestamp) - extract(epoch from '2026-07-24 17:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661817)'), GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661808)'))) / (select extract(epoch from '2026-07-24 17:07:52'::timestamp) - extract(epoch from '2026-07-24 17:05: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'), 47870, 'SRID=4674;POINT (-39.698294 -2.661806)', '2026-07-24 17:07:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661808)'), GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.661806)'))) / (select extract(epoch from '2026-07-24 17:07:58'::timestamp) - extract(epoch from '2026-07-24 17:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661808)'), GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.661806)'))) / (select extract(epoch from '2026-07-24 17:07:58'::timestamp) - extract(epoch from '2026-07-24 17:07: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'), 47870, 'SRID=4674;POINT (-39.698279 -2.661778)', '2026-07-24 17:09:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.661806)'), GeomFromEWKT('SRID=4674;POINT (-39.698279 -2.661778)'))) / (select extract(epoch from '2026-07-24 17:09:15'::timestamp) - extract(epoch from '2026-07-24 17:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.661806)'), GeomFromEWKT('SRID=4674;POINT (-39.698279 -2.661778)'))) / (select extract(epoch from '2026-07-24 17:09:15'::timestamp) - extract(epoch from '2026-07-24 17:07: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'), 47870, 'SRID=4674;POINT (-39.698275 -2.661772)', '2026-07-24 17:09:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698279 -2.661778)'), GeomFromEWKT('SRID=4674;POINT (-39.698275 -2.661772)'))) / (select extract(epoch from '2026-07-24 17:09:49'::timestamp) - extract(epoch from '2026-07-24 17:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698279 -2.661778)'), GeomFromEWKT('SRID=4674;POINT (-39.698275 -2.661772)'))) / (select extract(epoch from '2026-07-24 17:09:49'::timestamp) - extract(epoch from '2026-07-24 17:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698268 -2.661774)', '2026-07-24 17:09:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698275 -2.661772)'), GeomFromEWKT('SRID=4674;POINT (-39.698268 -2.661774)'))) / (select extract(epoch from '2026-07-24 17:09:56'::timestamp) - extract(epoch from '2026-07-24 17:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698275 -2.661772)'), GeomFromEWKT('SRID=4674;POINT (-39.698268 -2.661774)'))) / (select extract(epoch from '2026-07-24 17:09:56'::timestamp) - extract(epoch from '2026-07-24 17:09: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'), 47870, 'SRID=4674;POINT (-39.698301 -2.661803)', '2026-07-24 17:11:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698268 -2.661774)'), GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661803)'))) / (select extract(epoch from '2026-07-24 17:11:09'::timestamp) - extract(epoch from '2026-07-24 17:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698268 -2.661774)'), GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661803)'))) / (select extract(epoch from '2026-07-24 17:11:09'::timestamp) - extract(epoch from '2026-07-24 17:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698303 -2.661806)', '2026-07-24 17:12:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661803)'), GeomFromEWKT('SRID=4674;POINT (-39.698303 -2.661806)'))) / (select extract(epoch from '2026-07-24 17:12:07'::timestamp) - extract(epoch from '2026-07-24 17:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661803)'), GeomFromEWKT('SRID=4674;POINT (-39.698303 -2.661806)'))) / (select extract(epoch from '2026-07-24 17:12:07'::timestamp) - extract(epoch from '2026-07-24 17:11: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'), 47870, 'SRID=4674;POINT (-39.698289 -2.661791)', '2026-07-24 17:13:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698303 -2.661806)'), GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661791)'))) / (select extract(epoch from '2026-07-24 17:13:02'::timestamp) - extract(epoch from '2026-07-24 17:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698303 -2.661806)'), GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661791)'))) / (select extract(epoch from '2026-07-24 17:13:02'::timestamp) - extract(epoch from '2026-07-24 17:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698281 -2.661789)', '2026-07-24 17:13:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661791)'), GeomFromEWKT('SRID=4674;POINT (-39.698281 -2.661789)'))) / (select extract(epoch from '2026-07-24 17:13:28'::timestamp) - extract(epoch from '2026-07-24 17:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661791)'), GeomFromEWKT('SRID=4674;POINT (-39.698281 -2.661789)'))) / (select extract(epoch from '2026-07-24 17:13:28'::timestamp) - extract(epoch from '2026-07-24 17:13: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'), 47870, 'SRID=4674;POINT (-39.698286 -2.661788)', '2026-07-24 17:13:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698281 -2.661789)'), GeomFromEWKT('SRID=4674;POINT (-39.698286 -2.661788)'))) / (select extract(epoch from '2026-07-24 17:13:38'::timestamp) - extract(epoch from '2026-07-24 17:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698281 -2.661789)'), GeomFromEWKT('SRID=4674;POINT (-39.698286 -2.661788)'))) / (select extract(epoch from '2026-07-24 17:13:38'::timestamp) - extract(epoch from '2026-07-24 17:13: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'), 47870, 'SRID=4674;POINT (-39.698284 -2.66179)', '2026-07-24 17:13:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698286 -2.661788)'), GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.66179)'))) / (select extract(epoch from '2026-07-24 17:13:57'::timestamp) - extract(epoch from '2026-07-24 17:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698286 -2.661788)'), GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.66179)'))) / (select extract(epoch from '2026-07-24 17:13:57'::timestamp) - extract(epoch from '2026-07-24 17:13: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'), 47870, 'SRID=4674;POINT (-39.698278 -2.661802)', '2026-07-24 17:14:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.66179)'), GeomFromEWKT('SRID=4674;POINT (-39.698278 -2.661802)'))) / (select extract(epoch from '2026-07-24 17:14:17'::timestamp) - extract(epoch from '2026-07-24 17:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.66179)'), GeomFromEWKT('SRID=4674;POINT (-39.698278 -2.661802)'))) / (select extract(epoch from '2026-07-24 17:14:17'::timestamp) - extract(epoch from '2026-07-24 17:13: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'), 47870, 'SRID=4674;POINT (-39.698282 -2.661787)', '2026-07-24 17:15:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698278 -2.661802)'), GeomFromEWKT('SRID=4674;POINT (-39.698282 -2.661787)'))) / (select extract(epoch from '2026-07-24 17:15:21'::timestamp) - extract(epoch from '2026-07-24 17:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698278 -2.661802)'), GeomFromEWKT('SRID=4674;POINT (-39.698282 -2.661787)'))) / (select extract(epoch from '2026-07-24 17:15:21'::timestamp) - extract(epoch from '2026-07-24 17:14: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'), 47870, 'SRID=4674;POINT (-39.69829 -2.661791)', '2026-07-24 17:15:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698282 -2.661787)'), GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661791)'))) / (select extract(epoch from '2026-07-24 17:15:53'::timestamp) - extract(epoch from '2026-07-24 17:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698282 -2.661787)'), GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661791)'))) / (select extract(epoch from '2026-07-24 17:15:53'::timestamp) - extract(epoch from '2026-07-24 17:15: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'), 47870, 'SRID=4674;POINT (-39.698296 -2.661797)', '2026-07-24 17:16:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661791)'), GeomFromEWKT('SRID=4674;POINT (-39.698296 -2.661797)'))) / (select extract(epoch from '2026-07-24 17:16:06'::timestamp) - extract(epoch from '2026-07-24 17:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661791)'), GeomFromEWKT('SRID=4674;POINT (-39.698296 -2.661797)'))) / (select extract(epoch from '2026-07-24 17:16:06'::timestamp) - extract(epoch from '2026-07-24 17:15: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'), 47870, 'SRID=4674;POINT (-39.698294 -2.661793)', '2026-07-24 17:16:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698296 -2.661797)'), GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.661793)'))) / (select extract(epoch from '2026-07-24 17:16:16'::timestamp) - extract(epoch from '2026-07-24 17:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698296 -2.661797)'), GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.661793)'))) / (select extract(epoch from '2026-07-24 17:16:16'::timestamp) - extract(epoch from '2026-07-24 17:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.6983 -2.661811)', '2026-07-24 17:19:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.661793)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661811)'))) / (select extract(epoch from '2026-07-24 17:19:03'::timestamp) - extract(epoch from '2026-07-24 17:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698294 -2.661793)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661811)'))) / (select extract(epoch from '2026-07-24 17:19:03'::timestamp) - extract(epoch from '2026-07-24 17:16: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'), 47870, 'SRID=4674;POINT (-39.698302 -2.661822)', '2026-07-24 17:19:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661811)'), GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.661822)'))) / (select extract(epoch from '2026-07-24 17:19:15'::timestamp) - extract(epoch from '2026-07-24 17:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661811)'), GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.661822)'))) / (select extract(epoch from '2026-07-24 17:19:15'::timestamp) - extract(epoch from '2026-07-24 17:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698307 -2.661825)', '2026-07-24 17:19:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.661822)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661825)'))) / (select extract(epoch from '2026-07-24 17:19:59'::timestamp) - extract(epoch from '2026-07-24 17:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.661822)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661825)'))) / (select extract(epoch from '2026-07-24 17:19:59'::timestamp) - extract(epoch from '2026-07-24 17:19: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'), 47870, 'SRID=4674;POINT (-39.698313 -2.661835)', '2026-07-24 17:20:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661825)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661835)'))) / (select extract(epoch from '2026-07-24 17:20:47'::timestamp) - extract(epoch from '2026-07-24 17:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661825)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661835)'))) / (select extract(epoch from '2026-07-24 17:20:47'::timestamp) - extract(epoch from '2026-07-24 17:19: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'), 47870, 'SRID=4674;POINT (-39.698312 -2.661844)', '2026-07-24 17:20:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661835)'), GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.661844)'))) / (select extract(epoch from '2026-07-24 17:20:55'::timestamp) - extract(epoch from '2026-07-24 17:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661835)'), GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.661844)'))) / (select extract(epoch from '2026-07-24 17:20:55'::timestamp) - extract(epoch from '2026-07-24 17:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698325 -2.661818)', '2026-07-24 17:23:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.661844)'), GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661818)'))) / (select extract(epoch from '2026-07-24 17:23:26'::timestamp) - extract(epoch from '2026-07-24 17:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698312 -2.661844)'), GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661818)'))) / (select extract(epoch from '2026-07-24 17:23:26'::timestamp) - extract(epoch from '2026-07-24 17:20: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'), 47870, 'SRID=4674;POINT (-39.698307 -2.661823)', '2026-07-24 17:23:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661818)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661823)'))) / (select extract(epoch from '2026-07-24 17:23:34'::timestamp) - extract(epoch from '2026-07-24 17:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661818)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661823)'))) / (select extract(epoch from '2026-07-24 17:23:34'::timestamp) - extract(epoch from '2026-07-24 17:23: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'), 47870, 'SRID=4674;POINT (-39.698304 -2.661811)', '2026-07-24 17:24:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661823)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661811)'))) / (select extract(epoch from '2026-07-24 17:24:18'::timestamp) - extract(epoch from '2026-07-24 17:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661823)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661811)'))) / (select extract(epoch from '2026-07-24 17:24:18'::timestamp) - extract(epoch from '2026-07-24 17:23: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'), 47870, 'SRID=4674;POINT (-39.698299 -2.661813)', '2026-07-24 17:24:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661811)'), GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661813)'))) / (select extract(epoch from '2026-07-24 17:24:29'::timestamp) - extract(epoch from '2026-07-24 17:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661811)'), GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661813)'))) / (select extract(epoch from '2026-07-24 17:24:29'::timestamp) - extract(epoch from '2026-07-24 17:24: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'), 47870, 'SRID=4674;POINT (-39.698302 -2.661823)', '2026-07-24 17:26:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661813)'), GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.661823)'))) / (select extract(epoch from '2026-07-24 17:26:55'::timestamp) - extract(epoch from '2026-07-24 17:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661813)'), GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.661823)'))) / (select extract(epoch from '2026-07-24 17:26:55'::timestamp) - extract(epoch from '2026-07-24 17:24: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'), 47870, 'SRID=4674;POINT (-39.698299 -2.661812)', '2026-07-24 17:28:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.661823)'), GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661812)'))) / (select extract(epoch from '2026-07-24 17:28:12'::timestamp) - extract(epoch from '2026-07-24 17:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698302 -2.661823)'), GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661812)'))) / (select extract(epoch from '2026-07-24 17:28:12'::timestamp) - extract(epoch from '2026-07-24 17:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698297 -2.661813)', '2026-07-24 17:28:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661812)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661813)'))) / (select extract(epoch from '2026-07-24 17:28:26'::timestamp) - extract(epoch from '2026-07-24 17:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661812)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661813)'))) / (select extract(epoch from '2026-07-24 17:28:26'::timestamp) - extract(epoch from '2026-07-24 17:28: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'), 47870, 'SRID=4674;POINT (-39.698297 -2.661814)', '2026-07-24 17:28:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661813)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661814)'))) / (select extract(epoch from '2026-07-24 17:28:39'::timestamp) - extract(epoch from '2026-07-24 17:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661813)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661814)'))) / (select extract(epoch from '2026-07-24 17:28:39'::timestamp) - extract(epoch from '2026-07-24 17:28: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'), 47870, 'SRID=4674;POINT (-39.69831 -2.661816)', '2026-07-24 17:28:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661814)'), GeomFromEWKT('SRID=4674;POINT (-39.69831 -2.661816)'))) / (select extract(epoch from '2026-07-24 17:28:54'::timestamp) - extract(epoch from '2026-07-24 17:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661814)'), GeomFromEWKT('SRID=4674;POINT (-39.69831 -2.661816)'))) / (select extract(epoch from '2026-07-24 17:28:54'::timestamp) - extract(epoch from '2026-07-24 17:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698307 -2.661824)', '2026-07-24 17:29:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69831 -2.661816)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661824)'))) / (select extract(epoch from '2026-07-24 17:29:27'::timestamp) - extract(epoch from '2026-07-24 17:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69831 -2.661816)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661824)'))) / (select extract(epoch from '2026-07-24 17:29:27'::timestamp) - extract(epoch from '2026-07-24 17:28: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'), 47870, 'SRID=4674;POINT (-39.698304 -2.661822)', '2026-07-24 17:30:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661824)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661822)'))) / (select extract(epoch from '2026-07-24 17:30:19'::timestamp) - extract(epoch from '2026-07-24 17:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.661824)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661822)'))) / (select extract(epoch from '2026-07-24 17:30:19'::timestamp) - extract(epoch from '2026-07-24 17:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69829 -2.661797)', '2026-07-24 17:30:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661822)'), GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661797)'))) / (select extract(epoch from '2026-07-24 17:30:52'::timestamp) - extract(epoch from '2026-07-24 17:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661822)'), GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661797)'))) / (select extract(epoch from '2026-07-24 17:30:52'::timestamp) - extract(epoch from '2026-07-24 17:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698292 -2.661798)', '2026-07-24 17:30:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661797)'), GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661798)'))) / (select extract(epoch from '2026-07-24 17:30:58'::timestamp) - extract(epoch from '2026-07-24 17:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69829 -2.661797)'), GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661798)'))) / (select extract(epoch from '2026-07-24 17:30:58'::timestamp) - extract(epoch from '2026-07-24 17:30: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'), 47870, 'SRID=4674;POINT (-39.698297 -2.661804)', '2026-07-24 17:31:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661798)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661804)'))) / (select extract(epoch from '2026-07-24 17:31:06'::timestamp) - extract(epoch from '2026-07-24 17:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661798)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661804)'))) / (select extract(epoch from '2026-07-24 17:31:06'::timestamp) - extract(epoch from '2026-07-24 17:30: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'), 47870, 'SRID=4674;POINT (-39.698289 -2.661808)', '2026-07-24 17:31:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661804)'), GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661808)'))) / (select extract(epoch from '2026-07-24 17:31:16'::timestamp) - extract(epoch from '2026-07-24 17:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661804)'), GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661808)'))) / (select extract(epoch from '2026-07-24 17:31:16'::timestamp) - extract(epoch from '2026-07-24 17:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698309 -2.661823)', '2026-07-24 17:31:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661808)'), GeomFromEWKT('SRID=4674;POINT (-39.698309 -2.661823)'))) / (select extract(epoch from '2026-07-24 17:31:50'::timestamp) - extract(epoch from '2026-07-24 17:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698289 -2.661808)'), GeomFromEWKT('SRID=4674;POINT (-39.698309 -2.661823)'))) / (select extract(epoch from '2026-07-24 17:31:50'::timestamp) - extract(epoch from '2026-07-24 17:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698304 -2.661804)', '2026-07-24 17:32:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698309 -2.661823)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661804)'))) / (select extract(epoch from '2026-07-24 17:32:30'::timestamp) - extract(epoch from '2026-07-24 17:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698309 -2.661823)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661804)'))) / (select extract(epoch from '2026-07-24 17:32:30'::timestamp) - extract(epoch from '2026-07-24 17:31: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'), 47870, 'SRID=4674;POINT (-39.698297 -2.661793)', '2026-07-24 17:32:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661804)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661793)'))) / (select extract(epoch from '2026-07-24 17:32:48'::timestamp) - extract(epoch from '2026-07-24 17:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661804)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661793)'))) / (select extract(epoch from '2026-07-24 17:32:48'::timestamp) - extract(epoch from '2026-07-24 17:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698299 -2.661807)', '2026-07-24 17:33:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661793)'), GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661807)'))) / (select extract(epoch from '2026-07-24 17:33:43'::timestamp) - extract(epoch from '2026-07-24 17:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661793)'), GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661807)'))) / (select extract(epoch from '2026-07-24 17:33:43'::timestamp) - extract(epoch from '2026-07-24 17:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698286 -2.6618)', '2026-07-24 17:34:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661807)'), GeomFromEWKT('SRID=4674;POINT (-39.698286 -2.6618)'))) / (select extract(epoch from '2026-07-24 17:34:20'::timestamp) - extract(epoch from '2026-07-24 17:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661807)'), GeomFromEWKT('SRID=4674;POINT (-39.698286 -2.6618)'))) / (select extract(epoch from '2026-07-24 17:34:20'::timestamp) - extract(epoch from '2026-07-24 17:33: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'), 47870, 'SRID=4674;POINT (-39.698295 -2.661818)', '2026-07-24 17:34:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698286 -2.6618)'), GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661818)'))) / (select extract(epoch from '2026-07-24 17:34:58'::timestamp) - extract(epoch from '2026-07-24 17:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698286 -2.6618)'), GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661818)'))) / (select extract(epoch from '2026-07-24 17:34:58'::timestamp) - extract(epoch from '2026-07-24 17:34: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'), 47870, 'SRID=4674;POINT (-39.698301 -2.661827)', '2026-07-24 17:35:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661818)'), GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661827)'))) / (select extract(epoch from '2026-07-24 17:35:09'::timestamp) - extract(epoch from '2026-07-24 17:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661818)'), GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661827)'))) / (select extract(epoch from '2026-07-24 17:35:09'::timestamp) - extract(epoch from '2026-07-24 17:34: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'), 47870, 'SRID=4674;POINT (-39.698309 -2.661826)', '2026-07-24 17:35:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661827)'), GeomFromEWKT('SRID=4674;POINT (-39.698309 -2.661826)'))) / (select extract(epoch from '2026-07-24 17:35:24'::timestamp) - extract(epoch from '2026-07-24 17:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698301 -2.661827)'), GeomFromEWKT('SRID=4674;POINT (-39.698309 -2.661826)'))) / (select extract(epoch from '2026-07-24 17:35:24'::timestamp) - extract(epoch from '2026-07-24 17:35: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'), 47870, 'SRID=4674;POINT (-39.698314 -2.661831)', '2026-07-24 17:35:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698309 -2.661826)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661831)'))) / (select extract(epoch from '2026-07-24 17:35:43'::timestamp) - extract(epoch from '2026-07-24 17:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698309 -2.661826)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661831)'))) / (select extract(epoch from '2026-07-24 17:35:43'::timestamp) - extract(epoch from '2026-07-24 17:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698333 -2.661857)', '2026-07-24 17:37:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661831)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661857)'))) / (select extract(epoch from '2026-07-24 17:37:20'::timestamp) - extract(epoch from '2026-07-24 17:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661831)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661857)'))) / (select extract(epoch from '2026-07-24 17:37:20'::timestamp) - extract(epoch from '2026-07-24 17:35: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'), 47870, 'SRID=4674;POINT (-39.698321 -2.661853)', '2026-07-24 17:38:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661857)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661853)'))) / (select extract(epoch from '2026-07-24 17:38:25'::timestamp) - extract(epoch from '2026-07-24 17:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661857)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661853)'))) / (select extract(epoch from '2026-07-24 17:38:25'::timestamp) - extract(epoch from '2026-07-24 17:37: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'), 47870, 'SRID=4674;POINT (-39.698327 -2.66186)', '2026-07-24 17:38:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661853)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.66186)'))) / (select extract(epoch from '2026-07-24 17:38:43'::timestamp) - extract(epoch from '2026-07-24 17:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.661853)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.66186)'))) / (select extract(epoch from '2026-07-24 17:38:43'::timestamp) - extract(epoch from '2026-07-24 17:38: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'), 47870, 'SRID=4674;POINT (-39.698327 -2.661851)', '2026-07-24 17:40:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.66186)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661851)'))) / (select extract(epoch from '2026-07-24 17:40:32'::timestamp) - extract(epoch from '2026-07-24 17:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.66186)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661851)'))) / (select extract(epoch from '2026-07-24 17:40:32'::timestamp) - extract(epoch from '2026-07-24 17:38: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'), 47870, 'SRID=4674;POINT (-39.698326 -2.661847)', '2026-07-24 17:40:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661851)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661847)'))) / (select extract(epoch from '2026-07-24 17:40:43'::timestamp) - extract(epoch from '2026-07-24 17:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661851)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661847)'))) / (select extract(epoch from '2026-07-24 17:40:43'::timestamp) - extract(epoch from '2026-07-24 17:40: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'), 47870, 'SRID=4674;POINT (-39.69833 -2.661866)', '2026-07-24 17:41:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661847)'), GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661866)'))) / (select extract(epoch from '2026-07-24 17:41:18'::timestamp) - extract(epoch from '2026-07-24 17:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661847)'), GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661866)'))) / (select extract(epoch from '2026-07-24 17:41:18'::timestamp) - extract(epoch from '2026-07-24 17:40: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'), 47870, 'SRID=4674;POINT (-39.698329 -2.661864)', '2026-07-24 17:41:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661866)'), GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.661864)'))) / (select extract(epoch from '2026-07-24 17:41:34'::timestamp) - extract(epoch from '2026-07-24 17:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661866)'), GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.661864)'))) / (select extract(epoch from '2026-07-24 17:41:34'::timestamp) - extract(epoch from '2026-07-24 17:41: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'), 47870, 'SRID=4674;POINT (-39.698325 -2.661876)', '2026-07-24 17:42:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.661864)'), GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661876)'))) / (select extract(epoch from '2026-07-24 17:42:05'::timestamp) - extract(epoch from '2026-07-24 17:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.661864)'), GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661876)'))) / (select extract(epoch from '2026-07-24 17:42:05'::timestamp) - extract(epoch from '2026-07-24 17:41: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'), 47870, 'SRID=4674;POINT (-39.698328 -2.66189)', '2026-07-24 17:43:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661876)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66189)'))) / (select extract(epoch from '2026-07-24 17:43:47'::timestamp) - extract(epoch from '2026-07-24 17:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698325 -2.661876)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66189)'))) / (select extract(epoch from '2026-07-24 17:43:47'::timestamp) - extract(epoch from '2026-07-24 17:42: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'), 47870, 'SRID=4674;POINT (-39.698338 -2.661923)', '2026-07-24 17:46:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66189)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661923)'))) / (select extract(epoch from '2026-07-24 17:46:13'::timestamp) - extract(epoch from '2026-07-24 17:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66189)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661923)'))) / (select extract(epoch from '2026-07-24 17:46:13'::timestamp) - extract(epoch from '2026-07-24 17:43:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698339 -2.661934)', '2026-07-24 17:46:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661923)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661934)'))) / (select extract(epoch from '2026-07-24 17:46:48'::timestamp) - extract(epoch from '2026-07-24 17:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661923)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661934)'))) / (select extract(epoch from '2026-07-24 17:46:48'::timestamp) - extract(epoch from '2026-07-24 17:46: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'), 47870, 'SRID=4674;POINT (-39.698342 -2.66195)', '2026-07-24 17:47:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661934)'), GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.66195)'))) / (select extract(epoch from '2026-07-24 17:47:06'::timestamp) - extract(epoch from '2026-07-24 17:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661934)'), GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.66195)'))) / (select extract(epoch from '2026-07-24 17:47:06'::timestamp) - extract(epoch from '2026-07-24 17:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698344 -2.661951)', '2026-07-24 17:47:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.66195)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661951)'))) / (select extract(epoch from '2026-07-24 17:47:34'::timestamp) - extract(epoch from '2026-07-24 17:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.66195)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661951)'))) / (select extract(epoch from '2026-07-24 17:47:34'::timestamp) - extract(epoch from '2026-07-24 17:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698346 -2.661978)', '2026-07-24 17:48:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661951)'), GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661978)'))) / (select extract(epoch from '2026-07-24 17:48:43'::timestamp) - extract(epoch from '2026-07-24 17:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661951)'), GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661978)'))) / (select extract(epoch from '2026-07-24 17:48:43'::timestamp) - extract(epoch from '2026-07-24 17:47: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'), 47870, 'SRID=4674;POINT (-39.698342 -2.661958)', '2026-07-24 17:49:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661978)'), GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661958)'))) / (select extract(epoch from '2026-07-24 17:49:17'::timestamp) - extract(epoch from '2026-07-24 17:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661978)'), GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661958)'))) / (select extract(epoch from '2026-07-24 17:49:17'::timestamp) - extract(epoch from '2026-07-24 17:48: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'), 47870, 'SRID=4674;POINT (-39.698352 -2.661951)', '2026-07-24 17:49:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661958)'), GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661951)'))) / (select extract(epoch from '2026-07-24 17:49:51'::timestamp) - extract(epoch from '2026-07-24 17:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661958)'), GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661951)'))) / (select extract(epoch from '2026-07-24 17:49:51'::timestamp) - extract(epoch from '2026-07-24 17:49: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'), 47870, 'SRID=4674;POINT (-39.698342 -2.661958)', '2026-07-24 17:50:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661951)'), GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661958)'))) / (select extract(epoch from '2026-07-24 17:50:15'::timestamp) - extract(epoch from '2026-07-24 17:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661951)'), GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661958)'))) / (select extract(epoch from '2026-07-24 17:50:15'::timestamp) - extract(epoch from '2026-07-24 17:49: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'), 47870, 'SRID=4674;POINT (-39.698342 -2.661951)', '2026-07-24 17:50:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661958)'), GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661951)'))) / (select extract(epoch from '2026-07-24 17:50:51'::timestamp) - extract(epoch from '2026-07-24 17:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661958)'), GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661951)'))) / (select extract(epoch from '2026-07-24 17:50:51'::timestamp) - extract(epoch from '2026-07-24 17:50: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'), 47870, 'SRID=4674;POINT (-39.698342 -2.66195)', '2026-07-24 17:50:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661951)'), GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.66195)'))) / (select extract(epoch from '2026-07-24 17:50:59'::timestamp) - extract(epoch from '2026-07-24 17:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.661951)'), GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.66195)'))) / (select extract(epoch from '2026-07-24 17:50:59'::timestamp) - extract(epoch from '2026-07-24 17:50: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'), 47870, 'SRID=4674;POINT (-39.698343 -2.661947)', '2026-07-24 17:51:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.66195)'), GeomFromEWKT('SRID=4674;POINT (-39.698343 -2.661947)'))) / (select extract(epoch from '2026-07-24 17:51:22'::timestamp) - extract(epoch from '2026-07-24 17:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698342 -2.66195)'), GeomFromEWKT('SRID=4674;POINT (-39.698343 -2.661947)'))) / (select extract(epoch from '2026-07-24 17:51:22'::timestamp) - extract(epoch from '2026-07-24 17:50: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'), 47870, 'SRID=4674;POINT (-39.698334 -2.661958)', '2026-07-24 17:53:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698343 -2.661947)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661958)'))) / (select extract(epoch from '2026-07-24 17:53:26'::timestamp) - extract(epoch from '2026-07-24 17:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698343 -2.661947)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661958)'))) / (select extract(epoch from '2026-07-24 17:53:26'::timestamp) - extract(epoch from '2026-07-24 17:51: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'), 47870, 'SRID=4674;POINT (-39.69833 -2.661959)', '2026-07-24 17:53:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661958)'), GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661959)'))) / (select extract(epoch from '2026-07-24 17:53:50'::timestamp) - extract(epoch from '2026-07-24 17:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661958)'), GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661959)'))) / (select extract(epoch from '2026-07-24 17:53:50'::timestamp) - extract(epoch from '2026-07-24 17:53: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'), 47870, 'SRID=4674;POINT (-39.698339 -2.661977)', '2026-07-24 17:55:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661959)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661977)'))) / (select extract(epoch from '2026-07-24 17:55:02'::timestamp) - extract(epoch from '2026-07-24 17:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661959)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661977)'))) / (select extract(epoch from '2026-07-24 17:55:02'::timestamp) - extract(epoch from '2026-07-24 17:53: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'), 47870, 'SRID=4674;POINT (-39.698344 -2.661978)', '2026-07-24 17:55:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661977)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661978)'))) / (select extract(epoch from '2026-07-24 17:55:14'::timestamp) - extract(epoch from '2026-07-24 17:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661977)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661978)'))) / (select extract(epoch from '2026-07-24 17:55:14'::timestamp) - extract(epoch from '2026-07-24 17:55: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'), 47870, 'SRID=4674;POINT (-39.698352 -2.661976)', '2026-07-24 17:56:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661978)'), GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661976)'))) / (select extract(epoch from '2026-07-24 17:56:01'::timestamp) - extract(epoch from '2026-07-24 17:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661978)'), GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661976)'))) / (select extract(epoch from '2026-07-24 17:56:01'::timestamp) - extract(epoch from '2026-07-24 17:55: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'), 47870, 'SRID=4674;POINT (-39.698349 -2.661972)', '2026-07-24 17:56:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661976)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661972)'))) / (select extract(epoch from '2026-07-24 17:56:07'::timestamp) - extract(epoch from '2026-07-24 17:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661976)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661972)'))) / (select extract(epoch from '2026-07-24 17:56:07'::timestamp) - extract(epoch from '2026-07-24 17:56:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69835 -2.661975)', '2026-07-24 17:56:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661972)'), GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.661975)'))) / (select extract(epoch from '2026-07-24 17:56:14'::timestamp) - extract(epoch from '2026-07-24 17:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661972)'), GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.661975)'))) / (select extract(epoch from '2026-07-24 17:56:14'::timestamp) - extract(epoch from '2026-07-24 17:56: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'), 47870, 'SRID=4674;POINT (-39.698354 -2.661987)', '2026-07-24 17:56:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.661975)'), GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.661987)'))) / (select extract(epoch from '2026-07-24 17:56:43'::timestamp) - extract(epoch from '2026-07-24 17:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.661975)'), GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.661987)'))) / (select extract(epoch from '2026-07-24 17:56:43'::timestamp) - extract(epoch from '2026-07-24 17:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698344 -2.661999)', '2026-07-24 17:56:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.661987)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661999)'))) / (select extract(epoch from '2026-07-24 17:56:54'::timestamp) - extract(epoch from '2026-07-24 17:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.661987)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661999)'))) / (select extract(epoch from '2026-07-24 17:56:54'::timestamp) - extract(epoch from '2026-07-24 17:56: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'), 47870, 'SRID=4674;POINT (-39.698358 -2.662008)', '2026-07-24 17:57:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661999)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662008)'))) / (select extract(epoch from '2026-07-24 17:57:02'::timestamp) - extract(epoch from '2026-07-24 17:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661999)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662008)'))) / (select extract(epoch from '2026-07-24 17:57:02'::timestamp) - extract(epoch from '2026-07-24 17: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'), 47870, 'SRID=4674;POINT (-39.698363 -2.662017)', '2026-07-24 17:57:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662008)'), GeomFromEWKT('SRID=4674;POINT (-39.698363 -2.662017)'))) / (select extract(epoch from '2026-07-24 17:57:56'::timestamp) - extract(epoch from '2026-07-24 17:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662008)'), GeomFromEWKT('SRID=4674;POINT (-39.698363 -2.662017)'))) / (select extract(epoch from '2026-07-24 17:57:56'::timestamp) - extract(epoch from '2026-07-24 17:57: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'), 47870, 'SRID=4674;POINT (-39.69835 -2.662019)', '2026-07-24 17:58:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698363 -2.662017)'), GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.662019)'))) / (select extract(epoch from '2026-07-24 17:58:11'::timestamp) - extract(epoch from '2026-07-24 17:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698363 -2.662017)'), GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.662019)'))) / (select extract(epoch from '2026-07-24 17:58:11'::timestamp) - extract(epoch from '2026-07-24 17:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698355 -2.662032)', '2026-07-24 17:59:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.662019)'), GeomFromEWKT('SRID=4674;POINT (-39.698355 -2.662032)'))) / (select extract(epoch from '2026-07-24 17:59:46'::timestamp) - extract(epoch from '2026-07-24 17:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69835 -2.662019)'), GeomFromEWKT('SRID=4674;POINT (-39.698355 -2.662032)'))) / (select extract(epoch from '2026-07-24 17:59:46'::timestamp) - extract(epoch from '2026-07-24 17: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'), 47870, 'SRID=4674;POINT (-39.698357 -2.662012)', '2026-07-24 18:00:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698355 -2.662032)'), GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.662012)'))) / (select extract(epoch from '2026-07-24 18:00:27'::timestamp) - extract(epoch from '2026-07-24 17:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698355 -2.662032)'), GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.662012)'))) / (select extract(epoch from '2026-07-24 18:00:27'::timestamp) - extract(epoch from '2026-07-24 17:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698356 -2.661973)', '2026-07-24 18:01:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.662012)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661973)'))) / (select extract(epoch from '2026-07-24 18:01:29'::timestamp) - extract(epoch from '2026-07-24 18:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.662012)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661973)'))) / (select extract(epoch from '2026-07-24 18:01:29'::timestamp) - extract(epoch from '2026-07-24 18:00: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'), 47870, 'SRID=4674;POINT (-39.698341 -2.661974)', '2026-07-24 18:02:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661973)'), GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661974)'))) / (select extract(epoch from '2026-07-24 18:02:53'::timestamp) - extract(epoch from '2026-07-24 18:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661973)'), GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661974)'))) / (select extract(epoch from '2026-07-24 18:02:53'::timestamp) - extract(epoch from '2026-07-24 18:01: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'), 47870, 'SRID=4674;POINT (-39.698352 -2.661985)', '2026-07-24 18:03:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661974)'), GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661985)'))) / (select extract(epoch from '2026-07-24 18:03:15'::timestamp) - extract(epoch from '2026-07-24 18:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661974)'), GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661985)'))) / (select extract(epoch from '2026-07-24 18:03:15'::timestamp) - extract(epoch from '2026-07-24 18: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'), 47870, 'SRID=4674;POINT (-39.698366 -2.66199)', '2026-07-24 18:04:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661985)'), GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.66199)'))) / (select extract(epoch from '2026-07-24 18:04:21'::timestamp) - extract(epoch from '2026-07-24 18:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661985)'), GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.66199)'))) / (select extract(epoch from '2026-07-24 18:04:21'::timestamp) - extract(epoch from '2026-07-24 18:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69836 -2.661988)', '2026-07-24 18:04:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.66199)'), GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.661988)'))) / (select extract(epoch from '2026-07-24 18:04:27'::timestamp) - extract(epoch from '2026-07-24 18:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698366 -2.66199)'), GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.661988)'))) / (select extract(epoch from '2026-07-24 18:04:27'::timestamp) - extract(epoch from '2026-07-24 18:04: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'), 47870, 'SRID=4674;POINT (-39.698358 -2.661958)', '2026-07-24 18:06:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.661988)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.661958)'))) / (select extract(epoch from '2026-07-24 18:06:23'::timestamp) - extract(epoch from '2026-07-24 18:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.661988)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.661958)'))) / (select extract(epoch from '2026-07-24 18:06:23'::timestamp) - extract(epoch from '2026-07-24 18:04: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'), 47870, 'SRID=4674;POINT (-39.698354 -2.661955)', '2026-07-24 18:06:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.661958)'), GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.661955)'))) / (select extract(epoch from '2026-07-24 18:06:33'::timestamp) - extract(epoch from '2026-07-24 18:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.661958)'), GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.661955)'))) / (select extract(epoch from '2026-07-24 18:06:33'::timestamp) - extract(epoch from '2026-07-24 18:06:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698349 -2.661942)', '2026-07-24 18:07:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.661955)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661942)'))) / (select extract(epoch from '2026-07-24 18:07:07'::timestamp) - extract(epoch from '2026-07-24 18:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.661955)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661942)'))) / (select extract(epoch from '2026-07-24 18:07:07'::timestamp) - extract(epoch from '2026-07-24 18:06: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'), 47870, 'SRID=4674;POINT (-39.698345 -2.661939)', '2026-07-24 18:07:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661942)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661939)'))) / (select extract(epoch from '2026-07-24 18:07:17'::timestamp) - extract(epoch from '2026-07-24 18:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661942)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661939)'))) / (select extract(epoch from '2026-07-24 18:07:17'::timestamp) - extract(epoch from '2026-07-24 18:07: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'), 47870, 'SRID=4674;POINT (-39.698347 -2.661945)', '2026-07-24 18:07:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661939)'), GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.661945)'))) / (select extract(epoch from '2026-07-24 18:07:25'::timestamp) - extract(epoch from '2026-07-24 18:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661939)'), GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.661945)'))) / (select extract(epoch from '2026-07-24 18:07:25'::timestamp) - extract(epoch from '2026-07-24 18:07: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'), 47870, 'SRID=4674;POINT (-39.698349 -2.661952)', '2026-07-24 18:07:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.661945)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661952)'))) / (select extract(epoch from '2026-07-24 18:07:33'::timestamp) - extract(epoch from '2026-07-24 18:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.661945)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661952)'))) / (select extract(epoch from '2026-07-24 18:07:33'::timestamp) - extract(epoch from '2026-07-24 18:07: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'), 47870, 'SRID=4674;POINT (-39.698356 -2.661951)', '2026-07-24 18:07:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661952)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661951)'))) / (select extract(epoch from '2026-07-24 18:07:56'::timestamp) - extract(epoch from '2026-07-24 18:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661952)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661951)'))) / (select extract(epoch from '2026-07-24 18:07:56'::timestamp) - extract(epoch from '2026-07-24 18:07:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698356 -2.661965)', '2026-07-24 18:08:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661951)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661965)'))) / (select extract(epoch from '2026-07-24 18:08:02'::timestamp) - extract(epoch from '2026-07-24 18:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661951)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661965)'))) / (select extract(epoch from '2026-07-24 18:08:02'::timestamp) - extract(epoch from '2026-07-24 18:07: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'), 47870, 'SRID=4674;POINT (-39.698356 -2.661948)', '2026-07-24 18:09:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661965)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661948)'))) / (select extract(epoch from '2026-07-24 18:09:16'::timestamp) - extract(epoch from '2026-07-24 18:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661965)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661948)'))) / (select extract(epoch from '2026-07-24 18:09:16'::timestamp) - extract(epoch from '2026-07-24 18:08:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698354 -2.66195)', '2026-07-24 18:09:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661948)'), GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.66195)'))) / (select extract(epoch from '2026-07-24 18:09:22'::timestamp) - extract(epoch from '2026-07-24 18:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661948)'), GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.66195)'))) / (select extract(epoch from '2026-07-24 18:09:22'::timestamp) - extract(epoch from '2026-07-24 18:09: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'), 47870, 'SRID=4674;POINT (-39.698357 -2.66194)', '2026-07-24 18:09:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.66195)'), GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.66194)'))) / (select extract(epoch from '2026-07-24 18:09:32'::timestamp) - extract(epoch from '2026-07-24 18:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698354 -2.66195)'), GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.66194)'))) / (select extract(epoch from '2026-07-24 18:09:32'::timestamp) - extract(epoch from '2026-07-24 18:09: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'), 47870, 'SRID=4674;POINT (-39.698352 -2.661935)', '2026-07-24 18:09:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.66194)'), GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661935)'))) / (select extract(epoch from '2026-07-24 18:09:38'::timestamp) - extract(epoch from '2026-07-24 18:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.66194)'), GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661935)'))) / (select extract(epoch from '2026-07-24 18:09:38'::timestamp) - extract(epoch from '2026-07-24 18:09: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'), 47870, 'SRID=4674;POINT (-39.698347 -2.661938)', '2026-07-24 18:09:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661935)'), GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.661938)'))) / (select extract(epoch from '2026-07-24 18:09:48'::timestamp) - extract(epoch from '2026-07-24 18:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661935)'), GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.661938)'))) / (select extract(epoch from '2026-07-24 18:09:48'::timestamp) - extract(epoch from '2026-07-24 18:09:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698346 -2.661937)', '2026-07-24 18:10:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.661938)'), GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661937)'))) / (select extract(epoch from '2026-07-24 18:10:15'::timestamp) - extract(epoch from '2026-07-24 18:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.661938)'), GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661937)'))) / (select extract(epoch from '2026-07-24 18:10:15'::timestamp) - extract(epoch from '2026-07-24 18:09: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'), 47870, 'SRID=4674;POINT (-39.698333 -2.661929)', '2026-07-24 18:10:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661937)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661929)'))) / (select extract(epoch from '2026-07-24 18:10:29'::timestamp) - extract(epoch from '2026-07-24 18:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661937)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661929)'))) / (select extract(epoch from '2026-07-24 18:10:29'::timestamp) - extract(epoch from '2026-07-24 18:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698333 -2.661931)', '2026-07-24 18:10:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661929)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661931)'))) / (select extract(epoch from '2026-07-24 18:10:35'::timestamp) - extract(epoch from '2026-07-24 18:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661929)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661931)'))) / (select extract(epoch from '2026-07-24 18:10:35'::timestamp) - extract(epoch from '2026-07-24 18:10: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'), 47870, 'SRID=4674;POINT (-39.698348 -2.661927)', '2026-07-24 18:11:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661931)'), GeomFromEWKT('SRID=4674;POINT (-39.698348 -2.661927)'))) / (select extract(epoch from '2026-07-24 18:11:21'::timestamp) - extract(epoch from '2026-07-24 18:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661931)'), GeomFromEWKT('SRID=4674;POINT (-39.698348 -2.661927)'))) / (select extract(epoch from '2026-07-24 18:11:21'::timestamp) - extract(epoch from '2026-07-24 18:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698339 -2.66193)', '2026-07-24 18:11:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698348 -2.661927)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.66193)'))) / (select extract(epoch from '2026-07-24 18:11:30'::timestamp) - extract(epoch from '2026-07-24 18:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698348 -2.661927)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.66193)'))) / (select extract(epoch from '2026-07-24 18:11:30'::timestamp) - extract(epoch from '2026-07-24 18:11: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'), 47870, 'SRID=4674;POINT (-39.69834 -2.661921)', '2026-07-24 18:12:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.66193)'), GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.661921)'))) / (select extract(epoch from '2026-07-24 18:12:18'::timestamp) - extract(epoch from '2026-07-24 18:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.66193)'), GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.661921)'))) / (select extract(epoch from '2026-07-24 18:12:18'::timestamp) - extract(epoch from '2026-07-24 18:11: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'), 47870, 'SRID=4674;POINT (-39.698341 -2.661919)', '2026-07-24 18:12:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.661921)'), GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661919)'))) / (select extract(epoch from '2026-07-24 18:12:32'::timestamp) - extract(epoch from '2026-07-24 18:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.661921)'), GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661919)'))) / (select extract(epoch from '2026-07-24 18:12:32'::timestamp) - extract(epoch from '2026-07-24 18:12: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'), 47870, 'SRID=4674;POINT (-39.698344 -2.661898)', '2026-07-24 18:13:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661919)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661898)'))) / (select extract(epoch from '2026-07-24 18:13:15'::timestamp) - extract(epoch from '2026-07-24 18:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661919)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661898)'))) / (select extract(epoch from '2026-07-24 18:13:15'::timestamp) - extract(epoch from '2026-07-24 18:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698352 -2.661891)', '2026-07-24 18:13:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661898)'), GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661891)'))) / (select extract(epoch from '2026-07-24 18:13:24'::timestamp) - extract(epoch from '2026-07-24 18:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661898)'), GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661891)'))) / (select extract(epoch from '2026-07-24 18:13:24'::timestamp) - extract(epoch from '2026-07-24 18:13: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'), 47870, 'SRID=4674;POINT (-39.698351 -2.66189)', '2026-07-24 18:13:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661891)'), GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.66189)'))) / (select extract(epoch from '2026-07-24 18:13:30'::timestamp) - extract(epoch from '2026-07-24 18:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698352 -2.661891)'), GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.66189)'))) / (select extract(epoch from '2026-07-24 18:13:30'::timestamp) - extract(epoch from '2026-07-24 18:13: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'), 47870, 'SRID=4674;POINT (-39.69837 -2.661885)', '2026-07-24 18:13:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.66189)'), GeomFromEWKT('SRID=4674;POINT (-39.69837 -2.661885)'))) / (select extract(epoch from '2026-07-24 18:13:55'::timestamp) - extract(epoch from '2026-07-24 18:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.66189)'), GeomFromEWKT('SRID=4674;POINT (-39.69837 -2.661885)'))) / (select extract(epoch from '2026-07-24 18:13:55'::timestamp) - extract(epoch from '2026-07-24 18:13: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'), 47870, 'SRID=4674;POINT (-39.698356 -2.661888)', '2026-07-24 18:14:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69837 -2.661885)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661888)'))) / (select extract(epoch from '2026-07-24 18:14:26'::timestamp) - extract(epoch from '2026-07-24 18:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69837 -2.661885)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661888)'))) / (select extract(epoch from '2026-07-24 18:14:26'::timestamp) - extract(epoch from '2026-07-24 18:13: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'), 47870, 'SRID=4674;POINT (-39.698349 -2.661888)', '2026-07-24 18:14:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661888)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661888)'))) / (select extract(epoch from '2026-07-24 18:14:35'::timestamp) - extract(epoch from '2026-07-24 18:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.661888)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661888)'))) / (select extract(epoch from '2026-07-24 18:14:35'::timestamp) - extract(epoch from '2026-07-24 18:14: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'), 47870, 'SRID=4674;POINT (-39.698346 -2.661877)', '2026-07-24 18:15:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661888)'), GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661877)'))) / (select extract(epoch from '2026-07-24 18:15:00'::timestamp) - extract(epoch from '2026-07-24 18:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.661888)'), GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661877)'))) / (select extract(epoch from '2026-07-24 18:15:00'::timestamp) - extract(epoch from '2026-07-24 18:14: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'), 47870, 'SRID=4674;POINT (-39.698345 -2.661886)', '2026-07-24 18:15:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661877)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661886)'))) / (select extract(epoch from '2026-07-24 18:15:50'::timestamp) - extract(epoch from '2026-07-24 18:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.661877)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661886)'))) / (select extract(epoch from '2026-07-24 18:15:50'::timestamp) - extract(epoch from '2026-07-24 18:15: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'), 47870, 'SRID=4674;POINT (-39.698332 -2.661881)', '2026-07-24 18:16:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661886)'), GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661881)'))) / (select extract(epoch from '2026-07-24 18:16:00'::timestamp) - extract(epoch from '2026-07-24 18:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661886)'), GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661881)'))) / (select extract(epoch from '2026-07-24 18:16:00'::timestamp) - extract(epoch from '2026-07-24 18:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698332 -2.661872)', '2026-07-24 18:16:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661881)'), GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661872)'))) / (select extract(epoch from '2026-07-24 18:16:11'::timestamp) - extract(epoch from '2026-07-24 18:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661881)'), GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661872)'))) / (select extract(epoch from '2026-07-24 18:16:11'::timestamp) - extract(epoch from '2026-07-24 18:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698333 -2.661876)', '2026-07-24 18:16:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661872)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661876)'))) / (select extract(epoch from '2026-07-24 18:16:22'::timestamp) - extract(epoch from '2026-07-24 18:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661872)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661876)'))) / (select extract(epoch from '2026-07-24 18:16:22'::timestamp) - extract(epoch from '2026-07-24 18:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698332 -2.661872)', '2026-07-24 18:17:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661876)'), GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661872)'))) / (select extract(epoch from '2026-07-24 18:17:02'::timestamp) - extract(epoch from '2026-07-24 18:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661876)'), GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661872)'))) / (select extract(epoch from '2026-07-24 18:17:02'::timestamp) - extract(epoch from '2026-07-24 18:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698339 -2.66189)', '2026-07-24 18:17:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661872)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.66189)'))) / (select extract(epoch from '2026-07-24 18:17:40'::timestamp) - extract(epoch from '2026-07-24 18:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698332 -2.661872)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.66189)'))) / (select extract(epoch from '2026-07-24 18:17:40'::timestamp) - extract(epoch from '2026-07-24 18:17: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'), 47870, 'SRID=4674;POINT (-39.698344 -2.661894)', '2026-07-24 18:18:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.66189)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661894)'))) / (select extract(epoch from '2026-07-24 18:18:08'::timestamp) - extract(epoch from '2026-07-24 18:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.66189)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661894)'))) / (select extract(epoch from '2026-07-24 18:18:08'::timestamp) - extract(epoch from '2026-07-24 18:17: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'), 47870, 'SRID=4674;POINT (-39.698351 -2.661904)', '2026-07-24 18:18:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661894)'), GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.661904)'))) / (select extract(epoch from '2026-07-24 18:18:41'::timestamp) - extract(epoch from '2026-07-24 18:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661894)'), GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.661904)'))) / (select extract(epoch from '2026-07-24 18:18:41'::timestamp) - extract(epoch from '2026-07-24 18:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698358 -2.661921)', '2026-07-24 18:19:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.661904)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.661921)'))) / (select extract(epoch from '2026-07-24 18:19:46'::timestamp) - extract(epoch from '2026-07-24 18:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.661904)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.661921)'))) / (select extract(epoch from '2026-07-24 18:19:46'::timestamp) - extract(epoch from '2026-07-24 18:18: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'), 47870, 'SRID=4674;POINT (-39.698337 -2.661926)', '2026-07-24 18:20:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.661921)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661926)'))) / (select extract(epoch from '2026-07-24 18:20:04'::timestamp) - extract(epoch from '2026-07-24 18:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.661921)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661926)'))) / (select extract(epoch from '2026-07-24 18:20:04'::timestamp) - extract(epoch from '2026-07-24 18:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698322 -2.661936)', '2026-07-24 18:20:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661926)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661936)'))) / (select extract(epoch from '2026-07-24 18:20:49'::timestamp) - extract(epoch from '2026-07-24 18:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661926)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661936)'))) / (select extract(epoch from '2026-07-24 18:20:49'::timestamp) - extract(epoch from '2026-07-24 18:20: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'), 47870, 'SRID=4674;POINT (-39.698315 -2.661938)', '2026-07-24 18:21:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661936)'), GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661938)'))) / (select extract(epoch from '2026-07-24 18:21:54'::timestamp) - extract(epoch from '2026-07-24 18:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661936)'), GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661938)'))) / (select extract(epoch from '2026-07-24 18:21:54'::timestamp) - extract(epoch from '2026-07-24 18:20:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698341 -2.661932)', '2026-07-24 18:24:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661938)'), GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661932)'))) / (select extract(epoch from '2026-07-24 18:24:59'::timestamp) - extract(epoch from '2026-07-24 18:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661938)'), GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661932)'))) / (select extract(epoch from '2026-07-24 18:24:59'::timestamp) - extract(epoch from '2026-07-24 18:21: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'), 47870, 'SRID=4674;POINT (-39.698335 -2.66192)', '2026-07-24 18:25:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661932)'), GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.66192)'))) / (select extract(epoch from '2026-07-24 18:25:27'::timestamp) - extract(epoch from '2026-07-24 18:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661932)'), GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.66192)'))) / (select extract(epoch from '2026-07-24 18:25:27'::timestamp) - extract(epoch from '2026-07-24 18:24: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'), 47870, 'SRID=4674;POINT (-39.698334 -2.661918)', '2026-07-24 18:25:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.66192)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661918)'))) / (select extract(epoch from '2026-07-24 18:25:37'::timestamp) - extract(epoch from '2026-07-24 18:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.66192)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661918)'))) / (select extract(epoch from '2026-07-24 18:25:37'::timestamp) - extract(epoch from '2026-07-24 18:25: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'), 47870, 'SRID=4674;POINT (-39.698334 -2.661949)', '2026-07-24 18:26:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661918)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661949)'))) / (select extract(epoch from '2026-07-24 18:26:32'::timestamp) - extract(epoch from '2026-07-24 18:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661918)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661949)'))) / (select extract(epoch from '2026-07-24 18:26:32'::timestamp) - extract(epoch from '2026-07-24 18:25: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'), 47870, 'SRID=4674;POINT (-39.69834 -2.66195)', '2026-07-24 18:27:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661949)'), GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.66195)'))) / (select extract(epoch from '2026-07-24 18:27:05'::timestamp) - extract(epoch from '2026-07-24 18:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661949)'), GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.66195)'))) / (select extract(epoch from '2026-07-24 18:27:05'::timestamp) - extract(epoch from '2026-07-24 18:26: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'), 47870, 'SRID=4674;POINT (-39.698345 -2.661955)', '2026-07-24 18:27:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.66195)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661955)'))) / (select extract(epoch from '2026-07-24 18:27:28'::timestamp) - extract(epoch from '2026-07-24 18:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.66195)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661955)'))) / (select extract(epoch from '2026-07-24 18:27:28'::timestamp) - extract(epoch from '2026-07-24 18:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698336 -2.66195)', '2026-07-24 18:27:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661955)'), GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.66195)'))) / (select extract(epoch from '2026-07-24 18:27:45'::timestamp) - extract(epoch from '2026-07-24 18:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661955)'), GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.66195)'))) / (select extract(epoch from '2026-07-24 18:27:45'::timestamp) - extract(epoch from '2026-07-24 18:27: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'), 47870, 'SRID=4674;POINT (-39.698321 -2.66193)', '2026-07-24 18:28:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.66195)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.66193)'))) / (select extract(epoch from '2026-07-24 18:28:04'::timestamp) - extract(epoch from '2026-07-24 18:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.66195)'), GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.66193)'))) / (select extract(epoch from '2026-07-24 18:28:04'::timestamp) - extract(epoch from '2026-07-24 18:27: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'), 47870, 'SRID=4674;POINT (-39.698328 -2.661942)', '2026-07-24 18:28:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.66193)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661942)'))) / (select extract(epoch from '2026-07-24 18:28:41'::timestamp) - extract(epoch from '2026-07-24 18:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698321 -2.66193)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661942)'))) / (select extract(epoch from '2026-07-24 18:28:41'::timestamp) - extract(epoch from '2026-07-24 18:28: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'), 47870, 'SRID=4674;POINT (-39.698333 -2.661943)', '2026-07-24 18:28:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661942)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661943)'))) / (select extract(epoch from '2026-07-24 18:28:54'::timestamp) - extract(epoch from '2026-07-24 18:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661942)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661943)'))) / (select extract(epoch from '2026-07-24 18:28:54'::timestamp) - extract(epoch from '2026-07-24 18:28: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'), 47870, 'SRID=4674;POINT (-39.698334 -2.661945)', '2026-07-24 18:29:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661943)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661945)'))) / (select extract(epoch from '2026-07-24 18:29:53'::timestamp) - extract(epoch from '2026-07-24 18:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661943)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661945)'))) / (select extract(epoch from '2026-07-24 18:29:53'::timestamp) - extract(epoch from '2026-07-24 18:28: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'), 47870, 'SRID=4674;POINT (-39.698335 -2.661953)', '2026-07-24 18:30:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661945)'), GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.661953)'))) / (select extract(epoch from '2026-07-24 18:30:04'::timestamp) - extract(epoch from '2026-07-24 18:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.661945)'), GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.661953)'))) / (select extract(epoch from '2026-07-24 18:30:04'::timestamp) - extract(epoch from '2026-07-24 18:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698304 -2.6619)', '2026-07-24 18:32:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.661953)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.6619)'))) / (select extract(epoch from '2026-07-24 18:32:20'::timestamp) - extract(epoch from '2026-07-24 18:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.661953)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.6619)'))) / (select extract(epoch from '2026-07-24 18:32:20'::timestamp) - extract(epoch from '2026-07-24 18:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698297 -2.661893)', '2026-07-24 18:32:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.6619)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661893)'))) / (select extract(epoch from '2026-07-24 18:32:45'::timestamp) - extract(epoch from '2026-07-24 18:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.6619)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661893)'))) / (select extract(epoch from '2026-07-24 18:32:45'::timestamp) - extract(epoch from '2026-07-24 18:32: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'), 47870, 'SRID=4674;POINT (-39.6983 -2.661894)', '2026-07-24 18:32:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661893)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661894)'))) / (select extract(epoch from '2026-07-24 18:32:53'::timestamp) - extract(epoch from '2026-07-24 18:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661893)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661894)'))) / (select extract(epoch from '2026-07-24 18:32:53'::timestamp) - extract(epoch from '2026-07-24 18:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698285 -2.661892)', '2026-07-24 18:33:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661894)'), GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661892)'))) / (select extract(epoch from '2026-07-24 18:33:15'::timestamp) - extract(epoch from '2026-07-24 18:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661894)'), GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661892)'))) / (select extract(epoch from '2026-07-24 18:33:15'::timestamp) - extract(epoch from '2026-07-24 18:32: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'), 47870, 'SRID=4674;POINT (-39.698292 -2.661911)', '2026-07-24 18:33:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661892)'), GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661911)'))) / (select extract(epoch from '2026-07-24 18:33:52'::timestamp) - extract(epoch from '2026-07-24 18:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698285 -2.661892)'), GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661911)'))) / (select extract(epoch from '2026-07-24 18:33:52'::timestamp) - extract(epoch from '2026-07-24 18:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698292 -2.661916)', '2026-07-24 18:34:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661911)'), GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661916)'))) / (select extract(epoch from '2026-07-24 18:34:07'::timestamp) - extract(epoch from '2026-07-24 18:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661911)'), GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661916)'))) / (select extract(epoch from '2026-07-24 18:34:07'::timestamp) - extract(epoch from '2026-07-24 18:33: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'), 47870, 'SRID=4674;POINT (-39.698297 -2.661898)', '2026-07-24 18:34:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661916)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661898)'))) / (select extract(epoch from '2026-07-24 18:34:33'::timestamp) - extract(epoch from '2026-07-24 18:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.661916)'), GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661898)'))) / (select extract(epoch from '2026-07-24 18:34:33'::timestamp) - extract(epoch from '2026-07-24 18:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698306 -2.661907)', '2026-07-24 18:35:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661898)'), GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.661907)'))) / (select extract(epoch from '2026-07-24 18:35:25'::timestamp) - extract(epoch from '2026-07-24 18:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698297 -2.661898)'), GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.661907)'))) / (select extract(epoch from '2026-07-24 18:35:25'::timestamp) - extract(epoch from '2026-07-24 18:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.6983 -2.661904)', '2026-07-24 18:35:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.661907)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661904)'))) / (select extract(epoch from '2026-07-24 18:35:31'::timestamp) - extract(epoch from '2026-07-24 18:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.661907)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661904)'))) / (select extract(epoch from '2026-07-24 18:35:31'::timestamp) - extract(epoch from '2026-07-24 18:35: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'), 47870, 'SRID=4674;POINT (-39.698305 -2.661888)', '2026-07-24 18:36:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661904)'), GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661888)'))) / (select extract(epoch from '2026-07-24 18:36:32'::timestamp) - extract(epoch from '2026-07-24 18:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661904)'), GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661888)'))) / (select extract(epoch from '2026-07-24 18:36:32'::timestamp) - extract(epoch from '2026-07-24 18:35: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'), 47870, 'SRID=4674;POINT (-39.698299 -2.661896)', '2026-07-24 18:37:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661888)'), GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661896)'))) / (select extract(epoch from '2026-07-24 18:37:03'::timestamp) - extract(epoch from '2026-07-24 18:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698305 -2.661888)'), GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661896)'))) / (select extract(epoch from '2026-07-24 18:37:03'::timestamp) - extract(epoch from '2026-07-24 18:36: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'), 47870, 'SRID=4674;POINT (-39.6983 -2.661898)', '2026-07-24 18:37:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661896)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661898)'))) / (select extract(epoch from '2026-07-24 18:37:11'::timestamp) - extract(epoch from '2026-07-24 18:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698299 -2.661896)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661898)'))) / (select extract(epoch from '2026-07-24 18:37:11'::timestamp) - extract(epoch from '2026-07-24 18:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698314 -2.661891)', '2026-07-24 18:37:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661898)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661891)'))) / (select extract(epoch from '2026-07-24 18:37:27'::timestamp) - extract(epoch from '2026-07-24 18:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661898)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661891)'))) / (select extract(epoch from '2026-07-24 18:37:27'::timestamp) - extract(epoch from '2026-07-24 18:37: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'), 47870, 'SRID=4674;POINT (-39.698314 -2.661931)', '2026-07-24 18:39:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661891)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661931)'))) / (select extract(epoch from '2026-07-24 18:39:23'::timestamp) - extract(epoch from '2026-07-24 18:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661891)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661931)'))) / (select extract(epoch from '2026-07-24 18:39:23'::timestamp) - extract(epoch from '2026-07-24 18:37:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698315 -2.661929)', '2026-07-24 18:39:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661931)'), GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661929)'))) / (select extract(epoch from '2026-07-24 18:39:40'::timestamp) - extract(epoch from '2026-07-24 18:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.661931)'), GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661929)'))) / (select extract(epoch from '2026-07-24 18:39:40'::timestamp) - extract(epoch from '2026-07-24 18:39: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'), 47870, 'SRID=4674;POINT (-39.698318 -2.661935)', '2026-07-24 18:40:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661929)'), GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661935)'))) / (select extract(epoch from '2026-07-24 18:40:59'::timestamp) - extract(epoch from '2026-07-24 18:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698315 -2.661929)'), GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661935)'))) / (select extract(epoch from '2026-07-24 18:40:59'::timestamp) - extract(epoch from '2026-07-24 18:39: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'), 47870, 'SRID=4674;POINT (-39.698316 -2.661932)', '2026-07-24 18:41:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661935)'), GeomFromEWKT('SRID=4674;POINT (-39.698316 -2.661932)'))) / (select extract(epoch from '2026-07-24 18:41:05'::timestamp) - extract(epoch from '2026-07-24 18:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661935)'), GeomFromEWKT('SRID=4674;POINT (-39.698316 -2.661932)'))) / (select extract(epoch from '2026-07-24 18:41:05'::timestamp) - extract(epoch from '2026-07-24 18:40: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'), 47870, 'SRID=4674;POINT (-39.698326 -2.661922)', '2026-07-24 18:41:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698316 -2.661932)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661922)'))) / (select extract(epoch from '2026-07-24 18:41:18'::timestamp) - extract(epoch from '2026-07-24 18:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698316 -2.661932)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661922)'))) / (select extract(epoch from '2026-07-24 18:41:18'::timestamp) - extract(epoch from '2026-07-24 18:41: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'), 47870, 'SRID=4674;POINT (-39.698324 -2.661927)', '2026-07-24 18:41:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661922)'), GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661927)'))) / (select extract(epoch from '2026-07-24 18:41:28'::timestamp) - extract(epoch from '2026-07-24 18:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661922)'), GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661927)'))) / (select extract(epoch from '2026-07-24 18:41:28'::timestamp) - extract(epoch from '2026-07-24 18:41: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'), 47870, 'SRID=4674;POINT (-39.698318 -2.661921)', '2026-07-24 18:41:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661927)'), GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661921)'))) / (select extract(epoch from '2026-07-24 18:41:59'::timestamp) - extract(epoch from '2026-07-24 18:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661927)'), GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661921)'))) / (select extract(epoch from '2026-07-24 18:41:59'::timestamp) - extract(epoch from '2026-07-24 18:41: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'), 47870, 'SRID=4674;POINT (-39.698308 -2.661915)', '2026-07-24 18:42:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661921)'), GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661915)'))) / (select extract(epoch from '2026-07-24 18:42:05'::timestamp) - extract(epoch from '2026-07-24 18:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698318 -2.661921)'), GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661915)'))) / (select extract(epoch from '2026-07-24 18:42:05'::timestamp) - extract(epoch from '2026-07-24 18:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698313 -2.661916)', '2026-07-24 18:42:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661915)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661916)'))) / (select extract(epoch from '2026-07-24 18:42:36'::timestamp) - extract(epoch from '2026-07-24 18:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661915)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661916)'))) / (select extract(epoch from '2026-07-24 18:42:36'::timestamp) - extract(epoch from '2026-07-24 18:42: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'), 47870, 'SRID=4674;POINT (-39.698314 -2.66192)', '2026-07-24 18:42:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661916)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.66192)'))) / (select extract(epoch from '2026-07-24 18:42:44'::timestamp) - extract(epoch from '2026-07-24 18:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661916)'), GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.66192)'))) / (select extract(epoch from '2026-07-24 18:42:44'::timestamp) - extract(epoch from '2026-07-24 18:42: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'), 47870, 'SRID=4674;POINT (-39.698313 -2.661911)', '2026-07-24 18:42:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.66192)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661911)'))) / (select extract(epoch from '2026-07-24 18:42:55'::timestamp) - extract(epoch from '2026-07-24 18:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698314 -2.66192)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661911)'))) / (select extract(epoch from '2026-07-24 18:42:55'::timestamp) - extract(epoch from '2026-07-24 18:42: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'), 47870, 'SRID=4674;POINT (-39.698306 -2.661898)', '2026-07-24 18:44:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661911)'), GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.661898)'))) / (select extract(epoch from '2026-07-24 18:44:20'::timestamp) - extract(epoch from '2026-07-24 18:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661911)'), GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.661898)'))) / (select extract(epoch from '2026-07-24 18:44:20'::timestamp) - extract(epoch from '2026-07-24 18:42: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'), 47870, 'SRID=4674;POINT (-39.6983 -2.661894)', '2026-07-24 18:44:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.661898)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661894)'))) / (select extract(epoch from '2026-07-24 18:44:22'::timestamp) - extract(epoch from '2026-07-24 18:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.661898)'), GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661894)'))) / (select extract(epoch from '2026-07-24 18:44:22'::timestamp) - extract(epoch from '2026-07-24 18:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698295 -2.661893)', '2026-07-24 18:44:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661894)'), GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661893)'))) / (select extract(epoch from '2026-07-24 18:44:28'::timestamp) - extract(epoch from '2026-07-24 18:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6983 -2.661894)'), GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661893)'))) / (select extract(epoch from '2026-07-24 18:44:28'::timestamp) - extract(epoch from '2026-07-24 18:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698304 -2.661884)', '2026-07-24 18:45:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661893)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661884)'))) / (select extract(epoch from '2026-07-24 18:45:51'::timestamp) - extract(epoch from '2026-07-24 18:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698295 -2.661893)'), GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661884)'))) / (select extract(epoch from '2026-07-24 18:45:51'::timestamp) - extract(epoch from '2026-07-24 18:44: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'), 47870, 'SRID=4674;POINT (-39.698313 -2.661884)', '2026-07-24 18:47:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661884)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661884)'))) / (select extract(epoch from '2026-07-24 18:47:25'::timestamp) - extract(epoch from '2026-07-24 18:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698304 -2.661884)'), GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661884)'))) / (select extract(epoch from '2026-07-24 18:47:25'::timestamp) - extract(epoch from '2026-07-24 18:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698308 -2.661884)', '2026-07-24 18:47:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661884)'), GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661884)'))) / (select extract(epoch from '2026-07-24 18:47:31'::timestamp) - extract(epoch from '2026-07-24 18:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698313 -2.661884)'), GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661884)'))) / (select extract(epoch from '2026-07-24 18:47:31'::timestamp) - extract(epoch from '2026-07-24 18:47: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'), 47870, 'SRID=4674;POINT (-39.698327 -2.661923)', '2026-07-24 18:48:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661884)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661923)'))) / (select extract(epoch from '2026-07-24 18:48:17'::timestamp) - extract(epoch from '2026-07-24 18:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698308 -2.661884)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661923)'))) / (select extract(epoch from '2026-07-24 18:48:17'::timestamp) - extract(epoch from '2026-07-24 18:47: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'), 47870, 'SRID=4674;POINT (-39.698328 -2.66194)', '2026-07-24 18:48:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661923)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66194)'))) / (select extract(epoch from '2026-07-24 18:48:47'::timestamp) - extract(epoch from '2026-07-24 18:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661923)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66194)'))) / (select extract(epoch from '2026-07-24 18:48:47'::timestamp) - extract(epoch from '2026-07-24 18:48: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'), 47870, 'SRID=4674;POINT (-39.698335 -2.66194)', '2026-07-24 18:49:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66194)'), GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.66194)'))) / (select extract(epoch from '2026-07-24 18:49:17'::timestamp) - extract(epoch from '2026-07-24 18:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66194)'), GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.66194)'))) / (select extract(epoch from '2026-07-24 18:49:17'::timestamp) - extract(epoch from '2026-07-24 18:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698337 -2.661933)', '2026-07-24 18:50:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.66194)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661933)'))) / (select extract(epoch from '2026-07-24 18:50:01'::timestamp) - extract(epoch from '2026-07-24 18:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698335 -2.66194)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661933)'))) / (select extract(epoch from '2026-07-24 18:50:01'::timestamp) - extract(epoch from '2026-07-24 18:49: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'), 47870, 'SRID=4674;POINT (-39.698331 -2.661935)', '2026-07-24 18:50:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661933)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661935)'))) / (select extract(epoch from '2026-07-24 18:50:19'::timestamp) - extract(epoch from '2026-07-24 18:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661933)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661935)'))) / (select extract(epoch from '2026-07-24 18:50:19'::timestamp) - extract(epoch from '2026-07-24 18:50: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'), 47870, 'SRID=4674;POINT (-39.698326 -2.661907)', '2026-07-24 18:51:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661935)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661907)'))) / (select extract(epoch from '2026-07-24 18:51:44'::timestamp) - extract(epoch from '2026-07-24 18:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661935)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661907)'))) / (select extract(epoch from '2026-07-24 18:51:44'::timestamp) - extract(epoch from '2026-07-24 18:50: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'), 47870, 'SRID=4674;POINT (-39.698322 -2.661908)', '2026-07-24 18:52:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661907)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661908)'))) / (select extract(epoch from '2026-07-24 18:52:27'::timestamp) - extract(epoch from '2026-07-24 18:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661907)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661908)'))) / (select extract(epoch from '2026-07-24 18:52:27'::timestamp) - extract(epoch from '2026-07-24 18:51: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'), 47870, 'SRID=4674;POINT (-39.698333 -2.661915)', '2026-07-24 18:52:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661908)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661915)'))) / (select extract(epoch from '2026-07-24 18:52:35'::timestamp) - extract(epoch from '2026-07-24 18:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661908)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661915)'))) / (select extract(epoch from '2026-07-24 18:52:35'::timestamp) - extract(epoch from '2026-07-24 18: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'), 47870, 'SRID=4674;POINT (-39.698334 -2.66192)', '2026-07-24 18:53:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661915)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.66192)'))) / (select extract(epoch from '2026-07-24 18:53:27'::timestamp) - extract(epoch from '2026-07-24 18:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661915)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.66192)'))) / (select extract(epoch from '2026-07-24 18:53:27'::timestamp) - extract(epoch from '2026-07-24 18:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698344 -2.661927)', '2026-07-24 18:53:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.66192)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661927)'))) / (select extract(epoch from '2026-07-24 18:53:33'::timestamp) - extract(epoch from '2026-07-24 18:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.66192)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661927)'))) / (select extract(epoch from '2026-07-24 18:53:33'::timestamp) - extract(epoch from '2026-07-24 18:53:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698337 -2.661907)', '2026-07-24 18:55:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661927)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661907)'))) / (select extract(epoch from '2026-07-24 18:55:44'::timestamp) - extract(epoch from '2026-07-24 18:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.661927)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661907)'))) / (select extract(epoch from '2026-07-24 18:55:44'::timestamp) - extract(epoch from '2026-07-24 18:53: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'), 47870, 'SRID=4674;POINT (-39.698322 -2.661896)', '2026-07-24 18:56:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661907)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661896)'))) / (select extract(epoch from '2026-07-24 18:56:35'::timestamp) - extract(epoch from '2026-07-24 18:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661907)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661896)'))) / (select extract(epoch from '2026-07-24 18:56:35'::timestamp) - extract(epoch from '2026-07-24 18:55: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'), 47870, 'SRID=4674;POINT (-39.698337 -2.661927)', '2026-07-24 18:57:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661896)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661927)'))) / (select extract(epoch from '2026-07-24 18:57:17'::timestamp) - extract(epoch from '2026-07-24 18:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661896)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661927)'))) / (select extract(epoch from '2026-07-24 18:57:17'::timestamp) - extract(epoch from '2026-07-24 18:56: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'), 47870, 'SRID=4674;POINT (-39.698324 -2.661967)', '2026-07-24 18:59:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661927)'), GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661967)'))) / (select extract(epoch from '2026-07-24 18:59:35'::timestamp) - extract(epoch from '2026-07-24 18:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.661927)'), GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661967)'))) / (select extract(epoch from '2026-07-24 18:59:35'::timestamp) - extract(epoch from '2026-07-24 18:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698327 -2.66197)', '2026-07-24 18:59:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661967)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.66197)'))) / (select extract(epoch from '2026-07-24 18:59:38'::timestamp) - extract(epoch from '2026-07-24 18:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698324 -2.661967)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.66197)'))) / (select extract(epoch from '2026-07-24 18:59:38'::timestamp) - extract(epoch from '2026-07-24 18:59:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698331 -2.661971)', '2026-07-24 18:59:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.66197)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661971)'))) / (select extract(epoch from '2026-07-24 18:59:50'::timestamp) - extract(epoch from '2026-07-24 18:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.66197)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661971)'))) / (select extract(epoch from '2026-07-24 18:59:50'::timestamp) - extract(epoch from '2026-07-24 18:59: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'), 47870, 'SRID=4674;POINT (-39.698319 -2.661986)', '2026-07-24 19:01:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661971)'), GeomFromEWKT('SRID=4674;POINT (-39.698319 -2.661986)'))) / (select extract(epoch from '2026-07-24 19:01:29'::timestamp) - extract(epoch from '2026-07-24 18:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661971)'), GeomFromEWKT('SRID=4674;POINT (-39.698319 -2.661986)'))) / (select extract(epoch from '2026-07-24 19:01:29'::timestamp) - extract(epoch from '2026-07-24 18:59: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'), 47870, 'SRID=4674;POINT (-39.698338 -2.661983)', '2026-07-24 19:04:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698319 -2.661986)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661983)'))) / (select extract(epoch from '2026-07-24 19:04:01'::timestamp) - extract(epoch from '2026-07-24 19:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698319 -2.661986)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661983)'))) / (select extract(epoch from '2026-07-24 19:04:01'::timestamp) - extract(epoch from '2026-07-24 19:01: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'), 47870, 'SRID=4674;POINT (-39.698349 -2.662004)', '2026-07-24 19:05:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661983)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.662004)'))) / (select extract(epoch from '2026-07-24 19:05:47'::timestamp) - extract(epoch from '2026-07-24 19:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.661983)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.662004)'))) / (select extract(epoch from '2026-07-24 19:05:47'::timestamp) - extract(epoch from '2026-07-24 19: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'), 47870, 'SRID=4674;POINT (-39.698339 -2.661982)', '2026-07-24 19:07:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.662004)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661982)'))) / (select extract(epoch from '2026-07-24 19:07:01'::timestamp) - extract(epoch from '2026-07-24 19:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.662004)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661982)'))) / (select extract(epoch from '2026-07-24 19:07:01'::timestamp) - extract(epoch from '2026-07-24 19:05:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698345 -2.661982)', '2026-07-24 19:07:16', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661982)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661982)'))) / (select extract(epoch from '2026-07-24 19:07:16'::timestamp) - extract(epoch from '2026-07-24 19:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661982)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661982)'))) / (select extract(epoch from '2026-07-24 19:07:16'::timestamp) - extract(epoch from '2026-07-24 19:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69834 -2.662002)', '2026-07-24 19:10:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661982)'), GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.662002)'))) / (select extract(epoch from '2026-07-24 19:10:06'::timestamp) - extract(epoch from '2026-07-24 19:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661982)'), GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.662002)'))) / (select extract(epoch from '2026-07-24 19:10:06'::timestamp) - extract(epoch from '2026-07-24 19:07:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698329 -2.662014)', '2026-07-24 19:12:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.662002)'), GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.662014)'))) / (select extract(epoch from '2026-07-24 19:12:45'::timestamp) - extract(epoch from '2026-07-24 19:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69834 -2.662002)'), GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.662014)'))) / (select extract(epoch from '2026-07-24 19:12:45'::timestamp) - extract(epoch from '2026-07-24 19:10: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'), 47870, 'SRID=4674;POINT (-39.698326 -2.66202)', '2026-07-24 19:12:55', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.662014)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.66202)'))) / (select extract(epoch from '2026-07-24 19:12:55'::timestamp) - extract(epoch from '2026-07-24 19:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698329 -2.662014)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.66202)'))) / (select extract(epoch from '2026-07-24 19:12:55'::timestamp) - extract(epoch from '2026-07-24 19:12:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698334 -2.662018)', '2026-07-24 19:13:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.66202)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.662018)'))) / (select extract(epoch from '2026-07-24 19:13:12'::timestamp) - extract(epoch from '2026-07-24 19:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.66202)'), GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.662018)'))) / (select extract(epoch from '2026-07-24 19:13:12'::timestamp) - extract(epoch from '2026-07-24 19:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698337 -2.662011)', '2026-07-24 19:15:27', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.662018)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.662011)'))) / (select extract(epoch from '2026-07-24 19:15:27'::timestamp) - extract(epoch from '2026-07-24 19:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698334 -2.662018)'), GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.662011)'))) / (select extract(epoch from '2026-07-24 19:15:27'::timestamp) - extract(epoch from '2026-07-24 19:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698344 -2.662011)', '2026-07-24 19:15:38', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.662011)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.662011)'))) / (select extract(epoch from '2026-07-24 19:15:38'::timestamp) - extract(epoch from '2026-07-24 19:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698337 -2.662011)'), GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.662011)'))) / (select extract(epoch from '2026-07-24 19:15:38'::timestamp) - extract(epoch from '2026-07-24 19:15: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'), 47870, 'SRID=4674;POINT (-39.698345 -2.662008)', '2026-07-24 19:15:48', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.662011)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.662008)'))) / (select extract(epoch from '2026-07-24 19:15:48'::timestamp) - extract(epoch from '2026-07-24 19:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698344 -2.662011)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.662008)'))) / (select extract(epoch from '2026-07-24 19:15:48'::timestamp) - extract(epoch from '2026-07-24 19:15: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'), 47870, 'SRID=4674;POINT (-39.698333 -2.661987)', '2026-07-24 19:16:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.662008)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661987)'))) / (select extract(epoch from '2026-07-24 19:16:36'::timestamp) - extract(epoch from '2026-07-24 19:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.662008)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661987)'))) / (select extract(epoch from '2026-07-24 19:16:36'::timestamp) - extract(epoch from '2026-07-24 19:15: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'), 47870, 'SRID=4674;POINT (-39.698331 -2.661991)', '2026-07-24 19:17:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661987)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661991)'))) / (select extract(epoch from '2026-07-24 19:17:10'::timestamp) - extract(epoch from '2026-07-24 19:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661987)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661991)'))) / (select extract(epoch from '2026-07-24 19:17:10'::timestamp) - extract(epoch from '2026-07-24 19:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69833 -2.661981)', '2026-07-24 19:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661991)'), GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661981)'))) / (select extract(epoch from '2026-07-24 19:17:27'::timestamp) - extract(epoch from '2026-07-24 19:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661991)'), GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661981)'))) / (select extract(epoch from '2026-07-24 19:17:27'::timestamp) - extract(epoch from '2026-07-24 19:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698339 -2.661989)', '2026-07-24 19:18:03', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661981)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661989)'))) / (select extract(epoch from '2026-07-24 19:18:03'::timestamp) - extract(epoch from '2026-07-24 19:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69833 -2.661981)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661989)'))) / (select extract(epoch from '2026-07-24 19:18:03'::timestamp) - extract(epoch from '2026-07-24 19:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698326 -2.661984)', '2026-07-24 19:18:56', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661989)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661984)'))) / (select extract(epoch from '2026-07-24 19:18:56'::timestamp) - extract(epoch from '2026-07-24 19:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.661989)'), GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661984)'))) / (select extract(epoch from '2026-07-24 19:18:56'::timestamp) - extract(epoch from '2026-07-24 19:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698333 -2.661985)', '2026-07-24 19:19:03', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661984)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661985)'))) / (select extract(epoch from '2026-07-24 19:19:03'::timestamp) - extract(epoch from '2026-07-24 19:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698326 -2.661984)'), GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661985)'))) / (select extract(epoch from '2026-07-24 19:19:03'::timestamp) - extract(epoch from '2026-07-24 19:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698328 -2.66198)', '2026-07-24 19:19:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661985)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66198)'))) / (select extract(epoch from '2026-07-24 19:19:13'::timestamp) - extract(epoch from '2026-07-24 19:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698333 -2.661985)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66198)'))) / (select extract(epoch from '2026-07-24 19:19:13'::timestamp) - extract(epoch from '2026-07-24 19:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698327 -2.661964)', '2026-07-24 19:19:23', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66198)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661964)'))) / (select extract(epoch from '2026-07-24 19:19:23'::timestamp) - extract(epoch from '2026-07-24 19:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.66198)'), GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661964)'))) / (select extract(epoch from '2026-07-24 19:19:23'::timestamp) - extract(epoch from '2026-07-24 19:19: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'), 47870, 'SRID=4674;POINT (-39.698328 -2.661967)', '2026-07-24 19:19:38', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661964)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661967)'))) / (select extract(epoch from '2026-07-24 19:19:38'::timestamp) - extract(epoch from '2026-07-24 19:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698327 -2.661964)'), GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661967)'))) / (select extract(epoch from '2026-07-24 19:19:38'::timestamp) - extract(epoch from '2026-07-24 19:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698338 -2.66198)', '2026-07-24 19:20:08', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661967)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.66198)'))) / (select extract(epoch from '2026-07-24 19:20:08'::timestamp) - extract(epoch from '2026-07-24 19:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698328 -2.661967)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.66198)'))) / (select extract(epoch from '2026-07-24 19:20:08'::timestamp) - extract(epoch from '2026-07-24 19:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698345 -2.661998)', '2026-07-24 19:23:43', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.66198)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661998)'))) / (select extract(epoch from '2026-07-24 19:23:43'::timestamp) - extract(epoch from '2026-07-24 19:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.66198)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661998)'))) / (select extract(epoch from '2026-07-24 19:23:43'::timestamp) - extract(epoch from '2026-07-24 19:20: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'), 47870, 'SRID=4674;POINT (-39.698343 -2.662003)', '2026-07-24 19:24:01', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661998)'), GeomFromEWKT('SRID=4674;POINT (-39.698343 -2.662003)'))) / (select extract(epoch from '2026-07-24 19:24:01'::timestamp) - extract(epoch from '2026-07-24 19:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.661998)'), GeomFromEWKT('SRID=4674;POINT (-39.698343 -2.662003)'))) / (select extract(epoch from '2026-07-24 19:24:01'::timestamp) - extract(epoch from '2026-07-24 19:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698331 -2.661988)', '2026-07-24 19:25:12', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698343 -2.662003)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661988)'))) / (select extract(epoch from '2026-07-24 19:25:12'::timestamp) - extract(epoch from '2026-07-24 19:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698343 -2.662003)'), GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661988)'))) / (select extract(epoch from '2026-07-24 19:25:12'::timestamp) - extract(epoch from '2026-07-24 19:24: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'), 47870, 'SRID=4674;POINT (-39.698341 -2.661983)', '2026-07-24 19:27:08', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661988)'), GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661983)'))) / (select extract(epoch from '2026-07-24 19:27:08'::timestamp) - extract(epoch from '2026-07-24 19:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698331 -2.661988)'), GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661983)'))) / (select extract(epoch from '2026-07-24 19:27:08'::timestamp) - extract(epoch from '2026-07-24 19:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698322 -2.661993)', '2026-07-24 19:32:56', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661983)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661993)'))) / (select extract(epoch from '2026-07-24 19:32:56'::timestamp) - extract(epoch from '2026-07-24 19:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698341 -2.661983)'), GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661993)'))) / (select extract(epoch from '2026-07-24 19:32:56'::timestamp) - extract(epoch from '2026-07-24 19:27: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'), 47870, 'SRID=4674;POINT (-39.69836 -2.662042)', '2026-07-24 19:35:30', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661993)'), GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.662042)'))) / (select extract(epoch from '2026-07-24 19:35:30'::timestamp) - extract(epoch from '2026-07-24 19:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698322 -2.661993)'), GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.662042)'))) / (select extract(epoch from '2026-07-24 19:35:30'::timestamp) - extract(epoch from '2026-07-24 19:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698367 -2.662025)', '2026-07-24 19:35:54', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.662042)'), GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.662025)'))) / (select extract(epoch from '2026-07-24 19:35:54'::timestamp) - extract(epoch from '2026-07-24 19:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.662042)'), GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.662025)'))) / (select extract(epoch from '2026-07-24 19:35:54'::timestamp) - extract(epoch from '2026-07-24 19:35:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698356 -2.662017)', '2026-07-24 19:39:02', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.662025)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.662017)'))) / (select extract(epoch from '2026-07-24 19:39:02'::timestamp) - extract(epoch from '2026-07-24 19:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.662025)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.662017)'))) / (select extract(epoch from '2026-07-24 19:39:02'::timestamp) - extract(epoch from '2026-07-24 19:35: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'), 47870, 'SRID=4674;POINT (-39.698358 -2.662024)', '2026-07-24 19:39:09', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.662017)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662024)'))) / (select extract(epoch from '2026-07-24 19:39:09'::timestamp) - extract(epoch from '2026-07-24 19:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.662017)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662024)'))) / (select extract(epoch from '2026-07-24 19:39:09'::timestamp) - extract(epoch from '2026-07-24 19:39: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'), 47870, 'SRID=4674;POINT (-39.698356 -2.662032)', '2026-07-24 19:39:48', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662024)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.662032)'))) / (select extract(epoch from '2026-07-24 19:39:48'::timestamp) - extract(epoch from '2026-07-24 19:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662024)'), GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.662032)'))) / (select extract(epoch from '2026-07-24 19:39:48'::timestamp) - extract(epoch from '2026-07-24 19:39: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'), 47870, 'SRID=4674;POINT (-39.698347 -2.662028)', '2026-07-24 19:40:08', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.662032)'), GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.662028)'))) / (select extract(epoch from '2026-07-24 19:40:08'::timestamp) - extract(epoch from '2026-07-24 19:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698356 -2.662032)'), GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.662028)'))) / (select extract(epoch from '2026-07-24 19:40:08'::timestamp) - extract(epoch from '2026-07-24 19:39: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'), 47870, 'SRID=4674;POINT (-39.698346 -2.662007)', '2026-07-24 19:40:54', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.662028)'), GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.662007)'))) / (select extract(epoch from '2026-07-24 19:40:54'::timestamp) - extract(epoch from '2026-07-24 19:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698347 -2.662028)'), GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.662007)'))) / (select extract(epoch from '2026-07-24 19:40:54'::timestamp) - extract(epoch from '2026-07-24 19:40: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'), 47870, 'SRID=4674;POINT (-39.698351 -2.662012)', '2026-07-24 19:41:07', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.662007)'), GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.662012)'))) / (select extract(epoch from '2026-07-24 19:41:07'::timestamp) - extract(epoch from '2026-07-24 19:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698346 -2.662007)'), GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.662012)'))) / (select extract(epoch from '2026-07-24 19:41:07'::timestamp) - extract(epoch from '2026-07-24 19:40: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'), 47870, 'SRID=4674;POINT (-39.698336 -2.662008)', '2026-07-24 19:42:18', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.662012)'), GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.662008)'))) / (select extract(epoch from '2026-07-24 19:42:18'::timestamp) - extract(epoch from '2026-07-24 19:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.662012)'), GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.662008)'))) / (select extract(epoch from '2026-07-24 19:42:18'::timestamp) - extract(epoch from '2026-07-24 19:41: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'), 47870, 'SRID=4674;POINT (-39.698349 -2.662059)', '2026-07-24 19:44:16', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.662008)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.662059)'))) / (select extract(epoch from '2026-07-24 19:44:16'::timestamp) - extract(epoch from '2026-07-24 19:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.662008)'), GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.662059)'))) / (select extract(epoch from '2026-07-24 19:44:16'::timestamp) - extract(epoch from '2026-07-24 19:42: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'), 47870, 'SRID=4674;POINT (-39.698348 -2.662054)', '2026-07-24 19:45:11', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.662059)'), GeomFromEWKT('SRID=4674;POINT (-39.698348 -2.662054)'))) / (select extract(epoch from '2026-07-24 19:45:11'::timestamp) - extract(epoch from '2026-07-24 19:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698349 -2.662059)'), GeomFromEWKT('SRID=4674;POINT (-39.698348 -2.662054)'))) / (select extract(epoch from '2026-07-24 19:45:11'::timestamp) - extract(epoch from '2026-07-24 19:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698367 -2.662093)', '2026-07-24 19:46:59', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698348 -2.662054)'), GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.662093)'))) / (select extract(epoch from '2026-07-24 19:46:59'::timestamp) - extract(epoch from '2026-07-24 19:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698348 -2.662054)'), GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.662093)'))) / (select extract(epoch from '2026-07-24 19:46:59'::timestamp) - extract(epoch from '2026-07-24 19:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69836 -2.662064)', '2026-07-24 19:47:51', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.662093)'), GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.662064)'))) / (select extract(epoch from '2026-07-24 19:47:51'::timestamp) - extract(epoch from '2026-07-24 19:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.662093)'), GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.662064)'))) / (select extract(epoch from '2026-07-24 19:47:51'::timestamp) - extract(epoch from '2026-07-24 19:46: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'), 47870, 'SRID=4674;POINT (-39.69836 -2.66206)', '2026-07-24 19:48:28', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.662064)'), GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.66206)'))) / (select extract(epoch from '2026-07-24 19:48:28'::timestamp) - extract(epoch from '2026-07-24 19:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.662064)'), GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.66206)'))) / (select extract(epoch from '2026-07-24 19:48:28'::timestamp) - extract(epoch from '2026-07-24 19:47: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'), 47870, 'SRID=4674;POINT (-39.698351 -2.662052)', '2026-07-24 19:48:55', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.66206)'), GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.662052)'))) / (select extract(epoch from '2026-07-24 19:48:55'::timestamp) - extract(epoch from '2026-07-24 19:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69836 -2.66206)'), GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.662052)'))) / (select extract(epoch from '2026-07-24 19:48:55'::timestamp) - extract(epoch from '2026-07-24 19: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'), 47870, 'SRID=4674;POINT (-39.698357 -2.662058)', '2026-07-24 19:49:58', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.662052)'), GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.662058)'))) / (select extract(epoch from '2026-07-24 19:49:58'::timestamp) - extract(epoch from '2026-07-24 19:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.662052)'), GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.662058)'))) / (select extract(epoch from '2026-07-24 19:49:58'::timestamp) - extract(epoch from '2026-07-24 19:48: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'), 47870, 'SRID=4674;POINT (-39.698358 -2.662077)', '2026-07-24 19:50:13', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.662058)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662077)'))) / (select extract(epoch from '2026-07-24 19:50:13'::timestamp) - extract(epoch from '2026-07-24 19:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698357 -2.662058)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662077)'))) / (select extract(epoch from '2026-07-24 19:50:13'::timestamp) - extract(epoch from '2026-07-24 19:49: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'), 47870, 'SRID=4674;POINT (-39.698358 -2.66208)', '2026-07-24 19:50:19', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662077)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.66208)'))) / (select extract(epoch from '2026-07-24 19:50:19'::timestamp) - extract(epoch from '2026-07-24 19:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.662077)'), GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.66208)'))) / (select extract(epoch from '2026-07-24 19:50:19'::timestamp) - extract(epoch from '2026-07-24 19:50: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'), 47870, 'SRID=4674;POINT (-39.698355 -2.662083)', '2026-07-24 19:51:23', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.66208)'), GeomFromEWKT('SRID=4674;POINT (-39.698355 -2.662083)'))) / (select extract(epoch from '2026-07-24 19:51:23'::timestamp) - extract(epoch from '2026-07-24 19:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698358 -2.66208)'), GeomFromEWKT('SRID=4674;POINT (-39.698355 -2.662083)'))) / (select extract(epoch from '2026-07-24 19:51:23'::timestamp) - extract(epoch from '2026-07-24 19:50: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'), 47870, 'SRID=4674;POINT (-39.698364 -2.662083)', '2026-07-24 19:51:46', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698355 -2.662083)'), GeomFromEWKT('SRID=4674;POINT (-39.698364 -2.662083)'))) / (select extract(epoch from '2026-07-24 19:51:46'::timestamp) - extract(epoch from '2026-07-24 19:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698355 -2.662083)'), GeomFromEWKT('SRID=4674;POINT (-39.698364 -2.662083)'))) / (select extract(epoch from '2026-07-24 19:51:46'::timestamp) - extract(epoch from '2026-07-24 19:51: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'), 47870, 'SRID=4674;POINT (-39.698372 -2.662104)', '2026-07-24 19:52:25', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698364 -2.662083)'), GeomFromEWKT('SRID=4674;POINT (-39.698372 -2.662104)'))) / (select extract(epoch from '2026-07-24 19:52:25'::timestamp) - extract(epoch from '2026-07-24 19:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698364 -2.662083)'), GeomFromEWKT('SRID=4674;POINT (-39.698372 -2.662104)'))) / (select extract(epoch from '2026-07-24 19:52:25'::timestamp) - extract(epoch from '2026-07-24 19:51: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'), 47870, 'SRID=4674;POINT (-39.698379 -2.662098)', '2026-07-24 19:55:09', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698372 -2.662104)'), GeomFromEWKT('SRID=4674;POINT (-39.698379 -2.662098)'))) / (select extract(epoch from '2026-07-24 19:55:09'::timestamp) - extract(epoch from '2026-07-24 19:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698372 -2.662104)'), GeomFromEWKT('SRID=4674;POINT (-39.698379 -2.662098)'))) / (select extract(epoch from '2026-07-24 19:55:09'::timestamp) - extract(epoch from '2026-07-24 19:52: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'), 47870, 'SRID=4674;POINT (-39.698379 -2.662098)', '2026-07-24 19:57:33', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698379 -2.662098)'), GeomFromEWKT('SRID=4674;POINT (-39.698379 -2.662098)'))) / (select extract(epoch from '2026-07-24 19:57:33'::timestamp) - extract(epoch from '2026-07-24 19:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698379 -2.662098)'), GeomFromEWKT('SRID=4674;POINT (-39.698379 -2.662098)'))) / (select extract(epoch from '2026-07-24 19:57:33'::timestamp) - extract(epoch from '2026-07-24 19:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
