 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369167 -3.084753)', '2026-08-04 15:29:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36907 -3.084673)'), GeomFromEWKT('SRID=4674;POINT (-39.369167 -3.084753)'))) / (select extract(epoch from '2026-08-04 15:29:40'::timestamp) - extract(epoch from '2026-08-04 15:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36907 -3.084673)'), GeomFromEWKT('SRID=4674;POINT (-39.369167 -3.084753)'))) / (select extract(epoch from '2026-08-04 15:29:40'::timestamp) - extract(epoch from '2026-08-04 15:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369275 -3.084864)', '2026-08-04 15:29:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369167 -3.084753)'), GeomFromEWKT('SRID=4674;POINT (-39.369275 -3.084864)'))) / (select extract(epoch from '2026-08-04 15:29:47'::timestamp) - extract(epoch from '2026-08-04 15:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369167 -3.084753)'), GeomFromEWKT('SRID=4674;POINT (-39.369275 -3.084864)'))) / (select extract(epoch from '2026-08-04 15:29:47'::timestamp) - extract(epoch from '2026-08-04 15:29: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'), 48166, 'SRID=4674;POINT (-39.369359 -3.084974)', '2026-08-04 15:29:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369275 -3.084864)'), GeomFromEWKT('SRID=4674;POINT (-39.369359 -3.084974)'))) / (select extract(epoch from '2026-08-04 15:29:53'::timestamp) - extract(epoch from '2026-08-04 15:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369275 -3.084864)'), GeomFromEWKT('SRID=4674;POINT (-39.369359 -3.084974)'))) / (select extract(epoch from '2026-08-04 15:29:53'::timestamp) - extract(epoch from '2026-08-04 15:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369456 -3.085077)', '2026-08-04 15:29:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369359 -3.084974)'), GeomFromEWKT('SRID=4674;POINT (-39.369456 -3.085077)'))) / (select extract(epoch from '2026-08-04 15:29:59'::timestamp) - extract(epoch from '2026-08-04 15:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369359 -3.084974)'), GeomFromEWKT('SRID=4674;POINT (-39.369456 -3.085077)'))) / (select extract(epoch from '2026-08-04 15:29:59'::timestamp) - extract(epoch from '2026-08-04 15:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369487 -3.085105)', '2026-08-04 15:30:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369456 -3.085077)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085105)'))) / (select extract(epoch from '2026-08-04 15:30:01'::timestamp) - extract(epoch from '2026-08-04 15:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369456 -3.085077)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085105)'))) / (select extract(epoch from '2026-08-04 15:30:01'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369505 -3.085142)', '2026-08-04 15:30:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085105)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085142)'))) / (select extract(epoch from '2026-08-04 15:30:03'::timestamp) - extract(epoch from '2026-08-04 15:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085105)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085142)'))) / (select extract(epoch from '2026-08-04 15:30:03'::timestamp) - extract(epoch from '2026-08-04 15:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369542 -3.085202)', '2026-08-04 15:30:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085142)'), GeomFromEWKT('SRID=4674;POINT (-39.369542 -3.085202)'))) / (select extract(epoch from '2026-08-04 15:30:06'::timestamp) - extract(epoch from '2026-08-04 15:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085142)'), GeomFromEWKT('SRID=4674;POINT (-39.369542 -3.085202)'))) / (select extract(epoch from '2026-08-04 15:30:06'::timestamp) - extract(epoch from '2026-08-04 15:30: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'), 48166, 'SRID=4674;POINT (-39.36954 -3.085216)', '2026-08-04 15:30:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369542 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.36954 -3.085216)'))) / (select extract(epoch from '2026-08-04 15:30:07'::timestamp) - extract(epoch from '2026-08-04 15:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369542 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.36954 -3.085216)'))) / (select extract(epoch from '2026-08-04 15:30:07'::timestamp) - extract(epoch from '2026-08-04 15:30: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'), 48166, 'SRID=4674;POINT (-39.3695 -3.085258)', '2026-08-04 15:30:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36954 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085258)'))) / (select extract(epoch from '2026-08-04 15:30:12'::timestamp) - extract(epoch from '2026-08-04 15:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36954 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085258)'))) / (select extract(epoch from '2026-08-04 15:30:12'::timestamp) - extract(epoch from '2026-08-04 15:30: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'), 48166, 'SRID=4674;POINT (-39.369466 -3.085269)', '2026-08-04 15:30:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085258)'), GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.085269)'))) / (select extract(epoch from '2026-08-04 15:30:14'::timestamp) - extract(epoch from '2026-08-04 15:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085258)'), GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.085269)'))) / (select extract(epoch from '2026-08-04 15:30:14'::timestamp) - extract(epoch from '2026-08-04 15:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369419 -3.085274)', '2026-08-04 15:30:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.085269)'), GeomFromEWKT('SRID=4674;POINT (-39.369419 -3.085274)'))) / (select extract(epoch from '2026-08-04 15:30:17'::timestamp) - extract(epoch from '2026-08-04 15:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.085269)'), GeomFromEWKT('SRID=4674;POINT (-39.369419 -3.085274)'))) / (select extract(epoch from '2026-08-04 15:30:17'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369342 -3.085286)', '2026-08-04 15:30:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369419 -3.085274)'), GeomFromEWKT('SRID=4674;POINT (-39.369342 -3.085286)'))) / (select extract(epoch from '2026-08-04 15:30:23'::timestamp) - extract(epoch from '2026-08-04 15:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369419 -3.085274)'), GeomFromEWKT('SRID=4674;POINT (-39.369342 -3.085286)'))) / (select extract(epoch from '2026-08-04 15:30:23'::timestamp) - extract(epoch from '2026-08-04 15:30: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'), 48166, 'SRID=4674;POINT (-39.369271 -3.085288)', '2026-08-04 15:30:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369342 -3.085286)'), GeomFromEWKT('SRID=4674;POINT (-39.369271 -3.085288)'))) / (select extract(epoch from '2026-08-04 15:30:30'::timestamp) - extract(epoch from '2026-08-04 15:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369342 -3.085286)'), GeomFromEWKT('SRID=4674;POINT (-39.369271 -3.085288)'))) / (select extract(epoch from '2026-08-04 15:30:30'::timestamp) - extract(epoch from '2026-08-04 15:30: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'), 48166, 'SRID=4674;POINT (-39.369128 -3.085303)', '2026-08-04 15:30:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369271 -3.085288)'), GeomFromEWKT('SRID=4674;POINT (-39.369128 -3.085303)'))) / (select extract(epoch from '2026-08-04 15:30:40'::timestamp) - extract(epoch from '2026-08-04 15:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369271 -3.085288)'), GeomFromEWKT('SRID=4674;POINT (-39.369128 -3.085303)'))) / (select extract(epoch from '2026-08-04 15:30:40'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369009 -3.085327)', '2026-08-04 15:30:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369128 -3.085303)'), GeomFromEWKT('SRID=4674;POINT (-39.369009 -3.085327)'))) / (select extract(epoch from '2026-08-04 15:30:49'::timestamp) - extract(epoch from '2026-08-04 15:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369128 -3.085303)'), GeomFromEWKT('SRID=4674;POINT (-39.369009 -3.085327)'))) / (select extract(epoch from '2026-08-04 15:30:49'::timestamp) - extract(epoch from '2026-08-04 15:30: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'), 48166, 'SRID=4674;POINT (-39.368885 -3.085337)', '2026-08-04 15:30:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369009 -3.085327)'), GeomFromEWKT('SRID=4674;POINT (-39.368885 -3.085337)'))) / (select extract(epoch from '2026-08-04 15:30:57'::timestamp) - extract(epoch from '2026-08-04 15:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369009 -3.085327)'), GeomFromEWKT('SRID=4674;POINT (-39.368885 -3.085337)'))) / (select extract(epoch from '2026-08-04 15:30:57'::timestamp) - extract(epoch from '2026-08-04 15:30:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368775 -3.085342)', '2026-08-04 15:31:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368885 -3.085337)'), GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085342)'))) / (select extract(epoch from '2026-08-04 15:31:05'::timestamp) - extract(epoch from '2026-08-04 15:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368885 -3.085337)'), GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085342)'))) / (select extract(epoch from '2026-08-04 15:31:05'::timestamp) - extract(epoch from '2026-08-04 15:30: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'), 48166, 'SRID=4674;POINT (-39.368681 -3.085346)', '2026-08-04 15:31:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085342)'), GeomFromEWKT('SRID=4674;POINT (-39.368681 -3.085346)'))) / (select extract(epoch from '2026-08-04 15:31:11'::timestamp) - extract(epoch from '2026-08-04 15:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085342)'), GeomFromEWKT('SRID=4674;POINT (-39.368681 -3.085346)'))) / (select extract(epoch from '2026-08-04 15:31:11'::timestamp) - extract(epoch from '2026-08-04 15:31: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'), 48166, 'SRID=4674;POINT (-39.368615 -3.085345)', '2026-08-04 15:31:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368681 -3.085346)'), GeomFromEWKT('SRID=4674;POINT (-39.368615 -3.085345)'))) / (select extract(epoch from '2026-08-04 15:31:17'::timestamp) - extract(epoch from '2026-08-04 15:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368681 -3.085346)'), GeomFromEWKT('SRID=4674;POINT (-39.368615 -3.085345)'))) / (select extract(epoch from '2026-08-04 15:31:17'::timestamp) - extract(epoch from '2026-08-04 15:31: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'), 48166, 'SRID=4674;POINT (-39.368599 -3.085344)', '2026-08-04 15:31:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368615 -3.085345)'), GeomFromEWKT('SRID=4674;POINT (-39.368599 -3.085344)'))) / (select extract(epoch from '2026-08-04 15:31:24'::timestamp) - extract(epoch from '2026-08-04 15:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368615 -3.085345)'), GeomFromEWKT('SRID=4674;POINT (-39.368599 -3.085344)'))) / (select extract(epoch from '2026-08-04 15:31:24'::timestamp) - extract(epoch from '2026-08-04 15:31: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'), 48166, 'SRID=4674;POINT (-39.368664 -3.085299)', '2026-08-04 15:31:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368599 -3.085344)'), GeomFromEWKT('SRID=4674;POINT (-39.368664 -3.085299)'))) / (select extract(epoch from '2026-08-04 15:31:42'::timestamp) - extract(epoch from '2026-08-04 15:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368599 -3.085344)'), GeomFromEWKT('SRID=4674;POINT (-39.368664 -3.085299)'))) / (select extract(epoch from '2026-08-04 15:31:42'::timestamp) - extract(epoch from '2026-08-04 15:31: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'), 48166, 'SRID=4674;POINT (-39.3687 -3.085285)', '2026-08-04 15:31:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368664 -3.085299)'), GeomFromEWKT('SRID=4674;POINT (-39.3687 -3.085285)'))) / (select extract(epoch from '2026-08-04 15:31:49'::timestamp) - extract(epoch from '2026-08-04 15:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368664 -3.085299)'), GeomFromEWKT('SRID=4674;POINT (-39.3687 -3.085285)'))) / (select extract(epoch from '2026-08-04 15:31:49'::timestamp) - extract(epoch from '2026-08-04 15:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368751 -3.085287)', '2026-08-04 15:31:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3687 -3.085285)'), GeomFromEWKT('SRID=4674;POINT (-39.368751 -3.085287)'))) / (select extract(epoch from '2026-08-04 15:31:56'::timestamp) - extract(epoch from '2026-08-04 15:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3687 -3.085285)'), GeomFromEWKT('SRID=4674;POINT (-39.368751 -3.085287)'))) / (select extract(epoch from '2026-08-04 15:31:56'::timestamp) - extract(epoch from '2026-08-04 15:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368775 -3.085287)', '2026-08-04 15:32:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368751 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085287)'))) / (select extract(epoch from '2026-08-04 15:32:00'::timestamp) - extract(epoch from '2026-08-04 15:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368751 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085287)'))) / (select extract(epoch from '2026-08-04 15:32:00'::timestamp) - extract(epoch from '2026-08-04 15:31: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'), 48166, 'SRID=4674;POINT (-39.368809 -3.085275)', '2026-08-04 15:32:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.368809 -3.085275)'))) / (select extract(epoch from '2026-08-04 15:32:07'::timestamp) - extract(epoch from '2026-08-04 15:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368775 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.368809 -3.085275)'))) / (select extract(epoch from '2026-08-04 15:32:07'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.368866 -3.085259)', '2026-08-04 15:32:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368809 -3.085275)'), GeomFromEWKT('SRID=4674;POINT (-39.368866 -3.085259)'))) / (select extract(epoch from '2026-08-04 15:32:15'::timestamp) - extract(epoch from '2026-08-04 15:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368809 -3.085275)'), GeomFromEWKT('SRID=4674;POINT (-39.368866 -3.085259)'))) / (select extract(epoch from '2026-08-04 15:32:15'::timestamp) - extract(epoch from '2026-08-04 15:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368918 -3.085241)', '2026-08-04 15:32:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368866 -3.085259)'), GeomFromEWKT('SRID=4674;POINT (-39.368918 -3.085241)'))) / (select extract(epoch from '2026-08-04 15:32:22'::timestamp) - extract(epoch from '2026-08-04 15:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368866 -3.085259)'), GeomFromEWKT('SRID=4674;POINT (-39.368918 -3.085241)'))) / (select extract(epoch from '2026-08-04 15:32:22'::timestamp) - extract(epoch from '2026-08-04 15:32: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'), 48166, 'SRID=4674;POINT (-39.368952 -3.085231)', '2026-08-04 15:32:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368918 -3.085241)'), GeomFromEWKT('SRID=4674;POINT (-39.368952 -3.085231)'))) / (select extract(epoch from '2026-08-04 15:32:31'::timestamp) - extract(epoch from '2026-08-04 15:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368918 -3.085241)'), GeomFromEWKT('SRID=4674;POINT (-39.368952 -3.085231)'))) / (select extract(epoch from '2026-08-04 15:32:31'::timestamp) - extract(epoch from '2026-08-04 15:32: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'), 48166, 'SRID=4674;POINT (-39.369004 -3.085229)', '2026-08-04 15:32:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368952 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369004 -3.085229)'))) / (select extract(epoch from '2026-08-04 15:32:39'::timestamp) - extract(epoch from '2026-08-04 15:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368952 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369004 -3.085229)'))) / (select extract(epoch from '2026-08-04 15:32:39'::timestamp) - extract(epoch from '2026-08-04 15:32: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'), 48166, 'SRID=4674;POINT (-39.36909 -3.085199)', '2026-08-04 15:32:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369004 -3.085229)'), GeomFromEWKT('SRID=4674;POINT (-39.36909 -3.085199)'))) / (select extract(epoch from '2026-08-04 15:32:53'::timestamp) - extract(epoch from '2026-08-04 15:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369004 -3.085229)'), GeomFromEWKT('SRID=4674;POINT (-39.36909 -3.085199)'))) / (select extract(epoch from '2026-08-04 15:32:53'::timestamp) - extract(epoch from '2026-08-04 15:32: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'), 48166, 'SRID=4674;POINT (-39.369153 -3.085172)', '2026-08-04 15:33:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36909 -3.085199)'), GeomFromEWKT('SRID=4674;POINT (-39.369153 -3.085172)'))) / (select extract(epoch from '2026-08-04 15:33:04'::timestamp) - extract(epoch from '2026-08-04 15:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36909 -3.085199)'), GeomFromEWKT('SRID=4674;POINT (-39.369153 -3.085172)'))) / (select extract(epoch from '2026-08-04 15:33:04'::timestamp) - extract(epoch from '2026-08-04 15:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369232 -3.085154)', '2026-08-04 15:33:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369153 -3.085172)'), GeomFromEWKT('SRID=4674;POINT (-39.369232 -3.085154)'))) / (select extract(epoch from '2026-08-04 15:33:17'::timestamp) - extract(epoch from '2026-08-04 15:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369153 -3.085172)'), GeomFromEWKT('SRID=4674;POINT (-39.369232 -3.085154)'))) / (select extract(epoch from '2026-08-04 15:33:17'::timestamp) - extract(epoch from '2026-08-04 15:33: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'), 48166, 'SRID=4674;POINT (-39.369285 -3.085145)', '2026-08-04 15:33:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369232 -3.085154)'), GeomFromEWKT('SRID=4674;POINT (-39.369285 -3.085145)'))) / (select extract(epoch from '2026-08-04 15:33:28'::timestamp) - extract(epoch from '2026-08-04 15:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369232 -3.085154)'), GeomFromEWKT('SRID=4674;POINT (-39.369285 -3.085145)'))) / (select extract(epoch from '2026-08-04 15:33:28'::timestamp) - extract(epoch from '2026-08-04 15:33: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'), 48166, 'SRID=4674;POINT (-39.369323 -3.085141)', '2026-08-04 15:33:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369285 -3.085145)'), GeomFromEWKT('SRID=4674;POINT (-39.369323 -3.085141)'))) / (select extract(epoch from '2026-08-04 15:33:34'::timestamp) - extract(epoch from '2026-08-04 15:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369285 -3.085145)'), GeomFromEWKT('SRID=4674;POINT (-39.369323 -3.085141)'))) / (select extract(epoch from '2026-08-04 15:33:34'::timestamp) - extract(epoch from '2026-08-04 15:33: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'), 48166, 'SRID=4674;POINT (-39.369375 -3.085126)', '2026-08-04 15:33:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369323 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.369375 -3.085126)'))) / (select extract(epoch from '2026-08-04 15:33:45'::timestamp) - extract(epoch from '2026-08-04 15:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369323 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.369375 -3.085126)'))) / (select extract(epoch from '2026-08-04 15:33:45'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.36941 -3.08513)', '2026-08-04 15:33:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369375 -3.085126)'), GeomFromEWKT('SRID=4674;POINT (-39.36941 -3.08513)'))) / (select extract(epoch from '2026-08-04 15:33:51'::timestamp) - extract(epoch from '2026-08-04 15:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369375 -3.085126)'), GeomFromEWKT('SRID=4674;POINT (-39.36941 -3.08513)'))) / (select extract(epoch from '2026-08-04 15:33:51'::timestamp) - extract(epoch from '2026-08-04 15:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369475 -3.085132)', '2026-08-04 15:34:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36941 -3.08513)'), GeomFromEWKT('SRID=4674;POINT (-39.369475 -3.085132)'))) / (select extract(epoch from '2026-08-04 15:34:00'::timestamp) - extract(epoch from '2026-08-04 15:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36941 -3.08513)'), GeomFromEWKT('SRID=4674;POINT (-39.369475 -3.085132)'))) / (select extract(epoch from '2026-08-04 15:34:00'::timestamp) - extract(epoch from '2026-08-04 15:33:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369487 -3.085125)', '2026-08-04 15:34:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369475 -3.085132)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085125)'))) / (select extract(epoch from '2026-08-04 15:34:09'::timestamp) - extract(epoch from '2026-08-04 15:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369475 -3.085132)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085125)'))) / (select extract(epoch from '2026-08-04 15:34:09'::timestamp) - extract(epoch from '2026-08-04 15:34: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'), 48166, 'SRID=4674;POINT (-39.369479 -3.08513)', '2026-08-04 15:34:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085125)'), GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.08513)'))) / (select extract(epoch from '2026-08-04 15:34:16'::timestamp) - extract(epoch from '2026-08-04 15:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085125)'), GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.08513)'))) / (select extract(epoch from '2026-08-04 15:34:16'::timestamp) - extract(epoch from '2026-08-04 15:34: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'), 48166, 'SRID=4674;POINT (-39.369488 -3.085131)', '2026-08-04 15:34:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.08513)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085131)'))) / (select extract(epoch from '2026-08-04 15:34:49'::timestamp) - extract(epoch from '2026-08-04 15:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.08513)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085131)'))) / (select extract(epoch from '2026-08-04 15:34:49'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369487 -3.085135)', '2026-08-04 15:34:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085131)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085135)'))) / (select extract(epoch from '2026-08-04 15:34:55'::timestamp) - extract(epoch from '2026-08-04 15:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085131)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085135)'))) / (select extract(epoch from '2026-08-04 15:34:55'::timestamp) - extract(epoch from '2026-08-04 15:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369487 -3.085139)', '2026-08-04 15:35:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085135)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085139)'))) / (select extract(epoch from '2026-08-04 15:35:15'::timestamp) - extract(epoch from '2026-08-04 15:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085135)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085139)'))) / (select extract(epoch from '2026-08-04 15:35:15'::timestamp) - extract(epoch from '2026-08-04 15:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369485 -3.085148)', '2026-08-04 15:35:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085139)'), GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085148)'))) / (select extract(epoch from '2026-08-04 15:35:29'::timestamp) - extract(epoch from '2026-08-04 15:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085139)'), GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085148)'))) / (select extract(epoch from '2026-08-04 15:35:29'::timestamp) - extract(epoch from '2026-08-04 15:35: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'), 48166, 'SRID=4674;POINT (-39.36948 -3.085142)', '2026-08-04 15:35:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085142)'))) / (select extract(epoch from '2026-08-04 15:35:35'::timestamp) - extract(epoch from '2026-08-04 15:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085142)'))) / (select extract(epoch from '2026-08-04 15:35:35'::timestamp) - extract(epoch from '2026-08-04 15:35: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'), 48166, 'SRID=4674;POINT (-39.369483 -3.085145)', '2026-08-04 15:35:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085142)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085145)'))) / (select extract(epoch from '2026-08-04 15:35:43'::timestamp) - extract(epoch from '2026-08-04 15:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085142)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085145)'))) / (select extract(epoch from '2026-08-04 15:35:43'::timestamp) - extract(epoch from '2026-08-04 15:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369481 -3.085167)', '2026-08-04 15:36:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085145)'), GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085167)'))) / (select extract(epoch from '2026-08-04 15:36:15'::timestamp) - extract(epoch from '2026-08-04 15:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085145)'), GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085167)'))) / (select extract(epoch from '2026-08-04 15:36:15'::timestamp) - extract(epoch from '2026-08-04 15:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369483 -3.085172)', '2026-08-04 15:36:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085167)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085172)'))) / (select extract(epoch from '2026-08-04 15:36:20'::timestamp) - extract(epoch from '2026-08-04 15:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085167)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085172)'))) / (select extract(epoch from '2026-08-04 15:36:20'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.36947 -3.085151)', '2026-08-04 15:36:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085172)'), GeomFromEWKT('SRID=4674;POINT (-39.36947 -3.085151)'))) / (select extract(epoch from '2026-08-04 15:36:36'::timestamp) - extract(epoch from '2026-08-04 15:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085172)'), GeomFromEWKT('SRID=4674;POINT (-39.36947 -3.085151)'))) / (select extract(epoch from '2026-08-04 15:36:36'::timestamp) - extract(epoch from '2026-08-04 15:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369478 -3.085166)', '2026-08-04 15:36:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36947 -3.085151)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085166)'))) / (select extract(epoch from '2026-08-04 15:36:49'::timestamp) - extract(epoch from '2026-08-04 15:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36947 -3.085151)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085166)'))) / (select extract(epoch from '2026-08-04 15:36:49'::timestamp) - extract(epoch from '2026-08-04 15:36: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'), 48166, 'SRID=4674;POINT (-39.369478 -3.085168)', '2026-08-04 15:37:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085166)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085168)'))) / (select extract(epoch from '2026-08-04 15:37:00'::timestamp) - extract(epoch from '2026-08-04 15:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085166)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085168)'))) / (select extract(epoch from '2026-08-04 15:37:00'::timestamp) - extract(epoch from '2026-08-04 15:36: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'), 48166, 'SRID=4674;POINT (-39.369489 -3.085184)', '2026-08-04 15:37:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.369489 -3.085184)'))) / (select extract(epoch from '2026-08-04 15:37:07'::timestamp) - extract(epoch from '2026-08-04 15:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.369489 -3.085184)'))) / (select extract(epoch from '2026-08-04 15:37:07'::timestamp) - extract(epoch from '2026-08-04 15:37: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'), 48166, 'SRID=4674;POINT (-39.369494 -3.085191)', '2026-08-04 15:37:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369489 -3.085184)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085191)'))) / (select extract(epoch from '2026-08-04 15:37:16'::timestamp) - extract(epoch from '2026-08-04 15:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369489 -3.085184)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085191)'))) / (select extract(epoch from '2026-08-04 15:37:16'::timestamp) - extract(epoch from '2026-08-04 15:37: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'), 48166, 'SRID=4674;POINT (-39.369491 -3.085188)', '2026-08-04 15:37:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085191)'), GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085188)'))) / (select extract(epoch from '2026-08-04 15:37:25'::timestamp) - extract(epoch from '2026-08-04 15:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085191)'), GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085188)'))) / (select extract(epoch from '2026-08-04 15:37:25'::timestamp) - extract(epoch from '2026-08-04 15:37:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369502 -3.08518)', '2026-08-04 15:38:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085188)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.08518)'))) / (select extract(epoch from '2026-08-04 15:38:33'::timestamp) - extract(epoch from '2026-08-04 15:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085188)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.08518)'))) / (select extract(epoch from '2026-08-04 15:38:33'::timestamp) - extract(epoch from '2026-08-04 15:37: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'), 48166, 'SRID=4674;POINT (-39.369504 -3.085176)', '2026-08-04 15:38:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.08518)'), GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085176)'))) / (select extract(epoch from '2026-08-04 15:38:42'::timestamp) - extract(epoch from '2026-08-04 15:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.08518)'), GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085176)'))) / (select extract(epoch from '2026-08-04 15:38:42'::timestamp) - extract(epoch from '2026-08-04 15:38: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'), 48166, 'SRID=4674;POINT (-39.369509 -3.085174)', '2026-08-04 15:38:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085176)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085174)'))) / (select extract(epoch from '2026-08-04 15:38:51'::timestamp) - extract(epoch from '2026-08-04 15:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369504 -3.085176)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085174)'))) / (select extract(epoch from '2026-08-04 15:38:51'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369507 -3.085169)', '2026-08-04 15:39:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085174)'), GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085169)'))) / (select extract(epoch from '2026-08-04 15:39:05'::timestamp) - extract(epoch from '2026-08-04 15:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085174)'), GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085169)'))) / (select extract(epoch from '2026-08-04 15:39:05'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369508 -3.08517)', '2026-08-04 15:39:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085169)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.08517)'))) / (select extract(epoch from '2026-08-04 15:39:24'::timestamp) - extract(epoch from '2026-08-04 15:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085169)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.08517)'))) / (select extract(epoch from '2026-08-04 15:39:24'::timestamp) - extract(epoch from '2026-08-04 15:39: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'), 48166, 'SRID=4674;POINT (-39.369505 -3.085177)', '2026-08-04 15:39:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.08517)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085177)'))) / (select extract(epoch from '2026-08-04 15:39:34'::timestamp) - extract(epoch from '2026-08-04 15:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.08517)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085177)'))) / (select extract(epoch from '2026-08-04 15:39:34'::timestamp) - extract(epoch from '2026-08-04 15:39: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'), 48166, 'SRID=4674;POINT (-39.369509 -3.085187)', '2026-08-04 15:39:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085177)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085187)'))) / (select extract(epoch from '2026-08-04 15:39:40'::timestamp) - extract(epoch from '2026-08-04 15:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085177)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085187)'))) / (select extract(epoch from '2026-08-04 15:39:40'::timestamp) - extract(epoch from '2026-08-04 15:39:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369499 -3.08518)', '2026-08-04 15:40:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085187)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08518)'))) / (select extract(epoch from '2026-08-04 15:40:10'::timestamp) - extract(epoch from '2026-08-04 15:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085187)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08518)'))) / (select extract(epoch from '2026-08-04 15:40:10'::timestamp) - extract(epoch from '2026-08-04 15:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369499 -3.08518)', '2026-08-04 15:40:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08518)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08518)'))) / (select extract(epoch from '2026-08-04 15:40:17'::timestamp) - extract(epoch from '2026-08-04 15:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08518)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08518)'))) / (select extract(epoch from '2026-08-04 15:40:17'::timestamp) - extract(epoch from '2026-08-04 15:40: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'), 48166, 'SRID=4674;POINT (-39.369505 -3.085183)', '2026-08-04 15:40:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08518)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085183)'))) / (select extract(epoch from '2026-08-04 15:40:18'::timestamp) - extract(epoch from '2026-08-04 15:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08518)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085183)'))) / (select extract(epoch from '2026-08-04 15:40:18'::timestamp) - extract(epoch from '2026-08-04 15:40: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'), 48166, 'SRID=4674;POINT (-39.369488 -3.085187)', '2026-08-04 15:40:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085183)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085187)'))) / (select extract(epoch from '2026-08-04 15:40:22'::timestamp) - extract(epoch from '2026-08-04 15:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085183)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085187)'))) / (select extract(epoch from '2026-08-04 15:40:22'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369495 -3.08518)', '2026-08-04 15:40:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085187)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.08518)'))) / (select extract(epoch from '2026-08-04 15:40:34'::timestamp) - extract(epoch from '2026-08-04 15:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085187)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.08518)'))) / (select extract(epoch from '2026-08-04 15:40:34'::timestamp) - extract(epoch from '2026-08-04 15:40: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'), 48166, 'SRID=4674;POINT (-39.369494 -3.085186)', '2026-08-04 15:41:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.08518)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085186)'))) / (select extract(epoch from '2026-08-04 15:41:20'::timestamp) - extract(epoch from '2026-08-04 15:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.08518)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085186)'))) / (select extract(epoch from '2026-08-04 15:41:20'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369496 -3.085179)', '2026-08-04 15:41:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085186)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085179)'))) / (select extract(epoch from '2026-08-04 15:41:30'::timestamp) - extract(epoch from '2026-08-04 15:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085186)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085179)'))) / (select extract(epoch from '2026-08-04 15:41:30'::timestamp) - extract(epoch from '2026-08-04 15:41: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'), 48166, 'SRID=4674;POINT (-39.369497 -3.085182)', '2026-08-04 15:41:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085179)'), GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085182)'))) / (select extract(epoch from '2026-08-04 15:41:40'::timestamp) - extract(epoch from '2026-08-04 15:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085179)'), GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085182)'))) / (select extract(epoch from '2026-08-04 15:41:40'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369503 -3.085188)', '2026-08-04 15:42:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085182)'), GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.085188)'))) / (select extract(epoch from '2026-08-04 15:42:01'::timestamp) - extract(epoch from '2026-08-04 15:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085182)'), GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.085188)'))) / (select extract(epoch from '2026-08-04 15:42:01'::timestamp) - extract(epoch from '2026-08-04 15:41: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'), 48166, 'SRID=4674;POINT (-39.3695 -3.0852)', '2026-08-04 15:42:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.085188)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.0852)'))) / (select extract(epoch from '2026-08-04 15:42:30'::timestamp) - extract(epoch from '2026-08-04 15:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.085188)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.0852)'))) / (select extract(epoch from '2026-08-04 15:42:30'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369512 -3.085198)', '2026-08-04 15:42:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.0852)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085198)'))) / (select extract(epoch from '2026-08-04 15:42:33'::timestamp) - extract(epoch from '2026-08-04 15:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.0852)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085198)'))) / (select extract(epoch from '2026-08-04 15:42:33'::timestamp) - extract(epoch from '2026-08-04 15:42:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369523 -3.085199)', '2026-08-04 15:42:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085198)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085199)'))) / (select extract(epoch from '2026-08-04 15:42:36'::timestamp) - extract(epoch from '2026-08-04 15:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085198)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085199)'))) / (select extract(epoch from '2026-08-04 15:42:36'::timestamp) - extract(epoch from '2026-08-04 15:42: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'), 48166, 'SRID=4674;POINT (-39.3695 -3.085193)', '2026-08-04 15:43:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085199)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085193)'))) / (select extract(epoch from '2026-08-04 15:43:10'::timestamp) - extract(epoch from '2026-08-04 15:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085199)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085193)'))) / (select extract(epoch from '2026-08-04 15:43:10'::timestamp) - extract(epoch from '2026-08-04 15:42:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3695 -3.085202)', '2026-08-04 15:43:29', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085193)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085202)'))) / (select extract(epoch from '2026-08-04 15:43:29'::timestamp) - extract(epoch from '2026-08-04 15:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085193)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085202)'))) / (select extract(epoch from '2026-08-04 15:43:29'::timestamp) - extract(epoch from '2026-08-04 15:43: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'), 48166, 'SRID=4674;POINT (-39.369513 -3.085211)', '2026-08-04 15:43:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085211)'))) / (select extract(epoch from '2026-08-04 15:43:35'::timestamp) - extract(epoch from '2026-08-04 15:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085211)'))) / (select extract(epoch from '2026-08-04 15:43:35'::timestamp) - extract(epoch from '2026-08-04 15:43: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'), 48166, 'SRID=4674;POINT (-39.369512 -3.085218)', '2026-08-04 15:43:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085211)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085218)'))) / (select extract(epoch from '2026-08-04 15:43:41'::timestamp) - extract(epoch from '2026-08-04 15:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085211)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085218)'))) / (select extract(epoch from '2026-08-04 15:43:41'::timestamp) - extract(epoch from '2026-08-04 15:43: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'), 48166, 'SRID=4674;POINT (-39.369499 -3.08521)', '2026-08-04 15:43:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085218)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08521)'))) / (select extract(epoch from '2026-08-04 15:43:51'::timestamp) - extract(epoch from '2026-08-04 15:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085218)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08521)'))) / (select extract(epoch from '2026-08-04 15:43:51'::timestamp) - extract(epoch from '2026-08-04 15:43:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369508 -3.085208)', '2026-08-04 15:43:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08521)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085208)'))) / (select extract(epoch from '2026-08-04 15:43:54'::timestamp) - extract(epoch from '2026-08-04 15:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.08521)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085208)'))) / (select extract(epoch from '2026-08-04 15:43:54'::timestamp) - extract(epoch from '2026-08-04 15:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369487 -3.085208)', '2026-08-04 15:43:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085208)'))) / (select extract(epoch from '2026-08-04 15:43:58'::timestamp) - extract(epoch from '2026-08-04 15:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085208)'))) / (select extract(epoch from '2026-08-04 15:43:58'::timestamp) - extract(epoch from '2026-08-04 15:43: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'), 48166, 'SRID=4674;POINT (-39.3695 -3.085227)', '2026-08-04 15:44:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085227)'))) / (select extract(epoch from '2026-08-04 15:44:15'::timestamp) - extract(epoch from '2026-08-04 15:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085227)'))) / (select extract(epoch from '2026-08-04 15:44:15'::timestamp) - extract(epoch from '2026-08-04 15:43: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'), 48166, 'SRID=4674;POINT (-39.369508 -3.085242)', '2026-08-04 15:44:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085227)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085242)'))) / (select extract(epoch from '2026-08-04 15:44:20'::timestamp) - extract(epoch from '2026-08-04 15:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085227)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085242)'))) / (select extract(epoch from '2026-08-04 15:44:20'::timestamp) - extract(epoch from '2026-08-04 15:44: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'), 48166, 'SRID=4674;POINT (-39.36952 -3.08523)', '2026-08-04 15:44:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085242)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.08523)'))) / (select extract(epoch from '2026-08-04 15:44:31'::timestamp) - extract(epoch from '2026-08-04 15:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085242)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.08523)'))) / (select extract(epoch from '2026-08-04 15:44:31'::timestamp) - extract(epoch from '2026-08-04 15:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369522 -3.085233)', '2026-08-04 15:44:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.08523)'), GeomFromEWKT('SRID=4674;POINT (-39.369522 -3.085233)'))) / (select extract(epoch from '2026-08-04 15:44:40'::timestamp) - extract(epoch from '2026-08-04 15:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.08523)'), GeomFromEWKT('SRID=4674;POINT (-39.369522 -3.085233)'))) / (select extract(epoch from '2026-08-04 15:44:40'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369516 -3.085219)', '2026-08-04 15:44:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369522 -3.085233)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085219)'))) / (select extract(epoch from '2026-08-04 15:44:48'::timestamp) - extract(epoch from '2026-08-04 15:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369522 -3.085233)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085219)'))) / (select extract(epoch from '2026-08-04 15:44:48'::timestamp) - extract(epoch from '2026-08-04 15:44: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'), 48166, 'SRID=4674;POINT (-39.369512 -3.085216)', '2026-08-04 15:44:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085216)'))) / (select extract(epoch from '2026-08-04 15:44:56'::timestamp) - extract(epoch from '2026-08-04 15:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085216)'))) / (select extract(epoch from '2026-08-04 15:44:56'::timestamp) - extract(epoch from '2026-08-04 15:44: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'), 48166, 'SRID=4674;POINT (-39.369513 -3.085211)', '2026-08-04 15:45:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085211)'))) / (select extract(epoch from '2026-08-04 15:45:22'::timestamp) - extract(epoch from '2026-08-04 15:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085211)'))) / (select extract(epoch from '2026-08-04 15:45:22'::timestamp) - extract(epoch from '2026-08-04 15:44: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'), 48166, 'SRID=4674;POINT (-39.3695 -3.085209)', '2026-08-04 15:45:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085211)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085209)'))) / (select extract(epoch from '2026-08-04 15:45:38'::timestamp) - extract(epoch from '2026-08-04 15:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085211)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085209)'))) / (select extract(epoch from '2026-08-04 15:45:38'::timestamp) - extract(epoch from '2026-08-04 15:45: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'), 48166, 'SRID=4674;POINT (-39.369513 -3.085197)', '2026-08-04 15:46:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085209)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085197)'))) / (select extract(epoch from '2026-08-04 15:46:02'::timestamp) - extract(epoch from '2026-08-04 15:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085209)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085197)'))) / (select extract(epoch from '2026-08-04 15:46:02'::timestamp) - extract(epoch from '2026-08-04 15:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36951 -3.085216)', '2026-08-04 15:46:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085197)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085216)'))) / (select extract(epoch from '2026-08-04 15:46:16'::timestamp) - extract(epoch from '2026-08-04 15:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085197)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085216)'))) / (select extract(epoch from '2026-08-04 15:46:16'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369525 -3.085224)', '2026-08-04 15:46:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085224)'))) / (select extract(epoch from '2026-08-04 15:46:38'::timestamp) - extract(epoch from '2026-08-04 15:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085224)'))) / (select extract(epoch from '2026-08-04 15:46:38'::timestamp) - extract(epoch from '2026-08-04 15:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369523 -3.085222)', '2026-08-04 15:46:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085224)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085222)'))) / (select extract(epoch from '2026-08-04 15:46:48'::timestamp) - extract(epoch from '2026-08-04 15:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085224)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085222)'))) / (select extract(epoch from '2026-08-04 15:46:48'::timestamp) - extract(epoch from '2026-08-04 15:46: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'), 48166, 'SRID=4674;POINT (-39.36951 -3.085206)', '2026-08-04 15:47:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085222)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085206)'))) / (select extract(epoch from '2026-08-04 15:47:18'::timestamp) - extract(epoch from '2026-08-04 15:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085222)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085206)'))) / (select extract(epoch from '2026-08-04 15:47:18'::timestamp) - extract(epoch from '2026-08-04 15:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369513 -3.085197)', '2026-08-04 15:47:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085206)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085197)'))) / (select extract(epoch from '2026-08-04 15:47:37'::timestamp) - extract(epoch from '2026-08-04 15:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.085206)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085197)'))) / (select extract(epoch from '2026-08-04 15:47:37'::timestamp) - extract(epoch from '2026-08-04 15:47: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'), 48166, 'SRID=4674;POINT (-39.369507 -3.085205)', '2026-08-04 15:47:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085197)'), GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085205)'))) / (select extract(epoch from '2026-08-04 15:47:44'::timestamp) - extract(epoch from '2026-08-04 15:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085197)'), GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085205)'))) / (select extract(epoch from '2026-08-04 15:47:44'::timestamp) - extract(epoch from '2026-08-04 15:47: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'), 48166, 'SRID=4674;POINT (-39.369511 -3.08522)', '2026-08-04 15:47:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085205)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.08522)'))) / (select extract(epoch from '2026-08-04 15:47:50'::timestamp) - extract(epoch from '2026-08-04 15:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085205)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.08522)'))) / (select extract(epoch from '2026-08-04 15:47:50'::timestamp) - extract(epoch from '2026-08-04 15:47: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'), 48166, 'SRID=4674;POINT (-39.369508 -3.085212)', '2026-08-04 15:48:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.08522)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085212)'))) / (select extract(epoch from '2026-08-04 15:48:01'::timestamp) - extract(epoch from '2026-08-04 15:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.08522)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085212)'))) / (select extract(epoch from '2026-08-04 15:48:01'::timestamp) - extract(epoch from '2026-08-04 15:47: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'), 48166, 'SRID=4674;POINT (-39.369512 -3.085201)', '2026-08-04 15:48:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085212)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085201)'))) / (select extract(epoch from '2026-08-04 15:48:10'::timestamp) - extract(epoch from '2026-08-04 15:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085212)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085201)'))) / (select extract(epoch from '2026-08-04 15:48:10'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369496 -3.0852)', '2026-08-04 15:48:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085201)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.0852)'))) / (select extract(epoch from '2026-08-04 15:48:17'::timestamp) - extract(epoch from '2026-08-04 15:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085201)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.0852)'))) / (select extract(epoch from '2026-08-04 15:48:17'::timestamp) - extract(epoch from '2026-08-04 15:48: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'), 48166, 'SRID=4674;POINT (-39.369505 -3.085209)', '2026-08-04 15:48:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.0852)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085209)'))) / (select extract(epoch from '2026-08-04 15:48:30'::timestamp) - extract(epoch from '2026-08-04 15:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.0852)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085209)'))) / (select extract(epoch from '2026-08-04 15:48:30'::timestamp) - extract(epoch from '2026-08-04 15:48:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369494 -3.085202)', '2026-08-04 15:48:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085209)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085202)'))) / (select extract(epoch from '2026-08-04 15:48:42'::timestamp) - extract(epoch from '2026-08-04 15:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085209)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085202)'))) / (select extract(epoch from '2026-08-04 15:48:42'::timestamp) - extract(epoch from '2026-08-04 15:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369492 -3.085197)', '2026-08-04 15:48:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085197)'))) / (select extract(epoch from '2026-08-04 15:48:55'::timestamp) - extract(epoch from '2026-08-04 15:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085197)'))) / (select extract(epoch from '2026-08-04 15:48:55'::timestamp) - extract(epoch from '2026-08-04 15:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369506 -3.085211)', '2026-08-04 15:49:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085197)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085211)'))) / (select extract(epoch from '2026-08-04 15:49:02'::timestamp) - extract(epoch from '2026-08-04 15:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085197)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085211)'))) / (select extract(epoch from '2026-08-04 15:49:02'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369505 -3.085219)', '2026-08-04 15:49:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085211)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085219)'))) / (select extract(epoch from '2026-08-04 15:49:11'::timestamp) - extract(epoch from '2026-08-04 15:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085211)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085219)'))) / (select extract(epoch from '2026-08-04 15:49:11'::timestamp) - extract(epoch from '2026-08-04 15:49: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'), 48166, 'SRID=4674;POINT (-39.369517 -3.085223)', '2026-08-04 15:49:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085223)'))) / (select extract(epoch from '2026-08-04 15:49:29'::timestamp) - extract(epoch from '2026-08-04 15:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085223)'))) / (select extract(epoch from '2026-08-04 15:49:29'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369507 -3.085223)', '2026-08-04 15:49:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085223)'), GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085223)'))) / (select extract(epoch from '2026-08-04 15:49:34'::timestamp) - extract(epoch from '2026-08-04 15:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085223)'), GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085223)'))) / (select extract(epoch from '2026-08-04 15:49:34'::timestamp) - extract(epoch from '2026-08-04 15:49: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'), 48166, 'SRID=4674;POINT (-39.369509 -3.085229)', '2026-08-04 15:49:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085223)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085229)'))) / (select extract(epoch from '2026-08-04 15:49:39'::timestamp) - extract(epoch from '2026-08-04 15:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369507 -3.085223)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085229)'))) / (select extract(epoch from '2026-08-04 15:49:39'::timestamp) - extract(epoch from '2026-08-04 15:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369497 -3.08523)', '2026-08-04 15:49:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085229)'), GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.08523)'))) / (select extract(epoch from '2026-08-04 15:49:53'::timestamp) - extract(epoch from '2026-08-04 15:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085229)'), GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.08523)'))) / (select extract(epoch from '2026-08-04 15:49:53'::timestamp) - extract(epoch from '2026-08-04 15:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369533 -3.085237)', '2026-08-04 15:50:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.08523)'), GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.085237)'))) / (select extract(epoch from '2026-08-04 15:50:39'::timestamp) - extract(epoch from '2026-08-04 15:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.08523)'), GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.085237)'))) / (select extract(epoch from '2026-08-04 15:50:39'::timestamp) - extract(epoch from '2026-08-04 15:49: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'), 48166, 'SRID=4674;POINT (-39.369512 -3.085242)', '2026-08-04 15:51:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.085237)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085242)'))) / (select extract(epoch from '2026-08-04 15:51:23'::timestamp) - extract(epoch from '2026-08-04 15:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369533 -3.085237)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085242)'))) / (select extract(epoch from '2026-08-04 15:51:23'::timestamp) - extract(epoch from '2026-08-04 15:50: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'), 48166, 'SRID=4674;POINT (-39.369512 -3.085246)', '2026-08-04 15:51:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085242)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085246)'))) / (select extract(epoch from '2026-08-04 15:51:31'::timestamp) - extract(epoch from '2026-08-04 15:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085242)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085246)'))) / (select extract(epoch from '2026-08-04 15:51:31'::timestamp) - extract(epoch from '2026-08-04 15:51:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369506 -3.085225)', '2026-08-04 15:52:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085246)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085225)'))) / (select extract(epoch from '2026-08-04 15:52:02'::timestamp) - extract(epoch from '2026-08-04 15:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085246)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085225)'))) / (select extract(epoch from '2026-08-04 15:52:02'::timestamp) - extract(epoch from '2026-08-04 15:51: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'), 48166, 'SRID=4674;POINT (-39.369506 -3.085219)', '2026-08-04 15:52:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085225)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085219)'))) / (select extract(epoch from '2026-08-04 15:52:11'::timestamp) - extract(epoch from '2026-08-04 15:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085225)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085219)'))) / (select extract(epoch from '2026-08-04 15:52:11'::timestamp) - extract(epoch from '2026-08-04 15:52: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'), 48166, 'SRID=4674;POINT (-39.369511 -3.085214)', '2026-08-04 15:52:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085214)'))) / (select extract(epoch from '2026-08-04 15:52:19'::timestamp) - extract(epoch from '2026-08-04 15:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085214)'))) / (select extract(epoch from '2026-08-04 15:52:19'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369514 -3.085226)', '2026-08-04 15:52:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085214)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085226)'))) / (select extract(epoch from '2026-08-04 15:52:22'::timestamp) - extract(epoch from '2026-08-04 15:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085214)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085226)'))) / (select extract(epoch from '2026-08-04 15:52:22'::timestamp) - extract(epoch from '2026-08-04 15:52: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'), 48166, 'SRID=4674;POINT (-39.369519 -3.085204)', '2026-08-04 15:52:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085226)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085204)'))) / (select extract(epoch from '2026-08-04 15:52:41'::timestamp) - extract(epoch from '2026-08-04 15:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085226)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085204)'))) / (select extract(epoch from '2026-08-04 15:52:41'::timestamp) - extract(epoch from '2026-08-04 15:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369529 -3.085226)', '2026-08-04 15:53:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085204)'), GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085226)'))) / (select extract(epoch from '2026-08-04 15:53:01'::timestamp) - extract(epoch from '2026-08-04 15:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085204)'), GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085226)'))) / (select extract(epoch from '2026-08-04 15:53:01'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.369514 -3.085209)', '2026-08-04 15:53:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085226)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085209)'))) / (select extract(epoch from '2026-08-04 15:53:20'::timestamp) - extract(epoch from '2026-08-04 15:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085226)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085209)'))) / (select extract(epoch from '2026-08-04 15:53:20'::timestamp) - extract(epoch from '2026-08-04 15:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369513 -3.085215)', '2026-08-04 15:53:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085209)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085215)'))) / (select extract(epoch from '2026-08-04 15:53:48'::timestamp) - extract(epoch from '2026-08-04 15:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085209)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085215)'))) / (select extract(epoch from '2026-08-04 15:53:48'::timestamp) - extract(epoch from '2026-08-04 15:53: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'), 48166, 'SRID=4674;POINT (-39.369509 -3.085216)', '2026-08-04 15:53:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085215)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085216)'))) / (select extract(epoch from '2026-08-04 15:53:49'::timestamp) - extract(epoch from '2026-08-04 15:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085215)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085216)'))) / (select extract(epoch from '2026-08-04 15:53:49'::timestamp) - extract(epoch from '2026-08-04 15:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369499 -3.085215)', '2026-08-04 15:53:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085215)'))) / (select extract(epoch from '2026-08-04 15:53:52'::timestamp) - extract(epoch from '2026-08-04 15:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085215)'))) / (select extract(epoch from '2026-08-04 15:53:52'::timestamp) - extract(epoch from '2026-08-04 15:53: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'), 48166, 'SRID=4674;POINT (-39.369514 -3.085221)', '2026-08-04 15:54:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085215)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085221)'))) / (select extract(epoch from '2026-08-04 15:54:09'::timestamp) - extract(epoch from '2026-08-04 15:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085215)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085221)'))) / (select extract(epoch from '2026-08-04 15:54:09'::timestamp) - extract(epoch from '2026-08-04 15:53: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'), 48166, 'SRID=4674;POINT (-39.369513 -3.085195)', '2026-08-04 15:55:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085221)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085195)'))) / (select extract(epoch from '2026-08-04 15:55:08'::timestamp) - extract(epoch from '2026-08-04 15:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085221)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085195)'))) / (select extract(epoch from '2026-08-04 15:55:08'::timestamp) - extract(epoch from '2026-08-04 15:54: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'), 48166, 'SRID=4674;POINT (-39.369495 -3.085181)', '2026-08-04 15:56:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085195)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085181)'))) / (select extract(epoch from '2026-08-04 15:56:18'::timestamp) - extract(epoch from '2026-08-04 15:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.085195)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085181)'))) / (select extract(epoch from '2026-08-04 15:56:18'::timestamp) - extract(epoch from '2026-08-04 15:55: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'), 48166, 'SRID=4674;POINT (-39.369494 -3.085181)', '2026-08-04 15:56:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085181)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085181)'))) / (select extract(epoch from '2026-08-04 15:56:39'::timestamp) - extract(epoch from '2026-08-04 15:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085181)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085181)'))) / (select extract(epoch from '2026-08-04 15:56:39'::timestamp) - extract(epoch from '2026-08-04 15:56:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3695 -3.085194)', '2026-08-04 15:57:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085181)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085194)'))) / (select extract(epoch from '2026-08-04 15:57:00'::timestamp) - extract(epoch from '2026-08-04 15:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085181)'), GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085194)'))) / (select extract(epoch from '2026-08-04 15:57:00'::timestamp) - extract(epoch from '2026-08-04 15:56: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'), 48166, 'SRID=4674;POINT (-39.369509 -3.085198)', '2026-08-04 15:57:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085194)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085198)'))) / (select extract(epoch from '2026-08-04 15:57:08'::timestamp) - extract(epoch from '2026-08-04 15:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3695 -3.085194)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085198)'))) / (select extract(epoch from '2026-08-04 15:57:08'::timestamp) - extract(epoch from '2026-08-04 15:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369515 -3.085174)', '2026-08-04 15:58:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085198)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085174)'))) / (select extract(epoch from '2026-08-04 15:58:01'::timestamp) - extract(epoch from '2026-08-04 15:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085198)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085174)'))) / (select extract(epoch from '2026-08-04 15:58:01'::timestamp) - extract(epoch from '2026-08-04 15:57: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'), 48166, 'SRID=4674;POINT (-39.369506 -3.085181)', '2026-08-04 15:58:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085174)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085181)'))) / (select extract(epoch from '2026-08-04 15:58:15'::timestamp) - extract(epoch from '2026-08-04 15:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085174)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085181)'))) / (select extract(epoch from '2026-08-04 15:58:15'::timestamp) - extract(epoch from '2026-08-04 15:58: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'), 48166, 'SRID=4674;POINT (-39.369519 -3.085174)', '2026-08-04 15:58:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085181)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085174)'))) / (select extract(epoch from '2026-08-04 15:58:22'::timestamp) - extract(epoch from '2026-08-04 15:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085181)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085174)'))) / (select extract(epoch from '2026-08-04 15:58:22'::timestamp) - extract(epoch from '2026-08-04 15:58: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'), 48166, 'SRID=4674;POINT (-39.369525 -3.085176)', '2026-08-04 15:58:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085174)'), GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085176)'))) / (select extract(epoch from '2026-08-04 15:58:58'::timestamp) - extract(epoch from '2026-08-04 15:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085174)'), GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085176)'))) / (select extract(epoch from '2026-08-04 15:58:58'::timestamp) - extract(epoch from '2026-08-04 15:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369527 -3.085177)', '2026-08-04 15:59:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085176)'), GeomFromEWKT('SRID=4674;POINT (-39.369527 -3.085177)'))) / (select extract(epoch from '2026-08-04 15:59:07'::timestamp) - extract(epoch from '2026-08-04 15:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085176)'), GeomFromEWKT('SRID=4674;POINT (-39.369527 -3.085177)'))) / (select extract(epoch from '2026-08-04 15:59:07'::timestamp) - extract(epoch from '2026-08-04 15:58: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'), 48166, 'SRID=4674;POINT (-39.369531 -3.085219)', '2026-08-04 16:00:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369527 -3.085177)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:00:07'::timestamp) - extract(epoch from '2026-08-04 15:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369527 -3.085177)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:00:07'::timestamp) - extract(epoch from '2026-08-04 15:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369535 -3.085219)', '2026-08-04 16:00:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369535 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:00:23'::timestamp) - extract(epoch from '2026-08-04 16:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369535 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:00:23'::timestamp) - extract(epoch from '2026-08-04 16:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369524 -3.085219)', '2026-08-04 16:01:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369535 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:01:22'::timestamp) - extract(epoch from '2026-08-04 16:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369535 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:01:22'::timestamp) - extract(epoch from '2026-08-04 16:00: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'), 48166, 'SRID=4674;POINT (-39.36953 -3.085215)', '2026-08-04 16:01:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085215)'))) / (select extract(epoch from '2026-08-04 16:01:30'::timestamp) - extract(epoch from '2026-08-04 16:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085215)'))) / (select extract(epoch from '2026-08-04 16:01:30'::timestamp) - extract(epoch from '2026-08-04 16:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369523 -3.085218)', '2026-08-04 16:01:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085215)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085218)'))) / (select extract(epoch from '2026-08-04 16:01:42'::timestamp) - extract(epoch from '2026-08-04 16:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085215)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085218)'))) / (select extract(epoch from '2026-08-04 16:01:42'::timestamp) - extract(epoch from '2026-08-04 16:01: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'), 48166, 'SRID=4674;POINT (-39.36953 -3.085225)', '2026-08-04 16:01:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085218)'), GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085225)'))) / (select extract(epoch from '2026-08-04 16:01:53'::timestamp) - extract(epoch from '2026-08-04 16:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085218)'), GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085225)'))) / (select extract(epoch from '2026-08-04 16:01:53'::timestamp) - extract(epoch from '2026-08-04 16:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369531 -3.085223)', '2026-08-04 16:02:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085225)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085223)'))) / (select extract(epoch from '2026-08-04 16:02:17'::timestamp) - extract(epoch from '2026-08-04 16:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085225)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085223)'))) / (select extract(epoch from '2026-08-04 16:02:17'::timestamp) - extract(epoch from '2026-08-04 16:01: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'), 48166, 'SRID=4674;POINT (-39.369505 -3.085223)', '2026-08-04 16:02:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085223)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085223)'))) / (select extract(epoch from '2026-08-04 16:02:25'::timestamp) - extract(epoch from '2026-08-04 16:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085223)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085223)'))) / (select extract(epoch from '2026-08-04 16:02:25'::timestamp) - extract(epoch from '2026-08-04 16:02: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'), 48166, 'SRID=4674;POINT (-39.369517 -3.085202)', '2026-08-04 16:02:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085223)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085202)'))) / (select extract(epoch from '2026-08-04 16:02:44'::timestamp) - extract(epoch from '2026-08-04 16:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085223)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085202)'))) / (select extract(epoch from '2026-08-04 16:02:44'::timestamp) - extract(epoch from '2026-08-04 16:02: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'), 48166, 'SRID=4674;POINT (-39.369531 -3.085217)', '2026-08-04 16:02:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085217)'))) / (select extract(epoch from '2026-08-04 16:02:59'::timestamp) - extract(epoch from '2026-08-04 16:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085217)'))) / (select extract(epoch from '2026-08-04 16:02:59'::timestamp) - extract(epoch from '2026-08-04 16:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369525 -3.085219)', '2026-08-04 16:03:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085217)'), GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:03:18'::timestamp) - extract(epoch from '2026-08-04 16:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085217)'), GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:03:18'::timestamp) - extract(epoch from '2026-08-04 16:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369526 -3.085223)', '2026-08-04 16:03:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085223)'))) / (select extract(epoch from '2026-08-04 16:03:38'::timestamp) - extract(epoch from '2026-08-04 16:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085223)'))) / (select extract(epoch from '2026-08-04 16:03:38'::timestamp) - extract(epoch from '2026-08-04 16:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369515 -3.085217)', '2026-08-04 16:03:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085223)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085217)'))) / (select extract(epoch from '2026-08-04 16:03:39'::timestamp) - extract(epoch from '2026-08-04 16:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085223)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085217)'))) / (select extract(epoch from '2026-08-04 16:03:39'::timestamp) - extract(epoch from '2026-08-04 16:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369524 -3.085225)', '2026-08-04 16:03:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085217)'), GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085225)'))) / (select extract(epoch from '2026-08-04 16:03:45'::timestamp) - extract(epoch from '2026-08-04 16:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085217)'), GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085225)'))) / (select extract(epoch from '2026-08-04 16:03:45'::timestamp) - extract(epoch from '2026-08-04 16:03: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'), 48166, 'SRID=4674;POINT (-39.369517 -3.085225)', '2026-08-04 16:04:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085225)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085225)'))) / (select extract(epoch from '2026-08-04 16:04:26'::timestamp) - extract(epoch from '2026-08-04 16:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085225)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085225)'))) / (select extract(epoch from '2026-08-04 16:04:26'::timestamp) - extract(epoch from '2026-08-04 16:03: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'), 48166, 'SRID=4674;POINT (-39.369523 -3.085224)', '2026-08-04 16:05:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085225)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085224)'))) / (select extract(epoch from '2026-08-04 16:05:00'::timestamp) - extract(epoch from '2026-08-04 16:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085225)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085224)'))) / (select extract(epoch from '2026-08-04 16:05:00'::timestamp) - extract(epoch from '2026-08-04 16:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369526 -3.085233)', '2026-08-04 16:05:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085224)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085233)'))) / (select extract(epoch from '2026-08-04 16:05:08'::timestamp) - extract(epoch from '2026-08-04 16:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085224)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085233)'))) / (select extract(epoch from '2026-08-04 16:05:08'::timestamp) - extract(epoch from '2026-08-04 16:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36952 -3.085231)', '2026-08-04 16:05:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085233)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:05:27'::timestamp) - extract(epoch from '2026-08-04 16:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085233)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:05:27'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.36951 -3.08522)', '2026-08-04 16:06:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.08522)'))) / (select extract(epoch from '2026-08-04 16:06:02'::timestamp) - extract(epoch from '2026-08-04 16:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.08522)'))) / (select extract(epoch from '2026-08-04 16:06:02'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369519 -3.085205)', '2026-08-04 16:06:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.08522)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085205)'))) / (select extract(epoch from '2026-08-04 16:06:16'::timestamp) - extract(epoch from '2026-08-04 16:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36951 -3.08522)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085205)'))) / (select extract(epoch from '2026-08-04 16:06:16'::timestamp) - extract(epoch from '2026-08-04 16:06: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'), 48166, 'SRID=4674;POINT (-39.369526 -3.085219)', '2026-08-04 16:06:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085205)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:06:25'::timestamp) - extract(epoch from '2026-08-04 16:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085205)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:06:25'::timestamp) - extract(epoch from '2026-08-04 16:06: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'), 48166, 'SRID=4674;POINT (-39.369516 -3.085202)', '2026-08-04 16:06:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085202)'))) / (select extract(epoch from '2026-08-04 16:06:45'::timestamp) - extract(epoch from '2026-08-04 16:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085202)'))) / (select extract(epoch from '2026-08-04 16:06:45'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369516 -3.085222)', '2026-08-04 16:07:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085222)'))) / (select extract(epoch from '2026-08-04 16:07:08'::timestamp) - extract(epoch from '2026-08-04 16:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085222)'))) / (select extract(epoch from '2026-08-04 16:07:08'::timestamp) - extract(epoch from '2026-08-04 16:06: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'), 48166, 'SRID=4674;POINT (-39.369518 -3.085221)', '2026-08-04 16:08:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085222)'), GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085221)'))) / (select extract(epoch from '2026-08-04 16:08:10'::timestamp) - extract(epoch from '2026-08-04 16:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085222)'), GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085221)'))) / (select extract(epoch from '2026-08-04 16:08:10'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369531 -3.085218)', '2026-08-04 16:08:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085221)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085218)'))) / (select extract(epoch from '2026-08-04 16:08:37'::timestamp) - extract(epoch from '2026-08-04 16:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369518 -3.085221)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085218)'))) / (select extract(epoch from '2026-08-04 16:08:37'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369531 -3.085214)', '2026-08-04 16:08:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085218)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085214)'))) / (select extract(epoch from '2026-08-04 16:08:46'::timestamp) - extract(epoch from '2026-08-04 16:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085218)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085214)'))) / (select extract(epoch from '2026-08-04 16:08:46'::timestamp) - extract(epoch from '2026-08-04 16:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369531 -3.085211)', '2026-08-04 16:08:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085214)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085211)'))) / (select extract(epoch from '2026-08-04 16:08:57'::timestamp) - extract(epoch from '2026-08-04 16:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085214)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085211)'))) / (select extract(epoch from '2026-08-04 16:08:57'::timestamp) - extract(epoch from '2026-08-04 16:08: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'), 48166, 'SRID=4674;POINT (-39.369513 -3.08523)', '2026-08-04 16:09:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085211)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.08523)'))) / (select extract(epoch from '2026-08-04 16:09:34'::timestamp) - extract(epoch from '2026-08-04 16:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085211)'), GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.08523)'))) / (select extract(epoch from '2026-08-04 16:09:34'::timestamp) - extract(epoch from '2026-08-04 16:08: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'), 48166, 'SRID=4674;POINT (-39.369531 -3.085242)', '2026-08-04 16:09:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.08523)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085242)'))) / (select extract(epoch from '2026-08-04 16:09:44'::timestamp) - extract(epoch from '2026-08-04 16:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369513 -3.08523)'), GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085242)'))) / (select extract(epoch from '2026-08-04 16:09:44'::timestamp) - extract(epoch from '2026-08-04 16:09:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36953 -3.085243)', '2026-08-04 16:10:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085242)'), GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085243)'))) / (select extract(epoch from '2026-08-04 16:10:00'::timestamp) - extract(epoch from '2026-08-04 16:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369531 -3.085242)'), GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085243)'))) / (select extract(epoch from '2026-08-04 16:10:00'::timestamp) - extract(epoch from '2026-08-04 16:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369517 -3.085248)', '2026-08-04 16:10:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085243)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085248)'))) / (select extract(epoch from '2026-08-04 16:10:16'::timestamp) - extract(epoch from '2026-08-04 16:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36953 -3.085243)'), GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085248)'))) / (select extract(epoch from '2026-08-04 16:10:16'::timestamp) - extract(epoch from '2026-08-04 16:10: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'), 48166, 'SRID=4674;POINT (-39.369529 -3.085235)', '2026-08-04 16:10:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085248)'), GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085235)'))) / (select extract(epoch from '2026-08-04 16:10:24'::timestamp) - extract(epoch from '2026-08-04 16:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369517 -3.085248)'), GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085235)'))) / (select extract(epoch from '2026-08-04 16:10:24'::timestamp) - extract(epoch from '2026-08-04 16:10: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'), 48166, 'SRID=4674;POINT (-39.369523 -3.085231)', '2026-08-04 16:10:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085235)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:10:27'::timestamp) - extract(epoch from '2026-08-04 16:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369529 -3.085235)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:10:27'::timestamp) - extract(epoch from '2026-08-04 16:10: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'), 48166, 'SRID=4674;POINT (-39.369516 -3.085228)', '2026-08-04 16:10:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085228)'))) / (select extract(epoch from '2026-08-04 16:10:28'::timestamp) - extract(epoch from '2026-08-04 16:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085228)'))) / (select extract(epoch from '2026-08-04 16:10:28'::timestamp) - extract(epoch from '2026-08-04 16:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369521 -3.085218)', '2026-08-04 16:10:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085228)'), GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085218)'))) / (select extract(epoch from '2026-08-04 16:10:37'::timestamp) - extract(epoch from '2026-08-04 16:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085228)'), GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085218)'))) / (select extract(epoch from '2026-08-04 16:10:37'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.36952 -3.085211)', '2026-08-04 16:10:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085218)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085211)'))) / (select extract(epoch from '2026-08-04 16:10:39'::timestamp) - extract(epoch from '2026-08-04 16:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085218)'), GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085211)'))) / (select extract(epoch from '2026-08-04 16:10:39'::timestamp) - extract(epoch from '2026-08-04 16:10: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'), 48166, 'SRID=4674;POINT (-39.369508 -3.085196)', '2026-08-04 16:11:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085211)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085196)'))) / (select extract(epoch from '2026-08-04 16:11:19'::timestamp) - extract(epoch from '2026-08-04 16:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36952 -3.085211)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085196)'))) / (select extract(epoch from '2026-08-04 16:11:19'::timestamp) - extract(epoch from '2026-08-04 16:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369503 -3.085204)', '2026-08-04 16:11:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085196)'), GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.085204)'))) / (select extract(epoch from '2026-08-04 16:11:47'::timestamp) - extract(epoch from '2026-08-04 16:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085196)'), GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.085204)'))) / (select extract(epoch from '2026-08-04 16:11:47'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369506 -3.085206)', '2026-08-04 16:12:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.085204)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085206)'))) / (select extract(epoch from '2026-08-04 16:12:00'::timestamp) - extract(epoch from '2026-08-04 16:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369503 -3.085204)'), GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085206)'))) / (select extract(epoch from '2026-08-04 16:12:00'::timestamp) - extract(epoch from '2026-08-04 16:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369523 -3.08523)', '2026-08-04 16:12:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085206)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.08523)'))) / (select extract(epoch from '2026-08-04 16:12:29'::timestamp) - extract(epoch from '2026-08-04 16:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369506 -3.085206)'), GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.08523)'))) / (select extract(epoch from '2026-08-04 16:12:29'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369528 -3.085228)', '2026-08-04 16:12:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.08523)'), GeomFromEWKT('SRID=4674;POINT (-39.369528 -3.085228)'))) / (select extract(epoch from '2026-08-04 16:12:57'::timestamp) - extract(epoch from '2026-08-04 16:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369523 -3.08523)'), GeomFromEWKT('SRID=4674;POINT (-39.369528 -3.085228)'))) / (select extract(epoch from '2026-08-04 16:12:57'::timestamp) - extract(epoch from '2026-08-04 16:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369525 -3.085221)', '2026-08-04 16:13:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369528 -3.085228)'), GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085221)'))) / (select extract(epoch from '2026-08-04 16:13:25'::timestamp) - extract(epoch from '2026-08-04 16:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369528 -3.085228)'), GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085221)'))) / (select extract(epoch from '2026-08-04 16:13:25'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369515 -3.085221)', '2026-08-04 16:13:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085221)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085221)'))) / (select extract(epoch from '2026-08-04 16:13:36'::timestamp) - extract(epoch from '2026-08-04 16:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369525 -3.085221)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085221)'))) / (select extract(epoch from '2026-08-04 16:13:36'::timestamp) - extract(epoch from '2026-08-04 16:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369521 -3.085226)', '2026-08-04 16:13:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085221)'), GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085226)'))) / (select extract(epoch from '2026-08-04 16:13:42'::timestamp) - extract(epoch from '2026-08-04 16:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.085221)'), GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085226)'))) / (select extract(epoch from '2026-08-04 16:13:42'::timestamp) - extract(epoch from '2026-08-04 16:13:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369532 -3.085224)', '2026-08-04 16:13:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085226)'), GeomFromEWKT('SRID=4674;POINT (-39.369532 -3.085224)'))) / (select extract(epoch from '2026-08-04 16:13:59'::timestamp) - extract(epoch from '2026-08-04 16:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369521 -3.085226)'), GeomFromEWKT('SRID=4674;POINT (-39.369532 -3.085224)'))) / (select extract(epoch from '2026-08-04 16:13:59'::timestamp) - extract(epoch from '2026-08-04 16:13: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'), 48166, 'SRID=4674;POINT (-39.369512 -3.085216)', '2026-08-04 16:14:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369532 -3.085224)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085216)'))) / (select extract(epoch from '2026-08-04 16:14:59'::timestamp) - extract(epoch from '2026-08-04 16:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369532 -3.085224)'), GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085216)'))) / (select extract(epoch from '2026-08-04 16:14:59'::timestamp) - extract(epoch from '2026-08-04 16:13: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'), 48166, 'SRID=4674;POINT (-39.369505 -3.085224)', '2026-08-04 16:15:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085224)'))) / (select extract(epoch from '2026-08-04 16:15:11'::timestamp) - extract(epoch from '2026-08-04 16:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369512 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085224)'))) / (select extract(epoch from '2026-08-04 16:15:11'::timestamp) - extract(epoch from '2026-08-04 16:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369514 -3.085231)', '2026-08-04 16:15:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085224)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:15:19'::timestamp) - extract(epoch from '2026-08-04 16:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369505 -3.085224)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:15:19'::timestamp) - extract(epoch from '2026-08-04 16:15: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'), 48166, 'SRID=4674;POINT (-39.369511 -3.085236)', '2026-08-04 16:15:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085236)'))) / (select extract(epoch from '2026-08-04 16:15:22'::timestamp) - extract(epoch from '2026-08-04 16:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085236)'))) / (select extract(epoch from '2026-08-04 16:15:22'::timestamp) - extract(epoch from '2026-08-04 16:15: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'), 48166, 'SRID=4674;POINT (-39.369514 -3.085207)', '2026-08-04 16:15:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085236)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085207)'))) / (select extract(epoch from '2026-08-04 16:15:44'::timestamp) - extract(epoch from '2026-08-04 16:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085236)'), GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085207)'))) / (select extract(epoch from '2026-08-04 16:15:44'::timestamp) - extract(epoch from '2026-08-04 16:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369508 -3.085208)', '2026-08-04 16:16:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085208)'))) / (select extract(epoch from '2026-08-04 16:16:01'::timestamp) - extract(epoch from '2026-08-04 16:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369514 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085208)'))) / (select extract(epoch from '2026-08-04 16:16:01'::timestamp) - extract(epoch from '2026-08-04 16:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369499 -3.085207)', '2026-08-04 16:16:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085207)'))) / (select extract(epoch from '2026-08-04 16:16:39'::timestamp) - extract(epoch from '2026-08-04 16:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085207)'))) / (select extract(epoch from '2026-08-04 16:16:39'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369511 -3.085231)', '2026-08-04 16:16:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:16:50'::timestamp) - extract(epoch from '2026-08-04 16:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:16:50'::timestamp) - extract(epoch from '2026-08-04 16:16: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'), 48166, 'SRID=4674;POINT (-39.369499 -3.085212)', '2026-08-04 16:18:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085212)'))) / (select extract(epoch from '2026-08-04 16:18:07'::timestamp) - extract(epoch from '2026-08-04 16:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085212)'))) / (select extract(epoch from '2026-08-04 16:18:07'::timestamp) - extract(epoch from '2026-08-04 16:16: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'), 48166, 'SRID=4674;POINT (-39.369524 -3.085224)', '2026-08-04 16:18:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085212)'), GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085224)'))) / (select extract(epoch from '2026-08-04 16:18:30'::timestamp) - extract(epoch from '2026-08-04 16:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085212)'), GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085224)'))) / (select extract(epoch from '2026-08-04 16:18:30'::timestamp) - extract(epoch from '2026-08-04 16:18: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'), 48166, 'SRID=4674;POINT (-39.369511 -3.085231)', '2026-08-04 16:18:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085224)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:18:39'::timestamp) - extract(epoch from '2026-08-04 16:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369524 -3.085224)'), GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:18:39'::timestamp) - extract(epoch from '2026-08-04 16:18: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'), 48166, 'SRID=4674;POINT (-39.369509 -3.085231)', '2026-08-04 16:19:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:19:13'::timestamp) - extract(epoch from '2026-08-04 16:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369511 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085231)'))) / (select extract(epoch from '2026-08-04 16:19:13'::timestamp) - extract(epoch from '2026-08-04 16:18: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'), 48166, 'SRID=4674;POINT (-39.369499 -3.085247)', '2026-08-04 16:20:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085247)'))) / (select extract(epoch from '2026-08-04 16:20:20'::timestamp) - extract(epoch from '2026-08-04 16:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369509 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085247)'))) / (select extract(epoch from '2026-08-04 16:20:20'::timestamp) - extract(epoch from '2026-08-04 16:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369492 -3.085234)', '2026-08-04 16:20:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085247)'), GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085234)'))) / (select extract(epoch from '2026-08-04 16:20:30'::timestamp) - extract(epoch from '2026-08-04 16:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085247)'), GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085234)'))) / (select extract(epoch from '2026-08-04 16:20:30'::timestamp) - extract(epoch from '2026-08-04 16:20: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'), 48166, 'SRID=4674;POINT (-39.369496 -3.085249)', '2026-08-04 16:20:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085234)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085249)'))) / (select extract(epoch from '2026-08-04 16:20:37'::timestamp) - extract(epoch from '2026-08-04 16:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085234)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085249)'))) / (select extract(epoch from '2026-08-04 16:20:37'::timestamp) - extract(epoch from '2026-08-04 16:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36949 -3.085245)', '2026-08-04 16:20:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085245)'))) / (select extract(epoch from '2026-08-04 16:20:52'::timestamp) - extract(epoch from '2026-08-04 16:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085245)'))) / (select extract(epoch from '2026-08-04 16:20:52'::timestamp) - extract(epoch from '2026-08-04 16:20: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'), 48166, 'SRID=4674;POINT (-39.369498 -3.085249)', '2026-08-04 16:21:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085245)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085249)'))) / (select extract(epoch from '2026-08-04 16:21:04'::timestamp) - extract(epoch from '2026-08-04 16:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085245)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085249)'))) / (select extract(epoch from '2026-08-04 16:21:04'::timestamp) - extract(epoch from '2026-08-04 16:20: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'), 48166, 'SRID=4674;POINT (-39.369498 -3.085248)', '2026-08-04 16:21:18', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085248)'))) / (select extract(epoch from '2026-08-04 16:21:18'::timestamp) - extract(epoch from '2026-08-04 16:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085248)'))) / (select extract(epoch from '2026-08-04 16:21:18'::timestamp) - extract(epoch from '2026-08-04 16:21: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'), 48166, 'SRID=4674;POINT (-39.369477 -3.085258)', '2026-08-04 16:22:04', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085248)'), GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.085258)'))) / (select extract(epoch from '2026-08-04 16:22:04'::timestamp) - extract(epoch from '2026-08-04 16:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369498 -3.085248)'), GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.085258)'))) / (select extract(epoch from '2026-08-04 16:22:04'::timestamp) - extract(epoch from '2026-08-04 16:21: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'), 48166, 'SRID=4674;POINT (-39.369461 -3.085255)', '2026-08-04 16:22:13', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.085258)'), GeomFromEWKT('SRID=4674;POINT (-39.369461 -3.085255)'))) / (select extract(epoch from '2026-08-04 16:22:13'::timestamp) - extract(epoch from '2026-08-04 16:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.085258)'), GeomFromEWKT('SRID=4674;POINT (-39.369461 -3.085255)'))) / (select extract(epoch from '2026-08-04 16:22:13'::timestamp) - extract(epoch from '2026-08-04 16:22: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'), 48166, 'SRID=4674;POINT (-39.369502 -3.085261)', '2026-08-04 16:23:54', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369461 -3.085255)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085261)'))) / (select extract(epoch from '2026-08-04 16:23:54'::timestamp) - extract(epoch from '2026-08-04 16:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369461 -3.085255)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085261)'))) / (select extract(epoch from '2026-08-04 16:23:54'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369495 -3.085238)', '2026-08-04 16:25:20', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085261)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085238)'))) / (select extract(epoch from '2026-08-04 16:25:20'::timestamp) - extract(epoch from '2026-08-04 16:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085261)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085238)'))) / (select extract(epoch from '2026-08-04 16:25:20'::timestamp) - extract(epoch from '2026-08-04 16:23: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'), 48166, 'SRID=4674;POINT (-39.369495 -3.085248)', '2026-08-04 16:25:40', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085238)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085248)'))) / (select extract(epoch from '2026-08-04 16:25:40'::timestamp) - extract(epoch from '2026-08-04 16:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085238)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085248)'))) / (select extract(epoch from '2026-08-04 16:25:40'::timestamp) - extract(epoch from '2026-08-04 16:25: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'), 48166, 'SRID=4674;POINT (-39.369499 -3.085249)', '2026-08-04 16:25:53', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085248)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085249)'))) / (select extract(epoch from '2026-08-04 16:25:53'::timestamp) - extract(epoch from '2026-08-04 16:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085248)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085249)'))) / (select extract(epoch from '2026-08-04 16:25:53'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369516 -3.085226)', '2026-08-04 16:26:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085226)'))) / (select extract(epoch from '2026-08-04 16:26:03'::timestamp) - extract(epoch from '2026-08-04 16:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085226)'))) / (select extract(epoch from '2026-08-04 16:26:03'::timestamp) - extract(epoch from '2026-08-04 16:25: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'), 48166, 'SRID=4674;POINT (-39.369519 -3.085214)', '2026-08-04 16:26:42', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085226)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085214)'))) / (select extract(epoch from '2026-08-04 16:26:42'::timestamp) - extract(epoch from '2026-08-04 16:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369516 -3.085226)'), GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085214)'))) / (select extract(epoch from '2026-08-04 16:26:42'::timestamp) - extract(epoch from '2026-08-04 16:26: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'), 48166, 'SRID=4674;POINT (-39.369526 -3.085225)', '2026-08-04 16:27:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085214)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085225)'))) / (select extract(epoch from '2026-08-04 16:27:06'::timestamp) - extract(epoch from '2026-08-04 16:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369519 -3.085214)'), GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085225)'))) / (select extract(epoch from '2026-08-04 16:27:06'::timestamp) - extract(epoch from '2026-08-04 16:26: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'), 48166, 'SRID=4674;POINT (-39.369496 -3.08522)', '2026-08-04 16:27:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085225)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.08522)'))) / (select extract(epoch from '2026-08-04 16:27:21'::timestamp) - extract(epoch from '2026-08-04 16:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369526 -3.085225)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.08522)'))) / (select extract(epoch from '2026-08-04 16:27:21'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369495 -3.085199)', '2026-08-04 16:27:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.08522)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085199)'))) / (select extract(epoch from '2026-08-04 16:27:55'::timestamp) - extract(epoch from '2026-08-04 16:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.08522)'), GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085199)'))) / (select extract(epoch from '2026-08-04 16:27:55'::timestamp) - extract(epoch from '2026-08-04 16:27: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'), 48166, 'SRID=4674;POINT (-39.369487 -3.085189)', '2026-08-04 16:28:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085199)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085189)'))) / (select extract(epoch from '2026-08-04 16:28:40'::timestamp) - extract(epoch from '2026-08-04 16:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369495 -3.085199)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085189)'))) / (select extract(epoch from '2026-08-04 16:28:40'::timestamp) - extract(epoch from '2026-08-04 16:27: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'), 48166, 'SRID=4674;POINT (-39.369483 -3.085195)', '2026-08-04 16:28:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085189)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085195)'))) / (select extract(epoch from '2026-08-04 16:28:55'::timestamp) - extract(epoch from '2026-08-04 16:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085189)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085195)'))) / (select extract(epoch from '2026-08-04 16:28:55'::timestamp) - extract(epoch from '2026-08-04 16:28: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'), 48166, 'SRID=4674;POINT (-39.369485 -3.085187)', '2026-08-04 16:29:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085195)'), GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085187)'))) / (select extract(epoch from '2026-08-04 16:29:10'::timestamp) - extract(epoch from '2026-08-04 16:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085195)'), GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085187)'))) / (select extract(epoch from '2026-08-04 16:29:10'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369493 -3.085162)', '2026-08-04 16:29:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085187)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085162)'))) / (select extract(epoch from '2026-08-04 16:29:16'::timestamp) - extract(epoch from '2026-08-04 16:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369485 -3.085187)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085162)'))) / (select extract(epoch from '2026-08-04 16:29:16'::timestamp) - extract(epoch from '2026-08-04 16:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369473 -3.085141)', '2026-08-04 16:29:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085162)'), GeomFromEWKT('SRID=4674;POINT (-39.369473 -3.085141)'))) / (select extract(epoch from '2026-08-04 16:29:30'::timestamp) - extract(epoch from '2026-08-04 16:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085162)'), GeomFromEWKT('SRID=4674;POINT (-39.369473 -3.085141)'))) / (select extract(epoch from '2026-08-04 16:29:30'::timestamp) - extract(epoch from '2026-08-04 16:29: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'), 48166, 'SRID=4674;POINT (-39.369463 -3.085148)', '2026-08-04 16:29:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369473 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.369463 -3.085148)'))) / (select extract(epoch from '2026-08-04 16:29:36'::timestamp) - extract(epoch from '2026-08-04 16:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369473 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.369463 -3.085148)'))) / (select extract(epoch from '2026-08-04 16:29:36'::timestamp) - extract(epoch from '2026-08-04 16:29: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'), 48166, 'SRID=4674;POINT (-39.369462 -3.085159)', '2026-08-04 16:30:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369463 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.369462 -3.085159)'))) / (select extract(epoch from '2026-08-04 16:30:56'::timestamp) - extract(epoch from '2026-08-04 16:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369463 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.369462 -3.085159)'))) / (select extract(epoch from '2026-08-04 16:30:56'::timestamp) - extract(epoch from '2026-08-04 16:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369478 -3.085179)', '2026-08-04 16:31:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369462 -3.085159)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085179)'))) / (select extract(epoch from '2026-08-04 16:31:38'::timestamp) - extract(epoch from '2026-08-04 16:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369462 -3.085159)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085179)'))) / (select extract(epoch from '2026-08-04 16:31:38'::timestamp) - extract(epoch from '2026-08-04 16:30: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'), 48166, 'SRID=4674;POINT (-39.369487 -3.085198)', '2026-08-04 16:32:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085179)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085198)'))) / (select extract(epoch from '2026-08-04 16:32:22'::timestamp) - extract(epoch from '2026-08-04 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085179)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085198)'))) / (select extract(epoch from '2026-08-04 16:32:22'::timestamp) - extract(epoch from '2026-08-04 16:31: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'), 48166, 'SRID=4674;POINT (-39.369481 -3.085182)', '2026-08-04 16:32:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085198)'), GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085182)'))) / (select extract(epoch from '2026-08-04 16:32:46'::timestamp) - extract(epoch from '2026-08-04 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085198)'), GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085182)'))) / (select extract(epoch from '2026-08-04 16:32:46'::timestamp) - extract(epoch from '2026-08-04 16:32: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'), 48166, 'SRID=4674;POINT (-39.369488 -3.085197)', '2026-08-04 16:33:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085182)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085197)'))) / (select extract(epoch from '2026-08-04 16:33:01'::timestamp) - extract(epoch from '2026-08-04 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085182)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085197)'))) / (select extract(epoch from '2026-08-04 16:33:01'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369499 -3.085193)', '2026-08-04 16:33:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085197)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085193)'))) / (select extract(epoch from '2026-08-04 16:33:19'::timestamp) - extract(epoch from '2026-08-04 16:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085197)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085193)'))) / (select extract(epoch from '2026-08-04 16:33:19'::timestamp) - extract(epoch from '2026-08-04 16:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369497 -3.085192)', '2026-08-04 16:33:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085193)'), GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085192)'))) / (select extract(epoch from '2026-08-04 16:33:28'::timestamp) - extract(epoch from '2026-08-04 16:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085193)'), GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085192)'))) / (select extract(epoch from '2026-08-04 16:33:28'::timestamp) - extract(epoch from '2026-08-04 16:33: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'), 48166, 'SRID=4674;POINT (-39.369499 -3.085199)', '2026-08-04 16:35:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085192)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085199)'))) / (select extract(epoch from '2026-08-04 16:35:30'::timestamp) - extract(epoch from '2026-08-04 16:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369497 -3.085192)'), GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085199)'))) / (select extract(epoch from '2026-08-04 16:35:30'::timestamp) - extract(epoch from '2026-08-04 16:33: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'), 48166, 'SRID=4674;POINT (-39.369474 -3.085194)', '2026-08-04 16:35:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085199)'), GeomFromEWKT('SRID=4674;POINT (-39.369474 -3.085194)'))) / (select extract(epoch from '2026-08-04 16:35:45'::timestamp) - extract(epoch from '2026-08-04 16:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369499 -3.085199)'), GeomFromEWKT('SRID=4674;POINT (-39.369474 -3.085194)'))) / (select extract(epoch from '2026-08-04 16:35:45'::timestamp) - extract(epoch from '2026-08-04 16:35:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369477 -3.085207)', '2026-08-04 16:36:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369474 -3.085194)'), GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.085207)'))) / (select extract(epoch from '2026-08-04 16:36:02'::timestamp) - extract(epoch from '2026-08-04 16:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369474 -3.085194)'), GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.085207)'))) / (select extract(epoch from '2026-08-04 16:36:02'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369488 -3.085198)', '2026-08-04 16:36:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085198)'))) / (select extract(epoch from '2026-08-04 16:36:24'::timestamp) - extract(epoch from '2026-08-04 16:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369477 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085198)'))) / (select extract(epoch from '2026-08-04 16:36:24'::timestamp) - extract(epoch from '2026-08-04 16:36: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'), 48166, 'SRID=4674;POINT (-39.36948 -3.085201)', '2026-08-04 16:36:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085198)'), GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085201)'))) / (select extract(epoch from '2026-08-04 16:36:30'::timestamp) - extract(epoch from '2026-08-04 16:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369488 -3.085198)'), GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085201)'))) / (select extract(epoch from '2026-08-04 16:36:30'::timestamp) - extract(epoch from '2026-08-04 16:36: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'), 48166, 'SRID=4674;POINT (-39.36949 -3.085209)', '2026-08-04 16:36:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085201)'), GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085209)'))) / (select extract(epoch from '2026-08-04 16:36:37'::timestamp) - extract(epoch from '2026-08-04 16:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085201)'), GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085209)'))) / (select extract(epoch from '2026-08-04 16:36:37'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369482 -3.085208)', '2026-08-04 16:36:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085209)'), GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085208)'))) / (select extract(epoch from '2026-08-04 16:36:38'::timestamp) - extract(epoch from '2026-08-04 16:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085209)'), GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085208)'))) / (select extract(epoch from '2026-08-04 16:36:38'::timestamp) - extract(epoch from '2026-08-04 16:36: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'), 48166, 'SRID=4674;POINT (-39.369494 -3.085213)', '2026-08-04 16:36:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085213)'))) / (select extract(epoch from '2026-08-04 16:36:50'::timestamp) - extract(epoch from '2026-08-04 16:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085213)'))) / (select extract(epoch from '2026-08-04 16:36:50'::timestamp) - extract(epoch from '2026-08-04 16:36: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'), 48166, 'SRID=4674;POINT (-39.36949 -3.085228)', '2026-08-04 16:37:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085213)'), GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085228)'))) / (select extract(epoch from '2026-08-04 16:37:03'::timestamp) - extract(epoch from '2026-08-04 16:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369494 -3.085213)'), GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085228)'))) / (select extract(epoch from '2026-08-04 16:37:03'::timestamp) - extract(epoch from '2026-08-04 16:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369502 -3.085227)', '2026-08-04 16:37:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085228)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085227)'))) / (select extract(epoch from '2026-08-04 16:37:05'::timestamp) - extract(epoch from '2026-08-04 16:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36949 -3.085228)'), GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085227)'))) / (select extract(epoch from '2026-08-04 16:37:05'::timestamp) - extract(epoch from '2026-08-04 16:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369492 -3.085219)', '2026-08-04 16:37:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085227)'), GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:37:11'::timestamp) - extract(epoch from '2026-08-04 16:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369502 -3.085227)'), GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085219)'))) / (select extract(epoch from '2026-08-04 16:37:11'::timestamp) - extract(epoch from '2026-08-04 16:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369493 -3.085216)', '2026-08-04 16:37:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085216)'))) / (select extract(epoch from '2026-08-04 16:37:21'::timestamp) - extract(epoch from '2026-08-04 16:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085216)'))) / (select extract(epoch from '2026-08-04 16:37:21'::timestamp) - extract(epoch from '2026-08-04 16:37:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369479 -3.085208)', '2026-08-04 16:37:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085208)'))) / (select extract(epoch from '2026-08-04 16:37:30'::timestamp) - extract(epoch from '2026-08-04 16:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369493 -3.085216)'), GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085208)'))) / (select extract(epoch from '2026-08-04 16:37:30'::timestamp) - extract(epoch from '2026-08-04 16:37: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'), 48166, 'SRID=4674;POINT (-39.369476 -3.085203)', '2026-08-04 16:38:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369476 -3.085203)'))) / (select extract(epoch from '2026-08-04 16:38:01'::timestamp) - extract(epoch from '2026-08-04 16:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369476 -3.085203)'))) / (select extract(epoch from '2026-08-04 16:38:01'::timestamp) - extract(epoch from '2026-08-04 16:37: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'), 48166, 'SRID=4674;POINT (-39.369482 -3.085208)', '2026-08-04 16:38:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369476 -3.085203)'), GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085208)'))) / (select extract(epoch from '2026-08-04 16:38:15'::timestamp) - extract(epoch from '2026-08-04 16:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369476 -3.085203)'), GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085208)'))) / (select extract(epoch from '2026-08-04 16:38:15'::timestamp) - extract(epoch from '2026-08-04 16:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369475 -3.085196)', '2026-08-04 16:38:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369475 -3.085196)'))) / (select extract(epoch from '2026-08-04 16:38:38'::timestamp) - extract(epoch from '2026-08-04 16:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085208)'), GeomFromEWKT('SRID=4674;POINT (-39.369475 -3.085196)'))) / (select extract(epoch from '2026-08-04 16:38:38'::timestamp) - extract(epoch from '2026-08-04 16:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369478 -3.085195)', '2026-08-04 16:38:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369475 -3.085196)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085195)'))) / (select extract(epoch from '2026-08-04 16:38:46'::timestamp) - extract(epoch from '2026-08-04 16:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369475 -3.085196)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085195)'))) / (select extract(epoch from '2026-08-04 16:38:46'::timestamp) - extract(epoch from '2026-08-04 16:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369479 -3.085196)', '2026-08-04 16:39:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085195)'), GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085196)'))) / (select extract(epoch from '2026-08-04 16:39:20'::timestamp) - extract(epoch from '2026-08-04 16:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085195)'), GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085196)'))) / (select extract(epoch from '2026-08-04 16:39:20'::timestamp) - extract(epoch from '2026-08-04 16:38: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'), 48166, 'SRID=4674;POINT (-39.369491 -3.085192)', '2026-08-04 16:39:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085196)'), GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085192)'))) / (select extract(epoch from '2026-08-04 16:39:33'::timestamp) - extract(epoch from '2026-08-04 16:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369479 -3.085196)'), GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085192)'))) / (select extract(epoch from '2026-08-04 16:39:33'::timestamp) - extract(epoch from '2026-08-04 16:39: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'), 48166, 'SRID=4674;POINT (-39.369478 -3.085195)', '2026-08-04 16:39:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085192)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085195)'))) / (select extract(epoch from '2026-08-04 16:39:51'::timestamp) - extract(epoch from '2026-08-04 16:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369491 -3.085192)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085195)'))) / (select extract(epoch from '2026-08-04 16:39:51'::timestamp) - extract(epoch from '2026-08-04 16:39: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'), 48166, 'SRID=4674;POINT (-39.369474 -3.08519)', '2026-08-04 16:40:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085195)'), GeomFromEWKT('SRID=4674;POINT (-39.369474 -3.08519)'))) / (select extract(epoch from '2026-08-04 16:40:13'::timestamp) - extract(epoch from '2026-08-04 16:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085195)'), GeomFromEWKT('SRID=4674;POINT (-39.369474 -3.08519)'))) / (select extract(epoch from '2026-08-04 16:40:13'::timestamp) - extract(epoch from '2026-08-04 16:39: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'), 48166, 'SRID=4674;POINT (-39.36946 -3.085178)', '2026-08-04 16:40:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369474 -3.08519)'), GeomFromEWKT('SRID=4674;POINT (-39.36946 -3.085178)'))) / (select extract(epoch from '2026-08-04 16:40:27'::timestamp) - extract(epoch from '2026-08-04 16:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369474 -3.08519)'), GeomFromEWKT('SRID=4674;POINT (-39.36946 -3.085178)'))) / (select extract(epoch from '2026-08-04 16:40:27'::timestamp) - extract(epoch from '2026-08-04 16:40: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'), 48166, 'SRID=4674;POINT (-39.369466 -3.085168)', '2026-08-04 16:40:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36946 -3.085178)'), GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.085168)'))) / (select extract(epoch from '2026-08-04 16:40:43'::timestamp) - extract(epoch from '2026-08-04 16:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36946 -3.085178)'), GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.085168)'))) / (select extract(epoch from '2026-08-04 16:40:43'::timestamp) - extract(epoch from '2026-08-04 16:40: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'), 48166, 'SRID=4674;POINT (-39.369482 -3.085176)', '2026-08-04 16:41:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085176)'))) / (select extract(epoch from '2026-08-04 16:41:10'::timestamp) - extract(epoch from '2026-08-04 16:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369466 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085176)'))) / (select extract(epoch from '2026-08-04 16:41:10'::timestamp) - extract(epoch from '2026-08-04 16:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36948 -3.085163)', '2026-08-04 16:41:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085176)'), GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085163)'))) / (select extract(epoch from '2026-08-04 16:41:39'::timestamp) - extract(epoch from '2026-08-04 16:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085176)'), GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085163)'))) / (select extract(epoch from '2026-08-04 16:41:39'::timestamp) - extract(epoch from '2026-08-04 16:41: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'), 48166, 'SRID=4674;POINT (-39.369483 -3.085164)', '2026-08-04 16:41:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085163)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085164)'))) / (select extract(epoch from '2026-08-04 16:41:52'::timestamp) - extract(epoch from '2026-08-04 16:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36948 -3.085163)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085164)'))) / (select extract(epoch from '2026-08-04 16:41:52'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369478 -3.085166)', '2026-08-04 16:42:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085164)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085166)'))) / (select extract(epoch from '2026-08-04 16:42:08'::timestamp) - extract(epoch from '2026-08-04 16:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085164)'), GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085166)'))) / (select extract(epoch from '2026-08-04 16:42:08'::timestamp) - extract(epoch from '2026-08-04 16:41: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'), 48166, 'SRID=4674;POINT (-39.369481 -3.085167)', '2026-08-04 16:42:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085166)'), GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085167)'))) / (select extract(epoch from '2026-08-04 16:42:40'::timestamp) - extract(epoch from '2026-08-04 16:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369478 -3.085166)'), GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085167)'))) / (select extract(epoch from '2026-08-04 16:42:40'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369492 -3.085175)', '2026-08-04 16:43:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085167)'), GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085175)'))) / (select extract(epoch from '2026-08-04 16:43:26'::timestamp) - extract(epoch from '2026-08-04 16:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369481 -3.085167)'), GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085175)'))) / (select extract(epoch from '2026-08-04 16:43:26'::timestamp) - extract(epoch from '2026-08-04 16:42: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'), 48166, 'SRID=4674;POINT (-39.369483 -3.085166)', '2026-08-04 16:44:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085175)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085166)'))) / (select extract(epoch from '2026-08-04 16:44:04'::timestamp) - extract(epoch from '2026-08-04 16:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369492 -3.085175)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085166)'))) / (select extract(epoch from '2026-08-04 16:44:04'::timestamp) - extract(epoch from '2026-08-04 16:43: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'), 48166, 'SRID=4674;POINT (-39.369463 -3.085175)', '2026-08-04 16:44:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085166)'), GeomFromEWKT('SRID=4674;POINT (-39.369463 -3.085175)'))) / (select extract(epoch from '2026-08-04 16:44:25'::timestamp) - extract(epoch from '2026-08-04 16:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.085166)'), GeomFromEWKT('SRID=4674;POINT (-39.369463 -3.085175)'))) / (select extract(epoch from '2026-08-04 16:44:25'::timestamp) - extract(epoch from '2026-08-04 16:44: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'), 48166, 'SRID=4674;POINT (-39.369469 -3.085194)', '2026-08-04 16:45:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369463 -3.085175)'), GeomFromEWKT('SRID=4674;POINT (-39.369469 -3.085194)'))) / (select extract(epoch from '2026-08-04 16:45:56'::timestamp) - extract(epoch from '2026-08-04 16:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369463 -3.085175)'), GeomFromEWKT('SRID=4674;POINT (-39.369469 -3.085194)'))) / (select extract(epoch from '2026-08-04 16:45:56'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369482 -3.085171)', '2026-08-04 16:46:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369469 -3.085194)'), GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085171)'))) / (select extract(epoch from '2026-08-04 16:46:24'::timestamp) - extract(epoch from '2026-08-04 16:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369469 -3.085194)'), GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085171)'))) / (select extract(epoch from '2026-08-04 16:46:24'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369487 -3.085166)', '2026-08-04 16:46:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085171)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085166)'))) / (select extract(epoch from '2026-08-04 16:46:30'::timestamp) - extract(epoch from '2026-08-04 16:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369482 -3.085171)'), GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085166)'))) / (select extract(epoch from '2026-08-04 16:46:30'::timestamp) - extract(epoch from '2026-08-04 16:46: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'), 48166, 'SRID=4674;POINT (-39.369472 -3.085146)', '2026-08-04 16:46:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085166)'), GeomFromEWKT('SRID=4674;POINT (-39.369472 -3.085146)'))) / (select extract(epoch from '2026-08-04 16:46:55'::timestamp) - extract(epoch from '2026-08-04 16:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369487 -3.085166)'), GeomFromEWKT('SRID=4674;POINT (-39.369472 -3.085146)'))) / (select extract(epoch from '2026-08-04 16:46:55'::timestamp) - extract(epoch from '2026-08-04 16:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369447 -3.085128)', '2026-08-04 16:47:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369472 -3.085146)'), GeomFromEWKT('SRID=4674;POINT (-39.369447 -3.085128)'))) / (select extract(epoch from '2026-08-04 16:47:01'::timestamp) - extract(epoch from '2026-08-04 16:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369472 -3.085146)'), GeomFromEWKT('SRID=4674;POINT (-39.369447 -3.085128)'))) / (select extract(epoch from '2026-08-04 16:47:01'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369372 -3.08514)', '2026-08-04 16:47:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369447 -3.085128)'), GeomFromEWKT('SRID=4674;POINT (-39.369372 -3.08514)'))) / (select extract(epoch from '2026-08-04 16:47:13'::timestamp) - extract(epoch from '2026-08-04 16:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369447 -3.085128)'), GeomFromEWKT('SRID=4674;POINT (-39.369372 -3.08514)'))) / (select extract(epoch from '2026-08-04 16:47:13'::timestamp) - extract(epoch from '2026-08-04 16:47: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'), 48166, 'SRID=4674;POINT (-39.369381 -3.085172)', '2026-08-04 16:47:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369372 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.369381 -3.085172)'))) / (select extract(epoch from '2026-08-04 16:47:15'::timestamp) - extract(epoch from '2026-08-04 16:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369372 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.369381 -3.085172)'))) / (select extract(epoch from '2026-08-04 16:47:15'::timestamp) - extract(epoch from '2026-08-04 16:47: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'), 48166, 'SRID=4674;POINT (-39.369356 -3.085182)', '2026-08-04 16:47:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369381 -3.085172)'), GeomFromEWKT('SRID=4674;POINT (-39.369356 -3.085182)'))) / (select extract(epoch from '2026-08-04 16:47:19'::timestamp) - extract(epoch from '2026-08-04 16:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369381 -3.085172)'), GeomFromEWKT('SRID=4674;POINT (-39.369356 -3.085182)'))) / (select extract(epoch from '2026-08-04 16:47:19'::timestamp) - extract(epoch from '2026-08-04 16:47: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'), 48166, 'SRID=4674;POINT (-39.369266 -3.085162)', '2026-08-04 16:47:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369356 -3.085182)'), GeomFromEWKT('SRID=4674;POINT (-39.369266 -3.085162)'))) / (select extract(epoch from '2026-08-04 16:47:30'::timestamp) - extract(epoch from '2026-08-04 16:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369356 -3.085182)'), GeomFromEWKT('SRID=4674;POINT (-39.369266 -3.085162)'))) / (select extract(epoch from '2026-08-04 16:47:30'::timestamp) - extract(epoch from '2026-08-04 16:47: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'), 48166, 'SRID=4674;POINT (-39.369248 -3.085159)', '2026-08-04 16:47:36', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369266 -3.085162)'), GeomFromEWKT('SRID=4674;POINT (-39.369248 -3.085159)'))) / (select extract(epoch from '2026-08-04 16:47:36'::timestamp) - extract(epoch from '2026-08-04 16:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369266 -3.085162)'), GeomFromEWKT('SRID=4674;POINT (-39.369248 -3.085159)'))) / (select extract(epoch from '2026-08-04 16:47:36'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.36916 -3.085171)', '2026-08-04 16:47:48', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369248 -3.085159)'), GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.085171)'))) / (select extract(epoch from '2026-08-04 16:47:48'::timestamp) - extract(epoch from '2026-08-04 16:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369248 -3.085159)'), GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.085171)'))) / (select extract(epoch from '2026-08-04 16:47:48'::timestamp) - extract(epoch from '2026-08-04 16:47: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'), 48166, 'SRID=4674;POINT (-39.369094 -3.085184)', '2026-08-04 16:47:55', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.085171)'), GeomFromEWKT('SRID=4674;POINT (-39.369094 -3.085184)'))) / (select extract(epoch from '2026-08-04 16:47:55'::timestamp) - extract(epoch from '2026-08-04 16:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36916 -3.085171)'), GeomFromEWKT('SRID=4674;POINT (-39.369094 -3.085184)'))) / (select extract(epoch from '2026-08-04 16:47:55'::timestamp) - extract(epoch from '2026-08-04 16:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369056 -3.085207)', '2026-08-04 16:48:00', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369094 -3.085184)'), GeomFromEWKT('SRID=4674;POINT (-39.369056 -3.085207)'))) / (select extract(epoch from '2026-08-04 16:48:00'::timestamp) - extract(epoch from '2026-08-04 16:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369094 -3.085184)'), GeomFromEWKT('SRID=4674;POINT (-39.369056 -3.085207)'))) / (select extract(epoch from '2026-08-04 16:48:00'::timestamp) - extract(epoch from '2026-08-04 16:47: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'), 48166, 'SRID=4674;POINT (-39.369012 -3.085228)', '2026-08-04 16:48:06', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369056 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.369012 -3.085228)'))) / (select extract(epoch from '2026-08-04 16:48:06'::timestamp) - extract(epoch from '2026-08-04 16:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369056 -3.085207)'), GeomFromEWKT('SRID=4674;POINT (-39.369012 -3.085228)'))) / (select extract(epoch from '2026-08-04 16:48:06'::timestamp) - extract(epoch from '2026-08-04 16:48: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'), 48166, 'SRID=4674;POINT (-39.368965 -3.085229)', '2026-08-04 16:48:11', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369012 -3.085228)'), GeomFromEWKT('SRID=4674;POINT (-39.368965 -3.085229)'))) / (select extract(epoch from '2026-08-04 16:48:11'::timestamp) - extract(epoch from '2026-08-04 16:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369012 -3.085228)'), GeomFromEWKT('SRID=4674;POINT (-39.368965 -3.085229)'))) / (select extract(epoch from '2026-08-04 16:48:11'::timestamp) - extract(epoch from '2026-08-04 16:48: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'), 48166, 'SRID=4674;POINT (-39.368959 -3.085232)', '2026-08-04 16:48:12', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368965 -3.085229)'), GeomFromEWKT('SRID=4674;POINT (-39.368959 -3.085232)'))) / (select extract(epoch from '2026-08-04 16:48:12'::timestamp) - extract(epoch from '2026-08-04 16:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368965 -3.085229)'), GeomFromEWKT('SRID=4674;POINT (-39.368959 -3.085232)'))) / (select extract(epoch from '2026-08-04 16:48:12'::timestamp) - extract(epoch from '2026-08-04 16:48: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'), 48166, 'SRID=4674;POINT (-39.368931 -3.085247)', '2026-08-04 16:48:16', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368959 -3.085232)'), GeomFromEWKT('SRID=4674;POINT (-39.368931 -3.085247)'))) / (select extract(epoch from '2026-08-04 16:48:16'::timestamp) - extract(epoch from '2026-08-04 16:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368959 -3.085232)'), GeomFromEWKT('SRID=4674;POINT (-39.368931 -3.085247)'))) / (select extract(epoch from '2026-08-04 16:48:16'::timestamp) - extract(epoch from '2026-08-04 16:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368921 -3.085252)', '2026-08-04 16:48:18', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368931 -3.085247)'), GeomFromEWKT('SRID=4674;POINT (-39.368921 -3.085252)'))) / (select extract(epoch from '2026-08-04 16:48:18'::timestamp) - extract(epoch from '2026-08-04 16:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368931 -3.085247)'), GeomFromEWKT('SRID=4674;POINT (-39.368921 -3.085252)'))) / (select extract(epoch from '2026-08-04 16:48:18'::timestamp) - extract(epoch from '2026-08-04 16:48: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'), 48166, 'SRID=4674;POINT (-39.368891 -3.085257)', '2026-08-04 16:48:21', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368921 -3.085252)'), GeomFromEWKT('SRID=4674;POINT (-39.368891 -3.085257)'))) / (select extract(epoch from '2026-08-04 16:48:21'::timestamp) - extract(epoch from '2026-08-04 16:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368921 -3.085252)'), GeomFromEWKT('SRID=4674;POINT (-39.368891 -3.085257)'))) / (select extract(epoch from '2026-08-04 16:48:21'::timestamp) - extract(epoch from '2026-08-04 16:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368834 -3.085264)', '2026-08-04 16:48:28', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368891 -3.085257)'), GeomFromEWKT('SRID=4674;POINT (-39.368834 -3.085264)'))) / (select extract(epoch from '2026-08-04 16:48:28'::timestamp) - extract(epoch from '2026-08-04 16:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368891 -3.085257)'), GeomFromEWKT('SRID=4674;POINT (-39.368834 -3.085264)'))) / (select extract(epoch from '2026-08-04 16:48:28'::timestamp) - extract(epoch from '2026-08-04 16:48: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'), 48166, 'SRID=4674;POINT (-39.368793 -3.085275)', '2026-08-04 16:48:34', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368834 -3.085264)'), GeomFromEWKT('SRID=4674;POINT (-39.368793 -3.085275)'))) / (select extract(epoch from '2026-08-04 16:48:34'::timestamp) - extract(epoch from '2026-08-04 16:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368834 -3.085264)'), GeomFromEWKT('SRID=4674;POINT (-39.368793 -3.085275)'))) / (select extract(epoch from '2026-08-04 16:48:34'::timestamp) - extract(epoch from '2026-08-04 16:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36878 -3.085278)', '2026-08-04 16:48:36', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368793 -3.085275)'), GeomFromEWKT('SRID=4674;POINT (-39.36878 -3.085278)'))) / (select extract(epoch from '2026-08-04 16:48:36'::timestamp) - extract(epoch from '2026-08-04 16:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368793 -3.085275)'), GeomFromEWKT('SRID=4674;POINT (-39.36878 -3.085278)'))) / (select extract(epoch from '2026-08-04 16:48:36'::timestamp) - extract(epoch from '2026-08-04 16:48: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'), 48166, 'SRID=4674;POINT (-39.368762 -3.085289)', '2026-08-04 16:48:39', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36878 -3.085278)'), GeomFromEWKT('SRID=4674;POINT (-39.368762 -3.085289)'))) / (select extract(epoch from '2026-08-04 16:48:39'::timestamp) - extract(epoch from '2026-08-04 16:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36878 -3.085278)'), GeomFromEWKT('SRID=4674;POINT (-39.368762 -3.085289)'))) / (select extract(epoch from '2026-08-04 16:48:39'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.368749 -3.085294)', '2026-08-04 16:48:41', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368762 -3.085289)'), GeomFromEWKT('SRID=4674;POINT (-39.368749 -3.085294)'))) / (select extract(epoch from '2026-08-04 16:48:41'::timestamp) - extract(epoch from '2026-08-04 16:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368762 -3.085289)'), GeomFromEWKT('SRID=4674;POINT (-39.368749 -3.085294)'))) / (select extract(epoch from '2026-08-04 16:48:41'::timestamp) - extract(epoch from '2026-08-04 16:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368732 -3.0853)', '2026-08-04 16:48:44', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368749 -3.085294)'), GeomFromEWKT('SRID=4674;POINT (-39.368732 -3.0853)'))) / (select extract(epoch from '2026-08-04 16:48:44'::timestamp) - extract(epoch from '2026-08-04 16:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368749 -3.085294)'), GeomFromEWKT('SRID=4674;POINT (-39.368732 -3.0853)'))) / (select extract(epoch from '2026-08-04 16:48:44'::timestamp) - extract(epoch from '2026-08-04 16:48: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'), 48166, 'SRID=4674;POINT (-39.368714 -3.085299)', '2026-08-04 16:48:46', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368732 -3.0853)'), GeomFromEWKT('SRID=4674;POINT (-39.368714 -3.085299)'))) / (select extract(epoch from '2026-08-04 16:48:46'::timestamp) - extract(epoch from '2026-08-04 16:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368732 -3.0853)'), GeomFromEWKT('SRID=4674;POINT (-39.368714 -3.085299)'))) / (select extract(epoch from '2026-08-04 16:48:46'::timestamp) - extract(epoch from '2026-08-04 16:48: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'), 48166, 'SRID=4674;POINT (-39.368696 -3.085297)', '2026-08-04 16:48:49', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368714 -3.085299)'), GeomFromEWKT('SRID=4674;POINT (-39.368696 -3.085297)'))) / (select extract(epoch from '2026-08-04 16:48:49'::timestamp) - extract(epoch from '2026-08-04 16:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368714 -3.085299)'), GeomFromEWKT('SRID=4674;POINT (-39.368696 -3.085297)'))) / (select extract(epoch from '2026-08-04 16:48:49'::timestamp) - extract(epoch from '2026-08-04 16:48: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'), 48166, 'SRID=4674;POINT (-39.368658 -3.085305)', '2026-08-04 16:48:55', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368696 -3.085297)'), GeomFromEWKT('SRID=4674;POINT (-39.368658 -3.085305)'))) / (select extract(epoch from '2026-08-04 16:48:55'::timestamp) - extract(epoch from '2026-08-04 16:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368696 -3.085297)'), GeomFromEWKT('SRID=4674;POINT (-39.368658 -3.085305)'))) / (select extract(epoch from '2026-08-04 16:48:55'::timestamp) - extract(epoch from '2026-08-04 16:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368613 -3.085309)', '2026-08-04 16:49:01', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368658 -3.085305)'), GeomFromEWKT('SRID=4674;POINT (-39.368613 -3.085309)'))) / (select extract(epoch from '2026-08-04 16:49:01'::timestamp) - extract(epoch from '2026-08-04 16:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368658 -3.085305)'), GeomFromEWKT('SRID=4674;POINT (-39.368613 -3.085309)'))) / (select extract(epoch from '2026-08-04 16:49:01'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.368577 -3.08533)', '2026-08-04 16:49:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368613 -3.085309)'), GeomFromEWKT('SRID=4674;POINT (-39.368577 -3.08533)'))) / (select extract(epoch from '2026-08-04 16:49:07'::timestamp) - extract(epoch from '2026-08-04 16:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368613 -3.085309)'), GeomFromEWKT('SRID=4674;POINT (-39.368577 -3.08533)'))) / (select extract(epoch from '2026-08-04 16:49:07'::timestamp) - extract(epoch from '2026-08-04 16:49: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'), 48166, 'SRID=4674;POINT (-39.36857 -3.085344)', '2026-08-04 16:49:09', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368577 -3.08533)'), GeomFromEWKT('SRID=4674;POINT (-39.36857 -3.085344)'))) / (select extract(epoch from '2026-08-04 16:49:09'::timestamp) - extract(epoch from '2026-08-04 16:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368577 -3.08533)'), GeomFromEWKT('SRID=4674;POINT (-39.36857 -3.085344)'))) / (select extract(epoch from '2026-08-04 16:49:09'::timestamp) - extract(epoch from '2026-08-04 16:49: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'), 48166, 'SRID=4674;POINT (-39.368559 -3.085366)', '2026-08-04 16:49:12', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36857 -3.085344)'), GeomFromEWKT('SRID=4674;POINT (-39.368559 -3.085366)'))) / (select extract(epoch from '2026-08-04 16:49:12'::timestamp) - extract(epoch from '2026-08-04 16:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36857 -3.085344)'), GeomFromEWKT('SRID=4674;POINT (-39.368559 -3.085366)'))) / (select extract(epoch from '2026-08-04 16:49:12'::timestamp) - extract(epoch from '2026-08-04 16:49:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368553 -3.085397)', '2026-08-04 16:49:18', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368559 -3.085366)'), GeomFromEWKT('SRID=4674;POINT (-39.368553 -3.085397)'))) / (select extract(epoch from '2026-08-04 16:49:18'::timestamp) - extract(epoch from '2026-08-04 16:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368559 -3.085366)'), GeomFromEWKT('SRID=4674;POINT (-39.368553 -3.085397)'))) / (select extract(epoch from '2026-08-04 16:49:18'::timestamp) - extract(epoch from '2026-08-04 16:49: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'), 48166, 'SRID=4674;POINT (-39.368592 -3.085399)', '2026-08-04 16:49:27', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368553 -3.085397)'), GeomFromEWKT('SRID=4674;POINT (-39.368592 -3.085399)'))) / (select extract(epoch from '2026-08-04 16:49:27'::timestamp) - extract(epoch from '2026-08-04 16:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368553 -3.085397)'), GeomFromEWKT('SRID=4674;POINT (-39.368592 -3.085399)'))) / (select extract(epoch from '2026-08-04 16:49:27'::timestamp) - extract(epoch from '2026-08-04 16:49: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'), 48166, 'SRID=4674;POINT (-39.368647 -3.085405)', '2026-08-04 16:49:39', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368592 -3.085399)'), GeomFromEWKT('SRID=4674;POINT (-39.368647 -3.085405)'))) / (select extract(epoch from '2026-08-04 16:49:39'::timestamp) - extract(epoch from '2026-08-04 16:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368592 -3.085399)'), GeomFromEWKT('SRID=4674;POINT (-39.368647 -3.085405)'))) / (select extract(epoch from '2026-08-04 16:49:39'::timestamp) - extract(epoch from '2026-08-04 16:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368699 -3.085459)', '2026-08-04 16:49:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368647 -3.085405)'), GeomFromEWKT('SRID=4674;POINT (-39.368699 -3.085459)'))) / (select extract(epoch from '2026-08-04 16:49:48'::timestamp) - extract(epoch from '2026-08-04 16:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368647 -3.085405)'), GeomFromEWKT('SRID=4674;POINT (-39.368699 -3.085459)'))) / (select extract(epoch from '2026-08-04 16:49:48'::timestamp) - extract(epoch from '2026-08-04 16:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368751 -3.085489)', '2026-08-04 16:49:58', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368699 -3.085459)'), GeomFromEWKT('SRID=4674;POINT (-39.368751 -3.085489)'))) / (select extract(epoch from '2026-08-04 16:49:58'::timestamp) - extract(epoch from '2026-08-04 16:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368699 -3.085459)'), GeomFromEWKT('SRID=4674;POINT (-39.368751 -3.085489)'))) / (select extract(epoch from '2026-08-04 16:49:58'::timestamp) - extract(epoch from '2026-08-04 16:49: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'), 48166, 'SRID=4674;POINT (-39.368809 -3.085564)', '2026-08-04 16:50:08', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368751 -3.085489)'), GeomFromEWKT('SRID=4674;POINT (-39.368809 -3.085564)'))) / (select extract(epoch from '2026-08-04 16:50:08'::timestamp) - extract(epoch from '2026-08-04 16:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368751 -3.085489)'), GeomFromEWKT('SRID=4674;POINT (-39.368809 -3.085564)'))) / (select extract(epoch from '2026-08-04 16:50:08'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.368835 -3.085598)', '2026-08-04 16:50:12', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368809 -3.085564)'), GeomFromEWKT('SRID=4674;POINT (-39.368835 -3.085598)'))) / (select extract(epoch from '2026-08-04 16:50:12'::timestamp) - extract(epoch from '2026-08-04 16:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368809 -3.085564)'), GeomFromEWKT('SRID=4674;POINT (-39.368835 -3.085598)'))) / (select extract(epoch from '2026-08-04 16:50:12'::timestamp) - extract(epoch from '2026-08-04 16:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368893 -3.085651)', '2026-08-04 16:50:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368835 -3.085598)'), GeomFromEWKT('SRID=4674;POINT (-39.368893 -3.085651)'))) / (select extract(epoch from '2026-08-04 16:50:21'::timestamp) - extract(epoch from '2026-08-04 16:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368835 -3.085598)'), GeomFromEWKT('SRID=4674;POINT (-39.368893 -3.085651)'))) / (select extract(epoch from '2026-08-04 16:50:21'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.368975 -3.085759)', '2026-08-04 16:50:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368893 -3.085651)'), GeomFromEWKT('SRID=4674;POINT (-39.368975 -3.085759)'))) / (select extract(epoch from '2026-08-04 16:50:33'::timestamp) - extract(epoch from '2026-08-04 16:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368893 -3.085651)'), GeomFromEWKT('SRID=4674;POINT (-39.368975 -3.085759)'))) / (select extract(epoch from '2026-08-04 16:50:33'::timestamp) - extract(epoch from '2026-08-04 16:50: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'), 48166, 'SRID=4674;POINT (-39.369041 -3.085835)', '2026-08-04 16:50:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368975 -3.085759)'), GeomFromEWKT('SRID=4674;POINT (-39.369041 -3.085835)'))) / (select extract(epoch from '2026-08-04 16:50:42'::timestamp) - extract(epoch from '2026-08-04 16:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368975 -3.085759)'), GeomFromEWKT('SRID=4674;POINT (-39.369041 -3.085835)'))) / (select extract(epoch from '2026-08-04 16:50:42'::timestamp) - extract(epoch from '2026-08-04 16:50: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'), 48166, 'SRID=4674;POINT (-39.369045 -3.085844)', '2026-08-04 16:50:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369041 -3.085835)'), GeomFromEWKT('SRID=4674;POINT (-39.369045 -3.085844)'))) / (select extract(epoch from '2026-08-04 16:50:43'::timestamp) - extract(epoch from '2026-08-04 16:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369041 -3.085835)'), GeomFromEWKT('SRID=4674;POINT (-39.369045 -3.085844)'))) / (select extract(epoch from '2026-08-04 16:50:43'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369058 -3.085859)', '2026-08-04 16:50:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369045 -3.085844)'), GeomFromEWKT('SRID=4674;POINT (-39.369058 -3.085859)'))) / (select extract(epoch from '2026-08-04 16:50:45'::timestamp) - extract(epoch from '2026-08-04 16:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369045 -3.085844)'), GeomFromEWKT('SRID=4674;POINT (-39.369058 -3.085859)'))) / (select extract(epoch from '2026-08-04 16:50:45'::timestamp) - extract(epoch from '2026-08-04 16:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369069 -3.085866)', '2026-08-04 16:50:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369058 -3.085859)'), GeomFromEWKT('SRID=4674;POINT (-39.369069 -3.085866)'))) / (select extract(epoch from '2026-08-04 16:50:46'::timestamp) - extract(epoch from '2026-08-04 16:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369058 -3.085859)'), GeomFromEWKT('SRID=4674;POINT (-39.369069 -3.085866)'))) / (select extract(epoch from '2026-08-04 16:50:46'::timestamp) - extract(epoch from '2026-08-04 16:50: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'), 48166, 'SRID=4674;POINT (-39.369086 -3.085887)', '2026-08-04 16:50:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369069 -3.085866)'), GeomFromEWKT('SRID=4674;POINT (-39.369086 -3.085887)'))) / (select extract(epoch from '2026-08-04 16:50:48'::timestamp) - extract(epoch from '2026-08-04 16:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369069 -3.085866)'), GeomFromEWKT('SRID=4674;POINT (-39.369086 -3.085887)'))) / (select extract(epoch from '2026-08-04 16:50:48'::timestamp) - extract(epoch from '2026-08-04 16:50: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'), 48166, 'SRID=4674;POINT (-39.369099 -3.085918)', '2026-08-04 16:50:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369086 -3.085887)'), GeomFromEWKT('SRID=4674;POINT (-39.369099 -3.085918)'))) / (select extract(epoch from '2026-08-04 16:50:51'::timestamp) - extract(epoch from '2026-08-04 16:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369086 -3.085887)'), GeomFromEWKT('SRID=4674;POINT (-39.369099 -3.085918)'))) / (select extract(epoch from '2026-08-04 16:50:51'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369109 -3.085945)', '2026-08-04 16:50:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369099 -3.085918)'), GeomFromEWKT('SRID=4674;POINT (-39.369109 -3.085945)'))) / (select extract(epoch from '2026-08-04 16:50:53'::timestamp) - extract(epoch from '2026-08-04 16:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369099 -3.085918)'), GeomFromEWKT('SRID=4674;POINT (-39.369109 -3.085945)'))) / (select extract(epoch from '2026-08-04 16:50:53'::timestamp) - extract(epoch from '2026-08-04 16:50:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369133 -3.085981)', '2026-08-04 16:50:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369109 -3.085945)'), GeomFromEWKT('SRID=4674;POINT (-39.369133 -3.085981)'))) / (select extract(epoch from '2026-08-04 16:50:56'::timestamp) - extract(epoch from '2026-08-04 16:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369109 -3.085945)'), GeomFromEWKT('SRID=4674;POINT (-39.369133 -3.085981)'))) / (select extract(epoch from '2026-08-04 16:50:56'::timestamp) - extract(epoch from '2026-08-04 16:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369178 -3.086086)', '2026-08-04 16:51:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369133 -3.085981)'), GeomFromEWKT('SRID=4674;POINT (-39.369178 -3.086086)'))) / (select extract(epoch from '2026-08-04 16:51:03'::timestamp) - extract(epoch from '2026-08-04 16:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369133 -3.085981)'), GeomFromEWKT('SRID=4674;POINT (-39.369178 -3.086086)'))) / (select extract(epoch from '2026-08-04 16:51:03'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369189 -3.086178)', '2026-08-04 16:51:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369178 -3.086086)'), GeomFromEWKT('SRID=4674;POINT (-39.369189 -3.086178)'))) / (select extract(epoch from '2026-08-04 16:51:09'::timestamp) - extract(epoch from '2026-08-04 16:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369178 -3.086086)'), GeomFromEWKT('SRID=4674;POINT (-39.369189 -3.086178)'))) / (select extract(epoch from '2026-08-04 16:51:09'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369194 -3.086262)', '2026-08-04 16:51:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369189 -3.086178)'), GeomFromEWKT('SRID=4674;POINT (-39.369194 -3.086262)'))) / (select extract(epoch from '2026-08-04 16:51:14'::timestamp) - extract(epoch from '2026-08-04 16:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369189 -3.086178)'), GeomFromEWKT('SRID=4674;POINT (-39.369194 -3.086262)'))) / (select extract(epoch from '2026-08-04 16:51:14'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369211 -3.086365)', '2026-08-04 16:51:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369194 -3.086262)'), GeomFromEWKT('SRID=4674;POINT (-39.369211 -3.086365)'))) / (select extract(epoch from '2026-08-04 16:51:19'::timestamp) - extract(epoch from '2026-08-04 16:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369194 -3.086262)'), GeomFromEWKT('SRID=4674;POINT (-39.369211 -3.086365)'))) / (select extract(epoch from '2026-08-04 16:51:19'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369253 -3.086497)', '2026-08-04 16:51:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369211 -3.086365)'), GeomFromEWKT('SRID=4674;POINT (-39.369253 -3.086497)'))) / (select extract(epoch from '2026-08-04 16:51:25'::timestamp) - extract(epoch from '2026-08-04 16:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369211 -3.086365)'), GeomFromEWKT('SRID=4674;POINT (-39.369253 -3.086497)'))) / (select extract(epoch from '2026-08-04 16:51:25'::timestamp) - extract(epoch from '2026-08-04 16:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369297 -3.086584)', '2026-08-04 16:51:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369253 -3.086497)'), GeomFromEWKT('SRID=4674;POINT (-39.369297 -3.086584)'))) / (select extract(epoch from '2026-08-04 16:51:29'::timestamp) - extract(epoch from '2026-08-04 16:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369253 -3.086497)'), GeomFromEWKT('SRID=4674;POINT (-39.369297 -3.086584)'))) / (select extract(epoch from '2026-08-04 16:51:29'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48166, 'SRID=4674;POINT (-39.369354 -3.086686)', '2026-08-04 16:51:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369297 -3.086584)'), GeomFromEWKT('SRID=4674;POINT (-39.369354 -3.086686)'))) / (select extract(epoch from '2026-08-04 16:51:33'::timestamp) - extract(epoch from '2026-08-04 16:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369297 -3.086584)'), GeomFromEWKT('SRID=4674;POINT (-39.369354 -3.086686)'))) / (select extract(epoch from '2026-08-04 16:51:33'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48166, 'SRID=4674;POINT (-39.369388 -3.086796)', '2026-08-04 16:51:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369354 -3.086686)'), GeomFromEWKT('SRID=4674;POINT (-39.369388 -3.086796)'))) / (select extract(epoch from '2026-08-04 16:51:38'::timestamp) - extract(epoch from '2026-08-04 16:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369354 -3.086686)'), GeomFromEWKT('SRID=4674;POINT (-39.369388 -3.086796)'))) / (select extract(epoch from '2026-08-04 16:51:38'::timestamp) - extract(epoch from '2026-08-04 16:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369415 -3.086932)', '2026-08-04 16:51:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369388 -3.086796)'), GeomFromEWKT('SRID=4674;POINT (-39.369415 -3.086932)'))) / (select extract(epoch from '2026-08-04 16:51:44'::timestamp) - extract(epoch from '2026-08-04 16:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369388 -3.086796)'), GeomFromEWKT('SRID=4674;POINT (-39.369415 -3.086932)'))) / (select extract(epoch from '2026-08-04 16:51:44'::timestamp) - extract(epoch from '2026-08-04 16:51:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369447 -3.087074)', '2026-08-04 16:51:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369415 -3.086932)'), GeomFromEWKT('SRID=4674;POINT (-39.369447 -3.087074)'))) / (select extract(epoch from '2026-08-04 16:51:50'::timestamp) - extract(epoch from '2026-08-04 16:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369415 -3.086932)'), GeomFromEWKT('SRID=4674;POINT (-39.369447 -3.087074)'))) / (select extract(epoch from '2026-08-04 16:51:50'::timestamp) - extract(epoch from '2026-08-04 16:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369483 -3.08725)', '2026-08-04 16:51:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369447 -3.087074)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.08725)'))) / (select extract(epoch from '2026-08-04 16:51:57'::timestamp) - extract(epoch from '2026-08-04 16:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369447 -3.087074)'), GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.08725)'))) / (select extract(epoch from '2026-08-04 16:51:57'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48166, 'SRID=4674;POINT (-39.369515 -3.087389)', '2026-08-04 16:52:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.08725)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.087389)'))) / (select extract(epoch from '2026-08-04 16:52:03'::timestamp) - extract(epoch from '2026-08-04 16:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369483 -3.08725)'), GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.087389)'))) / (select extract(epoch from '2026-08-04 16:52:03'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48166, 'SRID=4674;POINT (-39.369555 -3.087511)', '2026-08-04 16:52:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.087389)'), GeomFromEWKT('SRID=4674;POINT (-39.369555 -3.087511)'))) / (select extract(epoch from '2026-08-04 16:52:08'::timestamp) - extract(epoch from '2026-08-04 16:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369515 -3.087389)'), GeomFromEWKT('SRID=4674;POINT (-39.369555 -3.087511)'))) / (select extract(epoch from '2026-08-04 16:52:08'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48166, 'SRID=4674;POINT (-39.369563 -3.08755)', '2026-08-04 16:52:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369555 -3.087511)'), GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.08755)'))) / (select extract(epoch from '2026-08-04 16:52:10'::timestamp) - extract(epoch from '2026-08-04 16:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369555 -3.087511)'), GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.08755)'))) / (select extract(epoch from '2026-08-04 16:52:10'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48166, 'SRID=4674;POINT (-39.369597 -3.087618)', '2026-08-04 16:52:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.08755)'), GeomFromEWKT('SRID=4674;POINT (-39.369597 -3.087618)'))) / (select extract(epoch from '2026-08-04 16:52:13'::timestamp) - extract(epoch from '2026-08-04 16:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369563 -3.08755)'), GeomFromEWKT('SRID=4674;POINT (-39.369597 -3.087618)'))) / (select extract(epoch from '2026-08-04 16:52:13'::timestamp) - extract(epoch from '2026-08-04 16:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369647 -3.087763)', '2026-08-04 16:52:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369597 -3.087618)'), GeomFromEWKT('SRID=4674;POINT (-39.369647 -3.087763)'))) / (select extract(epoch from '2026-08-04 16:52:20'::timestamp) - extract(epoch from '2026-08-04 16:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369597 -3.087618)'), GeomFromEWKT('SRID=4674;POINT (-39.369647 -3.087763)'))) / (select extract(epoch from '2026-08-04 16:52:20'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48166, 'SRID=4674;POINT (-39.369706 -3.087914)', '2026-08-04 16:52:27', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369647 -3.087763)'), GeomFromEWKT('SRID=4674;POINT (-39.369706 -3.087914)'))) / (select extract(epoch from '2026-08-04 16:52:27'::timestamp) - extract(epoch from '2026-08-04 16:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369647 -3.087763)'), GeomFromEWKT('SRID=4674;POINT (-39.369706 -3.087914)'))) / (select extract(epoch from '2026-08-04 16:52:27'::timestamp) - extract(epoch from '2026-08-04 16:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369759 -3.088045)', '2026-08-04 16:52:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369706 -3.087914)'), GeomFromEWKT('SRID=4674;POINT (-39.369759 -3.088045)'))) / (select extract(epoch from '2026-08-04 16:52:33'::timestamp) - extract(epoch from '2026-08-04 16:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369706 -3.087914)'), GeomFromEWKT('SRID=4674;POINT (-39.369759 -3.088045)'))) / (select extract(epoch from '2026-08-04 16:52:33'::timestamp) - extract(epoch from '2026-08-04 16:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369814 -3.088182)', '2026-08-04 16:52:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369759 -3.088045)'), GeomFromEWKT('SRID=4674;POINT (-39.369814 -3.088182)'))) / (select extract(epoch from '2026-08-04 16:52:39'::timestamp) - extract(epoch from '2026-08-04 16:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369759 -3.088045)'), GeomFromEWKT('SRID=4674;POINT (-39.369814 -3.088182)'))) / (select extract(epoch from '2026-08-04 16:52:39'::timestamp) - extract(epoch from '2026-08-04 16:52:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369855 -3.088276)', '2026-08-04 16:52:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369814 -3.088182)'), GeomFromEWKT('SRID=4674;POINT (-39.369855 -3.088276)'))) / (select extract(epoch from '2026-08-04 16:52:43'::timestamp) - extract(epoch from '2026-08-04 16:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369814 -3.088182)'), GeomFromEWKT('SRID=4674;POINT (-39.369855 -3.088276)'))) / (select extract(epoch from '2026-08-04 16:52:43'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48166, 'SRID=4674;POINT (-39.369923 -3.088397)', '2026-08-04 16:52:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369855 -3.088276)'), GeomFromEWKT('SRID=4674;POINT (-39.369923 -3.088397)'))) / (select extract(epoch from '2026-08-04 16:52:48'::timestamp) - extract(epoch from '2026-08-04 16:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369855 -3.088276)'), GeomFromEWKT('SRID=4674;POINT (-39.369923 -3.088397)'))) / (select extract(epoch from '2026-08-04 16:52:48'::timestamp) - extract(epoch from '2026-08-04 16:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369984 -3.08855)', '2026-08-04 16:52:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369923 -3.088397)'), GeomFromEWKT('SRID=4674;POINT (-39.369984 -3.08855)'))) / (select extract(epoch from '2026-08-04 16:52:54'::timestamp) - extract(epoch from '2026-08-04 16:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369923 -3.088397)'), GeomFromEWKT('SRID=4674;POINT (-39.369984 -3.08855)'))) / (select extract(epoch from '2026-08-04 16:52:54'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48166, 'SRID=4674;POINT (-39.370076 -3.088727)', '2026-08-04 16:53:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369984 -3.08855)'), GeomFromEWKT('SRID=4674;POINT (-39.370076 -3.088727)'))) / (select extract(epoch from '2026-08-04 16:53:01'::timestamp) - extract(epoch from '2026-08-04 16:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369984 -3.08855)'), GeomFromEWKT('SRID=4674;POINT (-39.370076 -3.088727)'))) / (select extract(epoch from '2026-08-04 16:53:01'::timestamp) - extract(epoch from '2026-08-04 16:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370135 -3.088832)', '2026-08-04 16:53:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370076 -3.088727)'), GeomFromEWKT('SRID=4674;POINT (-39.370135 -3.088832)'))) / (select extract(epoch from '2026-08-04 16:53:06'::timestamp) - extract(epoch from '2026-08-04 16:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370076 -3.088727)'), GeomFromEWKT('SRID=4674;POINT (-39.370135 -3.088832)'))) / (select extract(epoch from '2026-08-04 16:53:06'::timestamp) - extract(epoch from '2026-08-04 16:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370188 -3.08897)', '2026-08-04 16:53:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370135 -3.088832)'), GeomFromEWKT('SRID=4674;POINT (-39.370188 -3.08897)'))) / (select extract(epoch from '2026-08-04 16:53:12'::timestamp) - extract(epoch from '2026-08-04 16:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370135 -3.088832)'), GeomFromEWKT('SRID=4674;POINT (-39.370188 -3.08897)'))) / (select extract(epoch from '2026-08-04 16:53:12'::timestamp) - extract(epoch from '2026-08-04 16:53:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370238 -3.08915)', '2026-08-04 16:53:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370188 -3.08897)'), GeomFromEWKT('SRID=4674;POINT (-39.370238 -3.08915)'))) / (select extract(epoch from '2026-08-04 16:53:19'::timestamp) - extract(epoch from '2026-08-04 16:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370188 -3.08897)'), GeomFromEWKT('SRID=4674;POINT (-39.370238 -3.08915)'))) / (select extract(epoch from '2026-08-04 16:53:19'::timestamp) - extract(epoch from '2026-08-04 16:53: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'), 48166, 'SRID=4674;POINT (-39.370282 -3.089289)', '2026-08-04 16:53:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370238 -3.08915)'), GeomFromEWKT('SRID=4674;POINT (-39.370282 -3.089289)'))) / (select extract(epoch from '2026-08-04 16:53:25'::timestamp) - extract(epoch from '2026-08-04 16:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370238 -3.08915)'), GeomFromEWKT('SRID=4674;POINT (-39.370282 -3.089289)'))) / (select extract(epoch from '2026-08-04 16:53:25'::timestamp) - extract(epoch from '2026-08-04 16:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370339 -3.08946)', '2026-08-04 16:53:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370282 -3.089289)'), GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.08946)'))) / (select extract(epoch from '2026-08-04 16:53:32'::timestamp) - extract(epoch from '2026-08-04 16:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370282 -3.089289)'), GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.08946)'))) / (select extract(epoch from '2026-08-04 16:53:32'::timestamp) - extract(epoch from '2026-08-04 16:53: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'), 48166, 'SRID=4674;POINT (-39.370363 -3.089585)', '2026-08-04 16:53:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.08946)'), GeomFromEWKT('SRID=4674;POINT (-39.370363 -3.089585)'))) / (select extract(epoch from '2026-08-04 16:53:37'::timestamp) - extract(epoch from '2026-08-04 16:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370339 -3.08946)'), GeomFromEWKT('SRID=4674;POINT (-39.370363 -3.089585)'))) / (select extract(epoch from '2026-08-04 16:53:37'::timestamp) - extract(epoch from '2026-08-04 16:53: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'), 48166, 'SRID=4674;POINT (-39.370416 -3.08972)', '2026-08-04 16:53:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370363 -3.089585)'), GeomFromEWKT('SRID=4674;POINT (-39.370416 -3.08972)'))) / (select extract(epoch from '2026-08-04 16:53:42'::timestamp) - extract(epoch from '2026-08-04 16:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370363 -3.089585)'), GeomFromEWKT('SRID=4674;POINT (-39.370416 -3.08972)'))) / (select extract(epoch from '2026-08-04 16:53:42'::timestamp) - extract(epoch from '2026-08-04 16:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370464 -3.089835)', '2026-08-04 16:53:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370416 -3.08972)'), GeomFromEWKT('SRID=4674;POINT (-39.370464 -3.089835)'))) / (select extract(epoch from '2026-08-04 16:53:47'::timestamp) - extract(epoch from '2026-08-04 16:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370416 -3.08972)'), GeomFromEWKT('SRID=4674;POINT (-39.370464 -3.089835)'))) / (select extract(epoch from '2026-08-04 16:53:47'::timestamp) - extract(epoch from '2026-08-04 16:53: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'), 48166, 'SRID=4674;POINT (-39.370508 -3.089919)', '2026-08-04 16:53:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370464 -3.089835)'), GeomFromEWKT('SRID=4674;POINT (-39.370508 -3.089919)'))) / (select extract(epoch from '2026-08-04 16:53:51'::timestamp) - extract(epoch from '2026-08-04 16:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370464 -3.089835)'), GeomFromEWKT('SRID=4674;POINT (-39.370508 -3.089919)'))) / (select extract(epoch from '2026-08-04 16:53:51'::timestamp) - extract(epoch from '2026-08-04 16:53:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370549 -3.09004)', '2026-08-04 16:53:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370508 -3.089919)'), GeomFromEWKT('SRID=4674;POINT (-39.370549 -3.09004)'))) / (select extract(epoch from '2026-08-04 16:53:56'::timestamp) - extract(epoch from '2026-08-04 16:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370508 -3.089919)'), GeomFromEWKT('SRID=4674;POINT (-39.370549 -3.09004)'))) / (select extract(epoch from '2026-08-04 16:53:56'::timestamp) - extract(epoch from '2026-08-04 16:53: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'), 48166, 'SRID=4674;POINT (-39.370561 -3.090145)', '2026-08-04 16:54:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370549 -3.09004)'), GeomFromEWKT('SRID=4674;POINT (-39.370561 -3.090145)'))) / (select extract(epoch from '2026-08-04 16:54:01'::timestamp) - extract(epoch from '2026-08-04 16:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370549 -3.09004)'), GeomFromEWKT('SRID=4674;POINT (-39.370561 -3.090145)'))) / (select extract(epoch from '2026-08-04 16:54:01'::timestamp) - extract(epoch from '2026-08-04 16:53: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'), 48166, 'SRID=4674;POINT (-39.370601 -3.090264)', '2026-08-04 16:54:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370561 -3.090145)'), GeomFromEWKT('SRID=4674;POINT (-39.370601 -3.090264)'))) / (select extract(epoch from '2026-08-04 16:54:06'::timestamp) - extract(epoch from '2026-08-04 16:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370561 -3.090145)'), GeomFromEWKT('SRID=4674;POINT (-39.370601 -3.090264)'))) / (select extract(epoch from '2026-08-04 16:54:06'::timestamp) - extract(epoch from '2026-08-04 16:54: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'), 48166, 'SRID=4674;POINT (-39.370638 -3.090377)', '2026-08-04 16:54:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370601 -3.090264)'), GeomFromEWKT('SRID=4674;POINT (-39.370638 -3.090377)'))) / (select extract(epoch from '2026-08-04 16:54:11'::timestamp) - extract(epoch from '2026-08-04 16:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370601 -3.090264)'), GeomFromEWKT('SRID=4674;POINT (-39.370638 -3.090377)'))) / (select extract(epoch from '2026-08-04 16:54:11'::timestamp) - extract(epoch from '2026-08-04 16:54: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'), 48166, 'SRID=4674;POINT (-39.37067 -3.090548)', '2026-08-04 16:54:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370638 -3.090377)'), GeomFromEWKT('SRID=4674;POINT (-39.37067 -3.090548)'))) / (select extract(epoch from '2026-08-04 16:54:18'::timestamp) - extract(epoch from '2026-08-04 16:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370638 -3.090377)'), GeomFromEWKT('SRID=4674;POINT (-39.37067 -3.090548)'))) / (select extract(epoch from '2026-08-04 16:54:18'::timestamp) - extract(epoch from '2026-08-04 16:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370701 -3.090647)', '2026-08-04 16:54:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37067 -3.090548)'), GeomFromEWKT('SRID=4674;POINT (-39.370701 -3.090647)'))) / (select extract(epoch from '2026-08-04 16:54:22'::timestamp) - extract(epoch from '2026-08-04 16:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37067 -3.090548)'), GeomFromEWKT('SRID=4674;POINT (-39.370701 -3.090647)'))) / (select extract(epoch from '2026-08-04 16:54:22'::timestamp) - extract(epoch from '2026-08-04 16:54: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'), 48166, 'SRID=4674;POINT (-39.370725 -3.090791)', '2026-08-04 16:54:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370701 -3.090647)'), GeomFromEWKT('SRID=4674;POINT (-39.370725 -3.090791)'))) / (select extract(epoch from '2026-08-04 16:54:28'::timestamp) - extract(epoch from '2026-08-04 16:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370701 -3.090647)'), GeomFromEWKT('SRID=4674;POINT (-39.370725 -3.090791)'))) / (select extract(epoch from '2026-08-04 16:54:28'::timestamp) - extract(epoch from '2026-08-04 16:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.37075 -3.090959)', '2026-08-04 16:54:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370725 -3.090791)'), GeomFromEWKT('SRID=4674;POINT (-39.37075 -3.090959)'))) / (select extract(epoch from '2026-08-04 16:54:35'::timestamp) - extract(epoch from '2026-08-04 16:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370725 -3.090791)'), GeomFromEWKT('SRID=4674;POINT (-39.37075 -3.090959)'))) / (select extract(epoch from '2026-08-04 16:54:35'::timestamp) - extract(epoch from '2026-08-04 16:54: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'), 48166, 'SRID=4674;POINT (-39.370793 -3.091097)', '2026-08-04 16:54:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37075 -3.090959)'), GeomFromEWKT('SRID=4674;POINT (-39.370793 -3.091097)'))) / (select extract(epoch from '2026-08-04 16:54:41'::timestamp) - extract(epoch from '2026-08-04 16:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37075 -3.090959)'), GeomFromEWKT('SRID=4674;POINT (-39.370793 -3.091097)'))) / (select extract(epoch from '2026-08-04 16:54:41'::timestamp) - extract(epoch from '2026-08-04 16:54:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.37081 -3.091285)', '2026-08-04 16:54:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370793 -3.091097)'), GeomFromEWKT('SRID=4674;POINT (-39.37081 -3.091285)'))) / (select extract(epoch from '2026-08-04 16:54:49'::timestamp) - extract(epoch from '2026-08-04 16:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370793 -3.091097)'), GeomFromEWKT('SRID=4674;POINT (-39.37081 -3.091285)'))) / (select extract(epoch from '2026-08-04 16:54:49'::timestamp) - extract(epoch from '2026-08-04 16:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370832 -3.091399)', '2026-08-04 16:54:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37081 -3.091285)'), GeomFromEWKT('SRID=4674;POINT (-39.370832 -3.091399)'))) / (select extract(epoch from '2026-08-04 16:54:54'::timestamp) - extract(epoch from '2026-08-04 16:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37081 -3.091285)'), GeomFromEWKT('SRID=4674;POINT (-39.370832 -3.091399)'))) / (select extract(epoch from '2026-08-04 16:54:54'::timestamp) - extract(epoch from '2026-08-04 16:54: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'), 48166, 'SRID=4674;POINT (-39.370854 -3.091546)', '2026-08-04 16:55:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370832 -3.091399)'), GeomFromEWKT('SRID=4674;POINT (-39.370854 -3.091546)'))) / (select extract(epoch from '2026-08-04 16:55:00'::timestamp) - extract(epoch from '2026-08-04 16:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370832 -3.091399)'), GeomFromEWKT('SRID=4674;POINT (-39.370854 -3.091546)'))) / (select extract(epoch from '2026-08-04 16:55:00'::timestamp) - extract(epoch from '2026-08-04 16:54: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'), 48166, 'SRID=4674;POINT (-39.370888 -3.091701)', '2026-08-04 16:55:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370854 -3.091546)'), GeomFromEWKT('SRID=4674;POINT (-39.370888 -3.091701)'))) / (select extract(epoch from '2026-08-04 16:55:06'::timestamp) - extract(epoch from '2026-08-04 16:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370854 -3.091546)'), GeomFromEWKT('SRID=4674;POINT (-39.370888 -3.091701)'))) / (select extract(epoch from '2026-08-04 16:55:06'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48166, 'SRID=4674;POINT (-39.370911 -3.09188)', '2026-08-04 16:55:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370888 -3.091701)'), GeomFromEWKT('SRID=4674;POINT (-39.370911 -3.09188)'))) / (select extract(epoch from '2026-08-04 16:55:13'::timestamp) - extract(epoch from '2026-08-04 16:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370888 -3.091701)'), GeomFromEWKT('SRID=4674;POINT (-39.370911 -3.09188)'))) / (select extract(epoch from '2026-08-04 16:55:13'::timestamp) - extract(epoch from '2026-08-04 16:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370948 -3.092065)', '2026-08-04 16:55:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370911 -3.09188)'), GeomFromEWKT('SRID=4674;POINT (-39.370948 -3.092065)'))) / (select extract(epoch from '2026-08-04 16:55:20'::timestamp) - extract(epoch from '2026-08-04 16:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370911 -3.09188)'), GeomFromEWKT('SRID=4674;POINT (-39.370948 -3.092065)'))) / (select extract(epoch from '2026-08-04 16:55:20'::timestamp) - extract(epoch from '2026-08-04 16:55:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370978 -3.092215)', '2026-08-04 16:55:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370948 -3.092065)'), GeomFromEWKT('SRID=4674;POINT (-39.370978 -3.092215)'))) / (select extract(epoch from '2026-08-04 16:55:26'::timestamp) - extract(epoch from '2026-08-04 16:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370948 -3.092065)'), GeomFromEWKT('SRID=4674;POINT (-39.370978 -3.092215)'))) / (select extract(epoch from '2026-08-04 16:55:26'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48166, 'SRID=4674;POINT (-39.371004 -3.092341)', '2026-08-04 16:55:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370978 -3.092215)'), GeomFromEWKT('SRID=4674;POINT (-39.371004 -3.092341)'))) / (select extract(epoch from '2026-08-04 16:55:31'::timestamp) - extract(epoch from '2026-08-04 16:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370978 -3.092215)'), GeomFromEWKT('SRID=4674;POINT (-39.371004 -3.092341)'))) / (select extract(epoch from '2026-08-04 16:55:31'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48166, 'SRID=4674;POINT (-39.371052 -3.092475)', '2026-08-04 16:55:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371004 -3.092341)'), GeomFromEWKT('SRID=4674;POINT (-39.371052 -3.092475)'))) / (select extract(epoch from '2026-08-04 16:55:36'::timestamp) - extract(epoch from '2026-08-04 16:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371004 -3.092341)'), GeomFromEWKT('SRID=4674;POINT (-39.371052 -3.092475)'))) / (select extract(epoch from '2026-08-04 16:55:36'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48166, 'SRID=4674;POINT (-39.371086 -3.092598)', '2026-08-04 16:55:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371052 -3.092475)'), GeomFromEWKT('SRID=4674;POINT (-39.371086 -3.092598)'))) / (select extract(epoch from '2026-08-04 16:55:41'::timestamp) - extract(epoch from '2026-08-04 16:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371052 -3.092475)'), GeomFromEWKT('SRID=4674;POINT (-39.371086 -3.092598)'))) / (select extract(epoch from '2026-08-04 16:55:41'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48166, 'SRID=4674;POINT (-39.371103 -3.09272)', '2026-08-04 16:55:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371086 -3.092598)'), GeomFromEWKT('SRID=4674;POINT (-39.371103 -3.09272)'))) / (select extract(epoch from '2026-08-04 16:55:46'::timestamp) - extract(epoch from '2026-08-04 16:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371086 -3.092598)'), GeomFromEWKT('SRID=4674;POINT (-39.371103 -3.09272)'))) / (select extract(epoch from '2026-08-04 16:55:46'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48166, 'SRID=4674;POINT (-39.371148 -3.092878)', '2026-08-04 16:55:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371103 -3.09272)'), GeomFromEWKT('SRID=4674;POINT (-39.371148 -3.092878)'))) / (select extract(epoch from '2026-08-04 16:55:53'::timestamp) - extract(epoch from '2026-08-04 16:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371103 -3.09272)'), GeomFromEWKT('SRID=4674;POINT (-39.371148 -3.092878)'))) / (select extract(epoch from '2026-08-04 16:55:53'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48166, 'SRID=4674;POINT (-39.371197 -3.093004)', '2026-08-04 16:55:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371148 -3.092878)'), GeomFromEWKT('SRID=4674;POINT (-39.371197 -3.093004)'))) / (select extract(epoch from '2026-08-04 16:55:58'::timestamp) - extract(epoch from '2026-08-04 16:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371148 -3.092878)'), GeomFromEWKT('SRID=4674;POINT (-39.371197 -3.093004)'))) / (select extract(epoch from '2026-08-04 16:55:58'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48166, 'SRID=4674;POINT (-39.371226 -3.093073)', '2026-08-04 16:56:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371197 -3.093004)'), GeomFromEWKT('SRID=4674;POINT (-39.371226 -3.093073)'))) / (select extract(epoch from '2026-08-04 16:56:01'::timestamp) - extract(epoch from '2026-08-04 16:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371197 -3.093004)'), GeomFromEWKT('SRID=4674;POINT (-39.371226 -3.093073)'))) / (select extract(epoch from '2026-08-04 16:56:01'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48166, 'SRID=4674;POINT (-39.371228 -3.093121)', '2026-08-04 16:56:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371226 -3.093073)'), GeomFromEWKT('SRID=4674;POINT (-39.371228 -3.093121)'))) / (select extract(epoch from '2026-08-04 16:56:03'::timestamp) - extract(epoch from '2026-08-04 16:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371226 -3.093073)'), GeomFromEWKT('SRID=4674;POINT (-39.371228 -3.093121)'))) / (select extract(epoch from '2026-08-04 16:56:03'::timestamp) - extract(epoch from '2026-08-04 16:56:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.371262 -3.093277)', '2026-08-04 16:56:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371228 -3.093121)'), GeomFromEWKT('SRID=4674;POINT (-39.371262 -3.093277)'))) / (select extract(epoch from '2026-08-04 16:56:09'::timestamp) - extract(epoch from '2026-08-04 16:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371228 -3.093121)'), GeomFromEWKT('SRID=4674;POINT (-39.371262 -3.093277)'))) / (select extract(epoch from '2026-08-04 16:56:09'::timestamp) - extract(epoch from '2026-08-04 16:56: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'), 48166, 'SRID=4674;POINT (-39.371292 -3.093419)', '2026-08-04 16:56:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371262 -3.093277)'), GeomFromEWKT('SRID=4674;POINT (-39.371292 -3.093419)'))) / (select extract(epoch from '2026-08-04 16:56:15'::timestamp) - extract(epoch from '2026-08-04 16:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371262 -3.093277)'), GeomFromEWKT('SRID=4674;POINT (-39.371292 -3.093419)'))) / (select extract(epoch from '2026-08-04 16:56:15'::timestamp) - extract(epoch from '2026-08-04 16:56: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'), 48166, 'SRID=4674;POINT (-39.371315 -3.093544)', '2026-08-04 16:56:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371292 -3.093419)'), GeomFromEWKT('SRID=4674;POINT (-39.371315 -3.093544)'))) / (select extract(epoch from '2026-08-04 16:56:20'::timestamp) - extract(epoch from '2026-08-04 16:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371292 -3.093419)'), GeomFromEWKT('SRID=4674;POINT (-39.371315 -3.093544)'))) / (select extract(epoch from '2026-08-04 16:56:20'::timestamp) - extract(epoch from '2026-08-04 16:56: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'), 48166, 'SRID=4674;POINT (-39.371349 -3.093648)', '2026-08-04 16:56:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371315 -3.093544)'), GeomFromEWKT('SRID=4674;POINT (-39.371349 -3.093648)'))) / (select extract(epoch from '2026-08-04 16:56:24'::timestamp) - extract(epoch from '2026-08-04 16:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371315 -3.093544)'), GeomFromEWKT('SRID=4674;POINT (-39.371349 -3.093648)'))) / (select extract(epoch from '2026-08-04 16:56:24'::timestamp) - extract(epoch from '2026-08-04 16:56: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'), 48166, 'SRID=4674;POINT (-39.371354 -3.093669)', '2026-08-04 16:56:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371349 -3.093648)'), GeomFromEWKT('SRID=4674;POINT (-39.371354 -3.093669)'))) / (select extract(epoch from '2026-08-04 16:56:25'::timestamp) - extract(epoch from '2026-08-04 16:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371349 -3.093648)'), GeomFromEWKT('SRID=4674;POINT (-39.371354 -3.093669)'))) / (select extract(epoch from '2026-08-04 16:56:25'::timestamp) - extract(epoch from '2026-08-04 16:56: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'), 48166, 'SRID=4674;POINT (-39.37138 -3.093728)', '2026-08-04 16:56:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371354 -3.093669)'), GeomFromEWKT('SRID=4674;POINT (-39.37138 -3.093728)'))) / (select extract(epoch from '2026-08-04 16:56:28'::timestamp) - extract(epoch from '2026-08-04 16:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371354 -3.093669)'), GeomFromEWKT('SRID=4674;POINT (-39.37138 -3.093728)'))) / (select extract(epoch from '2026-08-04 16:56:28'::timestamp) - extract(epoch from '2026-08-04 16:56:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.371407 -3.093838)', '2026-08-04 16:56:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37138 -3.093728)'), GeomFromEWKT('SRID=4674;POINT (-39.371407 -3.093838)'))) / (select extract(epoch from '2026-08-04 16:56:33'::timestamp) - extract(epoch from '2026-08-04 16:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37138 -3.093728)'), GeomFromEWKT('SRID=4674;POINT (-39.371407 -3.093838)'))) / (select extract(epoch from '2026-08-04 16:56:33'::timestamp) - extract(epoch from '2026-08-04 16:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.371458 -3.093977)', '2026-08-04 16:56:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371407 -3.093838)'), GeomFromEWKT('SRID=4674;POINT (-39.371458 -3.093977)'))) / (select extract(epoch from '2026-08-04 16:56:39'::timestamp) - extract(epoch from '2026-08-04 16:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371407 -3.093838)'), GeomFromEWKT('SRID=4674;POINT (-39.371458 -3.093977)'))) / (select extract(epoch from '2026-08-04 16:56:39'::timestamp) - extract(epoch from '2026-08-04 16:56: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'), 48166, 'SRID=4674;POINT (-39.371484 -3.094153)', '2026-08-04 16:56:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371458 -3.093977)'), GeomFromEWKT('SRID=4674;POINT (-39.371484 -3.094153)'))) / (select extract(epoch from '2026-08-04 16:56:46'::timestamp) - extract(epoch from '2026-08-04 16:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371458 -3.093977)'), GeomFromEWKT('SRID=4674;POINT (-39.371484 -3.094153)'))) / (select extract(epoch from '2026-08-04 16:56:46'::timestamp) - extract(epoch from '2026-08-04 16:56: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'), 48166, 'SRID=4674;POINT (-39.371507 -3.094327)', '2026-08-04 16:56:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371484 -3.094153)'), GeomFromEWKT('SRID=4674;POINT (-39.371507 -3.094327)'))) / (select extract(epoch from '2026-08-04 16:56:53'::timestamp) - extract(epoch from '2026-08-04 16:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371484 -3.094153)'), GeomFromEWKT('SRID=4674;POINT (-39.371507 -3.094327)'))) / (select extract(epoch from '2026-08-04 16:56:53'::timestamp) - extract(epoch from '2026-08-04 16:56: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'), 48166, 'SRID=4674;POINT (-39.371519 -3.094447)', '2026-08-04 16:56:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371507 -3.094327)'), GeomFromEWKT('SRID=4674;POINT (-39.371519 -3.094447)'))) / (select extract(epoch from '2026-08-04 16:56:58'::timestamp) - extract(epoch from '2026-08-04 16:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371507 -3.094327)'), GeomFromEWKT('SRID=4674;POINT (-39.371519 -3.094447)'))) / (select extract(epoch from '2026-08-04 16:56:58'::timestamp) - extract(epoch from '2026-08-04 16:56: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'), 48166, 'SRID=4674;POINT (-39.371532 -3.094584)', '2026-08-04 16:57:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371519 -3.094447)'), GeomFromEWKT('SRID=4674;POINT (-39.371532 -3.094584)'))) / (select extract(epoch from '2026-08-04 16:57:04'::timestamp) - extract(epoch from '2026-08-04 16:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371519 -3.094447)'), GeomFromEWKT('SRID=4674;POINT (-39.371532 -3.094584)'))) / (select extract(epoch from '2026-08-04 16:57:04'::timestamp) - extract(epoch from '2026-08-04 16:56: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'), 48166, 'SRID=4674;POINT (-39.371564 -3.094779)', '2026-08-04 16:57:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371532 -3.094584)'), GeomFromEWKT('SRID=4674;POINT (-39.371564 -3.094779)'))) / (select extract(epoch from '2026-08-04 16:57:12'::timestamp) - extract(epoch from '2026-08-04 16:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371532 -3.094584)'), GeomFromEWKT('SRID=4674;POINT (-39.371564 -3.094779)'))) / (select extract(epoch from '2026-08-04 16:57:12'::timestamp) - extract(epoch from '2026-08-04 16:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.371589 -3.094919)', '2026-08-04 16:57:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371564 -3.094779)'), GeomFromEWKT('SRID=4674;POINT (-39.371589 -3.094919)'))) / (select extract(epoch from '2026-08-04 16:57:18'::timestamp) - extract(epoch from '2026-08-04 16:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371564 -3.094779)'), GeomFromEWKT('SRID=4674;POINT (-39.371589 -3.094919)'))) / (select extract(epoch from '2026-08-04 16:57:18'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48166, 'SRID=4674;POINT (-39.371615 -3.095035)', '2026-08-04 16:57:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371589 -3.094919)'), GeomFromEWKT('SRID=4674;POINT (-39.371615 -3.095035)'))) / (select extract(epoch from '2026-08-04 16:57:23'::timestamp) - extract(epoch from '2026-08-04 16:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371589 -3.094919)'), GeomFromEWKT('SRID=4674;POINT (-39.371615 -3.095035)'))) / (select extract(epoch from '2026-08-04 16:57:23'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48166, 'SRID=4674;POINT (-39.37164 -3.095185)', '2026-08-04 16:57:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371615 -3.095035)'), GeomFromEWKT('SRID=4674;POINT (-39.37164 -3.095185)'))) / (select extract(epoch from '2026-08-04 16:57:29'::timestamp) - extract(epoch from '2026-08-04 16:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371615 -3.095035)'), GeomFromEWKT('SRID=4674;POINT (-39.37164 -3.095185)'))) / (select extract(epoch from '2026-08-04 16:57:29'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48166, 'SRID=4674;POINT (-39.371686 -3.095364)', '2026-08-04 16:57:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37164 -3.095185)'), GeomFromEWKT('SRID=4674;POINT (-39.371686 -3.095364)'))) / (select extract(epoch from '2026-08-04 16:57:36'::timestamp) - extract(epoch from '2026-08-04 16:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37164 -3.095185)'), GeomFromEWKT('SRID=4674;POINT (-39.371686 -3.095364)'))) / (select extract(epoch from '2026-08-04 16:57:36'::timestamp) - extract(epoch from '2026-08-04 16:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.371703 -3.095497)', '2026-08-04 16:57:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371686 -3.095364)'), GeomFromEWKT('SRID=4674;POINT (-39.371703 -3.095497)'))) / (select extract(epoch from '2026-08-04 16:57:41'::timestamp) - extract(epoch from '2026-08-04 16:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371686 -3.095364)'), GeomFromEWKT('SRID=4674;POINT (-39.371703 -3.095497)'))) / (select extract(epoch from '2026-08-04 16:57:41'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48166, 'SRID=4674;POINT (-39.371719 -3.095641)', '2026-08-04 16:57:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371703 -3.095497)'), GeomFromEWKT('SRID=4674;POINT (-39.371719 -3.095641)'))) / (select extract(epoch from '2026-08-04 16:57:47'::timestamp) - extract(epoch from '2026-08-04 16:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371703 -3.095497)'), GeomFromEWKT('SRID=4674;POINT (-39.371719 -3.095641)'))) / (select extract(epoch from '2026-08-04 16:57:47'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48166, 'SRID=4674;POINT (-39.371741 -3.095765)', '2026-08-04 16:57:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371719 -3.095641)'), GeomFromEWKT('SRID=4674;POINT (-39.371741 -3.095765)'))) / (select extract(epoch from '2026-08-04 16:57:52'::timestamp) - extract(epoch from '2026-08-04 16:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371719 -3.095641)'), GeomFromEWKT('SRID=4674;POINT (-39.371741 -3.095765)'))) / (select extract(epoch from '2026-08-04 16:57:52'::timestamp) - extract(epoch from '2026-08-04 16:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.371767 -3.095881)', '2026-08-04 16:57:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371741 -3.095765)'), GeomFromEWKT('SRID=4674;POINT (-39.371767 -3.095881)'))) / (select extract(epoch from '2026-08-04 16:57:57'::timestamp) - extract(epoch from '2026-08-04 16:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371741 -3.095765)'), GeomFromEWKT('SRID=4674;POINT (-39.371767 -3.095881)'))) / (select extract(epoch from '2026-08-04 16:57:57'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48166, 'SRID=4674;POINT (-39.371791 -3.096013)', '2026-08-04 16:58:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371767 -3.095881)'), GeomFromEWKT('SRID=4674;POINT (-39.371791 -3.096013)'))) / (select extract(epoch from '2026-08-04 16:58:02'::timestamp) - extract(epoch from '2026-08-04 16:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371767 -3.095881)'), GeomFromEWKT('SRID=4674;POINT (-39.371791 -3.096013)'))) / (select extract(epoch from '2026-08-04 16:58:02'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48166, 'SRID=4674;POINT (-39.371828 -3.096145)', '2026-08-04 16:58:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371791 -3.096013)'), GeomFromEWKT('SRID=4674;POINT (-39.371828 -3.096145)'))) / (select extract(epoch from '2026-08-04 16:58:07'::timestamp) - extract(epoch from '2026-08-04 16:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371791 -3.096013)'), GeomFromEWKT('SRID=4674;POINT (-39.371828 -3.096145)'))) / (select extract(epoch from '2026-08-04 16:58:07'::timestamp) - extract(epoch from '2026-08-04 16:58: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'), 48166, 'SRID=4674;POINT (-39.371864 -3.096299)', '2026-08-04 16:58:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371828 -3.096145)'), GeomFromEWKT('SRID=4674;POINT (-39.371864 -3.096299)'))) / (select extract(epoch from '2026-08-04 16:58:13'::timestamp) - extract(epoch from '2026-08-04 16:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371828 -3.096145)'), GeomFromEWKT('SRID=4674;POINT (-39.371864 -3.096299)'))) / (select extract(epoch from '2026-08-04 16:58:13'::timestamp) - extract(epoch from '2026-08-04 16:58: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'), 48166, 'SRID=4674;POINT (-39.371917 -3.096422)', '2026-08-04 16:58:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371864 -3.096299)'), GeomFromEWKT('SRID=4674;POINT (-39.371917 -3.096422)'))) / (select extract(epoch from '2026-08-04 16:58:18'::timestamp) - extract(epoch from '2026-08-04 16:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371864 -3.096299)'), GeomFromEWKT('SRID=4674;POINT (-39.371917 -3.096422)'))) / (select extract(epoch from '2026-08-04 16:58:18'::timestamp) - extract(epoch from '2026-08-04 16:58: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'), 48166, 'SRID=4674;POINT (-39.371936 -3.096528)', '2026-08-04 16:58:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371917 -3.096422)'), GeomFromEWKT('SRID=4674;POINT (-39.371936 -3.096528)'))) / (select extract(epoch from '2026-08-04 16:58:23'::timestamp) - extract(epoch from '2026-08-04 16:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371917 -3.096422)'), GeomFromEWKT('SRID=4674;POINT (-39.371936 -3.096528)'))) / (select extract(epoch from '2026-08-04 16:58:23'::timestamp) - extract(epoch from '2026-08-04 16:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.371972 -3.096643)', '2026-08-04 16:58:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371936 -3.096528)'), GeomFromEWKT('SRID=4674;POINT (-39.371972 -3.096643)'))) / (select extract(epoch from '2026-08-04 16:58:28'::timestamp) - extract(epoch from '2026-08-04 16:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371936 -3.096528)'), GeomFromEWKT('SRID=4674;POINT (-39.371972 -3.096643)'))) / (select extract(epoch from '2026-08-04 16:58:28'::timestamp) - extract(epoch from '2026-08-04 16:58: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'), 48166, 'SRID=4674;POINT (-39.371996 -3.096771)', '2026-08-04 16:58:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371972 -3.096643)'), GeomFromEWKT('SRID=4674;POINT (-39.371996 -3.096771)'))) / (select extract(epoch from '2026-08-04 16:58:33'::timestamp) - extract(epoch from '2026-08-04 16:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371972 -3.096643)'), GeomFromEWKT('SRID=4674;POINT (-39.371996 -3.096771)'))) / (select extract(epoch from '2026-08-04 16:58:33'::timestamp) - extract(epoch from '2026-08-04 16:58: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'), 48166, 'SRID=4674;POINT (-39.372035 -3.096912)', '2026-08-04 16:58:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371996 -3.096771)'), GeomFromEWKT('SRID=4674;POINT (-39.372035 -3.096912)'))) / (select extract(epoch from '2026-08-04 16:58:39'::timestamp) - extract(epoch from '2026-08-04 16:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371996 -3.096771)'), GeomFromEWKT('SRID=4674;POINT (-39.372035 -3.096912)'))) / (select extract(epoch from '2026-08-04 16:58:39'::timestamp) - extract(epoch from '2026-08-04 16:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372041 -3.096935)', '2026-08-04 16:58:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372035 -3.096912)'), GeomFromEWKT('SRID=4674;POINT (-39.372041 -3.096935)'))) / (select extract(epoch from '2026-08-04 16:58:40'::timestamp) - extract(epoch from '2026-08-04 16:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372035 -3.096912)'), GeomFromEWKT('SRID=4674;POINT (-39.372041 -3.096935)'))) / (select extract(epoch from '2026-08-04 16:58:40'::timestamp) - extract(epoch from '2026-08-04 16:58: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'), 48166, 'SRID=4674;POINT (-39.372047 -3.097008)', '2026-08-04 16:58:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372041 -3.096935)'), GeomFromEWKT('SRID=4674;POINT (-39.372047 -3.097008)'))) / (select extract(epoch from '2026-08-04 16:58:43'::timestamp) - extract(epoch from '2026-08-04 16:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372041 -3.096935)'), GeomFromEWKT('SRID=4674;POINT (-39.372047 -3.097008)'))) / (select extract(epoch from '2026-08-04 16:58:43'::timestamp) - extract(epoch from '2026-08-04 16:58: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'), 48166, 'SRID=4674;POINT (-39.372072 -3.097131)', '2026-08-04 16:58:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372047 -3.097008)'), GeomFromEWKT('SRID=4674;POINT (-39.372072 -3.097131)'))) / (select extract(epoch from '2026-08-04 16:58:48'::timestamp) - extract(epoch from '2026-08-04 16:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372047 -3.097008)'), GeomFromEWKT('SRID=4674;POINT (-39.372072 -3.097131)'))) / (select extract(epoch from '2026-08-04 16:58:48'::timestamp) - extract(epoch from '2026-08-04 16:58: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'), 48166, 'SRID=4674;POINT (-39.372097 -3.09728)', '2026-08-04 16:58:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372072 -3.097131)'), GeomFromEWKT('SRID=4674;POINT (-39.372097 -3.09728)'))) / (select extract(epoch from '2026-08-04 16:58:54'::timestamp) - extract(epoch from '2026-08-04 16:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372072 -3.097131)'), GeomFromEWKT('SRID=4674;POINT (-39.372097 -3.09728)'))) / (select extract(epoch from '2026-08-04 16:58:54'::timestamp) - extract(epoch from '2026-08-04 16:58: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'), 48166, 'SRID=4674;POINT (-39.372124 -3.097405)', '2026-08-04 16:58:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372097 -3.09728)'), GeomFromEWKT('SRID=4674;POINT (-39.372124 -3.097405)'))) / (select extract(epoch from '2026-08-04 16:58:59'::timestamp) - extract(epoch from '2026-08-04 16:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372097 -3.09728)'), GeomFromEWKT('SRID=4674;POINT (-39.372124 -3.097405)'))) / (select extract(epoch from '2026-08-04 16:58:59'::timestamp) - extract(epoch from '2026-08-04 16:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372142 -3.097542)', '2026-08-04 16:59:05', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372124 -3.097405)'), GeomFromEWKT('SRID=4674;POINT (-39.372142 -3.097542)'))) / (select extract(epoch from '2026-08-04 16:59:05'::timestamp) - extract(epoch from '2026-08-04 16:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372124 -3.097405)'), GeomFromEWKT('SRID=4674;POINT (-39.372142 -3.097542)'))) / (select extract(epoch from '2026-08-04 16:59:05'::timestamp) - extract(epoch from '2026-08-04 16:58: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'), 48166, 'SRID=4674;POINT (-39.372167 -3.097674)', '2026-08-04 16:59:10', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372142 -3.097542)'), GeomFromEWKT('SRID=4674;POINT (-39.372167 -3.097674)'))) / (select extract(epoch from '2026-08-04 16:59:10'::timestamp) - extract(epoch from '2026-08-04 16:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372142 -3.097542)'), GeomFromEWKT('SRID=4674;POINT (-39.372167 -3.097674)'))) / (select extract(epoch from '2026-08-04 16:59:10'::timestamp) - extract(epoch from '2026-08-04 16:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372201 -3.097821)', '2026-08-04 16:59:16', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372167 -3.097674)'), GeomFromEWKT('SRID=4674;POINT (-39.372201 -3.097821)'))) / (select extract(epoch from '2026-08-04 16:59:16'::timestamp) - extract(epoch from '2026-08-04 16:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372167 -3.097674)'), GeomFromEWKT('SRID=4674;POINT (-39.372201 -3.097821)'))) / (select extract(epoch from '2026-08-04 16:59:16'::timestamp) - extract(epoch from '2026-08-04 16:59: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'), 48166, 'SRID=4674;POINT (-39.372233 -3.097952)', '2026-08-04 16:59:21', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372201 -3.097821)'), GeomFromEWKT('SRID=4674;POINT (-39.372233 -3.097952)'))) / (select extract(epoch from '2026-08-04 16:59:21'::timestamp) - extract(epoch from '2026-08-04 16:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372201 -3.097821)'), GeomFromEWKT('SRID=4674;POINT (-39.372233 -3.097952)'))) / (select extract(epoch from '2026-08-04 16:59:21'::timestamp) - extract(epoch from '2026-08-04 16:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372279 -3.098064)', '2026-08-04 16:59:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372233 -3.097952)'), GeomFromEWKT('SRID=4674;POINT (-39.372279 -3.098064)'))) / (select extract(epoch from '2026-08-04 16:59:26'::timestamp) - extract(epoch from '2026-08-04 16:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372233 -3.097952)'), GeomFromEWKT('SRID=4674;POINT (-39.372279 -3.098064)'))) / (select extract(epoch from '2026-08-04 16:59:26'::timestamp) - extract(epoch from '2026-08-04 16:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372318 -3.098225)', '2026-08-04 16:59:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372279 -3.098064)'), GeomFromEWKT('SRID=4674;POINT (-39.372318 -3.098225)'))) / (select extract(epoch from '2026-08-04 16:59:32'::timestamp) - extract(epoch from '2026-08-04 16:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372279 -3.098064)'), GeomFromEWKT('SRID=4674;POINT (-39.372318 -3.098225)'))) / (select extract(epoch from '2026-08-04 16:59:32'::timestamp) - extract(epoch from '2026-08-04 16:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372351 -3.098373)', '2026-08-04 16:59:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372318 -3.098225)'), GeomFromEWKT('SRID=4674;POINT (-39.372351 -3.098373)'))) / (select extract(epoch from '2026-08-04 16:59:38'::timestamp) - extract(epoch from '2026-08-04 16:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372318 -3.098225)'), GeomFromEWKT('SRID=4674;POINT (-39.372351 -3.098373)'))) / (select extract(epoch from '2026-08-04 16:59:38'::timestamp) - extract(epoch from '2026-08-04 16:59: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'), 48166, 'SRID=4674;POINT (-39.37239 -3.098544)', '2026-08-04 16:59:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372351 -3.098373)'), GeomFromEWKT('SRID=4674;POINT (-39.37239 -3.098544)'))) / (select extract(epoch from '2026-08-04 16:59:45'::timestamp) - extract(epoch from '2026-08-04 16:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372351 -3.098373)'), GeomFromEWKT('SRID=4674;POINT (-39.37239 -3.098544)'))) / (select extract(epoch from '2026-08-04 16:59:45'::timestamp) - extract(epoch from '2026-08-04 16:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372434 -3.098687)', '2026-08-04 16:59:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37239 -3.098544)'), GeomFromEWKT('SRID=4674;POINT (-39.372434 -3.098687)'))) / (select extract(epoch from '2026-08-04 16:59:51'::timestamp) - extract(epoch from '2026-08-04 16:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37239 -3.098544)'), GeomFromEWKT('SRID=4674;POINT (-39.372434 -3.098687)'))) / (select extract(epoch from '2026-08-04 16:59:51'::timestamp) - extract(epoch from '2026-08-04 16:59: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'), 48166, 'SRID=4674;POINT (-39.372464 -3.098863)', '2026-08-04 16:59:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372434 -3.098687)'), GeomFromEWKT('SRID=4674;POINT (-39.372464 -3.098863)'))) / (select extract(epoch from '2026-08-04 16:59:58'::timestamp) - extract(epoch from '2026-08-04 16:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372434 -3.098687)'), GeomFromEWKT('SRID=4674;POINT (-39.372464 -3.098863)'))) / (select extract(epoch from '2026-08-04 16:59:58'::timestamp) - extract(epoch from '2026-08-04 16:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372517 -3.099034)', '2026-08-04 17:00:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372464 -3.098863)'), GeomFromEWKT('SRID=4674;POINT (-39.372517 -3.099034)'))) / (select extract(epoch from '2026-08-04 17:00:05'::timestamp) - extract(epoch from '2026-08-04 16:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372464 -3.098863)'), GeomFromEWKT('SRID=4674;POINT (-39.372517 -3.099034)'))) / (select extract(epoch from '2026-08-04 17:00:05'::timestamp) - extract(epoch from '2026-08-04 16:59: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'), 48166, 'SRID=4674;POINT (-39.37256 -3.09918)', '2026-08-04 17:00:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372517 -3.099034)'), GeomFromEWKT('SRID=4674;POINT (-39.37256 -3.09918)'))) / (select extract(epoch from '2026-08-04 17:00:11'::timestamp) - extract(epoch from '2026-08-04 17:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372517 -3.099034)'), GeomFromEWKT('SRID=4674;POINT (-39.37256 -3.09918)'))) / (select extract(epoch from '2026-08-04 17:00:11'::timestamp) - extract(epoch from '2026-08-04 17:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372584 -3.099309)', '2026-08-04 17:00:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37256 -3.09918)'), GeomFromEWKT('SRID=4674;POINT (-39.372584 -3.099309)'))) / (select extract(epoch from '2026-08-04 17:00:16'::timestamp) - extract(epoch from '2026-08-04 17:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37256 -3.09918)'), GeomFromEWKT('SRID=4674;POINT (-39.372584 -3.099309)'))) / (select extract(epoch from '2026-08-04 17:00:16'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48166, 'SRID=4674;POINT (-39.372617 -3.099447)', '2026-08-04 17:00:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372584 -3.099309)'), GeomFromEWKT('SRID=4674;POINT (-39.372617 -3.099447)'))) / (select extract(epoch from '2026-08-04 17:00:22'::timestamp) - extract(epoch from '2026-08-04 17:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372584 -3.099309)'), GeomFromEWKT('SRID=4674;POINT (-39.372617 -3.099447)'))) / (select extract(epoch from '2026-08-04 17:00:22'::timestamp) - extract(epoch from '2026-08-04 17:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372645 -3.099604)', '2026-08-04 17:00:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372617 -3.099447)'), GeomFromEWKT('SRID=4674;POINT (-39.372645 -3.099604)'))) / (select extract(epoch from '2026-08-04 17:00:28'::timestamp) - extract(epoch from '2026-08-04 17:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372617 -3.099447)'), GeomFromEWKT('SRID=4674;POINT (-39.372645 -3.099604)'))) / (select extract(epoch from '2026-08-04 17:00:28'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48166, 'SRID=4674;POINT (-39.372673 -3.099746)', '2026-08-04 17:00:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372645 -3.099604)'), GeomFromEWKT('SRID=4674;POINT (-39.372673 -3.099746)'))) / (select extract(epoch from '2026-08-04 17:00:34'::timestamp) - extract(epoch from '2026-08-04 17:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372645 -3.099604)'), GeomFromEWKT('SRID=4674;POINT (-39.372673 -3.099746)'))) / (select extract(epoch from '2026-08-04 17:00:34'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48166, 'SRID=4674;POINT (-39.372687 -3.099867)', '2026-08-04 17:00:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372673 -3.099746)'), GeomFromEWKT('SRID=4674;POINT (-39.372687 -3.099867)'))) / (select extract(epoch from '2026-08-04 17:00:39'::timestamp) - extract(epoch from '2026-08-04 17:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372673 -3.099746)'), GeomFromEWKT('SRID=4674;POINT (-39.372687 -3.099867)'))) / (select extract(epoch from '2026-08-04 17:00:39'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48166, 'SRID=4674;POINT (-39.37271 -3.099986)', '2026-08-04 17:00:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372687 -3.099867)'), GeomFromEWKT('SRID=4674;POINT (-39.37271 -3.099986)'))) / (select extract(epoch from '2026-08-04 17:00:44'::timestamp) - extract(epoch from '2026-08-04 17:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372687 -3.099867)'), GeomFromEWKT('SRID=4674;POINT (-39.37271 -3.099986)'))) / (select extract(epoch from '2026-08-04 17:00:44'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48166, 'SRID=4674;POINT (-39.37274 -3.100153)', '2026-08-04 17:00:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37271 -3.099986)'), GeomFromEWKT('SRID=4674;POINT (-39.37274 -3.100153)'))) / (select extract(epoch from '2026-08-04 17:00:51'::timestamp) - extract(epoch from '2026-08-04 17:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37271 -3.099986)'), GeomFromEWKT('SRID=4674;POINT (-39.37274 -3.100153)'))) / (select extract(epoch from '2026-08-04 17:00:51'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48166, 'SRID=4674;POINT (-39.372782 -3.1003)', '2026-08-04 17:00:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37274 -3.100153)'), GeomFromEWKT('SRID=4674;POINT (-39.372782 -3.1003)'))) / (select extract(epoch from '2026-08-04 17:00:57'::timestamp) - extract(epoch from '2026-08-04 17:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37274 -3.100153)'), GeomFromEWKT('SRID=4674;POINT (-39.372782 -3.1003)'))) / (select extract(epoch from '2026-08-04 17:00:57'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48166, 'SRID=4674;POINT (-39.372824 -3.100422)', '2026-08-04 17:01:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372782 -3.1003)'), GeomFromEWKT('SRID=4674;POINT (-39.372824 -3.100422)'))) / (select extract(epoch from '2026-08-04 17:01:02'::timestamp) - extract(epoch from '2026-08-04 17:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372782 -3.1003)'), GeomFromEWKT('SRID=4674;POINT (-39.372824 -3.100422)'))) / (select extract(epoch from '2026-08-04 17:01:02'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48166, 'SRID=4674;POINT (-39.372859 -3.100559)', '2026-08-04 17:01:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372824 -3.100422)'), GeomFromEWKT('SRID=4674;POINT (-39.372859 -3.100559)'))) / (select extract(epoch from '2026-08-04 17:01:08'::timestamp) - extract(epoch from '2026-08-04 17:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372824 -3.100422)'), GeomFromEWKT('SRID=4674;POINT (-39.372859 -3.100559)'))) / (select extract(epoch from '2026-08-04 17:01:08'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48166, 'SRID=4674;POINT (-39.372888 -3.100734)', '2026-08-04 17:01:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372859 -3.100559)'), GeomFromEWKT('SRID=4674;POINT (-39.372888 -3.100734)'))) / (select extract(epoch from '2026-08-04 17:01:15'::timestamp) - extract(epoch from '2026-08-04 17:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372859 -3.100559)'), GeomFromEWKT('SRID=4674;POINT (-39.372888 -3.100734)'))) / (select extract(epoch from '2026-08-04 17:01:15'::timestamp) - extract(epoch from '2026-08-04 17:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372913 -3.100856)', '2026-08-04 17:01:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372888 -3.100734)'), GeomFromEWKT('SRID=4674;POINT (-39.372913 -3.100856)'))) / (select extract(epoch from '2026-08-04 17:01:20'::timestamp) - extract(epoch from '2026-08-04 17:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372888 -3.100734)'), GeomFromEWKT('SRID=4674;POINT (-39.372913 -3.100856)'))) / (select extract(epoch from '2026-08-04 17:01:20'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48166, 'SRID=4674;POINT (-39.372933 -3.10095)', '2026-08-04 17:01:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372913 -3.100856)'), GeomFromEWKT('SRID=4674;POINT (-39.372933 -3.10095)'))) / (select extract(epoch from '2026-08-04 17:01:24'::timestamp) - extract(epoch from '2026-08-04 17:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372913 -3.100856)'), GeomFromEWKT('SRID=4674;POINT (-39.372933 -3.10095)'))) / (select extract(epoch from '2026-08-04 17:01:24'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48166, 'SRID=4674;POINT (-39.372974 -3.101114)', '2026-08-04 17:01:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372933 -3.10095)'), GeomFromEWKT('SRID=4674;POINT (-39.372974 -3.101114)'))) / (select extract(epoch from '2026-08-04 17:01:31'::timestamp) - extract(epoch from '2026-08-04 17:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372933 -3.10095)'), GeomFromEWKT('SRID=4674;POINT (-39.372974 -3.101114)'))) / (select extract(epoch from '2026-08-04 17:01:31'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48166, 'SRID=4674;POINT (-39.373012 -3.101238)', '2026-08-04 17:01:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372974 -3.101114)'), GeomFromEWKT('SRID=4674;POINT (-39.373012 -3.101238)'))) / (select extract(epoch from '2026-08-04 17:01:36'::timestamp) - extract(epoch from '2026-08-04 17:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372974 -3.101114)'), GeomFromEWKT('SRID=4674;POINT (-39.373012 -3.101238)'))) / (select extract(epoch from '2026-08-04 17:01:36'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48166, 'SRID=4674;POINT (-39.373053 -3.101377)', '2026-08-04 17:01:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373012 -3.101238)'), GeomFromEWKT('SRID=4674;POINT (-39.373053 -3.101377)'))) / (select extract(epoch from '2026-08-04 17:01:42'::timestamp) - extract(epoch from '2026-08-04 17:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373012 -3.101238)'), GeomFromEWKT('SRID=4674;POINT (-39.373053 -3.101377)'))) / (select extract(epoch from '2026-08-04 17:01:42'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48166, 'SRID=4674;POINT (-39.373079 -3.101496)', '2026-08-04 17:01:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373053 -3.101377)'), GeomFromEWKT('SRID=4674;POINT (-39.373079 -3.101496)'))) / (select extract(epoch from '2026-08-04 17:01:47'::timestamp) - extract(epoch from '2026-08-04 17:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373053 -3.101377)'), GeomFromEWKT('SRID=4674;POINT (-39.373079 -3.101496)'))) / (select extract(epoch from '2026-08-04 17:01:47'::timestamp) - extract(epoch from '2026-08-04 17:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3731 -3.101586)', '2026-08-04 17:01:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373079 -3.101496)'), GeomFromEWKT('SRID=4674;POINT (-39.3731 -3.101586)'))) / (select extract(epoch from '2026-08-04 17:01:51'::timestamp) - extract(epoch from '2026-08-04 17:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373079 -3.101496)'), GeomFromEWKT('SRID=4674;POINT (-39.3731 -3.101586)'))) / (select extract(epoch from '2026-08-04 17:01:51'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48166, 'SRID=4674;POINT (-39.373137 -3.101695)', '2026-08-04 17:01:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3731 -3.101586)'), GeomFromEWKT('SRID=4674;POINT (-39.373137 -3.101695)'))) / (select extract(epoch from '2026-08-04 17:01:56'::timestamp) - extract(epoch from '2026-08-04 17:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3731 -3.101586)'), GeomFromEWKT('SRID=4674;POINT (-39.373137 -3.101695)'))) / (select extract(epoch from '2026-08-04 17:01:56'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48166, 'SRID=4674;POINT (-39.373184 -3.101806)', '2026-08-04 17:02:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373137 -3.101695)'), GeomFromEWKT('SRID=4674;POINT (-39.373184 -3.101806)'))) / (select extract(epoch from '2026-08-04 17:02:01'::timestamp) - extract(epoch from '2026-08-04 17:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373137 -3.101695)'), GeomFromEWKT('SRID=4674;POINT (-39.373184 -3.101806)'))) / (select extract(epoch from '2026-08-04 17:02:01'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48166, 'SRID=4674;POINT (-39.373216 -3.101902)', '2026-08-04 17:02:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373184 -3.101806)'), GeomFromEWKT('SRID=4674;POINT (-39.373216 -3.101902)'))) / (select extract(epoch from '2026-08-04 17:02:06'::timestamp) - extract(epoch from '2026-08-04 17:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373184 -3.101806)'), GeomFromEWKT('SRID=4674;POINT (-39.373216 -3.101902)'))) / (select extract(epoch from '2026-08-04 17:02:06'::timestamp) - extract(epoch from '2026-08-04 17:02: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'), 48166, 'SRID=4674;POINT (-39.373257 -3.102068)', '2026-08-04 17:02:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373216 -3.101902)'), GeomFromEWKT('SRID=4674;POINT (-39.373257 -3.102068)'))) / (select extract(epoch from '2026-08-04 17:02:13'::timestamp) - extract(epoch from '2026-08-04 17:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373216 -3.101902)'), GeomFromEWKT('SRID=4674;POINT (-39.373257 -3.102068)'))) / (select extract(epoch from '2026-08-04 17:02:13'::timestamp) - extract(epoch from '2026-08-04 17:02: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'), 48166, 'SRID=4674;POINT (-39.373297 -3.102185)', '2026-08-04 17:02:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373257 -3.102068)'), GeomFromEWKT('SRID=4674;POINT (-39.373297 -3.102185)'))) / (select extract(epoch from '2026-08-04 17:02:18'::timestamp) - extract(epoch from '2026-08-04 17:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373257 -3.102068)'), GeomFromEWKT('SRID=4674;POINT (-39.373297 -3.102185)'))) / (select extract(epoch from '2026-08-04 17:02:18'::timestamp) - extract(epoch from '2026-08-04 17:02: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'), 48166, 'SRID=4674;POINT (-39.373316 -3.102262)', '2026-08-04 17:02:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373297 -3.102185)'), GeomFromEWKT('SRID=4674;POINT (-39.373316 -3.102262)'))) / (select extract(epoch from '2026-08-04 17:02:22'::timestamp) - extract(epoch from '2026-08-04 17:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373297 -3.102185)'), GeomFromEWKT('SRID=4674;POINT (-39.373316 -3.102262)'))) / (select extract(epoch from '2026-08-04 17:02:22'::timestamp) - extract(epoch from '2026-08-04 17:02: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'), 48166, 'SRID=4674;POINT (-39.373339 -3.102361)', '2026-08-04 17:02:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373316 -3.102262)'), GeomFromEWKT('SRID=4674;POINT (-39.373339 -3.102361)'))) / (select extract(epoch from '2026-08-04 17:02:27'::timestamp) - extract(epoch from '2026-08-04 17:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373316 -3.102262)'), GeomFromEWKT('SRID=4674;POINT (-39.373339 -3.102361)'))) / (select extract(epoch from '2026-08-04 17:02:27'::timestamp) - extract(epoch from '2026-08-04 17:02: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'), 48166, 'SRID=4674;POINT (-39.373364 -3.102505)', '2026-08-04 17:02:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373339 -3.102361)'), GeomFromEWKT('SRID=4674;POINT (-39.373364 -3.102505)'))) / (select extract(epoch from '2026-08-04 17:02:33'::timestamp) - extract(epoch from '2026-08-04 17:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373339 -3.102361)'), GeomFromEWKT('SRID=4674;POINT (-39.373364 -3.102505)'))) / (select extract(epoch from '2026-08-04 17:02:33'::timestamp) - extract(epoch from '2026-08-04 17:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3734 -3.10262)', '2026-08-04 17:02:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373364 -3.102505)'), GeomFromEWKT('SRID=4674;POINT (-39.3734 -3.10262)'))) / (select extract(epoch from '2026-08-04 17:02:38'::timestamp) - extract(epoch from '2026-08-04 17:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373364 -3.102505)'), GeomFromEWKT('SRID=4674;POINT (-39.3734 -3.10262)'))) / (select extract(epoch from '2026-08-04 17:02:38'::timestamp) - extract(epoch from '2026-08-04 17:02:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.37344 -3.102763)', '2026-08-04 17:02:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3734 -3.10262)'), GeomFromEWKT('SRID=4674;POINT (-39.37344 -3.102763)'))) / (select extract(epoch from '2026-08-04 17:02:44'::timestamp) - extract(epoch from '2026-08-04 17:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3734 -3.10262)'), GeomFromEWKT('SRID=4674;POINT (-39.37344 -3.102763)'))) / (select extract(epoch from '2026-08-04 17:02:44'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.373479 -3.10291)', '2026-08-04 17:02:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37344 -3.102763)'), GeomFromEWKT('SRID=4674;POINT (-39.373479 -3.10291)'))) / (select extract(epoch from '2026-08-04 17:02:50'::timestamp) - extract(epoch from '2026-08-04 17:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37344 -3.102763)'), GeomFromEWKT('SRID=4674;POINT (-39.373479 -3.10291)'))) / (select extract(epoch from '2026-08-04 17:02:50'::timestamp) - extract(epoch from '2026-08-04 17:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.373512 -3.103041)', '2026-08-04 17:02:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373479 -3.10291)'), GeomFromEWKT('SRID=4674;POINT (-39.373512 -3.103041)'))) / (select extract(epoch from '2026-08-04 17:02:56'::timestamp) - extract(epoch from '2026-08-04 17:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373479 -3.10291)'), GeomFromEWKT('SRID=4674;POINT (-39.373512 -3.103041)'))) / (select extract(epoch from '2026-08-04 17:02:56'::timestamp) - extract(epoch from '2026-08-04 17:02: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'), 48166, 'SRID=4674;POINT (-39.373544 -3.103174)', '2026-08-04 17:03:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373512 -3.103041)'), GeomFromEWKT('SRID=4674;POINT (-39.373544 -3.103174)'))) / (select extract(epoch from '2026-08-04 17:03:02'::timestamp) - extract(epoch from '2026-08-04 17:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373512 -3.103041)'), GeomFromEWKT('SRID=4674;POINT (-39.373544 -3.103174)'))) / (select extract(epoch from '2026-08-04 17:03:02'::timestamp) - extract(epoch from '2026-08-04 17:02: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'), 48166, 'SRID=4674;POINT (-39.373582 -3.103305)', '2026-08-04 17:03:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373544 -3.103174)'), GeomFromEWKT('SRID=4674;POINT (-39.373582 -3.103305)'))) / (select extract(epoch from '2026-08-04 17:03:08'::timestamp) - extract(epoch from '2026-08-04 17:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373544 -3.103174)'), GeomFromEWKT('SRID=4674;POINT (-39.373582 -3.103305)'))) / (select extract(epoch from '2026-08-04 17:03:08'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.373627 -3.10342)', '2026-08-04 17:03:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373582 -3.103305)'), GeomFromEWKT('SRID=4674;POINT (-39.373627 -3.10342)'))) / (select extract(epoch from '2026-08-04 17:03:13'::timestamp) - extract(epoch from '2026-08-04 17:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373582 -3.103305)'), GeomFromEWKT('SRID=4674;POINT (-39.373627 -3.10342)'))) / (select extract(epoch from '2026-08-04 17:03:13'::timestamp) - extract(epoch from '2026-08-04 17:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.373659 -3.103537)', '2026-08-04 17:03:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373627 -3.10342)'), GeomFromEWKT('SRID=4674;POINT (-39.373659 -3.103537)'))) / (select extract(epoch from '2026-08-04 17:03:18'::timestamp) - extract(epoch from '2026-08-04 17:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373627 -3.10342)'), GeomFromEWKT('SRID=4674;POINT (-39.373659 -3.103537)'))) / (select extract(epoch from '2026-08-04 17:03:18'::timestamp) - extract(epoch from '2026-08-04 17:03: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'), 48166, 'SRID=4674;POINT (-39.373674 -3.103625)', '2026-08-04 17:03:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373659 -3.103537)'), GeomFromEWKT('SRID=4674;POINT (-39.373674 -3.103625)'))) / (select extract(epoch from '2026-08-04 17:03:22'::timestamp) - extract(epoch from '2026-08-04 17:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373659 -3.103537)'), GeomFromEWKT('SRID=4674;POINT (-39.373674 -3.103625)'))) / (select extract(epoch from '2026-08-04 17:03:22'::timestamp) - extract(epoch from '2026-08-04 17:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.373709 -3.103717)', '2026-08-04 17:03:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373674 -3.103625)'), GeomFromEWKT('SRID=4674;POINT (-39.373709 -3.103717)'))) / (select extract(epoch from '2026-08-04 17:03:26'::timestamp) - extract(epoch from '2026-08-04 17:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373674 -3.103625)'), GeomFromEWKT('SRID=4674;POINT (-39.373709 -3.103717)'))) / (select extract(epoch from '2026-08-04 17:03:26'::timestamp) - extract(epoch from '2026-08-04 17:03: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'), 48166, 'SRID=4674;POINT (-39.373735 -3.10383)', '2026-08-04 17:03:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373709 -3.103717)'), GeomFromEWKT('SRID=4674;POINT (-39.373735 -3.10383)'))) / (select extract(epoch from '2026-08-04 17:03:31'::timestamp) - extract(epoch from '2026-08-04 17:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373709 -3.103717)'), GeomFromEWKT('SRID=4674;POINT (-39.373735 -3.10383)'))) / (select extract(epoch from '2026-08-04 17:03:31'::timestamp) - extract(epoch from '2026-08-04 17:03: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'), 48166, 'SRID=4674;POINT (-39.37377 -3.103976)', '2026-08-04 17:03:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373735 -3.10383)'), GeomFromEWKT('SRID=4674;POINT (-39.37377 -3.103976)'))) / (select extract(epoch from '2026-08-04 17:03:37'::timestamp) - extract(epoch from '2026-08-04 17:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373735 -3.10383)'), GeomFromEWKT('SRID=4674;POINT (-39.37377 -3.103976)'))) / (select extract(epoch from '2026-08-04 17:03:37'::timestamp) - extract(epoch from '2026-08-04 17:03: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'), 48166, 'SRID=4674;POINT (-39.373805 -3.104068)', '2026-08-04 17:03:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37377 -3.103976)'), GeomFromEWKT('SRID=4674;POINT (-39.373805 -3.104068)'))) / (select extract(epoch from '2026-08-04 17:03:41'::timestamp) - extract(epoch from '2026-08-04 17:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37377 -3.103976)'), GeomFromEWKT('SRID=4674;POINT (-39.373805 -3.104068)'))) / (select extract(epoch from '2026-08-04 17:03:41'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.37384 -3.104186)', '2026-08-04 17:03:46', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373805 -3.104068)'), GeomFromEWKT('SRID=4674;POINT (-39.37384 -3.104186)'))) / (select extract(epoch from '2026-08-04 17:03:46'::timestamp) - extract(epoch from '2026-08-04 17:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373805 -3.104068)'), GeomFromEWKT('SRID=4674;POINT (-39.37384 -3.104186)'))) / (select extract(epoch from '2026-08-04 17:03:46'::timestamp) - extract(epoch from '2026-08-04 17:03:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.373869 -3.104326)', '2026-08-04 17:03:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37384 -3.104186)'), GeomFromEWKT('SRID=4674;POINT (-39.373869 -3.104326)'))) / (select extract(epoch from '2026-08-04 17:03:52'::timestamp) - extract(epoch from '2026-08-04 17:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37384 -3.104186)'), GeomFromEWKT('SRID=4674;POINT (-39.373869 -3.104326)'))) / (select extract(epoch from '2026-08-04 17:03:52'::timestamp) - extract(epoch from '2026-08-04 17:03: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'), 48166, 'SRID=4674;POINT (-39.373909 -3.104456)', '2026-08-04 17:03:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373869 -3.104326)'), GeomFromEWKT('SRID=4674;POINT (-39.373909 -3.104456)'))) / (select extract(epoch from '2026-08-04 17:03:57'::timestamp) - extract(epoch from '2026-08-04 17:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373869 -3.104326)'), GeomFromEWKT('SRID=4674;POINT (-39.373909 -3.104456)'))) / (select extract(epoch from '2026-08-04 17:03:57'::timestamp) - extract(epoch from '2026-08-04 17:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.37395 -3.104577)', '2026-08-04 17:04:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373909 -3.104456)'), GeomFromEWKT('SRID=4674;POINT (-39.37395 -3.104577)'))) / (select extract(epoch from '2026-08-04 17:04:02'::timestamp) - extract(epoch from '2026-08-04 17:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373909 -3.104456)'), GeomFromEWKT('SRID=4674;POINT (-39.37395 -3.104577)'))) / (select extract(epoch from '2026-08-04 17:04:02'::timestamp) - extract(epoch from '2026-08-04 17:03: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'), 48166, 'SRID=4674;POINT (-39.373979 -3.104713)', '2026-08-04 17:04:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37395 -3.104577)'), GeomFromEWKT('SRID=4674;POINT (-39.373979 -3.104713)'))) / (select extract(epoch from '2026-08-04 17:04:07'::timestamp) - extract(epoch from '2026-08-04 17:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37395 -3.104577)'), GeomFromEWKT('SRID=4674;POINT (-39.373979 -3.104713)'))) / (select extract(epoch from '2026-08-04 17:04:07'::timestamp) - extract(epoch from '2026-08-04 17:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.373997 -3.104821)', '2026-08-04 17:04:12', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373979 -3.104713)'), GeomFromEWKT('SRID=4674;POINT (-39.373997 -3.104821)'))) / (select extract(epoch from '2026-08-04 17:04:12'::timestamp) - extract(epoch from '2026-08-04 17:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373979 -3.104713)'), GeomFromEWKT('SRID=4674;POINT (-39.373997 -3.104821)'))) / (select extract(epoch from '2026-08-04 17:04:12'::timestamp) - extract(epoch from '2026-08-04 17:04: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'), 48166, 'SRID=4674;POINT (-39.374028 -3.104932)', '2026-08-04 17:04:17', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373997 -3.104821)'), GeomFromEWKT('SRID=4674;POINT (-39.374028 -3.104932)'))) / (select extract(epoch from '2026-08-04 17:04:17'::timestamp) - extract(epoch from '2026-08-04 17:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373997 -3.104821)'), GeomFromEWKT('SRID=4674;POINT (-39.374028 -3.104932)'))) / (select extract(epoch from '2026-08-04 17:04:17'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.374057 -3.105034)', '2026-08-04 17:04:21', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374028 -3.104932)'), GeomFromEWKT('SRID=4674;POINT (-39.374057 -3.105034)'))) / (select extract(epoch from '2026-08-04 17:04:21'::timestamp) - extract(epoch from '2026-08-04 17:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374028 -3.104932)'), GeomFromEWKT('SRID=4674;POINT (-39.374057 -3.105034)'))) / (select extract(epoch from '2026-08-04 17:04:21'::timestamp) - extract(epoch from '2026-08-04 17:04: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'), 48166, 'SRID=4674;POINT (-39.374088 -3.105158)', '2026-08-04 17:04:26', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374057 -3.105034)'), GeomFromEWKT('SRID=4674;POINT (-39.374088 -3.105158)'))) / (select extract(epoch from '2026-08-04 17:04:26'::timestamp) - extract(epoch from '2026-08-04 17:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374057 -3.105034)'), GeomFromEWKT('SRID=4674;POINT (-39.374088 -3.105158)'))) / (select extract(epoch from '2026-08-04 17:04:26'::timestamp) - extract(epoch from '2026-08-04 17:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374109 -3.105248)', '2026-08-04 17:04:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374088 -3.105158)'), GeomFromEWKT('SRID=4674;POINT (-39.374109 -3.105248)'))) / (select extract(epoch from '2026-08-04 17:04:30'::timestamp) - extract(epoch from '2026-08-04 17:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374088 -3.105158)'), GeomFromEWKT('SRID=4674;POINT (-39.374109 -3.105248)'))) / (select extract(epoch from '2026-08-04 17:04:30'::timestamp) - extract(epoch from '2026-08-04 17:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374148 -3.105401)', '2026-08-04 17:04:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374109 -3.105248)'), GeomFromEWKT('SRID=4674;POINT (-39.374148 -3.105401)'))) / (select extract(epoch from '2026-08-04 17:04:37'::timestamp) - extract(epoch from '2026-08-04 17:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374109 -3.105248)'), GeomFromEWKT('SRID=4674;POINT (-39.374148 -3.105401)'))) / (select extract(epoch from '2026-08-04 17:04:37'::timestamp) - extract(epoch from '2026-08-04 17:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374172 -3.105518)', '2026-08-04 17:04:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374148 -3.105401)'), GeomFromEWKT('SRID=4674;POINT (-39.374172 -3.105518)'))) / (select extract(epoch from '2026-08-04 17:04:42'::timestamp) - extract(epoch from '2026-08-04 17:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374148 -3.105401)'), GeomFromEWKT('SRID=4674;POINT (-39.374172 -3.105518)'))) / (select extract(epoch from '2026-08-04 17:04:42'::timestamp) - extract(epoch from '2026-08-04 17:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374189 -3.105637)', '2026-08-04 17:04:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374172 -3.105518)'), GeomFromEWKT('SRID=4674;POINT (-39.374189 -3.105637)'))) / (select extract(epoch from '2026-08-04 17:04:47'::timestamp) - extract(epoch from '2026-08-04 17:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374172 -3.105518)'), GeomFromEWKT('SRID=4674;POINT (-39.374189 -3.105637)'))) / (select extract(epoch from '2026-08-04 17:04:47'::timestamp) - extract(epoch from '2026-08-04 17:04: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'), 48166, 'SRID=4674;POINT (-39.374213 -3.105778)', '2026-08-04 17:04:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374189 -3.105637)'), GeomFromEWKT('SRID=4674;POINT (-39.374213 -3.105778)'))) / (select extract(epoch from '2026-08-04 17:04:53'::timestamp) - extract(epoch from '2026-08-04 17:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374189 -3.105637)'), GeomFromEWKT('SRID=4674;POINT (-39.374213 -3.105778)'))) / (select extract(epoch from '2026-08-04 17:04:53'::timestamp) - extract(epoch from '2026-08-04 17:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374239 -3.105895)', '2026-08-04 17:04:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374213 -3.105778)'), GeomFromEWKT('SRID=4674;POINT (-39.374239 -3.105895)'))) / (select extract(epoch from '2026-08-04 17:04:58'::timestamp) - extract(epoch from '2026-08-04 17:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374213 -3.105778)'), GeomFromEWKT('SRID=4674;POINT (-39.374239 -3.105895)'))) / (select extract(epoch from '2026-08-04 17:04:58'::timestamp) - extract(epoch from '2026-08-04 17:04:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374277 -3.106086)', '2026-08-04 17:05:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374239 -3.105895)'), GeomFromEWKT('SRID=4674;POINT (-39.374277 -3.106086)'))) / (select extract(epoch from '2026-08-04 17:05:06'::timestamp) - extract(epoch from '2026-08-04 17:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374239 -3.105895)'), GeomFromEWKT('SRID=4674;POINT (-39.374277 -3.106086)'))) / (select extract(epoch from '2026-08-04 17:05:06'::timestamp) - extract(epoch from '2026-08-04 17:04: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'), 48166, 'SRID=4674;POINT (-39.374293 -3.106206)', '2026-08-04 17:05:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374277 -3.106086)'), GeomFromEWKT('SRID=4674;POINT (-39.374293 -3.106206)'))) / (select extract(epoch from '2026-08-04 17:05:11'::timestamp) - extract(epoch from '2026-08-04 17:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374277 -3.106086)'), GeomFromEWKT('SRID=4674;POINT (-39.374293 -3.106206)'))) / (select extract(epoch from '2026-08-04 17:05:11'::timestamp) - extract(epoch from '2026-08-04 17:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374328 -3.106339)', '2026-08-04 17:05:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374293 -3.106206)'), GeomFromEWKT('SRID=4674;POINT (-39.374328 -3.106339)'))) / (select extract(epoch from '2026-08-04 17:05:16'::timestamp) - extract(epoch from '2026-08-04 17:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374293 -3.106206)'), GeomFromEWKT('SRID=4674;POINT (-39.374328 -3.106339)'))) / (select extract(epoch from '2026-08-04 17:05:16'::timestamp) - extract(epoch from '2026-08-04 17:05: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'), 48166, 'SRID=4674;POINT (-39.374372 -3.106455)', '2026-08-04 17:05:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374328 -3.106339)'), GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.106455)'))) / (select extract(epoch from '2026-08-04 17:05:21'::timestamp) - extract(epoch from '2026-08-04 17:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374328 -3.106339)'), GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.106455)'))) / (select extract(epoch from '2026-08-04 17:05:21'::timestamp) - extract(epoch from '2026-08-04 17:05: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'), 48166, 'SRID=4674;POINT (-39.374372 -3.106526)', '2026-08-04 17:05:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.106455)'), GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.106526)'))) / (select extract(epoch from '2026-08-04 17:05:24'::timestamp) - extract(epoch from '2026-08-04 17:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.106455)'), GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.106526)'))) / (select extract(epoch from '2026-08-04 17:05:24'::timestamp) - extract(epoch from '2026-08-04 17:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374377 -3.106551)', '2026-08-04 17:05:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.106526)'), GeomFromEWKT('SRID=4674;POINT (-39.374377 -3.106551)'))) / (select extract(epoch from '2026-08-04 17:05:25'::timestamp) - extract(epoch from '2026-08-04 17:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374372 -3.106526)'), GeomFromEWKT('SRID=4674;POINT (-39.374377 -3.106551)'))) / (select extract(epoch from '2026-08-04 17:05:25'::timestamp) - extract(epoch from '2026-08-04 17:05:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374403 -3.106699)', '2026-08-04 17:05:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374377 -3.106551)'), GeomFromEWKT('SRID=4674;POINT (-39.374403 -3.106699)'))) / (select extract(epoch from '2026-08-04 17:05:31'::timestamp) - extract(epoch from '2026-08-04 17:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374377 -3.106551)'), GeomFromEWKT('SRID=4674;POINT (-39.374403 -3.106699)'))) / (select extract(epoch from '2026-08-04 17:05:31'::timestamp) - extract(epoch from '2026-08-04 17:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374428 -3.106826)', '2026-08-04 17:05:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374403 -3.106699)'), GeomFromEWKT('SRID=4674;POINT (-39.374428 -3.106826)'))) / (select extract(epoch from '2026-08-04 17:05:36'::timestamp) - extract(epoch from '2026-08-04 17:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374403 -3.106699)'), GeomFromEWKT('SRID=4674;POINT (-39.374428 -3.106826)'))) / (select extract(epoch from '2026-08-04 17:05:36'::timestamp) - extract(epoch from '2026-08-04 17:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374453 -3.10699)', '2026-08-04 17:05:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374428 -3.106826)'), GeomFromEWKT('SRID=4674;POINT (-39.374453 -3.10699)'))) / (select extract(epoch from '2026-08-04 17:05:43'::timestamp) - extract(epoch from '2026-08-04 17:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374428 -3.106826)'), GeomFromEWKT('SRID=4674;POINT (-39.374453 -3.10699)'))) / (select extract(epoch from '2026-08-04 17:05:43'::timestamp) - extract(epoch from '2026-08-04 17:05: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'), 48166, 'SRID=4674;POINT (-39.37448 -3.107131)', '2026-08-04 17:05:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374453 -3.10699)'), GeomFromEWKT('SRID=4674;POINT (-39.37448 -3.107131)'))) / (select extract(epoch from '2026-08-04 17:05:49'::timestamp) - extract(epoch from '2026-08-04 17:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374453 -3.10699)'), GeomFromEWKT('SRID=4674;POINT (-39.37448 -3.107131)'))) / (select extract(epoch from '2026-08-04 17:05:49'::timestamp) - extract(epoch from '2026-08-04 17:05: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'), 48166, 'SRID=4674;POINT (-39.37451 -3.107275)', '2026-08-04 17:05:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37448 -3.107131)'), GeomFromEWKT('SRID=4674;POINT (-39.37451 -3.107275)'))) / (select extract(epoch from '2026-08-04 17:05:55'::timestamp) - extract(epoch from '2026-08-04 17:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37448 -3.107131)'), GeomFromEWKT('SRID=4674;POINT (-39.37451 -3.107275)'))) / (select extract(epoch from '2026-08-04 17:05:55'::timestamp) - extract(epoch from '2026-08-04 17:05: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'), 48166, 'SRID=4674;POINT (-39.374542 -3.107396)', '2026-08-04 17:06:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37451 -3.107275)'), GeomFromEWKT('SRID=4674;POINT (-39.374542 -3.107396)'))) / (select extract(epoch from '2026-08-04 17:06:00'::timestamp) - extract(epoch from '2026-08-04 17:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37451 -3.107275)'), GeomFromEWKT('SRID=4674;POINT (-39.374542 -3.107396)'))) / (select extract(epoch from '2026-08-04 17:06:00'::timestamp) - extract(epoch from '2026-08-04 17:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374576 -3.107518)', '2026-08-04 17:06:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374542 -3.107396)'), GeomFromEWKT('SRID=4674;POINT (-39.374576 -3.107518)'))) / (select extract(epoch from '2026-08-04 17:06:05'::timestamp) - extract(epoch from '2026-08-04 17:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374542 -3.107396)'), GeomFromEWKT('SRID=4674;POINT (-39.374576 -3.107518)'))) / (select extract(epoch from '2026-08-04 17:06:05'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48166, 'SRID=4674;POINT (-39.374603 -3.107625)', '2026-08-04 17:06:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374576 -3.107518)'), GeomFromEWKT('SRID=4674;POINT (-39.374603 -3.107625)'))) / (select extract(epoch from '2026-08-04 17:06:10'::timestamp) - extract(epoch from '2026-08-04 17:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374576 -3.107518)'), GeomFromEWKT('SRID=4674;POINT (-39.374603 -3.107625)'))) / (select extract(epoch from '2026-08-04 17:06:10'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48166, 'SRID=4674;POINT (-39.374639 -3.107771)', '2026-08-04 17:06:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374603 -3.107625)'), GeomFromEWKT('SRID=4674;POINT (-39.374639 -3.107771)'))) / (select extract(epoch from '2026-08-04 17:06:16'::timestamp) - extract(epoch from '2026-08-04 17:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374603 -3.107625)'), GeomFromEWKT('SRID=4674;POINT (-39.374639 -3.107771)'))) / (select extract(epoch from '2026-08-04 17:06:16'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.374699 -3.107908)', '2026-08-04 17:06:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374639 -3.107771)'), GeomFromEWKT('SRID=4674;POINT (-39.374699 -3.107908)'))) / (select extract(epoch from '2026-08-04 17:06:22'::timestamp) - extract(epoch from '2026-08-04 17:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374639 -3.107771)'), GeomFromEWKT('SRID=4674;POINT (-39.374699 -3.107908)'))) / (select extract(epoch from '2026-08-04 17:06:22'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48166, 'SRID=4674;POINT (-39.374723 -3.107999)', '2026-08-04 17:06:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374699 -3.107908)'), GeomFromEWKT('SRID=4674;POINT (-39.374723 -3.107999)'))) / (select extract(epoch from '2026-08-04 17:06:26'::timestamp) - extract(epoch from '2026-08-04 17:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374699 -3.107908)'), GeomFromEWKT('SRID=4674;POINT (-39.374723 -3.107999)'))) / (select extract(epoch from '2026-08-04 17:06:26'::timestamp) - extract(epoch from '2026-08-04 17:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374772 -3.108161)', '2026-08-04 17:06:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374723 -3.107999)'), GeomFromEWKT('SRID=4674;POINT (-39.374772 -3.108161)'))) / (select extract(epoch from '2026-08-04 17:06:33'::timestamp) - extract(epoch from '2026-08-04 17:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374723 -3.107999)'), GeomFromEWKT('SRID=4674;POINT (-39.374772 -3.108161)'))) / (select extract(epoch from '2026-08-04 17:06:33'::timestamp) - extract(epoch from '2026-08-04 17:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
