 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791165 -2.61635)', '2026-07-22 11:02:29', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79122 -2.616346)'), GeomFromEWKT('SRID=4674;POINT (-39.791165 -2.61635)'))) / (select extract(epoch from '2026-07-22 11:02:29'::timestamp) - extract(epoch from '2026-07-22 11:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79122 -2.616346)'), GeomFromEWKT('SRID=4674;POINT (-39.791165 -2.61635)'))) / (select extract(epoch from '2026-07-22 11:02:29'::timestamp) - extract(epoch from '2026-07-22 11:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791131 -2.616337)', '2026-07-22 11:02:38', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791165 -2.61635)'), GeomFromEWKT('SRID=4674;POINT (-39.791131 -2.616337)'))) / (select extract(epoch from '2026-07-22 11:02:38'::timestamp) - extract(epoch from '2026-07-22 11:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791165 -2.61635)'), GeomFromEWKT('SRID=4674;POINT (-39.791131 -2.616337)'))) / (select extract(epoch from '2026-07-22 11:02:38'::timestamp) - extract(epoch from '2026-07-22 11:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791122 -2.616329)', '2026-07-22 11:02:39', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791131 -2.616337)'), GeomFromEWKT('SRID=4674;POINT (-39.791122 -2.616329)'))) / (select extract(epoch from '2026-07-22 11:02:39'::timestamp) - extract(epoch from '2026-07-22 11:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791131 -2.616337)'), GeomFromEWKT('SRID=4674;POINT (-39.791122 -2.616329)'))) / (select extract(epoch from '2026-07-22 11:02:39'::timestamp) - extract(epoch from '2026-07-22 11:02:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791126 -2.616299)', '2026-07-22 11:02:46', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791122 -2.616329)'), GeomFromEWKT('SRID=4674;POINT (-39.791126 -2.616299)'))) / (select extract(epoch from '2026-07-22 11:02:46'::timestamp) - extract(epoch from '2026-07-22 11:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791122 -2.616329)'), GeomFromEWKT('SRID=4674;POINT (-39.791126 -2.616299)'))) / (select extract(epoch from '2026-07-22 11:02:46'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.791143 -2.616246)', '2026-07-22 11:02:55', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791126 -2.616299)'), GeomFromEWKT('SRID=4674;POINT (-39.791143 -2.616246)'))) / (select extract(epoch from '2026-07-22 11:02:55'::timestamp) - extract(epoch from '2026-07-22 11:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791126 -2.616299)'), GeomFromEWKT('SRID=4674;POINT (-39.791143 -2.616246)'))) / (select extract(epoch from '2026-07-22 11:02:55'::timestamp) - extract(epoch from '2026-07-22 11:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791178 -2.616205)', '2026-07-22 11:03:02', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791143 -2.616246)'), GeomFromEWKT('SRID=4674;POINT (-39.791178 -2.616205)'))) / (select extract(epoch from '2026-07-22 11:03:02'::timestamp) - extract(epoch from '2026-07-22 11:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791143 -2.616246)'), GeomFromEWKT('SRID=4674;POINT (-39.791178 -2.616205)'))) / (select extract(epoch from '2026-07-22 11:03:02'::timestamp) - extract(epoch from '2026-07-22 11:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791183 -2.616193)', '2026-07-22 11:03:04', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791178 -2.616205)'), GeomFromEWKT('SRID=4674;POINT (-39.791183 -2.616193)'))) / (select extract(epoch from '2026-07-22 11:03:04'::timestamp) - extract(epoch from '2026-07-22 11:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791178 -2.616205)'), GeomFromEWKT('SRID=4674;POINT (-39.791183 -2.616193)'))) / (select extract(epoch from '2026-07-22 11:03:04'::timestamp) - extract(epoch from '2026-07-22 11:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791195 -2.616177)', '2026-07-22 11:03:07', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791183 -2.616193)'), GeomFromEWKT('SRID=4674;POINT (-39.791195 -2.616177)'))) / (select extract(epoch from '2026-07-22 11:03:07'::timestamp) - extract(epoch from '2026-07-22 11:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791183 -2.616193)'), GeomFromEWKT('SRID=4674;POINT (-39.791195 -2.616177)'))) / (select extract(epoch from '2026-07-22 11:03:07'::timestamp) - extract(epoch from '2026-07-22 11:03:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79122 -2.616126)', '2026-07-22 11:03:17', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791195 -2.616177)'), GeomFromEWKT('SRID=4674;POINT (-39.79122 -2.616126)'))) / (select extract(epoch from '2026-07-22 11:03:17'::timestamp) - extract(epoch from '2026-07-22 11:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791195 -2.616177)'), GeomFromEWKT('SRID=4674;POINT (-39.79122 -2.616126)'))) / (select extract(epoch from '2026-07-22 11:03:17'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.791235 -2.616085)', '2026-07-22 11:03:24', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79122 -2.616126)'), GeomFromEWKT('SRID=4674;POINT (-39.791235 -2.616085)'))) / (select extract(epoch from '2026-07-22 11:03:24'::timestamp) - extract(epoch from '2026-07-22 11:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79122 -2.616126)'), GeomFromEWKT('SRID=4674;POINT (-39.791235 -2.616085)'))) / (select extract(epoch from '2026-07-22 11:03:24'::timestamp) - extract(epoch from '2026-07-22 11:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791247 -2.616058)', '2026-07-22 11:03:29', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791235 -2.616085)'), GeomFromEWKT('SRID=4674;POINT (-39.791247 -2.616058)'))) / (select extract(epoch from '2026-07-22 11:03:29'::timestamp) - extract(epoch from '2026-07-22 11:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791235 -2.616085)'), GeomFromEWKT('SRID=4674;POINT (-39.791247 -2.616058)'))) / (select extract(epoch from '2026-07-22 11:03:29'::timestamp) - extract(epoch from '2026-07-22 11:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791255 -2.616044)', '2026-07-22 11:03:37', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791247 -2.616058)'), GeomFromEWKT('SRID=4674;POINT (-39.791255 -2.616044)'))) / (select extract(epoch from '2026-07-22 11:03:37'::timestamp) - extract(epoch from '2026-07-22 11:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791247 -2.616058)'), GeomFromEWKT('SRID=4674;POINT (-39.791255 -2.616044)'))) / (select extract(epoch from '2026-07-22 11:03:37'::timestamp) - extract(epoch from '2026-07-22 11:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79126 -2.616037)', '2026-07-22 11:03:43', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791255 -2.616044)'), GeomFromEWKT('SRID=4674;POINT (-39.79126 -2.616037)'))) / (select extract(epoch from '2026-07-22 11:03:43'::timestamp) - extract(epoch from '2026-07-22 11:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791255 -2.616044)'), GeomFromEWKT('SRID=4674;POINT (-39.79126 -2.616037)'))) / (select extract(epoch from '2026-07-22 11:03:43'::timestamp) - extract(epoch from '2026-07-22 11:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791292 -2.616029)', '2026-07-22 11:03:53', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79126 -2.616037)'), GeomFromEWKT('SRID=4674;POINT (-39.791292 -2.616029)'))) / (select extract(epoch from '2026-07-22 11:03:53'::timestamp) - extract(epoch from '2026-07-22 11:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79126 -2.616037)'), GeomFromEWKT('SRID=4674;POINT (-39.791292 -2.616029)'))) / (select extract(epoch from '2026-07-22 11:03:53'::timestamp) - extract(epoch from '2026-07-22 11:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791314 -2.616016)', '2026-07-22 11:04:02', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791292 -2.616029)'), GeomFromEWKT('SRID=4674;POINT (-39.791314 -2.616016)'))) / (select extract(epoch from '2026-07-22 11:04:02'::timestamp) - extract(epoch from '2026-07-22 11:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791292 -2.616029)'), GeomFromEWKT('SRID=4674;POINT (-39.791314 -2.616016)'))) / (select extract(epoch from '2026-07-22 11:04:02'::timestamp) - extract(epoch from '2026-07-22 11:03:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791351 -2.615989)', '2026-07-22 11:04:12', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791314 -2.616016)'), GeomFromEWKT('SRID=4674;POINT (-39.791351 -2.615989)'))) / (select extract(epoch from '2026-07-22 11:04:12'::timestamp) - extract(epoch from '2026-07-22 11:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791314 -2.616016)'), GeomFromEWKT('SRID=4674;POINT (-39.791351 -2.615989)'))) / (select extract(epoch from '2026-07-22 11:04:12'::timestamp) - extract(epoch from '2026-07-22 11:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791371 -2.615972)', '2026-07-22 11:04:22', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791351 -2.615989)'), GeomFromEWKT('SRID=4674;POINT (-39.791371 -2.615972)'))) / (select extract(epoch from '2026-07-22 11:04:22'::timestamp) - extract(epoch from '2026-07-22 11:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791351 -2.615989)'), GeomFromEWKT('SRID=4674;POINT (-39.791371 -2.615972)'))) / (select extract(epoch from '2026-07-22 11:04:22'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.791395 -2.615929)', '2026-07-22 11:04:37', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791371 -2.615972)'), GeomFromEWKT('SRID=4674;POINT (-39.791395 -2.615929)'))) / (select extract(epoch from '2026-07-22 11:04:37'::timestamp) - extract(epoch from '2026-07-22 11:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791371 -2.615972)'), GeomFromEWKT('SRID=4674;POINT (-39.791395 -2.615929)'))) / (select extract(epoch from '2026-07-22 11:04:37'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.791394 -2.615929)', '2026-07-22 11:04:48', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791395 -2.615929)'), GeomFromEWKT('SRID=4674;POINT (-39.791394 -2.615929)'))) / (select extract(epoch from '2026-07-22 11:04:48'::timestamp) - extract(epoch from '2026-07-22 11:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791395 -2.615929)'), GeomFromEWKT('SRID=4674;POINT (-39.791394 -2.615929)'))) / (select extract(epoch from '2026-07-22 11:04:48'::timestamp) - extract(epoch from '2026-07-22 11:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791397 -2.615938)', '2026-07-22 11:04:50', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791394 -2.615929)'), GeomFromEWKT('SRID=4674;POINT (-39.791397 -2.615938)'))) / (select extract(epoch from '2026-07-22 11:04:50'::timestamp) - extract(epoch from '2026-07-22 11:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791394 -2.615929)'), GeomFromEWKT('SRID=4674;POINT (-39.791397 -2.615938)'))) / (select extract(epoch from '2026-07-22 11:04:50'::timestamp) - extract(epoch from '2026-07-22 11:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791401 -2.615948)', '2026-07-22 11:04:56', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791397 -2.615938)'), GeomFromEWKT('SRID=4674;POINT (-39.791401 -2.615948)'))) / (select extract(epoch from '2026-07-22 11:04:56'::timestamp) - extract(epoch from '2026-07-22 11:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791397 -2.615938)'), GeomFromEWKT('SRID=4674;POINT (-39.791401 -2.615948)'))) / (select extract(epoch from '2026-07-22 11:04:56'::timestamp) - extract(epoch from '2026-07-22 11:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791438 -2.615933)', '2026-07-22 11:05:08', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791401 -2.615948)'), GeomFromEWKT('SRID=4674;POINT (-39.791438 -2.615933)'))) / (select extract(epoch from '2026-07-22 11:05:08'::timestamp) - extract(epoch from '2026-07-22 11:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791401 -2.615948)'), GeomFromEWKT('SRID=4674;POINT (-39.791438 -2.615933)'))) / (select extract(epoch from '2026-07-22 11:05:08'::timestamp) - extract(epoch from '2026-07-22 11:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791478 -2.615908)', '2026-07-22 11:05:15', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791438 -2.615933)'), GeomFromEWKT('SRID=4674;POINT (-39.791478 -2.615908)'))) / (select extract(epoch from '2026-07-22 11:05:15'::timestamp) - extract(epoch from '2026-07-22 11:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791438 -2.615933)'), GeomFromEWKT('SRID=4674;POINT (-39.791478 -2.615908)'))) / (select extract(epoch from '2026-07-22 11:05:15'::timestamp) - extract(epoch from '2026-07-22 11:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791529 -2.615833)', '2026-07-22 11:05:27', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791478 -2.615908)'), GeomFromEWKT('SRID=4674;POINT (-39.791529 -2.615833)'))) / (select extract(epoch from '2026-07-22 11:05:27'::timestamp) - extract(epoch from '2026-07-22 11:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791478 -2.615908)'), GeomFromEWKT('SRID=4674;POINT (-39.791529 -2.615833)'))) / (select extract(epoch from '2026-07-22 11:05:27'::timestamp) - extract(epoch from '2026-07-22 11:05:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7915 -2.615812)', '2026-07-22 11:05:33', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791529 -2.615833)'), GeomFromEWKT('SRID=4674;POINT (-39.7915 -2.615812)'))) / (select extract(epoch from '2026-07-22 11:05:33'::timestamp) - extract(epoch from '2026-07-22 11:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791529 -2.615833)'), GeomFromEWKT('SRID=4674;POINT (-39.7915 -2.615812)'))) / (select extract(epoch from '2026-07-22 11:05:33'::timestamp) - extract(epoch from '2026-07-22 11:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79146 -2.615813)', '2026-07-22 11:05:38', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7915 -2.615812)'), GeomFromEWKT('SRID=4674;POINT (-39.79146 -2.615813)'))) / (select extract(epoch from '2026-07-22 11:05:38'::timestamp) - extract(epoch from '2026-07-22 11:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7915 -2.615812)'), GeomFromEWKT('SRID=4674;POINT (-39.79146 -2.615813)'))) / (select extract(epoch from '2026-07-22 11:05:38'::timestamp) - extract(epoch from '2026-07-22 11:05:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791445 -2.615813)', '2026-07-22 11:05:40', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79146 -2.615813)'), GeomFromEWKT('SRID=4674;POINT (-39.791445 -2.615813)'))) / (select extract(epoch from '2026-07-22 11:05:40'::timestamp) - extract(epoch from '2026-07-22 11:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79146 -2.615813)'), GeomFromEWKT('SRID=4674;POINT (-39.791445 -2.615813)'))) / (select extract(epoch from '2026-07-22 11:05:40'::timestamp) - extract(epoch from '2026-07-22 11:05:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791352 -2.615815)', '2026-07-22 11:05:48', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791445 -2.615813)'), GeomFromEWKT('SRID=4674;POINT (-39.791352 -2.615815)'))) / (select extract(epoch from '2026-07-22 11:05:48'::timestamp) - extract(epoch from '2026-07-22 11:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791445 -2.615813)'), GeomFromEWKT('SRID=4674;POINT (-39.791352 -2.615815)'))) / (select extract(epoch from '2026-07-22 11:05:48'::timestamp) - extract(epoch from '2026-07-22 11:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79123 -2.615855)', '2026-07-22 11:05:58', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791352 -2.615815)'), GeomFromEWKT('SRID=4674;POINT (-39.79123 -2.615855)'))) / (select extract(epoch from '2026-07-22 11:05:58'::timestamp) - extract(epoch from '2026-07-22 11:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791352 -2.615815)'), GeomFromEWKT('SRID=4674;POINT (-39.79123 -2.615855)'))) / (select extract(epoch from '2026-07-22 11:05:58'::timestamp) - extract(epoch from '2026-07-22 11:05:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791129 -2.61593)', '2026-07-22 11:06:06', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79123 -2.615855)'), GeomFromEWKT('SRID=4674;POINT (-39.791129 -2.61593)'))) / (select extract(epoch from '2026-07-22 11:06:06'::timestamp) - extract(epoch from '2026-07-22 11:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79123 -2.615855)'), GeomFromEWKT('SRID=4674;POINT (-39.791129 -2.61593)'))) / (select extract(epoch from '2026-07-22 11:06:06'::timestamp) - extract(epoch from '2026-07-22 11:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791084 -2.615948)', '2026-07-22 11:06:10', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791129 -2.61593)'), GeomFromEWKT('SRID=4674;POINT (-39.791084 -2.615948)'))) / (select extract(epoch from '2026-07-22 11:06:10'::timestamp) - extract(epoch from '2026-07-22 11:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791129 -2.61593)'), GeomFromEWKT('SRID=4674;POINT (-39.791084 -2.615948)'))) / (select extract(epoch from '2026-07-22 11:06:10'::timestamp) - extract(epoch from '2026-07-22 11:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791057 -2.61595)', '2026-07-22 11:06:12', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791084 -2.615948)'), GeomFromEWKT('SRID=4674;POINT (-39.791057 -2.61595)'))) / (select extract(epoch from '2026-07-22 11:06:12'::timestamp) - extract(epoch from '2026-07-22 11:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791084 -2.615948)'), GeomFromEWKT('SRID=4674;POINT (-39.791057 -2.61595)'))) / (select extract(epoch from '2026-07-22 11:06:12'::timestamp) - extract(epoch from '2026-07-22 11:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790983 -2.615953)', '2026-07-22 11:06:18', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791057 -2.61595)'), GeomFromEWKT('SRID=4674;POINT (-39.790983 -2.615953)'))) / (select extract(epoch from '2026-07-22 11:06:18'::timestamp) - extract(epoch from '2026-07-22 11:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791057 -2.61595)'), GeomFromEWKT('SRID=4674;POINT (-39.790983 -2.615953)'))) / (select extract(epoch from '2026-07-22 11:06:18'::timestamp) - extract(epoch from '2026-07-22 11:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790895 -2.61593)', '2026-07-22 11:06:24', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790983 -2.615953)'), GeomFromEWKT('SRID=4674;POINT (-39.790895 -2.61593)'))) / (select extract(epoch from '2026-07-22 11:06:24'::timestamp) - extract(epoch from '2026-07-22 11:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790983 -2.615953)'), GeomFromEWKT('SRID=4674;POINT (-39.790895 -2.61593)'))) / (select extract(epoch from '2026-07-22 11:06:24'::timestamp) - extract(epoch from '2026-07-22 11:06:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790885 -2.615923)', '2026-07-22 11:06:25', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790895 -2.61593)'), GeomFromEWKT('SRID=4674;POINT (-39.790885 -2.615923)'))) / (select extract(epoch from '2026-07-22 11:06:25'::timestamp) - extract(epoch from '2026-07-22 11:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790895 -2.61593)'), GeomFromEWKT('SRID=4674;POINT (-39.790885 -2.615923)'))) / (select extract(epoch from '2026-07-22 11:06:25'::timestamp) - extract(epoch from '2026-07-22 11:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790828 -2.615895)', '2026-07-22 11:06:30', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790885 -2.615923)'), GeomFromEWKT('SRID=4674;POINT (-39.790828 -2.615895)'))) / (select extract(epoch from '2026-07-22 11:06:30'::timestamp) - extract(epoch from '2026-07-22 11:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790885 -2.615923)'), GeomFromEWKT('SRID=4674;POINT (-39.790828 -2.615895)'))) / (select extract(epoch from '2026-07-22 11:06:30'::timestamp) - extract(epoch from '2026-07-22 11:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790734 -2.615871)', '2026-07-22 11:06:37', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790828 -2.615895)'), GeomFromEWKT('SRID=4674;POINT (-39.790734 -2.615871)'))) / (select extract(epoch from '2026-07-22 11:06:37'::timestamp) - extract(epoch from '2026-07-22 11:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790828 -2.615895)'), GeomFromEWKT('SRID=4674;POINT (-39.790734 -2.615871)'))) / (select extract(epoch from '2026-07-22 11:06:37'::timestamp) - extract(epoch from '2026-07-22 11:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790626 -2.61583)', '2026-07-22 11:06:44', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790734 -2.615871)'), GeomFromEWKT('SRID=4674;POINT (-39.790626 -2.61583)'))) / (select extract(epoch from '2026-07-22 11:06:44'::timestamp) - extract(epoch from '2026-07-22 11:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790734 -2.615871)'), GeomFromEWKT('SRID=4674;POINT (-39.790626 -2.61583)'))) / (select extract(epoch from '2026-07-22 11:06:44'::timestamp) - extract(epoch from '2026-07-22 11:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790535 -2.615799)', '2026-07-22 11:06:50', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790626 -2.61583)'), GeomFromEWKT('SRID=4674;POINT (-39.790535 -2.615799)'))) / (select extract(epoch from '2026-07-22 11:06:50'::timestamp) - extract(epoch from '2026-07-22 11:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790626 -2.61583)'), GeomFromEWKT('SRID=4674;POINT (-39.790535 -2.615799)'))) / (select extract(epoch from '2026-07-22 11:06:50'::timestamp) - extract(epoch from '2026-07-22 11:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790521 -2.615793)', '2026-07-22 11:06:51', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790535 -2.615799)'), GeomFromEWKT('SRID=4674;POINT (-39.790521 -2.615793)'))) / (select extract(epoch from '2026-07-22 11:06:51'::timestamp) - extract(epoch from '2026-07-22 11:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790535 -2.615799)'), GeomFromEWKT('SRID=4674;POINT (-39.790521 -2.615793)'))) / (select extract(epoch from '2026-07-22 11:06:51'::timestamp) - extract(epoch from '2026-07-22 11:06:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790438 -2.615773)', '2026-07-22 11:06:57', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790521 -2.615793)'), GeomFromEWKT('SRID=4674;POINT (-39.790438 -2.615773)'))) / (select extract(epoch from '2026-07-22 11:06:57'::timestamp) - extract(epoch from '2026-07-22 11:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790521 -2.615793)'), GeomFromEWKT('SRID=4674;POINT (-39.790438 -2.615773)'))) / (select extract(epoch from '2026-07-22 11:06:57'::timestamp) - extract(epoch from '2026-07-22 11:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790376 -2.615757)', '2026-07-22 11:07:02', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790438 -2.615773)'), GeomFromEWKT('SRID=4674;POINT (-39.790376 -2.615757)'))) / (select extract(epoch from '2026-07-22 11:07:02'::timestamp) - extract(epoch from '2026-07-22 11:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790438 -2.615773)'), GeomFromEWKT('SRID=4674;POINT (-39.790376 -2.615757)'))) / (select extract(epoch from '2026-07-22 11:07:02'::timestamp) - extract(epoch from '2026-07-22 11:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790283 -2.615689)', '2026-07-22 11:07:08', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790376 -2.615757)'), GeomFromEWKT('SRID=4674;POINT (-39.790283 -2.615689)'))) / (select extract(epoch from '2026-07-22 11:07:08'::timestamp) - extract(epoch from '2026-07-22 11:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790376 -2.615757)'), GeomFromEWKT('SRID=4674;POINT (-39.790283 -2.615689)'))) / (select extract(epoch from '2026-07-22 11:07:08'::timestamp) - extract(epoch from '2026-07-22 11:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790192 -2.615612)', '2026-07-22 11:07:14', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790283 -2.615689)'), GeomFromEWKT('SRID=4674;POINT (-39.790192 -2.615612)'))) / (select extract(epoch from '2026-07-22 11:07:14'::timestamp) - extract(epoch from '2026-07-22 11:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790283 -2.615689)'), GeomFromEWKT('SRID=4674;POINT (-39.790192 -2.615612)'))) / (select extract(epoch from '2026-07-22 11:07:14'::timestamp) - extract(epoch from '2026-07-22 11:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790134 -2.615555)', '2026-07-22 11:07:19', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790192 -2.615612)'), GeomFromEWKT('SRID=4674;POINT (-39.790134 -2.615555)'))) / (select extract(epoch from '2026-07-22 11:07:19'::timestamp) - extract(epoch from '2026-07-22 11:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790192 -2.615612)'), GeomFromEWKT('SRID=4674;POINT (-39.790134 -2.615555)'))) / (select extract(epoch from '2026-07-22 11:07:19'::timestamp) - extract(epoch from '2026-07-22 11:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790087 -2.615501)', '2026-07-22 11:07:24', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790134 -2.615555)'), GeomFromEWKT('SRID=4674;POINT (-39.790087 -2.615501)'))) / (select extract(epoch from '2026-07-22 11:07:24'::timestamp) - extract(epoch from '2026-07-22 11:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790134 -2.615555)'), GeomFromEWKT('SRID=4674;POINT (-39.790087 -2.615501)'))) / (select extract(epoch from '2026-07-22 11:07:24'::timestamp) - extract(epoch from '2026-07-22 11:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790075 -2.615486)', '2026-07-22 11:07:26', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790087 -2.615501)'), GeomFromEWKT('SRID=4674;POINT (-39.790075 -2.615486)'))) / (select extract(epoch from '2026-07-22 11:07:26'::timestamp) - extract(epoch from '2026-07-22 11:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790087 -2.615501)'), GeomFromEWKT('SRID=4674;POINT (-39.790075 -2.615486)'))) / (select extract(epoch from '2026-07-22 11:07:26'::timestamp) - extract(epoch from '2026-07-22 11:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790061 -2.615455)', '2026-07-22 11:07:30', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790075 -2.615486)'), GeomFromEWKT('SRID=4674;POINT (-39.790061 -2.615455)'))) / (select extract(epoch from '2026-07-22 11:07:30'::timestamp) - extract(epoch from '2026-07-22 11:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790075 -2.615486)'), GeomFromEWKT('SRID=4674;POINT (-39.790061 -2.615455)'))) / (select extract(epoch from '2026-07-22 11:07:30'::timestamp) - extract(epoch from '2026-07-22 11:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790058 -2.615439)', '2026-07-22 11:07:32', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790061 -2.615455)'), GeomFromEWKT('SRID=4674;POINT (-39.790058 -2.615439)'))) / (select extract(epoch from '2026-07-22 11:07:32'::timestamp) - extract(epoch from '2026-07-22 11:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790061 -2.615455)'), GeomFromEWKT('SRID=4674;POINT (-39.790058 -2.615439)'))) / (select extract(epoch from '2026-07-22 11:07:32'::timestamp) - extract(epoch from '2026-07-22 11:07:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790059 -2.615419)', '2026-07-22 11:07:34', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790058 -2.615439)'), GeomFromEWKT('SRID=4674;POINT (-39.790059 -2.615419)'))) / (select extract(epoch from '2026-07-22 11:07:34'::timestamp) - extract(epoch from '2026-07-22 11:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790058 -2.615439)'), GeomFromEWKT('SRID=4674;POINT (-39.790059 -2.615419)'))) / (select extract(epoch from '2026-07-22 11:07:34'::timestamp) - extract(epoch from '2026-07-22 11:07:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79006 -2.615411)', '2026-07-22 11:07:35', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790059 -2.615419)'), GeomFromEWKT('SRID=4674;POINT (-39.79006 -2.615411)'))) / (select extract(epoch from '2026-07-22 11:07:35'::timestamp) - extract(epoch from '2026-07-22 11:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790059 -2.615419)'), GeomFromEWKT('SRID=4674;POINT (-39.79006 -2.615411)'))) / (select extract(epoch from '2026-07-22 11:07:35'::timestamp) - extract(epoch from '2026-07-22 11:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790077 -2.615372)', '2026-07-22 11:07:43', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79006 -2.615411)'), GeomFromEWKT('SRID=4674;POINT (-39.790077 -2.615372)'))) / (select extract(epoch from '2026-07-22 11:07:43'::timestamp) - extract(epoch from '2026-07-22 11:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79006 -2.615411)'), GeomFromEWKT('SRID=4674;POINT (-39.790077 -2.615372)'))) / (select extract(epoch from '2026-07-22 11:07:43'::timestamp) - extract(epoch from '2026-07-22 11:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790097 -2.615368)', '2026-07-22 11:07:50', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790077 -2.615372)'), GeomFromEWKT('SRID=4674;POINT (-39.790097 -2.615368)'))) / (select extract(epoch from '2026-07-22 11:07:50'::timestamp) - extract(epoch from '2026-07-22 11:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790077 -2.615372)'), GeomFromEWKT('SRID=4674;POINT (-39.790097 -2.615368)'))) / (select extract(epoch from '2026-07-22 11:07:50'::timestamp) - extract(epoch from '2026-07-22 11:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790134 -2.615349)', '2026-07-22 11:07:57', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790097 -2.615368)'), GeomFromEWKT('SRID=4674;POINT (-39.790134 -2.615349)'))) / (select extract(epoch from '2026-07-22 11:07:57'::timestamp) - extract(epoch from '2026-07-22 11:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790097 -2.615368)'), GeomFromEWKT('SRID=4674;POINT (-39.790134 -2.615349)'))) / (select extract(epoch from '2026-07-22 11:07:57'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.790142 -2.615345)', '2026-07-22 11:07:58', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790134 -2.615349)'), GeomFromEWKT('SRID=4674;POINT (-39.790142 -2.615345)'))) / (select extract(epoch from '2026-07-22 11:07:58'::timestamp) - extract(epoch from '2026-07-22 11:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790134 -2.615349)'), GeomFromEWKT('SRID=4674;POINT (-39.790142 -2.615345)'))) / (select extract(epoch from '2026-07-22 11:07:58'::timestamp) - extract(epoch from '2026-07-22 11:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790161 -2.615336)', '2026-07-22 11:08:00', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790142 -2.615345)'), GeomFromEWKT('SRID=4674;POINT (-39.790161 -2.615336)'))) / (select extract(epoch from '2026-07-22 11:08:00'::timestamp) - extract(epoch from '2026-07-22 11:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790142 -2.615345)'), GeomFromEWKT('SRID=4674;POINT (-39.790161 -2.615336)'))) / (select extract(epoch from '2026-07-22 11:08:00'::timestamp) - extract(epoch from '2026-07-22 11:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790161 -2.61533)', '2026-07-22 11:08:01', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790161 -2.615336)'), GeomFromEWKT('SRID=4674;POINT (-39.790161 -2.61533)'))) / (select extract(epoch from '2026-07-22 11:08:01'::timestamp) - extract(epoch from '2026-07-22 11:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790161 -2.615336)'), GeomFromEWKT('SRID=4674;POINT (-39.790161 -2.61533)'))) / (select extract(epoch from '2026-07-22 11:08:01'::timestamp) - extract(epoch from '2026-07-22 11:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790189 -2.615308)', '2026-07-22 11:08:08', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790161 -2.61533)'), GeomFromEWKT('SRID=4674;POINT (-39.790189 -2.615308)'))) / (select extract(epoch from '2026-07-22 11:08:08'::timestamp) - extract(epoch from '2026-07-22 11:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790161 -2.61533)'), GeomFromEWKT('SRID=4674;POINT (-39.790189 -2.615308)'))) / (select extract(epoch from '2026-07-22 11:08:08'::timestamp) - extract(epoch from '2026-07-22 11:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790202 -2.6153)', '2026-07-22 11:08:10', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790189 -2.615308)'), GeomFromEWKT('SRID=4674;POINT (-39.790202 -2.6153)'))) / (select extract(epoch from '2026-07-22 11:08:10'::timestamp) - extract(epoch from '2026-07-22 11:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790189 -2.615308)'), GeomFromEWKT('SRID=4674;POINT (-39.790202 -2.6153)'))) / (select extract(epoch from '2026-07-22 11:08:10'::timestamp) - extract(epoch from '2026-07-22 11:08:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790222 -2.61529)', '2026-07-22 11:08:13', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790202 -2.6153)'), GeomFromEWKT('SRID=4674;POINT (-39.790222 -2.61529)'))) / (select extract(epoch from '2026-07-22 11:08:13'::timestamp) - extract(epoch from '2026-07-22 11:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790202 -2.6153)'), GeomFromEWKT('SRID=4674;POINT (-39.790222 -2.61529)'))) / (select extract(epoch from '2026-07-22 11:08:13'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.790247 -2.615257)', '2026-07-22 11:08:20', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790222 -2.61529)'), GeomFromEWKT('SRID=4674;POINT (-39.790247 -2.615257)'))) / (select extract(epoch from '2026-07-22 11:08:20'::timestamp) - extract(epoch from '2026-07-22 11:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790222 -2.61529)'), GeomFromEWKT('SRID=4674;POINT (-39.790247 -2.615257)'))) / (select extract(epoch from '2026-07-22 11:08:20'::timestamp) - extract(epoch from '2026-07-22 11:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790256 -2.615232)', '2026-07-22 11:08:26', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790247 -2.615257)'), GeomFromEWKT('SRID=4674;POINT (-39.790256 -2.615232)'))) / (select extract(epoch from '2026-07-22 11:08:26'::timestamp) - extract(epoch from '2026-07-22 11:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790247 -2.615257)'), GeomFromEWKT('SRID=4674;POINT (-39.790256 -2.615232)'))) / (select extract(epoch from '2026-07-22 11:08:26'::timestamp) - extract(epoch from '2026-07-22 11:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790257 -2.615203)', '2026-07-22 11:08:33', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790256 -2.615232)'), GeomFromEWKT('SRID=4674;POINT (-39.790257 -2.615203)'))) / (select extract(epoch from '2026-07-22 11:08:33'::timestamp) - extract(epoch from '2026-07-22 11:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790256 -2.615232)'), GeomFromEWKT('SRID=4674;POINT (-39.790257 -2.615203)'))) / (select extract(epoch from '2026-07-22 11:08:33'::timestamp) - extract(epoch from '2026-07-22 11:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790269 -2.615147)', '2026-07-22 11:08:45', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790257 -2.615203)'), GeomFromEWKT('SRID=4674;POINT (-39.790269 -2.615147)'))) / (select extract(epoch from '2026-07-22 11:08:45'::timestamp) - extract(epoch from '2026-07-22 11:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790257 -2.615203)'), GeomFromEWKT('SRID=4674;POINT (-39.790269 -2.615147)'))) / (select extract(epoch from '2026-07-22 11:08:45'::timestamp) - extract(epoch from '2026-07-22 11:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79028 -2.615142)', '2026-07-22 11:08:55', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790269 -2.615147)'), GeomFromEWKT('SRID=4674;POINT (-39.79028 -2.615142)'))) / (select extract(epoch from '2026-07-22 11:08:55'::timestamp) - extract(epoch from '2026-07-22 11:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790269 -2.615147)'), GeomFromEWKT('SRID=4674;POINT (-39.79028 -2.615142)'))) / (select extract(epoch from '2026-07-22 11:08:55'::timestamp) - extract(epoch from '2026-07-22 11:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790315 -2.61511)', '2026-07-22 11:09:08', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79028 -2.615142)'), GeomFromEWKT('SRID=4674;POINT (-39.790315 -2.61511)'))) / (select extract(epoch from '2026-07-22 11:09:08'::timestamp) - extract(epoch from '2026-07-22 11:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79028 -2.615142)'), GeomFromEWKT('SRID=4674;POINT (-39.790315 -2.61511)'))) / (select extract(epoch from '2026-07-22 11:09:08'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.790326 -2.615111)', '2026-07-22 11:09:17', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790315 -2.61511)'), GeomFromEWKT('SRID=4674;POINT (-39.790326 -2.615111)'))) / (select extract(epoch from '2026-07-22 11:09:17'::timestamp) - extract(epoch from '2026-07-22 11:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790315 -2.61511)'), GeomFromEWKT('SRID=4674;POINT (-39.790326 -2.615111)'))) / (select extract(epoch from '2026-07-22 11:09:17'::timestamp) - extract(epoch from '2026-07-22 11:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790354 -2.615063)', '2026-07-22 11:09:43', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790326 -2.615111)'), GeomFromEWKT('SRID=4674;POINT (-39.790354 -2.615063)'))) / (select extract(epoch from '2026-07-22 11:09:43'::timestamp) - extract(epoch from '2026-07-22 11:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790326 -2.615111)'), GeomFromEWKT('SRID=4674;POINT (-39.790354 -2.615063)'))) / (select extract(epoch from '2026-07-22 11:09:43'::timestamp) - extract(epoch from '2026-07-22 11:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790373 -2.615044)', '2026-07-22 11:09:47', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790354 -2.615063)'), GeomFromEWKT('SRID=4674;POINT (-39.790373 -2.615044)'))) / (select extract(epoch from '2026-07-22 11:09:47'::timestamp) - extract(epoch from '2026-07-22 11:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790354 -2.615063)'), GeomFromEWKT('SRID=4674;POINT (-39.790373 -2.615044)'))) / (select extract(epoch from '2026-07-22 11:09:47'::timestamp) - extract(epoch from '2026-07-22 11:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790396 -2.615038)', '2026-07-22 11:09:51', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790373 -2.615044)'), GeomFromEWKT('SRID=4674;POINT (-39.790396 -2.615038)'))) / (select extract(epoch from '2026-07-22 11:09:51'::timestamp) - extract(epoch from '2026-07-22 11:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790373 -2.615044)'), GeomFromEWKT('SRID=4674;POINT (-39.790396 -2.615038)'))) / (select extract(epoch from '2026-07-22 11:09:51'::timestamp) - extract(epoch from '2026-07-22 11:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790399 -2.615047)', '2026-07-22 11:09:59', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790396 -2.615038)'), GeomFromEWKT('SRID=4674;POINT (-39.790399 -2.615047)'))) / (select extract(epoch from '2026-07-22 11:09:59'::timestamp) - extract(epoch from '2026-07-22 11:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790396 -2.615038)'), GeomFromEWKT('SRID=4674;POINT (-39.790399 -2.615047)'))) / (select extract(epoch from '2026-07-22 11:09:59'::timestamp) - extract(epoch from '2026-07-22 11:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79043 -2.615036)', '2026-07-22 11:10:12', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790399 -2.615047)'), GeomFromEWKT('SRID=4674;POINT (-39.79043 -2.615036)'))) / (select extract(epoch from '2026-07-22 11:10:12'::timestamp) - extract(epoch from '2026-07-22 11:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790399 -2.615047)'), GeomFromEWKT('SRID=4674;POINT (-39.79043 -2.615036)'))) / (select extract(epoch from '2026-07-22 11:10:12'::timestamp) - extract(epoch from '2026-07-22 11:09:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790457 -2.615013)', '2026-07-22 11:10:19', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79043 -2.615036)'), GeomFromEWKT('SRID=4674;POINT (-39.790457 -2.615013)'))) / (select extract(epoch from '2026-07-22 11:10:19'::timestamp) - extract(epoch from '2026-07-22 11:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79043 -2.615036)'), GeomFromEWKT('SRID=4674;POINT (-39.790457 -2.615013)'))) / (select extract(epoch from '2026-07-22 11:10:19'::timestamp) - extract(epoch from '2026-07-22 11:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790475 -2.614975)', '2026-07-22 11:10:28', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790457 -2.615013)'), GeomFromEWKT('SRID=4674;POINT (-39.790475 -2.614975)'))) / (select extract(epoch from '2026-07-22 11:10:28'::timestamp) - extract(epoch from '2026-07-22 11:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790457 -2.615013)'), GeomFromEWKT('SRID=4674;POINT (-39.790475 -2.614975)'))) / (select extract(epoch from '2026-07-22 11:10:28'::timestamp) - extract(epoch from '2026-07-22 11:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790477 -2.614939)', '2026-07-22 11:10:36', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790475 -2.614975)'), GeomFromEWKT('SRID=4674;POINT (-39.790477 -2.614939)'))) / (select extract(epoch from '2026-07-22 11:10:36'::timestamp) - extract(epoch from '2026-07-22 11:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790475 -2.614975)'), GeomFromEWKT('SRID=4674;POINT (-39.790477 -2.614939)'))) / (select extract(epoch from '2026-07-22 11:10:36'::timestamp) - extract(epoch from '2026-07-22 11:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790493 -2.61493)', '2026-07-22 11:10:43', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790477 -2.614939)'), GeomFromEWKT('SRID=4674;POINT (-39.790493 -2.61493)'))) / (select extract(epoch from '2026-07-22 11:10:43'::timestamp) - extract(epoch from '2026-07-22 11:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790477 -2.614939)'), GeomFromEWKT('SRID=4674;POINT (-39.790493 -2.61493)'))) / (select extract(epoch from '2026-07-22 11:10:43'::timestamp) - extract(epoch from '2026-07-22 11:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790514 -2.614919)', '2026-07-22 11:10:49', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790493 -2.61493)'), GeomFromEWKT('SRID=4674;POINT (-39.790514 -2.614919)'))) / (select extract(epoch from '2026-07-22 11:10:49'::timestamp) - extract(epoch from '2026-07-22 11:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790493 -2.61493)'), GeomFromEWKT('SRID=4674;POINT (-39.790514 -2.614919)'))) / (select extract(epoch from '2026-07-22 11:10:49'::timestamp) - extract(epoch from '2026-07-22 11:10:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790531 -2.614911)', '2026-07-22 11:10:57', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790514 -2.614919)'), GeomFromEWKT('SRID=4674;POINT (-39.790531 -2.614911)'))) / (select extract(epoch from '2026-07-22 11:10:57'::timestamp) - extract(epoch from '2026-07-22 11:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790514 -2.614919)'), GeomFromEWKT('SRID=4674;POINT (-39.790531 -2.614911)'))) / (select extract(epoch from '2026-07-22 11:10:57'::timestamp) - extract(epoch from '2026-07-22 11:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790547 -2.614908)', '2026-07-22 11:11:07', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790531 -2.614911)'), GeomFromEWKT('SRID=4674;POINT (-39.790547 -2.614908)'))) / (select extract(epoch from '2026-07-22 11:11:07'::timestamp) - extract(epoch from '2026-07-22 11:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790531 -2.614911)'), GeomFromEWKT('SRID=4674;POINT (-39.790547 -2.614908)'))) / (select extract(epoch from '2026-07-22 11:11:07'::timestamp) - extract(epoch from '2026-07-22 11:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790526 -2.614906)', '2026-07-22 11:11:19', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790547 -2.614908)'), GeomFromEWKT('SRID=4674;POINT (-39.790526 -2.614906)'))) / (select extract(epoch from '2026-07-22 11:11:19'::timestamp) - extract(epoch from '2026-07-22 11:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790547 -2.614908)'), GeomFromEWKT('SRID=4674;POINT (-39.790526 -2.614906)'))) / (select extract(epoch from '2026-07-22 11:11:19'::timestamp) - extract(epoch from '2026-07-22 11:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790518 -2.614898)', '2026-07-22 11:11:24', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790526 -2.614906)'), GeomFromEWKT('SRID=4674;POINT (-39.790518 -2.614898)'))) / (select extract(epoch from '2026-07-22 11:11:24'::timestamp) - extract(epoch from '2026-07-22 11:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790526 -2.614906)'), GeomFromEWKT('SRID=4674;POINT (-39.790518 -2.614898)'))) / (select extract(epoch from '2026-07-22 11:11:24'::timestamp) - extract(epoch from '2026-07-22 11:11:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790489 -2.614896)', '2026-07-22 11:11:34', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790518 -2.614898)'), GeomFromEWKT('SRID=4674;POINT (-39.790489 -2.614896)'))) / (select extract(epoch from '2026-07-22 11:11:34'::timestamp) - extract(epoch from '2026-07-22 11:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790518 -2.614898)'), GeomFromEWKT('SRID=4674;POINT (-39.790489 -2.614896)'))) / (select extract(epoch from '2026-07-22 11:11:34'::timestamp) - extract(epoch from '2026-07-22 11:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790483 -2.614893)', '2026-07-22 11:11:50', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790489 -2.614896)'), GeomFromEWKT('SRID=4674;POINT (-39.790483 -2.614893)'))) / (select extract(epoch from '2026-07-22 11:11:50'::timestamp) - extract(epoch from '2026-07-22 11:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790489 -2.614896)'), GeomFromEWKT('SRID=4674;POINT (-39.790483 -2.614893)'))) / (select extract(epoch from '2026-07-22 11:11:50'::timestamp) - extract(epoch from '2026-07-22 11:11:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790484 -2.614892)', '2026-07-22 11:12:00', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790483 -2.614893)'), GeomFromEWKT('SRID=4674;POINT (-39.790484 -2.614892)'))) / (select extract(epoch from '2026-07-22 11:12:00'::timestamp) - extract(epoch from '2026-07-22 11:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790483 -2.614893)'), GeomFromEWKT('SRID=4674;POINT (-39.790484 -2.614892)'))) / (select extract(epoch from '2026-07-22 11:12:00'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.790487 -2.614892)', '2026-07-22 11:12:07', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790484 -2.614892)'), GeomFromEWKT('SRID=4674;POINT (-39.790487 -2.614892)'))) / (select extract(epoch from '2026-07-22 11:12:07'::timestamp) - extract(epoch from '2026-07-22 11:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790484 -2.614892)'), GeomFromEWKT('SRID=4674;POINT (-39.790487 -2.614892)'))) / (select extract(epoch from '2026-07-22 11:12:07'::timestamp) - extract(epoch from '2026-07-22 11:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790498 -2.614844)', '2026-07-22 11:12:21', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790487 -2.614892)'), GeomFromEWKT('SRID=4674;POINT (-39.790498 -2.614844)'))) / (select extract(epoch from '2026-07-22 11:12:21'::timestamp) - extract(epoch from '2026-07-22 11:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790487 -2.614892)'), GeomFromEWKT('SRID=4674;POINT (-39.790498 -2.614844)'))) / (select extract(epoch from '2026-07-22 11:12:21'::timestamp) - extract(epoch from '2026-07-22 11:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790499 -2.614839)', '2026-07-22 11:12:28', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790498 -2.614844)'), GeomFromEWKT('SRID=4674;POINT (-39.790499 -2.614839)'))) / (select extract(epoch from '2026-07-22 11:12:28'::timestamp) - extract(epoch from '2026-07-22 11:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790498 -2.614844)'), GeomFromEWKT('SRID=4674;POINT (-39.790499 -2.614839)'))) / (select extract(epoch from '2026-07-22 11:12:28'::timestamp) - extract(epoch from '2026-07-22 11:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790539 -2.614833)', '2026-07-22 11:12:57', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790499 -2.614839)'), GeomFromEWKT('SRID=4674;POINT (-39.790539 -2.614833)'))) / (select extract(epoch from '2026-07-22 11:12:57'::timestamp) - extract(epoch from '2026-07-22 11:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790499 -2.614839)'), GeomFromEWKT('SRID=4674;POINT (-39.790539 -2.614833)'))) / (select extract(epoch from '2026-07-22 11:12:57'::timestamp) - extract(epoch from '2026-07-22 11:12:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790568 -2.614829)', '2026-07-22 11:13:05', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790539 -2.614833)'), GeomFromEWKT('SRID=4674;POINT (-39.790568 -2.614829)'))) / (select extract(epoch from '2026-07-22 11:13:05'::timestamp) - extract(epoch from '2026-07-22 11:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790539 -2.614833)'), GeomFromEWKT('SRID=4674;POINT (-39.790568 -2.614829)'))) / (select extract(epoch from '2026-07-22 11:13:05'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.790608 -2.614804)', '2026-07-22 11:13:18', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790568 -2.614829)'), GeomFromEWKT('SRID=4674;POINT (-39.790608 -2.614804)'))) / (select extract(epoch from '2026-07-22 11:13:18'::timestamp) - extract(epoch from '2026-07-22 11:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790568 -2.614829)'), GeomFromEWKT('SRID=4674;POINT (-39.790608 -2.614804)'))) / (select extract(epoch from '2026-07-22 11:13:18'::timestamp) - extract(epoch from '2026-07-22 11:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790664 -2.61473)', '2026-07-22 11:13:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790608 -2.614804)'), GeomFromEWKT('SRID=4674;POINT (-39.790664 -2.61473)'))) / (select extract(epoch from '2026-07-22 11:13:30'::timestamp) - extract(epoch from '2026-07-22 11:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790608 -2.614804)'), GeomFromEWKT('SRID=4674;POINT (-39.790664 -2.61473)'))) / (select extract(epoch from '2026-07-22 11:13:30'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.790679 -2.614701)', '2026-07-22 11:13:39', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790664 -2.61473)'), GeomFromEWKT('SRID=4674;POINT (-39.790679 -2.614701)'))) / (select extract(epoch from '2026-07-22 11:13:39'::timestamp) - extract(epoch from '2026-07-22 11:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790664 -2.61473)'), GeomFromEWKT('SRID=4674;POINT (-39.790679 -2.614701)'))) / (select extract(epoch from '2026-07-22 11:13:39'::timestamp) - extract(epoch from '2026-07-22 11:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790669 -2.614703)', '2026-07-22 11:13:48', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790679 -2.614701)'), GeomFromEWKT('SRID=4674;POINT (-39.790669 -2.614703)'))) / (select extract(epoch from '2026-07-22 11:13:48'::timestamp) - extract(epoch from '2026-07-22 11:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790679 -2.614701)'), GeomFromEWKT('SRID=4674;POINT (-39.790669 -2.614703)'))) / (select extract(epoch from '2026-07-22 11:13:48'::timestamp) - extract(epoch from '2026-07-22 11:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790694 -2.614733)', '2026-07-22 11:13:55', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790669 -2.614703)'), GeomFromEWKT('SRID=4674;POINT (-39.790694 -2.614733)'))) / (select extract(epoch from '2026-07-22 11:13:55'::timestamp) - extract(epoch from '2026-07-22 11:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790669 -2.614703)'), GeomFromEWKT('SRID=4674;POINT (-39.790694 -2.614733)'))) / (select extract(epoch from '2026-07-22 11:13:55'::timestamp) - extract(epoch from '2026-07-22 11:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79071 -2.614738)', '2026-07-22 11:13:57', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790694 -2.614733)'), GeomFromEWKT('SRID=4674;POINT (-39.79071 -2.614738)'))) / (select extract(epoch from '2026-07-22 11:13:57'::timestamp) - extract(epoch from '2026-07-22 11:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790694 -2.614733)'), GeomFromEWKT('SRID=4674;POINT (-39.79071 -2.614738)'))) / (select extract(epoch from '2026-07-22 11:13:57'::timestamp) - extract(epoch from '2026-07-22 11:13:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790728 -2.614739)', '2026-07-22 11:14:00', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79071 -2.614738)'), GeomFromEWKT('SRID=4674;POINT (-39.790728 -2.614739)'))) / (select extract(epoch from '2026-07-22 11:14:00'::timestamp) - extract(epoch from '2026-07-22 11:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79071 -2.614738)'), GeomFromEWKT('SRID=4674;POINT (-39.790728 -2.614739)'))) / (select extract(epoch from '2026-07-22 11:14:00'::timestamp) - extract(epoch from '2026-07-22 11:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790754 -2.614736)', '2026-07-22 11:14:05', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790728 -2.614739)'), GeomFromEWKT('SRID=4674;POINT (-39.790754 -2.614736)'))) / (select extract(epoch from '2026-07-22 11:14:05'::timestamp) - extract(epoch from '2026-07-22 11:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790728 -2.614739)'), GeomFromEWKT('SRID=4674;POINT (-39.790754 -2.614736)'))) / (select extract(epoch from '2026-07-22 11:14:05'::timestamp) - extract(epoch from '2026-07-22 11:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79079 -2.614701)', '2026-07-22 11:14:15', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790754 -2.614736)'), GeomFromEWKT('SRID=4674;POINT (-39.79079 -2.614701)'))) / (select extract(epoch from '2026-07-22 11:14:15'::timestamp) - extract(epoch from '2026-07-22 11:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790754 -2.614736)'), GeomFromEWKT('SRID=4674;POINT (-39.79079 -2.614701)'))) / (select extract(epoch from '2026-07-22 11:14:15'::timestamp) - extract(epoch from '2026-07-22 11:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790834 -2.614678)', '2026-07-22 11:14:23', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79079 -2.614701)'), GeomFromEWKT('SRID=4674;POINT (-39.790834 -2.614678)'))) / (select extract(epoch from '2026-07-22 11:14:23'::timestamp) - extract(epoch from '2026-07-22 11:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79079 -2.614701)'), GeomFromEWKT('SRID=4674;POINT (-39.790834 -2.614678)'))) / (select extract(epoch from '2026-07-22 11:14:23'::timestamp) - extract(epoch from '2026-07-22 11:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790855 -2.614671)', '2026-07-22 11:14:26', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790834 -2.614678)'), GeomFromEWKT('SRID=4674;POINT (-39.790855 -2.614671)'))) / (select extract(epoch from '2026-07-22 11:14:26'::timestamp) - extract(epoch from '2026-07-22 11:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790834 -2.614678)'), GeomFromEWKT('SRID=4674;POINT (-39.790855 -2.614671)'))) / (select extract(epoch from '2026-07-22 11:14:26'::timestamp) - extract(epoch from '2026-07-22 11:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790875 -2.61466)', '2026-07-22 11:14:28', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790855 -2.614671)'), GeomFromEWKT('SRID=4674;POINT (-39.790875 -2.61466)'))) / (select extract(epoch from '2026-07-22 11:14:28'::timestamp) - extract(epoch from '2026-07-22 11:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790855 -2.614671)'), GeomFromEWKT('SRID=4674;POINT (-39.790875 -2.61466)'))) / (select extract(epoch from '2026-07-22 11:14:28'::timestamp) - extract(epoch from '2026-07-22 11:14:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790913 -2.614634)', '2026-07-22 11:14:34', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790875 -2.61466)'), GeomFromEWKT('SRID=4674;POINT (-39.790913 -2.614634)'))) / (select extract(epoch from '2026-07-22 11:14:34'::timestamp) - extract(epoch from '2026-07-22 11:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790875 -2.61466)'), GeomFromEWKT('SRID=4674;POINT (-39.790913 -2.614634)'))) / (select extract(epoch from '2026-07-22 11:14:34'::timestamp) - extract(epoch from '2026-07-22 11:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790966 -2.614611)', '2026-07-22 11:14:42', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790913 -2.614634)'), GeomFromEWKT('SRID=4674;POINT (-39.790966 -2.614611)'))) / (select extract(epoch from '2026-07-22 11:14:42'::timestamp) - extract(epoch from '2026-07-22 11:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790913 -2.614634)'), GeomFromEWKT('SRID=4674;POINT (-39.790966 -2.614611)'))) / (select extract(epoch from '2026-07-22 11:14:42'::timestamp) - extract(epoch from '2026-07-22 11:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79098 -2.614593)', '2026-07-22 11:14:52', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790966 -2.614611)'), GeomFromEWKT('SRID=4674;POINT (-39.79098 -2.614593)'))) / (select extract(epoch from '2026-07-22 11:14:52'::timestamp) - extract(epoch from '2026-07-22 11:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790966 -2.614611)'), GeomFromEWKT('SRID=4674;POINT (-39.79098 -2.614593)'))) / (select extract(epoch from '2026-07-22 11:14:52'::timestamp) - extract(epoch from '2026-07-22 11:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790977 -2.614579)', '2026-07-22 11:14:55', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79098 -2.614593)'), GeomFromEWKT('SRID=4674;POINT (-39.790977 -2.614579)'))) / (select extract(epoch from '2026-07-22 11:14:55'::timestamp) - extract(epoch from '2026-07-22 11:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79098 -2.614593)'), GeomFromEWKT('SRID=4674;POINT (-39.790977 -2.614579)'))) / (select extract(epoch from '2026-07-22 11:14:55'::timestamp) - extract(epoch from '2026-07-22 11:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790956 -2.614595)', '2026-07-22 11:15:00', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790977 -2.614579)'), GeomFromEWKT('SRID=4674;POINT (-39.790956 -2.614595)'))) / (select extract(epoch from '2026-07-22 11:15:00'::timestamp) - extract(epoch from '2026-07-22 11:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790977 -2.614579)'), GeomFromEWKT('SRID=4674;POINT (-39.790956 -2.614595)'))) / (select extract(epoch from '2026-07-22 11:15:00'::timestamp) - extract(epoch from '2026-07-22 11:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790928 -2.614632)', '2026-07-22 11:15:07', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790956 -2.614595)'), GeomFromEWKT('SRID=4674;POINT (-39.790928 -2.614632)'))) / (select extract(epoch from '2026-07-22 11:15:07'::timestamp) - extract(epoch from '2026-07-22 11:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790956 -2.614595)'), GeomFromEWKT('SRID=4674;POINT (-39.790928 -2.614632)'))) / (select extract(epoch from '2026-07-22 11:15:07'::timestamp) - extract(epoch from '2026-07-22 11:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790884 -2.614683)', '2026-07-22 11:15:14', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790928 -2.614632)'), GeomFromEWKT('SRID=4674;POINT (-39.790884 -2.614683)'))) / (select extract(epoch from '2026-07-22 11:15:14'::timestamp) - extract(epoch from '2026-07-22 11:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790928 -2.614632)'), GeomFromEWKT('SRID=4674;POINT (-39.790884 -2.614683)'))) / (select extract(epoch from '2026-07-22 11:15:14'::timestamp) - extract(epoch from '2026-07-22 11:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790869 -2.614693)', '2026-07-22 11:15:17', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790884 -2.614683)'), GeomFromEWKT('SRID=4674;POINT (-39.790869 -2.614693)'))) / (select extract(epoch from '2026-07-22 11:15:17'::timestamp) - extract(epoch from '2026-07-22 11:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790884 -2.614683)'), GeomFromEWKT('SRID=4674;POINT (-39.790869 -2.614693)'))) / (select extract(epoch from '2026-07-22 11:15:17'::timestamp) - extract(epoch from '2026-07-22 11:15:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790806 -2.614692)', '2026-07-22 11:15:25', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790869 -2.614693)'), GeomFromEWKT('SRID=4674;POINT (-39.790806 -2.614692)'))) / (select extract(epoch from '2026-07-22 11:15:25'::timestamp) - extract(epoch from '2026-07-22 11:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790869 -2.614693)'), GeomFromEWKT('SRID=4674;POINT (-39.790806 -2.614692)'))) / (select extract(epoch from '2026-07-22 11:15:25'::timestamp) - extract(epoch from '2026-07-22 11:15:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790765 -2.614683)', '2026-07-22 11:15:32', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790806 -2.614692)'), GeomFromEWKT('SRID=4674;POINT (-39.790765 -2.614683)'))) / (select extract(epoch from '2026-07-22 11:15:32'::timestamp) - extract(epoch from '2026-07-22 11:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790806 -2.614692)'), GeomFromEWKT('SRID=4674;POINT (-39.790765 -2.614683)'))) / (select extract(epoch from '2026-07-22 11:15:32'::timestamp) - extract(epoch from '2026-07-22 11:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79074 -2.614686)', '2026-07-22 11:15:40', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790765 -2.614683)'), GeomFromEWKT('SRID=4674;POINT (-39.79074 -2.614686)'))) / (select extract(epoch from '2026-07-22 11:15:40'::timestamp) - extract(epoch from '2026-07-22 11:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790765 -2.614683)'), GeomFromEWKT('SRID=4674;POINT (-39.79074 -2.614686)'))) / (select extract(epoch from '2026-07-22 11:15:40'::timestamp) - extract(epoch from '2026-07-22 11:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790676 -2.614717)', '2026-07-22 11:15:48', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79074 -2.614686)'), GeomFromEWKT('SRID=4674;POINT (-39.790676 -2.614717)'))) / (select extract(epoch from '2026-07-22 11:15:48'::timestamp) - extract(epoch from '2026-07-22 11:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79074 -2.614686)'), GeomFromEWKT('SRID=4674;POINT (-39.790676 -2.614717)'))) / (select extract(epoch from '2026-07-22 11:15:48'::timestamp) - extract(epoch from '2026-07-22 11:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790628 -2.614739)', '2026-07-22 11:15:54', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790676 -2.614717)'), GeomFromEWKT('SRID=4674;POINT (-39.790628 -2.614739)'))) / (select extract(epoch from '2026-07-22 11:15:54'::timestamp) - extract(epoch from '2026-07-22 11:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790676 -2.614717)'), GeomFromEWKT('SRID=4674;POINT (-39.790628 -2.614739)'))) / (select extract(epoch from '2026-07-22 11:15:54'::timestamp) - extract(epoch from '2026-07-22 11:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790587 -2.614769)', '2026-07-22 11:16:01', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790628 -2.614739)'), GeomFromEWKT('SRID=4674;POINT (-39.790587 -2.614769)'))) / (select extract(epoch from '2026-07-22 11:16:01'::timestamp) - extract(epoch from '2026-07-22 11:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790628 -2.614739)'), GeomFromEWKT('SRID=4674;POINT (-39.790587 -2.614769)'))) / (select extract(epoch from '2026-07-22 11:16:01'::timestamp) - extract(epoch from '2026-07-22 11:15:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790552 -2.614787)', '2026-07-22 11:16:09', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790587 -2.614769)'), GeomFromEWKT('SRID=4674;POINT (-39.790552 -2.614787)'))) / (select extract(epoch from '2026-07-22 11:16:09'::timestamp) - extract(epoch from '2026-07-22 11:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790587 -2.614769)'), GeomFromEWKT('SRID=4674;POINT (-39.790552 -2.614787)'))) / (select extract(epoch from '2026-07-22 11:16:09'::timestamp) - extract(epoch from '2026-07-22 11:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79048 -2.614795)', '2026-07-22 11:16:17', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790552 -2.614787)'), GeomFromEWKT('SRID=4674;POINT (-39.79048 -2.614795)'))) / (select extract(epoch from '2026-07-22 11:16:17'::timestamp) - extract(epoch from '2026-07-22 11:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790552 -2.614787)'), GeomFromEWKT('SRID=4674;POINT (-39.79048 -2.614795)'))) / (select extract(epoch from '2026-07-22 11:16:17'::timestamp) - extract(epoch from '2026-07-22 11:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79043 -2.614799)', '2026-07-22 11:16:22', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79048 -2.614795)'), GeomFromEWKT('SRID=4674;POINT (-39.79043 -2.614799)'))) / (select extract(epoch from '2026-07-22 11:16:22'::timestamp) - extract(epoch from '2026-07-22 11:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79048 -2.614795)'), GeomFromEWKT('SRID=4674;POINT (-39.79043 -2.614799)'))) / (select extract(epoch from '2026-07-22 11:16:22'::timestamp) - extract(epoch from '2026-07-22 11:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790361 -2.614792)', '2026-07-22 11:16:28', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79043 -2.614799)'), GeomFromEWKT('SRID=4674;POINT (-39.790361 -2.614792)'))) / (select extract(epoch from '2026-07-22 11:16:28'::timestamp) - extract(epoch from '2026-07-22 11:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79043 -2.614799)'), GeomFromEWKT('SRID=4674;POINT (-39.790361 -2.614792)'))) / (select extract(epoch from '2026-07-22 11:16:28'::timestamp) - extract(epoch from '2026-07-22 11:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790306 -2.614789)', '2026-07-22 11:16:33', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790361 -2.614792)'), GeomFromEWKT('SRID=4674;POINT (-39.790306 -2.614789)'))) / (select extract(epoch from '2026-07-22 11:16:33'::timestamp) - extract(epoch from '2026-07-22 11:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790361 -2.614792)'), GeomFromEWKT('SRID=4674;POINT (-39.790306 -2.614789)'))) / (select extract(epoch from '2026-07-22 11:16:33'::timestamp) - extract(epoch from '2026-07-22 11:16:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790239 -2.614781)', '2026-07-22 11:16:41', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790306 -2.614789)'), GeomFromEWKT('SRID=4674;POINT (-39.790239 -2.614781)'))) / (select extract(epoch from '2026-07-22 11:16:41'::timestamp) - extract(epoch from '2026-07-22 11:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790306 -2.614789)'), GeomFromEWKT('SRID=4674;POINT (-39.790239 -2.614781)'))) / (select extract(epoch from '2026-07-22 11:16:41'::timestamp) - extract(epoch from '2026-07-22 11:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790132 -2.614764)', '2026-07-22 11:16:52', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790239 -2.614781)'), GeomFromEWKT('SRID=4674;POINT (-39.790132 -2.614764)'))) / (select extract(epoch from '2026-07-22 11:16:52'::timestamp) - extract(epoch from '2026-07-22 11:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790239 -2.614781)'), GeomFromEWKT('SRID=4674;POINT (-39.790132 -2.614764)'))) / (select extract(epoch from '2026-07-22 11:16:52'::timestamp) - extract(epoch from '2026-07-22 11:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790059 -2.61476)', '2026-07-22 11:17:00', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790132 -2.614764)'), GeomFromEWKT('SRID=4674;POINT (-39.790059 -2.61476)'))) / (select extract(epoch from '2026-07-22 11:17:00'::timestamp) - extract(epoch from '2026-07-22 11:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790132 -2.614764)'), GeomFromEWKT('SRID=4674;POINT (-39.790059 -2.61476)'))) / (select extract(epoch from '2026-07-22 11:17:00'::timestamp) - extract(epoch from '2026-07-22 11:16:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790006 -2.614753)', '2026-07-22 11:17:07', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790059 -2.61476)'), GeomFromEWKT('SRID=4674;POINT (-39.790006 -2.614753)'))) / (select extract(epoch from '2026-07-22 11:17:07'::timestamp) - extract(epoch from '2026-07-22 11:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790059 -2.61476)'), GeomFromEWKT('SRID=4674;POINT (-39.790006 -2.614753)'))) / (select extract(epoch from '2026-07-22 11:17:07'::timestamp) - extract(epoch from '2026-07-22 11:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789937 -2.614729)', '2026-07-22 11:17:15', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790006 -2.614753)'), GeomFromEWKT('SRID=4674;POINT (-39.789937 -2.614729)'))) / (select extract(epoch from '2026-07-22 11:17:15'::timestamp) - extract(epoch from '2026-07-22 11:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790006 -2.614753)'), GeomFromEWKT('SRID=4674;POINT (-39.789937 -2.614729)'))) / (select extract(epoch from '2026-07-22 11:17:15'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.7899 -2.614726)', '2026-07-22 11:17:21', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789937 -2.614729)'), GeomFromEWKT('SRID=4674;POINT (-39.7899 -2.614726)'))) / (select extract(epoch from '2026-07-22 11:17:21'::timestamp) - extract(epoch from '2026-07-22 11:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789937 -2.614729)'), GeomFromEWKT('SRID=4674;POINT (-39.7899 -2.614726)'))) / (select extract(epoch from '2026-07-22 11:17:21'::timestamp) - extract(epoch from '2026-07-22 11:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789875 -2.614716)', '2026-07-22 11:17:24', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7899 -2.614726)'), GeomFromEWKT('SRID=4674;POINT (-39.789875 -2.614716)'))) / (select extract(epoch from '2026-07-22 11:17:24'::timestamp) - extract(epoch from '2026-07-22 11:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7899 -2.614726)'), GeomFromEWKT('SRID=4674;POINT (-39.789875 -2.614716)'))) / (select extract(epoch from '2026-07-22 11:17:24'::timestamp) - extract(epoch from '2026-07-22 11:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789844 -2.614698)', '2026-07-22 11:17:28', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789875 -2.614716)'), GeomFromEWKT('SRID=4674;POINT (-39.789844 -2.614698)'))) / (select extract(epoch from '2026-07-22 11:17:28'::timestamp) - extract(epoch from '2026-07-22 11:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789875 -2.614716)'), GeomFromEWKT('SRID=4674;POINT (-39.789844 -2.614698)'))) / (select extract(epoch from '2026-07-22 11:17:28'::timestamp) - extract(epoch from '2026-07-22 11:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789779 -2.61469)', '2026-07-22 11:17:36', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789844 -2.614698)'), GeomFromEWKT('SRID=4674;POINT (-39.789779 -2.61469)'))) / (select extract(epoch from '2026-07-22 11:17:36'::timestamp) - extract(epoch from '2026-07-22 11:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789844 -2.614698)'), GeomFromEWKT('SRID=4674;POINT (-39.789779 -2.61469)'))) / (select extract(epoch from '2026-07-22 11:17:36'::timestamp) - extract(epoch from '2026-07-22 11:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789716 -2.614729)', '2026-07-22 11:17:43', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789779 -2.61469)'), GeomFromEWKT('SRID=4674;POINT (-39.789716 -2.614729)'))) / (select extract(epoch from '2026-07-22 11:17:43'::timestamp) - extract(epoch from '2026-07-22 11:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789779 -2.61469)'), GeomFromEWKT('SRID=4674;POINT (-39.789716 -2.614729)'))) / (select extract(epoch from '2026-07-22 11:17:43'::timestamp) - extract(epoch from '2026-07-22 11:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789698 -2.614737)', '2026-07-22 11:17:45', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789716 -2.614729)'), GeomFromEWKT('SRID=4674;POINT (-39.789698 -2.614737)'))) / (select extract(epoch from '2026-07-22 11:17:45'::timestamp) - extract(epoch from '2026-07-22 11:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789716 -2.614729)'), GeomFromEWKT('SRID=4674;POINT (-39.789698 -2.614737)'))) / (select extract(epoch from '2026-07-22 11:17:45'::timestamp) - extract(epoch from '2026-07-22 11:17:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789681 -2.614752)', '2026-07-22 11:17:47', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789698 -2.614737)'), GeomFromEWKT('SRID=4674;POINT (-39.789681 -2.614752)'))) / (select extract(epoch from '2026-07-22 11:17:47'::timestamp) - extract(epoch from '2026-07-22 11:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789698 -2.614737)'), GeomFromEWKT('SRID=4674;POINT (-39.789681 -2.614752)'))) / (select extract(epoch from '2026-07-22 11:17:47'::timestamp) - extract(epoch from '2026-07-22 11:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789657 -2.614761)', '2026-07-22 11:17:50', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789681 -2.614752)'), GeomFromEWKT('SRID=4674;POINT (-39.789657 -2.614761)'))) / (select extract(epoch from '2026-07-22 11:17:50'::timestamp) - extract(epoch from '2026-07-22 11:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789681 -2.614752)'), GeomFromEWKT('SRID=4674;POINT (-39.789657 -2.614761)'))) / (select extract(epoch from '2026-07-22 11:17:50'::timestamp) - extract(epoch from '2026-07-22 11:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789614 -2.614758)', '2026-07-22 11:17:56', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789657 -2.614761)'), GeomFromEWKT('SRID=4674;POINT (-39.789614 -2.614758)'))) / (select extract(epoch from '2026-07-22 11:17:56'::timestamp) - extract(epoch from '2026-07-22 11:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789657 -2.614761)'), GeomFromEWKT('SRID=4674;POINT (-39.789614 -2.614758)'))) / (select extract(epoch from '2026-07-22 11:17:56'::timestamp) - extract(epoch from '2026-07-22 11:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789593 -2.61476)', '2026-07-22 11:17:58', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789614 -2.614758)'), GeomFromEWKT('SRID=4674;POINT (-39.789593 -2.61476)'))) / (select extract(epoch from '2026-07-22 11:17:58'::timestamp) - extract(epoch from '2026-07-22 11:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789614 -2.614758)'), GeomFromEWKT('SRID=4674;POINT (-39.789593 -2.61476)'))) / (select extract(epoch from '2026-07-22 11:17:58'::timestamp) - extract(epoch from '2026-07-22 11:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789558 -2.614755)', '2026-07-22 11:18:02', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789593 -2.61476)'), GeomFromEWKT('SRID=4674;POINT (-39.789558 -2.614755)'))) / (select extract(epoch from '2026-07-22 11:18:02'::timestamp) - extract(epoch from '2026-07-22 11:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789593 -2.61476)'), GeomFromEWKT('SRID=4674;POINT (-39.789558 -2.614755)'))) / (select extract(epoch from '2026-07-22 11:18:02'::timestamp) - extract(epoch from '2026-07-22 11:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789513 -2.614779)', '2026-07-22 11:18:09', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789558 -2.614755)'), GeomFromEWKT('SRID=4674;POINT (-39.789513 -2.614779)'))) / (select extract(epoch from '2026-07-22 11:18:09'::timestamp) - extract(epoch from '2026-07-22 11:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789558 -2.614755)'), GeomFromEWKT('SRID=4674;POINT (-39.789513 -2.614779)'))) / (select extract(epoch from '2026-07-22 11:18:09'::timestamp) - extract(epoch from '2026-07-22 11:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789456 -2.614793)', '2026-07-22 11:18:19', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789513 -2.614779)'), GeomFromEWKT('SRID=4674;POINT (-39.789456 -2.614793)'))) / (select extract(epoch from '2026-07-22 11:18:19'::timestamp) - extract(epoch from '2026-07-22 11:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789513 -2.614779)'), GeomFromEWKT('SRID=4674;POINT (-39.789456 -2.614793)'))) / (select extract(epoch from '2026-07-22 11:18:19'::timestamp) - extract(epoch from '2026-07-22 11:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78942 -2.614792)', '2026-07-22 11:18:26', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789456 -2.614793)'), GeomFromEWKT('SRID=4674;POINT (-39.78942 -2.614792)'))) / (select extract(epoch from '2026-07-22 11:18:26'::timestamp) - extract(epoch from '2026-07-22 11:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789456 -2.614793)'), GeomFromEWKT('SRID=4674;POINT (-39.78942 -2.614792)'))) / (select extract(epoch from '2026-07-22 11:18:26'::timestamp) - extract(epoch from '2026-07-22 11:18:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789387 -2.61481)', '2026-07-22 11:18:33', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78942 -2.614792)'), GeomFromEWKT('SRID=4674;POINT (-39.789387 -2.61481)'))) / (select extract(epoch from '2026-07-22 11:18:33'::timestamp) - extract(epoch from '2026-07-22 11:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78942 -2.614792)'), GeomFromEWKT('SRID=4674;POINT (-39.789387 -2.61481)'))) / (select extract(epoch from '2026-07-22 11:18:33'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789379 -2.614782)', '2026-07-22 11:18:43', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789387 -2.61481)'), GeomFromEWKT('SRID=4674;POINT (-39.789379 -2.614782)'))) / (select extract(epoch from '2026-07-22 11:18:43'::timestamp) - extract(epoch from '2026-07-22 11:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789387 -2.61481)'), GeomFromEWKT('SRID=4674;POINT (-39.789379 -2.614782)'))) / (select extract(epoch from '2026-07-22 11:18:43'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789385 -2.614761)', '2026-07-22 11:18:49', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789379 -2.614782)'), GeomFromEWKT('SRID=4674;POINT (-39.789385 -2.614761)'))) / (select extract(epoch from '2026-07-22 11:18:49'::timestamp) - extract(epoch from '2026-07-22 11:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789379 -2.614782)'), GeomFromEWKT('SRID=4674;POINT (-39.789385 -2.614761)'))) / (select extract(epoch from '2026-07-22 11:18:49'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789417 -2.614706)', '2026-07-22 11:18:59', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789385 -2.614761)'), GeomFromEWKT('SRID=4674;POINT (-39.789417 -2.614706)'))) / (select extract(epoch from '2026-07-22 11:18:59'::timestamp) - extract(epoch from '2026-07-22 11:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789385 -2.614761)'), GeomFromEWKT('SRID=4674;POINT (-39.789417 -2.614706)'))) / (select extract(epoch from '2026-07-22 11:18:59'::timestamp) - extract(epoch from '2026-07-22 11:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789416 -2.614695)', '2026-07-22 11:19:09', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789417 -2.614706)'), GeomFromEWKT('SRID=4674;POINT (-39.789416 -2.614695)'))) / (select extract(epoch from '2026-07-22 11:19:09'::timestamp) - extract(epoch from '2026-07-22 11:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789417 -2.614706)'), GeomFromEWKT('SRID=4674;POINT (-39.789416 -2.614695)'))) / (select extract(epoch from '2026-07-22 11:19:09'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789381 -2.614745)', '2026-07-22 11:19:17', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789416 -2.614695)'), GeomFromEWKT('SRID=4674;POINT (-39.789381 -2.614745)'))) / (select extract(epoch from '2026-07-22 11:19:17'::timestamp) - extract(epoch from '2026-07-22 11:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789416 -2.614695)'), GeomFromEWKT('SRID=4674;POINT (-39.789381 -2.614745)'))) / (select extract(epoch from '2026-07-22 11:19:17'::timestamp) - extract(epoch from '2026-07-22 11:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789326 -2.614783)', '2026-07-22 11:19:26', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789381 -2.614745)'), GeomFromEWKT('SRID=4674;POINT (-39.789326 -2.614783)'))) / (select extract(epoch from '2026-07-22 11:19:26'::timestamp) - extract(epoch from '2026-07-22 11:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789381 -2.614745)'), GeomFromEWKT('SRID=4674;POINT (-39.789326 -2.614783)'))) / (select extract(epoch from '2026-07-22 11:19:26'::timestamp) - extract(epoch from '2026-07-22 11:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789243 -2.614823)', '2026-07-22 11:19:34', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789326 -2.614783)'), GeomFromEWKT('SRID=4674;POINT (-39.789243 -2.614823)'))) / (select extract(epoch from '2026-07-22 11:19:34'::timestamp) - extract(epoch from '2026-07-22 11:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789326 -2.614783)'), GeomFromEWKT('SRID=4674;POINT (-39.789243 -2.614823)'))) / (select extract(epoch from '2026-07-22 11:19:34'::timestamp) - extract(epoch from '2026-07-22 11:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789237 -2.614829)', '2026-07-22 11:19:35', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789243 -2.614823)'), GeomFromEWKT('SRID=4674;POINT (-39.789237 -2.614829)'))) / (select extract(epoch from '2026-07-22 11:19:35'::timestamp) - extract(epoch from '2026-07-22 11:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789243 -2.614823)'), GeomFromEWKT('SRID=4674;POINT (-39.789237 -2.614829)'))) / (select extract(epoch from '2026-07-22 11:19:35'::timestamp) - extract(epoch from '2026-07-22 11:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789215 -2.614836)', '2026-07-22 11:19:39', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789237 -2.614829)'), GeomFromEWKT('SRID=4674;POINT (-39.789215 -2.614836)'))) / (select extract(epoch from '2026-07-22 11:19:39'::timestamp) - extract(epoch from '2026-07-22 11:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789237 -2.614829)'), GeomFromEWKT('SRID=4674;POINT (-39.789215 -2.614836)'))) / (select extract(epoch from '2026-07-22 11:19:39'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789184 -2.614807)', '2026-07-22 11:19:45', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789215 -2.614836)'), GeomFromEWKT('SRID=4674;POINT (-39.789184 -2.614807)'))) / (select extract(epoch from '2026-07-22 11:19:45'::timestamp) - extract(epoch from '2026-07-22 11:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789215 -2.614836)'), GeomFromEWKT('SRID=4674;POINT (-39.789184 -2.614807)'))) / (select extract(epoch from '2026-07-22 11:19:45'::timestamp) - extract(epoch from '2026-07-22 11:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789163 -2.614741)', '2026-07-22 11:19:55', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789184 -2.614807)'), GeomFromEWKT('SRID=4674;POINT (-39.789163 -2.614741)'))) / (select extract(epoch from '2026-07-22 11:19:55'::timestamp) - extract(epoch from '2026-07-22 11:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789184 -2.614807)'), GeomFromEWKT('SRID=4674;POINT (-39.789163 -2.614741)'))) / (select extract(epoch from '2026-07-22 11:19:55'::timestamp) - extract(epoch from '2026-07-22 11:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789178 -2.61473)', '2026-07-22 11:20:00', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789163 -2.614741)'), GeomFromEWKT('SRID=4674;POINT (-39.789178 -2.61473)'))) / (select extract(epoch from '2026-07-22 11:20:00'::timestamp) - extract(epoch from '2026-07-22 11:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789163 -2.614741)'), GeomFromEWKT('SRID=4674;POINT (-39.789178 -2.61473)'))) / (select extract(epoch from '2026-07-22 11:20:00'::timestamp) - extract(epoch from '2026-07-22 11:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789187 -2.614726)', '2026-07-22 11:20:02', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789178 -2.61473)'), GeomFromEWKT('SRID=4674;POINT (-39.789187 -2.614726)'))) / (select extract(epoch from '2026-07-22 11:20:02'::timestamp) - extract(epoch from '2026-07-22 11:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789178 -2.61473)'), GeomFromEWKT('SRID=4674;POINT (-39.789187 -2.614726)'))) / (select extract(epoch from '2026-07-22 11:20:02'::timestamp) - extract(epoch from '2026-07-22 11:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789205 -2.614701)', '2026-07-22 11:20:09', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789187 -2.614726)'), GeomFromEWKT('SRID=4674;POINT (-39.789205 -2.614701)'))) / (select extract(epoch from '2026-07-22 11:20:09'::timestamp) - extract(epoch from '2026-07-22 11:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789187 -2.614726)'), GeomFromEWKT('SRID=4674;POINT (-39.789205 -2.614701)'))) / (select extract(epoch from '2026-07-22 11:20:09'::timestamp) - extract(epoch from '2026-07-22 11:20:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789241 -2.614656)', '2026-07-22 11:20:17', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789205 -2.614701)'), GeomFromEWKT('SRID=4674;POINT (-39.789241 -2.614656)'))) / (select extract(epoch from '2026-07-22 11:20:17'::timestamp) - extract(epoch from '2026-07-22 11:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789205 -2.614701)'), GeomFromEWKT('SRID=4674;POINT (-39.789241 -2.614656)'))) / (select extract(epoch from '2026-07-22 11:20:17'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789259 -2.614636)', '2026-07-22 11:20:21', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789241 -2.614656)'), GeomFromEWKT('SRID=4674;POINT (-39.789259 -2.614636)'))) / (select extract(epoch from '2026-07-22 11:20:21'::timestamp) - extract(epoch from '2026-07-22 11:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789241 -2.614656)'), GeomFromEWKT('SRID=4674;POINT (-39.789259 -2.614636)'))) / (select extract(epoch from '2026-07-22 11:20:21'::timestamp) - extract(epoch from '2026-07-22 11:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789271 -2.614627)', '2026-07-22 11:20:23', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789259 -2.614636)'), GeomFromEWKT('SRID=4674;POINT (-39.789271 -2.614627)'))) / (select extract(epoch from '2026-07-22 11:20:23'::timestamp) - extract(epoch from '2026-07-22 11:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789259 -2.614636)'), GeomFromEWKT('SRID=4674;POINT (-39.789271 -2.614627)'))) / (select extract(epoch from '2026-07-22 11:20:23'::timestamp) - extract(epoch from '2026-07-22 11:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789309 -2.614566)', '2026-07-22 11:20:33', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789271 -2.614627)'), GeomFromEWKT('SRID=4674;POINT (-39.789309 -2.614566)'))) / (select extract(epoch from '2026-07-22 11:20:33'::timestamp) - extract(epoch from '2026-07-22 11:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789271 -2.614627)'), GeomFromEWKT('SRID=4674;POINT (-39.789309 -2.614566)'))) / (select extract(epoch from '2026-07-22 11:20:33'::timestamp) - extract(epoch from '2026-07-22 11:20:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789333 -2.614521)', '2026-07-22 11:20:41', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789309 -2.614566)'), GeomFromEWKT('SRID=4674;POINT (-39.789333 -2.614521)'))) / (select extract(epoch from '2026-07-22 11:20:41'::timestamp) - extract(epoch from '2026-07-22 11:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789309 -2.614566)'), GeomFromEWKT('SRID=4674;POINT (-39.789333 -2.614521)'))) / (select extract(epoch from '2026-07-22 11:20:41'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789358 -2.614485)', '2026-07-22 11:20:49', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789333 -2.614521)'), GeomFromEWKT('SRID=4674;POINT (-39.789358 -2.614485)'))) / (select extract(epoch from '2026-07-22 11:20:49'::timestamp) - extract(epoch from '2026-07-22 11:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789333 -2.614521)'), GeomFromEWKT('SRID=4674;POINT (-39.789358 -2.614485)'))) / (select extract(epoch from '2026-07-22 11:20:49'::timestamp) - extract(epoch from '2026-07-22 11:20:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789364 -2.614482)', '2026-07-22 11:20:50', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789358 -2.614485)'), GeomFromEWKT('SRID=4674;POINT (-39.789364 -2.614482)'))) / (select extract(epoch from '2026-07-22 11:20:50'::timestamp) - extract(epoch from '2026-07-22 11:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789358 -2.614485)'), GeomFromEWKT('SRID=4674;POINT (-39.789364 -2.614482)'))) / (select extract(epoch from '2026-07-22 11:20:50'::timestamp) - extract(epoch from '2026-07-22 11:20:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789383 -2.614477)', '2026-07-22 11:20:54', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789364 -2.614482)'), GeomFromEWKT('SRID=4674;POINT (-39.789383 -2.614477)'))) / (select extract(epoch from '2026-07-22 11:20:54'::timestamp) - extract(epoch from '2026-07-22 11:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789364 -2.614482)'), GeomFromEWKT('SRID=4674;POINT (-39.789383 -2.614477)'))) / (select extract(epoch from '2026-07-22 11:20:54'::timestamp) - extract(epoch from '2026-07-22 11:20:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78939 -2.614445)', '2026-07-22 11:21:02', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789383 -2.614477)'), GeomFromEWKT('SRID=4674;POINT (-39.78939 -2.614445)'))) / (select extract(epoch from '2026-07-22 11:21:02'::timestamp) - extract(epoch from '2026-07-22 11:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789383 -2.614477)'), GeomFromEWKT('SRID=4674;POINT (-39.78939 -2.614445)'))) / (select extract(epoch from '2026-07-22 11:21:02'::timestamp) - extract(epoch from '2026-07-22 11:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789402 -2.614423)', '2026-07-22 11:21:20', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78939 -2.614445)'), GeomFromEWKT('SRID=4674;POINT (-39.789402 -2.614423)'))) / (select extract(epoch from '2026-07-22 11:21:20'::timestamp) - extract(epoch from '2026-07-22 11:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78939 -2.614445)'), GeomFromEWKT('SRID=4674;POINT (-39.789402 -2.614423)'))) / (select extract(epoch from '2026-07-22 11:21:20'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789423 -2.614401)', '2026-07-22 11:21:26', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789402 -2.614423)'), GeomFromEWKT('SRID=4674;POINT (-39.789423 -2.614401)'))) / (select extract(epoch from '2026-07-22 11:21:26'::timestamp) - extract(epoch from '2026-07-22 11:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789402 -2.614423)'), GeomFromEWKT('SRID=4674;POINT (-39.789423 -2.614401)'))) / (select extract(epoch from '2026-07-22 11:21:26'::timestamp) - extract(epoch from '2026-07-22 11:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789459 -2.614368)', '2026-07-22 11:21:33', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789423 -2.614401)'), GeomFromEWKT('SRID=4674;POINT (-39.789459 -2.614368)'))) / (select extract(epoch from '2026-07-22 11:21:33'::timestamp) - extract(epoch from '2026-07-22 11:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789423 -2.614401)'), GeomFromEWKT('SRID=4674;POINT (-39.789459 -2.614368)'))) / (select extract(epoch from '2026-07-22 11:21:33'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.78949 -2.614345)', '2026-07-22 11:21:39', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789459 -2.614368)'), GeomFromEWKT('SRID=4674;POINT (-39.78949 -2.614345)'))) / (select extract(epoch from '2026-07-22 11:21:39'::timestamp) - extract(epoch from '2026-07-22 11:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789459 -2.614368)'), GeomFromEWKT('SRID=4674;POINT (-39.78949 -2.614345)'))) / (select extract(epoch from '2026-07-22 11:21:39'::timestamp) - extract(epoch from '2026-07-22 11:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789509 -2.614329)', '2026-07-22 11:21:44', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78949 -2.614345)'), GeomFromEWKT('SRID=4674;POINT (-39.789509 -2.614329)'))) / (select extract(epoch from '2026-07-22 11:21:44'::timestamp) - extract(epoch from '2026-07-22 11:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78949 -2.614345)'), GeomFromEWKT('SRID=4674;POINT (-39.789509 -2.614329)'))) / (select extract(epoch from '2026-07-22 11:21:44'::timestamp) - extract(epoch from '2026-07-22 11:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789533 -2.614303)', '2026-07-22 11:21:54', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789509 -2.614329)'), GeomFromEWKT('SRID=4674;POINT (-39.789533 -2.614303)'))) / (select extract(epoch from '2026-07-22 11:21:54'::timestamp) - extract(epoch from '2026-07-22 11:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789509 -2.614329)'), GeomFromEWKT('SRID=4674;POINT (-39.789533 -2.614303)'))) / (select extract(epoch from '2026-07-22 11:21:54'::timestamp) - extract(epoch from '2026-07-22 11:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789573 -2.614283)', '2026-07-22 11:22:00', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789533 -2.614303)'), GeomFromEWKT('SRID=4674;POINT (-39.789573 -2.614283)'))) / (select extract(epoch from '2026-07-22 11:22:00'::timestamp) - extract(epoch from '2026-07-22 11:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789533 -2.614303)'), GeomFromEWKT('SRID=4674;POINT (-39.789573 -2.614283)'))) / (select extract(epoch from '2026-07-22 11:22:00'::timestamp) - extract(epoch from '2026-07-22 11:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789587 -2.614287)', '2026-07-22 11:22:13', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789573 -2.614283)'), GeomFromEWKT('SRID=4674;POINT (-39.789587 -2.614287)'))) / (select extract(epoch from '2026-07-22 11:22:13'::timestamp) - extract(epoch from '2026-07-22 11:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789573 -2.614283)'), GeomFromEWKT('SRID=4674;POINT (-39.789587 -2.614287)'))) / (select extract(epoch from '2026-07-22 11:22:13'::timestamp) - extract(epoch from '2026-07-22 11:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789616 -2.614295)', '2026-07-22 11:22:21', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789587 -2.614287)'), GeomFromEWKT('SRID=4674;POINT (-39.789616 -2.614295)'))) / (select extract(epoch from '2026-07-22 11:22:21'::timestamp) - extract(epoch from '2026-07-22 11:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789587 -2.614287)'), GeomFromEWKT('SRID=4674;POINT (-39.789616 -2.614295)'))) / (select extract(epoch from '2026-07-22 11:22:21'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789628 -2.614322)', '2026-07-22 11:22:28', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789616 -2.614295)'), GeomFromEWKT('SRID=4674;POINT (-39.789628 -2.614322)'))) / (select extract(epoch from '2026-07-22 11:22:28'::timestamp) - extract(epoch from '2026-07-22 11:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789616 -2.614295)'), GeomFromEWKT('SRID=4674;POINT (-39.789628 -2.614322)'))) / (select extract(epoch from '2026-07-22 11:22:28'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789645 -2.614332)', '2026-07-22 11:22:34', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789628 -2.614322)'), GeomFromEWKT('SRID=4674;POINT (-39.789645 -2.614332)'))) / (select extract(epoch from '2026-07-22 11:22:34'::timestamp) - extract(epoch from '2026-07-22 11:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789628 -2.614322)'), GeomFromEWKT('SRID=4674;POINT (-39.789645 -2.614332)'))) / (select extract(epoch from '2026-07-22 11:22:34'::timestamp) - extract(epoch from '2026-07-22 11:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789647 -2.614335)', '2026-07-22 11:22:36', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789645 -2.614332)'), GeomFromEWKT('SRID=4674;POINT (-39.789647 -2.614335)'))) / (select extract(epoch from '2026-07-22 11:22:36'::timestamp) - extract(epoch from '2026-07-22 11:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789645 -2.614332)'), GeomFromEWKT('SRID=4674;POINT (-39.789647 -2.614335)'))) / (select extract(epoch from '2026-07-22 11:22:36'::timestamp) - extract(epoch from '2026-07-22 11:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789672 -2.614327)', '2026-07-22 11:22:45', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789647 -2.614335)'), GeomFromEWKT('SRID=4674;POINT (-39.789672 -2.614327)'))) / (select extract(epoch from '2026-07-22 11:22:45'::timestamp) - extract(epoch from '2026-07-22 11:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789647 -2.614335)'), GeomFromEWKT('SRID=4674;POINT (-39.789672 -2.614327)'))) / (select extract(epoch from '2026-07-22 11:22:45'::timestamp) - extract(epoch from '2026-07-22 11:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7897 -2.614303)', '2026-07-22 11:22:51', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789672 -2.614327)'), GeomFromEWKT('SRID=4674;POINT (-39.7897 -2.614303)'))) / (select extract(epoch from '2026-07-22 11:22:51'::timestamp) - extract(epoch from '2026-07-22 11:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789672 -2.614327)'), GeomFromEWKT('SRID=4674;POINT (-39.7897 -2.614303)'))) / (select extract(epoch from '2026-07-22 11:22:51'::timestamp) - extract(epoch from '2026-07-22 11:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789711 -2.614298)', '2026-07-22 11:22:53', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7897 -2.614303)'), GeomFromEWKT('SRID=4674;POINT (-39.789711 -2.614298)'))) / (select extract(epoch from '2026-07-22 11:22:53'::timestamp) - extract(epoch from '2026-07-22 11:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7897 -2.614303)'), GeomFromEWKT('SRID=4674;POINT (-39.789711 -2.614298)'))) / (select extract(epoch from '2026-07-22 11:22:53'::timestamp) - extract(epoch from '2026-07-22 11:22:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789729 -2.614265)', '2026-07-22 11:23:00', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789711 -2.614298)'), GeomFromEWKT('SRID=4674;POINT (-39.789729 -2.614265)'))) / (select extract(epoch from '2026-07-22 11:23:00'::timestamp) - extract(epoch from '2026-07-22 11:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789711 -2.614298)'), GeomFromEWKT('SRID=4674;POINT (-39.789729 -2.614265)'))) / (select extract(epoch from '2026-07-22 11:23:00'::timestamp) - extract(epoch from '2026-07-22 11:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789777 -2.614247)', '2026-07-22 11:23:10', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789729 -2.614265)'), GeomFromEWKT('SRID=4674;POINT (-39.789777 -2.614247)'))) / (select extract(epoch from '2026-07-22 11:23:10'::timestamp) - extract(epoch from '2026-07-22 11:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789729 -2.614265)'), GeomFromEWKT('SRID=4674;POINT (-39.789777 -2.614247)'))) / (select extract(epoch from '2026-07-22 11:23:10'::timestamp) - extract(epoch from '2026-07-22 11:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789798 -2.614247)', '2026-07-22 11:23:20', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789777 -2.614247)'), GeomFromEWKT('SRID=4674;POINT (-39.789798 -2.614247)'))) / (select extract(epoch from '2026-07-22 11:23:20'::timestamp) - extract(epoch from '2026-07-22 11:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789777 -2.614247)'), GeomFromEWKT('SRID=4674;POINT (-39.789798 -2.614247)'))) / (select extract(epoch from '2026-07-22 11:23:20'::timestamp) - extract(epoch from '2026-07-22 11:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789815 -2.614232)', '2026-07-22 11:23:26', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789798 -2.614247)'), GeomFromEWKT('SRID=4674;POINT (-39.789815 -2.614232)'))) / (select extract(epoch from '2026-07-22 11:23:26'::timestamp) - extract(epoch from '2026-07-22 11:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789798 -2.614247)'), GeomFromEWKT('SRID=4674;POINT (-39.789815 -2.614232)'))) / (select extract(epoch from '2026-07-22 11:23:26'::timestamp) - extract(epoch from '2026-07-22 11:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789827 -2.614219)', '2026-07-22 11:23:30', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789815 -2.614232)'), GeomFromEWKT('SRID=4674;POINT (-39.789827 -2.614219)'))) / (select extract(epoch from '2026-07-22 11:23:30'::timestamp) - extract(epoch from '2026-07-22 11:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789815 -2.614232)'), GeomFromEWKT('SRID=4674;POINT (-39.789827 -2.614219)'))) / (select extract(epoch from '2026-07-22 11:23:30'::timestamp) - extract(epoch from '2026-07-22 11:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789844 -2.614212)', '2026-07-22 11:23:38', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789827 -2.614219)'), GeomFromEWKT('SRID=4674;POINT (-39.789844 -2.614212)'))) / (select extract(epoch from '2026-07-22 11:23:38'::timestamp) - extract(epoch from '2026-07-22 11:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789827 -2.614219)'), GeomFromEWKT('SRID=4674;POINT (-39.789844 -2.614212)'))) / (select extract(epoch from '2026-07-22 11:23:38'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789846 -2.614229)', '2026-07-22 11:23:43', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789844 -2.614212)'), GeomFromEWKT('SRID=4674;POINT (-39.789846 -2.614229)'))) / (select extract(epoch from '2026-07-22 11:23:43'::timestamp) - extract(epoch from '2026-07-22 11:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789844 -2.614212)'), GeomFromEWKT('SRID=4674;POINT (-39.789846 -2.614229)'))) / (select extract(epoch from '2026-07-22 11:23:43'::timestamp) - extract(epoch from '2026-07-22 11:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789907 -2.614207)', '2026-07-22 11:24:13', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789846 -2.614229)'), GeomFromEWKT('SRID=4674;POINT (-39.789907 -2.614207)'))) / (select extract(epoch from '2026-07-22 11:24:13'::timestamp) - extract(epoch from '2026-07-22 11:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789846 -2.614229)'), GeomFromEWKT('SRID=4674;POINT (-39.789907 -2.614207)'))) / (select extract(epoch from '2026-07-22 11:24:13'::timestamp) - extract(epoch from '2026-07-22 11:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789927 -2.614201)', '2026-07-22 11:24:20', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789907 -2.614207)'), GeomFromEWKT('SRID=4674;POINT (-39.789927 -2.614201)'))) / (select extract(epoch from '2026-07-22 11:24:20'::timestamp) - extract(epoch from '2026-07-22 11:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789907 -2.614207)'), GeomFromEWKT('SRID=4674;POINT (-39.789927 -2.614201)'))) / (select extract(epoch from '2026-07-22 11:24:20'::timestamp) - extract(epoch from '2026-07-22 11:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789869 -2.614244)', '2026-07-22 11:24:55', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789927 -2.614201)'), GeomFromEWKT('SRID=4674;POINT (-39.789869 -2.614244)'))) / (select extract(epoch from '2026-07-22 11:24:55'::timestamp) - extract(epoch from '2026-07-22 11:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789927 -2.614201)'), GeomFromEWKT('SRID=4674;POINT (-39.789869 -2.614244)'))) / (select extract(epoch from '2026-07-22 11:24:55'::timestamp) - extract(epoch from '2026-07-22 11:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789873 -2.614236)', '2026-07-22 11:25:05', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789869 -2.614244)'), GeomFromEWKT('SRID=4674;POINT (-39.789873 -2.614236)'))) / (select extract(epoch from '2026-07-22 11:25:05'::timestamp) - extract(epoch from '2026-07-22 11:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789869 -2.614244)'), GeomFromEWKT('SRID=4674;POINT (-39.789873 -2.614236)'))) / (select extract(epoch from '2026-07-22 11:25:05'::timestamp) - extract(epoch from '2026-07-22 11:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789907 -2.614223)', '2026-07-22 11:25:10', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789873 -2.614236)'), GeomFromEWKT('SRID=4674;POINT (-39.789907 -2.614223)'))) / (select extract(epoch from '2026-07-22 11:25:10'::timestamp) - extract(epoch from '2026-07-22 11:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789873 -2.614236)'), GeomFromEWKT('SRID=4674;POINT (-39.789907 -2.614223)'))) / (select extract(epoch from '2026-07-22 11:25:10'::timestamp) - extract(epoch from '2026-07-22 11:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78993 -2.614202)', '2026-07-22 11:25:16', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789907 -2.614223)'), GeomFromEWKT('SRID=4674;POINT (-39.78993 -2.614202)'))) / (select extract(epoch from '2026-07-22 11:25:16'::timestamp) - extract(epoch from '2026-07-22 11:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789907 -2.614223)'), GeomFromEWKT('SRID=4674;POINT (-39.78993 -2.614202)'))) / (select extract(epoch from '2026-07-22 11:25:16'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.78994 -2.614194)', '2026-07-22 11:25:18', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78993 -2.614202)'), GeomFromEWKT('SRID=4674;POINT (-39.78994 -2.614194)'))) / (select extract(epoch from '2026-07-22 11:25:18'::timestamp) - extract(epoch from '2026-07-22 11:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78993 -2.614202)'), GeomFromEWKT('SRID=4674;POINT (-39.78994 -2.614194)'))) / (select extract(epoch from '2026-07-22 11:25:18'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.789999 -2.614171)', '2026-07-22 11:25:28', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78994 -2.614194)'), GeomFromEWKT('SRID=4674;POINT (-39.789999 -2.614171)'))) / (select extract(epoch from '2026-07-22 11:25:28'::timestamp) - extract(epoch from '2026-07-22 11:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78994 -2.614194)'), GeomFromEWKT('SRID=4674;POINT (-39.789999 -2.614171)'))) / (select extract(epoch from '2026-07-22 11:25:28'::timestamp) - extract(epoch from '2026-07-22 11:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790025 -2.614158)', '2026-07-22 11:25:33', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789999 -2.614171)'), GeomFromEWKT('SRID=4674;POINT (-39.790025 -2.614158)'))) / (select extract(epoch from '2026-07-22 11:25:33'::timestamp) - extract(epoch from '2026-07-22 11:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789999 -2.614171)'), GeomFromEWKT('SRID=4674;POINT (-39.790025 -2.614158)'))) / (select extract(epoch from '2026-07-22 11:25:33'::timestamp) - extract(epoch from '2026-07-22 11:25:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790033 -2.614155)', '2026-07-22 11:25:34', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790025 -2.614158)'), GeomFromEWKT('SRID=4674;POINT (-39.790033 -2.614155)'))) / (select extract(epoch from '2026-07-22 11:25:34'::timestamp) - extract(epoch from '2026-07-22 11:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790025 -2.614158)'), GeomFromEWKT('SRID=4674;POINT (-39.790033 -2.614155)'))) / (select extract(epoch from '2026-07-22 11:25:34'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.790062 -2.614134)', '2026-07-22 11:25:39', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790033 -2.614155)'), GeomFromEWKT('SRID=4674;POINT (-39.790062 -2.614134)'))) / (select extract(epoch from '2026-07-22 11:25:39'::timestamp) - extract(epoch from '2026-07-22 11:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790033 -2.614155)'), GeomFromEWKT('SRID=4674;POINT (-39.790062 -2.614134)'))) / (select extract(epoch from '2026-07-22 11:25:39'::timestamp) - extract(epoch from '2026-07-22 11:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790076 -2.614129)', '2026-07-22 11:25:40', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790062 -2.614134)'), GeomFromEWKT('SRID=4674;POINT (-39.790076 -2.614129)'))) / (select extract(epoch from '2026-07-22 11:25:40'::timestamp) - extract(epoch from '2026-07-22 11:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790062 -2.614134)'), GeomFromEWKT('SRID=4674;POINT (-39.790076 -2.614129)'))) / (select extract(epoch from '2026-07-22 11:25:40'::timestamp) - extract(epoch from '2026-07-22 11:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790111 -2.614113)', '2026-07-22 11:25:45', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790076 -2.614129)'), GeomFromEWKT('SRID=4674;POINT (-39.790111 -2.614113)'))) / (select extract(epoch from '2026-07-22 11:25:45'::timestamp) - extract(epoch from '2026-07-22 11:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790076 -2.614129)'), GeomFromEWKT('SRID=4674;POINT (-39.790111 -2.614113)'))) / (select extract(epoch from '2026-07-22 11:25:45'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.790165 -2.614084)', '2026-07-22 11:25:52', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790111 -2.614113)'), GeomFromEWKT('SRID=4674;POINT (-39.790165 -2.614084)'))) / (select extract(epoch from '2026-07-22 11:25:52'::timestamp) - extract(epoch from '2026-07-22 11:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790111 -2.614113)'), GeomFromEWKT('SRID=4674;POINT (-39.790165 -2.614084)'))) / (select extract(epoch from '2026-07-22 11:25:52'::timestamp) - extract(epoch from '2026-07-22 11:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790211 -2.614036)', '2026-07-22 11:25:59', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790165 -2.614084)'), GeomFromEWKT('SRID=4674;POINT (-39.790211 -2.614036)'))) / (select extract(epoch from '2026-07-22 11:25:59'::timestamp) - extract(epoch from '2026-07-22 11:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790165 -2.614084)'), GeomFromEWKT('SRID=4674;POINT (-39.790211 -2.614036)'))) / (select extract(epoch from '2026-07-22 11:25:59'::timestamp) - extract(epoch from '2026-07-22 11:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790273 -2.613975)', '2026-07-22 11:26:08', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790211 -2.614036)'), GeomFromEWKT('SRID=4674;POINT (-39.790273 -2.613975)'))) / (select extract(epoch from '2026-07-22 11:26:08'::timestamp) - extract(epoch from '2026-07-22 11:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790211 -2.614036)'), GeomFromEWKT('SRID=4674;POINT (-39.790273 -2.613975)'))) / (select extract(epoch from '2026-07-22 11:26:08'::timestamp) - extract(epoch from '2026-07-22 11:25:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790342 -2.613927)', '2026-07-22 11:26:19', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790273 -2.613975)'), GeomFromEWKT('SRID=4674;POINT (-39.790342 -2.613927)'))) / (select extract(epoch from '2026-07-22 11:26:19'::timestamp) - extract(epoch from '2026-07-22 11:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790273 -2.613975)'), GeomFromEWKT('SRID=4674;POINT (-39.790342 -2.613927)'))) / (select extract(epoch from '2026-07-22 11:26:19'::timestamp) - extract(epoch from '2026-07-22 11:26:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790389 -2.613894)', '2026-07-22 11:26:28', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790342 -2.613927)'), GeomFromEWKT('SRID=4674;POINT (-39.790389 -2.613894)'))) / (select extract(epoch from '2026-07-22 11:26:28'::timestamp) - extract(epoch from '2026-07-22 11:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790342 -2.613927)'), GeomFromEWKT('SRID=4674;POINT (-39.790389 -2.613894)'))) / (select extract(epoch from '2026-07-22 11:26:28'::timestamp) - extract(epoch from '2026-07-22 11:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790429 -2.613861)', '2026-07-22 11:26:36', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790389 -2.613894)'), GeomFromEWKT('SRID=4674;POINT (-39.790429 -2.613861)'))) / (select extract(epoch from '2026-07-22 11:26:36'::timestamp) - extract(epoch from '2026-07-22 11:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790389 -2.613894)'), GeomFromEWKT('SRID=4674;POINT (-39.790429 -2.613861)'))) / (select extract(epoch from '2026-07-22 11:26:36'::timestamp) - extract(epoch from '2026-07-22 11:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79046 -2.613846)', '2026-07-22 11:26:40', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790429 -2.613861)'), GeomFromEWKT('SRID=4674;POINT (-39.79046 -2.613846)'))) / (select extract(epoch from '2026-07-22 11:26:40'::timestamp) - extract(epoch from '2026-07-22 11:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790429 -2.613861)'), GeomFromEWKT('SRID=4674;POINT (-39.79046 -2.613846)'))) / (select extract(epoch from '2026-07-22 11:26:40'::timestamp) - extract(epoch from '2026-07-22 11:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790494 -2.613824)', '2026-07-22 11:26:45', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79046 -2.613846)'), GeomFromEWKT('SRID=4674;POINT (-39.790494 -2.613824)'))) / (select extract(epoch from '2026-07-22 11:26:45'::timestamp) - extract(epoch from '2026-07-22 11:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79046 -2.613846)'), GeomFromEWKT('SRID=4674;POINT (-39.790494 -2.613824)'))) / (select extract(epoch from '2026-07-22 11:26:45'::timestamp) - extract(epoch from '2026-07-22 11:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790505 -2.613811)', '2026-07-22 11:26:47', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790494 -2.613824)'), GeomFromEWKT('SRID=4674;POINT (-39.790505 -2.613811)'))) / (select extract(epoch from '2026-07-22 11:26:47'::timestamp) - extract(epoch from '2026-07-22 11:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790494 -2.613824)'), GeomFromEWKT('SRID=4674;POINT (-39.790505 -2.613811)'))) / (select extract(epoch from '2026-07-22 11:26:47'::timestamp) - extract(epoch from '2026-07-22 11:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790523 -2.613798)', '2026-07-22 11:26:51', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790505 -2.613811)'), GeomFromEWKT('SRID=4674;POINT (-39.790523 -2.613798)'))) / (select extract(epoch from '2026-07-22 11:26:51'::timestamp) - extract(epoch from '2026-07-22 11:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790505 -2.613811)'), GeomFromEWKT('SRID=4674;POINT (-39.790523 -2.613798)'))) / (select extract(epoch from '2026-07-22 11:26:51'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.790585 -2.613758)', '2026-07-22 11:27:00', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790523 -2.613798)'), GeomFromEWKT('SRID=4674;POINT (-39.790585 -2.613758)'))) / (select extract(epoch from '2026-07-22 11:27:00'::timestamp) - extract(epoch from '2026-07-22 11:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790523 -2.613798)'), GeomFromEWKT('SRID=4674;POINT (-39.790585 -2.613758)'))) / (select extract(epoch from '2026-07-22 11:27:00'::timestamp) - extract(epoch from '2026-07-22 11:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790623 -2.613734)', '2026-07-22 11:27:06', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790585 -2.613758)'), GeomFromEWKT('SRID=4674;POINT (-39.790623 -2.613734)'))) / (select extract(epoch from '2026-07-22 11:27:06'::timestamp) - extract(epoch from '2026-07-22 11:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790585 -2.613758)'), GeomFromEWKT('SRID=4674;POINT (-39.790623 -2.613734)'))) / (select extract(epoch from '2026-07-22 11:27:06'::timestamp) - extract(epoch from '2026-07-22 11:27:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790635 -2.613727)', '2026-07-22 11:27:07', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790623 -2.613734)'), GeomFromEWKT('SRID=4674;POINT (-39.790635 -2.613727)'))) / (select extract(epoch from '2026-07-22 11:27:07'::timestamp) - extract(epoch from '2026-07-22 11:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790623 -2.613734)'), GeomFromEWKT('SRID=4674;POINT (-39.790635 -2.613727)'))) / (select extract(epoch from '2026-07-22 11:27:07'::timestamp) - extract(epoch from '2026-07-22 11:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790659 -2.613714)', '2026-07-22 11:27:11', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790635 -2.613727)'), GeomFromEWKT('SRID=4674;POINT (-39.790659 -2.613714)'))) / (select extract(epoch from '2026-07-22 11:27:11'::timestamp) - extract(epoch from '2026-07-22 11:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790635 -2.613727)'), GeomFromEWKT('SRID=4674;POINT (-39.790659 -2.613714)'))) / (select extract(epoch from '2026-07-22 11:27:11'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.790675 -2.613705)', '2026-07-22 11:27:13', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790659 -2.613714)'), GeomFromEWKT('SRID=4674;POINT (-39.790675 -2.613705)'))) / (select extract(epoch from '2026-07-22 11:27:13'::timestamp) - extract(epoch from '2026-07-22 11:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790659 -2.613714)'), GeomFromEWKT('SRID=4674;POINT (-39.790675 -2.613705)'))) / (select extract(epoch from '2026-07-22 11:27:13'::timestamp) - extract(epoch from '2026-07-22 11:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790691 -2.613693)', '2026-07-22 11:27:15', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790675 -2.613705)'), GeomFromEWKT('SRID=4674;POINT (-39.790691 -2.613693)'))) / (select extract(epoch from '2026-07-22 11:27:15'::timestamp) - extract(epoch from '2026-07-22 11:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790675 -2.613705)'), GeomFromEWKT('SRID=4674;POINT (-39.790691 -2.613693)'))) / (select extract(epoch from '2026-07-22 11:27:15'::timestamp) - extract(epoch from '2026-07-22 11:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790699 -2.61369)', '2026-07-22 11:27:16', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790691 -2.613693)'), GeomFromEWKT('SRID=4674;POINT (-39.790699 -2.61369)'))) / (select extract(epoch from '2026-07-22 11:27:16'::timestamp) - extract(epoch from '2026-07-22 11:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790691 -2.613693)'), GeomFromEWKT('SRID=4674;POINT (-39.790699 -2.61369)'))) / (select extract(epoch from '2026-07-22 11:27:16'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.790761 -2.613631)', '2026-07-22 11:27:27', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790699 -2.61369)'), GeomFromEWKT('SRID=4674;POINT (-39.790761 -2.613631)'))) / (select extract(epoch from '2026-07-22 11:27:27'::timestamp) - extract(epoch from '2026-07-22 11:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790699 -2.61369)'), GeomFromEWKT('SRID=4674;POINT (-39.790761 -2.613631)'))) / (select extract(epoch from '2026-07-22 11:27:27'::timestamp) - extract(epoch from '2026-07-22 11:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7908 -2.613588)', '2026-07-22 11:27:34', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790761 -2.613631)'), GeomFromEWKT('SRID=4674;POINT (-39.7908 -2.613588)'))) / (select extract(epoch from '2026-07-22 11:27:34'::timestamp) - extract(epoch from '2026-07-22 11:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790761 -2.613631)'), GeomFromEWKT('SRID=4674;POINT (-39.7908 -2.613588)'))) / (select extract(epoch from '2026-07-22 11:27:34'::timestamp) - extract(epoch from '2026-07-22 11:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790824 -2.613579)', '2026-07-22 11:27:36', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7908 -2.613588)'), GeomFromEWKT('SRID=4674;POINT (-39.790824 -2.613579)'))) / (select extract(epoch from '2026-07-22 11:27:36'::timestamp) - extract(epoch from '2026-07-22 11:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7908 -2.613588)'), GeomFromEWKT('SRID=4674;POINT (-39.790824 -2.613579)'))) / (select extract(epoch from '2026-07-22 11:27:36'::timestamp) - extract(epoch from '2026-07-22 11:27:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790837 -2.613551)', '2026-07-22 11:27:41', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790824 -2.613579)'), GeomFromEWKT('SRID=4674;POINT (-39.790837 -2.613551)'))) / (select extract(epoch from '2026-07-22 11:27:41'::timestamp) - extract(epoch from '2026-07-22 11:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790824 -2.613579)'), GeomFromEWKT('SRID=4674;POINT (-39.790837 -2.613551)'))) / (select extract(epoch from '2026-07-22 11:27:41'::timestamp) - extract(epoch from '2026-07-22 11:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790856 -2.613523)', '2026-07-22 11:27:47', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790837 -2.613551)'), GeomFromEWKT('SRID=4674;POINT (-39.790856 -2.613523)'))) / (select extract(epoch from '2026-07-22 11:27:47'::timestamp) - extract(epoch from '2026-07-22 11:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790837 -2.613551)'), GeomFromEWKT('SRID=4674;POINT (-39.790856 -2.613523)'))) / (select extract(epoch from '2026-07-22 11:27:47'::timestamp) - extract(epoch from '2026-07-22 11:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790867 -2.61351)', '2026-07-22 11:27:49', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790856 -2.613523)'), GeomFromEWKT('SRID=4674;POINT (-39.790867 -2.61351)'))) / (select extract(epoch from '2026-07-22 11:27:49'::timestamp) - extract(epoch from '2026-07-22 11:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790856 -2.613523)'), GeomFromEWKT('SRID=4674;POINT (-39.790867 -2.61351)'))) / (select extract(epoch from '2026-07-22 11:27:49'::timestamp) - extract(epoch from '2026-07-22 11:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790917 -2.613474)', '2026-07-22 11:27:57', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790867 -2.61351)'), GeomFromEWKT('SRID=4674;POINT (-39.790917 -2.613474)'))) / (select extract(epoch from '2026-07-22 11:27:57'::timestamp) - extract(epoch from '2026-07-22 11:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790867 -2.61351)'), GeomFromEWKT('SRID=4674;POINT (-39.790917 -2.613474)'))) / (select extract(epoch from '2026-07-22 11:27:57'::timestamp) - extract(epoch from '2026-07-22 11:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790962 -2.613455)', '2026-07-22 11:28:02', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790917 -2.613474)'), GeomFromEWKT('SRID=4674;POINT (-39.790962 -2.613455)'))) / (select extract(epoch from '2026-07-22 11:28:02'::timestamp) - extract(epoch from '2026-07-22 11:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790917 -2.613474)'), GeomFromEWKT('SRID=4674;POINT (-39.790962 -2.613455)'))) / (select extract(epoch from '2026-07-22 11:28:02'::timestamp) - extract(epoch from '2026-07-22 11:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791008 -2.613427)', '2026-07-22 11:28:07', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790962 -2.613455)'), GeomFromEWKT('SRID=4674;POINT (-39.791008 -2.613427)'))) / (select extract(epoch from '2026-07-22 11:28:07'::timestamp) - extract(epoch from '2026-07-22 11:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790962 -2.613455)'), GeomFromEWKT('SRID=4674;POINT (-39.791008 -2.613427)'))) / (select extract(epoch from '2026-07-22 11:28:07'::timestamp) - extract(epoch from '2026-07-22 11:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791014 -2.61342)', '2026-07-22 11:28:08', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791008 -2.613427)'), GeomFromEWKT('SRID=4674;POINT (-39.791014 -2.61342)'))) / (select extract(epoch from '2026-07-22 11:28:08'::timestamp) - extract(epoch from '2026-07-22 11:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791008 -2.613427)'), GeomFromEWKT('SRID=4674;POINT (-39.791014 -2.61342)'))) / (select extract(epoch from '2026-07-22 11:28:08'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.791064 -2.613377)', '2026-07-22 11:28:16', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791014 -2.61342)'), GeomFromEWKT('SRID=4674;POINT (-39.791064 -2.613377)'))) / (select extract(epoch from '2026-07-22 11:28:16'::timestamp) - extract(epoch from '2026-07-22 11:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791014 -2.61342)'), GeomFromEWKT('SRID=4674;POINT (-39.791064 -2.613377)'))) / (select extract(epoch from '2026-07-22 11:28:16'::timestamp) - extract(epoch from '2026-07-22 11:28:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791125 -2.613333)', '2026-07-22 11:28:24', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791064 -2.613377)'), GeomFromEWKT('SRID=4674;POINT (-39.791125 -2.613333)'))) / (select extract(epoch from '2026-07-22 11:28:24'::timestamp) - extract(epoch from '2026-07-22 11:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791064 -2.613377)'), GeomFromEWKT('SRID=4674;POINT (-39.791125 -2.613333)'))) / (select extract(epoch from '2026-07-22 11:28:24'::timestamp) - extract(epoch from '2026-07-22 11:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791195 -2.613286)', '2026-07-22 11:28:34', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791125 -2.613333)'), GeomFromEWKT('SRID=4674;POINT (-39.791195 -2.613286)'))) / (select extract(epoch from '2026-07-22 11:28:34'::timestamp) - extract(epoch from '2026-07-22 11:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791125 -2.613333)'), GeomFromEWKT('SRID=4674;POINT (-39.791195 -2.613286)'))) / (select extract(epoch from '2026-07-22 11:28:34'::timestamp) - extract(epoch from '2026-07-22 11:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791244 -2.613241)', '2026-07-22 11:28:42', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791195 -2.613286)'), GeomFromEWKT('SRID=4674;POINT (-39.791244 -2.613241)'))) / (select extract(epoch from '2026-07-22 11:28:42'::timestamp) - extract(epoch from '2026-07-22 11:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791195 -2.613286)'), GeomFromEWKT('SRID=4674;POINT (-39.791244 -2.613241)'))) / (select extract(epoch from '2026-07-22 11:28:42'::timestamp) - extract(epoch from '2026-07-22 11:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791254 -2.613238)', '2026-07-22 11:28:43', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791244 -2.613241)'), GeomFromEWKT('SRID=4674;POINT (-39.791254 -2.613238)'))) / (select extract(epoch from '2026-07-22 11:28:43'::timestamp) - extract(epoch from '2026-07-22 11:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791244 -2.613241)'), GeomFromEWKT('SRID=4674;POINT (-39.791254 -2.613238)'))) / (select extract(epoch from '2026-07-22 11:28:43'::timestamp) - extract(epoch from '2026-07-22 11:28:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791271 -2.613231)', '2026-07-22 11:28:45', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791254 -2.613238)'), GeomFromEWKT('SRID=4674;POINT (-39.791271 -2.613231)'))) / (select extract(epoch from '2026-07-22 11:28:45'::timestamp) - extract(epoch from '2026-07-22 11:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791254 -2.613238)'), GeomFromEWKT('SRID=4674;POINT (-39.791271 -2.613231)'))) / (select extract(epoch from '2026-07-22 11:28:45'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.79129 -2.61321)', '2026-07-22 11:28:48', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791271 -2.613231)'), GeomFromEWKT('SRID=4674;POINT (-39.79129 -2.61321)'))) / (select extract(epoch from '2026-07-22 11:28:48'::timestamp) - extract(epoch from '2026-07-22 11:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791271 -2.613231)'), GeomFromEWKT('SRID=4674;POINT (-39.79129 -2.61321)'))) / (select extract(epoch from '2026-07-22 11:28:48'::timestamp) - extract(epoch from '2026-07-22 11:28:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791296 -2.613203)', '2026-07-22 11:28:49', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79129 -2.61321)'), GeomFromEWKT('SRID=4674;POINT (-39.791296 -2.613203)'))) / (select extract(epoch from '2026-07-22 11:28:49'::timestamp) - extract(epoch from '2026-07-22 11:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79129 -2.61321)'), GeomFromEWKT('SRID=4674;POINT (-39.791296 -2.613203)'))) / (select extract(epoch from '2026-07-22 11:28:49'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.791341 -2.613167)', '2026-07-22 11:28:55', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791296 -2.613203)'), GeomFromEWKT('SRID=4674;POINT (-39.791341 -2.613167)'))) / (select extract(epoch from '2026-07-22 11:28:55'::timestamp) - extract(epoch from '2026-07-22 11:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791296 -2.613203)'), GeomFromEWKT('SRID=4674;POINT (-39.791341 -2.613167)'))) / (select extract(epoch from '2026-07-22 11:28:55'::timestamp) - extract(epoch from '2026-07-22 11:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791365 -2.613139)', '2026-07-22 11:29:00', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791341 -2.613167)'), GeomFromEWKT('SRID=4674;POINT (-39.791365 -2.613139)'))) / (select extract(epoch from '2026-07-22 11:29:00'::timestamp) - extract(epoch from '2026-07-22 11:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791341 -2.613167)'), GeomFromEWKT('SRID=4674;POINT (-39.791365 -2.613139)'))) / (select extract(epoch from '2026-07-22 11:29:00'::timestamp) - extract(epoch from '2026-07-22 11:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791384 -2.613132)', '2026-07-22 11:29:02', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791365 -2.613139)'), GeomFromEWKT('SRID=4674;POINT (-39.791384 -2.613132)'))) / (select extract(epoch from '2026-07-22 11:29:02'::timestamp) - extract(epoch from '2026-07-22 11:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791365 -2.613139)'), GeomFromEWKT('SRID=4674;POINT (-39.791384 -2.613132)'))) / (select extract(epoch from '2026-07-22 11:29:02'::timestamp) - extract(epoch from '2026-07-22 11:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791427 -2.613101)', '2026-07-22 11:29:08', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791384 -2.613132)'), GeomFromEWKT('SRID=4674;POINT (-39.791427 -2.613101)'))) / (select extract(epoch from '2026-07-22 11:29:08'::timestamp) - extract(epoch from '2026-07-22 11:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791384 -2.613132)'), GeomFromEWKT('SRID=4674;POINT (-39.791427 -2.613101)'))) / (select extract(epoch from '2026-07-22 11:29:08'::timestamp) - extract(epoch from '2026-07-22 11:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791477 -2.613062)', '2026-07-22 11:29:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791427 -2.613101)'), GeomFromEWKT('SRID=4674;POINT (-39.791477 -2.613062)'))) / (select extract(epoch from '2026-07-22 11:29:15'::timestamp) - extract(epoch from '2026-07-22 11:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791427 -2.613101)'), GeomFromEWKT('SRID=4674;POINT (-39.791477 -2.613062)'))) / (select extract(epoch from '2026-07-22 11:29:15'::timestamp) - extract(epoch from '2026-07-22 11:29:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791543 -2.613007)', '2026-07-22 11:29:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791477 -2.613062)'), GeomFromEWKT('SRID=4674;POINT (-39.791543 -2.613007)'))) / (select extract(epoch from '2026-07-22 11:29:25'::timestamp) - extract(epoch from '2026-07-22 11:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791477 -2.613062)'), GeomFromEWKT('SRID=4674;POINT (-39.791543 -2.613007)'))) / (select extract(epoch from '2026-07-22 11:29:25'::timestamp) - extract(epoch from '2026-07-22 11:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791607 -2.612966)', '2026-07-22 11:29:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791543 -2.613007)'), GeomFromEWKT('SRID=4674;POINT (-39.791607 -2.612966)'))) / (select extract(epoch from '2026-07-22 11:29:33'::timestamp) - extract(epoch from '2026-07-22 11:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791543 -2.613007)'), GeomFromEWKT('SRID=4674;POINT (-39.791607 -2.612966)'))) / (select extract(epoch from '2026-07-22 11:29:33'::timestamp) - extract(epoch from '2026-07-22 11:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791653 -2.61294)', '2026-07-22 11:29:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791607 -2.612966)'), GeomFromEWKT('SRID=4674;POINT (-39.791653 -2.61294)'))) / (select extract(epoch from '2026-07-22 11:29:39'::timestamp) - extract(epoch from '2026-07-22 11:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791607 -2.612966)'), GeomFromEWKT('SRID=4674;POINT (-39.791653 -2.61294)'))) / (select extract(epoch from '2026-07-22 11:29:39'::timestamp) - extract(epoch from '2026-07-22 11:29:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791717 -2.612903)', '2026-07-22 11:29:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791653 -2.61294)'), GeomFromEWKT('SRID=4674;POINT (-39.791717 -2.612903)'))) / (select extract(epoch from '2026-07-22 11:29:49'::timestamp) - extract(epoch from '2026-07-22 11:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791653 -2.61294)'), GeomFromEWKT('SRID=4674;POINT (-39.791717 -2.612903)'))) / (select extract(epoch from '2026-07-22 11:29:49'::timestamp) - extract(epoch from '2026-07-22 11:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791768 -2.612864)', '2026-07-22 11:29:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791717 -2.612903)'), GeomFromEWKT('SRID=4674;POINT (-39.791768 -2.612864)'))) / (select extract(epoch from '2026-07-22 11:29:59'::timestamp) - extract(epoch from '2026-07-22 11:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791717 -2.612903)'), GeomFromEWKT('SRID=4674;POINT (-39.791768 -2.612864)'))) / (select extract(epoch from '2026-07-22 11:29:59'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.791837 -2.612803)', '2026-07-22 11:30:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791768 -2.612864)'), GeomFromEWKT('SRID=4674;POINT (-39.791837 -2.612803)'))) / (select extract(epoch from '2026-07-22 11:30:11'::timestamp) - extract(epoch from '2026-07-22 11:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791768 -2.612864)'), GeomFromEWKT('SRID=4674;POINT (-39.791837 -2.612803)'))) / (select extract(epoch from '2026-07-22 11:30:11'::timestamp) - extract(epoch from '2026-07-22 11:29:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791858 -2.612787)', '2026-07-22 11:30:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791837 -2.612803)'), GeomFromEWKT('SRID=4674;POINT (-39.791858 -2.612787)'))) / (select extract(epoch from '2026-07-22 11:30:14'::timestamp) - extract(epoch from '2026-07-22 11:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791837 -2.612803)'), GeomFromEWKT('SRID=4674;POINT (-39.791858 -2.612787)'))) / (select extract(epoch from '2026-07-22 11:30:14'::timestamp) - extract(epoch from '2026-07-22 11:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791884 -2.612771)', '2026-07-22 11:30:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791858 -2.612787)'), GeomFromEWKT('SRID=4674;POINT (-39.791884 -2.612771)'))) / (select extract(epoch from '2026-07-22 11:30:18'::timestamp) - extract(epoch from '2026-07-22 11:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791858 -2.612787)'), GeomFromEWKT('SRID=4674;POINT (-39.791884 -2.612771)'))) / (select extract(epoch from '2026-07-22 11:30:18'::timestamp) - extract(epoch from '2026-07-22 11:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791966 -2.61271)', '2026-07-22 11:30:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791884 -2.612771)'), GeomFromEWKT('SRID=4674;POINT (-39.791966 -2.61271)'))) / (select extract(epoch from '2026-07-22 11:30:30'::timestamp) - extract(epoch from '2026-07-22 11:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791884 -2.612771)'), GeomFromEWKT('SRID=4674;POINT (-39.791966 -2.61271)'))) / (select extract(epoch from '2026-07-22 11:30:30'::timestamp) - extract(epoch from '2026-07-22 11:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792018 -2.612674)', '2026-07-22 11:30:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791966 -2.61271)'), GeomFromEWKT('SRID=4674;POINT (-39.792018 -2.612674)'))) / (select extract(epoch from '2026-07-22 11:30:37'::timestamp) - extract(epoch from '2026-07-22 11:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791966 -2.61271)'), GeomFromEWKT('SRID=4674;POINT (-39.792018 -2.612674)'))) / (select extract(epoch from '2026-07-22 11:30:37'::timestamp) - extract(epoch from '2026-07-22 11:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792073 -2.612642)', '2026-07-22 11:30:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792018 -2.612674)'), GeomFromEWKT('SRID=4674;POINT (-39.792073 -2.612642)'))) / (select extract(epoch from '2026-07-22 11:30:45'::timestamp) - extract(epoch from '2026-07-22 11:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792018 -2.612674)'), GeomFromEWKT('SRID=4674;POINT (-39.792073 -2.612642)'))) / (select extract(epoch from '2026-07-22 11:30:45'::timestamp) - extract(epoch from '2026-07-22 11:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792129 -2.612608)', '2026-07-22 11:30:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792073 -2.612642)'), GeomFromEWKT('SRID=4674;POINT (-39.792129 -2.612608)'))) / (select extract(epoch from '2026-07-22 11:30:54'::timestamp) - extract(epoch from '2026-07-22 11:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792073 -2.612642)'), GeomFromEWKT('SRID=4674;POINT (-39.792129 -2.612608)'))) / (select extract(epoch from '2026-07-22 11:30:54'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.792134 -2.612606)', '2026-07-22 11:30:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792129 -2.612608)'), GeomFromEWKT('SRID=4674;POINT (-39.792134 -2.612606)'))) / (select extract(epoch from '2026-07-22 11:30:55'::timestamp) - extract(epoch from '2026-07-22 11:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792129 -2.612608)'), GeomFromEWKT('SRID=4674;POINT (-39.792134 -2.612606)'))) / (select extract(epoch from '2026-07-22 11:30:55'::timestamp) - extract(epoch from '2026-07-22 11:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792186 -2.612567)', '2026-07-22 11:31:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792134 -2.612606)'), GeomFromEWKT('SRID=4674;POINT (-39.792186 -2.612567)'))) / (select extract(epoch from '2026-07-22 11:31:03'::timestamp) - extract(epoch from '2026-07-22 11:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792134 -2.612606)'), GeomFromEWKT('SRID=4674;POINT (-39.792186 -2.612567)'))) / (select extract(epoch from '2026-07-22 11:31:03'::timestamp) - extract(epoch from '2026-07-22 11:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792233 -2.61253)', '2026-07-22 11:31:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792186 -2.612567)'), GeomFromEWKT('SRID=4674;POINT (-39.792233 -2.61253)'))) / (select extract(epoch from '2026-07-22 11:31:10'::timestamp) - extract(epoch from '2026-07-22 11:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792186 -2.612567)'), GeomFromEWKT('SRID=4674;POINT (-39.792233 -2.61253)'))) / (select extract(epoch from '2026-07-22 11:31:10'::timestamp) - extract(epoch from '2026-07-22 11:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792306 -2.612485)', '2026-07-22 11:31:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792233 -2.61253)'), GeomFromEWKT('SRID=4674;POINT (-39.792306 -2.612485)'))) / (select extract(epoch from '2026-07-22 11:31:20'::timestamp) - extract(epoch from '2026-07-22 11:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792233 -2.61253)'), GeomFromEWKT('SRID=4674;POINT (-39.792306 -2.612485)'))) / (select extract(epoch from '2026-07-22 11:31:20'::timestamp) - extract(epoch from '2026-07-22 11:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792371 -2.61245)', '2026-07-22 11:31:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792306 -2.612485)'), GeomFromEWKT('SRID=4674;POINT (-39.792371 -2.61245)'))) / (select extract(epoch from '2026-07-22 11:31:29'::timestamp) - extract(epoch from '2026-07-22 11:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792306 -2.612485)'), GeomFromEWKT('SRID=4674;POINT (-39.792371 -2.61245)'))) / (select extract(epoch from '2026-07-22 11:31:29'::timestamp) - extract(epoch from '2026-07-22 11:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792421 -2.612425)', '2026-07-22 11:31:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792371 -2.61245)'), GeomFromEWKT('SRID=4674;POINT (-39.792421 -2.612425)'))) / (select extract(epoch from '2026-07-22 11:31:37'::timestamp) - extract(epoch from '2026-07-22 11:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792371 -2.61245)'), GeomFromEWKT('SRID=4674;POINT (-39.792421 -2.612425)'))) / (select extract(epoch from '2026-07-22 11:31:37'::timestamp) - extract(epoch from '2026-07-22 11:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792476 -2.612385)', '2026-07-22 11:31:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792421 -2.612425)'), GeomFromEWKT('SRID=4674;POINT (-39.792476 -2.612385)'))) / (select extract(epoch from '2026-07-22 11:31:47'::timestamp) - extract(epoch from '2026-07-22 11:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792421 -2.612425)'), GeomFromEWKT('SRID=4674;POINT (-39.792476 -2.612385)'))) / (select extract(epoch from '2026-07-22 11:31:47'::timestamp) - extract(epoch from '2026-07-22 11:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792529 -2.612347)', '2026-07-22 11:31:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792476 -2.612385)'), GeomFromEWKT('SRID=4674;POINT (-39.792529 -2.612347)'))) / (select extract(epoch from '2026-07-22 11:31:55'::timestamp) - extract(epoch from '2026-07-22 11:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792476 -2.612385)'), GeomFromEWKT('SRID=4674;POINT (-39.792529 -2.612347)'))) / (select extract(epoch from '2026-07-22 11:31:55'::timestamp) - extract(epoch from '2026-07-22 11:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792562 -2.612318)', '2026-07-22 11:32:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792529 -2.612347)'), GeomFromEWKT('SRID=4674;POINT (-39.792562 -2.612318)'))) / (select extract(epoch from '2026-07-22 11:32:00'::timestamp) - extract(epoch from '2026-07-22 11:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792529 -2.612347)'), GeomFromEWKT('SRID=4674;POINT (-39.792562 -2.612318)'))) / (select extract(epoch from '2026-07-22 11:32:00'::timestamp) - extract(epoch from '2026-07-22 11:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792573 -2.612302)', '2026-07-22 11:32:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792562 -2.612318)'), GeomFromEWKT('SRID=4674;POINT (-39.792573 -2.612302)'))) / (select extract(epoch from '2026-07-22 11:32:02'::timestamp) - extract(epoch from '2026-07-22 11:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792562 -2.612318)'), GeomFromEWKT('SRID=4674;POINT (-39.792573 -2.612302)'))) / (select extract(epoch from '2026-07-22 11:32:02'::timestamp) - extract(epoch from '2026-07-22 11:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79259 -2.612289)', '2026-07-22 11:32:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792573 -2.612302)'), GeomFromEWKT('SRID=4674;POINT (-39.79259 -2.612289)'))) / (select extract(epoch from '2026-07-22 11:32:06'::timestamp) - extract(epoch from '2026-07-22 11:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792573 -2.612302)'), GeomFromEWKT('SRID=4674;POINT (-39.79259 -2.612289)'))) / (select extract(epoch from '2026-07-22 11:32:06'::timestamp) - extract(epoch from '2026-07-22 11:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792626 -2.612254)', '2026-07-22 11:32:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79259 -2.612289)'), GeomFromEWKT('SRID=4674;POINT (-39.792626 -2.612254)'))) / (select extract(epoch from '2026-07-22 11:32:12'::timestamp) - extract(epoch from '2026-07-22 11:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79259 -2.612289)'), GeomFromEWKT('SRID=4674;POINT (-39.792626 -2.612254)'))) / (select extract(epoch from '2026-07-22 11:32:12'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.792678 -2.612194)', '2026-07-22 11:32:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792626 -2.612254)'), GeomFromEWKT('SRID=4674;POINT (-39.792678 -2.612194)'))) / (select extract(epoch from '2026-07-22 11:32:20'::timestamp) - extract(epoch from '2026-07-22 11:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792626 -2.612254)'), GeomFromEWKT('SRID=4674;POINT (-39.792678 -2.612194)'))) / (select extract(epoch from '2026-07-22 11:32:20'::timestamp) - extract(epoch from '2026-07-22 11:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792702 -2.612169)', '2026-07-22 11:32:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792678 -2.612194)'), GeomFromEWKT('SRID=4674;POINT (-39.792702 -2.612169)'))) / (select extract(epoch from '2026-07-22 11:32:25'::timestamp) - extract(epoch from '2026-07-22 11:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792678 -2.612194)'), GeomFromEWKT('SRID=4674;POINT (-39.792702 -2.612169)'))) / (select extract(epoch from '2026-07-22 11:32:25'::timestamp) - extract(epoch from '2026-07-22 11:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792767 -2.612107)', '2026-07-22 11:32:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792702 -2.612169)'), GeomFromEWKT('SRID=4674;POINT (-39.792767 -2.612107)'))) / (select extract(epoch from '2026-07-22 11:32:36'::timestamp) - extract(epoch from '2026-07-22 11:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792702 -2.612169)'), GeomFromEWKT('SRID=4674;POINT (-39.792767 -2.612107)'))) / (select extract(epoch from '2026-07-22 11:32:36'::timestamp) - extract(epoch from '2026-07-22 11:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792815 -2.612061)', '2026-07-22 11:32:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792767 -2.612107)'), GeomFromEWKT('SRID=4674;POINT (-39.792815 -2.612061)'))) / (select extract(epoch from '2026-07-22 11:32:46'::timestamp) - extract(epoch from '2026-07-22 11:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792767 -2.612107)'), GeomFromEWKT('SRID=4674;POINT (-39.792815 -2.612061)'))) / (select extract(epoch from '2026-07-22 11:32:46'::timestamp) - extract(epoch from '2026-07-22 11:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792857 -2.612029)', '2026-07-22 11:32:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792815 -2.612061)'), GeomFromEWKT('SRID=4674;POINT (-39.792857 -2.612029)'))) / (select extract(epoch from '2026-07-22 11:32:54'::timestamp) - extract(epoch from '2026-07-22 11:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792815 -2.612061)'), GeomFromEWKT('SRID=4674;POINT (-39.792857 -2.612029)'))) / (select extract(epoch from '2026-07-22 11:32:54'::timestamp) - extract(epoch from '2026-07-22 11:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792892 -2.612015)', '2026-07-22 11:32:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792857 -2.612029)'), GeomFromEWKT('SRID=4674;POINT (-39.792892 -2.612015)'))) / (select extract(epoch from '2026-07-22 11:32:59'::timestamp) - extract(epoch from '2026-07-22 11:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792857 -2.612029)'), GeomFromEWKT('SRID=4674;POINT (-39.792892 -2.612015)'))) / (select extract(epoch from '2026-07-22 11:32:59'::timestamp) - extract(epoch from '2026-07-22 11:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792901 -2.612011)', '2026-07-22 11:33:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792892 -2.612015)'), GeomFromEWKT('SRID=4674;POINT (-39.792901 -2.612011)'))) / (select extract(epoch from '2026-07-22 11:33:00'::timestamp) - extract(epoch from '2026-07-22 11:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792892 -2.612015)'), GeomFromEWKT('SRID=4674;POINT (-39.792901 -2.612011)'))) / (select extract(epoch from '2026-07-22 11:33:00'::timestamp) - extract(epoch from '2026-07-22 11:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792946 -2.611979)', '2026-07-22 11:33:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792901 -2.612011)'), GeomFromEWKT('SRID=4674;POINT (-39.792946 -2.611979)'))) / (select extract(epoch from '2026-07-22 11:33:07'::timestamp) - extract(epoch from '2026-07-22 11:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792901 -2.612011)'), GeomFromEWKT('SRID=4674;POINT (-39.792946 -2.611979)'))) / (select extract(epoch from '2026-07-22 11:33:07'::timestamp) - extract(epoch from '2026-07-22 11:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792968 -2.611965)', '2026-07-22 11:33:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792946 -2.611979)'), GeomFromEWKT('SRID=4674;POINT (-39.792968 -2.611965)'))) / (select extract(epoch from '2026-07-22 11:33:10'::timestamp) - extract(epoch from '2026-07-22 11:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792946 -2.611979)'), GeomFromEWKT('SRID=4674;POINT (-39.792968 -2.611965)'))) / (select extract(epoch from '2026-07-22 11:33:10'::timestamp) - extract(epoch from '2026-07-22 11:33:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792987 -2.611956)', '2026-07-22 11:33:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792968 -2.611965)'), GeomFromEWKT('SRID=4674;POINT (-39.792987 -2.611956)'))) / (select extract(epoch from '2026-07-22 11:33:12'::timestamp) - extract(epoch from '2026-07-22 11:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792968 -2.611965)'), GeomFromEWKT('SRID=4674;POINT (-39.792987 -2.611956)'))) / (select extract(epoch from '2026-07-22 11:33:12'::timestamp) - extract(epoch from '2026-07-22 11:33:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792997 -2.611942)', '2026-07-22 11:33:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792987 -2.611956)'), GeomFromEWKT('SRID=4674;POINT (-39.792997 -2.611942)'))) / (select extract(epoch from '2026-07-22 11:33:14'::timestamp) - extract(epoch from '2026-07-22 11:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792987 -2.611956)'), GeomFromEWKT('SRID=4674;POINT (-39.792997 -2.611942)'))) / (select extract(epoch from '2026-07-22 11:33:14'::timestamp) - extract(epoch from '2026-07-22 11:33:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793049 -2.611893)', '2026-07-22 11:33:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792997 -2.611942)'), GeomFromEWKT('SRID=4674;POINT (-39.793049 -2.611893)'))) / (select extract(epoch from '2026-07-22 11:33:24'::timestamp) - extract(epoch from '2026-07-22 11:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792997 -2.611942)'), GeomFromEWKT('SRID=4674;POINT (-39.793049 -2.611893)'))) / (select extract(epoch from '2026-07-22 11:33:24'::timestamp) - extract(epoch from '2026-07-22 11:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793101 -2.611844)', '2026-07-22 11:33:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793049 -2.611893)'), GeomFromEWKT('SRID=4674;POINT (-39.793101 -2.611844)'))) / (select extract(epoch from '2026-07-22 11:33:34'::timestamp) - extract(epoch from '2026-07-22 11:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793049 -2.611893)'), GeomFromEWKT('SRID=4674;POINT (-39.793101 -2.611844)'))) / (select extract(epoch from '2026-07-22 11:33:34'::timestamp) - extract(epoch from '2026-07-22 11:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793124 -2.611823)', '2026-07-22 11:33:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793101 -2.611844)'), GeomFromEWKT('SRID=4674;POINT (-39.793124 -2.611823)'))) / (select extract(epoch from '2026-07-22 11:33:39'::timestamp) - extract(epoch from '2026-07-22 11:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793101 -2.611844)'), GeomFromEWKT('SRID=4674;POINT (-39.793124 -2.611823)'))) / (select extract(epoch from '2026-07-22 11:33:39'::timestamp) - extract(epoch from '2026-07-22 11:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793142 -2.611811)', '2026-07-22 11:33:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793124 -2.611823)'), GeomFromEWKT('SRID=4674;POINT (-39.793142 -2.611811)'))) / (select extract(epoch from '2026-07-22 11:33:42'::timestamp) - extract(epoch from '2026-07-22 11:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793124 -2.611823)'), GeomFromEWKT('SRID=4674;POINT (-39.793142 -2.611811)'))) / (select extract(epoch from '2026-07-22 11:33:42'::timestamp) - extract(epoch from '2026-07-22 11:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793187 -2.611784)', '2026-07-22 11:33:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793142 -2.611811)'), GeomFromEWKT('SRID=4674;POINT (-39.793187 -2.611784)'))) / (select extract(epoch from '2026-07-22 11:33:48'::timestamp) - extract(epoch from '2026-07-22 11:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793142 -2.611811)'), GeomFromEWKT('SRID=4674;POINT (-39.793187 -2.611784)'))) / (select extract(epoch from '2026-07-22 11:33:48'::timestamp) - extract(epoch from '2026-07-22 11:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793244 -2.611747)', '2026-07-22 11:33:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793187 -2.611784)'), GeomFromEWKT('SRID=4674;POINT (-39.793244 -2.611747)'))) / (select extract(epoch from '2026-07-22 11:33:56'::timestamp) - extract(epoch from '2026-07-22 11:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793187 -2.611784)'), GeomFromEWKT('SRID=4674;POINT (-39.793244 -2.611747)'))) / (select extract(epoch from '2026-07-22 11:33:56'::timestamp) - extract(epoch from '2026-07-22 11:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793283 -2.611727)', '2026-07-22 11:34:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793244 -2.611747)'), GeomFromEWKT('SRID=4674;POINT (-39.793283 -2.611727)'))) / (select extract(epoch from '2026-07-22 11:34:01'::timestamp) - extract(epoch from '2026-07-22 11:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793244 -2.611747)'), GeomFromEWKT('SRID=4674;POINT (-39.793283 -2.611727)'))) / (select extract(epoch from '2026-07-22 11:34:01'::timestamp) - extract(epoch from '2026-07-22 11:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793305 -2.6117)', '2026-07-22 11:34:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793283 -2.611727)'), GeomFromEWKT('SRID=4674;POINT (-39.793305 -2.6117)'))) / (select extract(epoch from '2026-07-22 11:34:06'::timestamp) - extract(epoch from '2026-07-22 11:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793283 -2.611727)'), GeomFromEWKT('SRID=4674;POINT (-39.793305 -2.6117)'))) / (select extract(epoch from '2026-07-22 11:34:06'::timestamp) - extract(epoch from '2026-07-22 11:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793322 -2.611691)', '2026-07-22 11:34:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793305 -2.6117)'), GeomFromEWKT('SRID=4674;POINT (-39.793322 -2.611691)'))) / (select extract(epoch from '2026-07-22 11:34:08'::timestamp) - extract(epoch from '2026-07-22 11:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793305 -2.6117)'), GeomFromEWKT('SRID=4674;POINT (-39.793322 -2.611691)'))) / (select extract(epoch from '2026-07-22 11:34:08'::timestamp) - extract(epoch from '2026-07-22 11:34:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793347 -2.611653)', '2026-07-22 11:34:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793322 -2.611691)'), GeomFromEWKT('SRID=4674;POINT (-39.793347 -2.611653)'))) / (select extract(epoch from '2026-07-22 11:34:14'::timestamp) - extract(epoch from '2026-07-22 11:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793322 -2.611691)'), GeomFromEWKT('SRID=4674;POINT (-39.793347 -2.611653)'))) / (select extract(epoch from '2026-07-22 11:34:14'::timestamp) - extract(epoch from '2026-07-22 11:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79336 -2.611643)', '2026-07-22 11:34:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793347 -2.611653)'), GeomFromEWKT('SRID=4674;POINT (-39.79336 -2.611643)'))) / (select extract(epoch from '2026-07-22 11:34:16'::timestamp) - extract(epoch from '2026-07-22 11:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793347 -2.611653)'), GeomFromEWKT('SRID=4674;POINT (-39.79336 -2.611643)'))) / (select extract(epoch from '2026-07-22 11:34:16'::timestamp) - extract(epoch from '2026-07-22 11:34:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793374 -2.611618)', '2026-07-22 11:34:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79336 -2.611643)'), GeomFromEWKT('SRID=4674;POINT (-39.793374 -2.611618)'))) / (select extract(epoch from '2026-07-22 11:34:20'::timestamp) - extract(epoch from '2026-07-22 11:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79336 -2.611643)'), GeomFromEWKT('SRID=4674;POINT (-39.793374 -2.611618)'))) / (select extract(epoch from '2026-07-22 11:34:20'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.793413 -2.611577)', '2026-07-22 11:34:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793374 -2.611618)'), GeomFromEWKT('SRID=4674;POINT (-39.793413 -2.611577)'))) / (select extract(epoch from '2026-07-22 11:34:28'::timestamp) - extract(epoch from '2026-07-22 11:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793374 -2.611618)'), GeomFromEWKT('SRID=4674;POINT (-39.793413 -2.611577)'))) / (select extract(epoch from '2026-07-22 11:34:28'::timestamp) - extract(epoch from '2026-07-22 11:34:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793469 -2.611531)', '2026-07-22 11:34:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793413 -2.611577)'), GeomFromEWKT('SRID=4674;POINT (-39.793469 -2.611531)'))) / (select extract(epoch from '2026-07-22 11:34:38'::timestamp) - extract(epoch from '2026-07-22 11:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793413 -2.611577)'), GeomFromEWKT('SRID=4674;POINT (-39.793469 -2.611531)'))) / (select extract(epoch from '2026-07-22 11:34:38'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.79352 -2.61149)', '2026-07-22 11:34:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793469 -2.611531)'), GeomFromEWKT('SRID=4674;POINT (-39.79352 -2.61149)'))) / (select extract(epoch from '2026-07-22 11:34:46'::timestamp) - extract(epoch from '2026-07-22 11:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793469 -2.611531)'), GeomFromEWKT('SRID=4674;POINT (-39.79352 -2.61149)'))) / (select extract(epoch from '2026-07-22 11:34:46'::timestamp) - extract(epoch from '2026-07-22 11:34:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793586 -2.611451)', '2026-07-22 11:34:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79352 -2.61149)'), GeomFromEWKT('SRID=4674;POINT (-39.793586 -2.611451)'))) / (select extract(epoch from '2026-07-22 11:34:56'::timestamp) - extract(epoch from '2026-07-22 11:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79352 -2.61149)'), GeomFromEWKT('SRID=4674;POINT (-39.793586 -2.611451)'))) / (select extract(epoch from '2026-07-22 11:34:56'::timestamp) - extract(epoch from '2026-07-22 11:34:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793643 -2.611403)', '2026-07-22 11:35:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793586 -2.611451)'), GeomFromEWKT('SRID=4674;POINT (-39.793643 -2.611403)'))) / (select extract(epoch from '2026-07-22 11:35:06'::timestamp) - extract(epoch from '2026-07-22 11:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793586 -2.611451)'), GeomFromEWKT('SRID=4674;POINT (-39.793643 -2.611403)'))) / (select extract(epoch from '2026-07-22 11:35:06'::timestamp) - extract(epoch from '2026-07-22 11:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793688 -2.611352)', '2026-07-22 11:35:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793643 -2.611403)'), GeomFromEWKT('SRID=4674;POINT (-39.793688 -2.611352)'))) / (select extract(epoch from '2026-07-22 11:35:16'::timestamp) - extract(epoch from '2026-07-22 11:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793643 -2.611403)'), GeomFromEWKT('SRID=4674;POINT (-39.793688 -2.611352)'))) / (select extract(epoch from '2026-07-22 11:35:16'::timestamp) - extract(epoch from '2026-07-22 11:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793752 -2.611276)', '2026-07-22 11:35:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793688 -2.611352)'), GeomFromEWKT('SRID=4674;POINT (-39.793752 -2.611276)'))) / (select extract(epoch from '2026-07-22 11:35:28'::timestamp) - extract(epoch from '2026-07-22 11:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793688 -2.611352)'), GeomFromEWKT('SRID=4674;POINT (-39.793752 -2.611276)'))) / (select extract(epoch from '2026-07-22 11:35:28'::timestamp) - extract(epoch from '2026-07-22 11:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7938 -2.611233)', '2026-07-22 11:35:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793752 -2.611276)'), GeomFromEWKT('SRID=4674;POINT (-39.7938 -2.611233)'))) / (select extract(epoch from '2026-07-22 11:35:36'::timestamp) - extract(epoch from '2026-07-22 11:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793752 -2.611276)'), GeomFromEWKT('SRID=4674;POINT (-39.7938 -2.611233)'))) / (select extract(epoch from '2026-07-22 11:35:36'::timestamp) - extract(epoch from '2026-07-22 11:35:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793807 -2.611227)', '2026-07-22 11:35:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7938 -2.611233)'), GeomFromEWKT('SRID=4674;POINT (-39.793807 -2.611227)'))) / (select extract(epoch from '2026-07-22 11:35:37'::timestamp) - extract(epoch from '2026-07-22 11:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7938 -2.611233)'), GeomFromEWKT('SRID=4674;POINT (-39.793807 -2.611227)'))) / (select extract(epoch from '2026-07-22 11:35:37'::timestamp) - extract(epoch from '2026-07-22 11:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79382 -2.611216)', '2026-07-22 11:35:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793807 -2.611227)'), GeomFromEWKT('SRID=4674;POINT (-39.79382 -2.611216)'))) / (select extract(epoch from '2026-07-22 11:35:40'::timestamp) - extract(epoch from '2026-07-22 11:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793807 -2.611227)'), GeomFromEWKT('SRID=4674;POINT (-39.79382 -2.611216)'))) / (select extract(epoch from '2026-07-22 11:35:40'::timestamp) - extract(epoch from '2026-07-22 11:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793829 -2.611206)', '2026-07-22 11:35:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79382 -2.611216)'), GeomFromEWKT('SRID=4674;POINT (-39.793829 -2.611206)'))) / (select extract(epoch from '2026-07-22 11:35:42'::timestamp) - extract(epoch from '2026-07-22 11:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79382 -2.611216)'), GeomFromEWKT('SRID=4674;POINT (-39.793829 -2.611206)'))) / (select extract(epoch from '2026-07-22 11:35:42'::timestamp) - extract(epoch from '2026-07-22 11:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79385 -2.611192)', '2026-07-22 11:35:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793829 -2.611206)'), GeomFromEWKT('SRID=4674;POINT (-39.79385 -2.611192)'))) / (select extract(epoch from '2026-07-22 11:35:45'::timestamp) - extract(epoch from '2026-07-22 11:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793829 -2.611206)'), GeomFromEWKT('SRID=4674;POINT (-39.79385 -2.611192)'))) / (select extract(epoch from '2026-07-22 11:35:45'::timestamp) - extract(epoch from '2026-07-22 11:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793853 -2.611185)', '2026-07-22 11:35:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79385 -2.611192)'), GeomFromEWKT('SRID=4674;POINT (-39.793853 -2.611185)'))) / (select extract(epoch from '2026-07-22 11:35:46'::timestamp) - extract(epoch from '2026-07-22 11:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79385 -2.611192)'), GeomFromEWKT('SRID=4674;POINT (-39.793853 -2.611185)'))) / (select extract(epoch from '2026-07-22 11:35:46'::timestamp) - extract(epoch from '2026-07-22 11:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79386 -2.611169)', '2026-07-22 11:35:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793853 -2.611185)'), GeomFromEWKT('SRID=4674;POINT (-39.79386 -2.611169)'))) / (select extract(epoch from '2026-07-22 11:35:48'::timestamp) - extract(epoch from '2026-07-22 11:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793853 -2.611185)'), GeomFromEWKT('SRID=4674;POINT (-39.79386 -2.611169)'))) / (select extract(epoch from '2026-07-22 11:35:48'::timestamp) - extract(epoch from '2026-07-22 11:35:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793868 -2.611161)', '2026-07-22 11:35:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79386 -2.611169)'), GeomFromEWKT('SRID=4674;POINT (-39.793868 -2.611161)'))) / (select extract(epoch from '2026-07-22 11:35:50'::timestamp) - extract(epoch from '2026-07-22 11:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79386 -2.611169)'), GeomFromEWKT('SRID=4674;POINT (-39.793868 -2.611161)'))) / (select extract(epoch from '2026-07-22 11:35:50'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.793898 -2.61111)', '2026-07-22 11:35:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793868 -2.611161)'), GeomFromEWKT('SRID=4674;POINT (-39.793898 -2.61111)'))) / (select extract(epoch from '2026-07-22 11:35:58'::timestamp) - extract(epoch from '2026-07-22 11:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793868 -2.611161)'), GeomFromEWKT('SRID=4674;POINT (-39.793898 -2.61111)'))) / (select extract(epoch from '2026-07-22 11:35:58'::timestamp) - extract(epoch from '2026-07-22 11:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793956 -2.611033)', '2026-07-22 11:36:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793898 -2.61111)'), GeomFromEWKT('SRID=4674;POINT (-39.793956 -2.611033)'))) / (select extract(epoch from '2026-07-22 11:36:10'::timestamp) - extract(epoch from '2026-07-22 11:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793898 -2.61111)'), GeomFromEWKT('SRID=4674;POINT (-39.793956 -2.611033)'))) / (select extract(epoch from '2026-07-22 11:36:10'::timestamp) - extract(epoch from '2026-07-22 11:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79398 -2.610998)', '2026-07-22 11:36:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793956 -2.611033)'), GeomFromEWKT('SRID=4674;POINT (-39.79398 -2.610998)'))) / (select extract(epoch from '2026-07-22 11:36:15'::timestamp) - extract(epoch from '2026-07-22 11:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793956 -2.611033)'), GeomFromEWKT('SRID=4674;POINT (-39.79398 -2.610998)'))) / (select extract(epoch from '2026-07-22 11:36:15'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.79399 -2.610994)', '2026-07-22 11:36:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79398 -2.610998)'), GeomFromEWKT('SRID=4674;POINT (-39.79399 -2.610994)'))) / (select extract(epoch from '2026-07-22 11:36:16'::timestamp) - extract(epoch from '2026-07-22 11:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79398 -2.610998)'), GeomFromEWKT('SRID=4674;POINT (-39.79399 -2.610994)'))) / (select extract(epoch from '2026-07-22 11:36:16'::timestamp) - extract(epoch from '2026-07-22 11:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794013 -2.610963)', '2026-07-22 11:36:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79399 -2.610994)'), GeomFromEWKT('SRID=4674;POINT (-39.794013 -2.610963)'))) / (select extract(epoch from '2026-07-22 11:36:23'::timestamp) - extract(epoch from '2026-07-22 11:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79399 -2.610994)'), GeomFromEWKT('SRID=4674;POINT (-39.794013 -2.610963)'))) / (select extract(epoch from '2026-07-22 11:36:23'::timestamp) - extract(epoch from '2026-07-22 11:36:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794032 -2.610941)', '2026-07-22 11:36:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794013 -2.610963)'), GeomFromEWKT('SRID=4674;POINT (-39.794032 -2.610941)'))) / (select extract(epoch from '2026-07-22 11:36:27'::timestamp) - extract(epoch from '2026-07-22 11:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794013 -2.610963)'), GeomFromEWKT('SRID=4674;POINT (-39.794032 -2.610941)'))) / (select extract(epoch from '2026-07-22 11:36:27'::timestamp) - extract(epoch from '2026-07-22 11:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794055 -2.610932)', '2026-07-22 11:36:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794032 -2.610941)'), GeomFromEWKT('SRID=4674;POINT (-39.794055 -2.610932)'))) / (select extract(epoch from '2026-07-22 11:36:30'::timestamp) - extract(epoch from '2026-07-22 11:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794032 -2.610941)'), GeomFromEWKT('SRID=4674;POINT (-39.794055 -2.610932)'))) / (select extract(epoch from '2026-07-22 11:36:30'::timestamp) - extract(epoch from '2026-07-22 11:36:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794092 -2.610881)', '2026-07-22 11:36:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794055 -2.610932)'), GeomFromEWKT('SRID=4674;POINT (-39.794092 -2.610881)'))) / (select extract(epoch from '2026-07-22 11:36:40'::timestamp) - extract(epoch from '2026-07-22 11:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794055 -2.610932)'), GeomFromEWKT('SRID=4674;POINT (-39.794092 -2.610881)'))) / (select extract(epoch from '2026-07-22 11:36:40'::timestamp) - extract(epoch from '2026-07-22 11:36:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794125 -2.610825)', '2026-07-22 11:36:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794092 -2.610881)'), GeomFromEWKT('SRID=4674;POINT (-39.794125 -2.610825)'))) / (select extract(epoch from '2026-07-22 11:36:46'::timestamp) - extract(epoch from '2026-07-22 11:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794092 -2.610881)'), GeomFromEWKT('SRID=4674;POINT (-39.794125 -2.610825)'))) / (select extract(epoch from '2026-07-22 11:36:46'::timestamp) - extract(epoch from '2026-07-22 11:36:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794135 -2.610819)', '2026-07-22 11:36:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794125 -2.610825)'), GeomFromEWKT('SRID=4674;POINT (-39.794135 -2.610819)'))) / (select extract(epoch from '2026-07-22 11:36:47'::timestamp) - extract(epoch from '2026-07-22 11:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794125 -2.610825)'), GeomFromEWKT('SRID=4674;POINT (-39.794135 -2.610819)'))) / (select extract(epoch from '2026-07-22 11:36:47'::timestamp) - extract(epoch from '2026-07-22 11:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794153 -2.61079)', '2026-07-22 11:36:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794135 -2.610819)'), GeomFromEWKT('SRID=4674;POINT (-39.794153 -2.61079)'))) / (select extract(epoch from '2026-07-22 11:36:52'::timestamp) - extract(epoch from '2026-07-22 11:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794135 -2.610819)'), GeomFromEWKT('SRID=4674;POINT (-39.794153 -2.61079)'))) / (select extract(epoch from '2026-07-22 11:36:52'::timestamp) - extract(epoch from '2026-07-22 11:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794192 -2.610724)', '2026-07-22 11:37:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794153 -2.61079)'), GeomFromEWKT('SRID=4674;POINT (-39.794192 -2.610724)'))) / (select extract(epoch from '2026-07-22 11:37:02'::timestamp) - extract(epoch from '2026-07-22 11:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794153 -2.61079)'), GeomFromEWKT('SRID=4674;POINT (-39.794192 -2.610724)'))) / (select extract(epoch from '2026-07-22 11:37:02'::timestamp) - extract(epoch from '2026-07-22 11:36:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794234 -2.610684)', '2026-07-22 11:37:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794192 -2.610724)'), GeomFromEWKT('SRID=4674;POINT (-39.794234 -2.610684)'))) / (select extract(epoch from '2026-07-22 11:37:12'::timestamp) - extract(epoch from '2026-07-22 11:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794192 -2.610724)'), GeomFromEWKT('SRID=4674;POINT (-39.794234 -2.610684)'))) / (select extract(epoch from '2026-07-22 11:37:12'::timestamp) - extract(epoch from '2026-07-22 11:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794267 -2.610663)', '2026-07-22 11:37:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794234 -2.610684)'), GeomFromEWKT('SRID=4674;POINT (-39.794267 -2.610663)'))) / (select extract(epoch from '2026-07-22 11:37:17'::timestamp) - extract(epoch from '2026-07-22 11:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794234 -2.610684)'), GeomFromEWKT('SRID=4674;POINT (-39.794267 -2.610663)'))) / (select extract(epoch from '2026-07-22 11:37:17'::timestamp) - extract(epoch from '2026-07-22 11:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794293 -2.610655)', '2026-07-22 11:37:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794267 -2.610663)'), GeomFromEWKT('SRID=4674;POINT (-39.794293 -2.610655)'))) / (select extract(epoch from '2026-07-22 11:37:20'::timestamp) - extract(epoch from '2026-07-22 11:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794267 -2.610663)'), GeomFromEWKT('SRID=4674;POINT (-39.794293 -2.610655)'))) / (select extract(epoch from '2026-07-22 11:37:20'::timestamp) - extract(epoch from '2026-07-22 11:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79434 -2.61061)', '2026-07-22 11:37:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794293 -2.610655)'), GeomFromEWKT('SRID=4674;POINT (-39.79434 -2.61061)'))) / (select extract(epoch from '2026-07-22 11:37:29'::timestamp) - extract(epoch from '2026-07-22 11:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794293 -2.610655)'), GeomFromEWKT('SRID=4674;POINT (-39.79434 -2.61061)'))) / (select extract(epoch from '2026-07-22 11:37:29'::timestamp) - extract(epoch from '2026-07-22 11:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794396 -2.61057)', '2026-07-22 11:37:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79434 -2.61061)'), GeomFromEWKT('SRID=4674;POINT (-39.794396 -2.61057)'))) / (select extract(epoch from '2026-07-22 11:37:40'::timestamp) - extract(epoch from '2026-07-22 11:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79434 -2.61061)'), GeomFromEWKT('SRID=4674;POINT (-39.794396 -2.61057)'))) / (select extract(epoch from '2026-07-22 11:37:40'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.794445 -2.61049)', '2026-07-22 11:37:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794396 -2.61057)'), GeomFromEWKT('SRID=4674;POINT (-39.794445 -2.61049)'))) / (select extract(epoch from '2026-07-22 11:37:54'::timestamp) - extract(epoch from '2026-07-22 11:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794396 -2.61057)'), GeomFromEWKT('SRID=4674;POINT (-39.794445 -2.61049)'))) / (select extract(epoch from '2026-07-22 11:37:54'::timestamp) - extract(epoch from '2026-07-22 11:37:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794517 -2.610414)', '2026-07-22 11:38:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794445 -2.61049)'), GeomFromEWKT('SRID=4674;POINT (-39.794517 -2.610414)'))) / (select extract(epoch from '2026-07-22 11:38:08'::timestamp) - extract(epoch from '2026-07-22 11:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794445 -2.61049)'), GeomFromEWKT('SRID=4674;POINT (-39.794517 -2.610414)'))) / (select extract(epoch from '2026-07-22 11:38:08'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.794577 -2.610378)', '2026-07-22 11:38:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794517 -2.610414)'), GeomFromEWKT('SRID=4674;POINT (-39.794577 -2.610378)'))) / (select extract(epoch from '2026-07-22 11:38:16'::timestamp) - extract(epoch from '2026-07-22 11:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794517 -2.610414)'), GeomFromEWKT('SRID=4674;POINT (-39.794577 -2.610378)'))) / (select extract(epoch from '2026-07-22 11:38:16'::timestamp) - extract(epoch from '2026-07-22 11:38:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794622 -2.610304)', '2026-07-22 11:38:26', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794577 -2.610378)'), GeomFromEWKT('SRID=4674;POINT (-39.794622 -2.610304)'))) / (select extract(epoch from '2026-07-22 11:38:26'::timestamp) - extract(epoch from '2026-07-22 11:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794577 -2.610378)'), GeomFromEWKT('SRID=4674;POINT (-39.794622 -2.610304)'))) / (select extract(epoch from '2026-07-22 11:38:26'::timestamp) - extract(epoch from '2026-07-22 11:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794639 -2.61029)', '2026-07-22 11:38:28', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794622 -2.610304)'), GeomFromEWKT('SRID=4674;POINT (-39.794639 -2.61029)'))) / (select extract(epoch from '2026-07-22 11:38:28'::timestamp) - extract(epoch from '2026-07-22 11:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794622 -2.610304)'), GeomFromEWKT('SRID=4674;POINT (-39.794639 -2.61029)'))) / (select extract(epoch from '2026-07-22 11:38:28'::timestamp) - extract(epoch from '2026-07-22 11:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794655 -2.610276)', '2026-07-22 11:38:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794639 -2.61029)'), GeomFromEWKT('SRID=4674;POINT (-39.794655 -2.610276)'))) / (select extract(epoch from '2026-07-22 11:38:31'::timestamp) - extract(epoch from '2026-07-22 11:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794639 -2.61029)'), GeomFromEWKT('SRID=4674;POINT (-39.794655 -2.610276)'))) / (select extract(epoch from '2026-07-22 11:38:31'::timestamp) - extract(epoch from '2026-07-22 11:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794705 -2.610227)', '2026-07-22 11:38:41', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794655 -2.610276)'), GeomFromEWKT('SRID=4674;POINT (-39.794705 -2.610227)'))) / (select extract(epoch from '2026-07-22 11:38:41'::timestamp) - extract(epoch from '2026-07-22 11:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794655 -2.610276)'), GeomFromEWKT('SRID=4674;POINT (-39.794705 -2.610227)'))) / (select extract(epoch from '2026-07-22 11:38:41'::timestamp) - extract(epoch from '2026-07-22 11:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794713 -2.610224)', '2026-07-22 11:38:42', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794705 -2.610227)'), GeomFromEWKT('SRID=4674;POINT (-39.794713 -2.610224)'))) / (select extract(epoch from '2026-07-22 11:38:42'::timestamp) - extract(epoch from '2026-07-22 11:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794705 -2.610227)'), GeomFromEWKT('SRID=4674;POINT (-39.794713 -2.610224)'))) / (select extract(epoch from '2026-07-22 11:38:42'::timestamp) - extract(epoch from '2026-07-22 11:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794754 -2.610219)', '2026-07-22 11:38:51', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794713 -2.610224)'), GeomFromEWKT('SRID=4674;POINT (-39.794754 -2.610219)'))) / (select extract(epoch from '2026-07-22 11:38:51'::timestamp) - extract(epoch from '2026-07-22 11:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794713 -2.610224)'), GeomFromEWKT('SRID=4674;POINT (-39.794754 -2.610219)'))) / (select extract(epoch from '2026-07-22 11:38:51'::timestamp) - extract(epoch from '2026-07-22 11:38:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794787 -2.61018)', '2026-07-22 11:39:01', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794754 -2.610219)'), GeomFromEWKT('SRID=4674;POINT (-39.794787 -2.61018)'))) / (select extract(epoch from '2026-07-22 11:39:01'::timestamp) - extract(epoch from '2026-07-22 11:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794754 -2.610219)'), GeomFromEWKT('SRID=4674;POINT (-39.794787 -2.61018)'))) / (select extract(epoch from '2026-07-22 11:39:01'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.794804 -2.610167)', '2026-07-22 11:39:04', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794787 -2.61018)'), GeomFromEWKT('SRID=4674;POINT (-39.794804 -2.610167)'))) / (select extract(epoch from '2026-07-22 11:39:04'::timestamp) - extract(epoch from '2026-07-22 11:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794787 -2.61018)'), GeomFromEWKT('SRID=4674;POINT (-39.794804 -2.610167)'))) / (select extract(epoch from '2026-07-22 11:39:04'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.794822 -2.610147)', '2026-07-22 11:39:07', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794804 -2.610167)'), GeomFromEWKT('SRID=4674;POINT (-39.794822 -2.610147)'))) / (select extract(epoch from '2026-07-22 11:39:07'::timestamp) - extract(epoch from '2026-07-22 11:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794804 -2.610167)'), GeomFromEWKT('SRID=4674;POINT (-39.794822 -2.610147)'))) / (select extract(epoch from '2026-07-22 11:39:07'::timestamp) - extract(epoch from '2026-07-22 11:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794873 -2.610097)', '2026-07-22 11:39:18', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794822 -2.610147)'), GeomFromEWKT('SRID=4674;POINT (-39.794873 -2.610097)'))) / (select extract(epoch from '2026-07-22 11:39:18'::timestamp) - extract(epoch from '2026-07-22 11:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794822 -2.610147)'), GeomFromEWKT('SRID=4674;POINT (-39.794873 -2.610097)'))) / (select extract(epoch from '2026-07-22 11:39:18'::timestamp) - extract(epoch from '2026-07-22 11:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794906 -2.610077)', '2026-07-22 11:39:26', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794873 -2.610097)'), GeomFromEWKT('SRID=4674;POINT (-39.794906 -2.610077)'))) / (select extract(epoch from '2026-07-22 11:39:26'::timestamp) - extract(epoch from '2026-07-22 11:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794873 -2.610097)'), GeomFromEWKT('SRID=4674;POINT (-39.794906 -2.610077)'))) / (select extract(epoch from '2026-07-22 11:39:26'::timestamp) - extract(epoch from '2026-07-22 11:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794929 -2.61005)', '2026-07-22 11:39:32', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794906 -2.610077)'), GeomFromEWKT('SRID=4674;POINT (-39.794929 -2.61005)'))) / (select extract(epoch from '2026-07-22 11:39:32'::timestamp) - extract(epoch from '2026-07-22 11:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794906 -2.610077)'), GeomFromEWKT('SRID=4674;POINT (-39.794929 -2.61005)'))) / (select extract(epoch from '2026-07-22 11:39:32'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.794978 -2.610009)', '2026-07-22 11:39:41', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794929 -2.61005)'), GeomFromEWKT('SRID=4674;POINT (-39.794978 -2.610009)'))) / (select extract(epoch from '2026-07-22 11:39:41'::timestamp) - extract(epoch from '2026-07-22 11:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794929 -2.61005)'), GeomFromEWKT('SRID=4674;POINT (-39.794978 -2.610009)'))) / (select extract(epoch from '2026-07-22 11:39:41'::timestamp) - extract(epoch from '2026-07-22 11:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795014 -2.609974)', '2026-07-22 11:39:47', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794978 -2.610009)'), GeomFromEWKT('SRID=4674;POINT (-39.795014 -2.609974)'))) / (select extract(epoch from '2026-07-22 11:39:47'::timestamp) - extract(epoch from '2026-07-22 11:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794978 -2.610009)'), GeomFromEWKT('SRID=4674;POINT (-39.795014 -2.609974)'))) / (select extract(epoch from '2026-07-22 11:39:47'::timestamp) - extract(epoch from '2026-07-22 11:39:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795033 -2.609928)', '2026-07-22 11:39:54', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795014 -2.609974)'), GeomFromEWKT('SRID=4674;POINT (-39.795033 -2.609928)'))) / (select extract(epoch from '2026-07-22 11:39:54'::timestamp) - extract(epoch from '2026-07-22 11:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795014 -2.609974)'), GeomFromEWKT('SRID=4674;POINT (-39.795033 -2.609928)'))) / (select extract(epoch from '2026-07-22 11:39:54'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.795068 -2.609877)', '2026-07-22 11:40:03', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795033 -2.609928)'), GeomFromEWKT('SRID=4674;POINT (-39.795068 -2.609877)'))) / (select extract(epoch from '2026-07-22 11:40:03'::timestamp) - extract(epoch from '2026-07-22 11:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795033 -2.609928)'), GeomFromEWKT('SRID=4674;POINT (-39.795068 -2.609877)'))) / (select extract(epoch from '2026-07-22 11:40:03'::timestamp) - extract(epoch from '2026-07-22 11:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795068 -2.609867)', '2026-07-22 11:40:04', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795068 -2.609877)'), GeomFromEWKT('SRID=4674;POINT (-39.795068 -2.609867)'))) / (select extract(epoch from '2026-07-22 11:40:04'::timestamp) - extract(epoch from '2026-07-22 11:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795068 -2.609877)'), GeomFromEWKT('SRID=4674;POINT (-39.795068 -2.609867)'))) / (select extract(epoch from '2026-07-22 11:40:04'::timestamp) - extract(epoch from '2026-07-22 11:40:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795085 -2.609847)', '2026-07-22 11:40:07', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795068 -2.609867)'), GeomFromEWKT('SRID=4674;POINT (-39.795085 -2.609847)'))) / (select extract(epoch from '2026-07-22 11:40:07'::timestamp) - extract(epoch from '2026-07-22 11:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795068 -2.609867)'), GeomFromEWKT('SRID=4674;POINT (-39.795085 -2.609847)'))) / (select extract(epoch from '2026-07-22 11:40:07'::timestamp) - extract(epoch from '2026-07-22 11:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795126 -2.609797)', '2026-07-22 11:40:15', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795085 -2.609847)'), GeomFromEWKT('SRID=4674;POINT (-39.795126 -2.609797)'))) / (select extract(epoch from '2026-07-22 11:40:15'::timestamp) - extract(epoch from '2026-07-22 11:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795085 -2.609847)'), GeomFromEWKT('SRID=4674;POINT (-39.795126 -2.609797)'))) / (select extract(epoch from '2026-07-22 11:40:15'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.795152 -2.609783)', '2026-07-22 11:40:18', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795126 -2.609797)'), GeomFromEWKT('SRID=4674;POINT (-39.795152 -2.609783)'))) / (select extract(epoch from '2026-07-22 11:40:18'::timestamp) - extract(epoch from '2026-07-22 11:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795126 -2.609797)'), GeomFromEWKT('SRID=4674;POINT (-39.795152 -2.609783)'))) / (select extract(epoch from '2026-07-22 11:40:18'::timestamp) - extract(epoch from '2026-07-22 11:40:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79517 -2.60978)', '2026-07-22 11:40:20', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795152 -2.609783)'), GeomFromEWKT('SRID=4674;POINT (-39.79517 -2.60978)'))) / (select extract(epoch from '2026-07-22 11:40:20'::timestamp) - extract(epoch from '2026-07-22 11:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795152 -2.609783)'), GeomFromEWKT('SRID=4674;POINT (-39.79517 -2.60978)'))) / (select extract(epoch from '2026-07-22 11:40:20'::timestamp) - extract(epoch from '2026-07-22 11:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79521 -2.60976)', '2026-07-22 11:40:25', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79517 -2.60978)'), GeomFromEWKT('SRID=4674;POINT (-39.79521 -2.60976)'))) / (select extract(epoch from '2026-07-22 11:40:25'::timestamp) - extract(epoch from '2026-07-22 11:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79517 -2.60978)'), GeomFromEWKT('SRID=4674;POINT (-39.79521 -2.60976)'))) / (select extract(epoch from '2026-07-22 11:40:25'::timestamp) - extract(epoch from '2026-07-22 11:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795267 -2.609712)', '2026-07-22 11:40:34', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79521 -2.60976)'), GeomFromEWKT('SRID=4674;POINT (-39.795267 -2.609712)'))) / (select extract(epoch from '2026-07-22 11:40:34'::timestamp) - extract(epoch from '2026-07-22 11:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79521 -2.60976)'), GeomFromEWKT('SRID=4674;POINT (-39.795267 -2.609712)'))) / (select extract(epoch from '2026-07-22 11:40:34'::timestamp) - extract(epoch from '2026-07-22 11:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795301 -2.609678)', '2026-07-22 11:40:40', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795267 -2.609712)'), GeomFromEWKT('SRID=4674;POINT (-39.795301 -2.609678)'))) / (select extract(epoch from '2026-07-22 11:40:40'::timestamp) - extract(epoch from '2026-07-22 11:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795267 -2.609712)'), GeomFromEWKT('SRID=4674;POINT (-39.795301 -2.609678)'))) / (select extract(epoch from '2026-07-22 11:40:40'::timestamp) - extract(epoch from '2026-07-22 11:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795355 -2.609636)', '2026-07-22 11:40:50', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795301 -2.609678)'), GeomFromEWKT('SRID=4674;POINT (-39.795355 -2.609636)'))) / (select extract(epoch from '2026-07-22 11:40:50'::timestamp) - extract(epoch from '2026-07-22 11:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795301 -2.609678)'), GeomFromEWKT('SRID=4674;POINT (-39.795355 -2.609636)'))) / (select extract(epoch from '2026-07-22 11:40:50'::timestamp) - extract(epoch from '2026-07-22 11:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795399 -2.6096)', '2026-07-22 11:40:59', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795355 -2.609636)'), GeomFromEWKT('SRID=4674;POINT (-39.795399 -2.6096)'))) / (select extract(epoch from '2026-07-22 11:40:59'::timestamp) - extract(epoch from '2026-07-22 11:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795355 -2.609636)'), GeomFromEWKT('SRID=4674;POINT (-39.795399 -2.6096)'))) / (select extract(epoch from '2026-07-22 11:40:59'::timestamp) - extract(epoch from '2026-07-22 11:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795442 -2.60956)', '2026-07-22 11:41:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795399 -2.6096)'), GeomFromEWKT('SRID=4674;POINT (-39.795442 -2.60956)'))) / (select extract(epoch from '2026-07-22 11:41:08'::timestamp) - extract(epoch from '2026-07-22 11:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795399 -2.6096)'), GeomFromEWKT('SRID=4674;POINT (-39.795442 -2.60956)'))) / (select extract(epoch from '2026-07-22 11:41:08'::timestamp) - extract(epoch from '2026-07-22 11:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795494 -2.609504)', '2026-07-22 11:41:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795442 -2.60956)'), GeomFromEWKT('SRID=4674;POINT (-39.795494 -2.609504)'))) / (select extract(epoch from '2026-07-22 11:41:18'::timestamp) - extract(epoch from '2026-07-22 11:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795442 -2.60956)'), GeomFromEWKT('SRID=4674;POINT (-39.795494 -2.609504)'))) / (select extract(epoch from '2026-07-22 11:41:18'::timestamp) - extract(epoch from '2026-07-22 11:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795545 -2.609425)', '2026-07-22 11:41:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795494 -2.609504)'), GeomFromEWKT('SRID=4674;POINT (-39.795545 -2.609425)'))) / (select extract(epoch from '2026-07-22 11:41:30'::timestamp) - extract(epoch from '2026-07-22 11:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795494 -2.609504)'), GeomFromEWKT('SRID=4674;POINT (-39.795545 -2.609425)'))) / (select extract(epoch from '2026-07-22 11:41:30'::timestamp) - extract(epoch from '2026-07-22 11:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795587 -2.609362)', '2026-07-22 11:41:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795545 -2.609425)'), GeomFromEWKT('SRID=4674;POINT (-39.795587 -2.609362)'))) / (select extract(epoch from '2026-07-22 11:41:39'::timestamp) - extract(epoch from '2026-07-22 11:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795545 -2.609425)'), GeomFromEWKT('SRID=4674;POINT (-39.795587 -2.609362)'))) / (select extract(epoch from '2026-07-22 11:41:39'::timestamp) - extract(epoch from '2026-07-22 11:41:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795598 -2.609347)', '2026-07-22 11:41:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795587 -2.609362)'), GeomFromEWKT('SRID=4674;POINT (-39.795598 -2.609347)'))) / (select extract(epoch from '2026-07-22 11:41:41'::timestamp) - extract(epoch from '2026-07-22 11:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795587 -2.609362)'), GeomFromEWKT('SRID=4674;POINT (-39.795598 -2.609347)'))) / (select extract(epoch from '2026-07-22 11:41:41'::timestamp) - extract(epoch from '2026-07-22 11:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795614 -2.609336)', '2026-07-22 11:41:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795598 -2.609347)'), GeomFromEWKT('SRID=4674;POINT (-39.795614 -2.609336)'))) / (select extract(epoch from '2026-07-22 11:41:45'::timestamp) - extract(epoch from '2026-07-22 11:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795598 -2.609347)'), GeomFromEWKT('SRID=4674;POINT (-39.795614 -2.609336)'))) / (select extract(epoch from '2026-07-22 11:41:45'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.795639 -2.609316)', '2026-07-22 11:41:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795614 -2.609336)'), GeomFromEWKT('SRID=4674;POINT (-39.795639 -2.609316)'))) / (select extract(epoch from '2026-07-22 11:41:49'::timestamp) - extract(epoch from '2026-07-22 11:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795614 -2.609336)'), GeomFromEWKT('SRID=4674;POINT (-39.795639 -2.609316)'))) / (select extract(epoch from '2026-07-22 11:41:49'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.79567 -2.609285)', '2026-07-22 11:41:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795639 -2.609316)'), GeomFromEWKT('SRID=4674;POINT (-39.79567 -2.609285)'))) / (select extract(epoch from '2026-07-22 11:41:55'::timestamp) - extract(epoch from '2026-07-22 11:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795639 -2.609316)'), GeomFromEWKT('SRID=4674;POINT (-39.79567 -2.609285)'))) / (select extract(epoch from '2026-07-22 11:41:55'::timestamp) - extract(epoch from '2026-07-22 11:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795702 -2.609261)', '2026-07-22 11:42:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79567 -2.609285)'), GeomFromEWKT('SRID=4674;POINT (-39.795702 -2.609261)'))) / (select extract(epoch from '2026-07-22 11:42:01'::timestamp) - extract(epoch from '2026-07-22 11:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79567 -2.609285)'), GeomFromEWKT('SRID=4674;POINT (-39.795702 -2.609261)'))) / (select extract(epoch from '2026-07-22 11:42:01'::timestamp) - extract(epoch from '2026-07-22 11:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795735 -2.609228)', '2026-07-22 11:42:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795702 -2.609261)'), GeomFromEWKT('SRID=4674;POINT (-39.795735 -2.609228)'))) / (select extract(epoch from '2026-07-22 11:42:08'::timestamp) - extract(epoch from '2026-07-22 11:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795702 -2.609261)'), GeomFromEWKT('SRID=4674;POINT (-39.795735 -2.609228)'))) / (select extract(epoch from '2026-07-22 11:42:08'::timestamp) - extract(epoch from '2026-07-22 11:42:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795776 -2.609187)', '2026-07-22 11:42:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795735 -2.609228)'), GeomFromEWKT('SRID=4674;POINT (-39.795776 -2.609187)'))) / (select extract(epoch from '2026-07-22 11:42:18'::timestamp) - extract(epoch from '2026-07-22 11:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795735 -2.609228)'), GeomFromEWKT('SRID=4674;POINT (-39.795776 -2.609187)'))) / (select extract(epoch from '2026-07-22 11:42:18'::timestamp) - extract(epoch from '2026-07-22 11:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795817 -2.609156)', '2026-07-22 11:42:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795776 -2.609187)'), GeomFromEWKT('SRID=4674;POINT (-39.795817 -2.609156)'))) / (select extract(epoch from '2026-07-22 11:42:27'::timestamp) - extract(epoch from '2026-07-22 11:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795776 -2.609187)'), GeomFromEWKT('SRID=4674;POINT (-39.795817 -2.609156)'))) / (select extract(epoch from '2026-07-22 11:42:27'::timestamp) - extract(epoch from '2026-07-22 11:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795886 -2.609093)', '2026-07-22 11:42:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795817 -2.609156)'), GeomFromEWKT('SRID=4674;POINT (-39.795886 -2.609093)'))) / (select extract(epoch from '2026-07-22 11:42:38'::timestamp) - extract(epoch from '2026-07-22 11:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795817 -2.609156)'), GeomFromEWKT('SRID=4674;POINT (-39.795886 -2.609093)'))) / (select extract(epoch from '2026-07-22 11:42:38'::timestamp) - extract(epoch from '2026-07-22 11:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795943 -2.609031)', '2026-07-22 11:42:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795886 -2.609093)'), GeomFromEWKT('SRID=4674;POINT (-39.795943 -2.609031)'))) / (select extract(epoch from '2026-07-22 11:42:47'::timestamp) - extract(epoch from '2026-07-22 11:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795886 -2.609093)'), GeomFromEWKT('SRID=4674;POINT (-39.795943 -2.609031)'))) / (select extract(epoch from '2026-07-22 11:42:47'::timestamp) - extract(epoch from '2026-07-22 11:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79602 -2.608956)', '2026-07-22 11:43:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795943 -2.609031)'), GeomFromEWKT('SRID=4674;POINT (-39.79602 -2.608956)'))) / (select extract(epoch from '2026-07-22 11:43:01'::timestamp) - extract(epoch from '2026-07-22 11:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795943 -2.609031)'), GeomFromEWKT('SRID=4674;POINT (-39.79602 -2.608956)'))) / (select extract(epoch from '2026-07-22 11:43:01'::timestamp) - extract(epoch from '2026-07-22 11:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796084 -2.608912)', '2026-07-22 11:43:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79602 -2.608956)'), GeomFromEWKT('SRID=4674;POINT (-39.796084 -2.608912)'))) / (select extract(epoch from '2026-07-22 11:43:11'::timestamp) - extract(epoch from '2026-07-22 11:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79602 -2.608956)'), GeomFromEWKT('SRID=4674;POINT (-39.796084 -2.608912)'))) / (select extract(epoch from '2026-07-22 11:43:11'::timestamp) - extract(epoch from '2026-07-22 11:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796142 -2.608835)', '2026-07-22 11:43:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796084 -2.608912)'), GeomFromEWKT('SRID=4674;POINT (-39.796142 -2.608835)'))) / (select extract(epoch from '2026-07-22 11:43:24'::timestamp) - extract(epoch from '2026-07-22 11:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796084 -2.608912)'), GeomFromEWKT('SRID=4674;POINT (-39.796142 -2.608835)'))) / (select extract(epoch from '2026-07-22 11:43:24'::timestamp) - extract(epoch from '2026-07-22 11:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796148 -2.608829)', '2026-07-22 11:43:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796142 -2.608835)'), GeomFromEWKT('SRID=4674;POINT (-39.796148 -2.608829)'))) / (select extract(epoch from '2026-07-22 11:43:25'::timestamp) - extract(epoch from '2026-07-22 11:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796142 -2.608835)'), GeomFromEWKT('SRID=4674;POINT (-39.796148 -2.608829)'))) / (select extract(epoch from '2026-07-22 11:43:25'::timestamp) - extract(epoch from '2026-07-22 11:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796169 -2.608791)', '2026-07-22 11:43:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796148 -2.608829)'), GeomFromEWKT('SRID=4674;POINT (-39.796169 -2.608791)'))) / (select extract(epoch from '2026-07-22 11:43:30'::timestamp) - extract(epoch from '2026-07-22 11:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796148 -2.608829)'), GeomFromEWKT('SRID=4674;POINT (-39.796169 -2.608791)'))) / (select extract(epoch from '2026-07-22 11:43:30'::timestamp) - extract(epoch from '2026-07-22 11:43:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796203 -2.608731)', '2026-07-22 11:43:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796169 -2.608791)'), GeomFromEWKT('SRID=4674;POINT (-39.796203 -2.608731)'))) / (select extract(epoch from '2026-07-22 11:43:40'::timestamp) - extract(epoch from '2026-07-22 11:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796169 -2.608791)'), GeomFromEWKT('SRID=4674;POINT (-39.796203 -2.608731)'))) / (select extract(epoch from '2026-07-22 11:43:40'::timestamp) - extract(epoch from '2026-07-22 11:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796218 -2.608713)', '2026-07-22 11:43:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796203 -2.608731)'), GeomFromEWKT('SRID=4674;POINT (-39.796218 -2.608713)'))) / (select extract(epoch from '2026-07-22 11:43:43'::timestamp) - extract(epoch from '2026-07-22 11:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796203 -2.608731)'), GeomFromEWKT('SRID=4674;POINT (-39.796218 -2.608713)'))) / (select extract(epoch from '2026-07-22 11:43:43'::timestamp) - extract(epoch from '2026-07-22 11:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796243 -2.608687)', '2026-07-22 11:43:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796218 -2.608713)'), GeomFromEWKT('SRID=4674;POINT (-39.796243 -2.608687)'))) / (select extract(epoch from '2026-07-22 11:43:47'::timestamp) - extract(epoch from '2026-07-22 11:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796218 -2.608713)'), GeomFromEWKT('SRID=4674;POINT (-39.796243 -2.608687)'))) / (select extract(epoch from '2026-07-22 11:43:47'::timestamp) - extract(epoch from '2026-07-22 11:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796286 -2.608638)', '2026-07-22 11:43:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796243 -2.608687)'), GeomFromEWKT('SRID=4674;POINT (-39.796286 -2.608638)'))) / (select extract(epoch from '2026-07-22 11:43:56'::timestamp) - extract(epoch from '2026-07-22 11:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796243 -2.608687)'), GeomFromEWKT('SRID=4674;POINT (-39.796286 -2.608638)'))) / (select extract(epoch from '2026-07-22 11:43:56'::timestamp) - extract(epoch from '2026-07-22 11:43:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796302 -2.60861)', '2026-07-22 11:44:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796286 -2.608638)'), GeomFromEWKT('SRID=4674;POINT (-39.796302 -2.60861)'))) / (select extract(epoch from '2026-07-22 11:44:01'::timestamp) - extract(epoch from '2026-07-22 11:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796286 -2.608638)'), GeomFromEWKT('SRID=4674;POINT (-39.796302 -2.60861)'))) / (select extract(epoch from '2026-07-22 11:44:01'::timestamp) - extract(epoch from '2026-07-22 11:43:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796313 -2.608604)', '2026-07-22 11:44:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796302 -2.60861)'), GeomFromEWKT('SRID=4674;POINT (-39.796313 -2.608604)'))) / (select extract(epoch from '2026-07-22 11:44:03'::timestamp) - extract(epoch from '2026-07-22 11:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796302 -2.60861)'), GeomFromEWKT('SRID=4674;POINT (-39.796313 -2.608604)'))) / (select extract(epoch from '2026-07-22 11:44:03'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.796319 -2.608583)', '2026-07-22 11:44:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796313 -2.608604)'), GeomFromEWKT('SRID=4674;POINT (-39.796319 -2.608583)'))) / (select extract(epoch from '2026-07-22 11:44:06'::timestamp) - extract(epoch from '2026-07-22 11:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796313 -2.608604)'), GeomFromEWKT('SRID=4674;POINT (-39.796319 -2.608583)'))) / (select extract(epoch from '2026-07-22 11:44:06'::timestamp) - extract(epoch from '2026-07-22 11:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79634 -2.608574)', '2026-07-22 11:44:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796319 -2.608583)'), GeomFromEWKT('SRID=4674;POINT (-39.79634 -2.608574)'))) / (select extract(epoch from '2026-07-22 11:44:08'::timestamp) - extract(epoch from '2026-07-22 11:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796319 -2.608583)'), GeomFromEWKT('SRID=4674;POINT (-39.79634 -2.608574)'))) / (select extract(epoch from '2026-07-22 11:44:08'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.796347 -2.608553)', '2026-07-22 11:44:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79634 -2.608574)'), GeomFromEWKT('SRID=4674;POINT (-39.796347 -2.608553)'))) / (select extract(epoch from '2026-07-22 11:44:11'::timestamp) - extract(epoch from '2026-07-22 11:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79634 -2.608574)'), GeomFromEWKT('SRID=4674;POINT (-39.796347 -2.608553)'))) / (select extract(epoch from '2026-07-22 11:44:11'::timestamp) - extract(epoch from '2026-07-22 11:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796353 -2.608543)', '2026-07-22 11:44:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796347 -2.608553)'), GeomFromEWKT('SRID=4674;POINT (-39.796353 -2.608543)'))) / (select extract(epoch from '2026-07-22 11:44:12'::timestamp) - extract(epoch from '2026-07-22 11:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796347 -2.608553)'), GeomFromEWKT('SRID=4674;POINT (-39.796353 -2.608543)'))) / (select extract(epoch from '2026-07-22 11:44:12'::timestamp) - extract(epoch from '2026-07-22 11:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796374 -2.608498)', '2026-07-22 11:44:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796353 -2.608543)'), GeomFromEWKT('SRID=4674;POINT (-39.796374 -2.608498)'))) / (select extract(epoch from '2026-07-22 11:44:19'::timestamp) - extract(epoch from '2026-07-22 11:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796353 -2.608543)'), GeomFromEWKT('SRID=4674;POINT (-39.796374 -2.608498)'))) / (select extract(epoch from '2026-07-22 11:44:19'::timestamp) - extract(epoch from '2026-07-22 11:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796415 -2.608461)', '2026-07-22 11:44:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796374 -2.608498)'), GeomFromEWKT('SRID=4674;POINT (-39.796415 -2.608461)'))) / (select extract(epoch from '2026-07-22 11:44:25'::timestamp) - extract(epoch from '2026-07-22 11:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796374 -2.608498)'), GeomFromEWKT('SRID=4674;POINT (-39.796415 -2.608461)'))) / (select extract(epoch from '2026-07-22 11:44:25'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.796446 -2.608431)', '2026-07-22 11:44:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796415 -2.608461)'), GeomFromEWKT('SRID=4674;POINT (-39.796446 -2.608431)'))) / (select extract(epoch from '2026-07-22 11:44:31'::timestamp) - extract(epoch from '2026-07-22 11:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796415 -2.608461)'), GeomFromEWKT('SRID=4674;POINT (-39.796446 -2.608431)'))) / (select extract(epoch from '2026-07-22 11:44:31'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.796452 -2.608426)', '2026-07-22 11:44:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796446 -2.608431)'), GeomFromEWKT('SRID=4674;POINT (-39.796452 -2.608426)'))) / (select extract(epoch from '2026-07-22 11:44:32'::timestamp) - extract(epoch from '2026-07-22 11:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796446 -2.608431)'), GeomFromEWKT('SRID=4674;POINT (-39.796452 -2.608426)'))) / (select extract(epoch from '2026-07-22 11:44:32'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.796481 -2.608396)', '2026-07-22 11:44:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796452 -2.608426)'), GeomFromEWKT('SRID=4674;POINT (-39.796481 -2.608396)'))) / (select extract(epoch from '2026-07-22 11:44:37'::timestamp) - extract(epoch from '2026-07-22 11:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796452 -2.608426)'), GeomFromEWKT('SRID=4674;POINT (-39.796481 -2.608396)'))) / (select extract(epoch from '2026-07-22 11:44:37'::timestamp) - extract(epoch from '2026-07-22 11:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796532 -2.608351)', '2026-07-22 11:44:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796481 -2.608396)'), GeomFromEWKT('SRID=4674;POINT (-39.796532 -2.608351)'))) / (select extract(epoch from '2026-07-22 11:44:47'::timestamp) - extract(epoch from '2026-07-22 11:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796481 -2.608396)'), GeomFromEWKT('SRID=4674;POINT (-39.796532 -2.608351)'))) / (select extract(epoch from '2026-07-22 11:44:47'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.796576 -2.608285)', '2026-07-22 11:44:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796532 -2.608351)'), GeomFromEWKT('SRID=4674;POINT (-39.796576 -2.608285)'))) / (select extract(epoch from '2026-07-22 11:44:58'::timestamp) - extract(epoch from '2026-07-22 11:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796532 -2.608351)'), GeomFromEWKT('SRID=4674;POINT (-39.796576 -2.608285)'))) / (select extract(epoch from '2026-07-22 11:44:58'::timestamp) - extract(epoch from '2026-07-22 11:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796611 -2.608249)', '2026-07-22 11:45:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796576 -2.608285)'), GeomFromEWKT('SRID=4674;POINT (-39.796611 -2.608249)'))) / (select extract(epoch from '2026-07-22 11:45:05'::timestamp) - extract(epoch from '2026-07-22 11:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796576 -2.608285)'), GeomFromEWKT('SRID=4674;POINT (-39.796611 -2.608249)'))) / (select extract(epoch from '2026-07-22 11:45:05'::timestamp) - extract(epoch from '2026-07-22 11:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796666 -2.608202)', '2026-07-22 11:45:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796611 -2.608249)'), GeomFromEWKT('SRID=4674;POINT (-39.796666 -2.608202)'))) / (select extract(epoch from '2026-07-22 11:45:15'::timestamp) - extract(epoch from '2026-07-22 11:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796611 -2.608249)'), GeomFromEWKT('SRID=4674;POINT (-39.796666 -2.608202)'))) / (select extract(epoch from '2026-07-22 11:45:15'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.796721 -2.608158)', '2026-07-22 11:45:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796666 -2.608202)'), GeomFromEWKT('SRID=4674;POINT (-39.796721 -2.608158)'))) / (select extract(epoch from '2026-07-22 11:45:24'::timestamp) - extract(epoch from '2026-07-22 11:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796666 -2.608202)'), GeomFromEWKT('SRID=4674;POINT (-39.796721 -2.608158)'))) / (select extract(epoch from '2026-07-22 11:45:24'::timestamp) - extract(epoch from '2026-07-22 11:45:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796767 -2.608094)', '2026-07-22 11:45:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796721 -2.608158)'), GeomFromEWKT('SRID=4674;POINT (-39.796767 -2.608094)'))) / (select extract(epoch from '2026-07-22 11:45:35'::timestamp) - extract(epoch from '2026-07-22 11:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796721 -2.608158)'), GeomFromEWKT('SRID=4674;POINT (-39.796767 -2.608094)'))) / (select extract(epoch from '2026-07-22 11:45:35'::timestamp) - extract(epoch from '2026-07-22 11:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796806 -2.608051)', '2026-07-22 11:45:43', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796767 -2.608094)'), GeomFromEWKT('SRID=4674;POINT (-39.796806 -2.608051)'))) / (select extract(epoch from '2026-07-22 11:45:43'::timestamp) - extract(epoch from '2026-07-22 11:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796767 -2.608094)'), GeomFromEWKT('SRID=4674;POINT (-39.796806 -2.608051)'))) / (select extract(epoch from '2026-07-22 11:45:43'::timestamp) - extract(epoch from '2026-07-22 11:45:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796829 -2.608024)', '2026-07-22 11:45:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796806 -2.608051)'), GeomFromEWKT('SRID=4674;POINT (-39.796829 -2.608024)'))) / (select extract(epoch from '2026-07-22 11:45:48'::timestamp) - extract(epoch from '2026-07-22 11:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796806 -2.608051)'), GeomFromEWKT('SRID=4674;POINT (-39.796829 -2.608024)'))) / (select extract(epoch from '2026-07-22 11:45:48'::timestamp) - extract(epoch from '2026-07-22 11:45:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79684 -2.608015)', '2026-07-22 11:45:50', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796829 -2.608024)'), GeomFromEWKT('SRID=4674;POINT (-39.79684 -2.608015)'))) / (select extract(epoch from '2026-07-22 11:45:50'::timestamp) - extract(epoch from '2026-07-22 11:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796829 -2.608024)'), GeomFromEWKT('SRID=4674;POINT (-39.79684 -2.608015)'))) / (select extract(epoch from '2026-07-22 11:45:50'::timestamp) - extract(epoch from '2026-07-22 11:45:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796846 -2.607994)', '2026-07-22 11:45:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79684 -2.608015)'), GeomFromEWKT('SRID=4674;POINT (-39.796846 -2.607994)'))) / (select extract(epoch from '2026-07-22 11:45:54'::timestamp) - extract(epoch from '2026-07-22 11:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79684 -2.608015)'), GeomFromEWKT('SRID=4674;POINT (-39.796846 -2.607994)'))) / (select extract(epoch from '2026-07-22 11:45:54'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.796858 -2.607994)', '2026-07-22 11:45:56', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796846 -2.607994)'), GeomFromEWKT('SRID=4674;POINT (-39.796858 -2.607994)'))) / (select extract(epoch from '2026-07-22 11:45:56'::timestamp) - extract(epoch from '2026-07-22 11:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796846 -2.607994)'), GeomFromEWKT('SRID=4674;POINT (-39.796858 -2.607994)'))) / (select extract(epoch from '2026-07-22 11:45:56'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.796872 -2.607982)', '2026-07-22 11:45:59', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796858 -2.607994)'), GeomFromEWKT('SRID=4674;POINT (-39.796872 -2.607982)'))) / (select extract(epoch from '2026-07-22 11:45:59'::timestamp) - extract(epoch from '2026-07-22 11:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796858 -2.607994)'), GeomFromEWKT('SRID=4674;POINT (-39.796872 -2.607982)'))) / (select extract(epoch from '2026-07-22 11:45:59'::timestamp) - extract(epoch from '2026-07-22 11:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7969 -2.607972)', '2026-07-22 11:46:02', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796872 -2.607982)'), GeomFromEWKT('SRID=4674;POINT (-39.7969 -2.607972)'))) / (select extract(epoch from '2026-07-22 11:46:02'::timestamp) - extract(epoch from '2026-07-22 11:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796872 -2.607982)'), GeomFromEWKT('SRID=4674;POINT (-39.7969 -2.607972)'))) / (select extract(epoch from '2026-07-22 11:46:02'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.796917 -2.60796)', '2026-07-22 11:46:04', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7969 -2.607972)'), GeomFromEWKT('SRID=4674;POINT (-39.796917 -2.60796)'))) / (select extract(epoch from '2026-07-22 11:46:04'::timestamp) - extract(epoch from '2026-07-22 11:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7969 -2.607972)'), GeomFromEWKT('SRID=4674;POINT (-39.796917 -2.60796)'))) / (select extract(epoch from '2026-07-22 11:46:04'::timestamp) - extract(epoch from '2026-07-22 11:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796967 -2.607926)', '2026-07-22 11:46:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796917 -2.60796)'), GeomFromEWKT('SRID=4674;POINT (-39.796967 -2.607926)'))) / (select extract(epoch from '2026-07-22 11:46:10'::timestamp) - extract(epoch from '2026-07-22 11:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796917 -2.60796)'), GeomFromEWKT('SRID=4674;POINT (-39.796967 -2.607926)'))) / (select extract(epoch from '2026-07-22 11:46:10'::timestamp) - extract(epoch from '2026-07-22 11:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797002 -2.607888)', '2026-07-22 11:46:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796967 -2.607926)'), GeomFromEWKT('SRID=4674;POINT (-39.797002 -2.607888)'))) / (select extract(epoch from '2026-07-22 11:46:17'::timestamp) - extract(epoch from '2026-07-22 11:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796967 -2.607926)'), GeomFromEWKT('SRID=4674;POINT (-39.797002 -2.607888)'))) / (select extract(epoch from '2026-07-22 11:46:17'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.797044 -2.607839)', '2026-07-22 11:46:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797002 -2.607888)'), GeomFromEWKT('SRID=4674;POINT (-39.797044 -2.607839)'))) / (select extract(epoch from '2026-07-22 11:46:26'::timestamp) - extract(epoch from '2026-07-22 11:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797002 -2.607888)'), GeomFromEWKT('SRID=4674;POINT (-39.797044 -2.607839)'))) / (select extract(epoch from '2026-07-22 11:46:26'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.797086 -2.607787)', '2026-07-22 11:46:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797044 -2.607839)'), GeomFromEWKT('SRID=4674;POINT (-39.797086 -2.607787)'))) / (select extract(epoch from '2026-07-22 11:46:35'::timestamp) - extract(epoch from '2026-07-22 11:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797044 -2.607839)'), GeomFromEWKT('SRID=4674;POINT (-39.797086 -2.607787)'))) / (select extract(epoch from '2026-07-22 11:46:35'::timestamp) - extract(epoch from '2026-07-22 11:46:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797093 -2.607782)', '2026-07-22 11:46:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797086 -2.607787)'), GeomFromEWKT('SRID=4674;POINT (-39.797093 -2.607782)'))) / (select extract(epoch from '2026-07-22 11:46:36'::timestamp) - extract(epoch from '2026-07-22 11:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797086 -2.607787)'), GeomFromEWKT('SRID=4674;POINT (-39.797093 -2.607782)'))) / (select extract(epoch from '2026-07-22 11:46:36'::timestamp) - extract(epoch from '2026-07-22 11:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797128 -2.607749)', '2026-07-22 11:46:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797093 -2.607782)'), GeomFromEWKT('SRID=4674;POINT (-39.797128 -2.607749)'))) / (select extract(epoch from '2026-07-22 11:46:43'::timestamp) - extract(epoch from '2026-07-22 11:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797093 -2.607782)'), GeomFromEWKT('SRID=4674;POINT (-39.797128 -2.607749)'))) / (select extract(epoch from '2026-07-22 11:46:43'::timestamp) - extract(epoch from '2026-07-22 11:46:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79716 -2.607725)', '2026-07-22 11:46:49', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797128 -2.607749)'), GeomFromEWKT('SRID=4674;POINT (-39.79716 -2.607725)'))) / (select extract(epoch from '2026-07-22 11:46:49'::timestamp) - extract(epoch from '2026-07-22 11:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797128 -2.607749)'), GeomFromEWKT('SRID=4674;POINT (-39.79716 -2.607725)'))) / (select extract(epoch from '2026-07-22 11:46:49'::timestamp) - extract(epoch from '2026-07-22 11:46:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797183 -2.607702)', '2026-07-22 11:46:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79716 -2.607725)'), GeomFromEWKT('SRID=4674;POINT (-39.797183 -2.607702)'))) / (select extract(epoch from '2026-07-22 11:46:54'::timestamp) - extract(epoch from '2026-07-22 11:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79716 -2.607725)'), GeomFromEWKT('SRID=4674;POINT (-39.797183 -2.607702)'))) / (select extract(epoch from '2026-07-22 11:46:54'::timestamp) - extract(epoch from '2026-07-22 11:46:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797184 -2.607693)', '2026-07-22 11:46:55', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797183 -2.607702)'), GeomFromEWKT('SRID=4674;POINT (-39.797184 -2.607693)'))) / (select extract(epoch from '2026-07-22 11:46:55'::timestamp) - extract(epoch from '2026-07-22 11:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797183 -2.607702)'), GeomFromEWKT('SRID=4674;POINT (-39.797184 -2.607693)'))) / (select extract(epoch from '2026-07-22 11:46:55'::timestamp) - extract(epoch from '2026-07-22 11:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797201 -2.607672)', '2026-07-22 11:46:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797184 -2.607693)'), GeomFromEWKT('SRID=4674;POINT (-39.797201 -2.607672)'))) / (select extract(epoch from '2026-07-22 11:46:59'::timestamp) - extract(epoch from '2026-07-22 11:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797184 -2.607693)'), GeomFromEWKT('SRID=4674;POINT (-39.797201 -2.607672)'))) / (select extract(epoch from '2026-07-22 11:46:59'::timestamp) - extract(epoch from '2026-07-22 11:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797244 -2.607642)', '2026-07-22 11:47:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797201 -2.607672)'), GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.607642)'))) / (select extract(epoch from '2026-07-22 11:47:06'::timestamp) - extract(epoch from '2026-07-22 11:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797201 -2.607672)'), GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.607642)'))) / (select extract(epoch from '2026-07-22 11:47:06'::timestamp) - extract(epoch from '2026-07-22 11:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797293 -2.607592)', '2026-07-22 11:47:16', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.607642)'), GeomFromEWKT('SRID=4674;POINT (-39.797293 -2.607592)'))) / (select extract(epoch from '2026-07-22 11:47:16'::timestamp) - extract(epoch from '2026-07-22 11:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.607642)'), GeomFromEWKT('SRID=4674;POINT (-39.797293 -2.607592)'))) / (select extract(epoch from '2026-07-22 11:47:16'::timestamp) - extract(epoch from '2026-07-22 11:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797343 -2.607551)', '2026-07-22 11:47:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797293 -2.607592)'), GeomFromEWKT('SRID=4674;POINT (-39.797343 -2.607551)'))) / (select extract(epoch from '2026-07-22 11:47:24'::timestamp) - extract(epoch from '2026-07-22 11:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797293 -2.607592)'), GeomFromEWKT('SRID=4674;POINT (-39.797343 -2.607551)'))) / (select extract(epoch from '2026-07-22 11:47:24'::timestamp) - extract(epoch from '2026-07-22 11:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797368 -2.607515)', '2026-07-22 11:47:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797343 -2.607551)'), GeomFromEWKT('SRID=4674;POINT (-39.797368 -2.607515)'))) / (select extract(epoch from '2026-07-22 11:47:30'::timestamp) - extract(epoch from '2026-07-22 11:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797343 -2.607551)'), GeomFromEWKT('SRID=4674;POINT (-39.797368 -2.607515)'))) / (select extract(epoch from '2026-07-22 11:47:30'::timestamp) - extract(epoch from '2026-07-22 11:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797402 -2.607444)', '2026-07-22 11:47:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797368 -2.607515)'), GeomFromEWKT('SRID=4674;POINT (-39.797402 -2.607444)'))) / (select extract(epoch from '2026-07-22 11:47:40'::timestamp) - extract(epoch from '2026-07-22 11:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797368 -2.607515)'), GeomFromEWKT('SRID=4674;POINT (-39.797402 -2.607444)'))) / (select extract(epoch from '2026-07-22 11:47:40'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.797462 -2.607374)', '2026-07-22 11:47:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797402 -2.607444)'), GeomFromEWKT('SRID=4674;POINT (-39.797462 -2.607374)'))) / (select extract(epoch from '2026-07-22 11:47:52'::timestamp) - extract(epoch from '2026-07-22 11:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797402 -2.607444)'), GeomFromEWKT('SRID=4674;POINT (-39.797462 -2.607374)'))) / (select extract(epoch from '2026-07-22 11:47:52'::timestamp) - extract(epoch from '2026-07-22 11:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797517 -2.607325)', '2026-07-22 11:48:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797462 -2.607374)'), GeomFromEWKT('SRID=4674;POINT (-39.797517 -2.607325)'))) / (select extract(epoch from '2026-07-22 11:48:01'::timestamp) - extract(epoch from '2026-07-22 11:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797462 -2.607374)'), GeomFromEWKT('SRID=4674;POINT (-39.797517 -2.607325)'))) / (select extract(epoch from '2026-07-22 11:48:01'::timestamp) - extract(epoch from '2026-07-22 11:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797544 -2.607297)', '2026-07-22 11:48:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797517 -2.607325)'), GeomFromEWKT('SRID=4674;POINT (-39.797544 -2.607297)'))) / (select extract(epoch from '2026-07-22 11:48:07'::timestamp) - extract(epoch from '2026-07-22 11:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797517 -2.607325)'), GeomFromEWKT('SRID=4674;POINT (-39.797544 -2.607297)'))) / (select extract(epoch from '2026-07-22 11:48:07'::timestamp) - extract(epoch from '2026-07-22 11:48:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797592 -2.607266)', '2026-07-22 11:48:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797544 -2.607297)'), GeomFromEWKT('SRID=4674;POINT (-39.797592 -2.607266)'))) / (select extract(epoch from '2026-07-22 11:48:15'::timestamp) - extract(epoch from '2026-07-22 11:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797544 -2.607297)'), GeomFromEWKT('SRID=4674;POINT (-39.797592 -2.607266)'))) / (select extract(epoch from '2026-07-22 11:48:15'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.797621 -2.607229)', '2026-07-22 11:48:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797592 -2.607266)'), GeomFromEWKT('SRID=4674;POINT (-39.797621 -2.607229)'))) / (select extract(epoch from '2026-07-22 11:48:23'::timestamp) - extract(epoch from '2026-07-22 11:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797592 -2.607266)'), GeomFromEWKT('SRID=4674;POINT (-39.797621 -2.607229)'))) / (select extract(epoch from '2026-07-22 11:48:23'::timestamp) - extract(epoch from '2026-07-22 11:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797677 -2.607147)', '2026-07-22 11:48:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797621 -2.607229)'), GeomFromEWKT('SRID=4674;POINT (-39.797677 -2.607147)'))) / (select extract(epoch from '2026-07-22 11:48:36'::timestamp) - extract(epoch from '2026-07-22 11:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797621 -2.607229)'), GeomFromEWKT('SRID=4674;POINT (-39.797677 -2.607147)'))) / (select extract(epoch from '2026-07-22 11:48:36'::timestamp) - extract(epoch from '2026-07-22 11:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797711 -2.6071)', '2026-07-22 11:48:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797677 -2.607147)'), GeomFromEWKT('SRID=4674;POINT (-39.797711 -2.6071)'))) / (select extract(epoch from '2026-07-22 11:48:45'::timestamp) - extract(epoch from '2026-07-22 11:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797677 -2.607147)'), GeomFromEWKT('SRID=4674;POINT (-39.797711 -2.6071)'))) / (select extract(epoch from '2026-07-22 11:48:45'::timestamp) - extract(epoch from '2026-07-22 11:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797759 -2.607041)', '2026-07-22 11:48:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797711 -2.6071)'), GeomFromEWKT('SRID=4674;POINT (-39.797759 -2.607041)'))) / (select extract(epoch from '2026-07-22 11:48:55'::timestamp) - extract(epoch from '2026-07-22 11:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797711 -2.6071)'), GeomFromEWKT('SRID=4674;POINT (-39.797759 -2.607041)'))) / (select extract(epoch from '2026-07-22 11:48:55'::timestamp) - extract(epoch from '2026-07-22 11:48:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797797 -2.606994)', '2026-07-22 11:49:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797759 -2.607041)'), GeomFromEWKT('SRID=4674;POINT (-39.797797 -2.606994)'))) / (select extract(epoch from '2026-07-22 11:49:03'::timestamp) - extract(epoch from '2026-07-22 11:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797759 -2.607041)'), GeomFromEWKT('SRID=4674;POINT (-39.797797 -2.606994)'))) / (select extract(epoch from '2026-07-22 11:49:03'::timestamp) - extract(epoch from '2026-07-22 11:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797846 -2.60694)', '2026-07-22 11:49:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797797 -2.606994)'), GeomFromEWKT('SRID=4674;POINT (-39.797846 -2.60694)'))) / (select extract(epoch from '2026-07-22 11:49:11'::timestamp) - extract(epoch from '2026-07-22 11:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797797 -2.606994)'), GeomFromEWKT('SRID=4674;POINT (-39.797846 -2.60694)'))) / (select extract(epoch from '2026-07-22 11:49:11'::timestamp) - extract(epoch from '2026-07-22 11:49:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797848 -2.606893)', '2026-07-22 11:49:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797846 -2.60694)'), GeomFromEWKT('SRID=4674;POINT (-39.797848 -2.606893)'))) / (select extract(epoch from '2026-07-22 11:49:19'::timestamp) - extract(epoch from '2026-07-22 11:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797846 -2.60694)'), GeomFromEWKT('SRID=4674;POINT (-39.797848 -2.606893)'))) / (select extract(epoch from '2026-07-22 11:49:19'::timestamp) - extract(epoch from '2026-07-22 11:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797796 -2.606885)', '2026-07-22 11:49:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797848 -2.606893)'), GeomFromEWKT('SRID=4674;POINT (-39.797796 -2.606885)'))) / (select extract(epoch from '2026-07-22 11:49:30'::timestamp) - extract(epoch from '2026-07-22 11:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797848 -2.606893)'), GeomFromEWKT('SRID=4674;POINT (-39.797796 -2.606885)'))) / (select extract(epoch from '2026-07-22 11:49:30'::timestamp) - extract(epoch from '2026-07-22 11:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797757 -2.606934)', '2026-07-22 11:49:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797796 -2.606885)'), GeomFromEWKT('SRID=4674;POINT (-39.797757 -2.606934)'))) / (select extract(epoch from '2026-07-22 11:49:38'::timestamp) - extract(epoch from '2026-07-22 11:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797796 -2.606885)'), GeomFromEWKT('SRID=4674;POINT (-39.797757 -2.606934)'))) / (select extract(epoch from '2026-07-22 11:49:38'::timestamp) - extract(epoch from '2026-07-22 11:49:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797725 -2.606983)', '2026-07-22 11:49:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797757 -2.606934)'), GeomFromEWKT('SRID=4674;POINT (-39.797725 -2.606983)'))) / (select extract(epoch from '2026-07-22 11:49:44'::timestamp) - extract(epoch from '2026-07-22 11:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797757 -2.606934)'), GeomFromEWKT('SRID=4674;POINT (-39.797725 -2.606983)'))) / (select extract(epoch from '2026-07-22 11:49:44'::timestamp) - extract(epoch from '2026-07-22 11:49:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797703 -2.607068)', '2026-07-22 11:49:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797725 -2.606983)'), GeomFromEWKT('SRID=4674;POINT (-39.797703 -2.607068)'))) / (select extract(epoch from '2026-07-22 11:49:52'::timestamp) - extract(epoch from '2026-07-22 11:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797725 -2.606983)'), GeomFromEWKT('SRID=4674;POINT (-39.797703 -2.607068)'))) / (select extract(epoch from '2026-07-22 11:49:52'::timestamp) - extract(epoch from '2026-07-22 11:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797706 -2.607138)', '2026-07-22 11:49:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797703 -2.607068)'), GeomFromEWKT('SRID=4674;POINT (-39.797706 -2.607138)'))) / (select extract(epoch from '2026-07-22 11:49:58'::timestamp) - extract(epoch from '2026-07-22 11:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797703 -2.607068)'), GeomFromEWKT('SRID=4674;POINT (-39.797706 -2.607138)'))) / (select extract(epoch from '2026-07-22 11:49:58'::timestamp) - extract(epoch from '2026-07-22 11:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797731 -2.607242)', '2026-07-22 11:50:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797706 -2.607138)'), GeomFromEWKT('SRID=4674;POINT (-39.797731 -2.607242)'))) / (select extract(epoch from '2026-07-22 11:50:06'::timestamp) - extract(epoch from '2026-07-22 11:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797706 -2.607138)'), GeomFromEWKT('SRID=4674;POINT (-39.797731 -2.607242)'))) / (select extract(epoch from '2026-07-22 11:50:06'::timestamp) - extract(epoch from '2026-07-22 11:49:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797729 -2.60732)', '2026-07-22 11:50:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797731 -2.607242)'), GeomFromEWKT('SRID=4674;POINT (-39.797729 -2.60732)'))) / (select extract(epoch from '2026-07-22 11:50:12'::timestamp) - extract(epoch from '2026-07-22 11:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797731 -2.607242)'), GeomFromEWKT('SRID=4674;POINT (-39.797729 -2.60732)'))) / (select extract(epoch from '2026-07-22 11:50:12'::timestamp) - extract(epoch from '2026-07-22 11:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797734 -2.607333)', '2026-07-22 11:50:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797729 -2.60732)'), GeomFromEWKT('SRID=4674;POINT (-39.797734 -2.607333)'))) / (select extract(epoch from '2026-07-22 11:50:13'::timestamp) - extract(epoch from '2026-07-22 11:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797729 -2.60732)'), GeomFromEWKT('SRID=4674;POINT (-39.797734 -2.607333)'))) / (select extract(epoch from '2026-07-22 11:50:13'::timestamp) - extract(epoch from '2026-07-22 11:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797736 -2.607345)', '2026-07-22 11:50:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797734 -2.607333)'), GeomFromEWKT('SRID=4674;POINT (-39.797736 -2.607345)'))) / (select extract(epoch from '2026-07-22 11:50:14'::timestamp) - extract(epoch from '2026-07-22 11:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797734 -2.607333)'), GeomFromEWKT('SRID=4674;POINT (-39.797736 -2.607345)'))) / (select extract(epoch from '2026-07-22 11:50:14'::timestamp) - extract(epoch from '2026-07-22 11:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797731 -2.607376)', '2026-07-22 11:50:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797736 -2.607345)'), GeomFromEWKT('SRID=4674;POINT (-39.797731 -2.607376)'))) / (select extract(epoch from '2026-07-22 11:50:17'::timestamp) - extract(epoch from '2026-07-22 11:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797736 -2.607345)'), GeomFromEWKT('SRID=4674;POINT (-39.797731 -2.607376)'))) / (select extract(epoch from '2026-07-22 11:50:17'::timestamp) - extract(epoch from '2026-07-22 11:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797735 -2.607383)', '2026-07-22 11:50:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797731 -2.607376)'), GeomFromEWKT('SRID=4674;POINT (-39.797735 -2.607383)'))) / (select extract(epoch from '2026-07-22 11:50:18'::timestamp) - extract(epoch from '2026-07-22 11:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797731 -2.607376)'), GeomFromEWKT('SRID=4674;POINT (-39.797735 -2.607383)'))) / (select extract(epoch from '2026-07-22 11:50:18'::timestamp) - extract(epoch from '2026-07-22 11:50:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797737 -2.607392)', '2026-07-22 11:50:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797735 -2.607383)'), GeomFromEWKT('SRID=4674;POINT (-39.797737 -2.607392)'))) / (select extract(epoch from '2026-07-22 11:50:19'::timestamp) - extract(epoch from '2026-07-22 11:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797735 -2.607383)'), GeomFromEWKT('SRID=4674;POINT (-39.797737 -2.607392)'))) / (select extract(epoch from '2026-07-22 11:50:19'::timestamp) - extract(epoch from '2026-07-22 11:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797727 -2.607433)', '2026-07-22 11:50:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797737 -2.607392)'), GeomFromEWKT('SRID=4674;POINT (-39.797727 -2.607433)'))) / (select extract(epoch from '2026-07-22 11:50:23'::timestamp) - extract(epoch from '2026-07-22 11:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797737 -2.607392)'), GeomFromEWKT('SRID=4674;POINT (-39.797727 -2.607433)'))) / (select extract(epoch from '2026-07-22 11:50:23'::timestamp) - extract(epoch from '2026-07-22 11:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797724 -2.607473)', '2026-07-22 11:50:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797727 -2.607433)'), GeomFromEWKT('SRID=4674;POINT (-39.797724 -2.607473)'))) / (select extract(epoch from '2026-07-22 11:50:27'::timestamp) - extract(epoch from '2026-07-22 11:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797727 -2.607433)'), GeomFromEWKT('SRID=4674;POINT (-39.797724 -2.607473)'))) / (select extract(epoch from '2026-07-22 11:50:27'::timestamp) - extract(epoch from '2026-07-22 11:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797719 -2.60748)', '2026-07-22 11:50:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797724 -2.607473)'), GeomFromEWKT('SRID=4674;POINT (-39.797719 -2.60748)'))) / (select extract(epoch from '2026-07-22 11:50:28'::timestamp) - extract(epoch from '2026-07-22 11:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797724 -2.607473)'), GeomFromEWKT('SRID=4674;POINT (-39.797719 -2.60748)'))) / (select extract(epoch from '2026-07-22 11:50:28'::timestamp) - extract(epoch from '2026-07-22 11:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797703 -2.60752)', '2026-07-22 11:50:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797719 -2.60748)'), GeomFromEWKT('SRID=4674;POINT (-39.797703 -2.60752)'))) / (select extract(epoch from '2026-07-22 11:50:34'::timestamp) - extract(epoch from '2026-07-22 11:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797719 -2.60748)'), GeomFromEWKT('SRID=4674;POINT (-39.797703 -2.60752)'))) / (select extract(epoch from '2026-07-22 11:50:34'::timestamp) - extract(epoch from '2026-07-22 11:50:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797682 -2.607573)', '2026-07-22 11:50:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797703 -2.60752)'), GeomFromEWKT('SRID=4674;POINT (-39.797682 -2.607573)'))) / (select extract(epoch from '2026-07-22 11:50:42'::timestamp) - extract(epoch from '2026-07-22 11:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797703 -2.60752)'), GeomFromEWKT('SRID=4674;POINT (-39.797682 -2.607573)'))) / (select extract(epoch from '2026-07-22 11:50:42'::timestamp) - extract(epoch from '2026-07-22 11:50:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797639 -2.607622)', '2026-07-22 11:50:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797682 -2.607573)'), GeomFromEWKT('SRID=4674;POINT (-39.797639 -2.607622)'))) / (select extract(epoch from '2026-07-22 11:50:48'::timestamp) - extract(epoch from '2026-07-22 11:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797682 -2.607573)'), GeomFromEWKT('SRID=4674;POINT (-39.797639 -2.607622)'))) / (select extract(epoch from '2026-07-22 11:50:48'::timestamp) - extract(epoch from '2026-07-22 11:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797588 -2.607704)', '2026-07-22 11:50:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797639 -2.607622)'), GeomFromEWKT('SRID=4674;POINT (-39.797588 -2.607704)'))) / (select extract(epoch from '2026-07-22 11:50:56'::timestamp) - extract(epoch from '2026-07-22 11:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797639 -2.607622)'), GeomFromEWKT('SRID=4674;POINT (-39.797588 -2.607704)'))) / (select extract(epoch from '2026-07-22 11:50:56'::timestamp) - extract(epoch from '2026-07-22 11:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79755 -2.60777)', '2026-07-22 11:51:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797588 -2.607704)'), GeomFromEWKT('SRID=4674;POINT (-39.79755 -2.60777)'))) / (select extract(epoch from '2026-07-22 11:51:03'::timestamp) - extract(epoch from '2026-07-22 11:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797588 -2.607704)'), GeomFromEWKT('SRID=4674;POINT (-39.79755 -2.60777)'))) / (select extract(epoch from '2026-07-22 11:51:03'::timestamp) - extract(epoch from '2026-07-22 11:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797518 -2.607828)', '2026-07-22 11:51:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79755 -2.60777)'), GeomFromEWKT('SRID=4674;POINT (-39.797518 -2.607828)'))) / (select extract(epoch from '2026-07-22 11:51:09'::timestamp) - extract(epoch from '2026-07-22 11:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79755 -2.60777)'), GeomFromEWKT('SRID=4674;POINT (-39.797518 -2.607828)'))) / (select extract(epoch from '2026-07-22 11:51:09'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.797502 -2.607854)', '2026-07-22 11:51:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797518 -2.607828)'), GeomFromEWKT('SRID=4674;POINT (-39.797502 -2.607854)'))) / (select extract(epoch from '2026-07-22 11:51:12'::timestamp) - extract(epoch from '2026-07-22 11:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797518 -2.607828)'), GeomFromEWKT('SRID=4674;POINT (-39.797502 -2.607854)'))) / (select extract(epoch from '2026-07-22 11:51:12'::timestamp) - extract(epoch from '2026-07-22 11:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797492 -2.607868)', '2026-07-22 11:51:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797502 -2.607854)'), GeomFromEWKT('SRID=4674;POINT (-39.797492 -2.607868)'))) / (select extract(epoch from '2026-07-22 11:51:14'::timestamp) - extract(epoch from '2026-07-22 11:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797502 -2.607854)'), GeomFromEWKT('SRID=4674;POINT (-39.797492 -2.607868)'))) / (select extract(epoch from '2026-07-22 11:51:14'::timestamp) - extract(epoch from '2026-07-22 11:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79749 -2.607876)', '2026-07-22 11:51:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797492 -2.607868)'), GeomFromEWKT('SRID=4674;POINT (-39.79749 -2.607876)'))) / (select extract(epoch from '2026-07-22 11:51:15'::timestamp) - extract(epoch from '2026-07-22 11:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797492 -2.607868)'), GeomFromEWKT('SRID=4674;POINT (-39.79749 -2.607876)'))) / (select extract(epoch from '2026-07-22 11:51:15'::timestamp) - extract(epoch from '2026-07-22 11:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797458 -2.607907)', '2026-07-22 11:51:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79749 -2.607876)'), GeomFromEWKT('SRID=4674;POINT (-39.797458 -2.607907)'))) / (select extract(epoch from '2026-07-22 11:51:20'::timestamp) - extract(epoch from '2026-07-22 11:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79749 -2.607876)'), GeomFromEWKT('SRID=4674;POINT (-39.797458 -2.607907)'))) / (select extract(epoch from '2026-07-22 11:51:20'::timestamp) - extract(epoch from '2026-07-22 11:51:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797429 -2.607959)', '2026-07-22 11:51:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797458 -2.607907)'), GeomFromEWKT('SRID=4674;POINT (-39.797429 -2.607959)'))) / (select extract(epoch from '2026-07-22 11:51:27'::timestamp) - extract(epoch from '2026-07-22 11:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797458 -2.607907)'), GeomFromEWKT('SRID=4674;POINT (-39.797429 -2.607959)'))) / (select extract(epoch from '2026-07-22 11:51:27'::timestamp) - extract(epoch from '2026-07-22 11:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797383 -2.607988)', '2026-07-22 11:51:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797429 -2.607959)'), GeomFromEWKT('SRID=4674;POINT (-39.797383 -2.607988)'))) / (select extract(epoch from '2026-07-22 11:51:32'::timestamp) - extract(epoch from '2026-07-22 11:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797429 -2.607959)'), GeomFromEWKT('SRID=4674;POINT (-39.797383 -2.607988)'))) / (select extract(epoch from '2026-07-22 11:51:32'::timestamp) - extract(epoch from '2026-07-22 11:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797359 -2.607998)', '2026-07-22 11:51:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797383 -2.607988)'), GeomFromEWKT('SRID=4674;POINT (-39.797359 -2.607998)'))) / (select extract(epoch from '2026-07-22 11:51:34'::timestamp) - extract(epoch from '2026-07-22 11:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797383 -2.607988)'), GeomFromEWKT('SRID=4674;POINT (-39.797359 -2.607998)'))) / (select extract(epoch from '2026-07-22 11:51:34'::timestamp) - extract(epoch from '2026-07-22 11:51:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797319 -2.608018)', '2026-07-22 11:51:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797359 -2.607998)'), GeomFromEWKT('SRID=4674;POINT (-39.797319 -2.608018)'))) / (select extract(epoch from '2026-07-22 11:51:40'::timestamp) - extract(epoch from '2026-07-22 11:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797359 -2.607998)'), GeomFromEWKT('SRID=4674;POINT (-39.797319 -2.608018)'))) / (select extract(epoch from '2026-07-22 11:51:40'::timestamp) - extract(epoch from '2026-07-22 11: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'), 47870, 'SRID=4674;POINT (-39.797268 -2.608055)', '2026-07-22 11:51:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797319 -2.608018)'), GeomFromEWKT('SRID=4674;POINT (-39.797268 -2.608055)'))) / (select extract(epoch from '2026-07-22 11:51:48'::timestamp) - extract(epoch from '2026-07-22 11:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797319 -2.608018)'), GeomFromEWKT('SRID=4674;POINT (-39.797268 -2.608055)'))) / (select extract(epoch from '2026-07-22 11:51:48'::timestamp) - extract(epoch from '2026-07-22 11:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797236 -2.608145)', '2026-07-22 11:51:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797268 -2.608055)'), GeomFromEWKT('SRID=4674;POINT (-39.797236 -2.608145)'))) / (select extract(epoch from '2026-07-22 11:51:58'::timestamp) - extract(epoch from '2026-07-22 11:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797268 -2.608055)'), GeomFromEWKT('SRID=4674;POINT (-39.797236 -2.608145)'))) / (select extract(epoch from '2026-07-22 11:51:58'::timestamp) - extract(epoch from '2026-07-22 11:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797235 -2.608152)', '2026-07-22 11:51:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797236 -2.608145)'), GeomFromEWKT('SRID=4674;POINT (-39.797235 -2.608152)'))) / (select extract(epoch from '2026-07-22 11:51:59'::timestamp) - extract(epoch from '2026-07-22 11:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797236 -2.608145)'), GeomFromEWKT('SRID=4674;POINT (-39.797235 -2.608152)'))) / (select extract(epoch from '2026-07-22 11:51:59'::timestamp) - extract(epoch from '2026-07-22 11:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797256 -2.608193)', '2026-07-22 11:52:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797235 -2.608152)'), GeomFromEWKT('SRID=4674;POINT (-39.797256 -2.608193)'))) / (select extract(epoch from '2026-07-22 11:52:03'::timestamp) - extract(epoch from '2026-07-22 11:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797235 -2.608152)'), GeomFromEWKT('SRID=4674;POINT (-39.797256 -2.608193)'))) / (select extract(epoch from '2026-07-22 11:52:03'::timestamp) - extract(epoch from '2026-07-22 11:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797324 -2.608295)', '2026-07-22 11:52:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797256 -2.608193)'), GeomFromEWKT('SRID=4674;POINT (-39.797324 -2.608295)'))) / (select extract(epoch from '2026-07-22 11:52:11'::timestamp) - extract(epoch from '2026-07-22 11:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797256 -2.608193)'), GeomFromEWKT('SRID=4674;POINT (-39.797324 -2.608295)'))) / (select extract(epoch from '2026-07-22 11:52:11'::timestamp) - extract(epoch from '2026-07-22 11:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797349 -2.608361)', '2026-07-22 11:52:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797324 -2.608295)'), GeomFromEWKT('SRID=4674;POINT (-39.797349 -2.608361)'))) / (select extract(epoch from '2026-07-22 11:52:17'::timestamp) - extract(epoch from '2026-07-22 11:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797324 -2.608295)'), GeomFromEWKT('SRID=4674;POINT (-39.797349 -2.608361)'))) / (select extract(epoch from '2026-07-22 11:52:17'::timestamp) - extract(epoch from '2026-07-22 11:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797351 -2.608434)', '2026-07-22 11:52:23', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797349 -2.608361)'), GeomFromEWKT('SRID=4674;POINT (-39.797351 -2.608434)'))) / (select extract(epoch from '2026-07-22 11:52:23'::timestamp) - extract(epoch from '2026-07-22 11:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797349 -2.608361)'), GeomFromEWKT('SRID=4674;POINT (-39.797351 -2.608434)'))) / (select extract(epoch from '2026-07-22 11:52:23'::timestamp) - extract(epoch from '2026-07-22 11:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797335 -2.608471)', '2026-07-22 11:52:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797351 -2.608434)'), GeomFromEWKT('SRID=4674;POINT (-39.797335 -2.608471)'))) / (select extract(epoch from '2026-07-22 11:52:27'::timestamp) - extract(epoch from '2026-07-22 11:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797351 -2.608434)'), GeomFromEWKT('SRID=4674;POINT (-39.797335 -2.608471)'))) / (select extract(epoch from '2026-07-22 11:52:27'::timestamp) - extract(epoch from '2026-07-22 11:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797315 -2.608497)', '2026-07-22 11:52:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797335 -2.608471)'), GeomFromEWKT('SRID=4674;POINT (-39.797315 -2.608497)'))) / (select extract(epoch from '2026-07-22 11:52:30'::timestamp) - extract(epoch from '2026-07-22 11:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797335 -2.608471)'), GeomFromEWKT('SRID=4674;POINT (-39.797315 -2.608497)'))) / (select extract(epoch from '2026-07-22 11:52:30'::timestamp) - extract(epoch from '2026-07-22 11:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79731 -2.608506)', '2026-07-22 11:52:31', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797315 -2.608497)'), GeomFromEWKT('SRID=4674;POINT (-39.79731 -2.608506)'))) / (select extract(epoch from '2026-07-22 11:52:31'::timestamp) - extract(epoch from '2026-07-22 11:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797315 -2.608497)'), GeomFromEWKT('SRID=4674;POINT (-39.79731 -2.608506)'))) / (select extract(epoch from '2026-07-22 11:52:31'::timestamp) - extract(epoch from '2026-07-22 11:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797249 -2.60852)', '2026-07-22 11:52:36', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79731 -2.608506)'), GeomFromEWKT('SRID=4674;POINT (-39.797249 -2.60852)'))) / (select extract(epoch from '2026-07-22 11:52:36'::timestamp) - extract(epoch from '2026-07-22 11:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79731 -2.608506)'), GeomFromEWKT('SRID=4674;POINT (-39.797249 -2.60852)'))) / (select extract(epoch from '2026-07-22 11:52:36'::timestamp) - extract(epoch from '2026-07-22 11:52:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797235 -2.60852)', '2026-07-22 11:52:37', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797249 -2.60852)'), GeomFromEWKT('SRID=4674;POINT (-39.797235 -2.60852)'))) / (select extract(epoch from '2026-07-22 11:52:37'::timestamp) - extract(epoch from '2026-07-22 11:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797249 -2.60852)'), GeomFromEWKT('SRID=4674;POINT (-39.797235 -2.60852)'))) / (select extract(epoch from '2026-07-22 11:52:37'::timestamp) - extract(epoch from '2026-07-22 11:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797192 -2.608513)', '2026-07-22 11:52:41', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797235 -2.60852)'), GeomFromEWKT('SRID=4674;POINT (-39.797192 -2.608513)'))) / (select extract(epoch from '2026-07-22 11:52:41'::timestamp) - extract(epoch from '2026-07-22 11:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797235 -2.60852)'), GeomFromEWKT('SRID=4674;POINT (-39.797192 -2.608513)'))) / (select extract(epoch from '2026-07-22 11:52:41'::timestamp) - extract(epoch from '2026-07-22 11:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797151 -2.608539)', '2026-07-22 11:52:45', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797192 -2.608513)'), GeomFromEWKT('SRID=4674;POINT (-39.797151 -2.608539)'))) / (select extract(epoch from '2026-07-22 11:52:45'::timestamp) - extract(epoch from '2026-07-22 11:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797192 -2.608513)'), GeomFromEWKT('SRID=4674;POINT (-39.797151 -2.608539)'))) / (select extract(epoch from '2026-07-22 11:52:45'::timestamp) - extract(epoch from '2026-07-22 11:52:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797145 -2.608557)', '2026-07-22 11:52:47', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797151 -2.608539)'), GeomFromEWKT('SRID=4674;POINT (-39.797145 -2.608557)'))) / (select extract(epoch from '2026-07-22 11:52:47'::timestamp) - extract(epoch from '2026-07-22 11:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797151 -2.608539)'), GeomFromEWKT('SRID=4674;POINT (-39.797145 -2.608557)'))) / (select extract(epoch from '2026-07-22 11:52:47'::timestamp) - extract(epoch from '2026-07-22 11:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797159 -2.608637)', '2026-07-22 11:52:55', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797145 -2.608557)'), GeomFromEWKT('SRID=4674;POINT (-39.797159 -2.608637)'))) / (select extract(epoch from '2026-07-22 11:52:55'::timestamp) - extract(epoch from '2026-07-22 11:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797145 -2.608557)'), GeomFromEWKT('SRID=4674;POINT (-39.797159 -2.608637)'))) / (select extract(epoch from '2026-07-22 11:52:55'::timestamp) - extract(epoch from '2026-07-22 11:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797195 -2.60873)', '2026-07-22 11:53:02', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797159 -2.608637)'), GeomFromEWKT('SRID=4674;POINT (-39.797195 -2.60873)'))) / (select extract(epoch from '2026-07-22 11:53:02'::timestamp) - extract(epoch from '2026-07-22 11:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797159 -2.608637)'), GeomFromEWKT('SRID=4674;POINT (-39.797195 -2.60873)'))) / (select extract(epoch from '2026-07-22 11:53:02'::timestamp) - extract(epoch from '2026-07-22 11:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797241 -2.608799)', '2026-07-22 11:53:09', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797195 -2.60873)'), GeomFromEWKT('SRID=4674;POINT (-39.797241 -2.608799)'))) / (select extract(epoch from '2026-07-22 11:53:09'::timestamp) - extract(epoch from '2026-07-22 11:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797195 -2.60873)'), GeomFromEWKT('SRID=4674;POINT (-39.797241 -2.608799)'))) / (select extract(epoch from '2026-07-22 11:53:09'::timestamp) - extract(epoch from '2026-07-22 11:53:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797244 -2.608808)', '2026-07-22 11:53:10', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797241 -2.608799)'), GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.608808)'))) / (select extract(epoch from '2026-07-22 11:53:10'::timestamp) - extract(epoch from '2026-07-22 11:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797241 -2.608799)'), GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.608808)'))) / (select extract(epoch from '2026-07-22 11:53:10'::timestamp) - extract(epoch from '2026-07-22 11:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797267 -2.608864)', '2026-07-22 11:53:14', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.608808)'), GeomFromEWKT('SRID=4674;POINT (-39.797267 -2.608864)'))) / (select extract(epoch from '2026-07-22 11:53:14'::timestamp) - extract(epoch from '2026-07-22 11:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.608808)'), GeomFromEWKT('SRID=4674;POINT (-39.797267 -2.608864)'))) / (select extract(epoch from '2026-07-22 11:53:14'::timestamp) - extract(epoch from '2026-07-22 11:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797266 -2.60899)', '2026-07-22 11:53:22', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797267 -2.608864)'), GeomFromEWKT('SRID=4674;POINT (-39.797266 -2.60899)'))) / (select extract(epoch from '2026-07-22 11:53:22'::timestamp) - extract(epoch from '2026-07-22 11:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797267 -2.608864)'), GeomFromEWKT('SRID=4674;POINT (-39.797266 -2.60899)'))) / (select extract(epoch from '2026-07-22 11:53:22'::timestamp) - extract(epoch from '2026-07-22 11:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797244 -2.609074)', '2026-07-22 11:53:28', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797266 -2.60899)'), GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.609074)'))) / (select extract(epoch from '2026-07-22 11:53:28'::timestamp) - extract(epoch from '2026-07-22 11:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797266 -2.60899)'), GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.609074)'))) / (select extract(epoch from '2026-07-22 11:53:28'::timestamp) - extract(epoch from '2026-07-22 11:53:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797242 -2.609086)', '2026-07-22 11:53:29', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.609074)'), GeomFromEWKT('SRID=4674;POINT (-39.797242 -2.609086)'))) / (select extract(epoch from '2026-07-22 11:53:29'::timestamp) - extract(epoch from '2026-07-22 11:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797244 -2.609074)'), GeomFromEWKT('SRID=4674;POINT (-39.797242 -2.609086)'))) / (select extract(epoch from '2026-07-22 11:53:29'::timestamp) - extract(epoch from '2026-07-22 11:53:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
