 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.073247 -3.243029)', '2026-07-31 12:41:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073243 -3.24312)'), GeomFromEWKT('SRID=4674;POINT (-39.073247 -3.243029)'))) / (select extract(epoch from '2026-07-31 12:41:01'::timestamp) - extract(epoch from '2026-07-31 12:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073243 -3.24312)'), GeomFromEWKT('SRID=4674;POINT (-39.073247 -3.243029)'))) / (select extract(epoch from '2026-07-31 12:41:01'::timestamp) - extract(epoch from '2026-07-31 12:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.073265 -3.24291)', '2026-07-31 12:41:07', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073247 -3.243029)'), GeomFromEWKT('SRID=4674;POINT (-39.073265 -3.24291)'))) / (select extract(epoch from '2026-07-31 12:41:07'::timestamp) - extract(epoch from '2026-07-31 12:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073247 -3.243029)'), GeomFromEWKT('SRID=4674;POINT (-39.073265 -3.24291)'))) / (select extract(epoch from '2026-07-31 12:41:07'::timestamp) - extract(epoch from '2026-07-31 12:41: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'), 47459, 'SRID=4674;POINT (-39.073275 -3.242876)', '2026-07-31 12:41:09', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073265 -3.24291)'), GeomFromEWKT('SRID=4674;POINT (-39.073275 -3.242876)'))) / (select extract(epoch from '2026-07-31 12:41:09'::timestamp) - extract(epoch from '2026-07-31 12:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073265 -3.24291)'), GeomFromEWKT('SRID=4674;POINT (-39.073275 -3.242876)'))) / (select extract(epoch from '2026-07-31 12:41:09'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.073283 -3.242817)', '2026-07-31 12:41:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073275 -3.242876)'), GeomFromEWKT('SRID=4674;POINT (-39.073283 -3.242817)'))) / (select extract(epoch from '2026-07-31 12:41:12'::timestamp) - extract(epoch from '2026-07-31 12:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073275 -3.242876)'), GeomFromEWKT('SRID=4674;POINT (-39.073283 -3.242817)'))) / (select extract(epoch from '2026-07-31 12:41:12'::timestamp) - extract(epoch from '2026-07-31 12:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.073294 -3.242718)', '2026-07-31 12:41:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073283 -3.242817)'), GeomFromEWKT('SRID=4674;POINT (-39.073294 -3.242718)'))) / (select extract(epoch from '2026-07-31 12:41:17'::timestamp) - extract(epoch from '2026-07-31 12:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073283 -3.242817)'), GeomFromEWKT('SRID=4674;POINT (-39.073294 -3.242718)'))) / (select extract(epoch from '2026-07-31 12:41:17'::timestamp) - extract(epoch from '2026-07-31 12:41: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'), 47459, 'SRID=4674;POINT (-39.073314 -3.24262)', '2026-07-31 12:41:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073294 -3.242718)'), GeomFromEWKT('SRID=4674;POINT (-39.073314 -3.24262)'))) / (select extract(epoch from '2026-07-31 12:41:22'::timestamp) - extract(epoch from '2026-07-31 12:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073294 -3.242718)'), GeomFromEWKT('SRID=4674;POINT (-39.073314 -3.24262)'))) / (select extract(epoch from '2026-07-31 12:41:22'::timestamp) - extract(epoch from '2026-07-31 12:41: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'), 47459, 'SRID=4674;POINT (-39.073335 -3.242495)', '2026-07-31 12:41:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073314 -3.24262)'), GeomFromEWKT('SRID=4674;POINT (-39.073335 -3.242495)'))) / (select extract(epoch from '2026-07-31 12:41:29'::timestamp) - extract(epoch from '2026-07-31 12:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073314 -3.24262)'), GeomFromEWKT('SRID=4674;POINT (-39.073335 -3.242495)'))) / (select extract(epoch from '2026-07-31 12:41:29'::timestamp) - extract(epoch from '2026-07-31 12:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07338 -3.242359)', '2026-07-31 12:41:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073335 -3.242495)'), GeomFromEWKT('SRID=4674;POINT (-39.07338 -3.242359)'))) / (select extract(epoch from '2026-07-31 12:41:36'::timestamp) - extract(epoch from '2026-07-31 12:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073335 -3.242495)'), GeomFromEWKT('SRID=4674;POINT (-39.07338 -3.242359)'))) / (select extract(epoch from '2026-07-31 12:41:36'::timestamp) - extract(epoch from '2026-07-31 12:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.073407 -3.242262)', '2026-07-31 12:41:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07338 -3.242359)'), GeomFromEWKT('SRID=4674;POINT (-39.073407 -3.242262)'))) / (select extract(epoch from '2026-07-31 12:41:41'::timestamp) - extract(epoch from '2026-07-31 12:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07338 -3.242359)'), GeomFromEWKT('SRID=4674;POINT (-39.073407 -3.242262)'))) / (select extract(epoch from '2026-07-31 12:41:41'::timestamp) - extract(epoch from '2026-07-31 12:41: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'), 47459, 'SRID=4674;POINT (-39.073428 -3.242204)', '2026-07-31 12:41:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073407 -3.242262)'), GeomFromEWKT('SRID=4674;POINT (-39.073428 -3.242204)'))) / (select extract(epoch from '2026-07-31 12:41:45'::timestamp) - extract(epoch from '2026-07-31 12:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073407 -3.242262)'), GeomFromEWKT('SRID=4674;POINT (-39.073428 -3.242204)'))) / (select extract(epoch from '2026-07-31 12:41:45'::timestamp) - extract(epoch from '2026-07-31 12:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.073465 -3.242112)', '2026-07-31 12:41:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073428 -3.242204)'), GeomFromEWKT('SRID=4674;POINT (-39.073465 -3.242112)'))) / (select extract(epoch from '2026-07-31 12:41:50'::timestamp) - extract(epoch from '2026-07-31 12:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073428 -3.242204)'), GeomFromEWKT('SRID=4674;POINT (-39.073465 -3.242112)'))) / (select extract(epoch from '2026-07-31 12:41:50'::timestamp) - extract(epoch from '2026-07-31 12:41: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'), 47459, 'SRID=4674;POINT (-39.07351 -3.241999)', '2026-07-31 12:41:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073465 -3.242112)'), GeomFromEWKT('SRID=4674;POINT (-39.07351 -3.241999)'))) / (select extract(epoch from '2026-07-31 12:41:56'::timestamp) - extract(epoch from '2026-07-31 12:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073465 -3.242112)'), GeomFromEWKT('SRID=4674;POINT (-39.07351 -3.241999)'))) / (select extract(epoch from '2026-07-31 12:41:56'::timestamp) - extract(epoch from '2026-07-31 12:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07358 -3.24187)', '2026-07-31 12:42:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07351 -3.241999)'), GeomFromEWKT('SRID=4674;POINT (-39.07358 -3.24187)'))) / (select extract(epoch from '2026-07-31 12:42:03'::timestamp) - extract(epoch from '2026-07-31 12:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07351 -3.241999)'), GeomFromEWKT('SRID=4674;POINT (-39.07358 -3.24187)'))) / (select extract(epoch from '2026-07-31 12:42:03'::timestamp) - extract(epoch from '2026-07-31 12:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.073646 -3.241755)', '2026-07-31 12:42:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07358 -3.24187)'), GeomFromEWKT('SRID=4674;POINT (-39.073646 -3.241755)'))) / (select extract(epoch from '2026-07-31 12:42:09'::timestamp) - extract(epoch from '2026-07-31 12:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07358 -3.24187)'), GeomFromEWKT('SRID=4674;POINT (-39.073646 -3.241755)'))) / (select extract(epoch from '2026-07-31 12:42:09'::timestamp) - extract(epoch from '2026-07-31 12:42:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.073693 -3.241667)', '2026-07-31 12:42:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073646 -3.241755)'), GeomFromEWKT('SRID=4674;POINT (-39.073693 -3.241667)'))) / (select extract(epoch from '2026-07-31 12:42:14'::timestamp) - extract(epoch from '2026-07-31 12:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073646 -3.241755)'), GeomFromEWKT('SRID=4674;POINT (-39.073693 -3.241667)'))) / (select extract(epoch from '2026-07-31 12:42:14'::timestamp) - extract(epoch from '2026-07-31 12:42: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'), 47459, 'SRID=4674;POINT (-39.073739 -3.241569)', '2026-07-31 12:42:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073693 -3.241667)'), GeomFromEWKT('SRID=4674;POINT (-39.073739 -3.241569)'))) / (select extract(epoch from '2026-07-31 12:42:19'::timestamp) - extract(epoch from '2026-07-31 12:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073693 -3.241667)'), GeomFromEWKT('SRID=4674;POINT (-39.073739 -3.241569)'))) / (select extract(epoch from '2026-07-31 12:42:19'::timestamp) - extract(epoch from '2026-07-31 12:42: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'), 47459, 'SRID=4674;POINT (-39.073768 -3.241496)', '2026-07-31 12:42:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073739 -3.241569)'), GeomFromEWKT('SRID=4674;POINT (-39.073768 -3.241496)'))) / (select extract(epoch from '2026-07-31 12:42:23'::timestamp) - extract(epoch from '2026-07-31 12:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073739 -3.241569)'), GeomFromEWKT('SRID=4674;POINT (-39.073768 -3.241496)'))) / (select extract(epoch from '2026-07-31 12:42:23'::timestamp) - extract(epoch from '2026-07-31 12:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07382 -3.241357)', '2026-07-31 12:42:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073768 -3.241496)'), GeomFromEWKT('SRID=4674;POINT (-39.07382 -3.241357)'))) / (select extract(epoch from '2026-07-31 12:42:30'::timestamp) - extract(epoch from '2026-07-31 12:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073768 -3.241496)'), GeomFromEWKT('SRID=4674;POINT (-39.07382 -3.241357)'))) / (select extract(epoch from '2026-07-31 12:42:30'::timestamp) - extract(epoch from '2026-07-31 12:42: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'), 47459, 'SRID=4674;POINT (-39.073866 -3.241235)', '2026-07-31 12:42:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07382 -3.241357)'), GeomFromEWKT('SRID=4674;POINT (-39.073866 -3.241235)'))) / (select extract(epoch from '2026-07-31 12:42:36'::timestamp) - extract(epoch from '2026-07-31 12:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07382 -3.241357)'), GeomFromEWKT('SRID=4674;POINT (-39.073866 -3.241235)'))) / (select extract(epoch from '2026-07-31 12:42:36'::timestamp) - extract(epoch from '2026-07-31 12:42: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'), 47459, 'SRID=4674;POINT (-39.073905 -3.241115)', '2026-07-31 12:42:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073866 -3.241235)'), GeomFromEWKT('SRID=4674;POINT (-39.073905 -3.241115)'))) / (select extract(epoch from '2026-07-31 12:42:42'::timestamp) - extract(epoch from '2026-07-31 12:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073866 -3.241235)'), GeomFromEWKT('SRID=4674;POINT (-39.073905 -3.241115)'))) / (select extract(epoch from '2026-07-31 12:42:42'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.073948 -3.241002)', '2026-07-31 12:42:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073905 -3.241115)'), GeomFromEWKT('SRID=4674;POINT (-39.073948 -3.241002)'))) / (select extract(epoch from '2026-07-31 12:42:48'::timestamp) - extract(epoch from '2026-07-31 12:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073905 -3.241115)'), GeomFromEWKT('SRID=4674;POINT (-39.073948 -3.241002)'))) / (select extract(epoch from '2026-07-31 12:42:48'::timestamp) - extract(epoch from '2026-07-31 12:42: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'), 47459, 'SRID=4674;POINT (-39.073987 -3.240901)', '2026-07-31 12:42:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073948 -3.241002)'), GeomFromEWKT('SRID=4674;POINT (-39.073987 -3.240901)'))) / (select extract(epoch from '2026-07-31 12:42:53'::timestamp) - extract(epoch from '2026-07-31 12:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073948 -3.241002)'), GeomFromEWKT('SRID=4674;POINT (-39.073987 -3.240901)'))) / (select extract(epoch from '2026-07-31 12:42:53'::timestamp) - extract(epoch from '2026-07-31 12:42: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'), 47459, 'SRID=4674;POINT (-39.074043 -3.240776)', '2026-07-31 12:43:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073987 -3.240901)'), GeomFromEWKT('SRID=4674;POINT (-39.074043 -3.240776)'))) / (select extract(epoch from '2026-07-31 12:43:00'::timestamp) - extract(epoch from '2026-07-31 12:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.073987 -3.240901)'), GeomFromEWKT('SRID=4674;POINT (-39.074043 -3.240776)'))) / (select extract(epoch from '2026-07-31 12:43:00'::timestamp) - extract(epoch from '2026-07-31 12:42: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'), 47459, 'SRID=4674;POINT (-39.074088 -3.24068)', '2026-07-31 12:43:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074043 -3.240776)'), GeomFromEWKT('SRID=4674;POINT (-39.074088 -3.24068)'))) / (select extract(epoch from '2026-07-31 12:43:05'::timestamp) - extract(epoch from '2026-07-31 12:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074043 -3.240776)'), GeomFromEWKT('SRID=4674;POINT (-39.074088 -3.24068)'))) / (select extract(epoch from '2026-07-31 12:43:05'::timestamp) - extract(epoch from '2026-07-31 12:43: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'), 47459, 'SRID=4674;POINT (-39.074102 -3.240606)', '2026-07-31 12:43:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074088 -3.24068)'), GeomFromEWKT('SRID=4674;POINT (-39.074102 -3.240606)'))) / (select extract(epoch from '2026-07-31 12:43:09'::timestamp) - extract(epoch from '2026-07-31 12:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074088 -3.24068)'), GeomFromEWKT('SRID=4674;POINT (-39.074102 -3.240606)'))) / (select extract(epoch from '2026-07-31 12:43:09'::timestamp) - extract(epoch from '2026-07-31 12:43: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'), 47459, 'SRID=4674;POINT (-39.074138 -3.240505)', '2026-07-31 12:43:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074102 -3.240606)'), GeomFromEWKT('SRID=4674;POINT (-39.074138 -3.240505)'))) / (select extract(epoch from '2026-07-31 12:43:14'::timestamp) - extract(epoch from '2026-07-31 12:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074102 -3.240606)'), GeomFromEWKT('SRID=4674;POINT (-39.074138 -3.240505)'))) / (select extract(epoch from '2026-07-31 12:43:14'::timestamp) - extract(epoch from '2026-07-31 12:43: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'), 47459, 'SRID=4674;POINT (-39.074151 -3.240468)', '2026-07-31 12:43:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074138 -3.240505)'), GeomFromEWKT('SRID=4674;POINT (-39.074151 -3.240468)'))) / (select extract(epoch from '2026-07-31 12:43:16'::timestamp) - extract(epoch from '2026-07-31 12:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074138 -3.240505)'), GeomFromEWKT('SRID=4674;POINT (-39.074151 -3.240468)'))) / (select extract(epoch from '2026-07-31 12:43:16'::timestamp) - extract(epoch from '2026-07-31 12:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.074182 -3.240429)', '2026-07-31 12:43:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074151 -3.240468)'), GeomFromEWKT('SRID=4674;POINT (-39.074182 -3.240429)'))) / (select extract(epoch from '2026-07-31 12:43:18'::timestamp) - extract(epoch from '2026-07-31 12:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074151 -3.240468)'), GeomFromEWKT('SRID=4674;POINT (-39.074182 -3.240429)'))) / (select extract(epoch from '2026-07-31 12:43:18'::timestamp) - extract(epoch from '2026-07-31 12:43:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.074191 -3.240403)', '2026-07-31 12:43:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074182 -3.240429)'), GeomFromEWKT('SRID=4674;POINT (-39.074191 -3.240403)'))) / (select extract(epoch from '2026-07-31 12:43:20'::timestamp) - extract(epoch from '2026-07-31 12:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074182 -3.240429)'), GeomFromEWKT('SRID=4674;POINT (-39.074191 -3.240403)'))) / (select extract(epoch from '2026-07-31 12:43:20'::timestamp) - extract(epoch from '2026-07-31 12:43: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'), 47459, 'SRID=4674;POINT (-39.074198 -3.240367)', '2026-07-31 12:43:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074191 -3.240403)'), GeomFromEWKT('SRID=4674;POINT (-39.074198 -3.240367)'))) / (select extract(epoch from '2026-07-31 12:43:22'::timestamp) - extract(epoch from '2026-07-31 12:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074191 -3.240403)'), GeomFromEWKT('SRID=4674;POINT (-39.074198 -3.240367)'))) / (select extract(epoch from '2026-07-31 12:43:22'::timestamp) - extract(epoch from '2026-07-31 12:43:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.074248 -3.240271)', '2026-07-31 12:43:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074198 -3.240367)'), GeomFromEWKT('SRID=4674;POINT (-39.074248 -3.240271)'))) / (select extract(epoch from '2026-07-31 12:43:27'::timestamp) - extract(epoch from '2026-07-31 12:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074198 -3.240367)'), GeomFromEWKT('SRID=4674;POINT (-39.074248 -3.240271)'))) / (select extract(epoch from '2026-07-31 12:43:27'::timestamp) - extract(epoch from '2026-07-31 12:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.074311 -3.240137)', '2026-07-31 12:43:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074248 -3.240271)'), GeomFromEWKT('SRID=4674;POINT (-39.074311 -3.240137)'))) / (select extract(epoch from '2026-07-31 12:43:34'::timestamp) - extract(epoch from '2026-07-31 12:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074248 -3.240271)'), GeomFromEWKT('SRID=4674;POINT (-39.074311 -3.240137)'))) / (select extract(epoch from '2026-07-31 12:43:34'::timestamp) - extract(epoch from '2026-07-31 12:43: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'), 47459, 'SRID=4674;POINT (-39.074369 -3.240037)', '2026-07-31 12:43:39', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074311 -3.240137)'), GeomFromEWKT('SRID=4674;POINT (-39.074369 -3.240037)'))) / (select extract(epoch from '2026-07-31 12:43:39'::timestamp) - extract(epoch from '2026-07-31 12:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074311 -3.240137)'), GeomFromEWKT('SRID=4674;POINT (-39.074369 -3.240037)'))) / (select extract(epoch from '2026-07-31 12:43:39'::timestamp) - extract(epoch from '2026-07-31 12:43: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'), 47459, 'SRID=4674;POINT (-39.074423 -3.239931)', '2026-07-31 12:43:45', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074369 -3.240037)'), GeomFromEWKT('SRID=4674;POINT (-39.074423 -3.239931)'))) / (select extract(epoch from '2026-07-31 12:43:45'::timestamp) - extract(epoch from '2026-07-31 12:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074369 -3.240037)'), GeomFromEWKT('SRID=4674;POINT (-39.074423 -3.239931)'))) / (select extract(epoch from '2026-07-31 12:43:45'::timestamp) - extract(epoch from '2026-07-31 12:43: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'), 47459, 'SRID=4674;POINT (-39.074484 -3.23981)', '2026-07-31 12:43:51', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074423 -3.239931)'), GeomFromEWKT('SRID=4674;POINT (-39.074484 -3.23981)'))) / (select extract(epoch from '2026-07-31 12:43:51'::timestamp) - extract(epoch from '2026-07-31 12:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074423 -3.239931)'), GeomFromEWKT('SRID=4674;POINT (-39.074484 -3.23981)'))) / (select extract(epoch from '2026-07-31 12:43:51'::timestamp) - extract(epoch from '2026-07-31 12:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.074535 -3.239741)', '2026-07-31 12:43:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074484 -3.23981)'), GeomFromEWKT('SRID=4674;POINT (-39.074535 -3.239741)'))) / (select extract(epoch from '2026-07-31 12:43:55'::timestamp) - extract(epoch from '2026-07-31 12:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074484 -3.23981)'), GeomFromEWKT('SRID=4674;POINT (-39.074535 -3.239741)'))) / (select extract(epoch from '2026-07-31 12:43:55'::timestamp) - extract(epoch from '2026-07-31 12:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.074577 -3.239634)', '2026-07-31 12:44:01', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074535 -3.239741)'), GeomFromEWKT('SRID=4674;POINT (-39.074577 -3.239634)'))) / (select extract(epoch from '2026-07-31 12:44:01'::timestamp) - extract(epoch from '2026-07-31 12:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074535 -3.239741)'), GeomFromEWKT('SRID=4674;POINT (-39.074577 -3.239634)'))) / (select extract(epoch from '2026-07-31 12:44:01'::timestamp) - extract(epoch from '2026-07-31 12:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.074606 -3.239534)', '2026-07-31 12:44:06', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074577 -3.239634)'), GeomFromEWKT('SRID=4674;POINT (-39.074606 -3.239534)'))) / (select extract(epoch from '2026-07-31 12:44:06'::timestamp) - extract(epoch from '2026-07-31 12:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074577 -3.239634)'), GeomFromEWKT('SRID=4674;POINT (-39.074606 -3.239534)'))) / (select extract(epoch from '2026-07-31 12:44:06'::timestamp) - extract(epoch from '2026-07-31 12:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.074655 -3.239389)', '2026-07-31 12:44:13', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074606 -3.239534)'), GeomFromEWKT('SRID=4674;POINT (-39.074655 -3.239389)'))) / (select extract(epoch from '2026-07-31 12:44:13'::timestamp) - extract(epoch from '2026-07-31 12:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074606 -3.239534)'), GeomFromEWKT('SRID=4674;POINT (-39.074655 -3.239389)'))) / (select extract(epoch from '2026-07-31 12:44:13'::timestamp) - extract(epoch from '2026-07-31 12:44: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'), 47459, 'SRID=4674;POINT (-39.074724 -3.239276)', '2026-07-31 12:44:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074655 -3.239389)'), GeomFromEWKT('SRID=4674;POINT (-39.074724 -3.239276)'))) / (select extract(epoch from '2026-07-31 12:44:19'::timestamp) - extract(epoch from '2026-07-31 12:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074655 -3.239389)'), GeomFromEWKT('SRID=4674;POINT (-39.074724 -3.239276)'))) / (select extract(epoch from '2026-07-31 12:44:19'::timestamp) - extract(epoch from '2026-07-31 12:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.074794 -3.239174)', '2026-07-31 12:44:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074724 -3.239276)'), GeomFromEWKT('SRID=4674;POINT (-39.074794 -3.239174)'))) / (select extract(epoch from '2026-07-31 12:44:25'::timestamp) - extract(epoch from '2026-07-31 12:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074724 -3.239276)'), GeomFromEWKT('SRID=4674;POINT (-39.074794 -3.239174)'))) / (select extract(epoch from '2026-07-31 12:44:25'::timestamp) - extract(epoch from '2026-07-31 12:44:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.074866 -3.239073)', '2026-07-31 12:44:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074794 -3.239174)'), GeomFromEWKT('SRID=4674;POINT (-39.074866 -3.239073)'))) / (select extract(epoch from '2026-07-31 12:44:31'::timestamp) - extract(epoch from '2026-07-31 12:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074794 -3.239174)'), GeomFromEWKT('SRID=4674;POINT (-39.074866 -3.239073)'))) / (select extract(epoch from '2026-07-31 12:44:31'::timestamp) - extract(epoch from '2026-07-31 12:44:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.074951 -3.238971)', '2026-07-31 12:44:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074866 -3.239073)'), GeomFromEWKT('SRID=4674;POINT (-39.074951 -3.238971)'))) / (select extract(epoch from '2026-07-31 12:44:37'::timestamp) - extract(epoch from '2026-07-31 12:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074866 -3.239073)'), GeomFromEWKT('SRID=4674;POINT (-39.074951 -3.238971)'))) / (select extract(epoch from '2026-07-31 12:44:37'::timestamp) - extract(epoch from '2026-07-31 12:44: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'), 47459, 'SRID=4674;POINT (-39.075047 -3.238887)', '2026-07-31 12:44:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074951 -3.238971)'), GeomFromEWKT('SRID=4674;POINT (-39.075047 -3.238887)'))) / (select extract(epoch from '2026-07-31 12:44:43'::timestamp) - extract(epoch from '2026-07-31 12:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.074951 -3.238971)'), GeomFromEWKT('SRID=4674;POINT (-39.075047 -3.238887)'))) / (select extract(epoch from '2026-07-31 12:44:43'::timestamp) - extract(epoch from '2026-07-31 12:44: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'), 47459, 'SRID=4674;POINT (-39.07515 -3.23879)', '2026-07-31 12:44:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075047 -3.238887)'), GeomFromEWKT('SRID=4674;POINT (-39.07515 -3.23879)'))) / (select extract(epoch from '2026-07-31 12:44:49'::timestamp) - extract(epoch from '2026-07-31 12:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075047 -3.238887)'), GeomFromEWKT('SRID=4674;POINT (-39.07515 -3.23879)'))) / (select extract(epoch from '2026-07-31 12:44:49'::timestamp) - extract(epoch from '2026-07-31 12:44: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'), 47459, 'SRID=4674;POINT (-39.075239 -3.238702)', '2026-07-31 12:44:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07515 -3.23879)'), GeomFromEWKT('SRID=4674;POINT (-39.075239 -3.238702)'))) / (select extract(epoch from '2026-07-31 12:44:55'::timestamp) - extract(epoch from '2026-07-31 12:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07515 -3.23879)'), GeomFromEWKT('SRID=4674;POINT (-39.075239 -3.238702)'))) / (select extract(epoch from '2026-07-31 12:44:55'::timestamp) - extract(epoch from '2026-07-31 12:44: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'), 47459, 'SRID=4674;POINT (-39.075296 -3.238616)', '2026-07-31 12:45:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075239 -3.238702)'), GeomFromEWKT('SRID=4674;POINT (-39.075296 -3.238616)'))) / (select extract(epoch from '2026-07-31 12:45:00'::timestamp) - extract(epoch from '2026-07-31 12:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075239 -3.238702)'), GeomFromEWKT('SRID=4674;POINT (-39.075296 -3.238616)'))) / (select extract(epoch from '2026-07-31 12:45:00'::timestamp) - extract(epoch from '2026-07-31 12:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.075369 -3.238529)', '2026-07-31 12:45:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075296 -3.238616)'), GeomFromEWKT('SRID=4674;POINT (-39.075369 -3.238529)'))) / (select extract(epoch from '2026-07-31 12:45:05'::timestamp) - extract(epoch from '2026-07-31 12:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075296 -3.238616)'), GeomFromEWKT('SRID=4674;POINT (-39.075369 -3.238529)'))) / (select extract(epoch from '2026-07-31 12:45:05'::timestamp) - extract(epoch from '2026-07-31 12:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.075448 -3.238426)', '2026-07-31 12:45:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075369 -3.238529)'), GeomFromEWKT('SRID=4674;POINT (-39.075448 -3.238426)'))) / (select extract(epoch from '2026-07-31 12:45:11'::timestamp) - extract(epoch from '2026-07-31 12:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075369 -3.238529)'), GeomFromEWKT('SRID=4674;POINT (-39.075448 -3.238426)'))) / (select extract(epoch from '2026-07-31 12:45:11'::timestamp) - extract(epoch from '2026-07-31 12:45: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'), 47459, 'SRID=4674;POINT (-39.075507 -3.23834)', '2026-07-31 12:45:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075448 -3.238426)'), GeomFromEWKT('SRID=4674;POINT (-39.075507 -3.23834)'))) / (select extract(epoch from '2026-07-31 12:45:16'::timestamp) - extract(epoch from '2026-07-31 12:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075448 -3.238426)'), GeomFromEWKT('SRID=4674;POINT (-39.075507 -3.23834)'))) / (select extract(epoch from '2026-07-31 12:45:16'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.075577 -3.238257)', '2026-07-31 12:45:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075507 -3.23834)'), GeomFromEWKT('SRID=4674;POINT (-39.075577 -3.238257)'))) / (select extract(epoch from '2026-07-31 12:45:21'::timestamp) - extract(epoch from '2026-07-31 12:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075507 -3.23834)'), GeomFromEWKT('SRID=4674;POINT (-39.075577 -3.238257)'))) / (select extract(epoch from '2026-07-31 12:45:21'::timestamp) - extract(epoch from '2026-07-31 12:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.075643 -3.238193)', '2026-07-31 12:45:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075577 -3.238257)'), GeomFromEWKT('SRID=4674;POINT (-39.075643 -3.238193)'))) / (select extract(epoch from '2026-07-31 12:45:25'::timestamp) - extract(epoch from '2026-07-31 12:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075577 -3.238257)'), GeomFromEWKT('SRID=4674;POINT (-39.075643 -3.238193)'))) / (select extract(epoch from '2026-07-31 12:45:25'::timestamp) - extract(epoch from '2026-07-31 12:45:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.075662 -3.238167)', '2026-07-31 12:45:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075643 -3.238193)'), GeomFromEWKT('SRID=4674;POINT (-39.075662 -3.238167)'))) / (select extract(epoch from '2026-07-31 12:45:27'::timestamp) - extract(epoch from '2026-07-31 12:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075643 -3.238193)'), GeomFromEWKT('SRID=4674;POINT (-39.075662 -3.238167)'))) / (select extract(epoch from '2026-07-31 12:45:27'::timestamp) - extract(epoch from '2026-07-31 12:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.075699 -3.238139)', '2026-07-31 12:45:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075662 -3.238167)'), GeomFromEWKT('SRID=4674;POINT (-39.075699 -3.238139)'))) / (select extract(epoch from '2026-07-31 12:45:29'::timestamp) - extract(epoch from '2026-07-31 12:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075662 -3.238167)'), GeomFromEWKT('SRID=4674;POINT (-39.075699 -3.238139)'))) / (select extract(epoch from '2026-07-31 12:45:29'::timestamp) - extract(epoch from '2026-07-31 12:45: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'), 47459, 'SRID=4674;POINT (-39.075757 -3.238054)', '2026-07-31 12:45:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075699 -3.238139)'), GeomFromEWKT('SRID=4674;POINT (-39.075757 -3.238054)'))) / (select extract(epoch from '2026-07-31 12:45:34'::timestamp) - extract(epoch from '2026-07-31 12:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075699 -3.238139)'), GeomFromEWKT('SRID=4674;POINT (-39.075757 -3.238054)'))) / (select extract(epoch from '2026-07-31 12:45:34'::timestamp) - extract(epoch from '2026-07-31 12:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.075848 -3.237927)', '2026-07-31 12:45:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075757 -3.238054)'), GeomFromEWKT('SRID=4674;POINT (-39.075848 -3.237927)'))) / (select extract(epoch from '2026-07-31 12:45:41'::timestamp) - extract(epoch from '2026-07-31 12:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075757 -3.238054)'), GeomFromEWKT('SRID=4674;POINT (-39.075848 -3.237927)'))) / (select extract(epoch from '2026-07-31 12:45:41'::timestamp) - extract(epoch from '2026-07-31 12:45:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.075885 -3.237857)', '2026-07-31 12:45:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075848 -3.237927)'), GeomFromEWKT('SRID=4674;POINT (-39.075885 -3.237857)'))) / (select extract(epoch from '2026-07-31 12:45:45'::timestamp) - extract(epoch from '2026-07-31 12:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075848 -3.237927)'), GeomFromEWKT('SRID=4674;POINT (-39.075885 -3.237857)'))) / (select extract(epoch from '2026-07-31 12:45:45'::timestamp) - extract(epoch from '2026-07-31 12:45: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'), 47459, 'SRID=4674;POINT (-39.075908 -3.237784)', '2026-07-31 12:45:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075885 -3.237857)'), GeomFromEWKT('SRID=4674;POINT (-39.075908 -3.237784)'))) / (select extract(epoch from '2026-07-31 12:45:49'::timestamp) - extract(epoch from '2026-07-31 12:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075885 -3.237857)'), GeomFromEWKT('SRID=4674;POINT (-39.075908 -3.237784)'))) / (select extract(epoch from '2026-07-31 12:45:49'::timestamp) - extract(epoch from '2026-07-31 12:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.075917 -3.237767)', '2026-07-31 12:45:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075908 -3.237784)'), GeomFromEWKT('SRID=4674;POINT (-39.075917 -3.237767)'))) / (select extract(epoch from '2026-07-31 12:45:50'::timestamp) - extract(epoch from '2026-07-31 12:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075908 -3.237784)'), GeomFromEWKT('SRID=4674;POINT (-39.075917 -3.237767)'))) / (select extract(epoch from '2026-07-31 12:45:50'::timestamp) - extract(epoch from '2026-07-31 12:45: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'), 47459, 'SRID=4674;POINT (-39.075929 -3.237698)', '2026-07-31 12:45:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075917 -3.237767)'), GeomFromEWKT('SRID=4674;POINT (-39.075929 -3.237698)'))) / (select extract(epoch from '2026-07-31 12:45:53'::timestamp) - extract(epoch from '2026-07-31 12:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075917 -3.237767)'), GeomFromEWKT('SRID=4674;POINT (-39.075929 -3.237698)'))) / (select extract(epoch from '2026-07-31 12:45:53'::timestamp) - extract(epoch from '2026-07-31 12:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.075927 -3.237683)', '2026-07-31 12:45:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075929 -3.237698)'), GeomFromEWKT('SRID=4674;POINT (-39.075927 -3.237683)'))) / (select extract(epoch from '2026-07-31 12:45:54'::timestamp) - extract(epoch from '2026-07-31 12:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075929 -3.237698)'), GeomFromEWKT('SRID=4674;POINT (-39.075927 -3.237683)'))) / (select extract(epoch from '2026-07-31 12:45:54'::timestamp) - extract(epoch from '2026-07-31 12:45: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'), 47459, 'SRID=4674;POINT (-39.07594 -3.237587)', '2026-07-31 12:45:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075927 -3.237683)'), GeomFromEWKT('SRID=4674;POINT (-39.07594 -3.237587)'))) / (select extract(epoch from '2026-07-31 12:45:59'::timestamp) - extract(epoch from '2026-07-31 12:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075927 -3.237683)'), GeomFromEWKT('SRID=4674;POINT (-39.07594 -3.237587)'))) / (select extract(epoch from '2026-07-31 12:45:59'::timestamp) - extract(epoch from '2026-07-31 12:45: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'), 47459, 'SRID=4674;POINT (-39.075946 -3.237516)', '2026-07-31 12:46:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07594 -3.237587)'), GeomFromEWKT('SRID=4674;POINT (-39.075946 -3.237516)'))) / (select extract(epoch from '2026-07-31 12:46:03'::timestamp) - extract(epoch from '2026-07-31 12:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07594 -3.237587)'), GeomFromEWKT('SRID=4674;POINT (-39.075946 -3.237516)'))) / (select extract(epoch from '2026-07-31 12:46:03'::timestamp) - extract(epoch from '2026-07-31 12:45:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.075947 -3.237434)', '2026-07-31 12:46:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075946 -3.237516)'), GeomFromEWKT('SRID=4674;POINT (-39.075947 -3.237434)'))) / (select extract(epoch from '2026-07-31 12:46:08'::timestamp) - extract(epoch from '2026-07-31 12:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075946 -3.237516)'), GeomFromEWKT('SRID=4674;POINT (-39.075947 -3.237434)'))) / (select extract(epoch from '2026-07-31 12:46:08'::timestamp) - extract(epoch from '2026-07-31 12:46: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'), 47459, 'SRID=4674;POINT (-39.075945 -3.237398)', '2026-07-31 12:46:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075947 -3.237434)'), GeomFromEWKT('SRID=4674;POINT (-39.075945 -3.237398)'))) / (select extract(epoch from '2026-07-31 12:46:10'::timestamp) - extract(epoch from '2026-07-31 12:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075947 -3.237434)'), GeomFromEWKT('SRID=4674;POINT (-39.075945 -3.237398)'))) / (select extract(epoch from '2026-07-31 12:46:10'::timestamp) - extract(epoch from '2026-07-31 12:46: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'), 47459, 'SRID=4674;POINT (-39.075962 -3.237366)', '2026-07-31 12:46:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075945 -3.237398)'), GeomFromEWKT('SRID=4674;POINT (-39.075962 -3.237366)'))) / (select extract(epoch from '2026-07-31 12:46:12'::timestamp) - extract(epoch from '2026-07-31 12:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075945 -3.237398)'), GeomFromEWKT('SRID=4674;POINT (-39.075962 -3.237366)'))) / (select extract(epoch from '2026-07-31 12:46:12'::timestamp) - extract(epoch from '2026-07-31 12:46: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'), 47459, 'SRID=4674;POINT (-39.075971 -3.237303)', '2026-07-31 12:46:16', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075962 -3.237366)'), GeomFromEWKT('SRID=4674;POINT (-39.075971 -3.237303)'))) / (select extract(epoch from '2026-07-31 12:46:16'::timestamp) - extract(epoch from '2026-07-31 12:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075962 -3.237366)'), GeomFromEWKT('SRID=4674;POINT (-39.075971 -3.237303)'))) / (select extract(epoch from '2026-07-31 12:46:16'::timestamp) - extract(epoch from '2026-07-31 12:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.075979 -3.237287)', '2026-07-31 12:46:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075971 -3.237303)'), GeomFromEWKT('SRID=4674;POINT (-39.075979 -3.237287)'))) / (select extract(epoch from '2026-07-31 12:46:17'::timestamp) - extract(epoch from '2026-07-31 12:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075971 -3.237303)'), GeomFromEWKT('SRID=4674;POINT (-39.075979 -3.237287)'))) / (select extract(epoch from '2026-07-31 12:46:17'::timestamp) - extract(epoch from '2026-07-31 12:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.076001 -3.237196)', '2026-07-31 12:46:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075979 -3.237287)'), GeomFromEWKT('SRID=4674;POINT (-39.076001 -3.237196)'))) / (select extract(epoch from '2026-07-31 12:46:22'::timestamp) - extract(epoch from '2026-07-31 12:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.075979 -3.237287)'), GeomFromEWKT('SRID=4674;POINT (-39.076001 -3.237196)'))) / (select extract(epoch from '2026-07-31 12:46:22'::timestamp) - extract(epoch from '2026-07-31 12:46: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'), 47459, 'SRID=4674;POINT (-39.076027 -3.237136)', '2026-07-31 12:46:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076001 -3.237196)'), GeomFromEWKT('SRID=4674;POINT (-39.076027 -3.237136)'))) / (select extract(epoch from '2026-07-31 12:46:25'::timestamp) - extract(epoch from '2026-07-31 12:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076001 -3.237196)'), GeomFromEWKT('SRID=4674;POINT (-39.076027 -3.237136)'))) / (select extract(epoch from '2026-07-31 12:46:25'::timestamp) - extract(epoch from '2026-07-31 12:46: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'), 47459, 'SRID=4674;POINT (-39.076036 -3.237101)', '2026-07-31 12:46:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076027 -3.237136)'), GeomFromEWKT('SRID=4674;POINT (-39.076036 -3.237101)'))) / (select extract(epoch from '2026-07-31 12:46:27'::timestamp) - extract(epoch from '2026-07-31 12:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076027 -3.237136)'), GeomFromEWKT('SRID=4674;POINT (-39.076036 -3.237101)'))) / (select extract(epoch from '2026-07-31 12:46:27'::timestamp) - extract(epoch from '2026-07-31 12:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.076076 -3.237012)', '2026-07-31 12:46:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076036 -3.237101)'), GeomFromEWKT('SRID=4674;POINT (-39.076076 -3.237012)'))) / (select extract(epoch from '2026-07-31 12:46:32'::timestamp) - extract(epoch from '2026-07-31 12:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076036 -3.237101)'), GeomFromEWKT('SRID=4674;POINT (-39.076076 -3.237012)'))) / (select extract(epoch from '2026-07-31 12:46:32'::timestamp) - extract(epoch from '2026-07-31 12:46: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'), 47459, 'SRID=4674;POINT (-39.07612 -3.236927)', '2026-07-31 12:46:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076076 -3.237012)'), GeomFromEWKT('SRID=4674;POINT (-39.07612 -3.236927)'))) / (select extract(epoch from '2026-07-31 12:46:37'::timestamp) - extract(epoch from '2026-07-31 12:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076076 -3.237012)'), GeomFromEWKT('SRID=4674;POINT (-39.07612 -3.236927)'))) / (select extract(epoch from '2026-07-31 12:46:37'::timestamp) - extract(epoch from '2026-07-31 12:46: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'), 47459, 'SRID=4674;POINT (-39.076186 -3.236859)', '2026-07-31 12:46:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07612 -3.236927)'), GeomFromEWKT('SRID=4674;POINT (-39.076186 -3.236859)'))) / (select extract(epoch from '2026-07-31 12:46:42'::timestamp) - extract(epoch from '2026-07-31 12:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07612 -3.236927)'), GeomFromEWKT('SRID=4674;POINT (-39.076186 -3.236859)'))) / (select extract(epoch from '2026-07-31 12:46:42'::timestamp) - extract(epoch from '2026-07-31 12:46: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'), 47459, 'SRID=4674;POINT (-39.076267 -3.236811)', '2026-07-31 12:46:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076186 -3.236859)'), GeomFromEWKT('SRID=4674;POINT (-39.076267 -3.236811)'))) / (select extract(epoch from '2026-07-31 12:46:47'::timestamp) - extract(epoch from '2026-07-31 12:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076186 -3.236859)'), GeomFromEWKT('SRID=4674;POINT (-39.076267 -3.236811)'))) / (select extract(epoch from '2026-07-31 12:46:47'::timestamp) - extract(epoch from '2026-07-31 12:46: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'), 47459, 'SRID=4674;POINT (-39.07638 -3.236756)', '2026-07-31 12:46:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076267 -3.236811)'), GeomFromEWKT('SRID=4674;POINT (-39.07638 -3.236756)'))) / (select extract(epoch from '2026-07-31 12:46:53'::timestamp) - extract(epoch from '2026-07-31 12:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076267 -3.236811)'), GeomFromEWKT('SRID=4674;POINT (-39.07638 -3.236756)'))) / (select extract(epoch from '2026-07-31 12:46:53'::timestamp) - extract(epoch from '2026-07-31 12:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.076554 -3.236676)', '2026-07-31 12:47:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07638 -3.236756)'), GeomFromEWKT('SRID=4674;POINT (-39.076554 -3.236676)'))) / (select extract(epoch from '2026-07-31 12:47:02'::timestamp) - extract(epoch from '2026-07-31 12:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07638 -3.236756)'), GeomFromEWKT('SRID=4674;POINT (-39.076554 -3.236676)'))) / (select extract(epoch from '2026-07-31 12:47:02'::timestamp) - extract(epoch from '2026-07-31 12:46: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'), 47459, 'SRID=4674;POINT (-39.076695 -3.236608)', '2026-07-31 12:47:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076554 -3.236676)'), GeomFromEWKT('SRID=4674;POINT (-39.076695 -3.236608)'))) / (select extract(epoch from '2026-07-31 12:47:09'::timestamp) - extract(epoch from '2026-07-31 12:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076554 -3.236676)'), GeomFromEWKT('SRID=4674;POINT (-39.076695 -3.236608)'))) / (select extract(epoch from '2026-07-31 12:47:09'::timestamp) - extract(epoch from '2026-07-31 12:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.076786 -3.236575)', '2026-07-31 12:47:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076695 -3.236608)'), GeomFromEWKT('SRID=4674;POINT (-39.076786 -3.236575)'))) / (select extract(epoch from '2026-07-31 12:47:14'::timestamp) - extract(epoch from '2026-07-31 12:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076695 -3.236608)'), GeomFromEWKT('SRID=4674;POINT (-39.076786 -3.236575)'))) / (select extract(epoch from '2026-07-31 12:47:14'::timestamp) - extract(epoch from '2026-07-31 12:47:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.076896 -3.236569)', '2026-07-31 12:47:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076786 -3.236575)'), GeomFromEWKT('SRID=4674;POINT (-39.076896 -3.236569)'))) / (select extract(epoch from '2026-07-31 12:47:20'::timestamp) - extract(epoch from '2026-07-31 12:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076786 -3.236575)'), GeomFromEWKT('SRID=4674;POINT (-39.076896 -3.236569)'))) / (select extract(epoch from '2026-07-31 12:47:20'::timestamp) - extract(epoch from '2026-07-31 12:47: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'), 47459, 'SRID=4674;POINT (-39.076993 -3.23656)', '2026-07-31 12:47:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076896 -3.236569)'), GeomFromEWKT('SRID=4674;POINT (-39.076993 -3.23656)'))) / (select extract(epoch from '2026-07-31 12:47:26'::timestamp) - extract(epoch from '2026-07-31 12:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076896 -3.236569)'), GeomFromEWKT('SRID=4674;POINT (-39.076993 -3.23656)'))) / (select extract(epoch from '2026-07-31 12:47:26'::timestamp) - extract(epoch from '2026-07-31 12:47: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'), 47459, 'SRID=4674;POINT (-39.077056 -3.236549)', '2026-07-31 12:47:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076993 -3.23656)'), GeomFromEWKT('SRID=4674;POINT (-39.077056 -3.236549)'))) / (select extract(epoch from '2026-07-31 12:47:30'::timestamp) - extract(epoch from '2026-07-31 12:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.076993 -3.23656)'), GeomFromEWKT('SRID=4674;POINT (-39.077056 -3.236549)'))) / (select extract(epoch from '2026-07-31 12:47:30'::timestamp) - extract(epoch from '2026-07-31 12:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077069 -3.236521)', '2026-07-31 12:47:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077056 -3.236549)'), GeomFromEWKT('SRID=4674;POINT (-39.077069 -3.236521)'))) / (select extract(epoch from '2026-07-31 12:47:35'::timestamp) - extract(epoch from '2026-07-31 12:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077056 -3.236549)'), GeomFromEWKT('SRID=4674;POINT (-39.077069 -3.236521)'))) / (select extract(epoch from '2026-07-31 12:47:35'::timestamp) - extract(epoch from '2026-07-31 12:47: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'), 47459, 'SRID=4674;POINT (-39.077131 -3.236489)', '2026-07-31 12:47:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077069 -3.236521)'), GeomFromEWKT('SRID=4674;POINT (-39.077131 -3.236489)'))) / (select extract(epoch from '2026-07-31 12:47:43'::timestamp) - extract(epoch from '2026-07-31 12:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077069 -3.236521)'), GeomFromEWKT('SRID=4674;POINT (-39.077131 -3.236489)'))) / (select extract(epoch from '2026-07-31 12:47:43'::timestamp) - extract(epoch from '2026-07-31 12:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077154 -3.236466)', '2026-07-31 12:47:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077131 -3.236489)'), GeomFromEWKT('SRID=4674;POINT (-39.077154 -3.236466)'))) / (select extract(epoch from '2026-07-31 12:47:46'::timestamp) - extract(epoch from '2026-07-31 12:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077131 -3.236489)'), GeomFromEWKT('SRID=4674;POINT (-39.077154 -3.236466)'))) / (select extract(epoch from '2026-07-31 12:47:46'::timestamp) - extract(epoch from '2026-07-31 12:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07717 -3.236462)', '2026-07-31 12:47:48', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077154 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.07717 -3.236462)'))) / (select extract(epoch from '2026-07-31 12:47:48'::timestamp) - extract(epoch from '2026-07-31 12:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077154 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.07717 -3.236462)'))) / (select extract(epoch from '2026-07-31 12:47:48'::timestamp) - extract(epoch from '2026-07-31 12:47: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'), 47459, 'SRID=4674;POINT (-39.077229 -3.23642)', '2026-07-31 12:47:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07717 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077229 -3.23642)'))) / (select extract(epoch from '2026-07-31 12:47:59'::timestamp) - extract(epoch from '2026-07-31 12:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07717 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077229 -3.23642)'))) / (select extract(epoch from '2026-07-31 12:47:59'::timestamp) - extract(epoch from '2026-07-31 12:47: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'), 47459, 'SRID=4674;POINT (-39.077286 -3.236386)', '2026-07-31 12:48:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077229 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077286 -3.236386)'))) / (select extract(epoch from '2026-07-31 12:48:07'::timestamp) - extract(epoch from '2026-07-31 12:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077229 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077286 -3.236386)'))) / (select extract(epoch from '2026-07-31 12:48:07'::timestamp) - extract(epoch from '2026-07-31 12:47:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077314 -3.236364)', '2026-07-31 12:48:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077286 -3.236386)'), GeomFromEWKT('SRID=4674;POINT (-39.077314 -3.236364)'))) / (select extract(epoch from '2026-07-31 12:48:14'::timestamp) - extract(epoch from '2026-07-31 12:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077286 -3.236386)'), GeomFromEWKT('SRID=4674;POINT (-39.077314 -3.236364)'))) / (select extract(epoch from '2026-07-31 12:48:14'::timestamp) - extract(epoch from '2026-07-31 12:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077344 -3.236355)', '2026-07-31 12:48:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077314 -3.236364)'), GeomFromEWKT('SRID=4674;POINT (-39.077344 -3.236355)'))) / (select extract(epoch from '2026-07-31 12:48:20'::timestamp) - extract(epoch from '2026-07-31 12:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077314 -3.236364)'), GeomFromEWKT('SRID=4674;POINT (-39.077344 -3.236355)'))) / (select extract(epoch from '2026-07-31 12:48:20'::timestamp) - extract(epoch from '2026-07-31 12:48: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'), 47459, 'SRID=4674;POINT (-39.077419 -3.236333)', '2026-07-31 12:48:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077344 -3.236355)'), GeomFromEWKT('SRID=4674;POINT (-39.077419 -3.236333)'))) / (select extract(epoch from '2026-07-31 12:48:30'::timestamp) - extract(epoch from '2026-07-31 12:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077344 -3.236355)'), GeomFromEWKT('SRID=4674;POINT (-39.077419 -3.236333)'))) / (select extract(epoch from '2026-07-31 12:48:30'::timestamp) - extract(epoch from '2026-07-31 12:48: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'), 47459, 'SRID=4674;POINT (-39.077481 -3.236347)', '2026-07-31 12:48:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077419 -3.236333)'), GeomFromEWKT('SRID=4674;POINT (-39.077481 -3.236347)'))) / (select extract(epoch from '2026-07-31 12:48:38'::timestamp) - extract(epoch from '2026-07-31 12:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077419 -3.236333)'), GeomFromEWKT('SRID=4674;POINT (-39.077481 -3.236347)'))) / (select extract(epoch from '2026-07-31 12:48:38'::timestamp) - extract(epoch from '2026-07-31 12:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077537 -3.236359)', '2026-07-31 12:48:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077481 -3.236347)'), GeomFromEWKT('SRID=4674;POINT (-39.077537 -3.236359)'))) / (select extract(epoch from '2026-07-31 12:48:47'::timestamp) - extract(epoch from '2026-07-31 12:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077481 -3.236347)'), GeomFromEWKT('SRID=4674;POINT (-39.077537 -3.236359)'))) / (select extract(epoch from '2026-07-31 12:48:47'::timestamp) - extract(epoch from '2026-07-31 12:48: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'), 47459, 'SRID=4674;POINT (-39.077588 -3.236352)', '2026-07-31 12:48:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077537 -3.236359)'), GeomFromEWKT('SRID=4674;POINT (-39.077588 -3.236352)'))) / (select extract(epoch from '2026-07-31 12:48:55'::timestamp) - extract(epoch from '2026-07-31 12:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077537 -3.236359)'), GeomFromEWKT('SRID=4674;POINT (-39.077588 -3.236352)'))) / (select extract(epoch from '2026-07-31 12:48:55'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.07765 -3.236329)', '2026-07-31 12:49:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077588 -3.236352)'), GeomFromEWKT('SRID=4674;POINT (-39.07765 -3.236329)'))) / (select extract(epoch from '2026-07-31 12:49:04'::timestamp) - extract(epoch from '2026-07-31 12:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077588 -3.236352)'), GeomFromEWKT('SRID=4674;POINT (-39.07765 -3.236329)'))) / (select extract(epoch from '2026-07-31 12:49:04'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.077686 -3.236315)', '2026-07-31 12:49:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07765 -3.236329)'), GeomFromEWKT('SRID=4674;POINT (-39.077686 -3.236315)'))) / (select extract(epoch from '2026-07-31 12:49:10'::timestamp) - extract(epoch from '2026-07-31 12:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07765 -3.236329)'), GeomFromEWKT('SRID=4674;POINT (-39.077686 -3.236315)'))) / (select extract(epoch from '2026-07-31 12:49:10'::timestamp) - extract(epoch from '2026-07-31 12:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077717 -3.2363)', '2026-07-31 12:49:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077686 -3.236315)'), GeomFromEWKT('SRID=4674;POINT (-39.077717 -3.2363)'))) / (select extract(epoch from '2026-07-31 12:49:16'::timestamp) - extract(epoch from '2026-07-31 12:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077686 -3.236315)'), GeomFromEWKT('SRID=4674;POINT (-39.077717 -3.2363)'))) / (select extract(epoch from '2026-07-31 12:49:16'::timestamp) - extract(epoch from '2026-07-31 12:49: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'), 47459, 'SRID=4674;POINT (-39.077722 -3.236292)', '2026-07-31 12:49:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077717 -3.2363)'), GeomFromEWKT('SRID=4674;POINT (-39.077722 -3.236292)'))) / (select extract(epoch from '2026-07-31 12:49:21'::timestamp) - extract(epoch from '2026-07-31 12:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077717 -3.2363)'), GeomFromEWKT('SRID=4674;POINT (-39.077722 -3.236292)'))) / (select extract(epoch from '2026-07-31 12:49:21'::timestamp) - extract(epoch from '2026-07-31 12:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077713 -3.2363)', '2026-07-31 12:49:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077722 -3.236292)'), GeomFromEWKT('SRID=4674;POINT (-39.077713 -3.2363)'))) / (select extract(epoch from '2026-07-31 12:49:28'::timestamp) - extract(epoch from '2026-07-31 12:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077722 -3.236292)'), GeomFromEWKT('SRID=4674;POINT (-39.077713 -3.2363)'))) / (select extract(epoch from '2026-07-31 12:49:28'::timestamp) - extract(epoch from '2026-07-31 12:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077722 -3.236306)', '2026-07-31 12:49:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077713 -3.2363)'), GeomFromEWKT('SRID=4674;POINT (-39.077722 -3.236306)'))) / (select extract(epoch from '2026-07-31 12:49:35'::timestamp) - extract(epoch from '2026-07-31 12:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077713 -3.2363)'), GeomFromEWKT('SRID=4674;POINT (-39.077722 -3.236306)'))) / (select extract(epoch from '2026-07-31 12:49:35'::timestamp) - extract(epoch from '2026-07-31 12:49: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'), 47459, 'SRID=4674;POINT (-39.077743 -3.23631)', '2026-07-31 12:49:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077722 -3.236306)'), GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.23631)'))) / (select extract(epoch from '2026-07-31 12:49:41'::timestamp) - extract(epoch from '2026-07-31 12:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077722 -3.236306)'), GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.23631)'))) / (select extract(epoch from '2026-07-31 12:49:41'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.077758 -3.236323)', '2026-07-31 12:49:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.23631)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236323)'))) / (select extract(epoch from '2026-07-31 12:49:52'::timestamp) - extract(epoch from '2026-07-31 12:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.23631)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236323)'))) / (select extract(epoch from '2026-07-31 12:49:52'::timestamp) - extract(epoch from '2026-07-31 12:49: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'), 47459, 'SRID=4674;POINT (-39.077753 -3.236329)', '2026-07-31 12:49:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236323)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236329)'))) / (select extract(epoch from '2026-07-31 12:49:58'::timestamp) - extract(epoch from '2026-07-31 12:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236323)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236329)'))) / (select extract(epoch from '2026-07-31 12:49:58'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.077757 -3.236338)', '2026-07-31 12:50:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236329)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236338)'))) / (select extract(epoch from '2026-07-31 12:50:08'::timestamp) - extract(epoch from '2026-07-31 12:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236329)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236338)'))) / (select extract(epoch from '2026-07-31 12:50:08'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.077754 -3.236347)', '2026-07-31 12:50:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236338)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236347)'))) / (select extract(epoch from '2026-07-31 12:50:19'::timestamp) - extract(epoch from '2026-07-31 12:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236338)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236347)'))) / (select extract(epoch from '2026-07-31 12:50:19'::timestamp) - extract(epoch from '2026-07-31 12:50: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'), 47459, 'SRID=4674;POINT (-39.077756 -3.236342)', '2026-07-31 12:50:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236347)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236342)'))) / (select extract(epoch from '2026-07-31 12:50:25'::timestamp) - extract(epoch from '2026-07-31 12:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236347)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236342)'))) / (select extract(epoch from '2026-07-31 12:50:25'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236327)', '2026-07-31 12:50:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236342)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236327)'))) / (select extract(epoch from '2026-07-31 12:50:47'::timestamp) - extract(epoch from '2026-07-31 12:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236342)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236327)'))) / (select extract(epoch from '2026-07-31 12:50:47'::timestamp) - extract(epoch from '2026-07-31 12:50: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.236336)', '2026-07-31 12:50:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236327)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236336)'))) / (select extract(epoch from '2026-07-31 12:50:50'::timestamp) - extract(epoch from '2026-07-31 12:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236327)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236336)'))) / (select extract(epoch from '2026-07-31 12:50:50'::timestamp) - extract(epoch from '2026-07-31 12:50: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'), 47459, 'SRID=4674;POINT (-39.07776 -3.236335)', '2026-07-31 12:51:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236336)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236335)'))) / (select extract(epoch from '2026-07-31 12:51:00'::timestamp) - extract(epoch from '2026-07-31 12:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236336)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236335)'))) / (select extract(epoch from '2026-07-31 12:51:00'::timestamp) - extract(epoch from '2026-07-31 12:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077765 -3.236336)', '2026-07-31 12:51:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236335)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236336)'))) / (select extract(epoch from '2026-07-31 12:51:03'::timestamp) - extract(epoch from '2026-07-31 12:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236335)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236336)'))) / (select extract(epoch from '2026-07-31 12:51:03'::timestamp) - extract(epoch from '2026-07-31 12:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077747 -3.236337)', '2026-07-31 12:51:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236336)'), GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.236337)'))) / (select extract(epoch from '2026-07-31 12:51:05'::timestamp) - extract(epoch from '2026-07-31 12:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236336)'), GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.236337)'))) / (select extract(epoch from '2026-07-31 12:51:05'::timestamp) - extract(epoch from '2026-07-31 12:51: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'), 47459, 'SRID=4674;POINT (-39.077743 -3.236335)', '2026-07-31 12:51:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.236337)'), GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236335)'))) / (select extract(epoch from '2026-07-31 12:51:11'::timestamp) - extract(epoch from '2026-07-31 12:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.236337)'), GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236335)'))) / (select extract(epoch from '2026-07-31 12:51:11'::timestamp) - extract(epoch from '2026-07-31 12:51: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'), 47459, 'SRID=4674;POINT (-39.07776 -3.236344)', '2026-07-31 12:51:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236335)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236344)'))) / (select extract(epoch from '2026-07-31 12:51:18'::timestamp) - extract(epoch from '2026-07-31 12:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236335)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236344)'))) / (select extract(epoch from '2026-07-31 12:51:18'::timestamp) - extract(epoch from '2026-07-31 12:51: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236354)', '2026-07-31 12:51:34', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236344)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236354)'))) / (select extract(epoch from '2026-07-31 12:51:34'::timestamp) - extract(epoch from '2026-07-31 12:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236344)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236354)'))) / (select extract(epoch from '2026-07-31 12:51:34'::timestamp) - extract(epoch from '2026-07-31 12:51: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.23635)', '2026-07-31 12:51:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236354)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.23635)'))) / (select extract(epoch from '2026-07-31 12:51:45'::timestamp) - extract(epoch from '2026-07-31 12:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236354)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.23635)'))) / (select extract(epoch from '2026-07-31 12:51:45'::timestamp) - extract(epoch from '2026-07-31 12:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077773 -3.236354)', '2026-07-31 12:51:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.23635)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236354)'))) / (select extract(epoch from '2026-07-31 12:51:52'::timestamp) - extract(epoch from '2026-07-31 12:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.23635)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236354)'))) / (select extract(epoch from '2026-07-31 12:51:52'::timestamp) - extract(epoch from '2026-07-31 12:51: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236375)', '2026-07-31 12:52:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236354)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236375)'))) / (select extract(epoch from '2026-07-31 12:52:15'::timestamp) - extract(epoch from '2026-07-31 12:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236354)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236375)'))) / (select extract(epoch from '2026-07-31 12:52:15'::timestamp) - extract(epoch from '2026-07-31 12:51: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236375)', '2026-07-31 12:52:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236375)'))) / (select extract(epoch from '2026-07-31 12:52:20'::timestamp) - extract(epoch from '2026-07-31 12:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236375)'))) / (select extract(epoch from '2026-07-31 12:52:20'::timestamp) - extract(epoch from '2026-07-31 12:52:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077762 -3.23639)', '2026-07-31 12:52:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23639)'))) / (select extract(epoch from '2026-07-31 12:52:35'::timestamp) - extract(epoch from '2026-07-31 12:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23639)'))) / (select extract(epoch from '2026-07-31 12:52:35'::timestamp) - extract(epoch from '2026-07-31 12:52: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'), 47459, 'SRID=4674;POINT (-39.077751 -3.236384)', '2026-07-31 12:52:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23639)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236384)'))) / (select extract(epoch from '2026-07-31 12:52:46'::timestamp) - extract(epoch from '2026-07-31 12:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23639)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236384)'))) / (select extract(epoch from '2026-07-31 12:52:46'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.07776 -3.236411)', '2026-07-31 12:53:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236411)'))) / (select extract(epoch from '2026-07-31 12:53:11'::timestamp) - extract(epoch from '2026-07-31 12:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236411)'))) / (select extract(epoch from '2026-07-31 12:53:11'::timestamp) - extract(epoch from '2026-07-31 12:52: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236402)', '2026-07-31 12:53:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236402)'))) / (select extract(epoch from '2026-07-31 12:53:26'::timestamp) - extract(epoch from '2026-07-31 12:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236402)'))) / (select extract(epoch from '2026-07-31 12:53:26'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.236409)', '2026-07-31 12:53:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236402)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236409)'))) / (select extract(epoch from '2026-07-31 12:53:37'::timestamp) - extract(epoch from '2026-07-31 12:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236402)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236409)'))) / (select extract(epoch from '2026-07-31 12:53:37'::timestamp) - extract(epoch from '2026-07-31 12: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236398)', '2026-07-31 12:53:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236409)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236398)'))) / (select extract(epoch from '2026-07-31 12:53:53'::timestamp) - extract(epoch from '2026-07-31 12:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236409)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236398)'))) / (select extract(epoch from '2026-07-31 12:53:53'::timestamp) - extract(epoch from '2026-07-31 12:53: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'), 47459, 'SRID=4674;POINT (-39.077782 -3.236398)', '2026-07-31 12:54:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236398)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236398)'))) / (select extract(epoch from '2026-07-31 12:54:08'::timestamp) - extract(epoch from '2026-07-31 12:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236398)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236398)'))) / (select extract(epoch from '2026-07-31 12:54:08'::timestamp) - extract(epoch from '2026-07-31 12:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077794 -3.236408)', '2026-07-31 12:54:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236398)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236408)'))) / (select extract(epoch from '2026-07-31 12:54:11'::timestamp) - extract(epoch from '2026-07-31 12:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236398)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236408)'))) / (select extract(epoch from '2026-07-31 12:54:11'::timestamp) - extract(epoch from '2026-07-31 12:54: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'), 47459, 'SRID=4674;POINT (-39.077797 -3.236397)', '2026-07-31 12:54:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236408)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236397)'))) / (select extract(epoch from '2026-07-31 12:54:20'::timestamp) - extract(epoch from '2026-07-31 12:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236408)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236397)'))) / (select extract(epoch from '2026-07-31 12:54:20'::timestamp) - extract(epoch from '2026-07-31 12:54: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'), 47459, 'SRID=4674;POINT (-39.077786 -3.236395)', '2026-07-31 12:54:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236397)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236395)'))) / (select extract(epoch from '2026-07-31 12:54:25'::timestamp) - extract(epoch from '2026-07-31 12:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236397)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236395)'))) / (select extract(epoch from '2026-07-31 12:54:25'::timestamp) - extract(epoch from '2026-07-31 12:54: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'), 47459, 'SRID=4674;POINT (-39.077789 -3.236385)', '2026-07-31 12:55:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236385)'))) / (select extract(epoch from '2026-07-31 12:55:04'::timestamp) - extract(epoch from '2026-07-31 12:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236385)'))) / (select extract(epoch from '2026-07-31 12:55:04'::timestamp) - extract(epoch from '2026-07-31 12:54: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.23638)', '2026-07-31 12:55:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236385)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.23638)'))) / (select extract(epoch from '2026-07-31 12:55:23'::timestamp) - extract(epoch from '2026-07-31 12:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236385)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.23638)'))) / (select extract(epoch from '2026-07-31 12:55:23'::timestamp) - extract(epoch from '2026-07-31 12:55: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236374)', '2026-07-31 12:55:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236374)'))) / (select extract(epoch from '2026-07-31 12:55:32'::timestamp) - extract(epoch from '2026-07-31 12:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236374)'))) / (select extract(epoch from '2026-07-31 12:55:32'::timestamp) - extract(epoch from '2026-07-31 12:55: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'), 47459, 'SRID=4674;POINT (-39.077756 -3.236372)', '2026-07-31 12:55:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236374)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236372)'))) / (select extract(epoch from '2026-07-31 12:55:39'::timestamp) - extract(epoch from '2026-07-31 12:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236374)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236372)'))) / (select extract(epoch from '2026-07-31 12:55:39'::timestamp) - extract(epoch from '2026-07-31 12:55: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'), 47459, 'SRID=4674;POINT (-39.07775 -3.236396)', '2026-07-31 12:55:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236372)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236396)'))) / (select extract(epoch from '2026-07-31 12:55:55'::timestamp) - extract(epoch from '2026-07-31 12:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236372)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236396)'))) / (select extract(epoch from '2026-07-31 12:55:55'::timestamp) - extract(epoch from '2026-07-31 12:55: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'), 47459, 'SRID=4674;POINT (-39.077747 -3.2364)', '2026-07-31 12:56:16', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236396)'), GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.2364)'))) / (select extract(epoch from '2026-07-31 12:56:16'::timestamp) - extract(epoch from '2026-07-31 12:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236396)'), GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.2364)'))) / (select extract(epoch from '2026-07-31 12:56:16'::timestamp) - extract(epoch from '2026-07-31 12:55: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'), 47459, 'SRID=4674;POINT (-39.077737 -3.236416)', '2026-07-31 12:56:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236416)'))) / (select extract(epoch from '2026-07-31 12:56:31'::timestamp) - extract(epoch from '2026-07-31 12:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236416)'))) / (select extract(epoch from '2026-07-31 12:56:31'::timestamp) - extract(epoch from '2026-07-31 12:56: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'), 47459, 'SRID=4674;POINT (-39.077749 -3.236416)', '2026-07-31 12:56:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236416)'))) / (select extract(epoch from '2026-07-31 12:56:42'::timestamp) - extract(epoch from '2026-07-31 12:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236416)'))) / (select extract(epoch from '2026-07-31 12:56:42'::timestamp) - extract(epoch from '2026-07-31 12:56: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'), 47459, 'SRID=4674;POINT (-39.077734 -3.236413)', '2026-07-31 12:57:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077734 -3.236413)'))) / (select extract(epoch from '2026-07-31 12:57:00'::timestamp) - extract(epoch from '2026-07-31 12:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077734 -3.236413)'))) / (select extract(epoch from '2026-07-31 12:57:00'::timestamp) - extract(epoch from '2026-07-31 12:56: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236426)', '2026-07-31 12:57:24', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077734 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236426)'))) / (select extract(epoch from '2026-07-31 12:57:24'::timestamp) - extract(epoch from '2026-07-31 12:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077734 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236426)'))) / (select extract(epoch from '2026-07-31 12:57:24'::timestamp) - extract(epoch from '2026-07-31 12:57: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.236431)', '2026-07-31 12:57:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236431)'))) / (select extract(epoch from '2026-07-31 12:57:29'::timestamp) - extract(epoch from '2026-07-31 12:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236431)'))) / (select extract(epoch from '2026-07-31 12:57:29'::timestamp) - extract(epoch from '2026-07-31 12:57: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236409)', '2026-07-31 12:58:06', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236409)'))) / (select extract(epoch from '2026-07-31 12:58:06'::timestamp) - extract(epoch from '2026-07-31 12:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236409)'))) / (select extract(epoch from '2026-07-31 12:58:06'::timestamp) - extract(epoch from '2026-07-31 12:57: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.236401)', '2026-07-31 12:58:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236409)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236401)'))) / (select extract(epoch from '2026-07-31 12:58:12'::timestamp) - extract(epoch from '2026-07-31 12:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236409)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236401)'))) / (select extract(epoch from '2026-07-31 12:58:12'::timestamp) - extract(epoch from '2026-07-31 12:58: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'), 47459, 'SRID=4674;POINT (-39.077752 -3.236395)', '2026-07-31 12:58:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236401)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236395)'))) / (select extract(epoch from '2026-07-31 12:58:18'::timestamp) - extract(epoch from '2026-07-31 12:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236401)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236395)'))) / (select extract(epoch from '2026-07-31 12:58:18'::timestamp) - extract(epoch from '2026-07-31 12:58: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.236397)', '2026-07-31 12:58:24', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236397)'))) / (select extract(epoch from '2026-07-31 12:58:24'::timestamp) - extract(epoch from '2026-07-31 12:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236397)'))) / (select extract(epoch from '2026-07-31 12:58:24'::timestamp) - extract(epoch from '2026-07-31 12:58: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236397)', '2026-07-31 12:58:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236397)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236397)'))) / (select extract(epoch from '2026-07-31 12:58:31'::timestamp) - extract(epoch from '2026-07-31 12:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236397)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236397)'))) / (select extract(epoch from '2026-07-31 12:58:31'::timestamp) - extract(epoch from '2026-07-31 12:58: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236404)', '2026-07-31 12:59:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236397)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236404)'))) / (select extract(epoch from '2026-07-31 12:59:01'::timestamp) - extract(epoch from '2026-07-31 12:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236397)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236404)'))) / (select extract(epoch from '2026-07-31 12:59:01'::timestamp) - extract(epoch from '2026-07-31 12:58: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236406)', '2026-07-31 12:59:11', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236406)'))) / (select extract(epoch from '2026-07-31 12:59:11'::timestamp) - extract(epoch from '2026-07-31 12:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236406)'))) / (select extract(epoch from '2026-07-31 12:59:11'::timestamp) - extract(epoch from '2026-07-31 12:59: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'), 47459, 'SRID=4674;POINT (-39.077783 -3.236405)', '2026-07-31 12:59:44', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236405)'))) / (select extract(epoch from '2026-07-31 12:59:44'::timestamp) - extract(epoch from '2026-07-31 12:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236405)'))) / (select extract(epoch from '2026-07-31 12:59:44'::timestamp) - extract(epoch from '2026-07-31 12:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077751 -3.236401)', '2026-07-31 12:59:54', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236405)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236401)'))) / (select extract(epoch from '2026-07-31 12:59:54'::timestamp) - extract(epoch from '2026-07-31 12:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236405)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236401)'))) / (select extract(epoch from '2026-07-31 12:59:54'::timestamp) - extract(epoch from '2026-07-31 12:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077745 -3.23639)', '2026-07-31 13:00:05', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236401)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.23639)'))) / (select extract(epoch from '2026-07-31 13:00:05'::timestamp) - extract(epoch from '2026-07-31 12:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236401)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.23639)'))) / (select extract(epoch from '2026-07-31 13:00:05'::timestamp) - extract(epoch from '2026-07-31 12:59: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'), 47459, 'SRID=4674;POINT (-39.077744 -3.236389)', '2026-07-31 13:00:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.23639)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236389)'))) / (select extract(epoch from '2026-07-31 13:00:16'::timestamp) - extract(epoch from '2026-07-31 13:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.23639)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236389)'))) / (select extract(epoch from '2026-07-31 13:00:16'::timestamp) - extract(epoch from '2026-07-31 13:00: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'), 47459, 'SRID=4674;POINT (-39.077751 -3.236406)', '2026-07-31 13:00:31', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236389)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:00:31'::timestamp) - extract(epoch from '2026-07-31 13:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236389)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:00:31'::timestamp) - extract(epoch from '2026-07-31 13:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077774 -3.236424)', '2026-07-31 13:00:49', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:00:49'::timestamp) - extract(epoch from '2026-07-31 13:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:00:49'::timestamp) - extract(epoch from '2026-07-31 13:00: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.236419)', '2026-07-31 13:00:58', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:00:58'::timestamp) - extract(epoch from '2026-07-31 13:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:00:58'::timestamp) - extract(epoch from '2026-07-31 13:00: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'), 47459, 'SRID=4674;POINT (-39.077791 -3.236411)', '2026-07-31 13:01:04', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236411)'))) / (select extract(epoch from '2026-07-31 13:01:04'::timestamp) - extract(epoch from '2026-07-31 13:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236411)'))) / (select extract(epoch from '2026-07-31 13:01:04'::timestamp) - extract(epoch from '2026-07-31 13:00: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.236403)', '2026-07-31 13:01:11', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:01:11'::timestamp) - extract(epoch from '2026-07-31 13:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:01:11'::timestamp) - extract(epoch from '2026-07-31 13:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077766 -3.236408)', '2026-07-31 13:01:23', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236408)'))) / (select extract(epoch from '2026-07-31 13:01:23'::timestamp) - extract(epoch from '2026-07-31 13:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236408)'))) / (select extract(epoch from '2026-07-31 13:01:23'::timestamp) - extract(epoch from '2026-07-31 13:01: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'), 47459, 'SRID=4674;POINT (-39.077755 -3.236412)', '2026-07-31 13:01:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236408)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236412)'))) / (select extract(epoch from '2026-07-31 13:01:32'::timestamp) - extract(epoch from '2026-07-31 13:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236408)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236412)'))) / (select extract(epoch from '2026-07-31 13:01:32'::timestamp) - extract(epoch from '2026-07-31 13:01: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236414)', '2026-07-31 13:01:44', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236412)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:01:44'::timestamp) - extract(epoch from '2026-07-31 13:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236412)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:01:44'::timestamp) - extract(epoch from '2026-07-31 13:01: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'), 47459, 'SRID=4674;POINT (-39.077759 -3.236391)', '2026-07-31 13:02:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236391)'))) / (select extract(epoch from '2026-07-31 13:02:24'::timestamp) - extract(epoch from '2026-07-31 13:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236391)'))) / (select extract(epoch from '2026-07-31 13:02:24'::timestamp) - extract(epoch from '2026-07-31 13:01: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236388)', '2026-07-31 13:02:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236388)'))) / (select extract(epoch from '2026-07-31 13:02:37'::timestamp) - extract(epoch from '2026-07-31 13:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236388)'))) / (select extract(epoch from '2026-07-31 13:02:37'::timestamp) - extract(epoch from '2026-07-31 13:02: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236391)', '2026-07-31 13:02:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236391)'))) / (select extract(epoch from '2026-07-31 13:02:39'::timestamp) - extract(epoch from '2026-07-31 13:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236391)'))) / (select extract(epoch from '2026-07-31 13:02:39'::timestamp) - extract(epoch from '2026-07-31 13:02: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236391)', '2026-07-31 13:02:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236391)'))) / (select extract(epoch from '2026-07-31 13:02:48'::timestamp) - extract(epoch from '2026-07-31 13:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236391)'))) / (select extract(epoch from '2026-07-31 13:02:48'::timestamp) - extract(epoch from '2026-07-31 13:02: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.236395)', '2026-07-31 13:02:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:02:58'::timestamp) - extract(epoch from '2026-07-31 13:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:02:58'::timestamp) - extract(epoch from '2026-07-31 13:02: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.236394)', '2026-07-31 13:03:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236394)'))) / (select extract(epoch from '2026-07-31 13:03:07'::timestamp) - extract(epoch from '2026-07-31 13:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236394)'))) / (select extract(epoch from '2026-07-31 13:03:07'::timestamp) - extract(epoch from '2026-07-31 13:02: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'), 47459, 'SRID=4674;POINT (-39.077758 -3.236395)', '2026-07-31 13:03:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236394)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:03:18'::timestamp) - extract(epoch from '2026-07-31 13:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236394)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:03:18'::timestamp) - extract(epoch from '2026-07-31 13:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077767 -3.236379)', '2026-07-31 13:03:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:03:33'::timestamp) - extract(epoch from '2026-07-31 13:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:03:33'::timestamp) - extract(epoch from '2026-07-31 13:03: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236368)', '2026-07-31 13:03:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236368)'))) / (select extract(epoch from '2026-07-31 13:03:41'::timestamp) - extract(epoch from '2026-07-31 13:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236368)'))) / (select extract(epoch from '2026-07-31 13:03:41'::timestamp) - extract(epoch from '2026-07-31 13:03: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236361)', '2026-07-31 13:03:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236368)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236361)'))) / (select extract(epoch from '2026-07-31 13:03:54'::timestamp) - extract(epoch from '2026-07-31 13:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236368)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236361)'))) / (select extract(epoch from '2026-07-31 13:03:54'::timestamp) - extract(epoch from '2026-07-31 13:03: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'), 47459, 'SRID=4674;POINT (-39.077755 -3.23637)', '2026-07-31 13:04:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236361)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:04:12'::timestamp) - extract(epoch from '2026-07-31 13:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236361)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:04:12'::timestamp) - extract(epoch from '2026-07-31 13:03: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'), 47459, 'SRID=4674;POINT (-39.077745 -3.23638)', '2026-07-31 13:04:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.23638)'))) / (select extract(epoch from '2026-07-31 13:04:22'::timestamp) - extract(epoch from '2026-07-31 13:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.23638)'))) / (select extract(epoch from '2026-07-31 13:04:22'::timestamp) - extract(epoch from '2026-07-31 13:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077749 -3.236383)', '2026-07-31 13:04:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236383)'))) / (select extract(epoch from '2026-07-31 13:04:24'::timestamp) - extract(epoch from '2026-07-31 13:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236383)'))) / (select extract(epoch from '2026-07-31 13:04:24'::timestamp) - extract(epoch from '2026-07-31 13:04: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'), 47459, 'SRID=4674;POINT (-39.07775 -3.23638)', '2026-07-31 13:04:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236383)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.23638)'))) / (select extract(epoch from '2026-07-31 13:04:26'::timestamp) - extract(epoch from '2026-07-31 13:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236383)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.23638)'))) / (select extract(epoch from '2026-07-31 13:04:26'::timestamp) - extract(epoch from '2026-07-31 13:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07775 -3.236383)', '2026-07-31 13:04:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236383)'))) / (select extract(epoch from '2026-07-31 13:04:31'::timestamp) - extract(epoch from '2026-07-31 13:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236383)'))) / (select extract(epoch from '2026-07-31 13:04:31'::timestamp) - extract(epoch from '2026-07-31 13:04: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'), 47459, 'SRID=4674;POINT (-39.077737 -3.236361)', '2026-07-31 13:05:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236383)'), GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236361)'))) / (select extract(epoch from '2026-07-31 13:05:02'::timestamp) - extract(epoch from '2026-07-31 13:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236383)'), GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236361)'))) / (select extract(epoch from '2026-07-31 13:05:02'::timestamp) - extract(epoch from '2026-07-31 13:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077752 -3.236384)', '2026-07-31 13:05:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236361)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236384)'))) / (select extract(epoch from '2026-07-31 13:05:23'::timestamp) - extract(epoch from '2026-07-31 13:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236361)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236384)'))) / (select extract(epoch from '2026-07-31 13:05:23'::timestamp) - extract(epoch from '2026-07-31 13:05: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'), 47459, 'SRID=4674;POINT (-39.077749 -3.236389)', '2026-07-31 13:05:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236389)'))) / (select extract(epoch from '2026-07-31 13:05:31'::timestamp) - extract(epoch from '2026-07-31 13:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236389)'))) / (select extract(epoch from '2026-07-31 13:05:31'::timestamp) - extract(epoch from '2026-07-31 13:05: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'), 47459, 'SRID=4674;POINT (-39.07775 -3.236398)', '2026-07-31 13:05:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236389)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236398)'))) / (select extract(epoch from '2026-07-31 13:05:44'::timestamp) - extract(epoch from '2026-07-31 13:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236389)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236398)'))) / (select extract(epoch from '2026-07-31 13:05:44'::timestamp) - extract(epoch from '2026-07-31 13:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077768 -3.236402)', '2026-07-31 13:06:04', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236398)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236402)'))) / (select extract(epoch from '2026-07-31 13:06:04'::timestamp) - extract(epoch from '2026-07-31 13:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236398)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236402)'))) / (select extract(epoch from '2026-07-31 13:06:04'::timestamp) - extract(epoch from '2026-07-31 13:05: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'), 47459, 'SRID=4674;POINT (-39.077745 -3.2364)', '2026-07-31 13:06:14', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236402)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.2364)'))) / (select extract(epoch from '2026-07-31 13:06:14'::timestamp) - extract(epoch from '2026-07-31 13:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236402)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.2364)'))) / (select extract(epoch from '2026-07-31 13:06:14'::timestamp) - extract(epoch from '2026-07-31 13:06:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077743 -3.236392)', '2026-07-31 13:06:23', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236392)'))) / (select extract(epoch from '2026-07-31 13:06:23'::timestamp) - extract(epoch from '2026-07-31 13:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236392)'))) / (select extract(epoch from '2026-07-31 13:06:23'::timestamp) - extract(epoch from '2026-07-31 13:06: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'), 47459, 'SRID=4674;POINT (-39.077731 -3.236394)', '2026-07-31 13:06:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236392)'), GeomFromEWKT('SRID=4674;POINT (-39.077731 -3.236394)'))) / (select extract(epoch from '2026-07-31 13:06:31'::timestamp) - extract(epoch from '2026-07-31 13:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236392)'), GeomFromEWKT('SRID=4674;POINT (-39.077731 -3.236394)'))) / (select extract(epoch from '2026-07-31 13:06:31'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077736 -3.236399)', '2026-07-31 13:06:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077731 -3.236394)'), GeomFromEWKT('SRID=4674;POINT (-39.077736 -3.236399)'))) / (select extract(epoch from '2026-07-31 13:06:46'::timestamp) - extract(epoch from '2026-07-31 13:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077731 -3.236394)'), GeomFromEWKT('SRID=4674;POINT (-39.077736 -3.236399)'))) / (select extract(epoch from '2026-07-31 13:06:46'::timestamp) - extract(epoch from '2026-07-31 13:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077759 -3.236412)', '2026-07-31 13:06:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077736 -3.236399)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236412)'))) / (select extract(epoch from '2026-07-31 13:06:59'::timestamp) - extract(epoch from '2026-07-31 13:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077736 -3.236399)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236412)'))) / (select extract(epoch from '2026-07-31 13:06:59'::timestamp) - extract(epoch from '2026-07-31 13:06: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.23643)', '2026-07-31 13:07:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236412)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.23643)'))) / (select extract(epoch from '2026-07-31 13:07:12'::timestamp) - extract(epoch from '2026-07-31 13:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236412)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.23643)'))) / (select extract(epoch from '2026-07-31 13:07:12'::timestamp) - extract(epoch from '2026-07-31 13:06: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236428)', '2026-07-31 13:07:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:07:25'::timestamp) - extract(epoch from '2026-07-31 13:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:07:25'::timestamp) - extract(epoch from '2026-07-31 13:07: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236413)', '2026-07-31 13:07:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:07:42'::timestamp) - extract(epoch from '2026-07-31 13:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:07:42'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236413)', '2026-07-31 13:07:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:07:50'::timestamp) - extract(epoch from '2026-07-31 13:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:07:50'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236424)', '2026-07-31 13:07:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:07:59'::timestamp) - extract(epoch from '2026-07-31 13:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:07:59'::timestamp) - extract(epoch from '2026-07-31 13:07: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236421)', '2026-07-31 13:08:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236421)'))) / (select extract(epoch from '2026-07-31 13:08:10'::timestamp) - extract(epoch from '2026-07-31 13:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236421)'))) / (select extract(epoch from '2026-07-31 13:08:10'::timestamp) - extract(epoch from '2026-07-31 13:07: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236397)', '2026-07-31 13:08:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236397)'))) / (select extract(epoch from '2026-07-31 13:08:21'::timestamp) - extract(epoch from '2026-07-31 13:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236397)'))) / (select extract(epoch from '2026-07-31 13:08:21'::timestamp) - extract(epoch from '2026-07-31 13:08: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236395)', '2026-07-31 13:08:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236397)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:08:30'::timestamp) - extract(epoch from '2026-07-31 13:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236397)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:08:30'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236402)', '2026-07-31 13:08:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236402)'))) / (select extract(epoch from '2026-07-31 13:08:50'::timestamp) - extract(epoch from '2026-07-31 13:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236402)'))) / (select extract(epoch from '2026-07-31 13:08:50'::timestamp) - extract(epoch from '2026-07-31 13:08: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236406)', '2026-07-31 13:08:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236402)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:08:55'::timestamp) - extract(epoch from '2026-07-31 13:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236402)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:08:55'::timestamp) - extract(epoch from '2026-07-31 13:08: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'), 47459, 'SRID=4674;POINT (-39.077789 -3.2364)', '2026-07-31 13:09:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.2364)'))) / (select extract(epoch from '2026-07-31 13:09:00'::timestamp) - extract(epoch from '2026-07-31 13:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.2364)'))) / (select extract(epoch from '2026-07-31 13:09:00'::timestamp) - extract(epoch from '2026-07-31 13:08: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.23639)', '2026-07-31 13:09:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23639)'))) / (select extract(epoch from '2026-07-31 13:09:03'::timestamp) - extract(epoch from '2026-07-31 13:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23639)'))) / (select extract(epoch from '2026-07-31 13:09:03'::timestamp) - extract(epoch from '2026-07-31 13:09:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07777 -3.236396)', '2026-07-31 13:09:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23639)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236396)'))) / (select extract(epoch from '2026-07-31 13:09:12'::timestamp) - extract(epoch from '2026-07-31 13:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23639)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236396)'))) / (select extract(epoch from '2026-07-31 13:09:12'::timestamp) - extract(epoch from '2026-07-31 13:09: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236406)', '2026-07-31 13:09:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236396)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:09:18'::timestamp) - extract(epoch from '2026-07-31 13:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236396)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:09:18'::timestamp) - extract(epoch from '2026-07-31 13:09: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.236404)', '2026-07-31 13:09:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236404)'))) / (select extract(epoch from '2026-07-31 13:09:27'::timestamp) - extract(epoch from '2026-07-31 13:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236404)'))) / (select extract(epoch from '2026-07-31 13:09:27'::timestamp) - extract(epoch from '2026-07-31 13:09: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236395)', '2026-07-31 13:09:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:09:44'::timestamp) - extract(epoch from '2026-07-31 13:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:09:44'::timestamp) - extract(epoch from '2026-07-31 13:09: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.236382)', '2026-07-31 13:09:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236382)'))) / (select extract(epoch from '2026-07-31 13:09:56'::timestamp) - extract(epoch from '2026-07-31 13:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236382)'))) / (select extract(epoch from '2026-07-31 13:09:56'::timestamp) - extract(epoch from '2026-07-31 13:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077761 -3.236391)', '2026-07-31 13:10:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236382)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236391)'))) / (select extract(epoch from '2026-07-31 13:10:08'::timestamp) - extract(epoch from '2026-07-31 13:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236382)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236391)'))) / (select extract(epoch from '2026-07-31 13:10:08'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077752 -3.236389)', '2026-07-31 13:10:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236389)'))) / (select extract(epoch from '2026-07-31 13:10:39'::timestamp) - extract(epoch from '2026-07-31 13:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236389)'))) / (select extract(epoch from '2026-07-31 13:10:39'::timestamp) - extract(epoch from '2026-07-31 13:10: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'), 47459, 'SRID=4674;POINT (-39.077737 -3.236326)', '2026-07-31 13:11:37', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236389)'), GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236326)'))) / (select extract(epoch from '2026-07-31 13:11:37'::timestamp) - extract(epoch from '2026-07-31 13:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236389)'), GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236326)'))) / (select extract(epoch from '2026-07-31 13:11:37'::timestamp) - extract(epoch from '2026-07-31 13:10: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'), 47459, 'SRID=4674;POINT (-39.077784 -3.236378)', '2026-07-31 13:11:41', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236326)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236378)'))) / (select extract(epoch from '2026-07-31 13:11:41'::timestamp) - extract(epoch from '2026-07-31 13:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.236326)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236378)'))) / (select extract(epoch from '2026-07-31 13:11:41'::timestamp) - extract(epoch from '2026-07-31 13:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077785 -3.236393)', '2026-07-31 13:11:50', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236378)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:11:50'::timestamp) - extract(epoch from '2026-07-31 13:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236378)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:11:50'::timestamp) - extract(epoch from '2026-07-31 13:11: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'), 47459, 'SRID=4674;POINT (-39.077796 -3.236392)', '2026-07-31 13:11:55', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236392)'))) / (select extract(epoch from '2026-07-31 13:11:55'::timestamp) - extract(epoch from '2026-07-31 13:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236392)'))) / (select extract(epoch from '2026-07-31 13:11:55'::timestamp) - extract(epoch from '2026-07-31 13:11: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'), 47459, 'SRID=4674;POINT (-39.077782 -3.23639)', '2026-07-31 13:12:02', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236392)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23639)'))) / (select extract(epoch from '2026-07-31 13:12:02'::timestamp) - extract(epoch from '2026-07-31 13:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236392)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23639)'))) / (select extract(epoch from '2026-07-31 13:12:02'::timestamp) - extract(epoch from '2026-07-31 13:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077786 -3.236393)', '2026-07-31 13:12:07', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23639)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:12:07'::timestamp) - extract(epoch from '2026-07-31 13:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23639)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:12:07'::timestamp) - extract(epoch from '2026-07-31 13:12: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236386)', '2026-07-31 13:12:11', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236386)'))) / (select extract(epoch from '2026-07-31 13:12:11'::timestamp) - extract(epoch from '2026-07-31 13:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236386)'))) / (select extract(epoch from '2026-07-31 13:12:11'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077786 -3.236379)', '2026-07-31 13:12:17', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236386)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:12:17'::timestamp) - extract(epoch from '2026-07-31 13:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236386)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:12:17'::timestamp) - extract(epoch from '2026-07-31 13:12: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.23638)', '2026-07-31 13:12:29', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.23638)'))) / (select extract(epoch from '2026-07-31 13:12:29'::timestamp) - extract(epoch from '2026-07-31 13:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.23638)'))) / (select extract(epoch from '2026-07-31 13:12:29'::timestamp) - extract(epoch from '2026-07-31 13:12: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236381)', '2026-07-31 13:12:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236381)'))) / (select extract(epoch from '2026-07-31 13:12:34'::timestamp) - extract(epoch from '2026-07-31 13:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236381)'))) / (select extract(epoch from '2026-07-31 13:12:34'::timestamp) - extract(epoch from '2026-07-31 13:12: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236382)', '2026-07-31 13:12:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236381)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236382)'))) / (select extract(epoch from '2026-07-31 13:12:40'::timestamp) - extract(epoch from '2026-07-31 13:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236381)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236382)'))) / (select extract(epoch from '2026-07-31 13:12:40'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236392)', '2026-07-31 13:12:46', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236382)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236392)'))) / (select extract(epoch from '2026-07-31 13:12:46'::timestamp) - extract(epoch from '2026-07-31 13:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236382)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236392)'))) / (select extract(epoch from '2026-07-31 13:12:46'::timestamp) - extract(epoch from '2026-07-31 13:12: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236391)', '2026-07-31 13:12:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236392)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236391)'))) / (select extract(epoch from '2026-07-31 13:12:50'::timestamp) - extract(epoch from '2026-07-31 13:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236392)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236391)'))) / (select extract(epoch from '2026-07-31 13:12:50'::timestamp) - extract(epoch from '2026-07-31 13:12: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.23638)', '2026-07-31 13:12:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23638)'))) / (select extract(epoch from '2026-07-31 13:12:57'::timestamp) - extract(epoch from '2026-07-31 13:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23638)'))) / (select extract(epoch from '2026-07-31 13:12:57'::timestamp) - extract(epoch from '2026-07-31 13:12: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'), 47459, 'SRID=4674;POINT (-39.077772 -3.236379)', '2026-07-31 13:13:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:13:02'::timestamp) - extract(epoch from '2026-07-31 13:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:13:02'::timestamp) - extract(epoch from '2026-07-31 13:12: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'), 47459, 'SRID=4674;POINT (-39.077766 -3.23637)', '2026-07-31 13:13:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:13:07'::timestamp) - extract(epoch from '2026-07-31 13:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:13:07'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.23637)', '2026-07-31 13:13:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:13:11'::timestamp) - extract(epoch from '2026-07-31 13:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:13:11'::timestamp) - extract(epoch from '2026-07-31 13:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077766 -3.236368)', '2026-07-31 13:13:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236368)'))) / (select extract(epoch from '2026-07-31 13:13:16'::timestamp) - extract(epoch from '2026-07-31 13:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236368)'))) / (select extract(epoch from '2026-07-31 13:13:16'::timestamp) - extract(epoch from '2026-07-31 13:13: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'), 47459, 'SRID=4674;POINT (-39.07776 -3.236367)', '2026-07-31 13:13:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236368)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236367)'))) / (select extract(epoch from '2026-07-31 13:13:18'::timestamp) - extract(epoch from '2026-07-31 13:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236368)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236367)'))) / (select extract(epoch from '2026-07-31 13:13:18'::timestamp) - extract(epoch from '2026-07-31 13:13: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'), 47459, 'SRID=4674;POINT (-39.07776 -3.236372)', '2026-07-31 13:13:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236367)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236372)'))) / (select extract(epoch from '2026-07-31 13:13:23'::timestamp) - extract(epoch from '2026-07-31 13:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236367)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236372)'))) / (select extract(epoch from '2026-07-31 13:13:23'::timestamp) - extract(epoch from '2026-07-31 13:13: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.236373)', '2026-07-31 13:13:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236372)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236373)'))) / (select extract(epoch from '2026-07-31 13:13:24'::timestamp) - extract(epoch from '2026-07-31 13:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236372)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236373)'))) / (select extract(epoch from '2026-07-31 13:13:24'::timestamp) - extract(epoch from '2026-07-31 13:13: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'), 47459, 'SRID=4674;POINT (-39.077755 -3.23637)', '2026-07-31 13:13:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236373)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:13:35'::timestamp) - extract(epoch from '2026-07-31 13:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236373)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:13:35'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.07776 -3.236362)', '2026-07-31 13:13:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236362)'))) / (select extract(epoch from '2026-07-31 13:13:43'::timestamp) - extract(epoch from '2026-07-31 13:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236362)'))) / (select extract(epoch from '2026-07-31 13:13:43'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077754 -3.236363)', '2026-07-31 13:13:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236362)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236363)'))) / (select extract(epoch from '2026-07-31 13:13:49'::timestamp) - extract(epoch from '2026-07-31 13:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236362)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236363)'))) / (select extract(epoch from '2026-07-31 13:13:49'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077757 -3.236365)', '2026-07-31 13:13:58', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236363)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236365)'))) / (select extract(epoch from '2026-07-31 13:13:58'::timestamp) - extract(epoch from '2026-07-31 13:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236363)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236365)'))) / (select extract(epoch from '2026-07-31 13:13:58'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236365)', '2026-07-31 13:14:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236365)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236365)'))) / (select extract(epoch from '2026-07-31 13:14:08'::timestamp) - extract(epoch from '2026-07-31 13:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236365)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236365)'))) / (select extract(epoch from '2026-07-31 13:14:08'::timestamp) - extract(epoch from '2026-07-31 13:13: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'), 47459, 'SRID=4674;POINT (-39.077759 -3.236369)', '2026-07-31 13:14:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236365)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236369)'))) / (select extract(epoch from '2026-07-31 13:14:14'::timestamp) - extract(epoch from '2026-07-31 13:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236365)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236369)'))) / (select extract(epoch from '2026-07-31 13:14:14'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077759 -3.236365)', '2026-07-31 13:14:17', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236369)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236365)'))) / (select extract(epoch from '2026-07-31 13:14:17'::timestamp) - extract(epoch from '2026-07-31 13:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236369)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236365)'))) / (select extract(epoch from '2026-07-31 13:14:17'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.236369)', '2026-07-31 13:14:20', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236365)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236369)'))) / (select extract(epoch from '2026-07-31 13:14:20'::timestamp) - extract(epoch from '2026-07-31 13:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236365)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236369)'))) / (select extract(epoch from '2026-07-31 13:14:20'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.236369)', '2026-07-31 13:14:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236369)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236369)'))) / (select extract(epoch from '2026-07-31 13:14:27'::timestamp) - extract(epoch from '2026-07-31 13:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236369)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236369)'))) / (select extract(epoch from '2026-07-31 13:14:27'::timestamp) - extract(epoch from '2026-07-31 13:14: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.23637)', '2026-07-31 13:14:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236369)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:14:32'::timestamp) - extract(epoch from '2026-07-31 13:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236369)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:14:32'::timestamp) - extract(epoch from '2026-07-31 13:14: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'), 47459, 'SRID=4674;POINT (-39.077772 -3.236374)', '2026-07-31 13:14:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236374)'))) / (select extract(epoch from '2026-07-31 13:14:35'::timestamp) - extract(epoch from '2026-07-31 13:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236374)'))) / (select extract(epoch from '2026-07-31 13:14:35'::timestamp) - extract(epoch from '2026-07-31 13:14: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236377)', '2026-07-31 13:14:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236374)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236377)'))) / (select extract(epoch from '2026-07-31 13:14:36'::timestamp) - extract(epoch from '2026-07-31 13:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236374)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236377)'))) / (select extract(epoch from '2026-07-31 13:14:36'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236373)', '2026-07-31 13:14:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236377)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236373)'))) / (select extract(epoch from '2026-07-31 13:14:41'::timestamp) - extract(epoch from '2026-07-31 13:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236377)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236373)'))) / (select extract(epoch from '2026-07-31 13:14:41'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236381)', '2026-07-31 13:14:47', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236373)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236381)'))) / (select extract(epoch from '2026-07-31 13:14:47'::timestamp) - extract(epoch from '2026-07-31 13:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236373)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236381)'))) / (select extract(epoch from '2026-07-31 13:14:47'::timestamp) - extract(epoch from '2026-07-31 13:14: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236384)', '2026-07-31 13:14:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236381)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236384)'))) / (select extract(epoch from '2026-07-31 13:14:53'::timestamp) - extract(epoch from '2026-07-31 13:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236381)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236384)'))) / (select extract(epoch from '2026-07-31 13:14:53'::timestamp) - extract(epoch from '2026-07-31 13:14: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.236381)', '2026-07-31 13:14:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236381)'))) / (select extract(epoch from '2026-07-31 13:14:59'::timestamp) - extract(epoch from '2026-07-31 13:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236381)'))) / (select extract(epoch from '2026-07-31 13:14:59'::timestamp) - extract(epoch from '2026-07-31 13:14: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.2364)', '2026-07-31 13:15:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236381)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.2364)'))) / (select extract(epoch from '2026-07-31 13:15:08'::timestamp) - extract(epoch from '2026-07-31 13:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236381)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.2364)'))) / (select extract(epoch from '2026-07-31 13:15:08'::timestamp) - extract(epoch from '2026-07-31 13:14: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236411)', '2026-07-31 13:15:16', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236411)'))) / (select extract(epoch from '2026-07-31 13:15:16'::timestamp) - extract(epoch from '2026-07-31 13:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236411)'))) / (select extract(epoch from '2026-07-31 13:15:16'::timestamp) - extract(epoch from '2026-07-31 13:15: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'), 47459, 'SRID=4674;POINT (-39.077756 -3.236412)', '2026-07-31 13:15:21', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236412)'))) / (select extract(epoch from '2026-07-31 13:15:21'::timestamp) - extract(epoch from '2026-07-31 13:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236412)'))) / (select extract(epoch from '2026-07-31 13:15:21'::timestamp) - extract(epoch from '2026-07-31 13:15: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'), 47459, 'SRID=4674;POINT (-39.07775 -3.236403)', '2026-07-31 13:15:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236412)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:15:31'::timestamp) - extract(epoch from '2026-07-31 13:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236412)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:15:31'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077753 -3.236409)', '2026-07-31 13:15:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236409)'))) / (select extract(epoch from '2026-07-31 13:15:38'::timestamp) - extract(epoch from '2026-07-31 13:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236409)'))) / (select extract(epoch from '2026-07-31 13:15:38'::timestamp) - extract(epoch from '2026-07-31 13:15: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'), 47459, 'SRID=4674;POINT (-39.077753 -3.236405)', '2026-07-31 13:15:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236409)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236405)'))) / (select extract(epoch from '2026-07-31 13:15:43'::timestamp) - extract(epoch from '2026-07-31 13:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236409)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236405)'))) / (select extract(epoch from '2026-07-31 13:15:43'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077749 -3.236408)', '2026-07-31 13:15:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236405)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236408)'))) / (select extract(epoch from '2026-07-31 13:15:44'::timestamp) - extract(epoch from '2026-07-31 13:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236405)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236408)'))) / (select extract(epoch from '2026-07-31 13:15:44'::timestamp) - extract(epoch from '2026-07-31 13:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077748 -3.236416)', '2026-07-31 13:15:48', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236408)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:15:48'::timestamp) - extract(epoch from '2026-07-31 13:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236408)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:15:48'::timestamp) - extract(epoch from '2026-07-31 13:15: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'), 47459, 'SRID=4674;POINT (-39.077752 -3.23642)', '2026-07-31 13:15:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:15:55'::timestamp) - extract(epoch from '2026-07-31 13:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:15:55'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077753 -3.236418)', '2026-07-31 13:16:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:16:03'::timestamp) - extract(epoch from '2026-07-31 13:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:16:03'::timestamp) - extract(epoch from '2026-07-31 13:15: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236416)', '2026-07-31 13:16:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:16:10'::timestamp) - extract(epoch from '2026-07-31 13:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:16:10'::timestamp) - extract(epoch from '2026-07-31 13:16: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236417)', '2026-07-31 13:16:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236417)'))) / (select extract(epoch from '2026-07-31 13:16:15'::timestamp) - extract(epoch from '2026-07-31 13:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236417)'))) / (select extract(epoch from '2026-07-31 13:16:15'::timestamp) - extract(epoch from '2026-07-31 13:16: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'), 47459, 'SRID=4674;POINT (-39.077757 -3.23642)', '2026-07-31 13:16:26', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236417)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:16:26'::timestamp) - extract(epoch from '2026-07-31 13:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236417)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:16:26'::timestamp) - extract(epoch from '2026-07-31 13:16: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'), 47459, 'SRID=4674;POINT (-39.077757 -3.23642)', '2026-07-31 13:16:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:16:32'::timestamp) - extract(epoch from '2026-07-31 13:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:16:32'::timestamp) - extract(epoch from '2026-07-31 13:16: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'), 47459, 'SRID=4674;POINT (-39.077749 -3.23642)', '2026-07-31 13:16:38', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:16:38'::timestamp) - extract(epoch from '2026-07-31 13:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:16:38'::timestamp) - extract(epoch from '2026-07-31 13:16: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'), 47459, 'SRID=4674;POINT (-39.077758 -3.236426)', '2026-07-31 13:16:44', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:16:44'::timestamp) - extract(epoch from '2026-07-31 13:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:16:44'::timestamp) - extract(epoch from '2026-07-31 13:16: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'), 47459, 'SRID=4674;POINT (-39.077755 -3.236435)', '2026-07-31 13:16:53', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236435)'))) / (select extract(epoch from '2026-07-31 13:16:53'::timestamp) - extract(epoch from '2026-07-31 13:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236435)'))) / (select extract(epoch from '2026-07-31 13:16:53'::timestamp) - extract(epoch from '2026-07-31 13:16:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077752 -3.236431)', '2026-07-31 13:17:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236431)'))) / (select extract(epoch from '2026-07-31 13:17:02'::timestamp) - extract(epoch from '2026-07-31 13:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236431)'))) / (select extract(epoch from '2026-07-31 13:17:02'::timestamp) - extract(epoch from '2026-07-31 13:16: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'), 47459, 'SRID=4674;POINT (-39.077745 -3.236432)', '2026-07-31 13:17:07', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236432)'))) / (select extract(epoch from '2026-07-31 13:17:07'::timestamp) - extract(epoch from '2026-07-31 13:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236432)'))) / (select extract(epoch from '2026-07-31 13:17:07'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077748 -3.236432)', '2026-07-31 13:17:14', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236432)'))) / (select extract(epoch from '2026-07-31 13:17:14'::timestamp) - extract(epoch from '2026-07-31 13:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236432)'))) / (select extract(epoch from '2026-07-31 13:17:14'::timestamp) - extract(epoch from '2026-07-31 13:17: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'), 47459, 'SRID=4674;POINT (-39.077757 -3.236428)', '2026-07-31 13:17:20', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:17:20'::timestamp) - extract(epoch from '2026-07-31 13:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:17:20'::timestamp) - extract(epoch from '2026-07-31 13:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077758 -3.236422)', '2026-07-31 13:17:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236422)'))) / (select extract(epoch from '2026-07-31 13:17:33'::timestamp) - extract(epoch from '2026-07-31 13:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236422)'))) / (select extract(epoch from '2026-07-31 13:17:33'::timestamp) - extract(epoch from '2026-07-31 13:17: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236423)', '2026-07-31 13:17:42', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:17:42'::timestamp) - extract(epoch from '2026-07-31 13:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:17:42'::timestamp) - extract(epoch from '2026-07-31 13:17: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'), 47459, 'SRID=4674;POINT (-39.077783 -3.2364)', '2026-07-31 13:17:49', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.2364)'))) / (select extract(epoch from '2026-07-31 13:17:49'::timestamp) - extract(epoch from '2026-07-31 13:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.2364)'))) / (select extract(epoch from '2026-07-31 13:17:49'::timestamp) - extract(epoch from '2026-07-31 13:17: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236395)', '2026-07-31 13:17:55', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:17:55'::timestamp) - extract(epoch from '2026-07-31 13:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:17:55'::timestamp) - extract(epoch from '2026-07-31 13:17: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236392)', '2026-07-31 13:18:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236392)'))) / (select extract(epoch from '2026-07-31 13:18:03'::timestamp) - extract(epoch from '2026-07-31 13:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236392)'))) / (select extract(epoch from '2026-07-31 13:18:03'::timestamp) - extract(epoch from '2026-07-31 13:17: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236379)', '2026-07-31 13:18:10', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236392)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:18:10'::timestamp) - extract(epoch from '2026-07-31 13:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236392)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:18:10'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236369)', '2026-07-31 13:18:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236369)'))) / (select extract(epoch from '2026-07-31 13:18:15'::timestamp) - extract(epoch from '2026-07-31 13:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236369)'))) / (select extract(epoch from '2026-07-31 13:18:15'::timestamp) - extract(epoch from '2026-07-31 13:18: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.236366)', '2026-07-31 13:18:26', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236369)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236366)'))) / (select extract(epoch from '2026-07-31 13:18:26'::timestamp) - extract(epoch from '2026-07-31 13:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236369)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236366)'))) / (select extract(epoch from '2026-07-31 13:18:26'::timestamp) - extract(epoch from '2026-07-31 13:18: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236362)', '2026-07-31 13:18:33', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236366)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236362)'))) / (select extract(epoch from '2026-07-31 13:18:33'::timestamp) - extract(epoch from '2026-07-31 13:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236366)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236362)'))) / (select extract(epoch from '2026-07-31 13:18:33'::timestamp) - extract(epoch from '2026-07-31 13:18: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236358)', '2026-07-31 13:18:43', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236362)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236358)'))) / (select extract(epoch from '2026-07-31 13:18:43'::timestamp) - extract(epoch from '2026-07-31 13:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236362)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236358)'))) / (select extract(epoch from '2026-07-31 13:18:43'::timestamp) - extract(epoch from '2026-07-31 13:18: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.23636)', '2026-07-31 13:18:51', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236358)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.23636)'))) / (select extract(epoch from '2026-07-31 13:18:51'::timestamp) - extract(epoch from '2026-07-31 13:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236358)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.23636)'))) / (select extract(epoch from '2026-07-31 13:18:51'::timestamp) - extract(epoch from '2026-07-31 13:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077776 -3.236372)', '2026-07-31 13:18:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.23636)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236372)'))) / (select extract(epoch from '2026-07-31 13:18:59'::timestamp) - extract(epoch from '2026-07-31 13:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.23636)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236372)'))) / (select extract(epoch from '2026-07-31 13:18:59'::timestamp) - extract(epoch from '2026-07-31 13:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07777 -3.236371)', '2026-07-31 13:19:07', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236372)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236371)'))) / (select extract(epoch from '2026-07-31 13:19:07'::timestamp) - extract(epoch from '2026-07-31 13:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236372)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236371)'))) / (select extract(epoch from '2026-07-31 13:19:07'::timestamp) - extract(epoch from '2026-07-31 13:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077782 -3.236371)', '2026-07-31 13:19:14', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236371)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236371)'))) / (select extract(epoch from '2026-07-31 13:19:14'::timestamp) - extract(epoch from '2026-07-31 13:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236371)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236371)'))) / (select extract(epoch from '2026-07-31 13:19:14'::timestamp) - extract(epoch from '2026-07-31 13:19: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236376)', '2026-07-31 13:19:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236371)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:19:20'::timestamp) - extract(epoch from '2026-07-31 13:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236371)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:19:20'::timestamp) - extract(epoch from '2026-07-31 13:19: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236381)', '2026-07-31 13:19:29', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236381)'))) / (select extract(epoch from '2026-07-31 13:19:29'::timestamp) - extract(epoch from '2026-07-31 13:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236381)'))) / (select extract(epoch from '2026-07-31 13:19:29'::timestamp) - extract(epoch from '2026-07-31 13:19: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236381)', '2026-07-31 13:19:35', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236381)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236381)'))) / (select extract(epoch from '2026-07-31 13:19:35'::timestamp) - extract(epoch from '2026-07-31 13:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236381)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236381)'))) / (select extract(epoch from '2026-07-31 13:19:35'::timestamp) - extract(epoch from '2026-07-31 13:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.236376)', '2026-07-31 13:19:44', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236381)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:19:44'::timestamp) - extract(epoch from '2026-07-31 13:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236381)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:19:44'::timestamp) - extract(epoch from '2026-07-31 13:19: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.236377)', '2026-07-31 13:19:52', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236377)'))) / (select extract(epoch from '2026-07-31 13:19:52'::timestamp) - extract(epoch from '2026-07-31 13:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236377)'))) / (select extract(epoch from '2026-07-31 13:19:52'::timestamp) - extract(epoch from '2026-07-31 13:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077779 -3.23637)', '2026-07-31 13:20:01', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236377)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:20:01'::timestamp) - extract(epoch from '2026-07-31 13:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236377)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23637)'))) / (select extract(epoch from '2026-07-31 13:20:01'::timestamp) - extract(epoch from '2026-07-31 13:19: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'), 47459, 'SRID=4674;POINT (-39.077766 -3.236363)', '2026-07-31 13:20:09', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236363)'))) / (select extract(epoch from '2026-07-31 13:20:09'::timestamp) - extract(epoch from '2026-07-31 13:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236363)'))) / (select extract(epoch from '2026-07-31 13:20:09'::timestamp) - extract(epoch from '2026-07-31 13:20:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077768 -3.236368)', '2026-07-31 13:20:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236363)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236368)'))) / (select extract(epoch from '2026-07-31 13:20:16'::timestamp) - extract(epoch from '2026-07-31 13:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236363)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236368)'))) / (select extract(epoch from '2026-07-31 13:20:16'::timestamp) - extract(epoch from '2026-07-31 13:20: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.236372)', '2026-07-31 13:20:24', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236368)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236372)'))) / (select extract(epoch from '2026-07-31 13:20:24'::timestamp) - extract(epoch from '2026-07-31 13:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236368)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236372)'))) / (select extract(epoch from '2026-07-31 13:20:24'::timestamp) - extract(epoch from '2026-07-31 13:20: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.236376)', '2026-07-31 13:20:33', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236372)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:20:33'::timestamp) - extract(epoch from '2026-07-31 13:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236372)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:20:33'::timestamp) - extract(epoch from '2026-07-31 13:20: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'), 47459, 'SRID=4674;POINT (-39.077783 -3.236376)', '2026-07-31 13:20:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:20:39'::timestamp) - extract(epoch from '2026-07-31 13:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:20:39'::timestamp) - extract(epoch from '2026-07-31 13:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077768 -3.236376)', '2026-07-31 13:20:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:20:49'::timestamp) - extract(epoch from '2026-07-31 13:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:20:49'::timestamp) - extract(epoch from '2026-07-31 13:20: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'), 47459, 'SRID=4674;POINT (-39.077788 -3.236378)', '2026-07-31 13:20:55', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236378)'))) / (select extract(epoch from '2026-07-31 13:20:55'::timestamp) - extract(epoch from '2026-07-31 13:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236378)'))) / (select extract(epoch from '2026-07-31 13:20:55'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236384)', '2026-07-31 13:21:02', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236378)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236384)'))) / (select extract(epoch from '2026-07-31 13:21:02'::timestamp) - extract(epoch from '2026-07-31 13:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236378)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236384)'))) / (select extract(epoch from '2026-07-31 13:21:02'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236379)', '2026-07-31 13:21:03', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:21:03'::timestamp) - extract(epoch from '2026-07-31 13:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:21:03'::timestamp) - extract(epoch from '2026-07-31 13:21:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077783 -3.236384)', '2026-07-31 13:21:08', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236384)'))) / (select extract(epoch from '2026-07-31 13:21:08'::timestamp) - extract(epoch from '2026-07-31 13:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236384)'))) / (select extract(epoch from '2026-07-31 13:21:08'::timestamp) - extract(epoch from '2026-07-31 13:21: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'), 47459, 'SRID=4674;POINT (-39.077766 -3.236396)', '2026-07-31 13:21:13', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236396)'))) / (select extract(epoch from '2026-07-31 13:21:13'::timestamp) - extract(epoch from '2026-07-31 13:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236396)'))) / (select extract(epoch from '2026-07-31 13:21:13'::timestamp) - extract(epoch from '2026-07-31 13:21:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077777 -3.236403)', '2026-07-31 13:21:17', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236396)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:21:17'::timestamp) - extract(epoch from '2026-07-31 13:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236396)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:21:17'::timestamp) - extract(epoch from '2026-07-31 13:21: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'), 47459, 'SRID=4674;POINT (-39.0778 -3.236427)', '2026-07-31 13:21:26', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:21:26'::timestamp) - extract(epoch from '2026-07-31 13:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:21:26'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077801 -3.236423)', '2026-07-31 13:21:35', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:21:35'::timestamp) - extract(epoch from '2026-07-31 13:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:21:35'::timestamp) - extract(epoch from '2026-07-31 13:21: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'), 47459, 'SRID=4674;POINT (-39.077797 -3.236425)', '2026-07-31 13:21:41', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236425)'))) / (select extract(epoch from '2026-07-31 13:21:41'::timestamp) - extract(epoch from '2026-07-31 13:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236425)'))) / (select extract(epoch from '2026-07-31 13:21:41'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077786 -3.236418)', '2026-07-31 13:21:47', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:21:47'::timestamp) - extract(epoch from '2026-07-31 13:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:21:47'::timestamp) - extract(epoch from '2026-07-31 13:21: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.236428)', '2026-07-31 13:21:50', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:21:50'::timestamp) - extract(epoch from '2026-07-31 13:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:21:50'::timestamp) - extract(epoch from '2026-07-31 13:21: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236424)', '2026-07-31 13:21:51', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:21:51'::timestamp) - extract(epoch from '2026-07-31 13:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:21:51'::timestamp) - extract(epoch from '2026-07-31 13:21: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236418)', '2026-07-31 13:21:55', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:21:55'::timestamp) - extract(epoch from '2026-07-31 13:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:21:55'::timestamp) - extract(epoch from '2026-07-31 13:21:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077784 -3.23641)', '2026-07-31 13:22:01', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.23641)'))) / (select extract(epoch from '2026-07-31 13:22:01'::timestamp) - extract(epoch from '2026-07-31 13:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.23641)'))) / (select extract(epoch from '2026-07-31 13:22:01'::timestamp) - extract(epoch from '2026-07-31 13:21: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'), 47459, 'SRID=4674;POINT (-39.077782 -3.236419)', '2026-07-31 13:22:06', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:22:06'::timestamp) - extract(epoch from '2026-07-31 13:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:22:06'::timestamp) - extract(epoch from '2026-07-31 13:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077783 -3.236423)', '2026-07-31 13:22:13', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:22:13'::timestamp) - extract(epoch from '2026-07-31 13:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:22:13'::timestamp) - extract(epoch from '2026-07-31 13:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077787 -3.236428)', '2026-07-31 13:22:14', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:22:14'::timestamp) - extract(epoch from '2026-07-31 13:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:22:14'::timestamp) - extract(epoch from '2026-07-31 13:22: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'), 47459, 'SRID=4674;POINT (-39.077794 -3.236431)', '2026-07-31 13:22:21', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236431)'))) / (select extract(epoch from '2026-07-31 13:22:21'::timestamp) - extract(epoch from '2026-07-31 13:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236431)'))) / (select extract(epoch from '2026-07-31 13:22:21'::timestamp) - extract(epoch from '2026-07-31 13:22: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'), 47459, 'SRID=4674;POINT (-39.077798 -3.236426)', '2026-07-31 13:22:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:22:30'::timestamp) - extract(epoch from '2026-07-31 13:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:22:30'::timestamp) - extract(epoch from '2026-07-31 13:22: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'), 47459, 'SRID=4674;POINT (-39.077791 -3.236425)', '2026-07-31 13:22:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236425)'))) / (select extract(epoch from '2026-07-31 13:22:35'::timestamp) - extract(epoch from '2026-07-31 13:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236425)'))) / (select extract(epoch from '2026-07-31 13:22:35'::timestamp) - extract(epoch from '2026-07-31 13:22: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'), 47459, 'SRID=4674;POINT (-39.077787 -3.236415)', '2026-07-31 13:22:43', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236415)'))) / (select extract(epoch from '2026-07-31 13:22:43'::timestamp) - extract(epoch from '2026-07-31 13:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236415)'))) / (select extract(epoch from '2026-07-31 13:22:43'::timestamp) - extract(epoch from '2026-07-31 13:22: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236419)', '2026-07-31 13:22:50', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236415)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:22:50'::timestamp) - extract(epoch from '2026-07-31 13:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236415)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:22:50'::timestamp) - extract(epoch from '2026-07-31 13:22: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236415)', '2026-07-31 13:23:01', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236415)'))) / (select extract(epoch from '2026-07-31 13:23:01'::timestamp) - extract(epoch from '2026-07-31 13:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236415)'))) / (select extract(epoch from '2026-07-31 13:23:01'::timestamp) - extract(epoch from '2026-07-31 13:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077761 -3.236416)', '2026-07-31 13:23:08', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236415)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:23:08'::timestamp) - extract(epoch from '2026-07-31 13:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236415)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:23:08'::timestamp) - extract(epoch from '2026-07-31 13:23: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'), 47459, 'SRID=4674;POINT (-39.077766 -3.236408)', '2026-07-31 13:23:16', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236408)'))) / (select extract(epoch from '2026-07-31 13:23:16'::timestamp) - extract(epoch from '2026-07-31 13:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236408)'))) / (select extract(epoch from '2026-07-31 13:23:16'::timestamp) - extract(epoch from '2026-07-31 13:23: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236404)', '2026-07-31 13:23:23', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236408)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236404)'))) / (select extract(epoch from '2026-07-31 13:23:23'::timestamp) - extract(epoch from '2026-07-31 13:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236408)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236404)'))) / (select extract(epoch from '2026-07-31 13:23:23'::timestamp) - extract(epoch from '2026-07-31 13:23: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'), 47459, 'SRID=4674;POINT (-39.077758 -3.236406)', '2026-07-31 13:23:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:23:30'::timestamp) - extract(epoch from '2026-07-31 13:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:23:30'::timestamp) - extract(epoch from '2026-07-31 13:23: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236404)', '2026-07-31 13:23:36', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236404)'))) / (select extract(epoch from '2026-07-31 13:23:36'::timestamp) - extract(epoch from '2026-07-31 13:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236404)'))) / (select extract(epoch from '2026-07-31 13:23:36'::timestamp) - extract(epoch from '2026-07-31 13:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07776 -3.23641)', '2026-07-31 13:23:46', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.23641)'))) / (select extract(epoch from '2026-07-31 13:23:46'::timestamp) - extract(epoch from '2026-07-31 13:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.23641)'))) / (select extract(epoch from '2026-07-31 13:23:46'::timestamp) - extract(epoch from '2026-07-31 13:23: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236433)', '2026-07-31 13:23:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236433)'))) / (select extract(epoch from '2026-07-31 13:23:55'::timestamp) - extract(epoch from '2026-07-31 13:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236433)'))) / (select extract(epoch from '2026-07-31 13:23:55'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.236428)', '2026-07-31 13:24:04', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236433)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:24:04'::timestamp) - extract(epoch from '2026-07-31 13:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236433)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:24:04'::timestamp) - extract(epoch from '2026-07-31 13:23: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'), 47459, 'SRID=4674;POINT (-39.077758 -3.23643)', '2026-07-31 13:24:09', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.23643)'))) / (select extract(epoch from '2026-07-31 13:24:09'::timestamp) - extract(epoch from '2026-07-31 13:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.23643)'))) / (select extract(epoch from '2026-07-31 13:24:09'::timestamp) - extract(epoch from '2026-07-31 13:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077762 -3.236426)', '2026-07-31 13:24:16', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:24:16'::timestamp) - extract(epoch from '2026-07-31 13:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:24:16'::timestamp) - extract(epoch from '2026-07-31 13:24: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.236429)', '2026-07-31 13:24:25', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236429)'))) / (select extract(epoch from '2026-07-31 13:24:25'::timestamp) - extract(epoch from '2026-07-31 13:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236429)'))) / (select extract(epoch from '2026-07-31 13:24:25'::timestamp) - extract(epoch from '2026-07-31 13:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077764 -3.236432)', '2026-07-31 13:24:33', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236432)'))) / (select extract(epoch from '2026-07-31 13:24:33'::timestamp) - extract(epoch from '2026-07-31 13:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236432)'))) / (select extract(epoch from '2026-07-31 13:24:33'::timestamp) - extract(epoch from '2026-07-31 13:24: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.23643)', '2026-07-31 13:24:35', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.23643)'))) / (select extract(epoch from '2026-07-31 13:24:35'::timestamp) - extract(epoch from '2026-07-31 13:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.23643)'))) / (select extract(epoch from '2026-07-31 13:24:35'::timestamp) - extract(epoch from '2026-07-31 13:24: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.236427)', '2026-07-31 13:24:37', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:24:37'::timestamp) - extract(epoch from '2026-07-31 13:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:24:37'::timestamp) - extract(epoch from '2026-07-31 13:24: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236434)', '2026-07-31 13:24:44', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:24:44'::timestamp) - extract(epoch from '2026-07-31 13:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:24:44'::timestamp) - extract(epoch from '2026-07-31 13:24: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236426)', '2026-07-31 13:24:52', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:24:52'::timestamp) - extract(epoch from '2026-07-31 13:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:24:52'::timestamp) - extract(epoch from '2026-07-31 13:24: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'), 47459, 'SRID=4674;POINT (-39.077759 -3.236427)', '2026-07-31 13:25:00', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:25:00'::timestamp) - extract(epoch from '2026-07-31 13:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:25:00'::timestamp) - extract(epoch from '2026-07-31 13:24: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.236427)', '2026-07-31 13:25:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:25:04'::timestamp) - extract(epoch from '2026-07-31 13:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:25:04'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236417)', '2026-07-31 13:25:10', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236417)'))) / (select extract(epoch from '2026-07-31 13:25:10'::timestamp) - extract(epoch from '2026-07-31 13:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236417)'))) / (select extract(epoch from '2026-07-31 13:25:10'::timestamp) - extract(epoch from '2026-07-31 13:25: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'), 47459, 'SRID=4674;POINT (-39.077758 -3.236416)', '2026-07-31 13:25:16', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236417)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:25:16'::timestamp) - extract(epoch from '2026-07-31 13:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236417)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:25:16'::timestamp) - extract(epoch from '2026-07-31 13:25: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'), 47459, 'SRID=4674;POINT (-39.07776 -3.236424)', '2026-07-31 13:25:25', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:25:25'::timestamp) - extract(epoch from '2026-07-31 13:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:25:25'::timestamp) - extract(epoch from '2026-07-31 13:25: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'), 47459, 'SRID=4674;POINT (-39.077766 -3.236419)', '2026-07-31 13:25:33', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:25:33'::timestamp) - extract(epoch from '2026-07-31 13:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:25:33'::timestamp) - extract(epoch from '2026-07-31 13:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077759 -3.236418)', '2026-07-31 13:25:40', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:25:40'::timestamp) - extract(epoch from '2026-07-31 13:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:25:40'::timestamp) - extract(epoch from '2026-07-31 13:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077764 -3.236426)', '2026-07-31 13:25:49', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:25:49'::timestamp) - extract(epoch from '2026-07-31 13:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:25:49'::timestamp) - extract(epoch from '2026-07-31 13:25: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.236426)', '2026-07-31 13:25:54', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:25:54'::timestamp) - extract(epoch from '2026-07-31 13:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:25:54'::timestamp) - extract(epoch from '2026-07-31 13:25: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.236419)', '2026-07-31 13:26:01', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:26:01'::timestamp) - extract(epoch from '2026-07-31 13:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:26:01'::timestamp) - extract(epoch from '2026-07-31 13:25: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'), 47459, 'SRID=4674;POINT (-39.077751 -3.23641)', '2026-07-31 13:26:09', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.23641)'))) / (select extract(epoch from '2026-07-31 13:26:09'::timestamp) - extract(epoch from '2026-07-31 13:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.23641)'))) / (select extract(epoch from '2026-07-31 13:26:09'::timestamp) - extract(epoch from '2026-07-31 13:26: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'), 47459, 'SRID=4674;POINT (-39.07776 -3.236411)', '2026-07-31 13:26:16', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236411)'))) / (select extract(epoch from '2026-07-31 13:26:16'::timestamp) - extract(epoch from '2026-07-31 13:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236411)'))) / (select extract(epoch from '2026-07-31 13:26:16'::timestamp) - extract(epoch from '2026-07-31 13:26:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077768 -3.236413)', '2026-07-31 13:26:25', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:26:25'::timestamp) - extract(epoch from '2026-07-31 13:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:26:25'::timestamp) - extract(epoch from '2026-07-31 13:26: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'), 47459, 'SRID=4674;POINT (-39.077766 -3.236414)', '2026-07-31 13:26:30', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:26:30'::timestamp) - extract(epoch from '2026-07-31 13:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:26:30'::timestamp) - extract(epoch from '2026-07-31 13:26: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236419)', '2026-07-31 13:26:39', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:26:39'::timestamp) - extract(epoch from '2026-07-31 13:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236419)'))) / (select extract(epoch from '2026-07-31 13:26:39'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236418)', '2026-07-31 13:26:47', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:26:47'::timestamp) - extract(epoch from '2026-07-31 13:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:26:47'::timestamp) - extract(epoch from '2026-07-31 13:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077765 -3.236422)', '2026-07-31 13:26:53', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236422)'))) / (select extract(epoch from '2026-07-31 13:26:53'::timestamp) - extract(epoch from '2026-07-31 13:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236422)'))) / (select extract(epoch from '2026-07-31 13:26:53'::timestamp) - extract(epoch from '2026-07-31 13:26: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.236414)', '2026-07-31 13:26:58', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:26:58'::timestamp) - extract(epoch from '2026-07-31 13:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:26:58'::timestamp) - extract(epoch from '2026-07-31 13:26: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236415)', '2026-07-31 13:27:07', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236415)'))) / (select extract(epoch from '2026-07-31 13:27:07'::timestamp) - extract(epoch from '2026-07-31 13:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236415)'))) / (select extract(epoch from '2026-07-31 13:27:07'::timestamp) - extract(epoch from '2026-07-31 13:26: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.236409)', '2026-07-31 13:27:15', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236415)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236409)'))) / (select extract(epoch from '2026-07-31 13:27:15'::timestamp) - extract(epoch from '2026-07-31 13:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236415)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236409)'))) / (select extract(epoch from '2026-07-31 13:27:15'::timestamp) - extract(epoch from '2026-07-31 13:27: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236414)', '2026-07-31 13:27:20', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236409)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:27:20'::timestamp) - extract(epoch from '2026-07-31 13:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236409)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:27:20'::timestamp) - extract(epoch from '2026-07-31 13:27: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'), 47459, 'SRID=4674;POINT (-39.077793 -3.236434)', '2026-07-31 13:27:30', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:27:30'::timestamp) - extract(epoch from '2026-07-31 13:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:27:30'::timestamp) - extract(epoch from '2026-07-31 13:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077805 -3.23644)', '2026-07-31 13:27:38', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.23644)'))) / (select extract(epoch from '2026-07-31 13:27:38'::timestamp) - extract(epoch from '2026-07-31 13:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.23644)'))) / (select extract(epoch from '2026-07-31 13:27:38'::timestamp) - extract(epoch from '2026-07-31 13:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077821 -3.236429)', '2026-07-31 13:27:46', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077821 -3.236429)'))) / (select extract(epoch from '2026-07-31 13:27:46'::timestamp) - extract(epoch from '2026-07-31 13:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077821 -3.236429)'))) / (select extract(epoch from '2026-07-31 13:27:46'::timestamp) - extract(epoch from '2026-07-31 13:27: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'), 47459, 'SRID=4674;POINT (-39.077814 -3.23642)', '2026-07-31 13:27:51', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077821 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077814 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:27:51'::timestamp) - extract(epoch from '2026-07-31 13:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077821 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077814 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:27:51'::timestamp) - extract(epoch from '2026-07-31 13:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077803 -3.236415)', '2026-07-31 13:27:59', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077814 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236415)'))) / (select extract(epoch from '2026-07-31 13:27:59'::timestamp) - extract(epoch from '2026-07-31 13:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077814 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236415)'))) / (select extract(epoch from '2026-07-31 13:27:59'::timestamp) - extract(epoch from '2026-07-31 13:27: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'), 47459, 'SRID=4674;POINT (-39.07781 -3.236408)', '2026-07-31 13:28:07', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236415)'), GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236408)'))) / (select extract(epoch from '2026-07-31 13:28:07'::timestamp) - extract(epoch from '2026-07-31 13:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236415)'), GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236408)'))) / (select extract(epoch from '2026-07-31 13:28:07'::timestamp) - extract(epoch from '2026-07-31 13:27: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'), 47459, 'SRID=4674;POINT (-39.077805 -3.236416)', '2026-07-31 13:28:14', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236408)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:28:14'::timestamp) - extract(epoch from '2026-07-31 13:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236408)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:28:14'::timestamp) - extract(epoch from '2026-07-31 13:28: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'), 47459, 'SRID=4674;POINT (-39.077804 -3.236428)', '2026-07-31 13:28:22', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:28:22'::timestamp) - extract(epoch from '2026-07-31 13:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:28:22'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077801 -3.236436)', '2026-07-31 13:28:30', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:28:30'::timestamp) - extract(epoch from '2026-07-31 13:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:28:30'::timestamp) - extract(epoch from '2026-07-31 13:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077803 -3.236438)', '2026-07-31 13:28:35', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236438)'))) / (select extract(epoch from '2026-07-31 13:28:35'::timestamp) - extract(epoch from '2026-07-31 13:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236438)'))) / (select extract(epoch from '2026-07-31 13:28:35'::timestamp) - extract(epoch from '2026-07-31 13:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077798 -3.236446)', '2026-07-31 13:28:43', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:28:43'::timestamp) - extract(epoch from '2026-07-31 13:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:28:43'::timestamp) - extract(epoch from '2026-07-31 13:28:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077803 -3.236446)', '2026-07-31 13:28:48', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:28:48'::timestamp) - extract(epoch from '2026-07-31 13:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:28:48'::timestamp) - extract(epoch from '2026-07-31 13:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077807 -3.236446)', '2026-07-31 13:28:59', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:28:59'::timestamp) - extract(epoch from '2026-07-31 13:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:28:59'::timestamp) - extract(epoch from '2026-07-31 13:28: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'), 47459, 'SRID=4674;POINT (-39.077809 -3.236449)', '2026-07-31 13:29:09', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236449)'))) / (select extract(epoch from '2026-07-31 13:29:09'::timestamp) - extract(epoch from '2026-07-31 13:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236449)'))) / (select extract(epoch from '2026-07-31 13:29:09'::timestamp) - extract(epoch from '2026-07-31 13:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077803 -3.23645)', '2026-07-31 13:29:10', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236449)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.23645)'))) / (select extract(epoch from '2026-07-31 13:29:10'::timestamp) - extract(epoch from '2026-07-31 13:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236449)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.23645)'))) / (select extract(epoch from '2026-07-31 13:29:10'::timestamp) - extract(epoch from '2026-07-31 13:29: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'), 47459, 'SRID=4674;POINT (-39.077792 -3.236452)', '2026-07-31 13:29:14', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236452)'))) / (select extract(epoch from '2026-07-31 13:29:14'::timestamp) - extract(epoch from '2026-07-31 13:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236452)'))) / (select extract(epoch from '2026-07-31 13:29:14'::timestamp) - extract(epoch from '2026-07-31 13:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077812 -3.236452)', '2026-07-31 13:29:21', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077812 -3.236452)'))) / (select extract(epoch from '2026-07-31 13:29:21'::timestamp) - extract(epoch from '2026-07-31 13:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077812 -3.236452)'))) / (select extract(epoch from '2026-07-31 13:29:21'::timestamp) - extract(epoch from '2026-07-31 13:29: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'), 47459, 'SRID=4674;POINT (-39.077791 -3.23645)', '2026-07-31 13:29:26', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077812 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.23645)'))) / (select extract(epoch from '2026-07-31 13:29:26'::timestamp) - extract(epoch from '2026-07-31 13:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077812 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.23645)'))) / (select extract(epoch from '2026-07-31 13:29:26'::timestamp) - extract(epoch from '2026-07-31 13:29: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'), 47459, 'SRID=4674;POINT (-39.077796 -3.236449)', '2026-07-31 13:29:34', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236449)'))) / (select extract(epoch from '2026-07-31 13:29:34'::timestamp) - extract(epoch from '2026-07-31 13:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236449)'))) / (select extract(epoch from '2026-07-31 13:29:34'::timestamp) - extract(epoch from '2026-07-31 13:29: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236451)', '2026-07-31 13:29:42', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236449)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236451)'))) / (select extract(epoch from '2026-07-31 13:29:42'::timestamp) - extract(epoch from '2026-07-31 13:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236449)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236451)'))) / (select extract(epoch from '2026-07-31 13:29:42'::timestamp) - extract(epoch from '2026-07-31 13:29: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'), 47459, 'SRID=4674;POINT (-39.077772 -3.236443)', '2026-07-31 13:29:47', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236451)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236443)'))) / (select extract(epoch from '2026-07-31 13:29:47'::timestamp) - extract(epoch from '2026-07-31 13:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236451)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236443)'))) / (select extract(epoch from '2026-07-31 13:29:47'::timestamp) - extract(epoch from '2026-07-31 13:29:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077779 -3.236444)', '2026-07-31 13:29:49', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236443)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236444)'))) / (select extract(epoch from '2026-07-31 13:29:49'::timestamp) - extract(epoch from '2026-07-31 13:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236443)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236444)'))) / (select extract(epoch from '2026-07-31 13:29:49'::timestamp) - extract(epoch from '2026-07-31 13:29: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.236437)', '2026-07-31 13:29:53', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236437)'))) / (select extract(epoch from '2026-07-31 13:29:53'::timestamp) - extract(epoch from '2026-07-31 13:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236437)'))) / (select extract(epoch from '2026-07-31 13:29:53'::timestamp) - extract(epoch from '2026-07-31 13:29: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'), 47459, 'SRID=4674;POINT (-39.077781 -3.236451)', '2026-07-31 13:30:01', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236451)'))) / (select extract(epoch from '2026-07-31 13:30:01'::timestamp) - extract(epoch from '2026-07-31 13:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236451)'))) / (select extract(epoch from '2026-07-31 13:30:01'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077781 -3.236445)', '2026-07-31 13:30:08', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236451)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236445)'))) / (select extract(epoch from '2026-07-31 13:30:08'::timestamp) - extract(epoch from '2026-07-31 13:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236451)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236445)'))) / (select extract(epoch from '2026-07-31 13:30:08'::timestamp) - extract(epoch from '2026-07-31 13:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077781 -3.236454)', '2026-07-31 13:30:16', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236454)'))) / (select extract(epoch from '2026-07-31 13:30:16'::timestamp) - extract(epoch from '2026-07-31 13:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236454)'))) / (select extract(epoch from '2026-07-31 13:30:16'::timestamp) - extract(epoch from '2026-07-31 13:30: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236447)', '2026-07-31 13:30:26', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236447)'))) / (select extract(epoch from '2026-07-31 13:30:26'::timestamp) - extract(epoch from '2026-07-31 13:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236447)'))) / (select extract(epoch from '2026-07-31 13:30:26'::timestamp) - extract(epoch from '2026-07-31 13:30: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'), 47459, 'SRID=4674;POINT (-39.077772 -3.236437)', '2026-07-31 13:30:32', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236437)'))) / (select extract(epoch from '2026-07-31 13:30:32'::timestamp) - extract(epoch from '2026-07-31 13:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236437)'))) / (select extract(epoch from '2026-07-31 13:30:32'::timestamp) - extract(epoch from '2026-07-31 13:30: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236442)', '2026-07-31 13:30:39', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236442)'))) / (select extract(epoch from '2026-07-31 13:30:39'::timestamp) - extract(epoch from '2026-07-31 13:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236442)'))) / (select extract(epoch from '2026-07-31 13:30:39'::timestamp) - extract(epoch from '2026-07-31 13:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077784 -3.236447)', '2026-07-31 13:30:45', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236442)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236447)'))) / (select extract(epoch from '2026-07-31 13:30:45'::timestamp) - extract(epoch from '2026-07-31 13:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236442)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236447)'))) / (select extract(epoch from '2026-07-31 13:30:45'::timestamp) - extract(epoch from '2026-07-31 13:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077772 -3.236439)', '2026-07-31 13:30:58', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236439)'))) / (select extract(epoch from '2026-07-31 13:30:58'::timestamp) - extract(epoch from '2026-07-31 13:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236439)'))) / (select extract(epoch from '2026-07-31 13:30:58'::timestamp) - extract(epoch from '2026-07-31 13:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077771 -3.236434)', '2026-07-31 13:31:06', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:31:06'::timestamp) - extract(epoch from '2026-07-31 13:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:31:06'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077772 -3.236436)', '2026-07-31 13:31:15', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:31:15'::timestamp) - extract(epoch from '2026-07-31 13:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:31:15'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236436)', '2026-07-31 13:31:23', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:31:23'::timestamp) - extract(epoch from '2026-07-31 13:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:31:23'::timestamp) - extract(epoch from '2026-07-31 13:31: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'), 47459, 'SRID=4674;POINT (-39.077755 -3.236429)', '2026-07-31 13:31:34', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236429)'))) / (select extract(epoch from '2026-07-31 13:31:34'::timestamp) - extract(epoch from '2026-07-31 13:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236429)'))) / (select extract(epoch from '2026-07-31 13:31:34'::timestamp) - extract(epoch from '2026-07-31 13:31: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'), 47459, 'SRID=4674;POINT (-39.077756 -3.236422)', '2026-07-31 13:31:42', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236422)'))) / (select extract(epoch from '2026-07-31 13:31:42'::timestamp) - extract(epoch from '2026-07-31 13:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236422)'))) / (select extract(epoch from '2026-07-31 13:31:42'::timestamp) - extract(epoch from '2026-07-31 13:31: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.236417)', '2026-07-31 13:31:49', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236417)'))) / (select extract(epoch from '2026-07-31 13:31:49'::timestamp) - extract(epoch from '2026-07-31 13:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236417)'))) / (select extract(epoch from '2026-07-31 13:31:49'::timestamp) - extract(epoch from '2026-07-31 13:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077758 -3.236418)', '2026-07-31 13:31:59', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236417)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:31:59'::timestamp) - extract(epoch from '2026-07-31 13:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236417)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:31:59'::timestamp) - extract(epoch from '2026-07-31 13:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077764 -3.236407)', '2026-07-31 13:32:06', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236407)'))) / (select extract(epoch from '2026-07-31 13:32:06'::timestamp) - extract(epoch from '2026-07-31 13:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236407)'))) / (select extract(epoch from '2026-07-31 13:32:06'::timestamp) - extract(epoch from '2026-07-31 13:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077769 -3.236404)', '2026-07-31 13:32:07', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236407)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236404)'))) / (select extract(epoch from '2026-07-31 13:32:07'::timestamp) - extract(epoch from '2026-07-31 13:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236407)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236404)'))) / (select extract(epoch from '2026-07-31 13:32:07'::timestamp) - extract(epoch from '2026-07-31 13:32: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236403)', '2026-07-31 13:32:16', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:32:16'::timestamp) - extract(epoch from '2026-07-31 13:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:32:16'::timestamp) - extract(epoch from '2026-07-31 13:32: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236397)', '2026-07-31 13:32:21', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236397)'))) / (select extract(epoch from '2026-07-31 13:32:21'::timestamp) - extract(epoch from '2026-07-31 13:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236397)'))) / (select extract(epoch from '2026-07-31 13:32:21'::timestamp) - extract(epoch from '2026-07-31 13:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077754 -3.236393)', '2026-07-31 13:32:29', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236397)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:32:29'::timestamp) - extract(epoch from '2026-07-31 13:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236397)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:32:29'::timestamp) - extract(epoch from '2026-07-31 13:32: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236376)', '2026-07-31 13:32:41', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:32:41'::timestamp) - extract(epoch from '2026-07-31 13:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:32:41'::timestamp) - extract(epoch from '2026-07-31 13:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077751 -3.236376)', '2026-07-31 13:32:49', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:32:49'::timestamp) - extract(epoch from '2026-07-31 13:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236376)'))) / (select extract(epoch from '2026-07-31 13:32:49'::timestamp) - extract(epoch from '2026-07-31 13:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077745 -3.236375)', '2026-07-31 13:32:56', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236375)'))) / (select extract(epoch from '2026-07-31 13:32:56'::timestamp) - extract(epoch from '2026-07-31 13:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236375)'))) / (select extract(epoch from '2026-07-31 13:32:56'::timestamp) - extract(epoch from '2026-07-31 13:32: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.236367)', '2026-07-31 13:33:01', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236367)'))) / (select extract(epoch from '2026-07-31 13:33:01'::timestamp) - extract(epoch from '2026-07-31 13:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236367)'))) / (select extract(epoch from '2026-07-31 13:33:01'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077757 -3.236367)', '2026-07-31 13:33:02', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236367)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236367)'))) / (select extract(epoch from '2026-07-31 13:33:02'::timestamp) - extract(epoch from '2026-07-31 13:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236367)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236367)'))) / (select extract(epoch from '2026-07-31 13:33:02'::timestamp) - extract(epoch from '2026-07-31 13:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077748 -3.236367)', '2026-07-31 13:33:05', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236367)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236367)'))) / (select extract(epoch from '2026-07-31 13:33:05'::timestamp) - extract(epoch from '2026-07-31 13:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236367)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236367)'))) / (select extract(epoch from '2026-07-31 13:33:05'::timestamp) - extract(epoch from '2026-07-31 13:33:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07777 -3.236372)', '2026-07-31 13:33:11', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236367)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236372)'))) / (select extract(epoch from '2026-07-31 13:33:11'::timestamp) - extract(epoch from '2026-07-31 13:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236367)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236372)'))) / (select extract(epoch from '2026-07-31 13:33:11'::timestamp) - extract(epoch from '2026-07-31 13:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077771 -3.236375)', '2026-07-31 13:33:22', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236372)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236375)'))) / (select extract(epoch from '2026-07-31 13:33:22'::timestamp) - extract(epoch from '2026-07-31 13:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236372)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236375)'))) / (select extract(epoch from '2026-07-31 13:33:22'::timestamp) - extract(epoch from '2026-07-31 13:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077776 -3.236378)', '2026-07-31 13:33:29', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236378)'))) / (select extract(epoch from '2026-07-31 13:33:29'::timestamp) - extract(epoch from '2026-07-31 13:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236378)'))) / (select extract(epoch from '2026-07-31 13:33:29'::timestamp) - extract(epoch from '2026-07-31 13:33: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.23638)', '2026-07-31 13:33:37', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236378)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.23638)'))) / (select extract(epoch from '2026-07-31 13:33:37'::timestamp) - extract(epoch from '2026-07-31 13:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236378)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.23638)'))) / (select extract(epoch from '2026-07-31 13:33:37'::timestamp) - extract(epoch from '2026-07-31 13:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077775 -3.236382)', '2026-07-31 13:33:44', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236382)'))) / (select extract(epoch from '2026-07-31 13:33:44'::timestamp) - extract(epoch from '2026-07-31 13:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236382)'))) / (select extract(epoch from '2026-07-31 13:33:44'::timestamp) - extract(epoch from '2026-07-31 13:33: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236393)', '2026-07-31 13:33:50', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236382)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:33:50'::timestamp) - extract(epoch from '2026-07-31 13:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236382)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:33:50'::timestamp) - extract(epoch from '2026-07-31 13:33: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.23639)', '2026-07-31 13:33:57', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23639)'))) / (select extract(epoch from '2026-07-31 13:33:57'::timestamp) - extract(epoch from '2026-07-31 13:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23639)'))) / (select extract(epoch from '2026-07-31 13:33:57'::timestamp) - extract(epoch from '2026-07-31 13:33: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.236387)', '2026-07-31 13:34:02', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23639)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236387)'))) / (select extract(epoch from '2026-07-31 13:34:02'::timestamp) - extract(epoch from '2026-07-31 13:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23639)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236387)'))) / (select extract(epoch from '2026-07-31 13:34:02'::timestamp) - extract(epoch from '2026-07-31 13:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077785 -3.236393)', '2026-07-31 13:34:05', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236387)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:34:05'::timestamp) - extract(epoch from '2026-07-31 13:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236387)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:34:05'::timestamp) - extract(epoch from '2026-07-31 13:34: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'), 47459, 'SRID=4674;POINT (-39.077783 -3.236388)', '2026-07-31 13:34:11', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236388)'))) / (select extract(epoch from '2026-07-31 13:34:11'::timestamp) - extract(epoch from '2026-07-31 13:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236388)'))) / (select extract(epoch from '2026-07-31 13:34:11'::timestamp) - extract(epoch from '2026-07-31 13:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07779 -3.236403)', '2026-07-31 13:34:16', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:34:16'::timestamp) - extract(epoch from '2026-07-31 13:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:34:16'::timestamp) - extract(epoch from '2026-07-31 13:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077795 -3.236406)', '2026-07-31 13:34:21', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:34:21'::timestamp) - extract(epoch from '2026-07-31 13:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:34:21'::timestamp) - extract(epoch from '2026-07-31 13:34:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077792 -3.23641)', '2026-07-31 13:34:28', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.23641)'))) / (select extract(epoch from '2026-07-31 13:34:28'::timestamp) - extract(epoch from '2026-07-31 13:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.23641)'))) / (select extract(epoch from '2026-07-31 13:34:28'::timestamp) - extract(epoch from '2026-07-31 13:34:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077796 -3.236413)', '2026-07-31 13:34:35', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:34:35'::timestamp) - extract(epoch from '2026-07-31 13:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:34:35'::timestamp) - extract(epoch from '2026-07-31 13:34: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'), 47459, 'SRID=4674;POINT (-39.077796 -3.236413)', '2026-07-31 13:34:40', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:34:40'::timestamp) - extract(epoch from '2026-07-31 13:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:34:40'::timestamp) - extract(epoch from '2026-07-31 13:34: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'), 47459, 'SRID=4674;POINT (-39.077797 -3.236425)', '2026-07-31 13:34:48', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236425)'))) / (select extract(epoch from '2026-07-31 13:34:48'::timestamp) - extract(epoch from '2026-07-31 13:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236425)'))) / (select extract(epoch from '2026-07-31 13:34:48'::timestamp) - extract(epoch from '2026-07-31 13:34: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'), 47459, 'SRID=4674;POINT (-39.077793 -3.236427)', '2026-07-31 13:34:50', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:34:50'::timestamp) - extract(epoch from '2026-07-31 13:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:34:50'::timestamp) - extract(epoch from '2026-07-31 13:34: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'), 47459, 'SRID=4674;POINT (-39.077791 -3.236423)', '2026-07-31 13:34:52', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:34:52'::timestamp) - extract(epoch from '2026-07-31 13:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:34:52'::timestamp) - extract(epoch from '2026-07-31 13:34: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'), 47459, 'SRID=4674;POINT (-39.077794 -3.236421)', '2026-07-31 13:34:55', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236421)'))) / (select extract(epoch from '2026-07-31 13:34:55'::timestamp) - extract(epoch from '2026-07-31 13:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236421)'))) / (select extract(epoch from '2026-07-31 13:34:55'::timestamp) - extract(epoch from '2026-07-31 13:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077785 -3.23642)', '2026-07-31 13:34:57', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:34:57'::timestamp) - extract(epoch from '2026-07-31 13:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:34:57'::timestamp) - extract(epoch from '2026-07-31 13:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07779 -3.236422)', '2026-07-31 13:35:03', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236422)'))) / (select extract(epoch from '2026-07-31 13:35:03'::timestamp) - extract(epoch from '2026-07-31 13:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236422)'))) / (select extract(epoch from '2026-07-31 13:35:03'::timestamp) - extract(epoch from '2026-07-31 13:34:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077781 -3.236423)', '2026-07-31 13:35:10', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:35:10'::timestamp) - extract(epoch from '2026-07-31 13:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:35:10'::timestamp) - extract(epoch from '2026-07-31 13:35: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236421)', '2026-07-31 13:35:17', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236421)'))) / (select extract(epoch from '2026-07-31 13:35:17'::timestamp) - extract(epoch from '2026-07-31 13:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236421)'))) / (select extract(epoch from '2026-07-31 13:35:17'::timestamp) - extract(epoch from '2026-07-31 13:35:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077772 -3.236427)', '2026-07-31 13:35:22', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:35:22'::timestamp) - extract(epoch from '2026-07-31 13:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:35:22'::timestamp) - extract(epoch from '2026-07-31 13:35: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'), 47459, 'SRID=4674;POINT (-39.077782 -3.236427)', '2026-07-31 13:35:25', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:35:25'::timestamp) - extract(epoch from '2026-07-31 13:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:35:25'::timestamp) - extract(epoch from '2026-07-31 13:35: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'), 47459, 'SRID=4674;POINT (-39.077792 -3.236423)', '2026-07-31 13:35:35', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:35:35'::timestamp) - extract(epoch from '2026-07-31 13:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:35:35'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.07781 -3.236436)', '2026-07-31 13:35:43', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:35:43'::timestamp) - extract(epoch from '2026-07-31 13:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:35:43'::timestamp) - extract(epoch from '2026-07-31 13:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077789 -3.236425)', '2026-07-31 13:35:48', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236425)'))) / (select extract(epoch from '2026-07-31 13:35:48'::timestamp) - extract(epoch from '2026-07-31 13:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236425)'))) / (select extract(epoch from '2026-07-31 13:35:48'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077796 -3.236434)', '2026-07-31 13:35:57', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:35:57'::timestamp) - extract(epoch from '2026-07-31 13:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:35:57'::timestamp) - extract(epoch from '2026-07-31 13:35: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236427)', '2026-07-31 13:36:04', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:36:04'::timestamp) - extract(epoch from '2026-07-31 13:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:36:04'::timestamp) - extract(epoch from '2026-07-31 13:35: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'), 47459, 'SRID=4674;POINT (-39.077784 -3.236426)', '2026-07-31 13:36:10', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:36:10'::timestamp) - extract(epoch from '2026-07-31 13:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236426)'))) / (select extract(epoch from '2026-07-31 13:36:10'::timestamp) - extract(epoch from '2026-07-31 13:36: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236428)', '2026-07-31 13:36:20', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:36:20'::timestamp) - extract(epoch from '2026-07-31 13:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:36:20'::timestamp) - extract(epoch from '2026-07-31 13:36: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.23643)', '2026-07-31 13:36:26', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23643)'))) / (select extract(epoch from '2026-07-31 13:36:26'::timestamp) - extract(epoch from '2026-07-31 13:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23643)'))) / (select extract(epoch from '2026-07-31 13:36:26'::timestamp) - extract(epoch from '2026-07-31 13:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077782 -3.236437)', '2026-07-31 13:36:34', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236437)'))) / (select extract(epoch from '2026-07-31 13:36:34'::timestamp) - extract(epoch from '2026-07-31 13:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236437)'))) / (select extract(epoch from '2026-07-31 13:36:34'::timestamp) - extract(epoch from '2026-07-31 13:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.23644)', '2026-07-31 13:36:42', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23644)'))) / (select extract(epoch from '2026-07-31 13:36:42'::timestamp) - extract(epoch from '2026-07-31 13:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23644)'))) / (select extract(epoch from '2026-07-31 13:36:42'::timestamp) - extract(epoch from '2026-07-31 13:36: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236438)', '2026-07-31 13:36:50', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236438)'))) / (select extract(epoch from '2026-07-31 13:36:50'::timestamp) - extract(epoch from '2026-07-31 13:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236438)'))) / (select extract(epoch from '2026-07-31 13:36:50'::timestamp) - extract(epoch from '2026-07-31 13:36: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236441)', '2026-07-31 13:36:58', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:36:58'::timestamp) - extract(epoch from '2026-07-31 13:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:36:58'::timestamp) - extract(epoch from '2026-07-31 13:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077784 -3.236434)', '2026-07-31 13:37:05', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:37:05'::timestamp) - extract(epoch from '2026-07-31 13:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:37:05'::timestamp) - extract(epoch from '2026-07-31 13:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077788 -3.236438)', '2026-07-31 13:37:15', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236438)'))) / (select extract(epoch from '2026-07-31 13:37:15'::timestamp) - extract(epoch from '2026-07-31 13:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236438)'))) / (select extract(epoch from '2026-07-31 13:37:15'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077793 -3.236438)', '2026-07-31 13:37:16', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236438)'))) / (select extract(epoch from '2026-07-31 13:37:16'::timestamp) - extract(epoch from '2026-07-31 13:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236438)'))) / (select extract(epoch from '2026-07-31 13:37:16'::timestamp) - extract(epoch from '2026-07-31 13:37: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'), 47459, 'SRID=4674;POINT (-39.077783 -3.236439)', '2026-07-31 13:37:19', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'))) / (select extract(epoch from '2026-07-31 13:37:19'::timestamp) - extract(epoch from '2026-07-31 13:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'))) / (select extract(epoch from '2026-07-31 13:37:19'::timestamp) - extract(epoch from '2026-07-31 13:37:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077786 -3.236432)', '2026-07-31 13:37:26', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236432)'))) / (select extract(epoch from '2026-07-31 13:37:26'::timestamp) - extract(epoch from '2026-07-31 13:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236432)'))) / (select extract(epoch from '2026-07-31 13:37:26'::timestamp) - extract(epoch from '2026-07-31 13:37: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'), 47459, 'SRID=4674;POINT (-39.077795 -3.236427)', '2026-07-31 13:37:29', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:37:29'::timestamp) - extract(epoch from '2026-07-31 13:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:37:29'::timestamp) - extract(epoch from '2026-07-31 13:37: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'), 47459, 'SRID=4674;POINT (-39.077798 -3.236421)', '2026-07-31 13:37:38', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236421)'))) / (select extract(epoch from '2026-07-31 13:37:38'::timestamp) - extract(epoch from '2026-07-31 13:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236421)'))) / (select extract(epoch from '2026-07-31 13:37:38'::timestamp) - extract(epoch from '2026-07-31 13:37: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'), 47459, 'SRID=4674;POINT (-39.077802 -3.236436)', '2026-07-31 13:37:47', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:37:47'::timestamp) - extract(epoch from '2026-07-31 13:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:37:47'::timestamp) - extract(epoch from '2026-07-31 13:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077785 -3.23643)', '2026-07-31 13:37:54', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.23643)'))) / (select extract(epoch from '2026-07-31 13:37:54'::timestamp) - extract(epoch from '2026-07-31 13:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.23643)'))) / (select extract(epoch from '2026-07-31 13:37:54'::timestamp) - extract(epoch from '2026-07-31 13:37:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077794 -3.236435)', '2026-07-31 13:38:01', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236435)'))) / (select extract(epoch from '2026-07-31 13:38:01'::timestamp) - extract(epoch from '2026-07-31 13:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236435)'))) / (select extract(epoch from '2026-07-31 13:38:01'::timestamp) - extract(epoch from '2026-07-31 13:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077789 -3.236435)', '2026-07-31 13:38:09', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236435)'))) / (select extract(epoch from '2026-07-31 13:38:09'::timestamp) - extract(epoch from '2026-07-31 13:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236435)'))) / (select extract(epoch from '2026-07-31 13:38:09'::timestamp) - extract(epoch from '2026-07-31 13:38: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'), 47459, 'SRID=4674;POINT (-39.077791 -3.236436)', '2026-07-31 13:38:15', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:38:15'::timestamp) - extract(epoch from '2026-07-31 13:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:38:15'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077795 -3.23644)', '2026-07-31 13:38:20', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.23644)'))) / (select extract(epoch from '2026-07-31 13:38:20'::timestamp) - extract(epoch from '2026-07-31 13:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.23644)'))) / (select extract(epoch from '2026-07-31 13:38:20'::timestamp) - extract(epoch from '2026-07-31 13:38: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'), 47459, 'SRID=4674;POINT (-39.077783 -3.236446)', '2026-07-31 13:38:27', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:38:27'::timestamp) - extract(epoch from '2026-07-31 13:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:38:27'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077788 -3.236442)', '2026-07-31 13:38:32', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236442)'))) / (select extract(epoch from '2026-07-31 13:38:32'::timestamp) - extract(epoch from '2026-07-31 13:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236442)'))) / (select extract(epoch from '2026-07-31 13:38:32'::timestamp) - extract(epoch from '2026-07-31 13:38: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'), 47459, 'SRID=4674;POINT (-39.077799 -3.236436)', '2026-07-31 13:38:38', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236442)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:38:38'::timestamp) - extract(epoch from '2026-07-31 13:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236442)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:38:38'::timestamp) - extract(epoch from '2026-07-31 13:38: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'), 47459, 'SRID=4674;POINT (-39.07779 -3.236434)', '2026-07-31 13:38:44', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:38:44'::timestamp) - extract(epoch from '2026-07-31 13:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:38:44'::timestamp) - extract(epoch from '2026-07-31 13:38: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'), 47459, 'SRID=4674;POINT (-39.077796 -3.236437)', '2026-07-31 13:38:51', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236437)'))) / (select extract(epoch from '2026-07-31 13:38:51'::timestamp) - extract(epoch from '2026-07-31 13:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236437)'))) / (select extract(epoch from '2026-07-31 13:38:51'::timestamp) - extract(epoch from '2026-07-31 13:38: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'), 47459, 'SRID=4674;POINT (-39.077801 -3.236439)', '2026-07-31 13:38:52', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236439)'))) / (select extract(epoch from '2026-07-31 13:38:52'::timestamp) - extract(epoch from '2026-07-31 13:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236439)'))) / (select extract(epoch from '2026-07-31 13:38:52'::timestamp) - extract(epoch from '2026-07-31 13:38: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'), 47459, 'SRID=4674;POINT (-39.077801 -3.236441)', '2026-07-31 13:38:54', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:38:54'::timestamp) - extract(epoch from '2026-07-31 13:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:38:54'::timestamp) - extract(epoch from '2026-07-31 13:38: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'), 47459, 'SRID=4674;POINT (-39.077791 -3.236441)', '2026-07-31 13:38:55', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:38:55'::timestamp) - extract(epoch from '2026-07-31 13:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:38:55'::timestamp) - extract(epoch from '2026-07-31 13:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077772 -3.236445)', '2026-07-31 13:39:01', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236445)'))) / (select extract(epoch from '2026-07-31 13:39:01'::timestamp) - extract(epoch from '2026-07-31 13:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236445)'))) / (select extract(epoch from '2026-07-31 13:39:01'::timestamp) - extract(epoch from '2026-07-31 13:38: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'), 47459, 'SRID=4674;POINT (-39.077792 -3.236428)', '2026-07-31 13:39:10', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:39:10'::timestamp) - extract(epoch from '2026-07-31 13:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:39:10'::timestamp) - extract(epoch from '2026-07-31 13:39: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236429)', '2026-07-31 13:39:16', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236429)'))) / (select extract(epoch from '2026-07-31 13:39:16'::timestamp) - extract(epoch from '2026-07-31 13:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236429)'))) / (select extract(epoch from '2026-07-31 13:39:16'::timestamp) - extract(epoch from '2026-07-31 13:39: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'), 47459, 'SRID=4674;POINT (-39.077786 -3.236436)', '2026-07-31 13:39:23', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:39:23'::timestamp) - extract(epoch from '2026-07-31 13:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:39:23'::timestamp) - extract(epoch from '2026-07-31 13:39: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'), 47459, 'SRID=4674;POINT (-39.077789 -3.236441)', '2026-07-31 13:39:26', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:39:26'::timestamp) - extract(epoch from '2026-07-31 13:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:39:26'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077783 -3.236439)', '2026-07-31 13:39:27', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'))) / (select extract(epoch from '2026-07-31 13:39:27'::timestamp) - extract(epoch from '2026-07-31 13:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'))) / (select extract(epoch from '2026-07-31 13:39:27'::timestamp) - extract(epoch from '2026-07-31 13:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077785 -3.236425)', '2026-07-31 13:39:34', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236425)'))) / (select extract(epoch from '2026-07-31 13:39:34'::timestamp) - extract(epoch from '2026-07-31 13:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236425)'))) / (select extract(epoch from '2026-07-31 13:39:34'::timestamp) - extract(epoch from '2026-07-31 13:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077785 -3.236416)', '2026-07-31 13:39:40', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:39:40'::timestamp) - extract(epoch from '2026-07-31 13:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236416)'))) / (select extract(epoch from '2026-07-31 13:39:40'::timestamp) - extract(epoch from '2026-07-31 13:39: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236423)', '2026-07-31 13:39:47', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:39:47'::timestamp) - extract(epoch from '2026-07-31 13:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236416)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:39:47'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236423)', '2026-07-31 13:39:53', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:39:53'::timestamp) - extract(epoch from '2026-07-31 13:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:39:53'::timestamp) - extract(epoch from '2026-07-31 13:39: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'), 47459, 'SRID=4674;POINT (-39.077766 -3.236424)', '2026-07-31 13:39:58', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:39:58'::timestamp) - extract(epoch from '2026-07-31 13:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:39:58'::timestamp) - extract(epoch from '2026-07-31 13:39: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.236427)', '2026-07-31 13:40:07', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:40:07'::timestamp) - extract(epoch from '2026-07-31 13:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:40:07'::timestamp) - extract(epoch from '2026-07-31 13:39: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'), 47459, 'SRID=4674;POINT (-39.077758 -3.236441)', '2026-07-31 13:40:14', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:40:14'::timestamp) - extract(epoch from '2026-07-31 13:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:40:14'::timestamp) - extract(epoch from '2026-07-31 13:40:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077744 -3.236443)', '2026-07-31 13:40:21', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236443)'))) / (select extract(epoch from '2026-07-31 13:40:21'::timestamp) - extract(epoch from '2026-07-31 13:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236443)'))) / (select extract(epoch from '2026-07-31 13:40:21'::timestamp) - extract(epoch from '2026-07-31 13:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077739 -3.236446)', '2026-07-31 13:40:29', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236443)'), GeomFromEWKT('SRID=4674;POINT (-39.077739 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:40:29'::timestamp) - extract(epoch from '2026-07-31 13:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236443)'), GeomFromEWKT('SRID=4674;POINT (-39.077739 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:40:29'::timestamp) - extract(epoch from '2026-07-31 13:40: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.236447)', '2026-07-31 13:40:37', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077739 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236447)'))) / (select extract(epoch from '2026-07-31 13:40:37'::timestamp) - extract(epoch from '2026-07-31 13:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077739 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236447)'))) / (select extract(epoch from '2026-07-31 13:40:37'::timestamp) - extract(epoch from '2026-07-31 13:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077757 -3.236427)', '2026-07-31 13:40:44', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:40:44'::timestamp) - extract(epoch from '2026-07-31 13:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:40:44'::timestamp) - extract(epoch from '2026-07-31 13:40: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236424)', '2026-07-31 13:40:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:40:50'::timestamp) - extract(epoch from '2026-07-31 13:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236424)'))) / (select extract(epoch from '2026-07-31 13:40:50'::timestamp) - extract(epoch from '2026-07-31 13:40: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236431)', '2026-07-31 13:40:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236431)'))) / (select extract(epoch from '2026-07-31 13:40:55'::timestamp) - extract(epoch from '2026-07-31 13:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236431)'))) / (select extract(epoch from '2026-07-31 13:40:55'::timestamp) - extract(epoch from '2026-07-31 13:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
