 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.399467 -3.431984)', '2026-06-09 13:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399422 -3.431909)'), GeomFromEWKT('SRID=4674;POINT (-38.399467 -3.431984)'))) / (select extract(epoch from '2026-06-09 13:37:49'::timestamp) - extract(epoch from '2026-06-09 13:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399422 -3.431909)'), GeomFromEWKT('SRID=4674;POINT (-38.399467 -3.431984)'))) / (select extract(epoch from '2026-06-09 13:37:49'::timestamp) - extract(epoch from '2026-06-09 13:37: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'), 46534, 'SRID=4674;POINT (-38.399529 -3.432093)', '2026-06-09 13:37:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399467 -3.431984)'), GeomFromEWKT('SRID=4674;POINT (-38.399529 -3.432093)'))) / (select extract(epoch from '2026-06-09 13:37:56'::timestamp) - extract(epoch from '2026-06-09 13:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399467 -3.431984)'), GeomFromEWKT('SRID=4674;POINT (-38.399529 -3.432093)'))) / (select extract(epoch from '2026-06-09 13:37:56'::timestamp) - extract(epoch from '2026-06-09 13:37: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'), 46534, 'SRID=4674;POINT (-38.399577 -3.432176)', '2026-06-09 13:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399529 -3.432093)'), GeomFromEWKT('SRID=4674;POINT (-38.399577 -3.432176)'))) / (select extract(epoch from '2026-06-09 13:38:01'::timestamp) - extract(epoch from '2026-06-09 13:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399529 -3.432093)'), GeomFromEWKT('SRID=4674;POINT (-38.399577 -3.432176)'))) / (select extract(epoch from '2026-06-09 13:38:01'::timestamp) - extract(epoch from '2026-06-09 13:37: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'), 46534, 'SRID=4674;POINT (-38.39962 -3.432269)', '2026-06-09 13:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399577 -3.432176)'), GeomFromEWKT('SRID=4674;POINT (-38.39962 -3.432269)'))) / (select extract(epoch from '2026-06-09 13:38:06'::timestamp) - extract(epoch from '2026-06-09 13:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399577 -3.432176)'), GeomFromEWKT('SRID=4674;POINT (-38.39962 -3.432269)'))) / (select extract(epoch from '2026-06-09 13:38:06'::timestamp) - extract(epoch from '2026-06-09 13:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.39968 -3.432389)', '2026-06-09 13:38:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39962 -3.432269)'), GeomFromEWKT('SRID=4674;POINT (-38.39968 -3.432389)'))) / (select extract(epoch from '2026-06-09 13:38:14'::timestamp) - extract(epoch from '2026-06-09 13:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39962 -3.432269)'), GeomFromEWKT('SRID=4674;POINT (-38.39968 -3.432389)'))) / (select extract(epoch from '2026-06-09 13:38:14'::timestamp) - extract(epoch from '2026-06-09 13:38: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'), 46534, 'SRID=4674;POINT (-38.399714 -3.432439)', '2026-06-09 13:38:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39968 -3.432389)'), GeomFromEWKT('SRID=4674;POINT (-38.399714 -3.432439)'))) / (select extract(epoch from '2026-06-09 13:38:18'::timestamp) - extract(epoch from '2026-06-09 13:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39968 -3.432389)'), GeomFromEWKT('SRID=4674;POINT (-38.399714 -3.432439)'))) / (select extract(epoch from '2026-06-09 13:38:18'::timestamp) - extract(epoch from '2026-06-09 13:38: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'), 46534, 'SRID=4674;POINT (-38.399728 -3.432451)', '2026-06-09 13:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399714 -3.432439)'), GeomFromEWKT('SRID=4674;POINT (-38.399728 -3.432451)'))) / (select extract(epoch from '2026-06-09 13:38:19'::timestamp) - extract(epoch from '2026-06-09 13:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399714 -3.432439)'), GeomFromEWKT('SRID=4674;POINT (-38.399728 -3.432451)'))) / (select extract(epoch from '2026-06-09 13:38:19'::timestamp) - extract(epoch from '2026-06-09 13:38: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'), 46534, 'SRID=4674;POINT (-38.39974 -3.432466)', '2026-06-09 13:38:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399728 -3.432451)'), GeomFromEWKT('SRID=4674;POINT (-38.39974 -3.432466)'))) / (select extract(epoch from '2026-06-09 13:38:20'::timestamp) - extract(epoch from '2026-06-09 13:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399728 -3.432451)'), GeomFromEWKT('SRID=4674;POINT (-38.39974 -3.432466)'))) / (select extract(epoch from '2026-06-09 13:38:20'::timestamp) - extract(epoch from '2026-06-09 13:38: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'), 46534, 'SRID=4674;POINT (-38.399779 -3.432526)', '2026-06-09 13:38:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39974 -3.432466)'), GeomFromEWKT('SRID=4674;POINT (-38.399779 -3.432526)'))) / (select extract(epoch from '2026-06-09 13:38:24'::timestamp) - extract(epoch from '2026-06-09 13:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39974 -3.432466)'), GeomFromEWKT('SRID=4674;POINT (-38.399779 -3.432526)'))) / (select extract(epoch from '2026-06-09 13:38:24'::timestamp) - extract(epoch from '2026-06-09 13:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.399835 -3.432651)', '2026-06-09 13:38:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399779 -3.432526)'), GeomFromEWKT('SRID=4674;POINT (-38.399835 -3.432651)'))) / (select extract(epoch from '2026-06-09 13:38:31'::timestamp) - extract(epoch from '2026-06-09 13:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399779 -3.432526)'), GeomFromEWKT('SRID=4674;POINT (-38.399835 -3.432651)'))) / (select extract(epoch from '2026-06-09 13:38:31'::timestamp) - extract(epoch from '2026-06-09 13:38:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.399844 -3.432666)', '2026-06-09 13:38:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399835 -3.432651)'), GeomFromEWKT('SRID=4674;POINT (-38.399844 -3.432666)'))) / (select extract(epoch from '2026-06-09 13:38:32'::timestamp) - extract(epoch from '2026-06-09 13:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399835 -3.432651)'), GeomFromEWKT('SRID=4674;POINT (-38.399844 -3.432666)'))) / (select extract(epoch from '2026-06-09 13:38:32'::timestamp) - extract(epoch from '2026-06-09 13:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.399866 -3.432698)', '2026-06-09 13:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399844 -3.432666)'), GeomFromEWKT('SRID=4674;POINT (-38.399866 -3.432698)'))) / (select extract(epoch from '2026-06-09 13:38:34'::timestamp) - extract(epoch from '2026-06-09 13:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399844 -3.432666)'), GeomFromEWKT('SRID=4674;POINT (-38.399866 -3.432698)'))) / (select extract(epoch from '2026-06-09 13:38:34'::timestamp) - extract(epoch from '2026-06-09 13:38:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.399871 -3.432713)', '2026-06-09 13:38:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399866 -3.432698)'), GeomFromEWKT('SRID=4674;POINT (-38.399871 -3.432713)'))) / (select extract(epoch from '2026-06-09 13:38:35'::timestamp) - extract(epoch from '2026-06-09 13:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399866 -3.432698)'), GeomFromEWKT('SRID=4674;POINT (-38.399871 -3.432713)'))) / (select extract(epoch from '2026-06-09 13:38:35'::timestamp) - extract(epoch from '2026-06-09 13:38: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'), 46534, 'SRID=4674;POINT (-38.399919 -3.432783)', '2026-06-09 13:38:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399871 -3.432713)'), GeomFromEWKT('SRID=4674;POINT (-38.399919 -3.432783)'))) / (select extract(epoch from '2026-06-09 13:38:40'::timestamp) - extract(epoch from '2026-06-09 13:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399871 -3.432713)'), GeomFromEWKT('SRID=4674;POINT (-38.399919 -3.432783)'))) / (select extract(epoch from '2026-06-09 13:38:40'::timestamp) - extract(epoch from '2026-06-09 13:38: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'), 46534, 'SRID=4674;POINT (-38.399975 -3.432883)', '2026-06-09 13:38:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399919 -3.432783)'), GeomFromEWKT('SRID=4674;POINT (-38.399975 -3.432883)'))) / (select extract(epoch from '2026-06-09 13:38:46'::timestamp) - extract(epoch from '2026-06-09 13:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399919 -3.432783)'), GeomFromEWKT('SRID=4674;POINT (-38.399975 -3.432883)'))) / (select extract(epoch from '2026-06-09 13:38:46'::timestamp) - extract(epoch from '2026-06-09 13:38: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'), 46534, 'SRID=4674;POINT (-38.400029 -3.432996)', '2026-06-09 13:38:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399975 -3.432883)'), GeomFromEWKT('SRID=4674;POINT (-38.400029 -3.432996)'))) / (select extract(epoch from '2026-06-09 13:38:54'::timestamp) - extract(epoch from '2026-06-09 13:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399975 -3.432883)'), GeomFromEWKT('SRID=4674;POINT (-38.400029 -3.432996)'))) / (select extract(epoch from '2026-06-09 13:38:54'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.400077 -3.433076)', '2026-06-09 13:39:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400029 -3.432996)'), GeomFromEWKT('SRID=4674;POINT (-38.400077 -3.433076)'))) / (select extract(epoch from '2026-06-09 13:39:00'::timestamp) - extract(epoch from '2026-06-09 13:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400029 -3.432996)'), GeomFromEWKT('SRID=4674;POINT (-38.400077 -3.433076)'))) / (select extract(epoch from '2026-06-09 13:39:00'::timestamp) - extract(epoch from '2026-06-09 13:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.400122 -3.433135)', '2026-06-09 13:39:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400077 -3.433076)'), GeomFromEWKT('SRID=4674;POINT (-38.400122 -3.433135)'))) / (select extract(epoch from '2026-06-09 13:39:05'::timestamp) - extract(epoch from '2026-06-09 13:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400077 -3.433076)'), GeomFromEWKT('SRID=4674;POINT (-38.400122 -3.433135)'))) / (select extract(epoch from '2026-06-09 13:39:05'::timestamp) - extract(epoch from '2026-06-09 13:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.400191 -3.43322)', '2026-06-09 13:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400122 -3.433135)'), GeomFromEWKT('SRID=4674;POINT (-38.400191 -3.43322)'))) / (select extract(epoch from '2026-06-09 13:39:12'::timestamp) - extract(epoch from '2026-06-09 13:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400122 -3.433135)'), GeomFromEWKT('SRID=4674;POINT (-38.400191 -3.43322)'))) / (select extract(epoch from '2026-06-09 13:39:12'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.400249 -3.433301)', '2026-06-09 13:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400191 -3.43322)'), GeomFromEWKT('SRID=4674;POINT (-38.400249 -3.433301)'))) / (select extract(epoch from '2026-06-09 13:39:18'::timestamp) - extract(epoch from '2026-06-09 13:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400191 -3.43322)'), GeomFromEWKT('SRID=4674;POINT (-38.400249 -3.433301)'))) / (select extract(epoch from '2026-06-09 13:39:18'::timestamp) - extract(epoch from '2026-06-09 13:39: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'), 46534, 'SRID=4674;POINT (-38.400304 -3.43338)', '2026-06-09 13:39:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400249 -3.433301)'), GeomFromEWKT('SRID=4674;POINT (-38.400304 -3.43338)'))) / (select extract(epoch from '2026-06-09 13:39:23'::timestamp) - extract(epoch from '2026-06-09 13:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400249 -3.433301)'), GeomFromEWKT('SRID=4674;POINT (-38.400304 -3.43338)'))) / (select extract(epoch from '2026-06-09 13:39:23'::timestamp) - extract(epoch from '2026-06-09 13:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.400339 -3.433438)', '2026-06-09 13:39:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400304 -3.43338)'), GeomFromEWKT('SRID=4674;POINT (-38.400339 -3.433438)'))) / (select extract(epoch from '2026-06-09 13:39:28'::timestamp) - extract(epoch from '2026-06-09 13:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400304 -3.43338)'), GeomFromEWKT('SRID=4674;POINT (-38.400339 -3.433438)'))) / (select extract(epoch from '2026-06-09 13:39:28'::timestamp) - extract(epoch from '2026-06-09 13:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.400376 -3.433478)', '2026-06-09 13:39:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400339 -3.433438)'), GeomFromEWKT('SRID=4674;POINT (-38.400376 -3.433478)'))) / (select extract(epoch from '2026-06-09 13:39:31'::timestamp) - extract(epoch from '2026-06-09 13:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400339 -3.433438)'), GeomFromEWKT('SRID=4674;POINT (-38.400376 -3.433478)'))) / (select extract(epoch from '2026-06-09 13:39:31'::timestamp) - extract(epoch from '2026-06-09 13:39: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'), 46534, 'SRID=4674;POINT (-38.400395 -3.433507)', '2026-06-09 13:39:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400376 -3.433478)'), GeomFromEWKT('SRID=4674;POINT (-38.400395 -3.433507)'))) / (select extract(epoch from '2026-06-09 13:39:33'::timestamp) - extract(epoch from '2026-06-09 13:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400376 -3.433478)'), GeomFromEWKT('SRID=4674;POINT (-38.400395 -3.433507)'))) / (select extract(epoch from '2026-06-09 13:39:33'::timestamp) - extract(epoch from '2026-06-09 13:39: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'), 46534, 'SRID=4674;POINT (-38.400461 -3.43357)', '2026-06-09 13:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400395 -3.433507)'), GeomFromEWKT('SRID=4674;POINT (-38.400461 -3.43357)'))) / (select extract(epoch from '2026-06-09 13:39:38'::timestamp) - extract(epoch from '2026-06-09 13:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400395 -3.433507)'), GeomFromEWKT('SRID=4674;POINT (-38.400461 -3.43357)'))) / (select extract(epoch from '2026-06-09 13:39:38'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.40054 -3.433684)', '2026-06-09 13:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400461 -3.43357)'), GeomFromEWKT('SRID=4674;POINT (-38.40054 -3.433684)'))) / (select extract(epoch from '2026-06-09 13:39:45'::timestamp) - extract(epoch from '2026-06-09 13:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400461 -3.43357)'), GeomFromEWKT('SRID=4674;POINT (-38.40054 -3.433684)'))) / (select extract(epoch from '2026-06-09 13:39:45'::timestamp) - extract(epoch from '2026-06-09 13:39: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'), 46534, 'SRID=4674;POINT (-38.400604 -3.433786)', '2026-06-09 13:39:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40054 -3.433684)'), GeomFromEWKT('SRID=4674;POINT (-38.400604 -3.433786)'))) / (select extract(epoch from '2026-06-09 13:39:51'::timestamp) - extract(epoch from '2026-06-09 13:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40054 -3.433684)'), GeomFromEWKT('SRID=4674;POINT (-38.400604 -3.433786)'))) / (select extract(epoch from '2026-06-09 13:39:51'::timestamp) - extract(epoch from '2026-06-09 13:39: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'), 46534, 'SRID=4674;POINT (-38.400639 -3.433843)', '2026-06-09 13:39:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400604 -3.433786)'), GeomFromEWKT('SRID=4674;POINT (-38.400639 -3.433843)'))) / (select extract(epoch from '2026-06-09 13:39:55'::timestamp) - extract(epoch from '2026-06-09 13:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400604 -3.433786)'), GeomFromEWKT('SRID=4674;POINT (-38.400639 -3.433843)'))) / (select extract(epoch from '2026-06-09 13:39:55'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.400699 -3.433936)', '2026-06-09 13:40:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400639 -3.433843)'), GeomFromEWKT('SRID=4674;POINT (-38.400699 -3.433936)'))) / (select extract(epoch from '2026-06-09 13:40:02'::timestamp) - extract(epoch from '2026-06-09 13:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400639 -3.433843)'), GeomFromEWKT('SRID=4674;POINT (-38.400699 -3.433936)'))) / (select extract(epoch from '2026-06-09 13:40:02'::timestamp) - extract(epoch from '2026-06-09 13:39: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'), 46534, 'SRID=4674;POINT (-38.400745 -3.434002)', '2026-06-09 13:40:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400699 -3.433936)'), GeomFromEWKT('SRID=4674;POINT (-38.400745 -3.434002)'))) / (select extract(epoch from '2026-06-09 13:40:07'::timestamp) - extract(epoch from '2026-06-09 13:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400699 -3.433936)'), GeomFromEWKT('SRID=4674;POINT (-38.400745 -3.434002)'))) / (select extract(epoch from '2026-06-09 13:40:07'::timestamp) - extract(epoch from '2026-06-09 13:40: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'), 46534, 'SRID=4674;POINT (-38.400803 -3.434083)', '2026-06-09 13:40:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400745 -3.434002)'), GeomFromEWKT('SRID=4674;POINT (-38.400803 -3.434083)'))) / (select extract(epoch from '2026-06-09 13:40:13'::timestamp) - extract(epoch from '2026-06-09 13:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400745 -3.434002)'), GeomFromEWKT('SRID=4674;POINT (-38.400803 -3.434083)'))) / (select extract(epoch from '2026-06-09 13:40:13'::timestamp) - extract(epoch from '2026-06-09 13:40:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.400868 -3.434169)', '2026-06-09 13:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400803 -3.434083)'), GeomFromEWKT('SRID=4674;POINT (-38.400868 -3.434169)'))) / (select extract(epoch from '2026-06-09 13:40:19'::timestamp) - extract(epoch from '2026-06-09 13:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400803 -3.434083)'), GeomFromEWKT('SRID=4674;POINT (-38.400868 -3.434169)'))) / (select extract(epoch from '2026-06-09 13:40:19'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.400944 -3.434282)', '2026-06-09 13:40:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400868 -3.434169)'), GeomFromEWKT('SRID=4674;POINT (-38.400944 -3.434282)'))) / (select extract(epoch from '2026-06-09 13:40:26'::timestamp) - extract(epoch from '2026-06-09 13:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400868 -3.434169)'), GeomFromEWKT('SRID=4674;POINT (-38.400944 -3.434282)'))) / (select extract(epoch from '2026-06-09 13:40:26'::timestamp) - extract(epoch from '2026-06-09 13:40: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'), 46534, 'SRID=4674;POINT (-38.401008 -3.434356)', '2026-06-09 13:40:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400944 -3.434282)'), GeomFromEWKT('SRID=4674;POINT (-38.401008 -3.434356)'))) / (select extract(epoch from '2026-06-09 13:40:32'::timestamp) - extract(epoch from '2026-06-09 13:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400944 -3.434282)'), GeomFromEWKT('SRID=4674;POINT (-38.401008 -3.434356)'))) / (select extract(epoch from '2026-06-09 13:40:32'::timestamp) - extract(epoch from '2026-06-09 13:40: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'), 46534, 'SRID=4674;POINT (-38.401021 -3.434369)', '2026-06-09 13:40:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401008 -3.434356)'), GeomFromEWKT('SRID=4674;POINT (-38.401021 -3.434369)'))) / (select extract(epoch from '2026-06-09 13:40:33'::timestamp) - extract(epoch from '2026-06-09 13:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401008 -3.434356)'), GeomFromEWKT('SRID=4674;POINT (-38.401021 -3.434369)'))) / (select extract(epoch from '2026-06-09 13:40:33'::timestamp) - extract(epoch from '2026-06-09 13:40:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.401076 -3.434455)', '2026-06-09 13:40:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401021 -3.434369)'), GeomFromEWKT('SRID=4674;POINT (-38.401076 -3.434455)'))) / (select extract(epoch from '2026-06-09 13:40:39'::timestamp) - extract(epoch from '2026-06-09 13:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401021 -3.434369)'), GeomFromEWKT('SRID=4674;POINT (-38.401076 -3.434455)'))) / (select extract(epoch from '2026-06-09 13:40:39'::timestamp) - extract(epoch from '2026-06-09 13:40: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'), 46534, 'SRID=4674;POINT (-38.401146 -3.434569)', '2026-06-09 13:40:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401076 -3.434455)'), GeomFromEWKT('SRID=4674;POINT (-38.401146 -3.434569)'))) / (select extract(epoch from '2026-06-09 13:40:46'::timestamp) - extract(epoch from '2026-06-09 13:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401076 -3.434455)'), GeomFromEWKT('SRID=4674;POINT (-38.401146 -3.434569)'))) / (select extract(epoch from '2026-06-09 13:40:46'::timestamp) - extract(epoch from '2026-06-09 13:40: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'), 46534, 'SRID=4674;POINT (-38.401201 -3.434662)', '2026-06-09 13:40:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401146 -3.434569)'), GeomFromEWKT('SRID=4674;POINT (-38.401201 -3.434662)'))) / (select extract(epoch from '2026-06-09 13:40:52'::timestamp) - extract(epoch from '2026-06-09 13:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401146 -3.434569)'), GeomFromEWKT('SRID=4674;POINT (-38.401201 -3.434662)'))) / (select extract(epoch from '2026-06-09 13:40:52'::timestamp) - extract(epoch from '2026-06-09 13:40: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'), 46534, 'SRID=4674;POINT (-38.401267 -3.434757)', '2026-06-09 13:40:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401201 -3.434662)'), GeomFromEWKT('SRID=4674;POINT (-38.401267 -3.434757)'))) / (select extract(epoch from '2026-06-09 13:40:59'::timestamp) - extract(epoch from '2026-06-09 13:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401201 -3.434662)'), GeomFromEWKT('SRID=4674;POINT (-38.401267 -3.434757)'))) / (select extract(epoch from '2026-06-09 13:40:59'::timestamp) - extract(epoch from '2026-06-09 13:40: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'), 46534, 'SRID=4674;POINT (-38.401327 -3.434842)', '2026-06-09 13:41:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401267 -3.434757)'), GeomFromEWKT('SRID=4674;POINT (-38.401327 -3.434842)'))) / (select extract(epoch from '2026-06-09 13:41:05'::timestamp) - extract(epoch from '2026-06-09 13:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401267 -3.434757)'), GeomFromEWKT('SRID=4674;POINT (-38.401327 -3.434842)'))) / (select extract(epoch from '2026-06-09 13:41:05'::timestamp) - extract(epoch from '2026-06-09 13:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.401382 -3.434933)', '2026-06-09 13:41:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401327 -3.434842)'), GeomFromEWKT('SRID=4674;POINT (-38.401382 -3.434933)'))) / (select extract(epoch from '2026-06-09 13:41:12'::timestamp) - extract(epoch from '2026-06-09 13:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401327 -3.434842)'), GeomFromEWKT('SRID=4674;POINT (-38.401382 -3.434933)'))) / (select extract(epoch from '2026-06-09 13:41:12'::timestamp) - extract(epoch from '2026-06-09 13:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.401433 -3.435)', '2026-06-09 13:41:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401382 -3.434933)'), GeomFromEWKT('SRID=4674;POINT (-38.401433 -3.435)'))) / (select extract(epoch from '2026-06-09 13:41:17'::timestamp) - extract(epoch from '2026-06-09 13:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401382 -3.434933)'), GeomFromEWKT('SRID=4674;POINT (-38.401433 -3.435)'))) / (select extract(epoch from '2026-06-09 13:41:17'::timestamp) - extract(epoch from '2026-06-09 13:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.401508 -3.435105)', '2026-06-09 13:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401433 -3.435)'), GeomFromEWKT('SRID=4674;POINT (-38.401508 -3.435105)'))) / (select extract(epoch from '2026-06-09 13:41:24'::timestamp) - extract(epoch from '2026-06-09 13:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401433 -3.435)'), GeomFromEWKT('SRID=4674;POINT (-38.401508 -3.435105)'))) / (select extract(epoch from '2026-06-09 13:41:24'::timestamp) - extract(epoch from '2026-06-09 13:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.40157 -3.435206)', '2026-06-09 13:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401508 -3.435105)'), GeomFromEWKT('SRID=4674;POINT (-38.40157 -3.435206)'))) / (select extract(epoch from '2026-06-09 13:41:31'::timestamp) - extract(epoch from '2026-06-09 13:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401508 -3.435105)'), GeomFromEWKT('SRID=4674;POINT (-38.40157 -3.435206)'))) / (select extract(epoch from '2026-06-09 13:41:31'::timestamp) - extract(epoch from '2026-06-09 13:41: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'), 46534, 'SRID=4674;POINT (-38.401608 -3.43528)', '2026-06-09 13:41:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40157 -3.435206)'), GeomFromEWKT('SRID=4674;POINT (-38.401608 -3.43528)'))) / (select extract(epoch from '2026-06-09 13:41:36'::timestamp) - extract(epoch from '2026-06-09 13:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40157 -3.435206)'), GeomFromEWKT('SRID=4674;POINT (-38.401608 -3.43528)'))) / (select extract(epoch from '2026-06-09 13:41:36'::timestamp) - extract(epoch from '2026-06-09 13:41: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'), 46534, 'SRID=4674;POINT (-38.401614 -3.435294)', '2026-06-09 13:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401608 -3.43528)'), GeomFromEWKT('SRID=4674;POINT (-38.401614 -3.435294)'))) / (select extract(epoch from '2026-06-09 13:41:37'::timestamp) - extract(epoch from '2026-06-09 13:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401608 -3.43528)'), GeomFromEWKT('SRID=4674;POINT (-38.401614 -3.435294)'))) / (select extract(epoch from '2026-06-09 13:41:37'::timestamp) - extract(epoch from '2026-06-09 13:41:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.401635 -3.435318)', '2026-06-09 13:41:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401614 -3.435294)'), GeomFromEWKT('SRID=4674;POINT (-38.401635 -3.435318)'))) / (select extract(epoch from '2026-06-09 13:41:39'::timestamp) - extract(epoch from '2026-06-09 13:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401614 -3.435294)'), GeomFromEWKT('SRID=4674;POINT (-38.401635 -3.435318)'))) / (select extract(epoch from '2026-06-09 13:41:39'::timestamp) - extract(epoch from '2026-06-09 13:41: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'), 46534, 'SRID=4674;POINT (-38.401639 -3.435334)', '2026-06-09 13:41:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401635 -3.435318)'), GeomFromEWKT('SRID=4674;POINT (-38.401639 -3.435334)'))) / (select extract(epoch from '2026-06-09 13:41:40'::timestamp) - extract(epoch from '2026-06-09 13:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401635 -3.435318)'), GeomFromEWKT('SRID=4674;POINT (-38.401639 -3.435334)'))) / (select extract(epoch from '2026-06-09 13:41:40'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.401644 -3.435344)', '2026-06-09 13:41:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401639 -3.435334)'), GeomFromEWKT('SRID=4674;POINT (-38.401644 -3.435344)'))) / (select extract(epoch from '2026-06-09 13:41:41'::timestamp) - extract(epoch from '2026-06-09 13:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401639 -3.435334)'), GeomFromEWKT('SRID=4674;POINT (-38.401644 -3.435344)'))) / (select extract(epoch from '2026-06-09 13:41:41'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.401679 -3.435396)', '2026-06-09 13:41:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401644 -3.435344)'), GeomFromEWKT('SRID=4674;POINT (-38.401679 -3.435396)'))) / (select extract(epoch from '2026-06-09 13:41:45'::timestamp) - extract(epoch from '2026-06-09 13:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401644 -3.435344)'), GeomFromEWKT('SRID=4674;POINT (-38.401679 -3.435396)'))) / (select extract(epoch from '2026-06-09 13:41:45'::timestamp) - extract(epoch from '2026-06-09 13:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.401727 -3.435452)', '2026-06-09 13:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401679 -3.435396)'), GeomFromEWKT('SRID=4674;POINT (-38.401727 -3.435452)'))) / (select extract(epoch from '2026-06-09 13:41:49'::timestamp) - extract(epoch from '2026-06-09 13:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401679 -3.435396)'), GeomFromEWKT('SRID=4674;POINT (-38.401727 -3.435452)'))) / (select extract(epoch from '2026-06-09 13:41:49'::timestamp) - extract(epoch from '2026-06-09 13:41:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.401787 -3.435528)', '2026-06-09 13:41:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401727 -3.435452)'), GeomFromEWKT('SRID=4674;POINT (-38.401787 -3.435528)'))) / (select extract(epoch from '2026-06-09 13:41:55'::timestamp) - extract(epoch from '2026-06-09 13:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401727 -3.435452)'), GeomFromEWKT('SRID=4674;POINT (-38.401787 -3.435528)'))) / (select extract(epoch from '2026-06-09 13:41:55'::timestamp) - extract(epoch from '2026-06-09 13:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.401836 -3.435595)', '2026-06-09 13:42:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401787 -3.435528)'), GeomFromEWKT('SRID=4674;POINT (-38.401836 -3.435595)'))) / (select extract(epoch from '2026-06-09 13:42:00'::timestamp) - extract(epoch from '2026-06-09 13:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401787 -3.435528)'), GeomFromEWKT('SRID=4674;POINT (-38.401836 -3.435595)'))) / (select extract(epoch from '2026-06-09 13:42:00'::timestamp) - extract(epoch from '2026-06-09 13:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.401876 -3.435661)', '2026-06-09 13:42:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401836 -3.435595)'), GeomFromEWKT('SRID=4674;POINT (-38.401876 -3.435661)'))) / (select extract(epoch from '2026-06-09 13:42:05'::timestamp) - extract(epoch from '2026-06-09 13:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401836 -3.435595)'), GeomFromEWKT('SRID=4674;POINT (-38.401876 -3.435661)'))) / (select extract(epoch from '2026-06-09 13:42:05'::timestamp) - extract(epoch from '2026-06-09 13:42: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'), 46534, 'SRID=4674;POINT (-38.401935 -3.435739)', '2026-06-09 13:42:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401876 -3.435661)'), GeomFromEWKT('SRID=4674;POINT (-38.401935 -3.435739)'))) / (select extract(epoch from '2026-06-09 13:42:12'::timestamp) - extract(epoch from '2026-06-09 13:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401876 -3.435661)'), GeomFromEWKT('SRID=4674;POINT (-38.401935 -3.435739)'))) / (select extract(epoch from '2026-06-09 13:42:12'::timestamp) - extract(epoch from '2026-06-09 13:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.40201 -3.43583)', '2026-06-09 13:42:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401935 -3.435739)'), GeomFromEWKT('SRID=4674;POINT (-38.40201 -3.43583)'))) / (select extract(epoch from '2026-06-09 13:42:19'::timestamp) - extract(epoch from '2026-06-09 13:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401935 -3.435739)'), GeomFromEWKT('SRID=4674;POINT (-38.40201 -3.43583)'))) / (select extract(epoch from '2026-06-09 13:42:19'::timestamp) - extract(epoch from '2026-06-09 13:42: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'), 46534, 'SRID=4674;POINT (-38.402083 -3.43595)', '2026-06-09 13:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40201 -3.43583)'), GeomFromEWKT('SRID=4674;POINT (-38.402083 -3.43595)'))) / (select extract(epoch from '2026-06-09 13:42:26'::timestamp) - extract(epoch from '2026-06-09 13:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40201 -3.43583)'), GeomFromEWKT('SRID=4674;POINT (-38.402083 -3.43595)'))) / (select extract(epoch from '2026-06-09 13:42:26'::timestamp) - extract(epoch from '2026-06-09 13:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.402121 -3.436027)', '2026-06-09 13:42:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402083 -3.43595)'), GeomFromEWKT('SRID=4674;POINT (-38.402121 -3.436027)'))) / (select extract(epoch from '2026-06-09 13:42:31'::timestamp) - extract(epoch from '2026-06-09 13:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402083 -3.43595)'), GeomFromEWKT('SRID=4674;POINT (-38.402121 -3.436027)'))) / (select extract(epoch from '2026-06-09 13:42:31'::timestamp) - extract(epoch from '2026-06-09 13:42: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'), 46534, 'SRID=4674;POINT (-38.402159 -3.436112)', '2026-06-09 13:42:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402121 -3.436027)'), GeomFromEWKT('SRID=4674;POINT (-38.402159 -3.436112)'))) / (select extract(epoch from '2026-06-09 13:42:37'::timestamp) - extract(epoch from '2026-06-09 13:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402121 -3.436027)'), GeomFromEWKT('SRID=4674;POINT (-38.402159 -3.436112)'))) / (select extract(epoch from '2026-06-09 13:42:37'::timestamp) - extract(epoch from '2026-06-09 13:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.402215 -3.436198)', '2026-06-09 13:42:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402159 -3.436112)'), GeomFromEWKT('SRID=4674;POINT (-38.402215 -3.436198)'))) / (select extract(epoch from '2026-06-09 13:42:43'::timestamp) - extract(epoch from '2026-06-09 13:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402159 -3.436112)'), GeomFromEWKT('SRID=4674;POINT (-38.402215 -3.436198)'))) / (select extract(epoch from '2026-06-09 13:42:43'::timestamp) - extract(epoch from '2026-06-09 13:42: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'), 46534, 'SRID=4674;POINT (-38.402271 -3.436304)', '2026-06-09 13:42:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402215 -3.436198)'), GeomFromEWKT('SRID=4674;POINT (-38.402271 -3.436304)'))) / (select extract(epoch from '2026-06-09 13:42:50'::timestamp) - extract(epoch from '2026-06-09 13:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402215 -3.436198)'), GeomFromEWKT('SRID=4674;POINT (-38.402271 -3.436304)'))) / (select extract(epoch from '2026-06-09 13:42:50'::timestamp) - extract(epoch from '2026-06-09 13:42: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'), 46534, 'SRID=4674;POINT (-38.402309 -3.436383)', '2026-06-09 13:42:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402271 -3.436304)'), GeomFromEWKT('SRID=4674;POINT (-38.402309 -3.436383)'))) / (select extract(epoch from '2026-06-09 13:42:55'::timestamp) - extract(epoch from '2026-06-09 13:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402271 -3.436304)'), GeomFromEWKT('SRID=4674;POINT (-38.402309 -3.436383)'))) / (select extract(epoch from '2026-06-09 13:42:55'::timestamp) - extract(epoch from '2026-06-09 13:42: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'), 46534, 'SRID=4674;POINT (-38.402341 -3.436446)', '2026-06-09 13:42:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402309 -3.436383)'), GeomFromEWKT('SRID=4674;POINT (-38.402341 -3.436446)'))) / (select extract(epoch from '2026-06-09 13:42:59'::timestamp) - extract(epoch from '2026-06-09 13:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402309 -3.436383)'), GeomFromEWKT('SRID=4674;POINT (-38.402341 -3.436446)'))) / (select extract(epoch from '2026-06-09 13:42:59'::timestamp) - extract(epoch from '2026-06-09 13:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.402364 -3.436513)', '2026-06-09 13:43:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402341 -3.436446)'), GeomFromEWKT('SRID=4674;POINT (-38.402364 -3.436513)'))) / (select extract(epoch from '2026-06-09 13:43:03'::timestamp) - extract(epoch from '2026-06-09 13:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402341 -3.436446)'), GeomFromEWKT('SRID=4674;POINT (-38.402364 -3.436513)'))) / (select extract(epoch from '2026-06-09 13:43:03'::timestamp) - extract(epoch from '2026-06-09 13:42: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'), 46534, 'SRID=4674;POINT (-38.402379 -3.436545)', '2026-06-09 13:43:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402364 -3.436513)'), GeomFromEWKT('SRID=4674;POINT (-38.402379 -3.436545)'))) / (select extract(epoch from '2026-06-09 13:43:05'::timestamp) - extract(epoch from '2026-06-09 13:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402364 -3.436513)'), GeomFromEWKT('SRID=4674;POINT (-38.402379 -3.436545)'))) / (select extract(epoch from '2026-06-09 13:43:05'::timestamp) - extract(epoch from '2026-06-09 13:43: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'), 46534, 'SRID=4674;POINT (-38.40241 -3.436624)', '2026-06-09 13:43:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402379 -3.436545)'), GeomFromEWKT('SRID=4674;POINT (-38.40241 -3.436624)'))) / (select extract(epoch from '2026-06-09 13:43:11'::timestamp) - extract(epoch from '2026-06-09 13:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402379 -3.436545)'), GeomFromEWKT('SRID=4674;POINT (-38.40241 -3.436624)'))) / (select extract(epoch from '2026-06-09 13:43:11'::timestamp) - extract(epoch from '2026-06-09 13:43:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.402462 -3.436709)', '2026-06-09 13:43:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40241 -3.436624)'), GeomFromEWKT('SRID=4674;POINT (-38.402462 -3.436709)'))) / (select extract(epoch from '2026-06-09 13:43:17'::timestamp) - extract(epoch from '2026-06-09 13:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40241 -3.436624)'), GeomFromEWKT('SRID=4674;POINT (-38.402462 -3.436709)'))) / (select extract(epoch from '2026-06-09 13:43:17'::timestamp) - extract(epoch from '2026-06-09 13:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.402492 -3.436751)', '2026-06-09 13:43:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402462 -3.436709)'), GeomFromEWKT('SRID=4674;POINT (-38.402492 -3.436751)'))) / (select extract(epoch from '2026-06-09 13:43:20'::timestamp) - extract(epoch from '2026-06-09 13:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402462 -3.436709)'), GeomFromEWKT('SRID=4674;POINT (-38.402492 -3.436751)'))) / (select extract(epoch from '2026-06-09 13:43:20'::timestamp) - extract(epoch from '2026-06-09 13:43: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'), 46534, 'SRID=4674;POINT (-38.402512 -3.436778)', '2026-06-09 13:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402492 -3.436751)'), GeomFromEWKT('SRID=4674;POINT (-38.402512 -3.436778)'))) / (select extract(epoch from '2026-06-09 13:43:22'::timestamp) - extract(epoch from '2026-06-09 13:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402492 -3.436751)'), GeomFromEWKT('SRID=4674;POINT (-38.402512 -3.436778)'))) / (select extract(epoch from '2026-06-09 13:43:22'::timestamp) - extract(epoch from '2026-06-09 13:43:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.402563 -3.436851)', '2026-06-09 13:43:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402512 -3.436778)'), GeomFromEWKT('SRID=4674;POINT (-38.402563 -3.436851)'))) / (select extract(epoch from '2026-06-09 13:43:28'::timestamp) - extract(epoch from '2026-06-09 13:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402512 -3.436778)'), GeomFromEWKT('SRID=4674;POINT (-38.402563 -3.436851)'))) / (select extract(epoch from '2026-06-09 13:43:28'::timestamp) - extract(epoch from '2026-06-09 13:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.402623 -3.436945)', '2026-06-09 13:43:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402563 -3.436851)'), GeomFromEWKT('SRID=4674;POINT (-38.402623 -3.436945)'))) / (select extract(epoch from '2026-06-09 13:43:34'::timestamp) - extract(epoch from '2026-06-09 13:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402563 -3.436851)'), GeomFromEWKT('SRID=4674;POINT (-38.402623 -3.436945)'))) / (select extract(epoch from '2026-06-09 13:43:34'::timestamp) - extract(epoch from '2026-06-09 13:43: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'), 46534, 'SRID=4674;POINT (-38.402667 -3.43702)', '2026-06-09 13:43:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402623 -3.436945)'), GeomFromEWKT('SRID=4674;POINT (-38.402667 -3.43702)'))) / (select extract(epoch from '2026-06-09 13:43:39'::timestamp) - extract(epoch from '2026-06-09 13:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402623 -3.436945)'), GeomFromEWKT('SRID=4674;POINT (-38.402667 -3.43702)'))) / (select extract(epoch from '2026-06-09 13:43:39'::timestamp) - extract(epoch from '2026-06-09 13:43:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.402696 -3.437071)', '2026-06-09 13:43:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402667 -3.43702)'), GeomFromEWKT('SRID=4674;POINT (-38.402696 -3.437071)'))) / (select extract(epoch from '2026-06-09 13:43:42'::timestamp) - extract(epoch from '2026-06-09 13:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402667 -3.43702)'), GeomFromEWKT('SRID=4674;POINT (-38.402696 -3.437071)'))) / (select extract(epoch from '2026-06-09 13:43:42'::timestamp) - extract(epoch from '2026-06-09 13:43:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.402705 -3.437109)', '2026-06-09 13:43:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402696 -3.437071)'), GeomFromEWKT('SRID=4674;POINT (-38.402705 -3.437109)'))) / (select extract(epoch from '2026-06-09 13:43:44'::timestamp) - extract(epoch from '2026-06-09 13:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402696 -3.437071)'), GeomFromEWKT('SRID=4674;POINT (-38.402705 -3.437109)'))) / (select extract(epoch from '2026-06-09 13:43:44'::timestamp) - extract(epoch from '2026-06-09 13:43: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'), 46534, 'SRID=4674;POINT (-38.402747 -3.43719)', '2026-06-09 13:43:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402705 -3.437109)'), GeomFromEWKT('SRID=4674;POINT (-38.402747 -3.43719)'))) / (select extract(epoch from '2026-06-09 13:43:49'::timestamp) - extract(epoch from '2026-06-09 13:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402705 -3.437109)'), GeomFromEWKT('SRID=4674;POINT (-38.402747 -3.43719)'))) / (select extract(epoch from '2026-06-09 13:43:49'::timestamp) - extract(epoch from '2026-06-09 13:43: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'), 46534, 'SRID=4674;POINT (-38.402796 -3.437292)', '2026-06-09 13:43:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402747 -3.43719)'), GeomFromEWKT('SRID=4674;POINT (-38.402796 -3.437292)'))) / (select extract(epoch from '2026-06-09 13:43:55'::timestamp) - extract(epoch from '2026-06-09 13:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402747 -3.43719)'), GeomFromEWKT('SRID=4674;POINT (-38.402796 -3.437292)'))) / (select extract(epoch from '2026-06-09 13:43:55'::timestamp) - extract(epoch from '2026-06-09 13:43: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'), 46534, 'SRID=4674;POINT (-38.402848 -3.437392)', '2026-06-09 13:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402796 -3.437292)'), GeomFromEWKT('SRID=4674;POINT (-38.402848 -3.437392)'))) / (select extract(epoch from '2026-06-09 13:44:01'::timestamp) - extract(epoch from '2026-06-09 13:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402796 -3.437292)'), GeomFromEWKT('SRID=4674;POINT (-38.402848 -3.437392)'))) / (select extract(epoch from '2026-06-09 13:44:01'::timestamp) - extract(epoch from '2026-06-09 13:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.402898 -3.43748)', '2026-06-09 13:44:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402848 -3.437392)'), GeomFromEWKT('SRID=4674;POINT (-38.402898 -3.43748)'))) / (select extract(epoch from '2026-06-09 13:44:07'::timestamp) - extract(epoch from '2026-06-09 13:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402848 -3.437392)'), GeomFromEWKT('SRID=4674;POINT (-38.402898 -3.43748)'))) / (select extract(epoch from '2026-06-09 13:44:07'::timestamp) - extract(epoch from '2026-06-09 13:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.402943 -3.437554)', '2026-06-09 13:44:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402898 -3.43748)'), GeomFromEWKT('SRID=4674;POINT (-38.402943 -3.437554)'))) / (select extract(epoch from '2026-06-09 13:44:12'::timestamp) - extract(epoch from '2026-06-09 13:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402898 -3.43748)'), GeomFromEWKT('SRID=4674;POINT (-38.402943 -3.437554)'))) / (select extract(epoch from '2026-06-09 13:44:12'::timestamp) - extract(epoch from '2026-06-09 13:44: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'), 46534, 'SRID=4674;POINT (-38.403006 -3.437657)', '2026-06-09 13:44:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402943 -3.437554)'), GeomFromEWKT('SRID=4674;POINT (-38.403006 -3.437657)'))) / (select extract(epoch from '2026-06-09 13:44:19'::timestamp) - extract(epoch from '2026-06-09 13:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402943 -3.437554)'), GeomFromEWKT('SRID=4674;POINT (-38.403006 -3.437657)'))) / (select extract(epoch from '2026-06-09 13:44:19'::timestamp) - extract(epoch from '2026-06-09 13:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.403055 -3.437741)', '2026-06-09 13:44:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403006 -3.437657)'), GeomFromEWKT('SRID=4674;POINT (-38.403055 -3.437741)'))) / (select extract(epoch from '2026-06-09 13:44:25'::timestamp) - extract(epoch from '2026-06-09 13:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403006 -3.437657)'), GeomFromEWKT('SRID=4674;POINT (-38.403055 -3.437741)'))) / (select extract(epoch from '2026-06-09 13:44:25'::timestamp) - extract(epoch from '2026-06-09 13:44:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.403118 -3.437849)', '2026-06-09 13:44:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403055 -3.437741)'), GeomFromEWKT('SRID=4674;POINT (-38.403118 -3.437849)'))) / (select extract(epoch from '2026-06-09 13:44:32'::timestamp) - extract(epoch from '2026-06-09 13:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403055 -3.437741)'), GeomFromEWKT('SRID=4674;POINT (-38.403118 -3.437849)'))) / (select extract(epoch from '2026-06-09 13:44:32'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.403157 -3.437922)', '2026-06-09 13:44:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403118 -3.437849)'), GeomFromEWKT('SRID=4674;POINT (-38.403157 -3.437922)'))) / (select extract(epoch from '2026-06-09 13:44:37'::timestamp) - extract(epoch from '2026-06-09 13:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403118 -3.437849)'), GeomFromEWKT('SRID=4674;POINT (-38.403157 -3.437922)'))) / (select extract(epoch from '2026-06-09 13:44:37'::timestamp) - extract(epoch from '2026-06-09 13:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.40321 -3.438002)', '2026-06-09 13:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403157 -3.437922)'), GeomFromEWKT('SRID=4674;POINT (-38.40321 -3.438002)'))) / (select extract(epoch from '2026-06-09 13:44:42'::timestamp) - extract(epoch from '2026-06-09 13:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403157 -3.437922)'), GeomFromEWKT('SRID=4674;POINT (-38.40321 -3.438002)'))) / (select extract(epoch from '2026-06-09 13:44:42'::timestamp) - extract(epoch from '2026-06-09 13:44:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.403289 -3.438148)', '2026-06-09 13:44:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40321 -3.438002)'), GeomFromEWKT('SRID=4674;POINT (-38.403289 -3.438148)'))) / (select extract(epoch from '2026-06-09 13:44:51'::timestamp) - extract(epoch from '2026-06-09 13:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40321 -3.438002)'), GeomFromEWKT('SRID=4674;POINT (-38.403289 -3.438148)'))) / (select extract(epoch from '2026-06-09 13:44:51'::timestamp) - extract(epoch from '2026-06-09 13:44: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'), 46534, 'SRID=4674;POINT (-38.403348 -3.438249)', '2026-06-09 13:44:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403289 -3.438148)'), GeomFromEWKT('SRID=4674;POINT (-38.403348 -3.438249)'))) / (select extract(epoch from '2026-06-09 13:44:58'::timestamp) - extract(epoch from '2026-06-09 13:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403289 -3.438148)'), GeomFromEWKT('SRID=4674;POINT (-38.403348 -3.438249)'))) / (select extract(epoch from '2026-06-09 13:44:58'::timestamp) - extract(epoch from '2026-06-09 13:44: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'), 46534, 'SRID=4674;POINT (-38.403412 -3.438341)', '2026-06-09 13:45:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403348 -3.438249)'), GeomFromEWKT('SRID=4674;POINT (-38.403412 -3.438341)'))) / (select extract(epoch from '2026-06-09 13:45:04'::timestamp) - extract(epoch from '2026-06-09 13:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403348 -3.438249)'), GeomFromEWKT('SRID=4674;POINT (-38.403412 -3.438341)'))) / (select extract(epoch from '2026-06-09 13:45:04'::timestamp) - extract(epoch from '2026-06-09 13:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.403468 -3.438426)', '2026-06-09 13:45:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403412 -3.438341)'), GeomFromEWKT('SRID=4674;POINT (-38.403468 -3.438426)'))) / (select extract(epoch from '2026-06-09 13:45:10'::timestamp) - extract(epoch from '2026-06-09 13:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403412 -3.438341)'), GeomFromEWKT('SRID=4674;POINT (-38.403468 -3.438426)'))) / (select extract(epoch from '2026-06-09 13:45:10'::timestamp) - extract(epoch from '2026-06-09 13:45: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'), 46534, 'SRID=4674;POINT (-38.403541 -3.438562)', '2026-06-09 13:45:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403468 -3.438426)'), GeomFromEWKT('SRID=4674;POINT (-38.403541 -3.438562)'))) / (select extract(epoch from '2026-06-09 13:45:18'::timestamp) - extract(epoch from '2026-06-09 13:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403468 -3.438426)'), GeomFromEWKT('SRID=4674;POINT (-38.403541 -3.438562)'))) / (select extract(epoch from '2026-06-09 13:45:18'::timestamp) - extract(epoch from '2026-06-09 13:45: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'), 46534, 'SRID=4674;POINT (-38.403588 -3.438641)', '2026-06-09 13:45:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403541 -3.438562)'), GeomFromEWKT('SRID=4674;POINT (-38.403588 -3.438641)'))) / (select extract(epoch from '2026-06-09 13:45:23'::timestamp) - extract(epoch from '2026-06-09 13:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403541 -3.438562)'), GeomFromEWKT('SRID=4674;POINT (-38.403588 -3.438641)'))) / (select extract(epoch from '2026-06-09 13:45:23'::timestamp) - extract(epoch from '2026-06-09 13:45: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'), 46534, 'SRID=4674;POINT (-38.403638 -3.438734)', '2026-06-09 13:45:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403588 -3.438641)'), GeomFromEWKT('SRID=4674;POINT (-38.403638 -3.438734)'))) / (select extract(epoch from '2026-06-09 13:45:29'::timestamp) - extract(epoch from '2026-06-09 13:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403588 -3.438641)'), GeomFromEWKT('SRID=4674;POINT (-38.403638 -3.438734)'))) / (select extract(epoch from '2026-06-09 13:45:29'::timestamp) - extract(epoch from '2026-06-09 13:45: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'), 46534, 'SRID=4674;POINT (-38.403693 -3.438828)', '2026-06-09 13:45:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403638 -3.438734)'), GeomFromEWKT('SRID=4674;POINT (-38.403693 -3.438828)'))) / (select extract(epoch from '2026-06-09 13:45:35'::timestamp) - extract(epoch from '2026-06-09 13:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403638 -3.438734)'), GeomFromEWKT('SRID=4674;POINT (-38.403693 -3.438828)'))) / (select extract(epoch from '2026-06-09 13:45:35'::timestamp) - extract(epoch from '2026-06-09 13:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.403743 -3.43892)', '2026-06-09 13:45:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403693 -3.438828)'), GeomFromEWKT('SRID=4674;POINT (-38.403743 -3.43892)'))) / (select extract(epoch from '2026-06-09 13:45:41'::timestamp) - extract(epoch from '2026-06-09 13:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403693 -3.438828)'), GeomFromEWKT('SRID=4674;POINT (-38.403743 -3.43892)'))) / (select extract(epoch from '2026-06-09 13:45:41'::timestamp) - extract(epoch from '2026-06-09 13:45:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.403796 -3.439011)', '2026-06-09 13:45:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403743 -3.43892)'), GeomFromEWKT('SRID=4674;POINT (-38.403796 -3.439011)'))) / (select extract(epoch from '2026-06-09 13:45:47'::timestamp) - extract(epoch from '2026-06-09 13:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403743 -3.43892)'), GeomFromEWKT('SRID=4674;POINT (-38.403796 -3.439011)'))) / (select extract(epoch from '2026-06-09 13:45:47'::timestamp) - extract(epoch from '2026-06-09 13:45:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.40385 -3.439092)', '2026-06-09 13:45:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403796 -3.439011)'), GeomFromEWKT('SRID=4674;POINT (-38.40385 -3.439092)'))) / (select extract(epoch from '2026-06-09 13:45:53'::timestamp) - extract(epoch from '2026-06-09 13:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403796 -3.439011)'), GeomFromEWKT('SRID=4674;POINT (-38.40385 -3.439092)'))) / (select extract(epoch from '2026-06-09 13:45:53'::timestamp) - extract(epoch from '2026-06-09 13:45: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'), 46534, 'SRID=4674;POINT (-38.403917 -3.439192)', '2026-06-09 13:46:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40385 -3.439092)'), GeomFromEWKT('SRID=4674;POINT (-38.403917 -3.439192)'))) / (select extract(epoch from '2026-06-09 13:46:00'::timestamp) - extract(epoch from '2026-06-09 13:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40385 -3.439092)'), GeomFromEWKT('SRID=4674;POINT (-38.403917 -3.439192)'))) / (select extract(epoch from '2026-06-09 13:46:00'::timestamp) - extract(epoch from '2026-06-09 13:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.403983 -3.439305)', '2026-06-09 13:46:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403917 -3.439192)'), GeomFromEWKT('SRID=4674;POINT (-38.403983 -3.439305)'))) / (select extract(epoch from '2026-06-09 13:46:07'::timestamp) - extract(epoch from '2026-06-09 13:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403917 -3.439192)'), GeomFromEWKT('SRID=4674;POINT (-38.403983 -3.439305)'))) / (select extract(epoch from '2026-06-09 13:46:07'::timestamp) - extract(epoch from '2026-06-09 13:46: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'), 46534, 'SRID=4674;POINT (-38.404026 -3.439391)', '2026-06-09 13:46:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403983 -3.439305)'), GeomFromEWKT('SRID=4674;POINT (-38.404026 -3.439391)'))) / (select extract(epoch from '2026-06-09 13:46:13'::timestamp) - extract(epoch from '2026-06-09 13:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403983 -3.439305)'), GeomFromEWKT('SRID=4674;POINT (-38.404026 -3.439391)'))) / (select extract(epoch from '2026-06-09 13:46:13'::timestamp) - extract(epoch from '2026-06-09 13:46: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'), 46534, 'SRID=4674;POINT (-38.404082 -3.439468)', '2026-06-09 13:46:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404026 -3.439391)'), GeomFromEWKT('SRID=4674;POINT (-38.404082 -3.439468)'))) / (select extract(epoch from '2026-06-09 13:46:18'::timestamp) - extract(epoch from '2026-06-09 13:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404026 -3.439391)'), GeomFromEWKT('SRID=4674;POINT (-38.404082 -3.439468)'))) / (select extract(epoch from '2026-06-09 13:46:18'::timestamp) - extract(epoch from '2026-06-09 13:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.404136 -3.439553)', '2026-06-09 13:46:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404082 -3.439468)'), GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.439553)'))) / (select extract(epoch from '2026-06-09 13:46:24'::timestamp) - extract(epoch from '2026-06-09 13:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404082 -3.439468)'), GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.439553)'))) / (select extract(epoch from '2026-06-09 13:46:24'::timestamp) - extract(epoch from '2026-06-09 13:46: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'), 46534, 'SRID=4674;POINT (-38.404171 -3.439595)', '2026-06-09 13:46:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.439553)'), GeomFromEWKT('SRID=4674;POINT (-38.404171 -3.439595)'))) / (select extract(epoch from '2026-06-09 13:46:27'::timestamp) - extract(epoch from '2026-06-09 13:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.439553)'), GeomFromEWKT('SRID=4674;POINT (-38.404171 -3.439595)'))) / (select extract(epoch from '2026-06-09 13:46:27'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.404184 -3.439624)', '2026-06-09 13:46:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404171 -3.439595)'), GeomFromEWKT('SRID=4674;POINT (-38.404184 -3.439624)'))) / (select extract(epoch from '2026-06-09 13:46:29'::timestamp) - extract(epoch from '2026-06-09 13:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404171 -3.439595)'), GeomFromEWKT('SRID=4674;POINT (-38.404184 -3.439624)'))) / (select extract(epoch from '2026-06-09 13:46:29'::timestamp) - extract(epoch from '2026-06-09 13:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.404245 -3.43971)', '2026-06-09 13:46:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404184 -3.439624)'), GeomFromEWKT('SRID=4674;POINT (-38.404245 -3.43971)'))) / (select extract(epoch from '2026-06-09 13:46:35'::timestamp) - extract(epoch from '2026-06-09 13:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404184 -3.439624)'), GeomFromEWKT('SRID=4674;POINT (-38.404245 -3.43971)'))) / (select extract(epoch from '2026-06-09 13:46:35'::timestamp) - extract(epoch from '2026-06-09 13:46: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'), 46534, 'SRID=4674;POINT (-38.404309 -3.439796)', '2026-06-09 13:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404245 -3.43971)'), GeomFromEWKT('SRID=4674;POINT (-38.404309 -3.439796)'))) / (select extract(epoch from '2026-06-09 13:46:41'::timestamp) - extract(epoch from '2026-06-09 13:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404245 -3.43971)'), GeomFromEWKT('SRID=4674;POINT (-38.404309 -3.439796)'))) / (select extract(epoch from '2026-06-09 13:46:41'::timestamp) - extract(epoch from '2026-06-09 13:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.404368 -3.439873)', '2026-06-09 13:46:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404309 -3.439796)'), GeomFromEWKT('SRID=4674;POINT (-38.404368 -3.439873)'))) / (select extract(epoch from '2026-06-09 13:46:46'::timestamp) - extract(epoch from '2026-06-09 13:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404309 -3.439796)'), GeomFromEWKT('SRID=4674;POINT (-38.404368 -3.439873)'))) / (select extract(epoch from '2026-06-09 13:46:46'::timestamp) - extract(epoch from '2026-06-09 13:46: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'), 46534, 'SRID=4674;POINT (-38.404441 -3.43998)', '2026-06-09 13:46:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404368 -3.439873)'), GeomFromEWKT('SRID=4674;POINT (-38.404441 -3.43998)'))) / (select extract(epoch from '2026-06-09 13:46:53'::timestamp) - extract(epoch from '2026-06-09 13:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404368 -3.439873)'), GeomFromEWKT('SRID=4674;POINT (-38.404441 -3.43998)'))) / (select extract(epoch from '2026-06-09 13:46:53'::timestamp) - extract(epoch from '2026-06-09 13:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.404486 -3.440053)', '2026-06-09 13:46:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404441 -3.43998)'), GeomFromEWKT('SRID=4674;POINT (-38.404486 -3.440053)'))) / (select extract(epoch from '2026-06-09 13:46:58'::timestamp) - extract(epoch from '2026-06-09 13:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404441 -3.43998)'), GeomFromEWKT('SRID=4674;POINT (-38.404486 -3.440053)'))) / (select extract(epoch from '2026-06-09 13:46:58'::timestamp) - extract(epoch from '2026-06-09 13:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.404524 -3.440129)', '2026-06-09 13:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404486 -3.440053)'), GeomFromEWKT('SRID=4674;POINT (-38.404524 -3.440129)'))) / (select extract(epoch from '2026-06-09 13:47:03'::timestamp) - extract(epoch from '2026-06-09 13:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404486 -3.440053)'), GeomFromEWKT('SRID=4674;POINT (-38.404524 -3.440129)'))) / (select extract(epoch from '2026-06-09 13:47:03'::timestamp) - extract(epoch from '2026-06-09 13:46: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'), 46534, 'SRID=4674;POINT (-38.404539 -3.440168)', '2026-06-09 13:47:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404524 -3.440129)'), GeomFromEWKT('SRID=4674;POINT (-38.404539 -3.440168)'))) / (select extract(epoch from '2026-06-09 13:47:05'::timestamp) - extract(epoch from '2026-06-09 13:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404524 -3.440129)'), GeomFromEWKT('SRID=4674;POINT (-38.404539 -3.440168)'))) / (select extract(epoch from '2026-06-09 13:47:05'::timestamp) - extract(epoch from '2026-06-09 13:47: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'), 46534, 'SRID=4674;POINT (-38.404562 -3.440236)', '2026-06-09 13:47:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404539 -3.440168)'), GeomFromEWKT('SRID=4674;POINT (-38.404562 -3.440236)'))) / (select extract(epoch from '2026-06-09 13:47:09'::timestamp) - extract(epoch from '2026-06-09 13:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404539 -3.440168)'), GeomFromEWKT('SRID=4674;POINT (-38.404562 -3.440236)'))) / (select extract(epoch from '2026-06-09 13:47:09'::timestamp) - extract(epoch from '2026-06-09 13:47: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'), 46534, 'SRID=4674;POINT (-38.404569 -3.440251)', '2026-06-09 13:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404562 -3.440236)'), GeomFromEWKT('SRID=4674;POINT (-38.404569 -3.440251)'))) / (select extract(epoch from '2026-06-09 13:47:10'::timestamp) - extract(epoch from '2026-06-09 13:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404562 -3.440236)'), GeomFromEWKT('SRID=4674;POINT (-38.404569 -3.440251)'))) / (select extract(epoch from '2026-06-09 13:47:10'::timestamp) - extract(epoch from '2026-06-09 13:47:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.404595 -3.440297)', '2026-06-09 13:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404569 -3.440251)'), GeomFromEWKT('SRID=4674;POINT (-38.404595 -3.440297)'))) / (select extract(epoch from '2026-06-09 13:47:13'::timestamp) - extract(epoch from '2026-06-09 13:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404569 -3.440251)'), GeomFromEWKT('SRID=4674;POINT (-38.404595 -3.440297)'))) / (select extract(epoch from '2026-06-09 13:47:13'::timestamp) - extract(epoch from '2026-06-09 13:47: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'), 46534, 'SRID=4674;POINT (-38.404625 -3.440361)', '2026-06-09 13:47:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404595 -3.440297)'), GeomFromEWKT('SRID=4674;POINT (-38.404625 -3.440361)'))) / (select extract(epoch from '2026-06-09 13:47:18'::timestamp) - extract(epoch from '2026-06-09 13:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404595 -3.440297)'), GeomFromEWKT('SRID=4674;POINT (-38.404625 -3.440361)'))) / (select extract(epoch from '2026-06-09 13:47:18'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.404673 -3.440459)', '2026-06-09 13:47:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404625 -3.440361)'), GeomFromEWKT('SRID=4674;POINT (-38.404673 -3.440459)'))) / (select extract(epoch from '2026-06-09 13:47:24'::timestamp) - extract(epoch from '2026-06-09 13:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404625 -3.440361)'), GeomFromEWKT('SRID=4674;POINT (-38.404673 -3.440459)'))) / (select extract(epoch from '2026-06-09 13:47:24'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.404722 -3.440544)', '2026-06-09 13:47:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404673 -3.440459)'), GeomFromEWKT('SRID=4674;POINT (-38.404722 -3.440544)'))) / (select extract(epoch from '2026-06-09 13:47:30'::timestamp) - extract(epoch from '2026-06-09 13:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404673 -3.440459)'), GeomFromEWKT('SRID=4674;POINT (-38.404722 -3.440544)'))) / (select extract(epoch from '2026-06-09 13:47:30'::timestamp) - extract(epoch from '2026-06-09 13:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.404738 -3.440589)', '2026-06-09 13:47:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404722 -3.440544)'), GeomFromEWKT('SRID=4674;POINT (-38.404738 -3.440589)'))) / (select extract(epoch from '2026-06-09 13:47:33'::timestamp) - extract(epoch from '2026-06-09 13:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404722 -3.440544)'), GeomFromEWKT('SRID=4674;POINT (-38.404738 -3.440589)'))) / (select extract(epoch from '2026-06-09 13:47:33'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.404755 -3.440616)', '2026-06-09 13:47:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404738 -3.440589)'), GeomFromEWKT('SRID=4674;POINT (-38.404755 -3.440616)'))) / (select extract(epoch from '2026-06-09 13:47:35'::timestamp) - extract(epoch from '2026-06-09 13:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404738 -3.440589)'), GeomFromEWKT('SRID=4674;POINT (-38.404755 -3.440616)'))) / (select extract(epoch from '2026-06-09 13:47:35'::timestamp) - extract(epoch from '2026-06-09 13:47: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'), 46534, 'SRID=4674;POINT (-38.404804 -3.440706)', '2026-06-09 13:47:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404755 -3.440616)'), GeomFromEWKT('SRID=4674;POINT (-38.404804 -3.440706)'))) / (select extract(epoch from '2026-06-09 13:47:41'::timestamp) - extract(epoch from '2026-06-09 13:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404755 -3.440616)'), GeomFromEWKT('SRID=4674;POINT (-38.404804 -3.440706)'))) / (select extract(epoch from '2026-06-09 13:47:41'::timestamp) - extract(epoch from '2026-06-09 13:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.404818 -3.44074)', '2026-06-09 13:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404804 -3.440706)'), GeomFromEWKT('SRID=4674;POINT (-38.404818 -3.44074)'))) / (select extract(epoch from '2026-06-09 13:47:43'::timestamp) - extract(epoch from '2026-06-09 13:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404804 -3.440706)'), GeomFromEWKT('SRID=4674;POINT (-38.404818 -3.44074)'))) / (select extract(epoch from '2026-06-09 13:47:43'::timestamp) - extract(epoch from '2026-06-09 13:47: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'), 46534, 'SRID=4674;POINT (-38.404845 -3.440792)', '2026-06-09 13:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404818 -3.44074)'), GeomFromEWKT('SRID=4674;POINT (-38.404845 -3.440792)'))) / (select extract(epoch from '2026-06-09 13:47:46'::timestamp) - extract(epoch from '2026-06-09 13:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404818 -3.44074)'), GeomFromEWKT('SRID=4674;POINT (-38.404845 -3.440792)'))) / (select extract(epoch from '2026-06-09 13:47:46'::timestamp) - extract(epoch from '2026-06-09 13:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.404854 -3.440823)', '2026-06-09 13:47:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404845 -3.440792)'), GeomFromEWKT('SRID=4674;POINT (-38.404854 -3.440823)'))) / (select extract(epoch from '2026-06-09 13:47:48'::timestamp) - extract(epoch from '2026-06-09 13:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404845 -3.440792)'), GeomFromEWKT('SRID=4674;POINT (-38.404854 -3.440823)'))) / (select extract(epoch from '2026-06-09 13:47:48'::timestamp) - extract(epoch from '2026-06-09 13:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.404872 -3.440854)', '2026-06-09 13:47:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404854 -3.440823)'), GeomFromEWKT('SRID=4674;POINT (-38.404872 -3.440854)'))) / (select extract(epoch from '2026-06-09 13:47:50'::timestamp) - extract(epoch from '2026-06-09 13:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404854 -3.440823)'), GeomFromEWKT('SRID=4674;POINT (-38.404872 -3.440854)'))) / (select extract(epoch from '2026-06-09 13:47:50'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.404876 -3.440868)', '2026-06-09 13:47:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404872 -3.440854)'), GeomFromEWKT('SRID=4674;POINT (-38.404876 -3.440868)'))) / (select extract(epoch from '2026-06-09 13:47:51'::timestamp) - extract(epoch from '2026-06-09 13:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404872 -3.440854)'), GeomFromEWKT('SRID=4674;POINT (-38.404876 -3.440868)'))) / (select extract(epoch from '2026-06-09 13:47:51'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.404926 -3.440974)', '2026-06-09 13:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404876 -3.440868)'), GeomFromEWKT('SRID=4674;POINT (-38.404926 -3.440974)'))) / (select extract(epoch from '2026-06-09 13:47:58'::timestamp) - extract(epoch from '2026-06-09 13:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404876 -3.440868)'), GeomFromEWKT('SRID=4674;POINT (-38.404926 -3.440974)'))) / (select extract(epoch from '2026-06-09 13:47:58'::timestamp) - extract(epoch from '2026-06-09 13:47:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.404957 -3.441036)', '2026-06-09 13:48:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404926 -3.440974)'), GeomFromEWKT('SRID=4674;POINT (-38.404957 -3.441036)'))) / (select extract(epoch from '2026-06-09 13:48:03'::timestamp) - extract(epoch from '2026-06-09 13:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404926 -3.440974)'), GeomFromEWKT('SRID=4674;POINT (-38.404957 -3.441036)'))) / (select extract(epoch from '2026-06-09 13:48:03'::timestamp) - extract(epoch from '2026-06-09 13:47: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'), 46534, 'SRID=4674;POINT (-38.405011 -3.441084)', '2026-06-09 13:48:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404957 -3.441036)'), GeomFromEWKT('SRID=4674;POINT (-38.405011 -3.441084)'))) / (select extract(epoch from '2026-06-09 13:48:09'::timestamp) - extract(epoch from '2026-06-09 13:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404957 -3.441036)'), GeomFromEWKT('SRID=4674;POINT (-38.405011 -3.441084)'))) / (select extract(epoch from '2026-06-09 13:48:09'::timestamp) - extract(epoch from '2026-06-09 13:48: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'), 46534, 'SRID=4674;POINT (-38.405093 -3.441161)', '2026-06-09 13:48:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405011 -3.441084)'), GeomFromEWKT('SRID=4674;POINT (-38.405093 -3.441161)'))) / (select extract(epoch from '2026-06-09 13:48:16'::timestamp) - extract(epoch from '2026-06-09 13:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405011 -3.441084)'), GeomFromEWKT('SRID=4674;POINT (-38.405093 -3.441161)'))) / (select extract(epoch from '2026-06-09 13:48:16'::timestamp) - extract(epoch from '2026-06-09 13:48: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'), 46534, 'SRID=4674;POINT (-38.405146 -3.441228)', '2026-06-09 13:48:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405093 -3.441161)'), GeomFromEWKT('SRID=4674;POINT (-38.405146 -3.441228)'))) / (select extract(epoch from '2026-06-09 13:48:21'::timestamp) - extract(epoch from '2026-06-09 13:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405093 -3.441161)'), GeomFromEWKT('SRID=4674;POINT (-38.405146 -3.441228)'))) / (select extract(epoch from '2026-06-09 13:48:21'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.405194 -3.441309)', '2026-06-09 13:48:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405146 -3.441228)'), GeomFromEWKT('SRID=4674;POINT (-38.405194 -3.441309)'))) / (select extract(epoch from '2026-06-09 13:48:26'::timestamp) - extract(epoch from '2026-06-09 13:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405146 -3.441228)'), GeomFromEWKT('SRID=4674;POINT (-38.405194 -3.441309)'))) / (select extract(epoch from '2026-06-09 13:48:26'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.405248 -3.441409)', '2026-06-09 13:48:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405194 -3.441309)'), GeomFromEWKT('SRID=4674;POINT (-38.405248 -3.441409)'))) / (select extract(epoch from '2026-06-09 13:48:32'::timestamp) - extract(epoch from '2026-06-09 13:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405194 -3.441309)'), GeomFromEWKT('SRID=4674;POINT (-38.405248 -3.441409)'))) / (select extract(epoch from '2026-06-09 13:48:32'::timestamp) - extract(epoch from '2026-06-09 13:48: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'), 46534, 'SRID=4674;POINT (-38.405304 -3.441513)', '2026-06-09 13:48:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405248 -3.441409)'), GeomFromEWKT('SRID=4674;POINT (-38.405304 -3.441513)'))) / (select extract(epoch from '2026-06-09 13:48:38'::timestamp) - extract(epoch from '2026-06-09 13:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405248 -3.441409)'), GeomFromEWKT('SRID=4674;POINT (-38.405304 -3.441513)'))) / (select extract(epoch from '2026-06-09 13:48:38'::timestamp) - extract(epoch from '2026-06-09 13:48: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'), 46534, 'SRID=4674;POINT (-38.405327 -3.441583)', '2026-06-09 13:48:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405304 -3.441513)'), GeomFromEWKT('SRID=4674;POINT (-38.405327 -3.441583)'))) / (select extract(epoch from '2026-06-09 13:48:43'::timestamp) - extract(epoch from '2026-06-09 13:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405304 -3.441513)'), GeomFromEWKT('SRID=4674;POINT (-38.405327 -3.441583)'))) / (select extract(epoch from '2026-06-09 13:48:43'::timestamp) - extract(epoch from '2026-06-09 13:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.40538 -3.441659)', '2026-06-09 13:48:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405327 -3.441583)'), GeomFromEWKT('SRID=4674;POINT (-38.40538 -3.441659)'))) / (select extract(epoch from '2026-06-09 13:48:48'::timestamp) - extract(epoch from '2026-06-09 13:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405327 -3.441583)'), GeomFromEWKT('SRID=4674;POINT (-38.40538 -3.441659)'))) / (select extract(epoch from '2026-06-09 13:48:48'::timestamp) - extract(epoch from '2026-06-09 13:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.405439 -3.441741)', '2026-06-09 13:48:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40538 -3.441659)'), GeomFromEWKT('SRID=4674;POINT (-38.405439 -3.441741)'))) / (select extract(epoch from '2026-06-09 13:48:53'::timestamp) - extract(epoch from '2026-06-09 13:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40538 -3.441659)'), GeomFromEWKT('SRID=4674;POINT (-38.405439 -3.441741)'))) / (select extract(epoch from '2026-06-09 13:48:53'::timestamp) - extract(epoch from '2026-06-09 13:48: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'), 46534, 'SRID=4674;POINT (-38.405487 -3.441823)', '2026-06-09 13:48:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405439 -3.441741)'), GeomFromEWKT('SRID=4674;POINT (-38.405487 -3.441823)'))) / (select extract(epoch from '2026-06-09 13:48:58'::timestamp) - extract(epoch from '2026-06-09 13:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405439 -3.441741)'), GeomFromEWKT('SRID=4674;POINT (-38.405487 -3.441823)'))) / (select extract(epoch from '2026-06-09 13:48:58'::timestamp) - extract(epoch from '2026-06-09 13:48: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'), 46534, 'SRID=4674;POINT (-38.405547 -3.441943)', '2026-06-09 13:49:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405487 -3.441823)'), GeomFromEWKT('SRID=4674;POINT (-38.405547 -3.441943)'))) / (select extract(epoch from '2026-06-09 13:49:05'::timestamp) - extract(epoch from '2026-06-09 13:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405487 -3.441823)'), GeomFromEWKT('SRID=4674;POINT (-38.405547 -3.441943)'))) / (select extract(epoch from '2026-06-09 13:49:05'::timestamp) - extract(epoch from '2026-06-09 13:48: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'), 46534, 'SRID=4674;POINT (-38.405577 -3.442027)', '2026-06-09 13:49:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405547 -3.441943)'), GeomFromEWKT('SRID=4674;POINT (-38.405577 -3.442027)'))) / (select extract(epoch from '2026-06-09 13:49:10'::timestamp) - extract(epoch from '2026-06-09 13:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405547 -3.441943)'), GeomFromEWKT('SRID=4674;POINT (-38.405577 -3.442027)'))) / (select extract(epoch from '2026-06-09 13:49:10'::timestamp) - extract(epoch from '2026-06-09 13:49: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'), 46534, 'SRID=4674;POINT (-38.405589 -3.44206)', '2026-06-09 13:49:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405577 -3.442027)'), GeomFromEWKT('SRID=4674;POINT (-38.405589 -3.44206)'))) / (select extract(epoch from '2026-06-09 13:49:12'::timestamp) - extract(epoch from '2026-06-09 13:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405577 -3.442027)'), GeomFromEWKT('SRID=4674;POINT (-38.405589 -3.44206)'))) / (select extract(epoch from '2026-06-09 13:49:12'::timestamp) - extract(epoch from '2026-06-09 13:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.405621 -3.442117)', '2026-06-09 13:49:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405589 -3.44206)'), GeomFromEWKT('SRID=4674;POINT (-38.405621 -3.442117)'))) / (select extract(epoch from '2026-06-09 13:49:15'::timestamp) - extract(epoch from '2026-06-09 13:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405589 -3.44206)'), GeomFromEWKT('SRID=4674;POINT (-38.405621 -3.442117)'))) / (select extract(epoch from '2026-06-09 13:49:15'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.405666 -3.4422)', '2026-06-09 13:49:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405621 -3.442117)'), GeomFromEWKT('SRID=4674;POINT (-38.405666 -3.4422)'))) / (select extract(epoch from '2026-06-09 13:49:20'::timestamp) - extract(epoch from '2026-06-09 13:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405621 -3.442117)'), GeomFromEWKT('SRID=4674;POINT (-38.405666 -3.4422)'))) / (select extract(epoch from '2026-06-09 13:49:20'::timestamp) - extract(epoch from '2026-06-09 13:49:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.405744 -3.442339)', '2026-06-09 13:49:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405666 -3.4422)'), GeomFromEWKT('SRID=4674;POINT (-38.405744 -3.442339)'))) / (select extract(epoch from '2026-06-09 13:49:28'::timestamp) - extract(epoch from '2026-06-09 13:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405666 -3.4422)'), GeomFromEWKT('SRID=4674;POINT (-38.405744 -3.442339)'))) / (select extract(epoch from '2026-06-09 13:49:28'::timestamp) - extract(epoch from '2026-06-09 13:49: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'), 46534, 'SRID=4674;POINT (-38.405798 -3.442438)', '2026-06-09 13:49:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405744 -3.442339)'), GeomFromEWKT('SRID=4674;POINT (-38.405798 -3.442438)'))) / (select extract(epoch from '2026-06-09 13:49:34'::timestamp) - extract(epoch from '2026-06-09 13:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405744 -3.442339)'), GeomFromEWKT('SRID=4674;POINT (-38.405798 -3.442438)'))) / (select extract(epoch from '2026-06-09 13:49:34'::timestamp) - extract(epoch from '2026-06-09 13:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.405858 -3.442559)', '2026-06-09 13:49:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405798 -3.442438)'), GeomFromEWKT('SRID=4674;POINT (-38.405858 -3.442559)'))) / (select extract(epoch from '2026-06-09 13:49:41'::timestamp) - extract(epoch from '2026-06-09 13:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405798 -3.442438)'), GeomFromEWKT('SRID=4674;POINT (-38.405858 -3.442559)'))) / (select extract(epoch from '2026-06-09 13:49:41'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.405894 -3.442632)', '2026-06-09 13:49:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405858 -3.442559)'), GeomFromEWKT('SRID=4674;POINT (-38.405894 -3.442632)'))) / (select extract(epoch from '2026-06-09 13:49:46'::timestamp) - extract(epoch from '2026-06-09 13:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405858 -3.442559)'), GeomFromEWKT('SRID=4674;POINT (-38.405894 -3.442632)'))) / (select extract(epoch from '2026-06-09 13:49:46'::timestamp) - extract(epoch from '2026-06-09 13:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.405926 -3.442677)', '2026-06-09 13:49:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405894 -3.442632)'), GeomFromEWKT('SRID=4674;POINT (-38.405926 -3.442677)'))) / (select extract(epoch from '2026-06-09 13:49:49'::timestamp) - extract(epoch from '2026-06-09 13:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405894 -3.442632)'), GeomFromEWKT('SRID=4674;POINT (-38.405926 -3.442677)'))) / (select extract(epoch from '2026-06-09 13:49:49'::timestamp) - extract(epoch from '2026-06-09 13:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.405946 -3.442721)', '2026-06-09 13:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405926 -3.442677)'), GeomFromEWKT('SRID=4674;POINT (-38.405946 -3.442721)'))) / (select extract(epoch from '2026-06-09 13:49:52'::timestamp) - extract(epoch from '2026-06-09 13:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405926 -3.442677)'), GeomFromEWKT('SRID=4674;POINT (-38.405946 -3.442721)'))) / (select extract(epoch from '2026-06-09 13:49:52'::timestamp) - extract(epoch from '2026-06-09 13:49: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'), 46534, 'SRID=4674;POINT (-38.405994 -3.442787)', '2026-06-09 13:49:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405946 -3.442721)'), GeomFromEWKT('SRID=4674;POINT (-38.405994 -3.442787)'))) / (select extract(epoch from '2026-06-09 13:49:57'::timestamp) - extract(epoch from '2026-06-09 13:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405946 -3.442721)'), GeomFromEWKT('SRID=4674;POINT (-38.405994 -3.442787)'))) / (select extract(epoch from '2026-06-09 13:49:57'::timestamp) - extract(epoch from '2026-06-09 13:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.406042 -3.442853)', '2026-06-09 13:50:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405994 -3.442787)'), GeomFromEWKT('SRID=4674;POINT (-38.406042 -3.442853)'))) / (select extract(epoch from '2026-06-09 13:50:02'::timestamp) - extract(epoch from '2026-06-09 13:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405994 -3.442787)'), GeomFromEWKT('SRID=4674;POINT (-38.406042 -3.442853)'))) / (select extract(epoch from '2026-06-09 13:50:02'::timestamp) - extract(epoch from '2026-06-09 13:49: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'), 46534, 'SRID=4674;POINT (-38.406047 -3.442864)', '2026-06-09 13:50:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406042 -3.442853)'), GeomFromEWKT('SRID=4674;POINT (-38.406047 -3.442864)'))) / (select extract(epoch from '2026-06-09 13:50:03'::timestamp) - extract(epoch from '2026-06-09 13:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406042 -3.442853)'), GeomFromEWKT('SRID=4674;POINT (-38.406047 -3.442864)'))) / (select extract(epoch from '2026-06-09 13:50:03'::timestamp) - extract(epoch from '2026-06-09 13:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.40606 -3.442884)', '2026-06-09 13:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406047 -3.442864)'), GeomFromEWKT('SRID=4674;POINT (-38.40606 -3.442884)'))) / (select extract(epoch from '2026-06-09 13:50:05'::timestamp) - extract(epoch from '2026-06-09 13:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406047 -3.442864)'), GeomFromEWKT('SRID=4674;POINT (-38.40606 -3.442884)'))) / (select extract(epoch from '2026-06-09 13:50:05'::timestamp) - extract(epoch from '2026-06-09 13:50: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'), 46534, 'SRID=4674;POINT (-38.406081 -3.442908)', '2026-06-09 13:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40606 -3.442884)'), GeomFromEWKT('SRID=4674;POINT (-38.406081 -3.442908)'))) / (select extract(epoch from '2026-06-09 13:50:07'::timestamp) - extract(epoch from '2026-06-09 13:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40606 -3.442884)'), GeomFromEWKT('SRID=4674;POINT (-38.406081 -3.442908)'))) / (select extract(epoch from '2026-06-09 13:50:07'::timestamp) - extract(epoch from '2026-06-09 13:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.406136 -3.442983)', '2026-06-09 13:50:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406081 -3.442908)'), GeomFromEWKT('SRID=4674;POINT (-38.406136 -3.442983)'))) / (select extract(epoch from '2026-06-09 13:50:13'::timestamp) - extract(epoch from '2026-06-09 13:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406081 -3.442908)'), GeomFromEWKT('SRID=4674;POINT (-38.406136 -3.442983)'))) / (select extract(epoch from '2026-06-09 13:50:13'::timestamp) - extract(epoch from '2026-06-09 13:50: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'), 46534, 'SRID=4674;POINT (-38.406203 -3.443067)', '2026-06-09 13:50:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406136 -3.442983)'), GeomFromEWKT('SRID=4674;POINT (-38.406203 -3.443067)'))) / (select extract(epoch from '2026-06-09 13:50:20'::timestamp) - extract(epoch from '2026-06-09 13:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406136 -3.442983)'), GeomFromEWKT('SRID=4674;POINT (-38.406203 -3.443067)'))) / (select extract(epoch from '2026-06-09 13:50:20'::timestamp) - extract(epoch from '2026-06-09 13:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.406266 -3.443149)', '2026-06-09 13:50:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406203 -3.443067)'), GeomFromEWKT('SRID=4674;POINT (-38.406266 -3.443149)'))) / (select extract(epoch from '2026-06-09 13:50:26'::timestamp) - extract(epoch from '2026-06-09 13:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406203 -3.443067)'), GeomFromEWKT('SRID=4674;POINT (-38.406266 -3.443149)'))) / (select extract(epoch from '2026-06-09 13:50:26'::timestamp) - extract(epoch from '2026-06-09 13:50: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'), 46534, 'SRID=4674;POINT (-38.406344 -3.443244)', '2026-06-09 13:50:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406266 -3.443149)'), GeomFromEWKT('SRID=4674;POINT (-38.406344 -3.443244)'))) / (select extract(epoch from '2026-06-09 13:50:33'::timestamp) - extract(epoch from '2026-06-09 13:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406266 -3.443149)'), GeomFromEWKT('SRID=4674;POINT (-38.406344 -3.443244)'))) / (select extract(epoch from '2026-06-09 13:50:33'::timestamp) - extract(epoch from '2026-06-09 13:50: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'), 46534, 'SRID=4674;POINT (-38.406397 -3.443331)', '2026-06-09 13:50:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406344 -3.443244)'), GeomFromEWKT('SRID=4674;POINT (-38.406397 -3.443331)'))) / (select extract(epoch from '2026-06-09 13:50:39'::timestamp) - extract(epoch from '2026-06-09 13:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406344 -3.443244)'), GeomFromEWKT('SRID=4674;POINT (-38.406397 -3.443331)'))) / (select extract(epoch from '2026-06-09 13:50:39'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.406445 -3.443418)', '2026-06-09 13:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406397 -3.443331)'), GeomFromEWKT('SRID=4674;POINT (-38.406445 -3.443418)'))) / (select extract(epoch from '2026-06-09 13:50:45'::timestamp) - extract(epoch from '2026-06-09 13:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406397 -3.443331)'), GeomFromEWKT('SRID=4674;POINT (-38.406445 -3.443418)'))) / (select extract(epoch from '2026-06-09 13:50:45'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.406503 -3.443507)', '2026-06-09 13:50:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406445 -3.443418)'), GeomFromEWKT('SRID=4674;POINT (-38.406503 -3.443507)'))) / (select extract(epoch from '2026-06-09 13:50:51'::timestamp) - extract(epoch from '2026-06-09 13:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406445 -3.443418)'), GeomFromEWKT('SRID=4674;POINT (-38.406503 -3.443507)'))) / (select extract(epoch from '2026-06-09 13:50:51'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.40655 -3.443577)', '2026-06-09 13:50:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406503 -3.443507)'), GeomFromEWKT('SRID=4674;POINT (-38.40655 -3.443577)'))) / (select extract(epoch from '2026-06-09 13:50:56'::timestamp) - extract(epoch from '2026-06-09 13:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406503 -3.443507)'), GeomFromEWKT('SRID=4674;POINT (-38.40655 -3.443577)'))) / (select extract(epoch from '2026-06-09 13:50:56'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.406556 -3.443594)', '2026-06-09 13:50:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40655 -3.443577)'), GeomFromEWKT('SRID=4674;POINT (-38.406556 -3.443594)'))) / (select extract(epoch from '2026-06-09 13:50:57'::timestamp) - extract(epoch from '2026-06-09 13:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40655 -3.443577)'), GeomFromEWKT('SRID=4674;POINT (-38.406556 -3.443594)'))) / (select extract(epoch from '2026-06-09 13:50:57'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.406563 -3.443609)', '2026-06-09 13:50:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406556 -3.443594)'), GeomFromEWKT('SRID=4674;POINT (-38.406563 -3.443609)'))) / (select extract(epoch from '2026-06-09 13:50:58'::timestamp) - extract(epoch from '2026-06-09 13:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406556 -3.443594)'), GeomFromEWKT('SRID=4674;POINT (-38.406563 -3.443609)'))) / (select extract(epoch from '2026-06-09 13:50:58'::timestamp) - extract(epoch from '2026-06-09 13:50: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'), 46534, 'SRID=4674;POINT (-38.406579 -3.443634)', '2026-06-09 13:51:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406563 -3.443609)'), GeomFromEWKT('SRID=4674;POINT (-38.406579 -3.443634)'))) / (select extract(epoch from '2026-06-09 13:51:00'::timestamp) - extract(epoch from '2026-06-09 13:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406563 -3.443609)'), GeomFromEWKT('SRID=4674;POINT (-38.406579 -3.443634)'))) / (select extract(epoch from '2026-06-09 13:51:00'::timestamp) - extract(epoch from '2026-06-09 13:50: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'), 46534, 'SRID=4674;POINT (-38.406589 -3.443654)', '2026-06-09 13:51:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406579 -3.443634)'), GeomFromEWKT('SRID=4674;POINT (-38.406589 -3.443654)'))) / (select extract(epoch from '2026-06-09 13:51:02'::timestamp) - extract(epoch from '2026-06-09 13:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406579 -3.443634)'), GeomFromEWKT('SRID=4674;POINT (-38.406589 -3.443654)'))) / (select extract(epoch from '2026-06-09 13:51:02'::timestamp) - extract(epoch from '2026-06-09 13:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.406603 -3.443683)', '2026-06-09 13:51:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406589 -3.443654)'), GeomFromEWKT('SRID=4674;POINT (-38.406603 -3.443683)'))) / (select extract(epoch from '2026-06-09 13:51:05'::timestamp) - extract(epoch from '2026-06-09 13:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406589 -3.443654)'), GeomFromEWKT('SRID=4674;POINT (-38.406603 -3.443683)'))) / (select extract(epoch from '2026-06-09 13:51:05'::timestamp) - extract(epoch from '2026-06-09 13:51: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'), 46534, 'SRID=4674;POINT (-38.406628 -3.443708)', '2026-06-09 13:51:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406603 -3.443683)'), GeomFromEWKT('SRID=4674;POINT (-38.406628 -3.443708)'))) / (select extract(epoch from '2026-06-09 13:51:07'::timestamp) - extract(epoch from '2026-06-09 13:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406603 -3.443683)'), GeomFromEWKT('SRID=4674;POINT (-38.406628 -3.443708)'))) / (select extract(epoch from '2026-06-09 13:51:07'::timestamp) - extract(epoch from '2026-06-09 13:51:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.406686 -3.443771)', '2026-06-09 13:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406628 -3.443708)'), GeomFromEWKT('SRID=4674;POINT (-38.406686 -3.443771)'))) / (select extract(epoch from '2026-06-09 13:51:13'::timestamp) - extract(epoch from '2026-06-09 13:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406628 -3.443708)'), GeomFromEWKT('SRID=4674;POINT (-38.406686 -3.443771)'))) / (select extract(epoch from '2026-06-09 13:51:13'::timestamp) - extract(epoch from '2026-06-09 13:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.406754 -3.443856)', '2026-06-09 13:51:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406686 -3.443771)'), GeomFromEWKT('SRID=4674;POINT (-38.406754 -3.443856)'))) / (select extract(epoch from '2026-06-09 13:51:20'::timestamp) - extract(epoch from '2026-06-09 13:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406686 -3.443771)'), GeomFromEWKT('SRID=4674;POINT (-38.406754 -3.443856)'))) / (select extract(epoch from '2026-06-09 13:51:20'::timestamp) - extract(epoch from '2026-06-09 13:51: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'), 46534, 'SRID=4674;POINT (-38.406775 -3.44388)', '2026-06-09 13:51:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406754 -3.443856)'), GeomFromEWKT('SRID=4674;POINT (-38.406775 -3.44388)'))) / (select extract(epoch from '2026-06-09 13:51:22'::timestamp) - extract(epoch from '2026-06-09 13:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406754 -3.443856)'), GeomFromEWKT('SRID=4674;POINT (-38.406775 -3.44388)'))) / (select extract(epoch from '2026-06-09 13:51:22'::timestamp) - extract(epoch from '2026-06-09 13:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.406806 -3.443913)', '2026-06-09 13:51:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406775 -3.44388)'), GeomFromEWKT('SRID=4674;POINT (-38.406806 -3.443913)'))) / (select extract(epoch from '2026-06-09 13:51:25'::timestamp) - extract(epoch from '2026-06-09 13:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406775 -3.44388)'), GeomFromEWKT('SRID=4674;POINT (-38.406806 -3.443913)'))) / (select extract(epoch from '2026-06-09 13:51:25'::timestamp) - extract(epoch from '2026-06-09 13:51:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.406868 -3.443976)', '2026-06-09 13:51:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406806 -3.443913)'), GeomFromEWKT('SRID=4674;POINT (-38.406868 -3.443976)'))) / (select extract(epoch from '2026-06-09 13:51:31'::timestamp) - extract(epoch from '2026-06-09 13:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406806 -3.443913)'), GeomFromEWKT('SRID=4674;POINT (-38.406868 -3.443976)'))) / (select extract(epoch from '2026-06-09 13:51:31'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.406935 -3.444045)', '2026-06-09 13:51:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406868 -3.443976)'), GeomFromEWKT('SRID=4674;POINT (-38.406935 -3.444045)'))) / (select extract(epoch from '2026-06-09 13:51:37'::timestamp) - extract(epoch from '2026-06-09 13:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406868 -3.443976)'), GeomFromEWKT('SRID=4674;POINT (-38.406935 -3.444045)'))) / (select extract(epoch from '2026-06-09 13:51:37'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.406989 -3.444104)', '2026-06-09 13:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406935 -3.444045)'), GeomFromEWKT('SRID=4674;POINT (-38.406989 -3.444104)'))) / (select extract(epoch from '2026-06-09 13:51:42'::timestamp) - extract(epoch from '2026-06-09 13:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406935 -3.444045)'), GeomFromEWKT('SRID=4674;POINT (-38.406989 -3.444104)'))) / (select extract(epoch from '2026-06-09 13:51:42'::timestamp) - extract(epoch from '2026-06-09 13:51: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'), 46534, 'SRID=4674;POINT (-38.407071 -3.444195)', '2026-06-09 13:51:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406989 -3.444104)'), GeomFromEWKT('SRID=4674;POINT (-38.407071 -3.444195)'))) / (select extract(epoch from '2026-06-09 13:51:49'::timestamp) - extract(epoch from '2026-06-09 13:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406989 -3.444104)'), GeomFromEWKT('SRID=4674;POINT (-38.407071 -3.444195)'))) / (select extract(epoch from '2026-06-09 13:51:49'::timestamp) - extract(epoch from '2026-06-09 13:51: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'), 46534, 'SRID=4674;POINT (-38.407118 -3.444254)', '2026-06-09 13:51:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407071 -3.444195)'), GeomFromEWKT('SRID=4674;POINT (-38.407118 -3.444254)'))) / (select extract(epoch from '2026-06-09 13:51:54'::timestamp) - extract(epoch from '2026-06-09 13:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407071 -3.444195)'), GeomFromEWKT('SRID=4674;POINT (-38.407118 -3.444254)'))) / (select extract(epoch from '2026-06-09 13:51:54'::timestamp) - extract(epoch from '2026-06-09 13:51: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'), 46534, 'SRID=4674;POINT (-38.407151 -3.444296)', '2026-06-09 13:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407118 -3.444254)'), GeomFromEWKT('SRID=4674;POINT (-38.407151 -3.444296)'))) / (select extract(epoch from '2026-06-09 13:51:58'::timestamp) - extract(epoch from '2026-06-09 13:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407118 -3.444254)'), GeomFromEWKT('SRID=4674;POINT (-38.407151 -3.444296)'))) / (select extract(epoch from '2026-06-09 13:51:58'::timestamp) - extract(epoch from '2026-06-09 13:51:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.407162 -3.444306)', '2026-06-09 13:51:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407151 -3.444296)'), GeomFromEWKT('SRID=4674;POINT (-38.407162 -3.444306)'))) / (select extract(epoch from '2026-06-09 13:51:59'::timestamp) - extract(epoch from '2026-06-09 13:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407151 -3.444296)'), GeomFromEWKT('SRID=4674;POINT (-38.407162 -3.444306)'))) / (select extract(epoch from '2026-06-09 13:51:59'::timestamp) - extract(epoch from '2026-06-09 13:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.407239 -3.444393)', '2026-06-09 13:52:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407162 -3.444306)'), GeomFromEWKT('SRID=4674;POINT (-38.407239 -3.444393)'))) / (select extract(epoch from '2026-06-09 13:52:06'::timestamp) - extract(epoch from '2026-06-09 13:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407162 -3.444306)'), GeomFromEWKT('SRID=4674;POINT (-38.407239 -3.444393)'))) / (select extract(epoch from '2026-06-09 13:52:06'::timestamp) - extract(epoch from '2026-06-09 13:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.407301 -3.444472)', '2026-06-09 13:52:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407239 -3.444393)'), GeomFromEWKT('SRID=4674;POINT (-38.407301 -3.444472)'))) / (select extract(epoch from '2026-06-09 13:52:12'::timestamp) - extract(epoch from '2026-06-09 13:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407239 -3.444393)'), GeomFromEWKT('SRID=4674;POINT (-38.407301 -3.444472)'))) / (select extract(epoch from '2026-06-09 13:52:12'::timestamp) - extract(epoch from '2026-06-09 13:52:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.407362 -3.444544)', '2026-06-09 13:52:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407301 -3.444472)'), GeomFromEWKT('SRID=4674;POINT (-38.407362 -3.444544)'))) / (select extract(epoch from '2026-06-09 13:52:18'::timestamp) - extract(epoch from '2026-06-09 13:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407301 -3.444472)'), GeomFromEWKT('SRID=4674;POINT (-38.407362 -3.444544)'))) / (select extract(epoch from '2026-06-09 13:52:18'::timestamp) - extract(epoch from '2026-06-09 13:52: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'), 46534, 'SRID=4674;POINT (-38.407414 -3.444596)', '2026-06-09 13:52:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407362 -3.444544)'), GeomFromEWKT('SRID=4674;POINT (-38.407414 -3.444596)'))) / (select extract(epoch from '2026-06-09 13:52:23'::timestamp) - extract(epoch from '2026-06-09 13:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407362 -3.444544)'), GeomFromEWKT('SRID=4674;POINT (-38.407414 -3.444596)'))) / (select extract(epoch from '2026-06-09 13:52:23'::timestamp) - extract(epoch from '2026-06-09 13:52: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'), 46534, 'SRID=4674;POINT (-38.407468 -3.444671)', '2026-06-09 13:52:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407414 -3.444596)'), GeomFromEWKT('SRID=4674;POINT (-38.407468 -3.444671)'))) / (select extract(epoch from '2026-06-09 13:52:29'::timestamp) - extract(epoch from '2026-06-09 13:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407414 -3.444596)'), GeomFromEWKT('SRID=4674;POINT (-38.407468 -3.444671)'))) / (select extract(epoch from '2026-06-09 13:52:29'::timestamp) - extract(epoch from '2026-06-09 13:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.407476 -3.444683)', '2026-06-09 13:52:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407468 -3.444671)'), GeomFromEWKT('SRID=4674;POINT (-38.407476 -3.444683)'))) / (select extract(epoch from '2026-06-09 13:52:30'::timestamp) - extract(epoch from '2026-06-09 13:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407468 -3.444671)'), GeomFromEWKT('SRID=4674;POINT (-38.407476 -3.444683)'))) / (select extract(epoch from '2026-06-09 13:52:30'::timestamp) - extract(epoch from '2026-06-09 13:52: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'), 46534, 'SRID=4674;POINT (-38.407515 -3.444731)', '2026-06-09 13:52:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407476 -3.444683)'), GeomFromEWKT('SRID=4674;POINT (-38.407515 -3.444731)'))) / (select extract(epoch from '2026-06-09 13:52:34'::timestamp) - extract(epoch from '2026-06-09 13:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407476 -3.444683)'), GeomFromEWKT('SRID=4674;POINT (-38.407515 -3.444731)'))) / (select extract(epoch from '2026-06-09 13:52:34'::timestamp) - extract(epoch from '2026-06-09 13:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.407554 -3.444789)', '2026-06-09 13:52:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407515 -3.444731)'), GeomFromEWKT('SRID=4674;POINT (-38.407554 -3.444789)'))) / (select extract(epoch from '2026-06-09 13:52:39'::timestamp) - extract(epoch from '2026-06-09 13:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407515 -3.444731)'), GeomFromEWKT('SRID=4674;POINT (-38.407554 -3.444789)'))) / (select extract(epoch from '2026-06-09 13:52:39'::timestamp) - extract(epoch from '2026-06-09 13:52: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'), 46534, 'SRID=4674;POINT (-38.40758 -3.444817)', '2026-06-09 13:52:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407554 -3.444789)'), GeomFromEWKT('SRID=4674;POINT (-38.40758 -3.444817)'))) / (select extract(epoch from '2026-06-09 13:52:41'::timestamp) - extract(epoch from '2026-06-09 13:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407554 -3.444789)'), GeomFromEWKT('SRID=4674;POINT (-38.40758 -3.444817)'))) / (select extract(epoch from '2026-06-09 13:52:41'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.40762 -3.444885)', '2026-06-09 13:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40758 -3.444817)'), GeomFromEWKT('SRID=4674;POINT (-38.40762 -3.444885)'))) / (select extract(epoch from '2026-06-09 13:52:45'::timestamp) - extract(epoch from '2026-06-09 13:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40758 -3.444817)'), GeomFromEWKT('SRID=4674;POINT (-38.40762 -3.444885)'))) / (select extract(epoch from '2026-06-09 13:52:45'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.407634 -3.444898)', '2026-06-09 13:52:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40762 -3.444885)'), GeomFromEWKT('SRID=4674;POINT (-38.407634 -3.444898)'))) / (select extract(epoch from '2026-06-09 13:52:46'::timestamp) - extract(epoch from '2026-06-09 13:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40762 -3.444885)'), GeomFromEWKT('SRID=4674;POINT (-38.407634 -3.444898)'))) / (select extract(epoch from '2026-06-09 13:52:46'::timestamp) - extract(epoch from '2026-06-09 13:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.407689 -3.444989)', '2026-06-09 13:52:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407634 -3.444898)'), GeomFromEWKT('SRID=4674;POINT (-38.407689 -3.444989)'))) / (select extract(epoch from '2026-06-09 13:52:52'::timestamp) - extract(epoch from '2026-06-09 13:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407634 -3.444898)'), GeomFromEWKT('SRID=4674;POINT (-38.407689 -3.444989)'))) / (select extract(epoch from '2026-06-09 13:52:52'::timestamp) - extract(epoch from '2026-06-09 13:52:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.40771 -3.44504)', '2026-06-09 13:52:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407689 -3.444989)'), GeomFromEWKT('SRID=4674;POINT (-38.40771 -3.44504)'))) / (select extract(epoch from '2026-06-09 13:52:56'::timestamp) - extract(epoch from '2026-06-09 13:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407689 -3.444989)'), GeomFromEWKT('SRID=4674;POINT (-38.40771 -3.44504)'))) / (select extract(epoch from '2026-06-09 13:52:56'::timestamp) - extract(epoch from '2026-06-09 13:52: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'), 46534, 'SRID=4674;POINT (-38.407717 -3.445051)', '2026-06-09 13:52:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40771 -3.44504)'), GeomFromEWKT('SRID=4674;POINT (-38.407717 -3.445051)'))) / (select extract(epoch from '2026-06-09 13:52:57'::timestamp) - extract(epoch from '2026-06-09 13:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40771 -3.44504)'), GeomFromEWKT('SRID=4674;POINT (-38.407717 -3.445051)'))) / (select extract(epoch from '2026-06-09 13:52:57'::timestamp) - extract(epoch from '2026-06-09 13:52: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'), 46534, 'SRID=4674;POINT (-38.407769 -3.445143)', '2026-06-09 13:53:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407717 -3.445051)'), GeomFromEWKT('SRID=4674;POINT (-38.407769 -3.445143)'))) / (select extract(epoch from '2026-06-09 13:53:03'::timestamp) - extract(epoch from '2026-06-09 13:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407717 -3.445051)'), GeomFromEWKT('SRID=4674;POINT (-38.407769 -3.445143)'))) / (select extract(epoch from '2026-06-09 13:53:03'::timestamp) - extract(epoch from '2026-06-09 13:52: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'), 46534, 'SRID=4674;POINT (-38.407828 -3.445235)', '2026-06-09 13:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407769 -3.445143)'), GeomFromEWKT('SRID=4674;POINT (-38.407828 -3.445235)'))) / (select extract(epoch from '2026-06-09 13:53:09'::timestamp) - extract(epoch from '2026-06-09 13:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407769 -3.445143)'), GeomFromEWKT('SRID=4674;POINT (-38.407828 -3.445235)'))) / (select extract(epoch from '2026-06-09 13:53:09'::timestamp) - extract(epoch from '2026-06-09 13:53: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'), 46534, 'SRID=4674;POINT (-38.40789 -3.44531)', '2026-06-09 13:53:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407828 -3.445235)'), GeomFromEWKT('SRID=4674;POINT (-38.40789 -3.44531)'))) / (select extract(epoch from '2026-06-09 13:53:15'::timestamp) - extract(epoch from '2026-06-09 13:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407828 -3.445235)'), GeomFromEWKT('SRID=4674;POINT (-38.40789 -3.44531)'))) / (select extract(epoch from '2026-06-09 13:53:15'::timestamp) - extract(epoch from '2026-06-09 13:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.40795 -3.445382)', '2026-06-09 13:53:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40789 -3.44531)'), GeomFromEWKT('SRID=4674;POINT (-38.40795 -3.445382)'))) / (select extract(epoch from '2026-06-09 13:53:21'::timestamp) - extract(epoch from '2026-06-09 13:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40789 -3.44531)'), GeomFromEWKT('SRID=4674;POINT (-38.40795 -3.445382)'))) / (select extract(epoch from '2026-06-09 13:53:21'::timestamp) - extract(epoch from '2026-06-09 13:53: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'), 46534, 'SRID=4674;POINT (-38.408029 -3.445493)', '2026-06-09 13:53:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40795 -3.445382)'), GeomFromEWKT('SRID=4674;POINT (-38.408029 -3.445493)'))) / (select extract(epoch from '2026-06-09 13:53:28'::timestamp) - extract(epoch from '2026-06-09 13:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40795 -3.445382)'), GeomFromEWKT('SRID=4674;POINT (-38.408029 -3.445493)'))) / (select extract(epoch from '2026-06-09 13:53:28'::timestamp) - extract(epoch from '2026-06-09 13:53: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'), 46534, 'SRID=4674;POINT (-38.408089 -3.445611)', '2026-06-09 13:53:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408029 -3.445493)'), GeomFromEWKT('SRID=4674;POINT (-38.408089 -3.445611)'))) / (select extract(epoch from '2026-06-09 13:53:35'::timestamp) - extract(epoch from '2026-06-09 13:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408029 -3.445493)'), GeomFromEWKT('SRID=4674;POINT (-38.408089 -3.445611)'))) / (select extract(epoch from '2026-06-09 13:53:35'::timestamp) - extract(epoch from '2026-06-09 13:53: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'), 46534, 'SRID=4674;POINT (-38.408137 -3.445709)', '2026-06-09 13:53:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408089 -3.445611)'), GeomFromEWKT('SRID=4674;POINT (-38.408137 -3.445709)'))) / (select extract(epoch from '2026-06-09 13:53:41'::timestamp) - extract(epoch from '2026-06-09 13:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408089 -3.445611)'), GeomFromEWKT('SRID=4674;POINT (-38.408137 -3.445709)'))) / (select extract(epoch from '2026-06-09 13:53:41'::timestamp) - extract(epoch from '2026-06-09 13:53: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'), 46534, 'SRID=4674;POINT (-38.408186 -3.445815)', '2026-06-09 13:53:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408137 -3.445709)'), GeomFromEWKT('SRID=4674;POINT (-38.408186 -3.445815)'))) / (select extract(epoch from '2026-06-09 13:53:47'::timestamp) - extract(epoch from '2026-06-09 13:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408137 -3.445709)'), GeomFromEWKT('SRID=4674;POINT (-38.408186 -3.445815)'))) / (select extract(epoch from '2026-06-09 13:53:47'::timestamp) - extract(epoch from '2026-06-09 13:53: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'), 46534, 'SRID=4674;POINT (-38.408244 -3.445922)', '2026-06-09 13:53:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408186 -3.445815)'), GeomFromEWKT('SRID=4674;POINT (-38.408244 -3.445922)'))) / (select extract(epoch from '2026-06-09 13:53:53'::timestamp) - extract(epoch from '2026-06-09 13:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408186 -3.445815)'), GeomFromEWKT('SRID=4674;POINT (-38.408244 -3.445922)'))) / (select extract(epoch from '2026-06-09 13:53:53'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.408284 -3.446012)', '2026-06-09 13:53:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408244 -3.445922)'), GeomFromEWKT('SRID=4674;POINT (-38.408284 -3.446012)'))) / (select extract(epoch from '2026-06-09 13:53:58'::timestamp) - extract(epoch from '2026-06-09 13:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408244 -3.445922)'), GeomFromEWKT('SRID=4674;POINT (-38.408284 -3.446012)'))) / (select extract(epoch from '2026-06-09 13:53:58'::timestamp) - extract(epoch from '2026-06-09 13:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.408332 -3.446108)', '2026-06-09 13:54:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408284 -3.446012)'), GeomFromEWKT('SRID=4674;POINT (-38.408332 -3.446108)'))) / (select extract(epoch from '2026-06-09 13:54:04'::timestamp) - extract(epoch from '2026-06-09 13:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408284 -3.446012)'), GeomFromEWKT('SRID=4674;POINT (-38.408332 -3.446108)'))) / (select extract(epoch from '2026-06-09 13:54:04'::timestamp) - extract(epoch from '2026-06-09 13:53: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'), 46534, 'SRID=4674;POINT (-38.408359 -3.446183)', '2026-06-09 13:54:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408332 -3.446108)'), GeomFromEWKT('SRID=4674;POINT (-38.408359 -3.446183)'))) / (select extract(epoch from '2026-06-09 13:54:08'::timestamp) - extract(epoch from '2026-06-09 13:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408332 -3.446108)'), GeomFromEWKT('SRID=4674;POINT (-38.408359 -3.446183)'))) / (select extract(epoch from '2026-06-09 13:54:08'::timestamp) - extract(epoch from '2026-06-09 13:54: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'), 46534, 'SRID=4674;POINT (-38.4084 -3.446285)', '2026-06-09 13:54:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408359 -3.446183)'), GeomFromEWKT('SRID=4674;POINT (-38.4084 -3.446285)'))) / (select extract(epoch from '2026-06-09 13:54:14'::timestamp) - extract(epoch from '2026-06-09 13:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408359 -3.446183)'), GeomFromEWKT('SRID=4674;POINT (-38.4084 -3.446285)'))) / (select extract(epoch from '2026-06-09 13:54:14'::timestamp) - extract(epoch from '2026-06-09 13:54:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.408428 -3.446346)', '2026-06-09 13:54:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4084 -3.446285)'), GeomFromEWKT('SRID=4674;POINT (-38.408428 -3.446346)'))) / (select extract(epoch from '2026-06-09 13:54:18'::timestamp) - extract(epoch from '2026-06-09 13:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4084 -3.446285)'), GeomFromEWKT('SRID=4674;POINT (-38.408428 -3.446346)'))) / (select extract(epoch from '2026-06-09 13:54:18'::timestamp) - extract(epoch from '2026-06-09 13:54: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'), 46534, 'SRID=4674;POINT (-38.408464 -3.446424)', '2026-06-09 13:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408428 -3.446346)'), GeomFromEWKT('SRID=4674;POINT (-38.408464 -3.446424)'))) / (select extract(epoch from '2026-06-09 13:54:23'::timestamp) - extract(epoch from '2026-06-09 13:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408428 -3.446346)'), GeomFromEWKT('SRID=4674;POINT (-38.408464 -3.446424)'))) / (select extract(epoch from '2026-06-09 13:54:23'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.408527 -3.446507)', '2026-06-09 13:54:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408464 -3.446424)'), GeomFromEWKT('SRID=4674;POINT (-38.408527 -3.446507)'))) / (select extract(epoch from '2026-06-09 13:54:28'::timestamp) - extract(epoch from '2026-06-09 13:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408464 -3.446424)'), GeomFromEWKT('SRID=4674;POINT (-38.408527 -3.446507)'))) / (select extract(epoch from '2026-06-09 13:54:28'::timestamp) - extract(epoch from '2026-06-09 13:54: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'), 46534, 'SRID=4674;POINT (-38.408539 -3.446535)', '2026-06-09 13:54:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408527 -3.446507)'), GeomFromEWKT('SRID=4674;POINT (-38.408539 -3.446535)'))) / (select extract(epoch from '2026-06-09 13:54:30'::timestamp) - extract(epoch from '2026-06-09 13:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408527 -3.446507)'), GeomFromEWKT('SRID=4674;POINT (-38.408539 -3.446535)'))) / (select extract(epoch from '2026-06-09 13:54:30'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.408565 -3.446578)', '2026-06-09 13:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408539 -3.446535)'), GeomFromEWKT('SRID=4674;POINT (-38.408565 -3.446578)'))) / (select extract(epoch from '2026-06-09 13:54:33'::timestamp) - extract(epoch from '2026-06-09 13:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408539 -3.446535)'), GeomFromEWKT('SRID=4674;POINT (-38.408565 -3.446578)'))) / (select extract(epoch from '2026-06-09 13:54:33'::timestamp) - extract(epoch from '2026-06-09 13:54: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'), 46534, 'SRID=4674;POINT (-38.40861 -3.446651)', '2026-06-09 13:54:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408565 -3.446578)'), GeomFromEWKT('SRID=4674;POINT (-38.40861 -3.446651)'))) / (select extract(epoch from '2026-06-09 13:54:38'::timestamp) - extract(epoch from '2026-06-09 13:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408565 -3.446578)'), GeomFromEWKT('SRID=4674;POINT (-38.40861 -3.446651)'))) / (select extract(epoch from '2026-06-09 13:54:38'::timestamp) - extract(epoch from '2026-06-09 13:54: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'), 46534, 'SRID=4674;POINT (-38.40867 -3.446732)', '2026-06-09 13:54:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40861 -3.446651)'), GeomFromEWKT('SRID=4674;POINT (-38.40867 -3.446732)'))) / (select extract(epoch from '2026-06-09 13:54:44'::timestamp) - extract(epoch from '2026-06-09 13:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40861 -3.446651)'), GeomFromEWKT('SRID=4674;POINT (-38.40867 -3.446732)'))) / (select extract(epoch from '2026-06-09 13:54:44'::timestamp) - extract(epoch from '2026-06-09 13:54: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'), 46534, 'SRID=4674;POINT (-38.408739 -3.446831)', '2026-06-09 13:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40867 -3.446732)'), GeomFromEWKT('SRID=4674;POINT (-38.408739 -3.446831)'))) / (select extract(epoch from '2026-06-09 13:54:50'::timestamp) - extract(epoch from '2026-06-09 13:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40867 -3.446732)'), GeomFromEWKT('SRID=4674;POINT (-38.408739 -3.446831)'))) / (select extract(epoch from '2026-06-09 13:54:50'::timestamp) - extract(epoch from '2026-06-09 13:54: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'), 46534, 'SRID=4674;POINT (-38.408786 -3.446898)', '2026-06-09 13:54:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408739 -3.446831)'), GeomFromEWKT('SRID=4674;POINT (-38.408786 -3.446898)'))) / (select extract(epoch from '2026-06-09 13:54:54'::timestamp) - extract(epoch from '2026-06-09 13:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408739 -3.446831)'), GeomFromEWKT('SRID=4674;POINT (-38.408786 -3.446898)'))) / (select extract(epoch from '2026-06-09 13:54:54'::timestamp) - extract(epoch from '2026-06-09 13:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.408795 -3.446918)', '2026-06-09 13:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408786 -3.446898)'), GeomFromEWKT('SRID=4674;POINT (-38.408795 -3.446918)'))) / (select extract(epoch from '2026-06-09 13:54:55'::timestamp) - extract(epoch from '2026-06-09 13:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408786 -3.446898)'), GeomFromEWKT('SRID=4674;POINT (-38.408795 -3.446918)'))) / (select extract(epoch from '2026-06-09 13:54:55'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.408832 -3.447003)', '2026-06-09 13:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408795 -3.446918)'), GeomFromEWKT('SRID=4674;POINT (-38.408832 -3.447003)'))) / (select extract(epoch from '2026-06-09 13:55:00'::timestamp) - extract(epoch from '2026-06-09 13:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408795 -3.446918)'), GeomFromEWKT('SRID=4674;POINT (-38.408832 -3.447003)'))) / (select extract(epoch from '2026-06-09 13:55:00'::timestamp) - extract(epoch from '2026-06-09 13:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.408879 -3.447092)', '2026-06-09 13:55:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408832 -3.447003)'), GeomFromEWKT('SRID=4674;POINT (-38.408879 -3.447092)'))) / (select extract(epoch from '2026-06-09 13:55:05'::timestamp) - extract(epoch from '2026-06-09 13:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408832 -3.447003)'), GeomFromEWKT('SRID=4674;POINT (-38.408879 -3.447092)'))) / (select extract(epoch from '2026-06-09 13:55:05'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.408931 -3.447229)', '2026-06-09 13:55:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408879 -3.447092)'), GeomFromEWKT('SRID=4674;POINT (-38.408931 -3.447229)'))) / (select extract(epoch from '2026-06-09 13:55:12'::timestamp) - extract(epoch from '2026-06-09 13:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408879 -3.447092)'), GeomFromEWKT('SRID=4674;POINT (-38.408931 -3.447229)'))) / (select extract(epoch from '2026-06-09 13:55:12'::timestamp) - extract(epoch from '2026-06-09 13:55: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'), 46534, 'SRID=4674;POINT (-38.40898 -3.447349)', '2026-06-09 13:55:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408931 -3.447229)'), GeomFromEWKT('SRID=4674;POINT (-38.40898 -3.447349)'))) / (select extract(epoch from '2026-06-09 13:55:18'::timestamp) - extract(epoch from '2026-06-09 13:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408931 -3.447229)'), GeomFromEWKT('SRID=4674;POINT (-38.40898 -3.447349)'))) / (select extract(epoch from '2026-06-09 13:55:18'::timestamp) - extract(epoch from '2026-06-09 13:55: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'), 46534, 'SRID=4674;POINT (-38.409021 -3.447443)', '2026-06-09 13:55:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40898 -3.447349)'), GeomFromEWKT('SRID=4674;POINT (-38.409021 -3.447443)'))) / (select extract(epoch from '2026-06-09 13:55:23'::timestamp) - extract(epoch from '2026-06-09 13:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40898 -3.447349)'), GeomFromEWKT('SRID=4674;POINT (-38.409021 -3.447443)'))) / (select extract(epoch from '2026-06-09 13:55:23'::timestamp) - extract(epoch from '2026-06-09 13:55: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'), 46534, 'SRID=4674;POINT (-38.409056 -3.447535)', '2026-06-09 13:55:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409021 -3.447443)'), GeomFromEWKT('SRID=4674;POINT (-38.409056 -3.447535)'))) / (select extract(epoch from '2026-06-09 13:55:29'::timestamp) - extract(epoch from '2026-06-09 13:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409021 -3.447443)'), GeomFromEWKT('SRID=4674;POINT (-38.409056 -3.447535)'))) / (select extract(epoch from '2026-06-09 13:55:29'::timestamp) - extract(epoch from '2026-06-09 13:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.409112 -3.447634)', '2026-06-09 13:55:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409056 -3.447535)'), GeomFromEWKT('SRID=4674;POINT (-38.409112 -3.447634)'))) / (select extract(epoch from '2026-06-09 13:55:35'::timestamp) - extract(epoch from '2026-06-09 13:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409056 -3.447535)'), GeomFromEWKT('SRID=4674;POINT (-38.409112 -3.447634)'))) / (select extract(epoch from '2026-06-09 13:55:35'::timestamp) - extract(epoch from '2026-06-09 13:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.409165 -3.447724)', '2026-06-09 13:55:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409112 -3.447634)'), GeomFromEWKT('SRID=4674;POINT (-38.409165 -3.447724)'))) / (select extract(epoch from '2026-06-09 13:55:40'::timestamp) - extract(epoch from '2026-06-09 13:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409112 -3.447634)'), GeomFromEWKT('SRID=4674;POINT (-38.409165 -3.447724)'))) / (select extract(epoch from '2026-06-09 13:55:40'::timestamp) - extract(epoch from '2026-06-09 13:55: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'), 46534, 'SRID=4674;POINT (-38.409212 -3.447817)', '2026-06-09 13:55:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409165 -3.447724)'), GeomFromEWKT('SRID=4674;POINT (-38.409212 -3.447817)'))) / (select extract(epoch from '2026-06-09 13:55:46'::timestamp) - extract(epoch from '2026-06-09 13:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409165 -3.447724)'), GeomFromEWKT('SRID=4674;POINT (-38.409212 -3.447817)'))) / (select extract(epoch from '2026-06-09 13:55:46'::timestamp) - extract(epoch from '2026-06-09 13:55: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'), 46534, 'SRID=4674;POINT (-38.409262 -3.4479)', '2026-06-09 13:55:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409212 -3.447817)'), GeomFromEWKT('SRID=4674;POINT (-38.409262 -3.4479)'))) / (select extract(epoch from '2026-06-09 13:55:51'::timestamp) - extract(epoch from '2026-06-09 13:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409212 -3.447817)'), GeomFromEWKT('SRID=4674;POINT (-38.409262 -3.4479)'))) / (select extract(epoch from '2026-06-09 13:55:51'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.409298 -3.447989)', '2026-06-09 13:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409262 -3.4479)'), GeomFromEWKT('SRID=4674;POINT (-38.409298 -3.447989)'))) / (select extract(epoch from '2026-06-09 13:55:56'::timestamp) - extract(epoch from '2026-06-09 13:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409262 -3.4479)'), GeomFromEWKT('SRID=4674;POINT (-38.409298 -3.447989)'))) / (select extract(epoch from '2026-06-09 13:55:56'::timestamp) - extract(epoch from '2026-06-09 13:55: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'), 46534, 'SRID=4674;POINT (-38.409347 -3.448077)', '2026-06-09 13:56:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409298 -3.447989)'), GeomFromEWKT('SRID=4674;POINT (-38.409347 -3.448077)'))) / (select extract(epoch from '2026-06-09 13:56:01'::timestamp) - extract(epoch from '2026-06-09 13:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409298 -3.447989)'), GeomFromEWKT('SRID=4674;POINT (-38.409347 -3.448077)'))) / (select extract(epoch from '2026-06-09 13:56:01'::timestamp) - extract(epoch from '2026-06-09 13:55: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'), 46534, 'SRID=4674;POINT (-38.409382 -3.448154)', '2026-06-09 13:56:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409347 -3.448077)'), GeomFromEWKT('SRID=4674;POINT (-38.409382 -3.448154)'))) / (select extract(epoch from '2026-06-09 13:56:06'::timestamp) - extract(epoch from '2026-06-09 13:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409347 -3.448077)'), GeomFromEWKT('SRID=4674;POINT (-38.409382 -3.448154)'))) / (select extract(epoch from '2026-06-09 13:56:06'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.409426 -3.448235)', '2026-06-09 13:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409382 -3.448154)'), GeomFromEWKT('SRID=4674;POINT (-38.409426 -3.448235)'))) / (select extract(epoch from '2026-06-09 13:56:11'::timestamp) - extract(epoch from '2026-06-09 13:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409382 -3.448154)'), GeomFromEWKT('SRID=4674;POINT (-38.409426 -3.448235)'))) / (select extract(epoch from '2026-06-09 13:56:11'::timestamp) - extract(epoch from '2026-06-09 13:56: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'), 46534, 'SRID=4674;POINT (-38.409487 -3.448348)', '2026-06-09 13:56:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409426 -3.448235)'), GeomFromEWKT('SRID=4674;POINT (-38.409487 -3.448348)'))) / (select extract(epoch from '2026-06-09 13:56:19'::timestamp) - extract(epoch from '2026-06-09 13:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409426 -3.448235)'), GeomFromEWKT('SRID=4674;POINT (-38.409487 -3.448348)'))) / (select extract(epoch from '2026-06-09 13:56:19'::timestamp) - extract(epoch from '2026-06-09 13:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.409522 -3.448412)', '2026-06-09 13:56:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409487 -3.448348)'), GeomFromEWKT('SRID=4674;POINT (-38.409522 -3.448412)'))) / (select extract(epoch from '2026-06-09 13:56:23'::timestamp) - extract(epoch from '2026-06-09 13:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409487 -3.448348)'), GeomFromEWKT('SRID=4674;POINT (-38.409522 -3.448412)'))) / (select extract(epoch from '2026-06-09 13:56:23'::timestamp) - extract(epoch from '2026-06-09 13:56: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'), 46534, 'SRID=4674;POINT (-38.409561 -3.448494)', '2026-06-09 13:56:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409522 -3.448412)'), GeomFromEWKT('SRID=4674;POINT (-38.409561 -3.448494)'))) / (select extract(epoch from '2026-06-09 13:56:28'::timestamp) - extract(epoch from '2026-06-09 13:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409522 -3.448412)'), GeomFromEWKT('SRID=4674;POINT (-38.409561 -3.448494)'))) / (select extract(epoch from '2026-06-09 13:56:28'::timestamp) - extract(epoch from '2026-06-09 13:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.409608 -3.44859)', '2026-06-09 13:56:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409561 -3.448494)'), GeomFromEWKT('SRID=4674;POINT (-38.409608 -3.44859)'))) / (select extract(epoch from '2026-06-09 13:56:34'::timestamp) - extract(epoch from '2026-06-09 13:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409561 -3.448494)'), GeomFromEWKT('SRID=4674;POINT (-38.409608 -3.44859)'))) / (select extract(epoch from '2026-06-09 13:56:34'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.409672 -3.448707)', '2026-06-09 13:56:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409608 -3.44859)'), GeomFromEWKT('SRID=4674;POINT (-38.409672 -3.448707)'))) / (select extract(epoch from '2026-06-09 13:56:41'::timestamp) - extract(epoch from '2026-06-09 13:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409608 -3.44859)'), GeomFromEWKT('SRID=4674;POINT (-38.409672 -3.448707)'))) / (select extract(epoch from '2026-06-09 13:56:41'::timestamp) - extract(epoch from '2026-06-09 13:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.409714 -3.44879)', '2026-06-09 13:56:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409672 -3.448707)'), GeomFromEWKT('SRID=4674;POINT (-38.409714 -3.44879)'))) / (select extract(epoch from '2026-06-09 13:56:46'::timestamp) - extract(epoch from '2026-06-09 13:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409672 -3.448707)'), GeomFromEWKT('SRID=4674;POINT (-38.409714 -3.44879)'))) / (select extract(epoch from '2026-06-09 13:56:46'::timestamp) - extract(epoch from '2026-06-09 13:56: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'), 46534, 'SRID=4674;POINT (-38.409746 -3.448862)', '2026-06-09 13:56:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409714 -3.44879)'), GeomFromEWKT('SRID=4674;POINT (-38.409746 -3.448862)'))) / (select extract(epoch from '2026-06-09 13:56:50'::timestamp) - extract(epoch from '2026-06-09 13:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409714 -3.44879)'), GeomFromEWKT('SRID=4674;POINT (-38.409746 -3.448862)'))) / (select extract(epoch from '2026-06-09 13:56:50'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.409785 -3.448936)', '2026-06-09 13:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409746 -3.448862)'), GeomFromEWKT('SRID=4674;POINT (-38.409785 -3.448936)'))) / (select extract(epoch from '2026-06-09 13:56:55'::timestamp) - extract(epoch from '2026-06-09 13:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409746 -3.448862)'), GeomFromEWKT('SRID=4674;POINT (-38.409785 -3.448936)'))) / (select extract(epoch from '2026-06-09 13:56:55'::timestamp) - extract(epoch from '2026-06-09 13:56: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'), 46534, 'SRID=4674;POINT (-38.409818 -3.448979)', '2026-06-09 13:56:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409785 -3.448936)'), GeomFromEWKT('SRID=4674;POINT (-38.409818 -3.448979)'))) / (select extract(epoch from '2026-06-09 13:56:58'::timestamp) - extract(epoch from '2026-06-09 13:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409785 -3.448936)'), GeomFromEWKT('SRID=4674;POINT (-38.409818 -3.448979)'))) / (select extract(epoch from '2026-06-09 13:56:58'::timestamp) - extract(epoch from '2026-06-09 13:56: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'), 46534, 'SRID=4674;POINT (-38.409823 -3.449008)', '2026-06-09 13:57:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409818 -3.448979)'), GeomFromEWKT('SRID=4674;POINT (-38.409823 -3.449008)'))) / (select extract(epoch from '2026-06-09 13:57:00'::timestamp) - extract(epoch from '2026-06-09 13:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409818 -3.448979)'), GeomFromEWKT('SRID=4674;POINT (-38.409823 -3.449008)'))) / (select extract(epoch from '2026-06-09 13:57:00'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.409849 -3.44905)', '2026-06-09 13:57:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409823 -3.449008)'), GeomFromEWKT('SRID=4674;POINT (-38.409849 -3.44905)'))) / (select extract(epoch from '2026-06-09 13:57:04'::timestamp) - extract(epoch from '2026-06-09 13:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409823 -3.449008)'), GeomFromEWKT('SRID=4674;POINT (-38.409849 -3.44905)'))) / (select extract(epoch from '2026-06-09 13:57:04'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.409851 -3.449062)', '2026-06-09 13:57:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409849 -3.44905)'), GeomFromEWKT('SRID=4674;POINT (-38.409851 -3.449062)'))) / (select extract(epoch from '2026-06-09 13:57:05'::timestamp) - extract(epoch from '2026-06-09 13:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409849 -3.44905)'), GeomFromEWKT('SRID=4674;POINT (-38.409851 -3.449062)'))) / (select extract(epoch from '2026-06-09 13:57:05'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.409883 -3.449108)', '2026-06-09 13:57:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409851 -3.449062)'), GeomFromEWKT('SRID=4674;POINT (-38.409883 -3.449108)'))) / (select extract(epoch from '2026-06-09 13:57:09'::timestamp) - extract(epoch from '2026-06-09 13:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409851 -3.449062)'), GeomFromEWKT('SRID=4674;POINT (-38.409883 -3.449108)'))) / (select extract(epoch from '2026-06-09 13:57:09'::timestamp) - extract(epoch from '2026-06-09 13:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.409935 -3.449192)', '2026-06-09 13:57:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409883 -3.449108)'), GeomFromEWKT('SRID=4674;POINT (-38.409935 -3.449192)'))) / (select extract(epoch from '2026-06-09 13:57:15'::timestamp) - extract(epoch from '2026-06-09 13:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409883 -3.449108)'), GeomFromEWKT('SRID=4674;POINT (-38.409935 -3.449192)'))) / (select extract(epoch from '2026-06-09 13:57:15'::timestamp) - extract(epoch from '2026-06-09 13:57: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'), 46534, 'SRID=4674;POINT (-38.409974 -3.449269)', '2026-06-09 13:57:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409935 -3.449192)'), GeomFromEWKT('SRID=4674;POINT (-38.409974 -3.449269)'))) / (select extract(epoch from '2026-06-09 13:57:20'::timestamp) - extract(epoch from '2026-06-09 13:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409935 -3.449192)'), GeomFromEWKT('SRID=4674;POINT (-38.409974 -3.449269)'))) / (select extract(epoch from '2026-06-09 13:57:20'::timestamp) - extract(epoch from '2026-06-09 13:57: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'), 46534, 'SRID=4674;POINT (-38.41002 -3.449345)', '2026-06-09 13:57:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409974 -3.449269)'), GeomFromEWKT('SRID=4674;POINT (-38.41002 -3.449345)'))) / (select extract(epoch from '2026-06-09 13:57:26'::timestamp) - extract(epoch from '2026-06-09 13:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409974 -3.449269)'), GeomFromEWKT('SRID=4674;POINT (-38.41002 -3.449345)'))) / (select extract(epoch from '2026-06-09 13:57:26'::timestamp) - extract(epoch from '2026-06-09 13:57: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'), 46534, 'SRID=4674;POINT (-38.410077 -3.449446)', '2026-06-09 13:57:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41002 -3.449345)'), GeomFromEWKT('SRID=4674;POINT (-38.410077 -3.449446)'))) / (select extract(epoch from '2026-06-09 13:57:33'::timestamp) - extract(epoch from '2026-06-09 13:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41002 -3.449345)'), GeomFromEWKT('SRID=4674;POINT (-38.410077 -3.449446)'))) / (select extract(epoch from '2026-06-09 13:57:33'::timestamp) - extract(epoch from '2026-06-09 13:57: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'), 46534, 'SRID=4674;POINT (-38.410126 -3.449543)', '2026-06-09 13:57:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410077 -3.449446)'), GeomFromEWKT('SRID=4674;POINT (-38.410126 -3.449543)'))) / (select extract(epoch from '2026-06-09 13:57:40'::timestamp) - extract(epoch from '2026-06-09 13:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410077 -3.449446)'), GeomFromEWKT('SRID=4674;POINT (-38.410126 -3.449543)'))) / (select extract(epoch from '2026-06-09 13:57:40'::timestamp) - extract(epoch from '2026-06-09 13:57: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'), 46534, 'SRID=4674;POINT (-38.410157 -3.449609)', '2026-06-09 13:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410126 -3.449543)'), GeomFromEWKT('SRID=4674;POINT (-38.410157 -3.449609)'))) / (select extract(epoch from '2026-06-09 13:57:44'::timestamp) - extract(epoch from '2026-06-09 13:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410126 -3.449543)'), GeomFromEWKT('SRID=4674;POINT (-38.410157 -3.449609)'))) / (select extract(epoch from '2026-06-09 13:57:44'::timestamp) - extract(epoch from '2026-06-09 13:57: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'), 46534, 'SRID=4674;POINT (-38.410218 -3.449721)', '2026-06-09 13:57:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410157 -3.449609)'), GeomFromEWKT('SRID=4674;POINT (-38.410218 -3.449721)'))) / (select extract(epoch from '2026-06-09 13:57:52'::timestamp) - extract(epoch from '2026-06-09 13:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410157 -3.449609)'), GeomFromEWKT('SRID=4674;POINT (-38.410218 -3.449721)'))) / (select extract(epoch from '2026-06-09 13:57:52'::timestamp) - extract(epoch from '2026-06-09 13:57: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'), 46534, 'SRID=4674;POINT (-38.410229 -3.449744)', '2026-06-09 13:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410218 -3.449721)'), GeomFromEWKT('SRID=4674;POINT (-38.410229 -3.449744)'))) / (select extract(epoch from '2026-06-09 13:57:54'::timestamp) - extract(epoch from '2026-06-09 13:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410218 -3.449721)'), GeomFromEWKT('SRID=4674;POINT (-38.410229 -3.449744)'))) / (select extract(epoch from '2026-06-09 13:57:54'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.410253 -3.449771)', '2026-06-09 13:57:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410229 -3.449744)'), GeomFromEWKT('SRID=4674;POINT (-38.410253 -3.449771)'))) / (select extract(epoch from '2026-06-09 13:57:56'::timestamp) - extract(epoch from '2026-06-09 13:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410229 -3.449744)'), GeomFromEWKT('SRID=4674;POINT (-38.410253 -3.449771)'))) / (select extract(epoch from '2026-06-09 13:57:56'::timestamp) - extract(epoch from '2026-06-09 13:57: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'), 46534, 'SRID=4674;POINT (-38.410271 -3.449793)', '2026-06-09 13:57:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410253 -3.449771)'), GeomFromEWKT('SRID=4674;POINT (-38.410271 -3.449793)'))) / (select extract(epoch from '2026-06-09 13:57:58'::timestamp) - extract(epoch from '2026-06-09 13:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410253 -3.449771)'), GeomFromEWKT('SRID=4674;POINT (-38.410271 -3.449793)'))) / (select extract(epoch from '2026-06-09 13:57:58'::timestamp) - extract(epoch from '2026-06-09 13:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.410286 -3.449818)', '2026-06-09 13:58:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410271 -3.449793)'), GeomFromEWKT('SRID=4674;POINT (-38.410286 -3.449818)'))) / (select extract(epoch from '2026-06-09 13:58:00'::timestamp) - extract(epoch from '2026-06-09 13:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410271 -3.449793)'), GeomFromEWKT('SRID=4674;POINT (-38.410286 -3.449818)'))) / (select extract(epoch from '2026-06-09 13:58:00'::timestamp) - extract(epoch from '2026-06-09 13:57:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.410298 -3.449828)', '2026-06-09 13:58:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410286 -3.449818)'), GeomFromEWKT('SRID=4674;POINT (-38.410298 -3.449828)'))) / (select extract(epoch from '2026-06-09 13:58:01'::timestamp) - extract(epoch from '2026-06-09 13:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410286 -3.449818)'), GeomFromEWKT('SRID=4674;POINT (-38.410298 -3.449828)'))) / (select extract(epoch from '2026-06-09 13:58:01'::timestamp) - extract(epoch from '2026-06-09 13:58: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'), 46534, 'SRID=4674;POINT (-38.410332 -3.449884)', '2026-06-09 13:58:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410298 -3.449828)'), GeomFromEWKT('SRID=4674;POINT (-38.410332 -3.449884)'))) / (select extract(epoch from '2026-06-09 13:58:05'::timestamp) - extract(epoch from '2026-06-09 13:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410298 -3.449828)'), GeomFromEWKT('SRID=4674;POINT (-38.410332 -3.449884)'))) / (select extract(epoch from '2026-06-09 13:58:05'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.410385 -3.44997)', '2026-06-09 13:58:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410332 -3.449884)'), GeomFromEWKT('SRID=4674;POINT (-38.410385 -3.44997)'))) / (select extract(epoch from '2026-06-09 13:58:11'::timestamp) - extract(epoch from '2026-06-09 13:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410332 -3.449884)'), GeomFromEWKT('SRID=4674;POINT (-38.410385 -3.44997)'))) / (select extract(epoch from '2026-06-09 13:58:11'::timestamp) - extract(epoch from '2026-06-09 13:58: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'), 46534, 'SRID=4674;POINT (-38.410424 -3.450026)', '2026-06-09 13:58:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410385 -3.44997)'), GeomFromEWKT('SRID=4674;POINT (-38.410424 -3.450026)'))) / (select extract(epoch from '2026-06-09 13:58:15'::timestamp) - extract(epoch from '2026-06-09 13:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410385 -3.44997)'), GeomFromEWKT('SRID=4674;POINT (-38.410424 -3.450026)'))) / (select extract(epoch from '2026-06-09 13:58:15'::timestamp) - extract(epoch from '2026-06-09 13:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.410428 -3.450041)', '2026-06-09 13:58:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410424 -3.450026)'), GeomFromEWKT('SRID=4674;POINT (-38.410428 -3.450041)'))) / (select extract(epoch from '2026-06-09 13:58:16'::timestamp) - extract(epoch from '2026-06-09 13:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410424 -3.450026)'), GeomFromEWKT('SRID=4674;POINT (-38.410428 -3.450041)'))) / (select extract(epoch from '2026-06-09 13:58:16'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.410435 -3.450058)', '2026-06-09 13:58:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410428 -3.450041)'), GeomFromEWKT('SRID=4674;POINT (-38.410435 -3.450058)'))) / (select extract(epoch from '2026-06-09 13:58:17'::timestamp) - extract(epoch from '2026-06-09 13:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410428 -3.450041)'), GeomFromEWKT('SRID=4674;POINT (-38.410435 -3.450058)'))) / (select extract(epoch from '2026-06-09 13:58:17'::timestamp) - extract(epoch from '2026-06-09 13:58: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'), 46534, 'SRID=4674;POINT (-38.41047 -3.450092)', '2026-06-09 13:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410435 -3.450058)'), GeomFromEWKT('SRID=4674;POINT (-38.41047 -3.450092)'))) / (select extract(epoch from '2026-06-09 13:58:20'::timestamp) - extract(epoch from '2026-06-09 13:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410435 -3.450058)'), GeomFromEWKT('SRID=4674;POINT (-38.41047 -3.450092)'))) / (select extract(epoch from '2026-06-09 13:58:20'::timestamp) - extract(epoch from '2026-06-09 13:58:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.410488 -3.450125)', '2026-06-09 13:58:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41047 -3.450092)'), GeomFromEWKT('SRID=4674;POINT (-38.410488 -3.450125)'))) / (select extract(epoch from '2026-06-09 13:58:23'::timestamp) - extract(epoch from '2026-06-09 13:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41047 -3.450092)'), GeomFromEWKT('SRID=4674;POINT (-38.410488 -3.450125)'))) / (select extract(epoch from '2026-06-09 13:58:23'::timestamp) - extract(epoch from '2026-06-09 13:58: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'), 46534, 'SRID=4674;POINT (-38.410511 -3.45016)', '2026-06-09 13:58:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410488 -3.450125)'), GeomFromEWKT('SRID=4674;POINT (-38.410511 -3.45016)'))) / (select extract(epoch from '2026-06-09 13:58:26'::timestamp) - extract(epoch from '2026-06-09 13:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410488 -3.450125)'), GeomFromEWKT('SRID=4674;POINT (-38.410511 -3.45016)'))) / (select extract(epoch from '2026-06-09 13:58:26'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.410548 -3.450235)', '2026-06-09 13:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410511 -3.45016)'), GeomFromEWKT('SRID=4674;POINT (-38.410548 -3.450235)'))) / (select extract(epoch from '2026-06-09 13:58:32'::timestamp) - extract(epoch from '2026-06-09 13:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410511 -3.45016)'), GeomFromEWKT('SRID=4674;POINT (-38.410548 -3.450235)'))) / (select extract(epoch from '2026-06-09 13:58:32'::timestamp) - extract(epoch from '2026-06-09 13:58: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'), 46534, 'SRID=4674;POINT (-38.410596 -3.45031)', '2026-06-09 13:58:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410548 -3.450235)'), GeomFromEWKT('SRID=4674;POINT (-38.410596 -3.45031)'))) / (select extract(epoch from '2026-06-09 13:58:38'::timestamp) - extract(epoch from '2026-06-09 13:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410548 -3.450235)'), GeomFromEWKT('SRID=4674;POINT (-38.410596 -3.45031)'))) / (select extract(epoch from '2026-06-09 13:58:38'::timestamp) - extract(epoch from '2026-06-09 13:58: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'), 46534, 'SRID=4674;POINT (-38.41061 -3.450337)', '2026-06-09 13:58:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410596 -3.45031)'), GeomFromEWKT('SRID=4674;POINT (-38.41061 -3.450337)'))) / (select extract(epoch from '2026-06-09 13:58:40'::timestamp) - extract(epoch from '2026-06-09 13:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410596 -3.45031)'), GeomFromEWKT('SRID=4674;POINT (-38.41061 -3.450337)'))) / (select extract(epoch from '2026-06-09 13:58:40'::timestamp) - extract(epoch from '2026-06-09 13:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.410622 -3.450356)', '2026-06-09 13:58:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41061 -3.450337)'), GeomFromEWKT('SRID=4674;POINT (-38.410622 -3.450356)'))) / (select extract(epoch from '2026-06-09 13:58:42'::timestamp) - extract(epoch from '2026-06-09 13:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41061 -3.450337)'), GeomFromEWKT('SRID=4674;POINT (-38.410622 -3.450356)'))) / (select extract(epoch from '2026-06-09 13:58:42'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.410627 -3.450369)', '2026-06-09 13:58:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410622 -3.450356)'), GeomFromEWKT('SRID=4674;POINT (-38.410627 -3.450369)'))) / (select extract(epoch from '2026-06-09 13:58:43'::timestamp) - extract(epoch from '2026-06-09 13:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410622 -3.450356)'), GeomFromEWKT('SRID=4674;POINT (-38.410627 -3.450369)'))) / (select extract(epoch from '2026-06-09 13:58:43'::timestamp) - extract(epoch from '2026-06-09 13:58: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'), 46534, 'SRID=4674;POINT (-38.410634 -3.450382)', '2026-06-09 13:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410627 -3.450369)'), GeomFromEWKT('SRID=4674;POINT (-38.410634 -3.450382)'))) / (select extract(epoch from '2026-06-09 13:58:44'::timestamp) - extract(epoch from '2026-06-09 13:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410627 -3.450369)'), GeomFromEWKT('SRID=4674;POINT (-38.410634 -3.450382)'))) / (select extract(epoch from '2026-06-09 13:58:44'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.410657 -3.450405)', '2026-06-09 13:58:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410634 -3.450382)'), GeomFromEWKT('SRID=4674;POINT (-38.410657 -3.450405)'))) / (select extract(epoch from '2026-06-09 13:58:46'::timestamp) - extract(epoch from '2026-06-09 13:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410634 -3.450382)'), GeomFromEWKT('SRID=4674;POINT (-38.410657 -3.450405)'))) / (select extract(epoch from '2026-06-09 13:58:46'::timestamp) - extract(epoch from '2026-06-09 13:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.410665 -3.450419)', '2026-06-09 13:58:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410657 -3.450405)'), GeomFromEWKT('SRID=4674;POINT (-38.410665 -3.450419)'))) / (select extract(epoch from '2026-06-09 13:58:47'::timestamp) - extract(epoch from '2026-06-09 13:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410657 -3.450405)'), GeomFromEWKT('SRID=4674;POINT (-38.410665 -3.450419)'))) / (select extract(epoch from '2026-06-09 13:58:47'::timestamp) - extract(epoch from '2026-06-09 13:58: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'), 46534, 'SRID=4674;POINT (-38.410695 -3.45046)', '2026-06-09 13:58:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410665 -3.450419)'), GeomFromEWKT('SRID=4674;POINT (-38.410695 -3.45046)'))) / (select extract(epoch from '2026-06-09 13:58:50'::timestamp) - extract(epoch from '2026-06-09 13:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410665 -3.450419)'), GeomFromEWKT('SRID=4674;POINT (-38.410695 -3.45046)'))) / (select extract(epoch from '2026-06-09 13:58:50'::timestamp) - extract(epoch from '2026-06-09 13:58: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'), 46534, 'SRID=4674;POINT (-38.410721 -3.450504)', '2026-06-09 13:58:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410695 -3.45046)'), GeomFromEWKT('SRID=4674;POINT (-38.410721 -3.450504)'))) / (select extract(epoch from '2026-06-09 13:58:53'::timestamp) - extract(epoch from '2026-06-09 13:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410695 -3.45046)'), GeomFromEWKT('SRID=4674;POINT (-38.410721 -3.450504)'))) / (select extract(epoch from '2026-06-09 13:58:53'::timestamp) - extract(epoch from '2026-06-09 13:58: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'), 46534, 'SRID=4674;POINT (-38.410764 -3.450571)', '2026-06-09 13:58:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410721 -3.450504)'), GeomFromEWKT('SRID=4674;POINT (-38.410764 -3.450571)'))) / (select extract(epoch from '2026-06-09 13:58:58'::timestamp) - extract(epoch from '2026-06-09 13:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410721 -3.450504)'), GeomFromEWKT('SRID=4674;POINT (-38.410764 -3.450571)'))) / (select extract(epoch from '2026-06-09 13:58:58'::timestamp) - extract(epoch from '2026-06-09 13:58: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'), 46534, 'SRID=4674;POINT (-38.410799 -3.450637)', '2026-06-09 13:59:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410764 -3.450571)'), GeomFromEWKT('SRID=4674;POINT (-38.410799 -3.450637)'))) / (select extract(epoch from '2026-06-09 13:59:03'::timestamp) - extract(epoch from '2026-06-09 13:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410764 -3.450571)'), GeomFromEWKT('SRID=4674;POINT (-38.410799 -3.450637)'))) / (select extract(epoch from '2026-06-09 13:59:03'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.410843 -3.450709)', '2026-06-09 13:59:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410799 -3.450637)'), GeomFromEWKT('SRID=4674;POINT (-38.410843 -3.450709)'))) / (select extract(epoch from '2026-06-09 13:59:08'::timestamp) - extract(epoch from '2026-06-09 13:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410799 -3.450637)'), GeomFromEWKT('SRID=4674;POINT (-38.410843 -3.450709)'))) / (select extract(epoch from '2026-06-09 13:59:08'::timestamp) - extract(epoch from '2026-06-09 13:59: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'), 46534, 'SRID=4674;POINT (-38.410887 -3.450789)', '2026-06-09 13:59:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410843 -3.450709)'), GeomFromEWKT('SRID=4674;POINT (-38.410887 -3.450789)'))) / (select extract(epoch from '2026-06-09 13:59:14'::timestamp) - extract(epoch from '2026-06-09 13:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410843 -3.450709)'), GeomFromEWKT('SRID=4674;POINT (-38.410887 -3.450789)'))) / (select extract(epoch from '2026-06-09 13:59:14'::timestamp) - extract(epoch from '2026-06-09 13:59: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'), 46534, 'SRID=4674;POINT (-38.410929 -3.450859)', '2026-06-09 13:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410887 -3.450789)'), GeomFromEWKT('SRID=4674;POINT (-38.410929 -3.450859)'))) / (select extract(epoch from '2026-06-09 13:59:20'::timestamp) - extract(epoch from '2026-06-09 13:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410887 -3.450789)'), GeomFromEWKT('SRID=4674;POINT (-38.410929 -3.450859)'))) / (select extract(epoch from '2026-06-09 13:59:20'::timestamp) - extract(epoch from '2026-06-09 13:59:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.410973 -3.450923)', '2026-06-09 13:59:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410929 -3.450859)'), GeomFromEWKT('SRID=4674;POINT (-38.410973 -3.450923)'))) / (select extract(epoch from '2026-06-09 13:59:26'::timestamp) - extract(epoch from '2026-06-09 13:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410929 -3.450859)'), GeomFromEWKT('SRID=4674;POINT (-38.410973 -3.450923)'))) / (select extract(epoch from '2026-06-09 13:59:26'::timestamp) - extract(epoch from '2026-06-09 13:59: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'), 46534, 'SRID=4674;POINT (-38.411031 -3.450993)', '2026-06-09 13:59:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410973 -3.450923)'), GeomFromEWKT('SRID=4674;POINT (-38.411031 -3.450993)'))) / (select extract(epoch from '2026-06-09 13:59:32'::timestamp) - extract(epoch from '2026-06-09 13:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410973 -3.450923)'), GeomFromEWKT('SRID=4674;POINT (-38.411031 -3.450993)'))) / (select extract(epoch from '2026-06-09 13:59:32'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.411076 -3.451055)', '2026-06-09 13:59:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411031 -3.450993)'), GeomFromEWKT('SRID=4674;POINT (-38.411076 -3.451055)'))) / (select extract(epoch from '2026-06-09 13:59:37'::timestamp) - extract(epoch from '2026-06-09 13:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411031 -3.450993)'), GeomFromEWKT('SRID=4674;POINT (-38.411076 -3.451055)'))) / (select extract(epoch from '2026-06-09 13:59:37'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.411118 -3.451126)', '2026-06-09 13:59:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411076 -3.451055)'), GeomFromEWKT('SRID=4674;POINT (-38.411118 -3.451126)'))) / (select extract(epoch from '2026-06-09 13:59:42'::timestamp) - extract(epoch from '2026-06-09 13:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411076 -3.451055)'), GeomFromEWKT('SRID=4674;POINT (-38.411118 -3.451126)'))) / (select extract(epoch from '2026-06-09 13:59:42'::timestamp) - extract(epoch from '2026-06-09 13:59: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'), 46534, 'SRID=4674;POINT (-38.411157 -3.451191)', '2026-06-09 13:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411118 -3.451126)'), GeomFromEWKT('SRID=4674;POINT (-38.411157 -3.451191)'))) / (select extract(epoch from '2026-06-09 13:59:46'::timestamp) - extract(epoch from '2026-06-09 13:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411118 -3.451126)'), GeomFromEWKT('SRID=4674;POINT (-38.411157 -3.451191)'))) / (select extract(epoch from '2026-06-09 13:59:46'::timestamp) - extract(epoch from '2026-06-09 13:59: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'), 46534, 'SRID=4674;POINT (-38.411166 -3.451204)', '2026-06-09 13:59:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411157 -3.451191)'), GeomFromEWKT('SRID=4674;POINT (-38.411166 -3.451204)'))) / (select extract(epoch from '2026-06-09 13:59:47'::timestamp) - extract(epoch from '2026-06-09 13:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411157 -3.451191)'), GeomFromEWKT('SRID=4674;POINT (-38.411166 -3.451204)'))) / (select extract(epoch from '2026-06-09 13:59:47'::timestamp) - extract(epoch from '2026-06-09 13:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.411201 -3.451249)', '2026-06-09 13:59:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411166 -3.451204)'), GeomFromEWKT('SRID=4674;POINT (-38.411201 -3.451249)'))) / (select extract(epoch from '2026-06-09 13:59:50'::timestamp) - extract(epoch from '2026-06-09 13:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411166 -3.451204)'), GeomFromEWKT('SRID=4674;POINT (-38.411201 -3.451249)'))) / (select extract(epoch from '2026-06-09 13:59:50'::timestamp) - extract(epoch from '2026-06-09 13:59: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'), 46534, 'SRID=4674;POINT (-38.41126 -3.451322)', '2026-06-09 13:59:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411201 -3.451249)'), GeomFromEWKT('SRID=4674;POINT (-38.41126 -3.451322)'))) / (select extract(epoch from '2026-06-09 13:59:55'::timestamp) - extract(epoch from '2026-06-09 13:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411201 -3.451249)'), GeomFromEWKT('SRID=4674;POINT (-38.41126 -3.451322)'))) / (select extract(epoch from '2026-06-09 13:59:55'::timestamp) - extract(epoch from '2026-06-09 13:59:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.411306 -3.451391)', '2026-06-09 14:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41126 -3.451322)'), GeomFromEWKT('SRID=4674;POINT (-38.411306 -3.451391)'))) / (select extract(epoch from '2026-06-09 14:00:00'::timestamp) - extract(epoch from '2026-06-09 13:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41126 -3.451322)'), GeomFromEWKT('SRID=4674;POINT (-38.411306 -3.451391)'))) / (select extract(epoch from '2026-06-09 14:00:00'::timestamp) - extract(epoch from '2026-06-09 13:59: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'), 46534, 'SRID=4674;POINT (-38.411352 -3.451473)', '2026-06-09 14:00:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411306 -3.451391)'), GeomFromEWKT('SRID=4674;POINT (-38.411352 -3.451473)'))) / (select extract(epoch from '2026-06-09 14:00:06'::timestamp) - extract(epoch from '2026-06-09 14:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411306 -3.451391)'), GeomFromEWKT('SRID=4674;POINT (-38.411352 -3.451473)'))) / (select extract(epoch from '2026-06-09 14:00:06'::timestamp) - extract(epoch from '2026-06-09 14:00: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'), 46534, 'SRID=4674;POINT (-38.411399 -3.451549)', '2026-06-09 14:00:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411352 -3.451473)'), GeomFromEWKT('SRID=4674;POINT (-38.411399 -3.451549)'))) / (select extract(epoch from '2026-06-09 14:00:11'::timestamp) - extract(epoch from '2026-06-09 14:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411352 -3.451473)'), GeomFromEWKT('SRID=4674;POINT (-38.411399 -3.451549)'))) / (select extract(epoch from '2026-06-09 14:00:11'::timestamp) - extract(epoch from '2026-06-09 14:00: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'), 46534, 'SRID=4674;POINT (-38.411429 -3.451597)', '2026-06-09 14:00:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411399 -3.451549)'), GeomFromEWKT('SRID=4674;POINT (-38.411429 -3.451597)'))) / (select extract(epoch from '2026-06-09 14:00:15'::timestamp) - extract(epoch from '2026-06-09 14:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411399 -3.451549)'), GeomFromEWKT('SRID=4674;POINT (-38.411429 -3.451597)'))) / (select extract(epoch from '2026-06-09 14:00:15'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.411448 -3.451624)', '2026-06-09 14:00:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411429 -3.451597)'), GeomFromEWKT('SRID=4674;POINT (-38.411448 -3.451624)'))) / (select extract(epoch from '2026-06-09 14:00:17'::timestamp) - extract(epoch from '2026-06-09 14:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411429 -3.451597)'), GeomFromEWKT('SRID=4674;POINT (-38.411448 -3.451624)'))) / (select extract(epoch from '2026-06-09 14:00:17'::timestamp) - extract(epoch from '2026-06-09 14:00: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'), 46534, 'SRID=4674;POINT (-38.411514 -3.451747)', '2026-06-09 14:00:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411448 -3.451624)'), GeomFromEWKT('SRID=4674;POINT (-38.411514 -3.451747)'))) / (select extract(epoch from '2026-06-09 14:00:25'::timestamp) - extract(epoch from '2026-06-09 14:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411448 -3.451624)'), GeomFromEWKT('SRID=4674;POINT (-38.411514 -3.451747)'))) / (select extract(epoch from '2026-06-09 14:00:25'::timestamp) - extract(epoch from '2026-06-09 14:00: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'), 46534, 'SRID=4674;POINT (-38.411553 -3.451821)', '2026-06-09 14:00:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411514 -3.451747)'), GeomFromEWKT('SRID=4674;POINT (-38.411553 -3.451821)'))) / (select extract(epoch from '2026-06-09 14:00:30'::timestamp) - extract(epoch from '2026-06-09 14:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411514 -3.451747)'), GeomFromEWKT('SRID=4674;POINT (-38.411553 -3.451821)'))) / (select extract(epoch from '2026-06-09 14:00:30'::timestamp) - extract(epoch from '2026-06-09 14:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.411558 -3.451838)', '2026-06-09 14:00:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411553 -3.451821)'), GeomFromEWKT('SRID=4674;POINT (-38.411558 -3.451838)'))) / (select extract(epoch from '2026-06-09 14:00:31'::timestamp) - extract(epoch from '2026-06-09 14:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411553 -3.451821)'), GeomFromEWKT('SRID=4674;POINT (-38.411558 -3.451838)'))) / (select extract(epoch from '2026-06-09 14:00:31'::timestamp) - extract(epoch from '2026-06-09 14:00: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'), 46534, 'SRID=4674;POINT (-38.41157 -3.451852)', '2026-06-09 14:00:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411558 -3.451838)'), GeomFromEWKT('SRID=4674;POINT (-38.41157 -3.451852)'))) / (select extract(epoch from '2026-06-09 14:00:32'::timestamp) - extract(epoch from '2026-06-09 14:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411558 -3.451838)'), GeomFromEWKT('SRID=4674;POINT (-38.41157 -3.451852)'))) / (select extract(epoch from '2026-06-09 14:00:32'::timestamp) - extract(epoch from '2026-06-09 14:00:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.411595 -3.451896)', '2026-06-09 14:00:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41157 -3.451852)'), GeomFromEWKT('SRID=4674;POINT (-38.411595 -3.451896)'))) / (select extract(epoch from '2026-06-09 14:00:35'::timestamp) - extract(epoch from '2026-06-09 14:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41157 -3.451852)'), GeomFromEWKT('SRID=4674;POINT (-38.411595 -3.451896)'))) / (select extract(epoch from '2026-06-09 14:00:35'::timestamp) - extract(epoch from '2026-06-09 14:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.411644 -3.451982)', '2026-06-09 14:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411595 -3.451896)'), GeomFromEWKT('SRID=4674;POINT (-38.411644 -3.451982)'))) / (select extract(epoch from '2026-06-09 14:00:41'::timestamp) - extract(epoch from '2026-06-09 14:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411595 -3.451896)'), GeomFromEWKT('SRID=4674;POINT (-38.411644 -3.451982)'))) / (select extract(epoch from '2026-06-09 14:00:41'::timestamp) - extract(epoch from '2026-06-09 14:00: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'), 46534, 'SRID=4674;POINT (-38.411693 -3.452046)', '2026-06-09 14:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411644 -3.451982)'), GeomFromEWKT('SRID=4674;POINT (-38.411693 -3.452046)'))) / (select extract(epoch from '2026-06-09 14:00:46'::timestamp) - extract(epoch from '2026-06-09 14:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411644 -3.451982)'), GeomFromEWKT('SRID=4674;POINT (-38.411693 -3.452046)'))) / (select extract(epoch from '2026-06-09 14:00:46'::timestamp) - extract(epoch from '2026-06-09 14:00: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'), 46534, 'SRID=4674;POINT (-38.411756 -3.452121)', '2026-06-09 14:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411693 -3.452046)'), GeomFromEWKT('SRID=4674;POINT (-38.411756 -3.452121)'))) / (select extract(epoch from '2026-06-09 14:00:52'::timestamp) - extract(epoch from '2026-06-09 14:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411693 -3.452046)'), GeomFromEWKT('SRID=4674;POINT (-38.411756 -3.452121)'))) / (select extract(epoch from '2026-06-09 14:00:52'::timestamp) - extract(epoch from '2026-06-09 14:00: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'), 46534, 'SRID=4674;POINT (-38.411818 -3.452212)', '2026-06-09 14:00:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411756 -3.452121)'), GeomFromEWKT('SRID=4674;POINT (-38.411818 -3.452212)'))) / (select extract(epoch from '2026-06-09 14:00:57'::timestamp) - extract(epoch from '2026-06-09 14:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411756 -3.452121)'), GeomFromEWKT('SRID=4674;POINT (-38.411818 -3.452212)'))) / (select extract(epoch from '2026-06-09 14:00:57'::timestamp) - extract(epoch from '2026-06-09 14:00: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'), 46534, 'SRID=4674;POINT (-38.411866 -3.452296)', '2026-06-09 14:01:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411818 -3.452212)'), GeomFromEWKT('SRID=4674;POINT (-38.411866 -3.452296)'))) / (select extract(epoch from '2026-06-09 14:01:03'::timestamp) - extract(epoch from '2026-06-09 14:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411818 -3.452212)'), GeomFromEWKT('SRID=4674;POINT (-38.411866 -3.452296)'))) / (select extract(epoch from '2026-06-09 14:01:03'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.411883 -3.452331)', '2026-06-09 14:01:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411866 -3.452296)'), GeomFromEWKT('SRID=4674;POINT (-38.411883 -3.452331)'))) / (select extract(epoch from '2026-06-09 14:01:05'::timestamp) - extract(epoch from '2026-06-09 14:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411866 -3.452296)'), GeomFromEWKT('SRID=4674;POINT (-38.411883 -3.452331)'))) / (select extract(epoch from '2026-06-09 14:01:05'::timestamp) - extract(epoch from '2026-06-09 14:01: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'), 46534, 'SRID=4674;POINT (-38.411919 -3.452373)', '2026-06-09 14:01:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411883 -3.452331)'), GeomFromEWKT('SRID=4674;POINT (-38.411919 -3.452373)'))) / (select extract(epoch from '2026-06-09 14:01:08'::timestamp) - extract(epoch from '2026-06-09 14:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411883 -3.452331)'), GeomFromEWKT('SRID=4674;POINT (-38.411919 -3.452373)'))) / (select extract(epoch from '2026-06-09 14:01:08'::timestamp) - extract(epoch from '2026-06-09 14:01: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'), 46534, 'SRID=4674;POINT (-38.411974 -3.452478)', '2026-06-09 14:01:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411919 -3.452373)'), GeomFromEWKT('SRID=4674;POINT (-38.411974 -3.452478)'))) / (select extract(epoch from '2026-06-09 14:01:15'::timestamp) - extract(epoch from '2026-06-09 14:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411919 -3.452373)'), GeomFromEWKT('SRID=4674;POINT (-38.411974 -3.452478)'))) / (select extract(epoch from '2026-06-09 14:01:15'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412004 -3.452547)', '2026-06-09 14:01:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411974 -3.452478)'), GeomFromEWKT('SRID=4674;POINT (-38.412004 -3.452547)'))) / (select extract(epoch from '2026-06-09 14:01:20'::timestamp) - extract(epoch from '2026-06-09 14:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411974 -3.452478)'), GeomFromEWKT('SRID=4674;POINT (-38.412004 -3.452547)'))) / (select extract(epoch from '2026-06-09 14:01:20'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412045 -3.452642)', '2026-06-09 14:01:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412004 -3.452547)'), GeomFromEWKT('SRID=4674;POINT (-38.412045 -3.452642)'))) / (select extract(epoch from '2026-06-09 14:01:26'::timestamp) - extract(epoch from '2026-06-09 14:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412004 -3.452547)'), GeomFromEWKT('SRID=4674;POINT (-38.412045 -3.452642)'))) / (select extract(epoch from '2026-06-09 14:01:26'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412091 -3.45271)', '2026-06-09 14:01:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412045 -3.452642)'), GeomFromEWKT('SRID=4674;POINT (-38.412091 -3.45271)'))) / (select extract(epoch from '2026-06-09 14:01:30'::timestamp) - extract(epoch from '2026-06-09 14:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412045 -3.452642)'), GeomFromEWKT('SRID=4674;POINT (-38.412091 -3.45271)'))) / (select extract(epoch from '2026-06-09 14:01:30'::timestamp) - extract(epoch from '2026-06-09 14:01: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'), 46534, 'SRID=4674;POINT (-38.412095 -3.452726)', '2026-06-09 14:01:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412091 -3.45271)'), GeomFromEWKT('SRID=4674;POINT (-38.412095 -3.452726)'))) / (select extract(epoch from '2026-06-09 14:01:31'::timestamp) - extract(epoch from '2026-06-09 14:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412091 -3.45271)'), GeomFromEWKT('SRID=4674;POINT (-38.412095 -3.452726)'))) / (select extract(epoch from '2026-06-09 14:01:31'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412105 -3.452771)', '2026-06-09 14:01:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412095 -3.452726)'), GeomFromEWKT('SRID=4674;POINT (-38.412105 -3.452771)'))) / (select extract(epoch from '2026-06-09 14:01:34'::timestamp) - extract(epoch from '2026-06-09 14:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412095 -3.452726)'), GeomFromEWKT('SRID=4674;POINT (-38.412105 -3.452771)'))) / (select extract(epoch from '2026-06-09 14:01:34'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412162 -3.452886)', '2026-06-09 14:01:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412105 -3.452771)'), GeomFromEWKT('SRID=4674;POINT (-38.412162 -3.452886)'))) / (select extract(epoch from '2026-06-09 14:01:41'::timestamp) - extract(epoch from '2026-06-09 14:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412105 -3.452771)'), GeomFromEWKT('SRID=4674;POINT (-38.412162 -3.452886)'))) / (select extract(epoch from '2026-06-09 14:01:41'::timestamp) - extract(epoch from '2026-06-09 14:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.412199 -3.452967)', '2026-06-09 14:01:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412162 -3.452886)'), GeomFromEWKT('SRID=4674;POINT (-38.412199 -3.452967)'))) / (select extract(epoch from '2026-06-09 14:01:47'::timestamp) - extract(epoch from '2026-06-09 14:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412162 -3.452886)'), GeomFromEWKT('SRID=4674;POINT (-38.412199 -3.452967)'))) / (select extract(epoch from '2026-06-09 14:01:47'::timestamp) - extract(epoch from '2026-06-09 14:01: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'), 46534, 'SRID=4674;POINT (-38.412248 -3.453066)', '2026-06-09 14:01:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412199 -3.452967)'), GeomFromEWKT('SRID=4674;POINT (-38.412248 -3.453066)'))) / (select extract(epoch from '2026-06-09 14:01:54'::timestamp) - extract(epoch from '2026-06-09 14:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412199 -3.452967)'), GeomFromEWKT('SRID=4674;POINT (-38.412248 -3.453066)'))) / (select extract(epoch from '2026-06-09 14:01:54'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412296 -3.453143)', '2026-06-09 14:01:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412248 -3.453066)'), GeomFromEWKT('SRID=4674;POINT (-38.412296 -3.453143)'))) / (select extract(epoch from '2026-06-09 14:01:59'::timestamp) - extract(epoch from '2026-06-09 14:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412248 -3.453066)'), GeomFromEWKT('SRID=4674;POINT (-38.412296 -3.453143)'))) / (select extract(epoch from '2026-06-09 14:01:59'::timestamp) - extract(epoch from '2026-06-09 14:01: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'), 46534, 'SRID=4674;POINT (-38.412355 -3.453255)', '2026-06-09 14:02:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412296 -3.453143)'), GeomFromEWKT('SRID=4674;POINT (-38.412355 -3.453255)'))) / (select extract(epoch from '2026-06-09 14:02:06'::timestamp) - extract(epoch from '2026-06-09 14:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412296 -3.453143)'), GeomFromEWKT('SRID=4674;POINT (-38.412355 -3.453255)'))) / (select extract(epoch from '2026-06-09 14:02:06'::timestamp) - extract(epoch from '2026-06-09 14:01: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'), 46534, 'SRID=4674;POINT (-38.412401 -3.453356)', '2026-06-09 14:02:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412355 -3.453255)'), GeomFromEWKT('SRID=4674;POINT (-38.412401 -3.453356)'))) / (select extract(epoch from '2026-06-09 14:02:12'::timestamp) - extract(epoch from '2026-06-09 14:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412355 -3.453255)'), GeomFromEWKT('SRID=4674;POINT (-38.412401 -3.453356)'))) / (select extract(epoch from '2026-06-09 14:02:12'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412454 -3.453468)', '2026-06-09 14:02:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412401 -3.453356)'), GeomFromEWKT('SRID=4674;POINT (-38.412454 -3.453468)'))) / (select extract(epoch from '2026-06-09 14:02:18'::timestamp) - extract(epoch from '2026-06-09 14:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412401 -3.453356)'), GeomFromEWKT('SRID=4674;POINT (-38.412454 -3.453468)'))) / (select extract(epoch from '2026-06-09 14:02:18'::timestamp) - extract(epoch from '2026-06-09 14:02: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'), 46534, 'SRID=4674;POINT (-38.412511 -3.45361)', '2026-06-09 14:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412454 -3.453468)'), GeomFromEWKT('SRID=4674;POINT (-38.412511 -3.45361)'))) / (select extract(epoch from '2026-06-09 14:02:26'::timestamp) - extract(epoch from '2026-06-09 14:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412454 -3.453468)'), GeomFromEWKT('SRID=4674;POINT (-38.412511 -3.45361)'))) / (select extract(epoch from '2026-06-09 14:02:26'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412553 -3.453725)', '2026-06-09 14:02:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412511 -3.45361)'), GeomFromEWKT('SRID=4674;POINT (-38.412553 -3.453725)'))) / (select extract(epoch from '2026-06-09 14:02:33'::timestamp) - extract(epoch from '2026-06-09 14:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412511 -3.45361)'), GeomFromEWKT('SRID=4674;POINT (-38.412553 -3.453725)'))) / (select extract(epoch from '2026-06-09 14:02:33'::timestamp) - extract(epoch from '2026-06-09 14:02: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'), 46534, 'SRID=4674;POINT (-38.412592 -3.453824)', '2026-06-09 14:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412553 -3.453725)'), GeomFromEWKT('SRID=4674;POINT (-38.412592 -3.453824)'))) / (select extract(epoch from '2026-06-09 14:02:39'::timestamp) - extract(epoch from '2026-06-09 14:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412553 -3.453725)'), GeomFromEWKT('SRID=4674;POINT (-38.412592 -3.453824)'))) / (select extract(epoch from '2026-06-09 14:02:39'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412612 -3.453876)', '2026-06-09 14:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412592 -3.453824)'), GeomFromEWKT('SRID=4674;POINT (-38.412612 -3.453876)'))) / (select extract(epoch from '2026-06-09 14:02:42'::timestamp) - extract(epoch from '2026-06-09 14:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412592 -3.453824)'), GeomFromEWKT('SRID=4674;POINT (-38.412612 -3.453876)'))) / (select extract(epoch from '2026-06-09 14:02:42'::timestamp) - extract(epoch from '2026-06-09 14:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.412623 -3.453916)', '2026-06-09 14:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412612 -3.453876)'), GeomFromEWKT('SRID=4674;POINT (-38.412623 -3.453916)'))) / (select extract(epoch from '2026-06-09 14:02:45'::timestamp) - extract(epoch from '2026-06-09 14:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412612 -3.453876)'), GeomFromEWKT('SRID=4674;POINT (-38.412623 -3.453916)'))) / (select extract(epoch from '2026-06-09 14:02:45'::timestamp) - extract(epoch from '2026-06-09 14:02: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'), 46534, 'SRID=4674;POINT (-38.41263 -3.453935)', '2026-06-09 14:02:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412623 -3.453916)'), GeomFromEWKT('SRID=4674;POINT (-38.41263 -3.453935)'))) / (select extract(epoch from '2026-06-09 14:02:46'::timestamp) - extract(epoch from '2026-06-09 14:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412623 -3.453916)'), GeomFromEWKT('SRID=4674;POINT (-38.41263 -3.453935)'))) / (select extract(epoch from '2026-06-09 14:02:46'::timestamp) - extract(epoch from '2026-06-09 14:02: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'), 46534, 'SRID=4674;POINT (-38.412647 -3.45396)', '2026-06-09 14:02:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41263 -3.453935)'), GeomFromEWKT('SRID=4674;POINT (-38.412647 -3.45396)'))) / (select extract(epoch from '2026-06-09 14:02:48'::timestamp) - extract(epoch from '2026-06-09 14:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41263 -3.453935)'), GeomFromEWKT('SRID=4674;POINT (-38.412647 -3.45396)'))) / (select extract(epoch from '2026-06-09 14:02:48'::timestamp) - extract(epoch from '2026-06-09 14:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.412656 -3.453989)', '2026-06-09 14:02:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412647 -3.45396)'), GeomFromEWKT('SRID=4674;POINT (-38.412656 -3.453989)'))) / (select extract(epoch from '2026-06-09 14:02:50'::timestamp) - extract(epoch from '2026-06-09 14:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412647 -3.45396)'), GeomFromEWKT('SRID=4674;POINT (-38.412656 -3.453989)'))) / (select extract(epoch from '2026-06-09 14:02:50'::timestamp) - extract(epoch from '2026-06-09 14:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.412693 -3.454056)', '2026-06-09 14:02:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412656 -3.453989)'), GeomFromEWKT('SRID=4674;POINT (-38.412693 -3.454056)'))) / (select extract(epoch from '2026-06-09 14:02:55'::timestamp) - extract(epoch from '2026-06-09 14:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412656 -3.453989)'), GeomFromEWKT('SRID=4674;POINT (-38.412693 -3.454056)'))) / (select extract(epoch from '2026-06-09 14:02:55'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412742 -3.45418)', '2026-06-09 14:03:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412693 -3.454056)'), GeomFromEWKT('SRID=4674;POINT (-38.412742 -3.45418)'))) / (select extract(epoch from '2026-06-09 14:03:02'::timestamp) - extract(epoch from '2026-06-09 14:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412693 -3.454056)'), GeomFromEWKT('SRID=4674;POINT (-38.412742 -3.45418)'))) / (select extract(epoch from '2026-06-09 14:03:02'::timestamp) - extract(epoch from '2026-06-09 14:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.412777 -3.454264)', '2026-06-09 14:03:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412742 -3.45418)'), GeomFromEWKT('SRID=4674;POINT (-38.412777 -3.454264)'))) / (select extract(epoch from '2026-06-09 14:03:07'::timestamp) - extract(epoch from '2026-06-09 14:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412742 -3.45418)'), GeomFromEWKT('SRID=4674;POINT (-38.412777 -3.454264)'))) / (select extract(epoch from '2026-06-09 14:03:07'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412808 -3.454333)', '2026-06-09 14:03:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412777 -3.454264)'), GeomFromEWKT('SRID=4674;POINT (-38.412808 -3.454333)'))) / (select extract(epoch from '2026-06-09 14:03:12'::timestamp) - extract(epoch from '2026-06-09 14:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412777 -3.454264)'), GeomFromEWKT('SRID=4674;POINT (-38.412808 -3.454333)'))) / (select extract(epoch from '2026-06-09 14:03:12'::timestamp) - extract(epoch from '2026-06-09 14:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.412838 -3.454421)', '2026-06-09 14:03:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412808 -3.454333)'), GeomFromEWKT('SRID=4674;POINT (-38.412838 -3.454421)'))) / (select extract(epoch from '2026-06-09 14:03:17'::timestamp) - extract(epoch from '2026-06-09 14:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412808 -3.454333)'), GeomFromEWKT('SRID=4674;POINT (-38.412838 -3.454421)'))) / (select extract(epoch from '2026-06-09 14:03:17'::timestamp) - extract(epoch from '2026-06-09 14:03: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'), 46534, 'SRID=4674;POINT (-38.412875 -3.454517)', '2026-06-09 14:03:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412838 -3.454421)'), GeomFromEWKT('SRID=4674;POINT (-38.412875 -3.454517)'))) / (select extract(epoch from '2026-06-09 14:03:22'::timestamp) - extract(epoch from '2026-06-09 14:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412838 -3.454421)'), GeomFromEWKT('SRID=4674;POINT (-38.412875 -3.454517)'))) / (select extract(epoch from '2026-06-09 14:03:22'::timestamp) - extract(epoch from '2026-06-09 14:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.412907 -3.454594)', '2026-06-09 14:03:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412875 -3.454517)'), GeomFromEWKT('SRID=4674;POINT (-38.412907 -3.454594)'))) / (select extract(epoch from '2026-06-09 14:03:26'::timestamp) - extract(epoch from '2026-06-09 14:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412875 -3.454517)'), GeomFromEWKT('SRID=4674;POINT (-38.412907 -3.454594)'))) / (select extract(epoch from '2026-06-09 14:03:26'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412917 -3.45461)', '2026-06-09 14:03:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412907 -3.454594)'), GeomFromEWKT('SRID=4674;POINT (-38.412917 -3.45461)'))) / (select extract(epoch from '2026-06-09 14:03:27'::timestamp) - extract(epoch from '2026-06-09 14:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412907 -3.454594)'), GeomFromEWKT('SRID=4674;POINT (-38.412917 -3.45461)'))) / (select extract(epoch from '2026-06-09 14:03:27'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.412955 -3.454734)', '2026-06-09 14:03:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412917 -3.45461)'), GeomFromEWKT('SRID=4674;POINT (-38.412955 -3.454734)'))) / (select extract(epoch from '2026-06-09 14:03:33'::timestamp) - extract(epoch from '2026-06-09 14:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412917 -3.45461)'), GeomFromEWKT('SRID=4674;POINT (-38.412955 -3.454734)'))) / (select extract(epoch from '2026-06-09 14:03:33'::timestamp) - extract(epoch from '2026-06-09 14:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.412989 -3.454835)', '2026-06-09 14:03:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412955 -3.454734)'), GeomFromEWKT('SRID=4674;POINT (-38.412989 -3.454835)'))) / (select extract(epoch from '2026-06-09 14:03:38'::timestamp) - extract(epoch from '2026-06-09 14:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412955 -3.454734)'), GeomFromEWKT('SRID=4674;POINT (-38.412989 -3.454835)'))) / (select extract(epoch from '2026-06-09 14:03:38'::timestamp) - extract(epoch from '2026-06-09 14:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413022 -3.454932)', '2026-06-09 14:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412989 -3.454835)'), GeomFromEWKT('SRID=4674;POINT (-38.413022 -3.454932)'))) / (select extract(epoch from '2026-06-09 14:03:43'::timestamp) - extract(epoch from '2026-06-09 14:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412989 -3.454835)'), GeomFromEWKT('SRID=4674;POINT (-38.413022 -3.454932)'))) / (select extract(epoch from '2026-06-09 14:03:43'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.413066 -3.455054)', '2026-06-09 14:03:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413022 -3.454932)'), GeomFromEWKT('SRID=4674;POINT (-38.413066 -3.455054)'))) / (select extract(epoch from '2026-06-09 14:03:49'::timestamp) - extract(epoch from '2026-06-09 14:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413022 -3.454932)'), GeomFromEWKT('SRID=4674;POINT (-38.413066 -3.455054)'))) / (select extract(epoch from '2026-06-09 14:03:49'::timestamp) - extract(epoch from '2026-06-09 14:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413071 -3.455074)', '2026-06-09 14:03:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413066 -3.455054)'), GeomFromEWKT('SRID=4674;POINT (-38.413071 -3.455074)'))) / (select extract(epoch from '2026-06-09 14:03:52'::timestamp) - extract(epoch from '2026-06-09 14:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413066 -3.455054)'), GeomFromEWKT('SRID=4674;POINT (-38.413071 -3.455074)'))) / (select extract(epoch from '2026-06-09 14:03:52'::timestamp) - extract(epoch from '2026-06-09 14:03:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413093 -3.455157)', '2026-06-09 14:03:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413071 -3.455074)'), GeomFromEWKT('SRID=4674;POINT (-38.413093 -3.455157)'))) / (select extract(epoch from '2026-06-09 14:03:58'::timestamp) - extract(epoch from '2026-06-09 14:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413071 -3.455074)'), GeomFromEWKT('SRID=4674;POINT (-38.413093 -3.455157)'))) / (select extract(epoch from '2026-06-09 14:03:58'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.413127 -3.455249)', '2026-06-09 14:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413093 -3.455157)'), GeomFromEWKT('SRID=4674;POINT (-38.413127 -3.455249)'))) / (select extract(epoch from '2026-06-09 14:04:03'::timestamp) - extract(epoch from '2026-06-09 14:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413093 -3.455157)'), GeomFromEWKT('SRID=4674;POINT (-38.413127 -3.455249)'))) / (select extract(epoch from '2026-06-09 14:04:03'::timestamp) - extract(epoch from '2026-06-09 14:03: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'), 46534, 'SRID=4674;POINT (-38.413167 -3.455349)', '2026-06-09 14:04:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413127 -3.455249)'), GeomFromEWKT('SRID=4674;POINT (-38.413167 -3.455349)'))) / (select extract(epoch from '2026-06-09 14:04:09'::timestamp) - extract(epoch from '2026-06-09 14:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413127 -3.455249)'), GeomFromEWKT('SRID=4674;POINT (-38.413167 -3.455349)'))) / (select extract(epoch from '2026-06-09 14:04:09'::timestamp) - extract(epoch from '2026-06-09 14:04: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'), 46534, 'SRID=4674;POINT (-38.413203 -3.455424)', '2026-06-09 14:04:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413167 -3.455349)'), GeomFromEWKT('SRID=4674;POINT (-38.413203 -3.455424)'))) / (select extract(epoch from '2026-06-09 14:04:14'::timestamp) - extract(epoch from '2026-06-09 14:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413167 -3.455349)'), GeomFromEWKT('SRID=4674;POINT (-38.413203 -3.455424)'))) / (select extract(epoch from '2026-06-09 14:04:14'::timestamp) - extract(epoch from '2026-06-09 14:04: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'), 46534, 'SRID=4674;POINT (-38.413252 -3.455538)', '2026-06-09 14:04:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413203 -3.455424)'), GeomFromEWKT('SRID=4674;POINT (-38.413252 -3.455538)'))) / (select extract(epoch from '2026-06-09 14:04:20'::timestamp) - extract(epoch from '2026-06-09 14:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413203 -3.455424)'), GeomFromEWKT('SRID=4674;POINT (-38.413252 -3.455538)'))) / (select extract(epoch from '2026-06-09 14:04:20'::timestamp) - extract(epoch from '2026-06-09 14:04: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'), 46534, 'SRID=4674;POINT (-38.413289 -3.455625)', '2026-06-09 14:04:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413252 -3.455538)'), GeomFromEWKT('SRID=4674;POINT (-38.413289 -3.455625)'))) / (select extract(epoch from '2026-06-09 14:04:24'::timestamp) - extract(epoch from '2026-06-09 14:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413252 -3.455538)'), GeomFromEWKT('SRID=4674;POINT (-38.413289 -3.455625)'))) / (select extract(epoch from '2026-06-09 14:04:24'::timestamp) - extract(epoch from '2026-06-09 14:04: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'), 46534, 'SRID=4674;POINT (-38.413316 -3.455742)', '2026-06-09 14:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413289 -3.455625)'), GeomFromEWKT('SRID=4674;POINT (-38.413316 -3.455742)'))) / (select extract(epoch from '2026-06-09 14:04:30'::timestamp) - extract(epoch from '2026-06-09 14:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413289 -3.455625)'), GeomFromEWKT('SRID=4674;POINT (-38.413316 -3.455742)'))) / (select extract(epoch from '2026-06-09 14:04:30'::timestamp) - extract(epoch from '2026-06-09 14:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413336 -3.455846)', '2026-06-09 14:04:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413316 -3.455742)'), GeomFromEWKT('SRID=4674;POINT (-38.413336 -3.455846)'))) / (select extract(epoch from '2026-06-09 14:04:36'::timestamp) - extract(epoch from '2026-06-09 14:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413316 -3.455742)'), GeomFromEWKT('SRID=4674;POINT (-38.413336 -3.455846)'))) / (select extract(epoch from '2026-06-09 14:04:36'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.413369 -3.455968)', '2026-06-09 14:04:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413336 -3.455846)'), GeomFromEWKT('SRID=4674;POINT (-38.413369 -3.455968)'))) / (select extract(epoch from '2026-06-09 14:04:43'::timestamp) - extract(epoch from '2026-06-09 14:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413336 -3.455846)'), GeomFromEWKT('SRID=4674;POINT (-38.413369 -3.455968)'))) / (select extract(epoch from '2026-06-09 14:04:43'::timestamp) - extract(epoch from '2026-06-09 14:04: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'), 46534, 'SRID=4674;POINT (-38.413401 -3.456081)', '2026-06-09 14:04:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413369 -3.455968)'), GeomFromEWKT('SRID=4674;POINT (-38.413401 -3.456081)'))) / (select extract(epoch from '2026-06-09 14:04:49'::timestamp) - extract(epoch from '2026-06-09 14:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413369 -3.455968)'), GeomFromEWKT('SRID=4674;POINT (-38.413401 -3.456081)'))) / (select extract(epoch from '2026-06-09 14:04:49'::timestamp) - extract(epoch from '2026-06-09 14:04: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'), 46534, 'SRID=4674;POINT (-38.413427 -3.456186)', '2026-06-09 14:04:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413401 -3.456081)'), GeomFromEWKT('SRID=4674;POINT (-38.413427 -3.456186)'))) / (select extract(epoch from '2026-06-09 14:04:55'::timestamp) - extract(epoch from '2026-06-09 14:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413401 -3.456081)'), GeomFromEWKT('SRID=4674;POINT (-38.413427 -3.456186)'))) / (select extract(epoch from '2026-06-09 14:04:55'::timestamp) - extract(epoch from '2026-06-09 14:04: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'), 46534, 'SRID=4674;POINT (-38.413444 -3.456298)', '2026-06-09 14:05:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413427 -3.456186)'), GeomFromEWKT('SRID=4674;POINT (-38.413444 -3.456298)'))) / (select extract(epoch from '2026-06-09 14:05:02'::timestamp) - extract(epoch from '2026-06-09 14:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413427 -3.456186)'), GeomFromEWKT('SRID=4674;POINT (-38.413444 -3.456298)'))) / (select extract(epoch from '2026-06-09 14:05:02'::timestamp) - extract(epoch from '2026-06-09 14:04: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'), 46534, 'SRID=4674;POINT (-38.413482 -3.456398)', '2026-06-09 14:05:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413444 -3.456298)'), GeomFromEWKT('SRID=4674;POINT (-38.413482 -3.456398)'))) / (select extract(epoch from '2026-06-09 14:05:09'::timestamp) - extract(epoch from '2026-06-09 14:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413444 -3.456298)'), GeomFromEWKT('SRID=4674;POINT (-38.413482 -3.456398)'))) / (select extract(epoch from '2026-06-09 14:05:09'::timestamp) - extract(epoch from '2026-06-09 14:05:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413508 -3.456462)', '2026-06-09 14:05:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413482 -3.456398)'), GeomFromEWKT('SRID=4674;POINT (-38.413508 -3.456462)'))) / (select extract(epoch from '2026-06-09 14:05:14'::timestamp) - extract(epoch from '2026-06-09 14:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413482 -3.456398)'), GeomFromEWKT('SRID=4674;POINT (-38.413508 -3.456462)'))) / (select extract(epoch from '2026-06-09 14:05:14'::timestamp) - extract(epoch from '2026-06-09 14:05: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'), 46534, 'SRID=4674;POINT (-38.41354 -3.45655)', '2026-06-09 14:05:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413508 -3.456462)'), GeomFromEWKT('SRID=4674;POINT (-38.41354 -3.45655)'))) / (select extract(epoch from '2026-06-09 14:05:20'::timestamp) - extract(epoch from '2026-06-09 14:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413508 -3.456462)'), GeomFromEWKT('SRID=4674;POINT (-38.41354 -3.45655)'))) / (select extract(epoch from '2026-06-09 14:05:20'::timestamp) - extract(epoch from '2026-06-09 14:05: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'), 46534, 'SRID=4674;POINT (-38.413556 -3.456582)', '2026-06-09 14:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41354 -3.45655)'), GeomFromEWKT('SRID=4674;POINT (-38.413556 -3.456582)'))) / (select extract(epoch from '2026-06-09 14:05:22'::timestamp) - extract(epoch from '2026-06-09 14:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41354 -3.45655)'), GeomFromEWKT('SRID=4674;POINT (-38.413556 -3.456582)'))) / (select extract(epoch from '2026-06-09 14:05:22'::timestamp) - extract(epoch from '2026-06-09 14:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413578 -3.456628)', '2026-06-09 14:05:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413556 -3.456582)'), GeomFromEWKT('SRID=4674;POINT (-38.413578 -3.456628)'))) / (select extract(epoch from '2026-06-09 14:05:25'::timestamp) - extract(epoch from '2026-06-09 14:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413556 -3.456582)'), GeomFromEWKT('SRID=4674;POINT (-38.413578 -3.456628)'))) / (select extract(epoch from '2026-06-09 14:05:25'::timestamp) - extract(epoch from '2026-06-09 14:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413597 -3.456693)', '2026-06-09 14:05:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413578 -3.456628)'), GeomFromEWKT('SRID=4674;POINT (-38.413597 -3.456693)'))) / (select extract(epoch from '2026-06-09 14:05:30'::timestamp) - extract(epoch from '2026-06-09 14:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413578 -3.456628)'), GeomFromEWKT('SRID=4674;POINT (-38.413597 -3.456693)'))) / (select extract(epoch from '2026-06-09 14:05:30'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.413618 -3.456754)', '2026-06-09 14:05:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413597 -3.456693)'), GeomFromEWKT('SRID=4674;POINT (-38.413618 -3.456754)'))) / (select extract(epoch from '2026-06-09 14:05:34'::timestamp) - extract(epoch from '2026-06-09 14:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413597 -3.456693)'), GeomFromEWKT('SRID=4674;POINT (-38.413618 -3.456754)'))) / (select extract(epoch from '2026-06-09 14:05:34'::timestamp) - extract(epoch from '2026-06-09 14:05: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'), 46534, 'SRID=4674;POINT (-38.413636 -3.4568)', '2026-06-09 14:05:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413618 -3.456754)'), GeomFromEWKT('SRID=4674;POINT (-38.413636 -3.4568)'))) / (select extract(epoch from '2026-06-09 14:05:37'::timestamp) - extract(epoch from '2026-06-09 14:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413618 -3.456754)'), GeomFromEWKT('SRID=4674;POINT (-38.413636 -3.4568)'))) / (select extract(epoch from '2026-06-09 14:05:37'::timestamp) - extract(epoch from '2026-06-09 14:05: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'), 46534, 'SRID=4674;POINT (-38.413648 -3.456814)', '2026-06-09 14:05:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413636 -3.4568)'), GeomFromEWKT('SRID=4674;POINT (-38.413648 -3.456814)'))) / (select extract(epoch from '2026-06-09 14:05:38'::timestamp) - extract(epoch from '2026-06-09 14:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413636 -3.4568)'), GeomFromEWKT('SRID=4674;POINT (-38.413648 -3.456814)'))) / (select extract(epoch from '2026-06-09 14:05:38'::timestamp) - extract(epoch from '2026-06-09 14:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413654 -3.45683)', '2026-06-09 14:05:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413648 -3.456814)'), GeomFromEWKT('SRID=4674;POINT (-38.413654 -3.45683)'))) / (select extract(epoch from '2026-06-09 14:05:39'::timestamp) - extract(epoch from '2026-06-09 14:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413648 -3.456814)'), GeomFromEWKT('SRID=4674;POINT (-38.413654 -3.45683)'))) / (select extract(epoch from '2026-06-09 14:05:39'::timestamp) - extract(epoch from '2026-06-09 14:05:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.41367 -3.456875)', '2026-06-09 14:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413654 -3.45683)'), GeomFromEWKT('SRID=4674;POINT (-38.41367 -3.456875)'))) / (select extract(epoch from '2026-06-09 14:05:42'::timestamp) - extract(epoch from '2026-06-09 14:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413654 -3.45683)'), GeomFromEWKT('SRID=4674;POINT (-38.41367 -3.456875)'))) / (select extract(epoch from '2026-06-09 14:05:42'::timestamp) - extract(epoch from '2026-06-09 14:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413707 -3.456973)', '2026-06-09 14:05:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41367 -3.456875)'), GeomFromEWKT('SRID=4674;POINT (-38.413707 -3.456973)'))) / (select extract(epoch from '2026-06-09 14:05:47'::timestamp) - extract(epoch from '2026-06-09 14:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41367 -3.456875)'), GeomFromEWKT('SRID=4674;POINT (-38.413707 -3.456973)'))) / (select extract(epoch from '2026-06-09 14:05:47'::timestamp) - extract(epoch from '2026-06-09 14:05: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'), 46534, 'SRID=4674;POINT (-38.413721 -3.457006)', '2026-06-09 14:05:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413707 -3.456973)'), GeomFromEWKT('SRID=4674;POINT (-38.413721 -3.457006)'))) / (select extract(epoch from '2026-06-09 14:05:49'::timestamp) - extract(epoch from '2026-06-09 14:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413707 -3.456973)'), GeomFromEWKT('SRID=4674;POINT (-38.413721 -3.457006)'))) / (select extract(epoch from '2026-06-09 14:05:49'::timestamp) - extract(epoch from '2026-06-09 14:05:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413729 -3.457041)', '2026-06-09 14:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413721 -3.457006)'), GeomFromEWKT('SRID=4674;POINT (-38.413729 -3.457041)'))) / (select extract(epoch from '2026-06-09 14:05:51'::timestamp) - extract(epoch from '2026-06-09 14:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413721 -3.457006)'), GeomFromEWKT('SRID=4674;POINT (-38.413729 -3.457041)'))) / (select extract(epoch from '2026-06-09 14:05:51'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.413766 -3.457143)', '2026-06-09 14:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413729 -3.457041)'), GeomFromEWKT('SRID=4674;POINT (-38.413766 -3.457143)'))) / (select extract(epoch from '2026-06-09 14:05:57'::timestamp) - extract(epoch from '2026-06-09 14:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413729 -3.457041)'), GeomFromEWKT('SRID=4674;POINT (-38.413766 -3.457143)'))) / (select extract(epoch from '2026-06-09 14:05:57'::timestamp) - extract(epoch from '2026-06-09 14:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413787 -3.457208)', '2026-06-09 14:06:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413766 -3.457143)'), GeomFromEWKT('SRID=4674;POINT (-38.413787 -3.457208)'))) / (select extract(epoch from '2026-06-09 14:06:02'::timestamp) - extract(epoch from '2026-06-09 14:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413766 -3.457143)'), GeomFromEWKT('SRID=4674;POINT (-38.413787 -3.457208)'))) / (select extract(epoch from '2026-06-09 14:06:02'::timestamp) - extract(epoch from '2026-06-09 14:05: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'), 46534, 'SRID=4674;POINT (-38.413796 -3.457237)', '2026-06-09 14:06:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413787 -3.457208)'), GeomFromEWKT('SRID=4674;POINT (-38.413796 -3.457237)'))) / (select extract(epoch from '2026-06-09 14:06:04'::timestamp) - extract(epoch from '2026-06-09 14:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413787 -3.457208)'), GeomFromEWKT('SRID=4674;POINT (-38.413796 -3.457237)'))) / (select extract(epoch from '2026-06-09 14:06:04'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.413823 -3.457278)', '2026-06-09 14:06:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413796 -3.457237)'), GeomFromEWKT('SRID=4674;POINT (-38.413823 -3.457278)'))) / (select extract(epoch from '2026-06-09 14:06:07'::timestamp) - extract(epoch from '2026-06-09 14:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413796 -3.457237)'), GeomFromEWKT('SRID=4674;POINT (-38.413823 -3.457278)'))) / (select extract(epoch from '2026-06-09 14:06:07'::timestamp) - extract(epoch from '2026-06-09 14:06:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.413839 -3.457311)', '2026-06-09 14:06:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413823 -3.457278)'), GeomFromEWKT('SRID=4674;POINT (-38.413839 -3.457311)'))) / (select extract(epoch from '2026-06-09 14:06:09'::timestamp) - extract(epoch from '2026-06-09 14:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413823 -3.457278)'), GeomFromEWKT('SRID=4674;POINT (-38.413839 -3.457311)'))) / (select extract(epoch from '2026-06-09 14:06:09'::timestamp) - extract(epoch from '2026-06-09 14:06: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'), 46534, 'SRID=4674;POINT (-38.413848 -3.457338)', '2026-06-09 14:06:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413839 -3.457311)'), GeomFromEWKT('SRID=4674;POINT (-38.413848 -3.457338)'))) / (select extract(epoch from '2026-06-09 14:06:11'::timestamp) - extract(epoch from '2026-06-09 14:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413839 -3.457311)'), GeomFromEWKT('SRID=4674;POINT (-38.413848 -3.457338)'))) / (select extract(epoch from '2026-06-09 14:06:11'::timestamp) - extract(epoch from '2026-06-09 14:06: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'), 46534, 'SRID=4674;POINT (-38.41388 -3.457404)', '2026-06-09 14:06:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413848 -3.457338)'), GeomFromEWKT('SRID=4674;POINT (-38.41388 -3.457404)'))) / (select extract(epoch from '2026-06-09 14:06:15'::timestamp) - extract(epoch from '2026-06-09 14:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413848 -3.457338)'), GeomFromEWKT('SRID=4674;POINT (-38.41388 -3.457404)'))) / (select extract(epoch from '2026-06-09 14:06:15'::timestamp) - extract(epoch from '2026-06-09 14:06: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'), 46534, 'SRID=4674;POINT (-38.413919 -3.457495)', '2026-06-09 14:06:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41388 -3.457404)'), GeomFromEWKT('SRID=4674;POINT (-38.413919 -3.457495)'))) / (select extract(epoch from '2026-06-09 14:06:20'::timestamp) - extract(epoch from '2026-06-09 14:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41388 -3.457404)'), GeomFromEWKT('SRID=4674;POINT (-38.413919 -3.457495)'))) / (select extract(epoch from '2026-06-09 14:06:20'::timestamp) - extract(epoch from '2026-06-09 14:06: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'), 46534, 'SRID=4674;POINT (-38.413962 -3.457605)', '2026-06-09 14:06:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413919 -3.457495)'), GeomFromEWKT('SRID=4674;POINT (-38.413962 -3.457605)'))) / (select extract(epoch from '2026-06-09 14:06:26'::timestamp) - extract(epoch from '2026-06-09 14:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413919 -3.457495)'), GeomFromEWKT('SRID=4674;POINT (-38.413962 -3.457605)'))) / (select extract(epoch from '2026-06-09 14:06:26'::timestamp) - extract(epoch from '2026-06-09 14:06: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'), 46534, 'SRID=4674;POINT (-38.414006 -3.457708)', '2026-06-09 14:06:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413962 -3.457605)'), GeomFromEWKT('SRID=4674;POINT (-38.414006 -3.457708)'))) / (select extract(epoch from '2026-06-09 14:06:31'::timestamp) - extract(epoch from '2026-06-09 14:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413962 -3.457605)'), GeomFromEWKT('SRID=4674;POINT (-38.414006 -3.457708)'))) / (select extract(epoch from '2026-06-09 14:06:31'::timestamp) - extract(epoch from '2026-06-09 14:06: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'), 46534, 'SRID=4674;POINT (-38.414048 -3.457801)', '2026-06-09 14:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414006 -3.457708)'), GeomFromEWKT('SRID=4674;POINT (-38.414048 -3.457801)'))) / (select extract(epoch from '2026-06-09 14:06:36'::timestamp) - extract(epoch from '2026-06-09 14:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414006 -3.457708)'), GeomFromEWKT('SRID=4674;POINT (-38.414048 -3.457801)'))) / (select extract(epoch from '2026-06-09 14:06:36'::timestamp) - extract(epoch from '2026-06-09 14:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414099 -3.457887)', '2026-06-09 14:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414048 -3.457801)'), GeomFromEWKT('SRID=4674;POINT (-38.414099 -3.457887)'))) / (select extract(epoch from '2026-06-09 14:06:41'::timestamp) - extract(epoch from '2026-06-09 14:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414048 -3.457801)'), GeomFromEWKT('SRID=4674;POINT (-38.414099 -3.457887)'))) / (select extract(epoch from '2026-06-09 14:06:41'::timestamp) - extract(epoch from '2026-06-09 14:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414133 -3.457965)', '2026-06-09 14:06:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414099 -3.457887)'), GeomFromEWKT('SRID=4674;POINT (-38.414133 -3.457965)'))) / (select extract(epoch from '2026-06-09 14:06:46'::timestamp) - extract(epoch from '2026-06-09 14:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414099 -3.457887)'), GeomFromEWKT('SRID=4674;POINT (-38.414133 -3.457965)'))) / (select extract(epoch from '2026-06-09 14:06:46'::timestamp) - extract(epoch from '2026-06-09 14:06: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'), 46534, 'SRID=4674;POINT (-38.414153 -3.458013)', '2026-06-09 14:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414133 -3.457965)'), GeomFromEWKT('SRID=4674;POINT (-38.414153 -3.458013)'))) / (select extract(epoch from '2026-06-09 14:06:49'::timestamp) - extract(epoch from '2026-06-09 14:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414133 -3.457965)'), GeomFromEWKT('SRID=4674;POINT (-38.414153 -3.458013)'))) / (select extract(epoch from '2026-06-09 14:06:49'::timestamp) - extract(epoch from '2026-06-09 14:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414174 -3.458034)', '2026-06-09 14:06:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414153 -3.458013)'), GeomFromEWKT('SRID=4674;POINT (-38.414174 -3.458034)'))) / (select extract(epoch from '2026-06-09 14:06:51'::timestamp) - extract(epoch from '2026-06-09 14:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414153 -3.458013)'), GeomFromEWKT('SRID=4674;POINT (-38.414174 -3.458034)'))) / (select extract(epoch from '2026-06-09 14:06:51'::timestamp) - extract(epoch from '2026-06-09 14:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414218 -3.458126)', '2026-06-09 14:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414174 -3.458034)'), GeomFromEWKT('SRID=4674;POINT (-38.414218 -3.458126)'))) / (select extract(epoch from '2026-06-09 14:06:57'::timestamp) - extract(epoch from '2026-06-09 14:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414174 -3.458034)'), GeomFromEWKT('SRID=4674;POINT (-38.414218 -3.458126)'))) / (select extract(epoch from '2026-06-09 14:06:57'::timestamp) - extract(epoch from '2026-06-09 14:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414265 -3.458231)', '2026-06-09 14:07:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414218 -3.458126)'), GeomFromEWKT('SRID=4674;POINT (-38.414265 -3.458231)'))) / (select extract(epoch from '2026-06-09 14:07:03'::timestamp) - extract(epoch from '2026-06-09 14:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414218 -3.458126)'), GeomFromEWKT('SRID=4674;POINT (-38.414265 -3.458231)'))) / (select extract(epoch from '2026-06-09 14:07:03'::timestamp) - extract(epoch from '2026-06-09 14:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414319 -3.458355)', '2026-06-09 14:07:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414265 -3.458231)'), GeomFromEWKT('SRID=4674;POINT (-38.414319 -3.458355)'))) / (select extract(epoch from '2026-06-09 14:07:10'::timestamp) - extract(epoch from '2026-06-09 14:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414265 -3.458231)'), GeomFromEWKT('SRID=4674;POINT (-38.414319 -3.458355)'))) / (select extract(epoch from '2026-06-09 14:07:10'::timestamp) - extract(epoch from '2026-06-09 14:07: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'), 46534, 'SRID=4674;POINT (-38.414373 -3.458468)', '2026-06-09 14:07:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414319 -3.458355)'), GeomFromEWKT('SRID=4674;POINT (-38.414373 -3.458468)'))) / (select extract(epoch from '2026-06-09 14:07:17'::timestamp) - extract(epoch from '2026-06-09 14:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414319 -3.458355)'), GeomFromEWKT('SRID=4674;POINT (-38.414373 -3.458468)'))) / (select extract(epoch from '2026-06-09 14:07:17'::timestamp) - extract(epoch from '2026-06-09 14:07: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'), 46534, 'SRID=4674;POINT (-38.414406 -3.458553)', '2026-06-09 14:07:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414373 -3.458468)'), GeomFromEWKT('SRID=4674;POINT (-38.414406 -3.458553)'))) / (select extract(epoch from '2026-06-09 14:07:22'::timestamp) - extract(epoch from '2026-06-09 14:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414373 -3.458468)'), GeomFromEWKT('SRID=4674;POINT (-38.414406 -3.458553)'))) / (select extract(epoch from '2026-06-09 14:07:22'::timestamp) - extract(epoch from '2026-06-09 14:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414438 -3.458648)', '2026-06-09 14:07:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414406 -3.458553)'), GeomFromEWKT('SRID=4674;POINT (-38.414438 -3.458648)'))) / (select extract(epoch from '2026-06-09 14:07:28'::timestamp) - extract(epoch from '2026-06-09 14:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414406 -3.458553)'), GeomFromEWKT('SRID=4674;POINT (-38.414438 -3.458648)'))) / (select extract(epoch from '2026-06-09 14:07:28'::timestamp) - extract(epoch from '2026-06-09 14:07: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'), 46534, 'SRID=4674;POINT (-38.414483 -3.458782)', '2026-06-09 14:07:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414438 -3.458648)'), GeomFromEWKT('SRID=4674;POINT (-38.414483 -3.458782)'))) / (select extract(epoch from '2026-06-09 14:07:36'::timestamp) - extract(epoch from '2026-06-09 14:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414438 -3.458648)'), GeomFromEWKT('SRID=4674;POINT (-38.414483 -3.458782)'))) / (select extract(epoch from '2026-06-09 14:07:36'::timestamp) - extract(epoch from '2026-06-09 14:07: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'), 46534, 'SRID=4674;POINT (-38.414518 -3.458897)', '2026-06-09 14:07:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414483 -3.458782)'), GeomFromEWKT('SRID=4674;POINT (-38.414518 -3.458897)'))) / (select extract(epoch from '2026-06-09 14:07:43'::timestamp) - extract(epoch from '2026-06-09 14:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414483 -3.458782)'), GeomFromEWKT('SRID=4674;POINT (-38.414518 -3.458897)'))) / (select extract(epoch from '2026-06-09 14:07:43'::timestamp) - extract(epoch from '2026-06-09 14:07: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'), 46534, 'SRID=4674;POINT (-38.414547 -3.458986)', '2026-06-09 14:07:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414518 -3.458897)'), GeomFromEWKT('SRID=4674;POINT (-38.414547 -3.458986)'))) / (select extract(epoch from '2026-06-09 14:07:48'::timestamp) - extract(epoch from '2026-06-09 14:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414518 -3.458897)'), GeomFromEWKT('SRID=4674;POINT (-38.414547 -3.458986)'))) / (select extract(epoch from '2026-06-09 14:07:48'::timestamp) - extract(epoch from '2026-06-09 14:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414584 -3.45908)', '2026-06-09 14:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414547 -3.458986)'), GeomFromEWKT('SRID=4674;POINT (-38.414584 -3.45908)'))) / (select extract(epoch from '2026-06-09 14:07:53'::timestamp) - extract(epoch from '2026-06-09 14:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414547 -3.458986)'), GeomFromEWKT('SRID=4674;POINT (-38.414584 -3.45908)'))) / (select extract(epoch from '2026-06-09 14:07:53'::timestamp) - extract(epoch from '2026-06-09 14:07: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'), 46534, 'SRID=4674;POINT (-38.414609 -3.459143)', '2026-06-09 14:07:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414584 -3.45908)'), GeomFromEWKT('SRID=4674;POINT (-38.414609 -3.459143)'))) / (select extract(epoch from '2026-06-09 14:07:57'::timestamp) - extract(epoch from '2026-06-09 14:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414584 -3.45908)'), GeomFromEWKT('SRID=4674;POINT (-38.414609 -3.459143)'))) / (select extract(epoch from '2026-06-09 14:07:57'::timestamp) - extract(epoch from '2026-06-09 14:07: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'), 46534, 'SRID=4674;POINT (-38.414631 -3.459215)', '2026-06-09 14:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414609 -3.459143)'), GeomFromEWKT('SRID=4674;POINT (-38.414631 -3.459215)'))) / (select extract(epoch from '2026-06-09 14:08:01'::timestamp) - extract(epoch from '2026-06-09 14:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414609 -3.459143)'), GeomFromEWKT('SRID=4674;POINT (-38.414631 -3.459215)'))) / (select extract(epoch from '2026-06-09 14:08:01'::timestamp) - extract(epoch from '2026-06-09 14:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414677 -3.459331)', '2026-06-09 14:08:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414631 -3.459215)'), GeomFromEWKT('SRID=4674;POINT (-38.414677 -3.459331)'))) / (select extract(epoch from '2026-06-09 14:08:07'::timestamp) - extract(epoch from '2026-06-09 14:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414631 -3.459215)'), GeomFromEWKT('SRID=4674;POINT (-38.414677 -3.459331)'))) / (select extract(epoch from '2026-06-09 14:08:07'::timestamp) - extract(epoch from '2026-06-09 14:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414732 -3.459463)', '2026-06-09 14:08:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414677 -3.459331)'), GeomFromEWKT('SRID=4674;POINT (-38.414732 -3.459463)'))) / (select extract(epoch from '2026-06-09 14:08:14'::timestamp) - extract(epoch from '2026-06-09 14:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414677 -3.459331)'), GeomFromEWKT('SRID=4674;POINT (-38.414732 -3.459463)'))) / (select extract(epoch from '2026-06-09 14:08:14'::timestamp) - extract(epoch from '2026-06-09 14:08: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'), 46534, 'SRID=4674;POINT (-38.414795 -3.459591)', '2026-06-09 14:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414732 -3.459463)'), GeomFromEWKT('SRID=4674;POINT (-38.414795 -3.459591)'))) / (select extract(epoch from '2026-06-09 14:08:21'::timestamp) - extract(epoch from '2026-06-09 14:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414732 -3.459463)'), GeomFromEWKT('SRID=4674;POINT (-38.414795 -3.459591)'))) / (select extract(epoch from '2026-06-09 14:08:21'::timestamp) - extract(epoch from '2026-06-09 14:08: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'), 46534, 'SRID=4674;POINT (-38.414806 -3.459601)', '2026-06-09 14:08:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414795 -3.459591)'), GeomFromEWKT('SRID=4674;POINT (-38.414806 -3.459601)'))) / (select extract(epoch from '2026-06-09 14:08:22'::timestamp) - extract(epoch from '2026-06-09 14:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414795 -3.459591)'), GeomFromEWKT('SRID=4674;POINT (-38.414806 -3.459601)'))) / (select extract(epoch from '2026-06-09 14:08:22'::timestamp) - extract(epoch from '2026-06-09 14:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414815 -3.459616)', '2026-06-09 14:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414806 -3.459601)'), GeomFromEWKT('SRID=4674;POINT (-38.414815 -3.459616)'))) / (select extract(epoch from '2026-06-09 14:08:23'::timestamp) - extract(epoch from '2026-06-09 14:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414806 -3.459601)'), GeomFromEWKT('SRID=4674;POINT (-38.414815 -3.459616)'))) / (select extract(epoch from '2026-06-09 14:08:23'::timestamp) - extract(epoch from '2026-06-09 14:08: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'), 46534, 'SRID=4674;POINT (-38.414838 -3.459667)', '2026-06-09 14:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414815 -3.459616)'), GeomFromEWKT('SRID=4674;POINT (-38.414838 -3.459667)'))) / (select extract(epoch from '2026-06-09 14:08:26'::timestamp) - extract(epoch from '2026-06-09 14:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414815 -3.459616)'), GeomFromEWKT('SRID=4674;POINT (-38.414838 -3.459667)'))) / (select extract(epoch from '2026-06-09 14:08:26'::timestamp) - extract(epoch from '2026-06-09 14:08: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'), 46534, 'SRID=4674;POINT (-38.414885 -3.459769)', '2026-06-09 14:08:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414838 -3.459667)'), GeomFromEWKT('SRID=4674;POINT (-38.414885 -3.459769)'))) / (select extract(epoch from '2026-06-09 14:08:32'::timestamp) - extract(epoch from '2026-06-09 14:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414838 -3.459667)'), GeomFromEWKT('SRID=4674;POINT (-38.414885 -3.459769)'))) / (select extract(epoch from '2026-06-09 14:08:32'::timestamp) - extract(epoch from '2026-06-09 14:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414928 -3.459872)', '2026-06-09 14:08:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414885 -3.459769)'), GeomFromEWKT('SRID=4674;POINT (-38.414928 -3.459872)'))) / (select extract(epoch from '2026-06-09 14:08:38'::timestamp) - extract(epoch from '2026-06-09 14:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414885 -3.459769)'), GeomFromEWKT('SRID=4674;POINT (-38.414928 -3.459872)'))) / (select extract(epoch from '2026-06-09 14:08:38'::timestamp) - extract(epoch from '2026-06-09 14:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.414935 -3.459888)', '2026-06-09 14:08:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414928 -3.459872)'), GeomFromEWKT('SRID=4674;POINT (-38.414935 -3.459888)'))) / (select extract(epoch from '2026-06-09 14:08:39'::timestamp) - extract(epoch from '2026-06-09 14:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414928 -3.459872)'), GeomFromEWKT('SRID=4674;POINT (-38.414935 -3.459888)'))) / (select extract(epoch from '2026-06-09 14:08:39'::timestamp) - extract(epoch from '2026-06-09 14:08: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'), 46534, 'SRID=4674;POINT (-38.414957 -3.459954)', '2026-06-09 14:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414935 -3.459888)'), GeomFromEWKT('SRID=4674;POINT (-38.414957 -3.459954)'))) / (select extract(epoch from '2026-06-09 14:08:42'::timestamp) - extract(epoch from '2026-06-09 14:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414935 -3.459888)'), GeomFromEWKT('SRID=4674;POINT (-38.414957 -3.459954)'))) / (select extract(epoch from '2026-06-09 14:08:42'::timestamp) - extract(epoch from '2026-06-09 14:08: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'), 46534, 'SRID=4674;POINT (-38.414999 -3.460041)', '2026-06-09 14:08:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414957 -3.459954)'), GeomFromEWKT('SRID=4674;POINT (-38.414999 -3.460041)'))) / (select extract(epoch from '2026-06-09 14:08:47'::timestamp) - extract(epoch from '2026-06-09 14:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414957 -3.459954)'), GeomFromEWKT('SRID=4674;POINT (-38.414999 -3.460041)'))) / (select extract(epoch from '2026-06-09 14:08:47'::timestamp) - extract(epoch from '2026-06-09 14:08: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'), 46534, 'SRID=4674;POINT (-38.41504 -3.460145)', '2026-06-09 14:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414999 -3.460041)'), GeomFromEWKT('SRID=4674;POINT (-38.41504 -3.460145)'))) / (select extract(epoch from '2026-06-09 14:08:53'::timestamp) - extract(epoch from '2026-06-09 14:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414999 -3.460041)'), GeomFromEWKT('SRID=4674;POINT (-38.41504 -3.460145)'))) / (select extract(epoch from '2026-06-09 14:08:53'::timestamp) - extract(epoch from '2026-06-09 14:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.415074 -3.460222)', '2026-06-09 14:08:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41504 -3.460145)'), GeomFromEWKT('SRID=4674;POINT (-38.415074 -3.460222)'))) / (select extract(epoch from '2026-06-09 14:08:58'::timestamp) - extract(epoch from '2026-06-09 14:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41504 -3.460145)'), GeomFromEWKT('SRID=4674;POINT (-38.415074 -3.460222)'))) / (select extract(epoch from '2026-06-09 14:08:58'::timestamp) - extract(epoch from '2026-06-09 14:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.415106 -3.460302)', '2026-06-09 14:09:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415074 -3.460222)'), GeomFromEWKT('SRID=4674;POINT (-38.415106 -3.460302)'))) / (select extract(epoch from '2026-06-09 14:09:03'::timestamp) - extract(epoch from '2026-06-09 14:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415074 -3.460222)'), GeomFromEWKT('SRID=4674;POINT (-38.415106 -3.460302)'))) / (select extract(epoch from '2026-06-09 14:09:03'::timestamp) - extract(epoch from '2026-06-09 14:08: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'), 46534, 'SRID=4674;POINT (-38.415148 -3.4604)', '2026-06-09 14:09:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415106 -3.460302)'), GeomFromEWKT('SRID=4674;POINT (-38.415148 -3.4604)'))) / (select extract(epoch from '2026-06-09 14:09:09'::timestamp) - extract(epoch from '2026-06-09 14:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415106 -3.460302)'), GeomFromEWKT('SRID=4674;POINT (-38.415148 -3.4604)'))) / (select extract(epoch from '2026-06-09 14:09:09'::timestamp) - extract(epoch from '2026-06-09 14:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.415173 -3.460474)', '2026-06-09 14:09:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415148 -3.4604)'), GeomFromEWKT('SRID=4674;POINT (-38.415173 -3.460474)'))) / (select extract(epoch from '2026-06-09 14:09:13'::timestamp) - extract(epoch from '2026-06-09 14:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415148 -3.4604)'), GeomFromEWKT('SRID=4674;POINT (-38.415173 -3.460474)'))) / (select extract(epoch from '2026-06-09 14:09:13'::timestamp) - extract(epoch from '2026-06-09 14:09: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'), 46534, 'SRID=4674;POINT (-38.415192 -3.460549)', '2026-06-09 14:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415173 -3.460474)'), GeomFromEWKT('SRID=4674;POINT (-38.415192 -3.460549)'))) / (select extract(epoch from '2026-06-09 14:09:18'::timestamp) - extract(epoch from '2026-06-09 14:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415173 -3.460474)'), GeomFromEWKT('SRID=4674;POINT (-38.415192 -3.460549)'))) / (select extract(epoch from '2026-06-09 14:09:18'::timestamp) - extract(epoch from '2026-06-09 14:09: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'), 46534, 'SRID=4674;POINT (-38.415226 -3.46063)', '2026-06-09 14:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415192 -3.460549)'), GeomFromEWKT('SRID=4674;POINT (-38.415226 -3.46063)'))) / (select extract(epoch from '2026-06-09 14:09:23'::timestamp) - extract(epoch from '2026-06-09 14:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415192 -3.460549)'), GeomFromEWKT('SRID=4674;POINT (-38.415226 -3.46063)'))) / (select extract(epoch from '2026-06-09 14:09:23'::timestamp) - extract(epoch from '2026-06-09 14:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.415232 -3.460649)', '2026-06-09 14:09:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415226 -3.46063)'), GeomFromEWKT('SRID=4674;POINT (-38.415232 -3.460649)'))) / (select extract(epoch from '2026-06-09 14:09:25'::timestamp) - extract(epoch from '2026-06-09 14:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415226 -3.46063)'), GeomFromEWKT('SRID=4674;POINT (-38.415232 -3.460649)'))) / (select extract(epoch from '2026-06-09 14:09:25'::timestamp) - extract(epoch from '2026-06-09 14:09: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'), 46534, 'SRID=4674;POINT (-38.415239 -3.460683)', '2026-06-09 14:09:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415232 -3.460649)'), GeomFromEWKT('SRID=4674;POINT (-38.415239 -3.460683)'))) / (select extract(epoch from '2026-06-09 14:09:29'::timestamp) - extract(epoch from '2026-06-09 14:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415232 -3.460649)'), GeomFromEWKT('SRID=4674;POINT (-38.415239 -3.460683)'))) / (select extract(epoch from '2026-06-09 14:09:29'::timestamp) - extract(epoch from '2026-06-09 14:09: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'), 46534, 'SRID=4674;POINT (-38.415248 -3.460712)', '2026-06-09 14:09:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415239 -3.460683)'), GeomFromEWKT('SRID=4674;POINT (-38.415248 -3.460712)'))) / (select extract(epoch from '2026-06-09 14:09:34'::timestamp) - extract(epoch from '2026-06-09 14:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415239 -3.460683)'), GeomFromEWKT('SRID=4674;POINT (-38.415248 -3.460712)'))) / (select extract(epoch from '2026-06-09 14:09:34'::timestamp) - extract(epoch from '2026-06-09 14:09: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'), 46534, 'SRID=4674;POINT (-38.415261 -3.460732)', '2026-06-09 14:09:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415248 -3.460712)'), GeomFromEWKT('SRID=4674;POINT (-38.415261 -3.460732)'))) / (select extract(epoch from '2026-06-09 14:09:36'::timestamp) - extract(epoch from '2026-06-09 14:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415248 -3.460712)'), GeomFromEWKT('SRID=4674;POINT (-38.415261 -3.460732)'))) / (select extract(epoch from '2026-06-09 14:09:36'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.415277 -3.460753)', '2026-06-09 14:09:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415261 -3.460732)'), GeomFromEWKT('SRID=4674;POINT (-38.415277 -3.460753)'))) / (select extract(epoch from '2026-06-09 14:09:39'::timestamp) - extract(epoch from '2026-06-09 14:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415261 -3.460732)'), GeomFromEWKT('SRID=4674;POINT (-38.415277 -3.460753)'))) / (select extract(epoch from '2026-06-09 14:09:39'::timestamp) - extract(epoch from '2026-06-09 14:09: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'), 46534, 'SRID=4674;POINT (-38.415324 -3.460818)', '2026-06-09 14:09:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415277 -3.460753)'), GeomFromEWKT('SRID=4674;POINT (-38.415324 -3.460818)'))) / (select extract(epoch from '2026-06-09 14:09:45'::timestamp) - extract(epoch from '2026-06-09 14:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415277 -3.460753)'), GeomFromEWKT('SRID=4674;POINT (-38.415324 -3.460818)'))) / (select extract(epoch from '2026-06-09 14:09:45'::timestamp) - extract(epoch from '2026-06-09 14:09: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'), 46534, 'SRID=4674;POINT (-38.415371 -3.460879)', '2026-06-09 14:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415324 -3.460818)'), GeomFromEWKT('SRID=4674;POINT (-38.415371 -3.460879)'))) / (select extract(epoch from '2026-06-09 14:09:50'::timestamp) - extract(epoch from '2026-06-09 14:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415324 -3.460818)'), GeomFromEWKT('SRID=4674;POINT (-38.415371 -3.460879)'))) / (select extract(epoch from '2026-06-09 14:09:50'::timestamp) - extract(epoch from '2026-06-09 14:09: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'), 46534, 'SRID=4674;POINT (-38.415438 -3.460976)', '2026-06-09 14:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415371 -3.460879)'), GeomFromEWKT('SRID=4674;POINT (-38.415438 -3.460976)'))) / (select extract(epoch from '2026-06-09 14:09:57'::timestamp) - extract(epoch from '2026-06-09 14:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415371 -3.460879)'), GeomFromEWKT('SRID=4674;POINT (-38.415438 -3.460976)'))) / (select extract(epoch from '2026-06-09 14:09:57'::timestamp) - extract(epoch from '2026-06-09 14:09: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'), 46534, 'SRID=4674;POINT (-38.415485 -3.461046)', '2026-06-09 14:10:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415438 -3.460976)'), GeomFromEWKT('SRID=4674;POINT (-38.415485 -3.461046)'))) / (select extract(epoch from '2026-06-09 14:10:03'::timestamp) - extract(epoch from '2026-06-09 14:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415438 -3.460976)'), GeomFromEWKT('SRID=4674;POINT (-38.415485 -3.461046)'))) / (select extract(epoch from '2026-06-09 14:10:03'::timestamp) - extract(epoch from '2026-06-09 14:09: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'), 46534, 'SRID=4674;POINT (-38.415529 -3.461118)', '2026-06-09 14:10:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415485 -3.461046)'), GeomFromEWKT('SRID=4674;POINT (-38.415529 -3.461118)'))) / (select extract(epoch from '2026-06-09 14:10:08'::timestamp) - extract(epoch from '2026-06-09 14:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415485 -3.461046)'), GeomFromEWKT('SRID=4674;POINT (-38.415529 -3.461118)'))) / (select extract(epoch from '2026-06-09 14:10:08'::timestamp) - extract(epoch from '2026-06-09 14:10: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'), 46534, 'SRID=4674;POINT (-38.415583 -3.461197)', '2026-06-09 14:10:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415529 -3.461118)'), GeomFromEWKT('SRID=4674;POINT (-38.415583 -3.461197)'))) / (select extract(epoch from '2026-06-09 14:10:14'::timestamp) - extract(epoch from '2026-06-09 14:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415529 -3.461118)'), GeomFromEWKT('SRID=4674;POINT (-38.415583 -3.461197)'))) / (select extract(epoch from '2026-06-09 14:10:14'::timestamp) - extract(epoch from '2026-06-09 14:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.415588 -3.461213)', '2026-06-09 14:10:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415583 -3.461197)'), GeomFromEWKT('SRID=4674;POINT (-38.415588 -3.461213)'))) / (select extract(epoch from '2026-06-09 14:10:15'::timestamp) - extract(epoch from '2026-06-09 14:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415583 -3.461197)'), GeomFromEWKT('SRID=4674;POINT (-38.415588 -3.461213)'))) / (select extract(epoch from '2026-06-09 14:10:15'::timestamp) - extract(epoch from '2026-06-09 14:10:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.415618 -3.461266)', '2026-06-09 14:10:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415588 -3.461213)'), GeomFromEWKT('SRID=4674;POINT (-38.415618 -3.461266)'))) / (select extract(epoch from '2026-06-09 14:10:18'::timestamp) - extract(epoch from '2026-06-09 14:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415588 -3.461213)'), GeomFromEWKT('SRID=4674;POINT (-38.415618 -3.461266)'))) / (select extract(epoch from '2026-06-09 14:10:18'::timestamp) - extract(epoch from '2026-06-09 14:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.415624 -3.46128)', '2026-06-09 14:10:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415618 -3.461266)'), GeomFromEWKT('SRID=4674;POINT (-38.415624 -3.46128)'))) / (select extract(epoch from '2026-06-09 14:10:19'::timestamp) - extract(epoch from '2026-06-09 14:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415618 -3.461266)'), GeomFromEWKT('SRID=4674;POINT (-38.415624 -3.46128)'))) / (select extract(epoch from '2026-06-09 14:10:19'::timestamp) - extract(epoch from '2026-06-09 14:10: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'), 46534, 'SRID=4674;POINT (-38.415653 -3.461327)', '2026-06-09 14:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415624 -3.46128)'), GeomFromEWKT('SRID=4674;POINT (-38.415653 -3.461327)'))) / (select extract(epoch from '2026-06-09 14:10:22'::timestamp) - extract(epoch from '2026-06-09 14:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415624 -3.46128)'), GeomFromEWKT('SRID=4674;POINT (-38.415653 -3.461327)'))) / (select extract(epoch from '2026-06-09 14:10:22'::timestamp) - extract(epoch from '2026-06-09 14:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.415658 -3.461337)', '2026-06-09 14:10:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415653 -3.461327)'), GeomFromEWKT('SRID=4674;POINT (-38.415658 -3.461337)'))) / (select extract(epoch from '2026-06-09 14:10:23'::timestamp) - extract(epoch from '2026-06-09 14:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415653 -3.461327)'), GeomFromEWKT('SRID=4674;POINT (-38.415658 -3.461337)'))) / (select extract(epoch from '2026-06-09 14:10:23'::timestamp) - extract(epoch from '2026-06-09 14:10: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'), 46534, 'SRID=4674;POINT (-38.415682 -3.461385)', '2026-06-09 14:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415658 -3.461337)'), GeomFromEWKT('SRID=4674;POINT (-38.415682 -3.461385)'))) / (select extract(epoch from '2026-06-09 14:10:26'::timestamp) - extract(epoch from '2026-06-09 14:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415658 -3.461337)'), GeomFromEWKT('SRID=4674;POINT (-38.415682 -3.461385)'))) / (select extract(epoch from '2026-06-09 14:10:26'::timestamp) - extract(epoch from '2026-06-09 14:10: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'), 46534, 'SRID=4674;POINT (-38.415716 -3.461451)', '2026-06-09 14:10:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415682 -3.461385)'), GeomFromEWKT('SRID=4674;POINT (-38.415716 -3.461451)'))) / (select extract(epoch from '2026-06-09 14:10:31'::timestamp) - extract(epoch from '2026-06-09 14:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415682 -3.461385)'), GeomFromEWKT('SRID=4674;POINT (-38.415716 -3.461451)'))) / (select extract(epoch from '2026-06-09 14:10:31'::timestamp) - extract(epoch from '2026-06-09 14:10: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'), 46534, 'SRID=4674;POINT (-38.415778 -3.461527)', '2026-06-09 14:10:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415716 -3.461451)'), GeomFromEWKT('SRID=4674;POINT (-38.415778 -3.461527)'))) / (select extract(epoch from '2026-06-09 14:10:36'::timestamp) - extract(epoch from '2026-06-09 14:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415716 -3.461451)'), GeomFromEWKT('SRID=4674;POINT (-38.415778 -3.461527)'))) / (select extract(epoch from '2026-06-09 14:10:36'::timestamp) - extract(epoch from '2026-06-09 14:10: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'), 46534, 'SRID=4674;POINT (-38.415815 -3.461587)', '2026-06-09 14:10:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415778 -3.461527)'), GeomFromEWKT('SRID=4674;POINT (-38.415815 -3.461587)'))) / (select extract(epoch from '2026-06-09 14:10:41'::timestamp) - extract(epoch from '2026-06-09 14:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415778 -3.461527)'), GeomFromEWKT('SRID=4674;POINT (-38.415815 -3.461587)'))) / (select extract(epoch from '2026-06-09 14:10:41'::timestamp) - extract(epoch from '2026-06-09 14:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.415831 -3.461615)', '2026-06-09 14:10:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415815 -3.461587)'), GeomFromEWKT('SRID=4674;POINT (-38.415831 -3.461615)'))) / (select extract(epoch from '2026-06-09 14:10:43'::timestamp) - extract(epoch from '2026-06-09 14:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415815 -3.461587)'), GeomFromEWKT('SRID=4674;POINT (-38.415831 -3.461615)'))) / (select extract(epoch from '2026-06-09 14:10:43'::timestamp) - extract(epoch from '2026-06-09 14:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.415852 -3.461635)', '2026-06-09 14:10:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415831 -3.461615)'), GeomFromEWKT('SRID=4674;POINT (-38.415852 -3.461635)'))) / (select extract(epoch from '2026-06-09 14:10:45'::timestamp) - extract(epoch from '2026-06-09 14:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415831 -3.461615)'), GeomFromEWKT('SRID=4674;POINT (-38.415852 -3.461635)'))) / (select extract(epoch from '2026-06-09 14:10:45'::timestamp) - extract(epoch from '2026-06-09 14:10:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.41586 -3.46165)', '2026-06-09 14:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415852 -3.461635)'), GeomFromEWKT('SRID=4674;POINT (-38.41586 -3.46165)'))) / (select extract(epoch from '2026-06-09 14:10:46'::timestamp) - extract(epoch from '2026-06-09 14:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415852 -3.461635)'), GeomFromEWKT('SRID=4674;POINT (-38.41586 -3.46165)'))) / (select extract(epoch from '2026-06-09 14:10:46'::timestamp) - extract(epoch from '2026-06-09 14:10: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'), 46534, 'SRID=4674;POINT (-38.415921 -3.461766)', '2026-06-09 14:10:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41586 -3.46165)'), GeomFromEWKT('SRID=4674;POINT (-38.415921 -3.461766)'))) / (select extract(epoch from '2026-06-09 14:10:54'::timestamp) - extract(epoch from '2026-06-09 14:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41586 -3.46165)'), GeomFromEWKT('SRID=4674;POINT (-38.415921 -3.461766)'))) / (select extract(epoch from '2026-06-09 14:10:54'::timestamp) - extract(epoch from '2026-06-09 14:10: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'), 46534, 'SRID=4674;POINT (-38.415951 -3.461815)', '2026-06-09 14:10:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415921 -3.461766)'), GeomFromEWKT('SRID=4674;POINT (-38.415951 -3.461815)'))) / (select extract(epoch from '2026-06-09 14:10:57'::timestamp) - extract(epoch from '2026-06-09 14:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415921 -3.461766)'), GeomFromEWKT('SRID=4674;POINT (-38.415951 -3.461815)'))) / (select extract(epoch from '2026-06-09 14:10:57'::timestamp) - extract(epoch from '2026-06-09 14:10: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'), 46534, 'SRID=4674;POINT (-38.415963 -3.461844)', '2026-06-09 14:10:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415951 -3.461815)'), GeomFromEWKT('SRID=4674;POINT (-38.415963 -3.461844)'))) / (select extract(epoch from '2026-06-09 14:10:59'::timestamp) - extract(epoch from '2026-06-09 14:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415951 -3.461815)'), GeomFromEWKT('SRID=4674;POINT (-38.415963 -3.461844)'))) / (select extract(epoch from '2026-06-09 14:10:59'::timestamp) - extract(epoch from '2026-06-09 14:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.415994 -3.461887)', '2026-06-09 14:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415963 -3.461844)'), GeomFromEWKT('SRID=4674;POINT (-38.415994 -3.461887)'))) / (select extract(epoch from '2026-06-09 14:11:02'::timestamp) - extract(epoch from '2026-06-09 14:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415963 -3.461844)'), GeomFromEWKT('SRID=4674;POINT (-38.415994 -3.461887)'))) / (select extract(epoch from '2026-06-09 14:11:02'::timestamp) - extract(epoch from '2026-06-09 14:10: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'), 46534, 'SRID=4674;POINT (-38.416005 -3.461919)', '2026-06-09 14:11:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415994 -3.461887)'), GeomFromEWKT('SRID=4674;POINT (-38.416005 -3.461919)'))) / (select extract(epoch from '2026-06-09 14:11:04'::timestamp) - extract(epoch from '2026-06-09 14:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415994 -3.461887)'), GeomFromEWKT('SRID=4674;POINT (-38.416005 -3.461919)'))) / (select extract(epoch from '2026-06-09 14:11:04'::timestamp) - extract(epoch from '2026-06-09 14:11: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'), 46534, 'SRID=4674;POINT (-38.416047 -3.46201)', '2026-06-09 14:11:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416005 -3.461919)'), GeomFromEWKT('SRID=4674;POINT (-38.416047 -3.46201)'))) / (select extract(epoch from '2026-06-09 14:11:10'::timestamp) - extract(epoch from '2026-06-09 14:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416005 -3.461919)'), GeomFromEWKT('SRID=4674;POINT (-38.416047 -3.46201)'))) / (select extract(epoch from '2026-06-09 14:11:10'::timestamp) - extract(epoch from '2026-06-09 14:11: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'), 46534, 'SRID=4674;POINT (-38.416083 -3.462072)', '2026-06-09 14:11:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416047 -3.46201)'), GeomFromEWKT('SRID=4674;POINT (-38.416083 -3.462072)'))) / (select extract(epoch from '2026-06-09 14:11:14'::timestamp) - extract(epoch from '2026-06-09 14:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416047 -3.46201)'), GeomFromEWKT('SRID=4674;POINT (-38.416083 -3.462072)'))) / (select extract(epoch from '2026-06-09 14:11:14'::timestamp) - extract(epoch from '2026-06-09 14:11: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'), 46534, 'SRID=4674;POINT (-38.416121 -3.462158)', '2026-06-09 14:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416083 -3.462072)'), GeomFromEWKT('SRID=4674;POINT (-38.416121 -3.462158)'))) / (select extract(epoch from '2026-06-09 14:11:19'::timestamp) - extract(epoch from '2026-06-09 14:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416083 -3.462072)'), GeomFromEWKT('SRID=4674;POINT (-38.416121 -3.462158)'))) / (select extract(epoch from '2026-06-09 14:11:19'::timestamp) - extract(epoch from '2026-06-09 14:11: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'), 46534, 'SRID=4674;POINT (-38.416158 -3.462239)', '2026-06-09 14:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416121 -3.462158)'), GeomFromEWKT('SRID=4674;POINT (-38.416158 -3.462239)'))) / (select extract(epoch from '2026-06-09 14:11:24'::timestamp) - extract(epoch from '2026-06-09 14:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416121 -3.462158)'), GeomFromEWKT('SRID=4674;POINT (-38.416158 -3.462239)'))) / (select extract(epoch from '2026-06-09 14:11:24'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.41619 -3.462306)', '2026-06-09 14:11:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416158 -3.462239)'), GeomFromEWKT('SRID=4674;POINT (-38.41619 -3.462306)'))) / (select extract(epoch from '2026-06-09 14:11:28'::timestamp) - extract(epoch from '2026-06-09 14:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416158 -3.462239)'), GeomFromEWKT('SRID=4674;POINT (-38.41619 -3.462306)'))) / (select extract(epoch from '2026-06-09 14:11:28'::timestamp) - extract(epoch from '2026-06-09 14:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.416231 -3.462403)', '2026-06-09 14:11:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41619 -3.462306)'), GeomFromEWKT('SRID=4674;POINT (-38.416231 -3.462403)'))) / (select extract(epoch from '2026-06-09 14:11:34'::timestamp) - extract(epoch from '2026-06-09 14:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41619 -3.462306)'), GeomFromEWKT('SRID=4674;POINT (-38.416231 -3.462403)'))) / (select extract(epoch from '2026-06-09 14:11:34'::timestamp) - extract(epoch from '2026-06-09 14:11: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'), 46534, 'SRID=4674;POINT (-38.41627 -3.462468)', '2026-06-09 14:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416231 -3.462403)'), GeomFromEWKT('SRID=4674;POINT (-38.41627 -3.462468)'))) / (select extract(epoch from '2026-06-09 14:11:38'::timestamp) - extract(epoch from '2026-06-09 14:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416231 -3.462403)'), GeomFromEWKT('SRID=4674;POINT (-38.41627 -3.462468)'))) / (select extract(epoch from '2026-06-09 14:11:38'::timestamp) - extract(epoch from '2026-06-09 14:11:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.41631 -3.462547)', '2026-06-09 14:11:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41627 -3.462468)'), GeomFromEWKT('SRID=4674;POINT (-38.41631 -3.462547)'))) / (select extract(epoch from '2026-06-09 14:11:43'::timestamp) - extract(epoch from '2026-06-09 14:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41627 -3.462468)'), GeomFromEWKT('SRID=4674;POINT (-38.41631 -3.462547)'))) / (select extract(epoch from '2026-06-09 14:11:43'::timestamp) - extract(epoch from '2026-06-09 14:11: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'), 46534, 'SRID=4674;POINT (-38.416369 -3.462636)', '2026-06-09 14:11:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41631 -3.462547)'), GeomFromEWKT('SRID=4674;POINT (-38.416369 -3.462636)'))) / (select extract(epoch from '2026-06-09 14:11:49'::timestamp) - extract(epoch from '2026-06-09 14:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41631 -3.462547)'), GeomFromEWKT('SRID=4674;POINT (-38.416369 -3.462636)'))) / (select extract(epoch from '2026-06-09 14:11:49'::timestamp) - extract(epoch from '2026-06-09 14:11: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'), 46534, 'SRID=4674;POINT (-38.416432 -3.462749)', '2026-06-09 14:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416369 -3.462636)'), GeomFromEWKT('SRID=4674;POINT (-38.416432 -3.462749)'))) / (select extract(epoch from '2026-06-09 14:11:56'::timestamp) - extract(epoch from '2026-06-09 14:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416369 -3.462636)'), GeomFromEWKT('SRID=4674;POINT (-38.416432 -3.462749)'))) / (select extract(epoch from '2026-06-09 14:11:56'::timestamp) - extract(epoch from '2026-06-09 14:11: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'), 46534, 'SRID=4674;POINT (-38.416484 -3.462874)', '2026-06-09 14:12:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416432 -3.462749)'), GeomFromEWKT('SRID=4674;POINT (-38.416484 -3.462874)'))) / (select extract(epoch from '2026-06-09 14:12:03'::timestamp) - extract(epoch from '2026-06-09 14:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416432 -3.462749)'), GeomFromEWKT('SRID=4674;POINT (-38.416484 -3.462874)'))) / (select extract(epoch from '2026-06-09 14:12:03'::timestamp) - extract(epoch from '2026-06-09 14:11: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'), 46534, 'SRID=4674;POINT (-38.416504 -3.462953)', '2026-06-09 14:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416484 -3.462874)'), GeomFromEWKT('SRID=4674;POINT (-38.416504 -3.462953)'))) / (select extract(epoch from '2026-06-09 14:12:08'::timestamp) - extract(epoch from '2026-06-09 14:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416484 -3.462874)'), GeomFromEWKT('SRID=4674;POINT (-38.416504 -3.462953)'))) / (select extract(epoch from '2026-06-09 14:12:08'::timestamp) - extract(epoch from '2026-06-09 14:12: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'), 46534, 'SRID=4674;POINT (-38.41653 -3.463017)', '2026-06-09 14:12:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416504 -3.462953)'), GeomFromEWKT('SRID=4674;POINT (-38.41653 -3.463017)'))) / (select extract(epoch from '2026-06-09 14:12:12'::timestamp) - extract(epoch from '2026-06-09 14:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416504 -3.462953)'), GeomFromEWKT('SRID=4674;POINT (-38.41653 -3.463017)'))) / (select extract(epoch from '2026-06-09 14:12:12'::timestamp) - extract(epoch from '2026-06-09 14:12: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'), 46534, 'SRID=4674;POINT (-38.416537 -3.46303)', '2026-06-09 14:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41653 -3.463017)'), GeomFromEWKT('SRID=4674;POINT (-38.416537 -3.46303)'))) / (select extract(epoch from '2026-06-09 14:12:13'::timestamp) - extract(epoch from '2026-06-09 14:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41653 -3.463017)'), GeomFromEWKT('SRID=4674;POINT (-38.416537 -3.46303)'))) / (select extract(epoch from '2026-06-09 14:12:13'::timestamp) - extract(epoch from '2026-06-09 14:12: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'), 46534, 'SRID=4674;POINT (-38.416552 -3.463076)', '2026-06-09 14:12:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416537 -3.46303)'), GeomFromEWKT('SRID=4674;POINT (-38.416552 -3.463076)'))) / (select extract(epoch from '2026-06-09 14:12:16'::timestamp) - extract(epoch from '2026-06-09 14:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416537 -3.46303)'), GeomFromEWKT('SRID=4674;POINT (-38.416552 -3.463076)'))) / (select extract(epoch from '2026-06-09 14:12:16'::timestamp) - extract(epoch from '2026-06-09 14:12: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'), 46534, 'SRID=4674;POINT (-38.416579 -3.463136)', '2026-06-09 14:12:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416552 -3.463076)'), GeomFromEWKT('SRID=4674;POINT (-38.416579 -3.463136)'))) / (select extract(epoch from '2026-06-09 14:12:20'::timestamp) - extract(epoch from '2026-06-09 14:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416552 -3.463076)'), GeomFromEWKT('SRID=4674;POINT (-38.416579 -3.463136)'))) / (select extract(epoch from '2026-06-09 14:12:20'::timestamp) - extract(epoch from '2026-06-09 14:12: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'), 46534, 'SRID=4674;POINT (-38.416617 -3.463193)', '2026-06-09 14:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416579 -3.463136)'), GeomFromEWKT('SRID=4674;POINT (-38.416617 -3.463193)'))) / (select extract(epoch from '2026-06-09 14:12:24'::timestamp) - extract(epoch from '2026-06-09 14:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416579 -3.463136)'), GeomFromEWKT('SRID=4674;POINT (-38.416617 -3.463193)'))) / (select extract(epoch from '2026-06-09 14:12:24'::timestamp) - extract(epoch from '2026-06-09 14:12: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'), 46534, 'SRID=4674;POINT (-38.416668 -3.463281)', '2026-06-09 14:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416617 -3.463193)'), GeomFromEWKT('SRID=4674;POINT (-38.416668 -3.463281)'))) / (select extract(epoch from '2026-06-09 14:12:29'::timestamp) - extract(epoch from '2026-06-09 14:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416617 -3.463193)'), GeomFromEWKT('SRID=4674;POINT (-38.416668 -3.463281)'))) / (select extract(epoch from '2026-06-09 14:12:29'::timestamp) - extract(epoch from '2026-06-09 14:12: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'), 46534, 'SRID=4674;POINT (-38.416687 -3.463329)', '2026-06-09 14:12:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416668 -3.463281)'), GeomFromEWKT('SRID=4674;POINT (-38.416687 -3.463329)'))) / (select extract(epoch from '2026-06-09 14:12:32'::timestamp) - extract(epoch from '2026-06-09 14:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416668 -3.463281)'), GeomFromEWKT('SRID=4674;POINT (-38.416687 -3.463329)'))) / (select extract(epoch from '2026-06-09 14:12:32'::timestamp) - extract(epoch from '2026-06-09 14: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'), 46534, 'SRID=4674;POINT (-38.416733 -3.463403)', '2026-06-09 14:12:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416687 -3.463329)'), GeomFromEWKT('SRID=4674;POINT (-38.416733 -3.463403)'))) / (select extract(epoch from '2026-06-09 14:12:37'::timestamp) - extract(epoch from '2026-06-09 14:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416687 -3.463329)'), GeomFromEWKT('SRID=4674;POINT (-38.416733 -3.463403)'))) / (select extract(epoch from '2026-06-09 14:12:37'::timestamp) - extract(epoch from '2026-06-09 14:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.416788 -3.46349)', '2026-06-09 14:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416733 -3.463403)'), GeomFromEWKT('SRID=4674;POINT (-38.416788 -3.46349)'))) / (select extract(epoch from '2026-06-09 14:12:42'::timestamp) - extract(epoch from '2026-06-09 14:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416733 -3.463403)'), GeomFromEWKT('SRID=4674;POINT (-38.416788 -3.46349)'))) / (select extract(epoch from '2026-06-09 14:12:42'::timestamp) - extract(epoch from '2026-06-09 14:12: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'), 46534, 'SRID=4674;POINT (-38.416827 -3.463585)', '2026-06-09 14:12:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416788 -3.46349)'), GeomFromEWKT('SRID=4674;POINT (-38.416827 -3.463585)'))) / (select extract(epoch from '2026-06-09 14:12:48'::timestamp) - extract(epoch from '2026-06-09 14:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416788 -3.46349)'), GeomFromEWKT('SRID=4674;POINT (-38.416827 -3.463585)'))) / (select extract(epoch from '2026-06-09 14:12:48'::timestamp) - extract(epoch from '2026-06-09 14:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.416865 -3.46368)', '2026-06-09 14:12:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416827 -3.463585)'), GeomFromEWKT('SRID=4674;POINT (-38.416865 -3.46368)'))) / (select extract(epoch from '2026-06-09 14:12:54'::timestamp) - extract(epoch from '2026-06-09 14:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416827 -3.463585)'), GeomFromEWKT('SRID=4674;POINT (-38.416865 -3.46368)'))) / (select extract(epoch from '2026-06-09 14:12:54'::timestamp) - extract(epoch from '2026-06-09 14:12: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'), 46534, 'SRID=4674;POINT (-38.416889 -3.463735)', '2026-06-09 14:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416865 -3.46368)'), GeomFromEWKT('SRID=4674;POINT (-38.416889 -3.463735)'))) / (select extract(epoch from '2026-06-09 14:12:58'::timestamp) - extract(epoch from '2026-06-09 14:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416865 -3.46368)'), GeomFromEWKT('SRID=4674;POINT (-38.416889 -3.463735)'))) / (select extract(epoch from '2026-06-09 14:12:58'::timestamp) - extract(epoch from '2026-06-09 14:12:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.416901 -3.463767)', '2026-06-09 14:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416889 -3.463735)'), GeomFromEWKT('SRID=4674;POINT (-38.416901 -3.463767)'))) / (select extract(epoch from '2026-06-09 14:13:00'::timestamp) - extract(epoch from '2026-06-09 14:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416889 -3.463735)'), GeomFromEWKT('SRID=4674;POINT (-38.416901 -3.463767)'))) / (select extract(epoch from '2026-06-09 14:13:00'::timestamp) - extract(epoch from '2026-06-09 14:12: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'), 46534, 'SRID=4674;POINT (-38.416952 -3.463839)', '2026-06-09 14:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416901 -3.463767)'), GeomFromEWKT('SRID=4674;POINT (-38.416952 -3.463839)'))) / (select extract(epoch from '2026-06-09 14:13:06'::timestamp) - extract(epoch from '2026-06-09 14:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416901 -3.463767)'), GeomFromEWKT('SRID=4674;POINT (-38.416952 -3.463839)'))) / (select extract(epoch from '2026-06-09 14:13:06'::timestamp) - extract(epoch from '2026-06-09 14:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.416981 -3.463881)', '2026-06-09 14:13:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416952 -3.463839)'), GeomFromEWKT('SRID=4674;POINT (-38.416981 -3.463881)'))) / (select extract(epoch from '2026-06-09 14:13:09'::timestamp) - extract(epoch from '2026-06-09 14:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416952 -3.463839)'), GeomFromEWKT('SRID=4674;POINT (-38.416981 -3.463881)'))) / (select extract(epoch from '2026-06-09 14:13:09'::timestamp) - extract(epoch from '2026-06-09 14:13:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.41701 -3.46391)', '2026-06-09 14:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416981 -3.463881)'), GeomFromEWKT('SRID=4674;POINT (-38.41701 -3.46391)'))) / (select extract(epoch from '2026-06-09 14:13:11'::timestamp) - extract(epoch from '2026-06-09 14:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416981 -3.463881)'), GeomFromEWKT('SRID=4674;POINT (-38.41701 -3.46391)'))) / (select extract(epoch from '2026-06-09 14:13:11'::timestamp) - extract(epoch from '2026-06-09 14:13: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'), 46534, 'SRID=4674;POINT (-38.417053 -3.463997)', '2026-06-09 14:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41701 -3.46391)'), GeomFromEWKT('SRID=4674;POINT (-38.417053 -3.463997)'))) / (select extract(epoch from '2026-06-09 14:13:16'::timestamp) - extract(epoch from '2026-06-09 14:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41701 -3.46391)'), GeomFromEWKT('SRID=4674;POINT (-38.417053 -3.463997)'))) / (select extract(epoch from '2026-06-09 14:13:16'::timestamp) - extract(epoch from '2026-06-09 14:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.417091 -3.46408)', '2026-06-09 14:13:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417053 -3.463997)'), GeomFromEWKT('SRID=4674;POINT (-38.417091 -3.46408)'))) / (select extract(epoch from '2026-06-09 14:13:21'::timestamp) - extract(epoch from '2026-06-09 14:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417053 -3.463997)'), GeomFromEWKT('SRID=4674;POINT (-38.417091 -3.46408)'))) / (select extract(epoch from '2026-06-09 14:13:21'::timestamp) - extract(epoch from '2026-06-09 14:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.417135 -3.464168)', '2026-06-09 14:13:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417091 -3.46408)'), GeomFromEWKT('SRID=4674;POINT (-38.417135 -3.464168)'))) / (select extract(epoch from '2026-06-09 14:13:27'::timestamp) - extract(epoch from '2026-06-09 14:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417091 -3.46408)'), GeomFromEWKT('SRID=4674;POINT (-38.417135 -3.464168)'))) / (select extract(epoch from '2026-06-09 14:13:27'::timestamp) - extract(epoch from '2026-06-09 14:13: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'), 46534, 'SRID=4674;POINT (-38.417171 -3.464217)', '2026-06-09 14:13:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417135 -3.464168)'), GeomFromEWKT('SRID=4674;POINT (-38.417171 -3.464217)'))) / (select extract(epoch from '2026-06-09 14:13:30'::timestamp) - extract(epoch from '2026-06-09 14:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417135 -3.464168)'), GeomFromEWKT('SRID=4674;POINT (-38.417171 -3.464217)'))) / (select extract(epoch from '2026-06-09 14:13:30'::timestamp) - extract(epoch from '2026-06-09 14:13: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'), 46534, 'SRID=4674;POINT (-38.417175 -3.464232)', '2026-06-09 14:13:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417171 -3.464217)'), GeomFromEWKT('SRID=4674;POINT (-38.417175 -3.464232)'))) / (select extract(epoch from '2026-06-09 14:13:31'::timestamp) - extract(epoch from '2026-06-09 14:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417171 -3.464217)'), GeomFromEWKT('SRID=4674;POINT (-38.417175 -3.464232)'))) / (select extract(epoch from '2026-06-09 14:13:31'::timestamp) - extract(epoch from '2026-06-09 14:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.417213 -3.464308)', '2026-06-09 14:13:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417175 -3.464232)'), GeomFromEWKT('SRID=4674;POINT (-38.417213 -3.464308)'))) / (select extract(epoch from '2026-06-09 14:13:35'::timestamp) - extract(epoch from '2026-06-09 14:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417175 -3.464232)'), GeomFromEWKT('SRID=4674;POINT (-38.417213 -3.464308)'))) / (select extract(epoch from '2026-06-09 14:13:35'::timestamp) - extract(epoch from '2026-06-09 14:13:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.417242 -3.464393)', '2026-06-09 14:13:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417213 -3.464308)'), GeomFromEWKT('SRID=4674;POINT (-38.417242 -3.464393)'))) / (select extract(epoch from '2026-06-09 14:13:40'::timestamp) - extract(epoch from '2026-06-09 14:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417213 -3.464308)'), GeomFromEWKT('SRID=4674;POINT (-38.417242 -3.464393)'))) / (select extract(epoch from '2026-06-09 14:13:40'::timestamp) - extract(epoch from '2026-06-09 14:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.417276 -3.46445)', '2026-06-09 14:13:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417242 -3.464393)'), GeomFromEWKT('SRID=4674;POINT (-38.417276 -3.46445)'))) / (select extract(epoch from '2026-06-09 14:13:43'::timestamp) - extract(epoch from '2026-06-09 14:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417242 -3.464393)'), GeomFromEWKT('SRID=4674;POINT (-38.417276 -3.46445)'))) / (select extract(epoch from '2026-06-09 14:13:43'::timestamp) - extract(epoch from '2026-06-09 14:13: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'), 46534, 'SRID=4674;POINT (-38.417282 -3.464469)', '2026-06-09 14:13:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417276 -3.46445)'), GeomFromEWKT('SRID=4674;POINT (-38.417282 -3.464469)'))) / (select extract(epoch from '2026-06-09 14:13:44'::timestamp) - extract(epoch from '2026-06-09 14:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417276 -3.46445)'), GeomFromEWKT('SRID=4674;POINT (-38.417282 -3.464469)'))) / (select extract(epoch from '2026-06-09 14:13:44'::timestamp) - extract(epoch from '2026-06-09 14:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.417319 -3.464537)', '2026-06-09 14:13:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417282 -3.464469)'), GeomFromEWKT('SRID=4674;POINT (-38.417319 -3.464537)'))) / (select extract(epoch from '2026-06-09 14:13:48'::timestamp) - extract(epoch from '2026-06-09 14:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417282 -3.464469)'), GeomFromEWKT('SRID=4674;POINT (-38.417319 -3.464537)'))) / (select extract(epoch from '2026-06-09 14:13:48'::timestamp) - extract(epoch from '2026-06-09 14:13: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'), 46534, 'SRID=4674;POINT (-38.417339 -3.464586)', '2026-06-09 14:13:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417319 -3.464537)'), GeomFromEWKT('SRID=4674;POINT (-38.417339 -3.464586)'))) / (select extract(epoch from '2026-06-09 14:13:51'::timestamp) - extract(epoch from '2026-06-09 14:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417319 -3.464537)'), GeomFromEWKT('SRID=4674;POINT (-38.417339 -3.464586)'))) / (select extract(epoch from '2026-06-09 14:13:51'::timestamp) - extract(epoch from '2026-06-09 14:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.417343 -3.464602)', '2026-06-09 14:13:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417339 -3.464586)'), GeomFromEWKT('SRID=4674;POINT (-38.417343 -3.464602)'))) / (select extract(epoch from '2026-06-09 14:13:52'::timestamp) - extract(epoch from '2026-06-09 14:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417339 -3.464586)'), GeomFromEWKT('SRID=4674;POINT (-38.417343 -3.464602)'))) / (select extract(epoch from '2026-06-09 14:13:52'::timestamp) - extract(epoch from '2026-06-09 14:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
