BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.440005 -3.147154)', '2026-07-31 04:11:07', 7.4, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.440064 -3.147114)', '2026-07-31 04:11:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440005 -3.147154)'), GeomFromEWKT('SRID=4674;POINT (-39.440064 -3.147114)'))) / (select extract(epoch from '2026-07-31 04:11:21'::timestamp) - extract(epoch from '2026-07-31 04:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440005 -3.147154)'), GeomFromEWKT('SRID=4674;POINT (-39.440064 -3.147114)'))) / (select extract(epoch from '2026-07-31 04:11:21'::timestamp) - extract(epoch from '2026-07-31 04:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.440099 -3.14708)', '2026-07-31 04:11:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440064 -3.147114)'), GeomFromEWKT('SRID=4674;POINT (-39.440099 -3.14708)'))) / (select extract(epoch from '2026-07-31 04:11:34'::timestamp) - extract(epoch from '2026-07-31 04:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440064 -3.147114)'), GeomFromEWKT('SRID=4674;POINT (-39.440099 -3.14708)'))) / (select extract(epoch from '2026-07-31 04:11:34'::timestamp) - extract(epoch from '2026-07-31 04:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.440154 -3.147019)', '2026-07-31 04:11:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440099 -3.14708)'), GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.147019)'))) / (select extract(epoch from '2026-07-31 04:11:47'::timestamp) - extract(epoch from '2026-07-31 04:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440099 -3.14708)'), GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.147019)'))) / (select extract(epoch from '2026-07-31 04:11:47'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.4402 -3.146991)', '2026-07-31 04:11:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.147019)'), GeomFromEWKT('SRID=4674;POINT (-39.4402 -3.146991)'))) / (select extract(epoch from '2026-07-31 04:11:57'::timestamp) - extract(epoch from '2026-07-31 04:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.147019)'), GeomFromEWKT('SRID=4674;POINT (-39.4402 -3.146991)'))) / (select extract(epoch from '2026-07-31 04:11:57'::timestamp) - extract(epoch from '2026-07-31 04:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.440214 -3.146918)', '2026-07-31 04:12:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4402 -3.146991)'), GeomFromEWKT('SRID=4674;POINT (-39.440214 -3.146918)'))) / (select extract(epoch from '2026-07-31 04:12:06'::timestamp) - extract(epoch from '2026-07-31 04:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4402 -3.146991)'), GeomFromEWKT('SRID=4674;POINT (-39.440214 -3.146918)'))) / (select extract(epoch from '2026-07-31 04:12:06'::timestamp) - extract(epoch from '2026-07-31 04:11: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'), 48006, 'SRID=4674;POINT (-39.440197 -3.14684)', '2026-07-31 04:12:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440214 -3.146918)'), GeomFromEWKT('SRID=4674;POINT (-39.440197 -3.14684)'))) / (select extract(epoch from '2026-07-31 04:12:14'::timestamp) - extract(epoch from '2026-07-31 04:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440214 -3.146918)'), GeomFromEWKT('SRID=4674;POINT (-39.440197 -3.14684)'))) / (select extract(epoch from '2026-07-31 04:12:14'::timestamp) - extract(epoch from '2026-07-31 04:12: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'), 48006, 'SRID=4674;POINT (-39.440199 -3.146831)', '2026-07-31 04:12:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440197 -3.14684)'), GeomFromEWKT('SRID=4674;POINT (-39.440199 -3.146831)'))) / (select extract(epoch from '2026-07-31 04:12:15'::timestamp) - extract(epoch from '2026-07-31 04:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440197 -3.14684)'), GeomFromEWKT('SRID=4674;POINT (-39.440199 -3.146831)'))) / (select extract(epoch from '2026-07-31 04:12:15'::timestamp) - extract(epoch from '2026-07-31 04:12: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'), 48006, 'SRID=4674;POINT (-39.440188 -3.146773)', '2026-07-31 04:12:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440199 -3.146831)'), GeomFromEWKT('SRID=4674;POINT (-39.440188 -3.146773)'))) / (select extract(epoch from '2026-07-31 04:12:20'::timestamp) - extract(epoch from '2026-07-31 04:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440199 -3.146831)'), GeomFromEWKT('SRID=4674;POINT (-39.440188 -3.146773)'))) / (select extract(epoch from '2026-07-31 04:12:20'::timestamp) - extract(epoch from '2026-07-31 04:12: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'), 48006, 'SRID=4674;POINT (-39.440154 -3.146697)', '2026-07-31 04:12:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440188 -3.146773)'), GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.146697)'))) / (select extract(epoch from '2026-07-31 04:12:27'::timestamp) - extract(epoch from '2026-07-31 04:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440188 -3.146773)'), GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.146697)'))) / (select extract(epoch from '2026-07-31 04:12:27'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.440154 -3.146628)', '2026-07-31 04:12:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.146697)'), GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.146628)'))) / (select extract(epoch from '2026-07-31 04:12:32'::timestamp) - extract(epoch from '2026-07-31 04:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.146697)'), GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.146628)'))) / (select extract(epoch from '2026-07-31 04:12:32'::timestamp) - extract(epoch from '2026-07-31 04:12: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'), 48006, 'SRID=4674;POINT (-39.440168 -3.146528)', '2026-07-31 04:12:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.146628)'), GeomFromEWKT('SRID=4674;POINT (-39.440168 -3.146528)'))) / (select extract(epoch from '2026-07-31 04:12:37'::timestamp) - extract(epoch from '2026-07-31 04:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440154 -3.146628)'), GeomFromEWKT('SRID=4674;POINT (-39.440168 -3.146528)'))) / (select extract(epoch from '2026-07-31 04:12:37'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.440227 -3.146325)', '2026-07-31 04:12:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440168 -3.146528)'), GeomFromEWKT('SRID=4674;POINT (-39.440227 -3.146325)'))) / (select extract(epoch from '2026-07-31 04:12:46'::timestamp) - extract(epoch from '2026-07-31 04:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440168 -3.146528)'), GeomFromEWKT('SRID=4674;POINT (-39.440227 -3.146325)'))) / (select extract(epoch from '2026-07-31 04:12:46'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.440288 -3.146144)', '2026-07-31 04:12:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440227 -3.146325)'), GeomFromEWKT('SRID=4674;POINT (-39.440288 -3.146144)'))) / (select extract(epoch from '2026-07-31 04:12:54'::timestamp) - extract(epoch from '2026-07-31 04:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440227 -3.146325)'), GeomFromEWKT('SRID=4674;POINT (-39.440288 -3.146144)'))) / (select extract(epoch from '2026-07-31 04:12:54'::timestamp) - extract(epoch from '2026-07-31 04:12:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.440316 -3.146003)', '2026-07-31 04:13:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440288 -3.146144)'), GeomFromEWKT('SRID=4674;POINT (-39.440316 -3.146003)'))) / (select extract(epoch from '2026-07-31 04:13:00'::timestamp) - extract(epoch from '2026-07-31 04:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440288 -3.146144)'), GeomFromEWKT('SRID=4674;POINT (-39.440316 -3.146003)'))) / (select extract(epoch from '2026-07-31 04:13:00'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.44035 -3.145867)', '2026-07-31 04:13:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440316 -3.146003)'), GeomFromEWKT('SRID=4674;POINT (-39.44035 -3.145867)'))) / (select extract(epoch from '2026-07-31 04:13:06'::timestamp) - extract(epoch from '2026-07-31 04:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440316 -3.146003)'), GeomFromEWKT('SRID=4674;POINT (-39.44035 -3.145867)'))) / (select extract(epoch from '2026-07-31 04:13:06'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.440375 -3.14571)', '2026-07-31 04:13:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.44035 -3.145867)'), GeomFromEWKT('SRID=4674;POINT (-39.440375 -3.14571)'))) / (select extract(epoch from '2026-07-31 04:13:13'::timestamp) - extract(epoch from '2026-07-31 04:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.44035 -3.145867)'), GeomFromEWKT('SRID=4674;POINT (-39.440375 -3.14571)'))) / (select extract(epoch from '2026-07-31 04:13:13'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.440357 -3.145585)', '2026-07-31 04:13:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440375 -3.14571)'), GeomFromEWKT('SRID=4674;POINT (-39.440357 -3.145585)'))) / (select extract(epoch from '2026-07-31 04:13:20'::timestamp) - extract(epoch from '2026-07-31 04:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440375 -3.14571)'), GeomFromEWKT('SRID=4674;POINT (-39.440357 -3.145585)'))) / (select extract(epoch from '2026-07-31 04:13:20'::timestamp) - extract(epoch from '2026-07-31 04:13: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'), 48006, 'SRID=4674;POINT (-39.440331 -3.145513)', '2026-07-31 04:13:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440357 -3.145585)'), GeomFromEWKT('SRID=4674;POINT (-39.440331 -3.145513)'))) / (select extract(epoch from '2026-07-31 04:13:26'::timestamp) - extract(epoch from '2026-07-31 04:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440357 -3.145585)'), GeomFromEWKT('SRID=4674;POINT (-39.440331 -3.145513)'))) / (select extract(epoch from '2026-07-31 04:13:26'::timestamp) - extract(epoch from '2026-07-31 04:13: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'), 48006, 'SRID=4674;POINT (-39.440315 -3.145454)', '2026-07-31 04:13:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440331 -3.145513)'), GeomFromEWKT('SRID=4674;POINT (-39.440315 -3.145454)'))) / (select extract(epoch from '2026-07-31 04:13:32'::timestamp) - extract(epoch from '2026-07-31 04:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440331 -3.145513)'), GeomFromEWKT('SRID=4674;POINT (-39.440315 -3.145454)'))) / (select extract(epoch from '2026-07-31 04:13:32'::timestamp) - extract(epoch from '2026-07-31 04:13: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'), 48006, 'SRID=4674;POINT (-39.440298 -3.145387)', '2026-07-31 04:13:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440315 -3.145454)'), GeomFromEWKT('SRID=4674;POINT (-39.440298 -3.145387)'))) / (select extract(epoch from '2026-07-31 04:13:39'::timestamp) - extract(epoch from '2026-07-31 04:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440315 -3.145454)'), GeomFromEWKT('SRID=4674;POINT (-39.440298 -3.145387)'))) / (select extract(epoch from '2026-07-31 04:13:39'::timestamp) - extract(epoch from '2026-07-31 04:13: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'), 48006, 'SRID=4674;POINT (-39.440265 -3.145301)', '2026-07-31 04:13:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440298 -3.145387)'), GeomFromEWKT('SRID=4674;POINT (-39.440265 -3.145301)'))) / (select extract(epoch from '2026-07-31 04:13:46'::timestamp) - extract(epoch from '2026-07-31 04:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440298 -3.145387)'), GeomFromEWKT('SRID=4674;POINT (-39.440265 -3.145301)'))) / (select extract(epoch from '2026-07-31 04:13:46'::timestamp) - extract(epoch from '2026-07-31 04:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.440241 -3.145236)', '2026-07-31 04:13:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440265 -3.145301)'), GeomFromEWKT('SRID=4674;POINT (-39.440241 -3.145236)'))) / (select extract(epoch from '2026-07-31 04:13:52'::timestamp) - extract(epoch from '2026-07-31 04:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440265 -3.145301)'), GeomFromEWKT('SRID=4674;POINT (-39.440241 -3.145236)'))) / (select extract(epoch from '2026-07-31 04:13:52'::timestamp) - extract(epoch from '2026-07-31 04:13: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'), 48006, 'SRID=4674;POINT (-39.440201 -3.145108)', '2026-07-31 04:14:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440241 -3.145236)'), GeomFromEWKT('SRID=4674;POINT (-39.440201 -3.145108)'))) / (select extract(epoch from '2026-07-31 04:14:01'::timestamp) - extract(epoch from '2026-07-31 04:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440241 -3.145236)'), GeomFromEWKT('SRID=4674;POINT (-39.440201 -3.145108)'))) / (select extract(epoch from '2026-07-31 04:14:01'::timestamp) - extract(epoch from '2026-07-31 04:13: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'), 48006, 'SRID=4674;POINT (-39.440177 -3.145029)', '2026-07-31 04:14:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440201 -3.145108)'), GeomFromEWKT('SRID=4674;POINT (-39.440177 -3.145029)'))) / (select extract(epoch from '2026-07-31 04:14:07'::timestamp) - extract(epoch from '2026-07-31 04:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440201 -3.145108)'), GeomFromEWKT('SRID=4674;POINT (-39.440177 -3.145029)'))) / (select extract(epoch from '2026-07-31 04:14:07'::timestamp) - extract(epoch from '2026-07-31 04:14: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'), 48006, 'SRID=4674;POINT (-39.44017 -3.14502)', '2026-07-31 04:14:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440177 -3.145029)'), GeomFromEWKT('SRID=4674;POINT (-39.44017 -3.14502)'))) / (select extract(epoch from '2026-07-31 04:14:08'::timestamp) - extract(epoch from '2026-07-31 04:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440177 -3.145029)'), GeomFromEWKT('SRID=4674;POINT (-39.44017 -3.14502)'))) / (select extract(epoch from '2026-07-31 04:14:08'::timestamp) - extract(epoch from '2026-07-31 04:14: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'), 48006, 'SRID=4674;POINT (-39.440147 -3.144978)', '2026-07-31 04:14:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.44017 -3.14502)'), GeomFromEWKT('SRID=4674;POINT (-39.440147 -3.144978)'))) / (select extract(epoch from '2026-07-31 04:14:13'::timestamp) - extract(epoch from '2026-07-31 04:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.44017 -3.14502)'), GeomFromEWKT('SRID=4674;POINT (-39.440147 -3.144978)'))) / (select extract(epoch from '2026-07-31 04:14:13'::timestamp) - extract(epoch from '2026-07-31 04:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.440138 -3.144902)', '2026-07-31 04:14:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440147 -3.144978)'), GeomFromEWKT('SRID=4674;POINT (-39.440138 -3.144902)'))) / (select extract(epoch from '2026-07-31 04:14:20'::timestamp) - extract(epoch from '2026-07-31 04:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440147 -3.144978)'), GeomFromEWKT('SRID=4674;POINT (-39.440138 -3.144902)'))) / (select extract(epoch from '2026-07-31 04:14:20'::timestamp) - extract(epoch from '2026-07-31 04:14: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'), 48006, 'SRID=4674;POINT (-39.440095 -3.144767)', '2026-07-31 04:14:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440138 -3.144902)'), GeomFromEWKT('SRID=4674;POINT (-39.440095 -3.144767)'))) / (select extract(epoch from '2026-07-31 04:14:28'::timestamp) - extract(epoch from '2026-07-31 04:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440138 -3.144902)'), GeomFromEWKT('SRID=4674;POINT (-39.440095 -3.144767)'))) / (select extract(epoch from '2026-07-31 04:14:28'::timestamp) - extract(epoch from '2026-07-31 04:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.440069 -3.144665)', '2026-07-31 04:14:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440095 -3.144767)'), GeomFromEWKT('SRID=4674;POINT (-39.440069 -3.144665)'))) / (select extract(epoch from '2026-07-31 04:14:33'::timestamp) - extract(epoch from '2026-07-31 04:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440095 -3.144767)'), GeomFromEWKT('SRID=4674;POINT (-39.440069 -3.144665)'))) / (select extract(epoch from '2026-07-31 04:14:33'::timestamp) - extract(epoch from '2026-07-31 04:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.440025 -3.144529)', '2026-07-31 04:14:40', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440069 -3.144665)'), GeomFromEWKT('SRID=4674;POINT (-39.440025 -3.144529)'))) / (select extract(epoch from '2026-07-31 04:14:40'::timestamp) - extract(epoch from '2026-07-31 04:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440069 -3.144665)'), GeomFromEWKT('SRID=4674;POINT (-39.440025 -3.144529)'))) / (select extract(epoch from '2026-07-31 04:14:40'::timestamp) - extract(epoch from '2026-07-31 04:14: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'), 48006, 'SRID=4674;POINT (-39.439982 -3.144421)', '2026-07-31 04:14:46', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440025 -3.144529)'), GeomFromEWKT('SRID=4674;POINT (-39.439982 -3.144421)'))) / (select extract(epoch from '2026-07-31 04:14:46'::timestamp) - extract(epoch from '2026-07-31 04:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.440025 -3.144529)'), GeomFromEWKT('SRID=4674;POINT (-39.439982 -3.144421)'))) / (select extract(epoch from '2026-07-31 04:14:46'::timestamp) - extract(epoch from '2026-07-31 04:14: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'), 48006, 'SRID=4674;POINT (-39.439947 -3.14431)', '2026-07-31 04:14:52', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439982 -3.144421)'), GeomFromEWKT('SRID=4674;POINT (-39.439947 -3.14431)'))) / (select extract(epoch from '2026-07-31 04:14:52'::timestamp) - extract(epoch from '2026-07-31 04:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439982 -3.144421)'), GeomFromEWKT('SRID=4674;POINT (-39.439947 -3.14431)'))) / (select extract(epoch from '2026-07-31 04:14:52'::timestamp) - extract(epoch from '2026-07-31 04:14: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'), 48006, 'SRID=4674;POINT (-39.439909 -3.144174)', '2026-07-31 04:14:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439947 -3.14431)'), GeomFromEWKT('SRID=4674;POINT (-39.439909 -3.144174)'))) / (select extract(epoch from '2026-07-31 04:14:59'::timestamp) - extract(epoch from '2026-07-31 04:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439947 -3.14431)'), GeomFromEWKT('SRID=4674;POINT (-39.439909 -3.144174)'))) / (select extract(epoch from '2026-07-31 04:14:59'::timestamp) - extract(epoch from '2026-07-31 04:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439885 -3.144065)', '2026-07-31 04:15:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439909 -3.144174)'), GeomFromEWKT('SRID=4674;POINT (-39.439885 -3.144065)'))) / (select extract(epoch from '2026-07-31 04:15:05'::timestamp) - extract(epoch from '2026-07-31 04:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439909 -3.144174)'), GeomFromEWKT('SRID=4674;POINT (-39.439885 -3.144065)'))) / (select extract(epoch from '2026-07-31 04:15:05'::timestamp) - extract(epoch from '2026-07-31 04:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439867 -3.143991)', '2026-07-31 04:15:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439885 -3.144065)'), GeomFromEWKT('SRID=4674;POINT (-39.439867 -3.143991)'))) / (select extract(epoch from '2026-07-31 04:15:09'::timestamp) - extract(epoch from '2026-07-31 04:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439885 -3.144065)'), GeomFromEWKT('SRID=4674;POINT (-39.439867 -3.143991)'))) / (select extract(epoch from '2026-07-31 04:15:09'::timestamp) - extract(epoch from '2026-07-31 04:15: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'), 48006, 'SRID=4674;POINT (-39.439861 -3.143895)', '2026-07-31 04:15:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439867 -3.143991)'), GeomFromEWKT('SRID=4674;POINT (-39.439861 -3.143895)'))) / (select extract(epoch from '2026-07-31 04:15:14'::timestamp) - extract(epoch from '2026-07-31 04:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439867 -3.143991)'), GeomFromEWKT('SRID=4674;POINT (-39.439861 -3.143895)'))) / (select extract(epoch from '2026-07-31 04:15:14'::timestamp) - extract(epoch from '2026-07-31 04:15: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'), 48006, 'SRID=4674;POINT (-39.439847 -3.14378)', '2026-07-31 04:15:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439861 -3.143895)'), GeomFromEWKT('SRID=4674;POINT (-39.439847 -3.14378)'))) / (select extract(epoch from '2026-07-31 04:15:20'::timestamp) - extract(epoch from '2026-07-31 04:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439861 -3.143895)'), GeomFromEWKT('SRID=4674;POINT (-39.439847 -3.14378)'))) / (select extract(epoch from '2026-07-31 04:15:20'::timestamp) - extract(epoch from '2026-07-31 04:15:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439829 -3.143677)', '2026-07-31 04:15:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439847 -3.14378)'), GeomFromEWKT('SRID=4674;POINT (-39.439829 -3.143677)'))) / (select extract(epoch from '2026-07-31 04:15:25'::timestamp) - extract(epoch from '2026-07-31 04:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439847 -3.14378)'), GeomFromEWKT('SRID=4674;POINT (-39.439829 -3.143677)'))) / (select extract(epoch from '2026-07-31 04:15:25'::timestamp) - extract(epoch from '2026-07-31 04:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439804 -3.143505)', '2026-07-31 04:15:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439829 -3.143677)'), GeomFromEWKT('SRID=4674;POINT (-39.439804 -3.143505)'))) / (select extract(epoch from '2026-07-31 04:15:33'::timestamp) - extract(epoch from '2026-07-31 04:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439829 -3.143677)'), GeomFromEWKT('SRID=4674;POINT (-39.439804 -3.143505)'))) / (select extract(epoch from '2026-07-31 04:15:33'::timestamp) - extract(epoch from '2026-07-31 04:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439782 -3.143403)', '2026-07-31 04:15:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439804 -3.143505)'), GeomFromEWKT('SRID=4674;POINT (-39.439782 -3.143403)'))) / (select extract(epoch from '2026-07-31 04:15:38'::timestamp) - extract(epoch from '2026-07-31 04:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439804 -3.143505)'), GeomFromEWKT('SRID=4674;POINT (-39.439782 -3.143403)'))) / (select extract(epoch from '2026-07-31 04:15:38'::timestamp) - extract(epoch from '2026-07-31 04:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439758 -3.143279)', '2026-07-31 04:15:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439782 -3.143403)'), GeomFromEWKT('SRID=4674;POINT (-39.439758 -3.143279)'))) / (select extract(epoch from '2026-07-31 04:15:44'::timestamp) - extract(epoch from '2026-07-31 04:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439782 -3.143403)'), GeomFromEWKT('SRID=4674;POINT (-39.439758 -3.143279)'))) / (select extract(epoch from '2026-07-31 04:15:44'::timestamp) - extract(epoch from '2026-07-31 04:15:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439743 -3.143179)', '2026-07-31 04:15:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439758 -3.143279)'), GeomFromEWKT('SRID=4674;POINT (-39.439743 -3.143179)'))) / (select extract(epoch from '2026-07-31 04:15:49'::timestamp) - extract(epoch from '2026-07-31 04:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439758 -3.143279)'), GeomFromEWKT('SRID=4674;POINT (-39.439743 -3.143179)'))) / (select extract(epoch from '2026-07-31 04:15:49'::timestamp) - extract(epoch from '2026-07-31 04:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439715 -3.143017)', '2026-07-31 04:15:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439743 -3.143179)'), GeomFromEWKT('SRID=4674;POINT (-39.439715 -3.143017)'))) / (select extract(epoch from '2026-07-31 04:15:57'::timestamp) - extract(epoch from '2026-07-31 04:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439743 -3.143179)'), GeomFromEWKT('SRID=4674;POINT (-39.439715 -3.143017)'))) / (select extract(epoch from '2026-07-31 04:15:57'::timestamp) - extract(epoch from '2026-07-31 04:15: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'), 48006, 'SRID=4674;POINT (-39.43969 -3.142878)', '2026-07-31 04:16:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439715 -3.143017)'), GeomFromEWKT('SRID=4674;POINT (-39.43969 -3.142878)'))) / (select extract(epoch from '2026-07-31 04:16:04'::timestamp) - extract(epoch from '2026-07-31 04:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439715 -3.143017)'), GeomFromEWKT('SRID=4674;POINT (-39.43969 -3.142878)'))) / (select extract(epoch from '2026-07-31 04:16:04'::timestamp) - extract(epoch from '2026-07-31 04:15: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'), 48006, 'SRID=4674;POINT (-39.439674 -3.142789)', '2026-07-31 04:16:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43969 -3.142878)'), GeomFromEWKT('SRID=4674;POINT (-39.439674 -3.142789)'))) / (select extract(epoch from '2026-07-31 04:16:08'::timestamp) - extract(epoch from '2026-07-31 04:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43969 -3.142878)'), GeomFromEWKT('SRID=4674;POINT (-39.439674 -3.142789)'))) / (select extract(epoch from '2026-07-31 04:16:08'::timestamp) - extract(epoch from '2026-07-31 04:16: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'), 48006, 'SRID=4674;POINT (-39.439667 -3.142653)', '2026-07-31 04:16:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439674 -3.142789)'), GeomFromEWKT('SRID=4674;POINT (-39.439667 -3.142653)'))) / (select extract(epoch from '2026-07-31 04:16:15'::timestamp) - extract(epoch from '2026-07-31 04:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439674 -3.142789)'), GeomFromEWKT('SRID=4674;POINT (-39.439667 -3.142653)'))) / (select extract(epoch from '2026-07-31 04:16:15'::timestamp) - extract(epoch from '2026-07-31 04:16: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'), 48006, 'SRID=4674;POINT (-39.439648 -3.142565)', '2026-07-31 04:16:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439667 -3.142653)'), GeomFromEWKT('SRID=4674;POINT (-39.439648 -3.142565)'))) / (select extract(epoch from '2026-07-31 04:16:20'::timestamp) - extract(epoch from '2026-07-31 04:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439667 -3.142653)'), GeomFromEWKT('SRID=4674;POINT (-39.439648 -3.142565)'))) / (select extract(epoch from '2026-07-31 04:16:20'::timestamp) - extract(epoch from '2026-07-31 04:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439624 -3.142466)', '2026-07-31 04:16:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439648 -3.142565)'), GeomFromEWKT('SRID=4674;POINT (-39.439624 -3.142466)'))) / (select extract(epoch from '2026-07-31 04:16:25'::timestamp) - extract(epoch from '2026-07-31 04:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439648 -3.142565)'), GeomFromEWKT('SRID=4674;POINT (-39.439624 -3.142466)'))) / (select extract(epoch from '2026-07-31 04:16:25'::timestamp) - extract(epoch from '2026-07-31 04:16: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'), 48006, 'SRID=4674;POINT (-39.439603 -3.142354)', '2026-07-31 04:16:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439624 -3.142466)'), GeomFromEWKT('SRID=4674;POINT (-39.439603 -3.142354)'))) / (select extract(epoch from '2026-07-31 04:16:30'::timestamp) - extract(epoch from '2026-07-31 04:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439624 -3.142466)'), GeomFromEWKT('SRID=4674;POINT (-39.439603 -3.142354)'))) / (select extract(epoch from '2026-07-31 04:16:30'::timestamp) - extract(epoch from '2026-07-31 04:16: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'), 48006, 'SRID=4674;POINT (-39.439597 -3.142332)', '2026-07-31 04:16:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439603 -3.142354)'), GeomFromEWKT('SRID=4674;POINT (-39.439597 -3.142332)'))) / (select extract(epoch from '2026-07-31 04:16:31'::timestamp) - extract(epoch from '2026-07-31 04:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439603 -3.142354)'), GeomFromEWKT('SRID=4674;POINT (-39.439597 -3.142332)'))) / (select extract(epoch from '2026-07-31 04:16:31'::timestamp) - extract(epoch from '2026-07-31 04:16: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'), 48006, 'SRID=4674;POINT (-39.439569 -3.142173)', '2026-07-31 04:16:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439597 -3.142332)'), GeomFromEWKT('SRID=4674;POINT (-39.439569 -3.142173)'))) / (select extract(epoch from '2026-07-31 04:16:39'::timestamp) - extract(epoch from '2026-07-31 04:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439597 -3.142332)'), GeomFromEWKT('SRID=4674;POINT (-39.439569 -3.142173)'))) / (select extract(epoch from '2026-07-31 04:16:39'::timestamp) - extract(epoch from '2026-07-31 04:16: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'), 48006, 'SRID=4674;POINT (-39.439565 -3.142057)', '2026-07-31 04:16:45', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439569 -3.142173)'), GeomFromEWKT('SRID=4674;POINT (-39.439565 -3.142057)'))) / (select extract(epoch from '2026-07-31 04:16:45'::timestamp) - extract(epoch from '2026-07-31 04:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439569 -3.142173)'), GeomFromEWKT('SRID=4674;POINT (-39.439565 -3.142057)'))) / (select extract(epoch from '2026-07-31 04:16:45'::timestamp) - extract(epoch from '2026-07-31 04:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439551 -3.141932)', '2026-07-31 04:16:51', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439565 -3.142057)'), GeomFromEWKT('SRID=4674;POINT (-39.439551 -3.141932)'))) / (select extract(epoch from '2026-07-31 04:16:51'::timestamp) - extract(epoch from '2026-07-31 04:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439565 -3.142057)'), GeomFromEWKT('SRID=4674;POINT (-39.439551 -3.141932)'))) / (select extract(epoch from '2026-07-31 04:16:51'::timestamp) - extract(epoch from '2026-07-31 04:16: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'), 48006, 'SRID=4674;POINT (-39.439528 -3.141788)', '2026-07-31 04:16:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439551 -3.141932)'), GeomFromEWKT('SRID=4674;POINT (-39.439528 -3.141788)'))) / (select extract(epoch from '2026-07-31 04:16:58'::timestamp) - extract(epoch from '2026-07-31 04:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439551 -3.141932)'), GeomFromEWKT('SRID=4674;POINT (-39.439528 -3.141788)'))) / (select extract(epoch from '2026-07-31 04:16:58'::timestamp) - extract(epoch from '2026-07-31 04:16: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'), 48006, 'SRID=4674;POINT (-39.439512 -3.141692)', '2026-07-31 04:17:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439528 -3.141788)'), GeomFromEWKT('SRID=4674;POINT (-39.439512 -3.141692)'))) / (select extract(epoch from '2026-07-31 04:17:03'::timestamp) - extract(epoch from '2026-07-31 04:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439528 -3.141788)'), GeomFromEWKT('SRID=4674;POINT (-39.439512 -3.141692)'))) / (select extract(epoch from '2026-07-31 04:17:03'::timestamp) - extract(epoch from '2026-07-31 04:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439503 -3.141672)', '2026-07-31 04:17:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439512 -3.141692)'), GeomFromEWKT('SRID=4674;POINT (-39.439503 -3.141672)'))) / (select extract(epoch from '2026-07-31 04:17:04'::timestamp) - extract(epoch from '2026-07-31 04:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439512 -3.141692)'), GeomFromEWKT('SRID=4674;POINT (-39.439503 -3.141672)'))) / (select extract(epoch from '2026-07-31 04:17:04'::timestamp) - extract(epoch from '2026-07-31 04:17: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'), 48006, 'SRID=4674;POINT (-39.439487 -3.141579)', '2026-07-31 04:17:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439503 -3.141672)'), GeomFromEWKT('SRID=4674;POINT (-39.439487 -3.141579)'))) / (select extract(epoch from '2026-07-31 04:17:09'::timestamp) - extract(epoch from '2026-07-31 04:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439503 -3.141672)'), GeomFromEWKT('SRID=4674;POINT (-39.439487 -3.141579)'))) / (select extract(epoch from '2026-07-31 04:17:09'::timestamp) - extract(epoch from '2026-07-31 04:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439465 -3.141458)', '2026-07-31 04:17:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439487 -3.141579)'), GeomFromEWKT('SRID=4674;POINT (-39.439465 -3.141458)'))) / (select extract(epoch from '2026-07-31 04:17:15'::timestamp) - extract(epoch from '2026-07-31 04:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439487 -3.141579)'), GeomFromEWKT('SRID=4674;POINT (-39.439465 -3.141458)'))) / (select extract(epoch from '2026-07-31 04:17:15'::timestamp) - extract(epoch from '2026-07-31 04:17: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'), 48006, 'SRID=4674;POINT (-39.439444 -3.141343)', '2026-07-31 04:17:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439465 -3.141458)'), GeomFromEWKT('SRID=4674;POINT (-39.439444 -3.141343)'))) / (select extract(epoch from '2026-07-31 04:17:21'::timestamp) - extract(epoch from '2026-07-31 04:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439465 -3.141458)'), GeomFromEWKT('SRID=4674;POINT (-39.439444 -3.141343)'))) / (select extract(epoch from '2026-07-31 04:17:21'::timestamp) - extract(epoch from '2026-07-31 04:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439406 -3.141195)', '2026-07-31 04:17:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439444 -3.141343)'), GeomFromEWKT('SRID=4674;POINT (-39.439406 -3.141195)'))) / (select extract(epoch from '2026-07-31 04:17:28'::timestamp) - extract(epoch from '2026-07-31 04:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439444 -3.141343)'), GeomFromEWKT('SRID=4674;POINT (-39.439406 -3.141195)'))) / (select extract(epoch from '2026-07-31 04:17:28'::timestamp) - extract(epoch from '2026-07-31 04:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439342 -3.14109)', '2026-07-31 04:17:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439406 -3.141195)'), GeomFromEWKT('SRID=4674;POINT (-39.439342 -3.14109)'))) / (select extract(epoch from '2026-07-31 04:17:34'::timestamp) - extract(epoch from '2026-07-31 04:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439406 -3.141195)'), GeomFromEWKT('SRID=4674;POINT (-39.439342 -3.14109)'))) / (select extract(epoch from '2026-07-31 04:17:34'::timestamp) - extract(epoch from '2026-07-31 04:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.43932 -3.141004)', '2026-07-31 04:17:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439342 -3.14109)'), GeomFromEWKT('SRID=4674;POINT (-39.43932 -3.141004)'))) / (select extract(epoch from '2026-07-31 04:17:40'::timestamp) - extract(epoch from '2026-07-31 04:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439342 -3.14109)'), GeomFromEWKT('SRID=4674;POINT (-39.43932 -3.141004)'))) / (select extract(epoch from '2026-07-31 04:17:40'::timestamp) - extract(epoch from '2026-07-31 04:17: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'), 48006, 'SRID=4674;POINT (-39.439279 -3.140876)', '2026-07-31 04:17:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43932 -3.141004)'), GeomFromEWKT('SRID=4674;POINT (-39.439279 -3.140876)'))) / (select extract(epoch from '2026-07-31 04:17:47'::timestamp) - extract(epoch from '2026-07-31 04:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43932 -3.141004)'), GeomFromEWKT('SRID=4674;POINT (-39.439279 -3.140876)'))) / (select extract(epoch from '2026-07-31 04:17:47'::timestamp) - extract(epoch from '2026-07-31 04:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439238 -3.140762)', '2026-07-31 04:17:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439279 -3.140876)'), GeomFromEWKT('SRID=4674;POINT (-39.439238 -3.140762)'))) / (select extract(epoch from '2026-07-31 04:17:53'::timestamp) - extract(epoch from '2026-07-31 04:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439279 -3.140876)'), GeomFromEWKT('SRID=4674;POINT (-39.439238 -3.140762)'))) / (select extract(epoch from '2026-07-31 04:17:53'::timestamp) - extract(epoch from '2026-07-31 04:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439208 -3.140683)', '2026-07-31 04:17:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439238 -3.140762)'), GeomFromEWKT('SRID=4674;POINT (-39.439208 -3.140683)'))) / (select extract(epoch from '2026-07-31 04:17:57'::timestamp) - extract(epoch from '2026-07-31 04:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439238 -3.140762)'), GeomFromEWKT('SRID=4674;POINT (-39.439208 -3.140683)'))) / (select extract(epoch from '2026-07-31 04:17:57'::timestamp) - extract(epoch from '2026-07-31 04:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439172 -3.140585)', '2026-07-31 04:18:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439208 -3.140683)'), GeomFromEWKT('SRID=4674;POINT (-39.439172 -3.140585)'))) / (select extract(epoch from '2026-07-31 04:18:02'::timestamp) - extract(epoch from '2026-07-31 04:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439208 -3.140683)'), GeomFromEWKT('SRID=4674;POINT (-39.439172 -3.140585)'))) / (select extract(epoch from '2026-07-31 04:18:02'::timestamp) - extract(epoch from '2026-07-31 04:17: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'), 48006, 'SRID=4674;POINT (-39.439139 -3.140505)', '2026-07-31 04:18:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439172 -3.140585)'), GeomFromEWKT('SRID=4674;POINT (-39.439139 -3.140505)'))) / (select extract(epoch from '2026-07-31 04:18:06'::timestamp) - extract(epoch from '2026-07-31 04:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439172 -3.140585)'), GeomFromEWKT('SRID=4674;POINT (-39.439139 -3.140505)'))) / (select extract(epoch from '2026-07-31 04:18:06'::timestamp) - extract(epoch from '2026-07-31 04:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439131 -3.140486)', '2026-07-31 04:18:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439139 -3.140505)'), GeomFromEWKT('SRID=4674;POINT (-39.439131 -3.140486)'))) / (select extract(epoch from '2026-07-31 04:18:07'::timestamp) - extract(epoch from '2026-07-31 04:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439139 -3.140505)'), GeomFromEWKT('SRID=4674;POINT (-39.439131 -3.140486)'))) / (select extract(epoch from '2026-07-31 04:18:07'::timestamp) - extract(epoch from '2026-07-31 04:18: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'), 48006, 'SRID=4674;POINT (-39.439097 -3.140367)', '2026-07-31 04:18:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439131 -3.140486)'), GeomFromEWKT('SRID=4674;POINT (-39.439097 -3.140367)'))) / (select extract(epoch from '2026-07-31 04:18:13'::timestamp) - extract(epoch from '2026-07-31 04:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439131 -3.140486)'), GeomFromEWKT('SRID=4674;POINT (-39.439097 -3.140367)'))) / (select extract(epoch from '2026-07-31 04:18:13'::timestamp) - extract(epoch from '2026-07-31 04:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.439067 -3.140265)', '2026-07-31 04:18:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439097 -3.140367)'), GeomFromEWKT('SRID=4674;POINT (-39.439067 -3.140265)'))) / (select extract(epoch from '2026-07-31 04:18:18'::timestamp) - extract(epoch from '2026-07-31 04:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439097 -3.140367)'), GeomFromEWKT('SRID=4674;POINT (-39.439067 -3.140265)'))) / (select extract(epoch from '2026-07-31 04:18:18'::timestamp) - extract(epoch from '2026-07-31 04:18: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'), 48006, 'SRID=4674;POINT (-39.439061 -3.140247)', '2026-07-31 04:18:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439067 -3.140265)'), GeomFromEWKT('SRID=4674;POINT (-39.439061 -3.140247)'))) / (select extract(epoch from '2026-07-31 04:18:19'::timestamp) - extract(epoch from '2026-07-31 04:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439067 -3.140265)'), GeomFromEWKT('SRID=4674;POINT (-39.439061 -3.140247)'))) / (select extract(epoch from '2026-07-31 04:18:19'::timestamp) - extract(epoch from '2026-07-31 04:18: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'), 48006, 'SRID=4674;POINT (-39.439041 -3.140193)', '2026-07-31 04:18:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439061 -3.140247)'), GeomFromEWKT('SRID=4674;POINT (-39.439041 -3.140193)'))) / (select extract(epoch from '2026-07-31 04:18:22'::timestamp) - extract(epoch from '2026-07-31 04:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439061 -3.140247)'), GeomFromEWKT('SRID=4674;POINT (-39.439041 -3.140193)'))) / (select extract(epoch from '2026-07-31 04:18:22'::timestamp) - extract(epoch from '2026-07-31 04:18:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.438994 -3.140053)', '2026-07-31 04:18:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439041 -3.140193)'), GeomFromEWKT('SRID=4674;POINT (-39.438994 -3.140053)'))) / (select extract(epoch from '2026-07-31 04:18:29'::timestamp) - extract(epoch from '2026-07-31 04:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439041 -3.140193)'), GeomFromEWKT('SRID=4674;POINT (-39.438994 -3.140053)'))) / (select extract(epoch from '2026-07-31 04:18:29'::timestamp) - extract(epoch from '2026-07-31 04:18: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'), 48006, 'SRID=4674;POINT (-39.438961 -3.139929)', '2026-07-31 04:18:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438994 -3.140053)'), GeomFromEWKT('SRID=4674;POINT (-39.438961 -3.139929)'))) / (select extract(epoch from '2026-07-31 04:18:35'::timestamp) - extract(epoch from '2026-07-31 04:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438994 -3.140053)'), GeomFromEWKT('SRID=4674;POINT (-39.438961 -3.139929)'))) / (select extract(epoch from '2026-07-31 04:18:35'::timestamp) - extract(epoch from '2026-07-31 04:18: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'), 48006, 'SRID=4674;POINT (-39.438919 -3.139783)', '2026-07-31 04:18:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438961 -3.139929)'), GeomFromEWKT('SRID=4674;POINT (-39.438919 -3.139783)'))) / (select extract(epoch from '2026-07-31 04:18:42'::timestamp) - extract(epoch from '2026-07-31 04:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438961 -3.139929)'), GeomFromEWKT('SRID=4674;POINT (-39.438919 -3.139783)'))) / (select extract(epoch from '2026-07-31 04:18:42'::timestamp) - extract(epoch from '2026-07-31 04:18: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'), 48006, 'SRID=4674;POINT (-39.438875 -3.139654)', '2026-07-31 04:18:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438919 -3.139783)'), GeomFromEWKT('SRID=4674;POINT (-39.438875 -3.139654)'))) / (select extract(epoch from '2026-07-31 04:18:48'::timestamp) - extract(epoch from '2026-07-31 04:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438919 -3.139783)'), GeomFromEWKT('SRID=4674;POINT (-39.438875 -3.139654)'))) / (select extract(epoch from '2026-07-31 04:18:48'::timestamp) - extract(epoch from '2026-07-31 04:18: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'), 48006, 'SRID=4674;POINT (-39.438848 -3.139551)', '2026-07-31 04:18:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438875 -3.139654)'), GeomFromEWKT('SRID=4674;POINT (-39.438848 -3.139551)'))) / (select extract(epoch from '2026-07-31 04:18:53'::timestamp) - extract(epoch from '2026-07-31 04:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438875 -3.139654)'), GeomFromEWKT('SRID=4674;POINT (-39.438848 -3.139551)'))) / (select extract(epoch from '2026-07-31 04:18:53'::timestamp) - extract(epoch from '2026-07-31 04:18: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'), 48006, 'SRID=4674;POINT (-39.438809 -3.139408)', '2026-07-31 04:19:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438848 -3.139551)'), GeomFromEWKT('SRID=4674;POINT (-39.438809 -3.139408)'))) / (select extract(epoch from '2026-07-31 04:19:00'::timestamp) - extract(epoch from '2026-07-31 04:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438848 -3.139551)'), GeomFromEWKT('SRID=4674;POINT (-39.438809 -3.139408)'))) / (select extract(epoch from '2026-07-31 04:19:00'::timestamp) - extract(epoch from '2026-07-31 04:18: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'), 48006, 'SRID=4674;POINT (-39.438755 -3.139269)', '2026-07-31 04:19:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438809 -3.139408)'), GeomFromEWKT('SRID=4674;POINT (-39.438755 -3.139269)'))) / (select extract(epoch from '2026-07-31 04:19:07'::timestamp) - extract(epoch from '2026-07-31 04:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438809 -3.139408)'), GeomFromEWKT('SRID=4674;POINT (-39.438755 -3.139269)'))) / (select extract(epoch from '2026-07-31 04:19:07'::timestamp) - extract(epoch from '2026-07-31 04:19: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'), 48006, 'SRID=4674;POINT (-39.438696 -3.13914)', '2026-07-31 04:19:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438755 -3.139269)'), GeomFromEWKT('SRID=4674;POINT (-39.438696 -3.13914)'))) / (select extract(epoch from '2026-07-31 04:19:14'::timestamp) - extract(epoch from '2026-07-31 04:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438755 -3.139269)'), GeomFromEWKT('SRID=4674;POINT (-39.438696 -3.13914)'))) / (select extract(epoch from '2026-07-31 04:19:14'::timestamp) - extract(epoch from '2026-07-31 04:19:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.438668 -3.139032)', '2026-07-31 04:19:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438696 -3.13914)'), GeomFromEWKT('SRID=4674;POINT (-39.438668 -3.139032)'))) / (select extract(epoch from '2026-07-31 04:19:19'::timestamp) - extract(epoch from '2026-07-31 04:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438696 -3.13914)'), GeomFromEWKT('SRID=4674;POINT (-39.438668 -3.139032)'))) / (select extract(epoch from '2026-07-31 04:19:19'::timestamp) - extract(epoch from '2026-07-31 04:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.438634 -3.138916)', '2026-07-31 04:19:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438668 -3.139032)'), GeomFromEWKT('SRID=4674;POINT (-39.438634 -3.138916)'))) / (select extract(epoch from '2026-07-31 04:19:25'::timestamp) - extract(epoch from '2026-07-31 04:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438668 -3.139032)'), GeomFromEWKT('SRID=4674;POINT (-39.438634 -3.138916)'))) / (select extract(epoch from '2026-07-31 04:19:25'::timestamp) - extract(epoch from '2026-07-31 04:19: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'), 48006, 'SRID=4674;POINT (-39.438612 -3.138824)', '2026-07-31 04:19:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438634 -3.138916)'), GeomFromEWKT('SRID=4674;POINT (-39.438612 -3.138824)'))) / (select extract(epoch from '2026-07-31 04:19:30'::timestamp) - extract(epoch from '2026-07-31 04:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438634 -3.138916)'), GeomFromEWKT('SRID=4674;POINT (-39.438612 -3.138824)'))) / (select extract(epoch from '2026-07-31 04:19:30'::timestamp) - extract(epoch from '2026-07-31 04:19: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'), 48006, 'SRID=4674;POINT (-39.438566 -3.1387)', '2026-07-31 04:19:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438612 -3.138824)'), GeomFromEWKT('SRID=4674;POINT (-39.438566 -3.1387)'))) / (select extract(epoch from '2026-07-31 04:19:36'::timestamp) - extract(epoch from '2026-07-31 04:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438612 -3.138824)'), GeomFromEWKT('SRID=4674;POINT (-39.438566 -3.1387)'))) / (select extract(epoch from '2026-07-31 04:19:36'::timestamp) - extract(epoch from '2026-07-31 04:19: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'), 48006, 'SRID=4674;POINT (-39.438527 -3.138609)', '2026-07-31 04:19:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438566 -3.1387)'), GeomFromEWKT('SRID=4674;POINT (-39.438527 -3.138609)'))) / (select extract(epoch from '2026-07-31 04:19:41'::timestamp) - extract(epoch from '2026-07-31 04:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438566 -3.1387)'), GeomFromEWKT('SRID=4674;POINT (-39.438527 -3.138609)'))) / (select extract(epoch from '2026-07-31 04:19:41'::timestamp) - extract(epoch from '2026-07-31 04:19: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'), 48006, 'SRID=4674;POINT (-39.43849 -3.138516)', '2026-07-31 04:19:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438527 -3.138609)'), GeomFromEWKT('SRID=4674;POINT (-39.43849 -3.138516)'))) / (select extract(epoch from '2026-07-31 04:19:46'::timestamp) - extract(epoch from '2026-07-31 04:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438527 -3.138609)'), GeomFromEWKT('SRID=4674;POINT (-39.43849 -3.138516)'))) / (select extract(epoch from '2026-07-31 04:19:46'::timestamp) - extract(epoch from '2026-07-31 04:19: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'), 48006, 'SRID=4674;POINT (-39.438463 -3.138424)', '2026-07-31 04:19:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43849 -3.138516)'), GeomFromEWKT('SRID=4674;POINT (-39.438463 -3.138424)'))) / (select extract(epoch from '2026-07-31 04:19:51'::timestamp) - extract(epoch from '2026-07-31 04:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43849 -3.138516)'), GeomFromEWKT('SRID=4674;POINT (-39.438463 -3.138424)'))) / (select extract(epoch from '2026-07-31 04:19:51'::timestamp) - extract(epoch from '2026-07-31 04:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.438458 -3.13841)', '2026-07-31 04:19:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438463 -3.138424)'), GeomFromEWKT('SRID=4674;POINT (-39.438458 -3.13841)'))) / (select extract(epoch from '2026-07-31 04:19:52'::timestamp) - extract(epoch from '2026-07-31 04:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438463 -3.138424)'), GeomFromEWKT('SRID=4674;POINT (-39.438458 -3.13841)'))) / (select extract(epoch from '2026-07-31 04:19:52'::timestamp) - extract(epoch from '2026-07-31 04:19: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'), 48006, 'SRID=4674;POINT (-39.438442 -3.138356)', '2026-07-31 04:19:55', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438458 -3.13841)'), GeomFromEWKT('SRID=4674;POINT (-39.438442 -3.138356)'))) / (select extract(epoch from '2026-07-31 04:19:55'::timestamp) - extract(epoch from '2026-07-31 04:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438458 -3.13841)'), GeomFromEWKT('SRID=4674;POINT (-39.438442 -3.138356)'))) / (select extract(epoch from '2026-07-31 04:19:55'::timestamp) - extract(epoch from '2026-07-31 04:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.438393 -3.138226)', '2026-07-31 04:20:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438442 -3.138356)'), GeomFromEWKT('SRID=4674;POINT (-39.438393 -3.138226)'))) / (select extract(epoch from '2026-07-31 04:20:02'::timestamp) - extract(epoch from '2026-07-31 04:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438442 -3.138356)'), GeomFromEWKT('SRID=4674;POINT (-39.438393 -3.138226)'))) / (select extract(epoch from '2026-07-31 04:20:02'::timestamp) - extract(epoch from '2026-07-31 04:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.438346 -3.138112)', '2026-07-31 04:20:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438393 -3.138226)'), GeomFromEWKT('SRID=4674;POINT (-39.438346 -3.138112)'))) / (select extract(epoch from '2026-07-31 04:20:08'::timestamp) - extract(epoch from '2026-07-31 04:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438393 -3.138226)'), GeomFromEWKT('SRID=4674;POINT (-39.438346 -3.138112)'))) / (select extract(epoch from '2026-07-31 04:20:08'::timestamp) - extract(epoch from '2026-07-31 04:20:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.438305 -3.138)', '2026-07-31 04:20:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438346 -3.138112)'), GeomFromEWKT('SRID=4674;POINT (-39.438305 -3.138)'))) / (select extract(epoch from '2026-07-31 04:20:14'::timestamp) - extract(epoch from '2026-07-31 04:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438346 -3.138112)'), GeomFromEWKT('SRID=4674;POINT (-39.438305 -3.138)'))) / (select extract(epoch from '2026-07-31 04:20:14'::timestamp) - extract(epoch from '2026-07-31 04:20:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.438251 -3.137869)', '2026-07-31 04:20:21', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438305 -3.138)'), GeomFromEWKT('SRID=4674;POINT (-39.438251 -3.137869)'))) / (select extract(epoch from '2026-07-31 04:20:21'::timestamp) - extract(epoch from '2026-07-31 04:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438305 -3.138)'), GeomFromEWKT('SRID=4674;POINT (-39.438251 -3.137869)'))) / (select extract(epoch from '2026-07-31 04:20:21'::timestamp) - extract(epoch from '2026-07-31 04:20: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'), 48006, 'SRID=4674;POINT (-39.438212 -3.137783)', '2026-07-31 04:20:26', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438251 -3.137869)'), GeomFromEWKT('SRID=4674;POINT (-39.438212 -3.137783)'))) / (select extract(epoch from '2026-07-31 04:20:26'::timestamp) - extract(epoch from '2026-07-31 04:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438251 -3.137869)'), GeomFromEWKT('SRID=4674;POINT (-39.438212 -3.137783)'))) / (select extract(epoch from '2026-07-31 04:20:26'::timestamp) - extract(epoch from '2026-07-31 04:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.43816 -3.137671)', '2026-07-31 04:20:32', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438212 -3.137783)'), GeomFromEWKT('SRID=4674;POINT (-39.43816 -3.137671)'))) / (select extract(epoch from '2026-07-31 04:20:32'::timestamp) - extract(epoch from '2026-07-31 04:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438212 -3.137783)'), GeomFromEWKT('SRID=4674;POINT (-39.43816 -3.137671)'))) / (select extract(epoch from '2026-07-31 04:20:32'::timestamp) - extract(epoch from '2026-07-31 04:20: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'), 48006, 'SRID=4674;POINT (-39.438102 -3.137537)', '2026-07-31 04:20:39', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43816 -3.137671)'), GeomFromEWKT('SRID=4674;POINT (-39.438102 -3.137537)'))) / (select extract(epoch from '2026-07-31 04:20:39'::timestamp) - extract(epoch from '2026-07-31 04:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43816 -3.137671)'), GeomFromEWKT('SRID=4674;POINT (-39.438102 -3.137537)'))) / (select extract(epoch from '2026-07-31 04:20:39'::timestamp) - extract(epoch from '2026-07-31 04:20: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'), 48006, 'SRID=4674;POINT (-39.438064 -3.137436)', '2026-07-31 04:20:44', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438102 -3.137537)'), GeomFromEWKT('SRID=4674;POINT (-39.438064 -3.137436)'))) / (select extract(epoch from '2026-07-31 04:20:44'::timestamp) - extract(epoch from '2026-07-31 04:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438102 -3.137537)'), GeomFromEWKT('SRID=4674;POINT (-39.438064 -3.137436)'))) / (select extract(epoch from '2026-07-31 04:20:44'::timestamp) - extract(epoch from '2026-07-31 04:20:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.438058 -3.137419)', '2026-07-31 04:20:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438064 -3.137436)'), GeomFromEWKT('SRID=4674;POINT (-39.438058 -3.137419)'))) / (select extract(epoch from '2026-07-31 04:20:45'::timestamp) - extract(epoch from '2026-07-31 04:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438064 -3.137436)'), GeomFromEWKT('SRID=4674;POINT (-39.438058 -3.137419)'))) / (select extract(epoch from '2026-07-31 04:20:45'::timestamp) - extract(epoch from '2026-07-31 04:20: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'), 48006, 'SRID=4674;POINT (-39.438012 -3.137311)', '2026-07-31 04:20:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438058 -3.137419)'), GeomFromEWKT('SRID=4674;POINT (-39.438012 -3.137311)'))) / (select extract(epoch from '2026-07-31 04:20:51'::timestamp) - extract(epoch from '2026-07-31 04:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438058 -3.137419)'), GeomFromEWKT('SRID=4674;POINT (-39.438012 -3.137311)'))) / (select extract(epoch from '2026-07-31 04:20:51'::timestamp) - extract(epoch from '2026-07-31 04:20: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'), 48006, 'SRID=4674;POINT (-39.437979 -3.137225)', '2026-07-31 04:20:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438012 -3.137311)'), GeomFromEWKT('SRID=4674;POINT (-39.437979 -3.137225)'))) / (select extract(epoch from '2026-07-31 04:20:56'::timestamp) - extract(epoch from '2026-07-31 04:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438012 -3.137311)'), GeomFromEWKT('SRID=4674;POINT (-39.437979 -3.137225)'))) / (select extract(epoch from '2026-07-31 04:20:56'::timestamp) - extract(epoch from '2026-07-31 04:20: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'), 48006, 'SRID=4674;POINT (-39.437941 -3.137088)', '2026-07-31 04:21:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437979 -3.137225)'), GeomFromEWKT('SRID=4674;POINT (-39.437941 -3.137088)'))) / (select extract(epoch from '2026-07-31 04:21:03'::timestamp) - extract(epoch from '2026-07-31 04:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437979 -3.137225)'), GeomFromEWKT('SRID=4674;POINT (-39.437941 -3.137088)'))) / (select extract(epoch from '2026-07-31 04:21:03'::timestamp) - extract(epoch from '2026-07-31 04:20: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'), 48006, 'SRID=4674;POINT (-39.437926 -3.137026)', '2026-07-31 04:21:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437941 -3.137088)'), GeomFromEWKT('SRID=4674;POINT (-39.437926 -3.137026)'))) / (select extract(epoch from '2026-07-31 04:21:06'::timestamp) - extract(epoch from '2026-07-31 04:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437941 -3.137088)'), GeomFromEWKT('SRID=4674;POINT (-39.437926 -3.137026)'))) / (select extract(epoch from '2026-07-31 04:21:06'::timestamp) - extract(epoch from '2026-07-31 04:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.437909 -3.136978)', '2026-07-31 04:21:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437926 -3.137026)'), GeomFromEWKT('SRID=4674;POINT (-39.437909 -3.136978)'))) / (select extract(epoch from '2026-07-31 04:21:09'::timestamp) - extract(epoch from '2026-07-31 04:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437926 -3.137026)'), GeomFromEWKT('SRID=4674;POINT (-39.437909 -3.136978)'))) / (select extract(epoch from '2026-07-31 04:21:09'::timestamp) - extract(epoch from '2026-07-31 04:21: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'), 48006, 'SRID=4674;POINT (-39.437867 -3.136864)', '2026-07-31 04:21:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437909 -3.136978)'), GeomFromEWKT('SRID=4674;POINT (-39.437867 -3.136864)'))) / (select extract(epoch from '2026-07-31 04:21:16'::timestamp) - extract(epoch from '2026-07-31 04:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437909 -3.136978)'), GeomFromEWKT('SRID=4674;POINT (-39.437867 -3.136864)'))) / (select extract(epoch from '2026-07-31 04:21:16'::timestamp) - extract(epoch from '2026-07-31 04:21: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'), 48006, 'SRID=4674;POINT (-39.43782 -3.136724)', '2026-07-31 04:21:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437867 -3.136864)'), GeomFromEWKT('SRID=4674;POINT (-39.43782 -3.136724)'))) / (select extract(epoch from '2026-07-31 04:21:24'::timestamp) - extract(epoch from '2026-07-31 04:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437867 -3.136864)'), GeomFromEWKT('SRID=4674;POINT (-39.43782 -3.136724)'))) / (select extract(epoch from '2026-07-31 04:21:24'::timestamp) - extract(epoch from '2026-07-31 04:21: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'), 48006, 'SRID=4674;POINT (-39.437783 -3.136606)', '2026-07-31 04:21:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43782 -3.136724)'), GeomFromEWKT('SRID=4674;POINT (-39.437783 -3.136606)'))) / (select extract(epoch from '2026-07-31 04:21:31'::timestamp) - extract(epoch from '2026-07-31 04:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43782 -3.136724)'), GeomFromEWKT('SRID=4674;POINT (-39.437783 -3.136606)'))) / (select extract(epoch from '2026-07-31 04:21:31'::timestamp) - extract(epoch from '2026-07-31 04:21: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'), 48006, 'SRID=4674;POINT (-39.437741 -3.136498)', '2026-07-31 04:21:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437783 -3.136606)'), GeomFromEWKT('SRID=4674;POINT (-39.437741 -3.136498)'))) / (select extract(epoch from '2026-07-31 04:21:38'::timestamp) - extract(epoch from '2026-07-31 04:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437783 -3.136606)'), GeomFromEWKT('SRID=4674;POINT (-39.437741 -3.136498)'))) / (select extract(epoch from '2026-07-31 04:21:38'::timestamp) - extract(epoch from '2026-07-31 04:21: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'), 48006, 'SRID=4674;POINT (-39.437698 -3.136375)', '2026-07-31 04:21:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437741 -3.136498)'), GeomFromEWKT('SRID=4674;POINT (-39.437698 -3.136375)'))) / (select extract(epoch from '2026-07-31 04:21:45'::timestamp) - extract(epoch from '2026-07-31 04:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437741 -3.136498)'), GeomFromEWKT('SRID=4674;POINT (-39.437698 -3.136375)'))) / (select extract(epoch from '2026-07-31 04:21:45'::timestamp) - extract(epoch from '2026-07-31 04:21: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'), 48006, 'SRID=4674;POINT (-39.437662 -3.136284)', '2026-07-31 04:21:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437698 -3.136375)'), GeomFromEWKT('SRID=4674;POINT (-39.437662 -3.136284)'))) / (select extract(epoch from '2026-07-31 04:21:50'::timestamp) - extract(epoch from '2026-07-31 04:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437698 -3.136375)'), GeomFromEWKT('SRID=4674;POINT (-39.437662 -3.136284)'))) / (select extract(epoch from '2026-07-31 04:21:50'::timestamp) - extract(epoch from '2026-07-31 04:21: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'), 48006, 'SRID=4674;POINT (-39.437638 -3.13623)', '2026-07-31 04:21:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437662 -3.136284)'), GeomFromEWKT('SRID=4674;POINT (-39.437638 -3.13623)'))) / (select extract(epoch from '2026-07-31 04:21:53'::timestamp) - extract(epoch from '2026-07-31 04:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437662 -3.136284)'), GeomFromEWKT('SRID=4674;POINT (-39.437638 -3.13623)'))) / (select extract(epoch from '2026-07-31 04:21:53'::timestamp) - extract(epoch from '2026-07-31 04:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.437636 -3.136212)', '2026-07-31 04:21:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437638 -3.13623)'), GeomFromEWKT('SRID=4674;POINT (-39.437636 -3.136212)'))) / (select extract(epoch from '2026-07-31 04:21:54'::timestamp) - extract(epoch from '2026-07-31 04:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437638 -3.13623)'), GeomFromEWKT('SRID=4674;POINT (-39.437636 -3.136212)'))) / (select extract(epoch from '2026-07-31 04:21:54'::timestamp) - extract(epoch from '2026-07-31 04:21: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'), 48006, 'SRID=4674;POINT (-39.437631 -3.136195)', '2026-07-31 04:21:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437636 -3.136212)'), GeomFromEWKT('SRID=4674;POINT (-39.437631 -3.136195)'))) / (select extract(epoch from '2026-07-31 04:21:55'::timestamp) - extract(epoch from '2026-07-31 04:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437636 -3.136212)'), GeomFromEWKT('SRID=4674;POINT (-39.437631 -3.136195)'))) / (select extract(epoch from '2026-07-31 04:21:55'::timestamp) - extract(epoch from '2026-07-31 04:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.437605 -3.136128)', '2026-07-31 04:21:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437631 -3.136195)'), GeomFromEWKT('SRID=4674;POINT (-39.437605 -3.136128)'))) / (select extract(epoch from '2026-07-31 04:21:59'::timestamp) - extract(epoch from '2026-07-31 04:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437631 -3.136195)'), GeomFromEWKT('SRID=4674;POINT (-39.437605 -3.136128)'))) / (select extract(epoch from '2026-07-31 04:21:59'::timestamp) - extract(epoch from '2026-07-31 04:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.437562 -3.136017)', '2026-07-31 04:22:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437605 -3.136128)'), GeomFromEWKT('SRID=4674;POINT (-39.437562 -3.136017)'))) / (select extract(epoch from '2026-07-31 04:22:05'::timestamp) - extract(epoch from '2026-07-31 04:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437605 -3.136128)'), GeomFromEWKT('SRID=4674;POINT (-39.437562 -3.136017)'))) / (select extract(epoch from '2026-07-31 04:22:05'::timestamp) - extract(epoch from '2026-07-31 04:21: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'), 48006, 'SRID=4674;POINT (-39.437512 -3.1359)', '2026-07-31 04:22:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437562 -3.136017)'), GeomFromEWKT('SRID=4674;POINT (-39.437512 -3.1359)'))) / (select extract(epoch from '2026-07-31 04:22:12'::timestamp) - extract(epoch from '2026-07-31 04:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437562 -3.136017)'), GeomFromEWKT('SRID=4674;POINT (-39.437512 -3.1359)'))) / (select extract(epoch from '2026-07-31 04:22:12'::timestamp) - extract(epoch from '2026-07-31 04:22: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'), 48006, 'SRID=4674;POINT (-39.437465 -3.135785)', '2026-07-31 04:22:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437512 -3.1359)'), GeomFromEWKT('SRID=4674;POINT (-39.437465 -3.135785)'))) / (select extract(epoch from '2026-07-31 04:22:19'::timestamp) - extract(epoch from '2026-07-31 04:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437512 -3.1359)'), GeomFromEWKT('SRID=4674;POINT (-39.437465 -3.135785)'))) / (select extract(epoch from '2026-07-31 04:22:19'::timestamp) - extract(epoch from '2026-07-31 04:22: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'), 48006, 'SRID=4674;POINT (-39.437435 -3.13572)', '2026-07-31 04:22:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437465 -3.135785)'), GeomFromEWKT('SRID=4674;POINT (-39.437435 -3.13572)'))) / (select extract(epoch from '2026-07-31 04:22:23'::timestamp) - extract(epoch from '2026-07-31 04:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437465 -3.135785)'), GeomFromEWKT('SRID=4674;POINT (-39.437435 -3.13572)'))) / (select extract(epoch from '2026-07-31 04:22:23'::timestamp) - extract(epoch from '2026-07-31 04:22: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'), 48006, 'SRID=4674;POINT (-39.437413 -3.13565)', '2026-07-31 04:22:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437435 -3.13572)'), GeomFromEWKT('SRID=4674;POINT (-39.437413 -3.13565)'))) / (select extract(epoch from '2026-07-31 04:22:27'::timestamp) - extract(epoch from '2026-07-31 04:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437435 -3.13572)'), GeomFromEWKT('SRID=4674;POINT (-39.437413 -3.13565)'))) / (select extract(epoch from '2026-07-31 04:22:27'::timestamp) - extract(epoch from '2026-07-31 04:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.437402 -3.135632)', '2026-07-31 04:22:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437413 -3.13565)'), GeomFromEWKT('SRID=4674;POINT (-39.437402 -3.135632)'))) / (select extract(epoch from '2026-07-31 04:22:28'::timestamp) - extract(epoch from '2026-07-31 04:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437413 -3.13565)'), GeomFromEWKT('SRID=4674;POINT (-39.437402 -3.135632)'))) / (select extract(epoch from '2026-07-31 04:22:28'::timestamp) - extract(epoch from '2026-07-31 04:22: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'), 48006, 'SRID=4674;POINT (-39.437361 -3.135519)', '2026-07-31 04:22:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437402 -3.135632)'), GeomFromEWKT('SRID=4674;POINT (-39.437361 -3.135519)'))) / (select extract(epoch from '2026-07-31 04:22:34'::timestamp) - extract(epoch from '2026-07-31 04:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437402 -3.135632)'), GeomFromEWKT('SRID=4674;POINT (-39.437361 -3.135519)'))) / (select extract(epoch from '2026-07-31 04:22:34'::timestamp) - extract(epoch from '2026-07-31 04:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.437355 -3.135486)', '2026-07-31 04:22:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437361 -3.135519)'), GeomFromEWKT('SRID=4674;POINT (-39.437355 -3.135486)'))) / (select extract(epoch from '2026-07-31 04:22:36'::timestamp) - extract(epoch from '2026-07-31 04:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437361 -3.135519)'), GeomFromEWKT('SRID=4674;POINT (-39.437355 -3.135486)'))) / (select extract(epoch from '2026-07-31 04:22:36'::timestamp) - extract(epoch from '2026-07-31 04:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.437347 -3.135452)', '2026-07-31 04:22:38', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437355 -3.135486)'), GeomFromEWKT('SRID=4674;POINT (-39.437347 -3.135452)'))) / (select extract(epoch from '2026-07-31 04:22:38'::timestamp) - extract(epoch from '2026-07-31 04:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437355 -3.135486)'), GeomFromEWKT('SRID=4674;POINT (-39.437347 -3.135452)'))) / (select extract(epoch from '2026-07-31 04:22:38'::timestamp) - extract(epoch from '2026-07-31 04:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.437326 -3.135367)', '2026-07-31 04:22:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437347 -3.135452)'), GeomFromEWKT('SRID=4674;POINT (-39.437326 -3.135367)'))) / (select extract(epoch from '2026-07-31 04:22:43'::timestamp) - extract(epoch from '2026-07-31 04:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437347 -3.135452)'), GeomFromEWKT('SRID=4674;POINT (-39.437326 -3.135367)'))) / (select extract(epoch from '2026-07-31 04:22:43'::timestamp) - extract(epoch from '2026-07-31 04:22: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'), 48006, 'SRID=4674;POINT (-39.437301 -3.13526)', '2026-07-31 04:22:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437326 -3.135367)'), GeomFromEWKT('SRID=4674;POINT (-39.437301 -3.13526)'))) / (select extract(epoch from '2026-07-31 04:22:49'::timestamp) - extract(epoch from '2026-07-31 04:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437326 -3.135367)'), GeomFromEWKT('SRID=4674;POINT (-39.437301 -3.13526)'))) / (select extract(epoch from '2026-07-31 04:22:49'::timestamp) - extract(epoch from '2026-07-31 04:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.437254 -3.135124)', '2026-07-31 04:22:57', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437301 -3.13526)'), GeomFromEWKT('SRID=4674;POINT (-39.437254 -3.135124)'))) / (select extract(epoch from '2026-07-31 04:22:57'::timestamp) - extract(epoch from '2026-07-31 04:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437301 -3.13526)'), GeomFromEWKT('SRID=4674;POINT (-39.437254 -3.135124)'))) / (select extract(epoch from '2026-07-31 04:22:57'::timestamp) - extract(epoch from '2026-07-31 04:22: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'), 48006, 'SRID=4674;POINT (-39.437192 -3.134993)', '2026-07-31 04:23:05', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437254 -3.135124)'), GeomFromEWKT('SRID=4674;POINT (-39.437192 -3.134993)'))) / (select extract(epoch from '2026-07-31 04:23:05'::timestamp) - extract(epoch from '2026-07-31 04:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437254 -3.135124)'), GeomFromEWKT('SRID=4674;POINT (-39.437192 -3.134993)'))) / (select extract(epoch from '2026-07-31 04:23:05'::timestamp) - extract(epoch from '2026-07-31 04:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.437155 -3.134917)', '2026-07-31 04:23:11', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437192 -3.134993)'), GeomFromEWKT('SRID=4674;POINT (-39.437155 -3.134917)'))) / (select extract(epoch from '2026-07-31 04:23:11'::timestamp) - extract(epoch from '2026-07-31 04:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437192 -3.134993)'), GeomFromEWKT('SRID=4674;POINT (-39.437155 -3.134917)'))) / (select extract(epoch from '2026-07-31 04:23:11'::timestamp) - extract(epoch from '2026-07-31 04:23: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'), 48006, 'SRID=4674;POINT (-39.437117 -3.134817)', '2026-07-31 04:23:18', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437155 -3.134917)'), GeomFromEWKT('SRID=4674;POINT (-39.437117 -3.134817)'))) / (select extract(epoch from '2026-07-31 04:23:18'::timestamp) - extract(epoch from '2026-07-31 04:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437155 -3.134917)'), GeomFromEWKT('SRID=4674;POINT (-39.437117 -3.134817)'))) / (select extract(epoch from '2026-07-31 04:23:18'::timestamp) - extract(epoch from '2026-07-31 04:23: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'), 48006, 'SRID=4674;POINT (-39.43708 -3.134695)', '2026-07-31 04:23:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437117 -3.134817)'), GeomFromEWKT('SRID=4674;POINT (-39.43708 -3.134695)'))) / (select extract(epoch from '2026-07-31 04:23:25'::timestamp) - extract(epoch from '2026-07-31 04:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437117 -3.134817)'), GeomFromEWKT('SRID=4674;POINT (-39.43708 -3.134695)'))) / (select extract(epoch from '2026-07-31 04:23:25'::timestamp) - extract(epoch from '2026-07-31 04:23: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'), 48006, 'SRID=4674;POINT (-39.437034 -3.134567)', '2026-07-31 04:23:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43708 -3.134695)'), GeomFromEWKT('SRID=4674;POINT (-39.437034 -3.134567)'))) / (select extract(epoch from '2026-07-31 04:23:32'::timestamp) - extract(epoch from '2026-07-31 04:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43708 -3.134695)'), GeomFromEWKT('SRID=4674;POINT (-39.437034 -3.134567)'))) / (select extract(epoch from '2026-07-31 04:23:32'::timestamp) - extract(epoch from '2026-07-31 04:23: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'), 48006, 'SRID=4674;POINT (-39.436978 -3.134443)', '2026-07-31 04:23:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437034 -3.134567)'), GeomFromEWKT('SRID=4674;POINT (-39.436978 -3.134443)'))) / (select extract(epoch from '2026-07-31 04:23:39'::timestamp) - extract(epoch from '2026-07-31 04:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437034 -3.134567)'), GeomFromEWKT('SRID=4674;POINT (-39.436978 -3.134443)'))) / (select extract(epoch from '2026-07-31 04:23:39'::timestamp) - extract(epoch from '2026-07-31 04:23: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'), 48006, 'SRID=4674;POINT (-39.436942 -3.13431)', '2026-07-31 04:23:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436978 -3.134443)'), GeomFromEWKT('SRID=4674;POINT (-39.436942 -3.13431)'))) / (select extract(epoch from '2026-07-31 04:23:46'::timestamp) - extract(epoch from '2026-07-31 04:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436978 -3.134443)'), GeomFromEWKT('SRID=4674;POINT (-39.436942 -3.13431)'))) / (select extract(epoch from '2026-07-31 04:23:46'::timestamp) - extract(epoch from '2026-07-31 04:23: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'), 48006, 'SRID=4674;POINT (-39.436904 -3.134214)', '2026-07-31 04:23:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436942 -3.13431)'), GeomFromEWKT('SRID=4674;POINT (-39.436904 -3.134214)'))) / (select extract(epoch from '2026-07-31 04:23:51'::timestamp) - extract(epoch from '2026-07-31 04:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436942 -3.13431)'), GeomFromEWKT('SRID=4674;POINT (-39.436904 -3.134214)'))) / (select extract(epoch from '2026-07-31 04:23:51'::timestamp) - extract(epoch from '2026-07-31 04:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.436863 -3.134104)', '2026-07-31 04:23:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436904 -3.134214)'), GeomFromEWKT('SRID=4674;POINT (-39.436863 -3.134104)'))) / (select extract(epoch from '2026-07-31 04:23:57'::timestamp) - extract(epoch from '2026-07-31 04:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436904 -3.134214)'), GeomFromEWKT('SRID=4674;POINT (-39.436863 -3.134104)'))) / (select extract(epoch from '2026-07-31 04:23:57'::timestamp) - extract(epoch from '2026-07-31 04:23: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'), 48006, 'SRID=4674;POINT (-39.436815 -3.134025)', '2026-07-31 04:24:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436863 -3.134104)'), GeomFromEWKT('SRID=4674;POINT (-39.436815 -3.134025)'))) / (select extract(epoch from '2026-07-31 04:24:02'::timestamp) - extract(epoch from '2026-07-31 04:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436863 -3.134104)'), GeomFromEWKT('SRID=4674;POINT (-39.436815 -3.134025)'))) / (select extract(epoch from '2026-07-31 04:24:02'::timestamp) - extract(epoch from '2026-07-31 04:23: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'), 48006, 'SRID=4674;POINT (-39.43677 -3.133935)', '2026-07-31 04:24:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436815 -3.134025)'), GeomFromEWKT('SRID=4674;POINT (-39.43677 -3.133935)'))) / (select extract(epoch from '2026-07-31 04:24:08'::timestamp) - extract(epoch from '2026-07-31 04:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436815 -3.134025)'), GeomFromEWKT('SRID=4674;POINT (-39.43677 -3.133935)'))) / (select extract(epoch from '2026-07-31 04:24:08'::timestamp) - extract(epoch from '2026-07-31 04:24: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'), 48006, 'SRID=4674;POINT (-39.436718 -3.1338)', '2026-07-31 04:24:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43677 -3.133935)'), GeomFromEWKT('SRID=4674;POINT (-39.436718 -3.1338)'))) / (select extract(epoch from '2026-07-31 04:24:16'::timestamp) - extract(epoch from '2026-07-31 04:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43677 -3.133935)'), GeomFromEWKT('SRID=4674;POINT (-39.436718 -3.1338)'))) / (select extract(epoch from '2026-07-31 04:24:16'::timestamp) - extract(epoch from '2026-07-31 04:24:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.436686 -3.133711)', '2026-07-31 04:24:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436718 -3.1338)'), GeomFromEWKT('SRID=4674;POINT (-39.436686 -3.133711)'))) / (select extract(epoch from '2026-07-31 04:24:21'::timestamp) - extract(epoch from '2026-07-31 04:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436718 -3.1338)'), GeomFromEWKT('SRID=4674;POINT (-39.436686 -3.133711)'))) / (select extract(epoch from '2026-07-31 04:24:21'::timestamp) - extract(epoch from '2026-07-31 04:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.436655 -3.133614)', '2026-07-31 04:24:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436686 -3.133711)'), GeomFromEWKT('SRID=4674;POINT (-39.436655 -3.133614)'))) / (select extract(epoch from '2026-07-31 04:24:26'::timestamp) - extract(epoch from '2026-07-31 04:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436686 -3.133711)'), GeomFromEWKT('SRID=4674;POINT (-39.436655 -3.133614)'))) / (select extract(epoch from '2026-07-31 04:24:26'::timestamp) - extract(epoch from '2026-07-31 04:24: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'), 48006, 'SRID=4674;POINT (-39.436622 -3.133532)', '2026-07-31 04:24:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436655 -3.133614)'), GeomFromEWKT('SRID=4674;POINT (-39.436622 -3.133532)'))) / (select extract(epoch from '2026-07-31 04:24:31'::timestamp) - extract(epoch from '2026-07-31 04:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436655 -3.133614)'), GeomFromEWKT('SRID=4674;POINT (-39.436622 -3.133532)'))) / (select extract(epoch from '2026-07-31 04:24:31'::timestamp) - extract(epoch from '2026-07-31 04:24: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'), 48006, 'SRID=4674;POINT (-39.436578 -3.133428)', '2026-07-31 04:24:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436622 -3.133532)'), GeomFromEWKT('SRID=4674;POINT (-39.436578 -3.133428)'))) / (select extract(epoch from '2026-07-31 04:24:37'::timestamp) - extract(epoch from '2026-07-31 04:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436622 -3.133532)'), GeomFromEWKT('SRID=4674;POINT (-39.436578 -3.133428)'))) / (select extract(epoch from '2026-07-31 04:24:37'::timestamp) - extract(epoch from '2026-07-31 04:24: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'), 48006, 'SRID=4674;POINT (-39.436556 -3.133377)', '2026-07-31 04:24:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436578 -3.133428)'), GeomFromEWKT('SRID=4674;POINT (-39.436556 -3.133377)'))) / (select extract(epoch from '2026-07-31 04:24:40'::timestamp) - extract(epoch from '2026-07-31 04:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436578 -3.133428)'), GeomFromEWKT('SRID=4674;POINT (-39.436556 -3.133377)'))) / (select extract(epoch from '2026-07-31 04:24:40'::timestamp) - extract(epoch from '2026-07-31 04:24:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.436543 -3.133347)', '2026-07-31 04:24:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436556 -3.133377)'), GeomFromEWKT('SRID=4674;POINT (-39.436543 -3.133347)'))) / (select extract(epoch from '2026-07-31 04:24:42'::timestamp) - extract(epoch from '2026-07-31 04:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436556 -3.133377)'), GeomFromEWKT('SRID=4674;POINT (-39.436543 -3.133347)'))) / (select extract(epoch from '2026-07-31 04:24:42'::timestamp) - extract(epoch from '2026-07-31 04:24: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'), 48006, 'SRID=4674;POINT (-39.436528 -3.133299)', '2026-07-31 04:24:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436543 -3.133347)'), GeomFromEWKT('SRID=4674;POINT (-39.436528 -3.133299)'))) / (select extract(epoch from '2026-07-31 04:24:45'::timestamp) - extract(epoch from '2026-07-31 04:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436543 -3.133347)'), GeomFromEWKT('SRID=4674;POINT (-39.436528 -3.133299)'))) / (select extract(epoch from '2026-07-31 04:24:45'::timestamp) - extract(epoch from '2026-07-31 04:24: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'), 48006, 'SRID=4674;POINT (-39.436513 -3.133266)', '2026-07-31 04:24:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436528 -3.133299)'), GeomFromEWKT('SRID=4674;POINT (-39.436513 -3.133266)'))) / (select extract(epoch from '2026-07-31 04:24:47'::timestamp) - extract(epoch from '2026-07-31 04:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436528 -3.133299)'), GeomFromEWKT('SRID=4674;POINT (-39.436513 -3.133266)'))) / (select extract(epoch from '2026-07-31 04:24:47'::timestamp) - extract(epoch from '2026-07-31 04:24: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'), 48006, 'SRID=4674;POINT (-39.436464 -3.133159)', '2026-07-31 04:24:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436513 -3.133266)'), GeomFromEWKT('SRID=4674;POINT (-39.436464 -3.133159)'))) / (select extract(epoch from '2026-07-31 04:24:53'::timestamp) - extract(epoch from '2026-07-31 04:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436513 -3.133266)'), GeomFromEWKT('SRID=4674;POINT (-39.436464 -3.133159)'))) / (select extract(epoch from '2026-07-31 04:24:53'::timestamp) - extract(epoch from '2026-07-31 04:24: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'), 48006, 'SRID=4674;POINT (-39.43643 -3.133066)', '2026-07-31 04:24:58', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436464 -3.133159)'), GeomFromEWKT('SRID=4674;POINT (-39.43643 -3.133066)'))) / (select extract(epoch from '2026-07-31 04:24:58'::timestamp) - extract(epoch from '2026-07-31 04:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436464 -3.133159)'), GeomFromEWKT('SRID=4674;POINT (-39.43643 -3.133066)'))) / (select extract(epoch from '2026-07-31 04:24:58'::timestamp) - extract(epoch from '2026-07-31 04:24: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'), 48006, 'SRID=4674;POINT (-39.436377 -3.132936)', '2026-07-31 04:25:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43643 -3.133066)'), GeomFromEWKT('SRID=4674;POINT (-39.436377 -3.132936)'))) / (select extract(epoch from '2026-07-31 04:25:05'::timestamp) - extract(epoch from '2026-07-31 04:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43643 -3.133066)'), GeomFromEWKT('SRID=4674;POINT (-39.436377 -3.132936)'))) / (select extract(epoch from '2026-07-31 04:25:05'::timestamp) - extract(epoch from '2026-07-31 04:24: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'), 48006, 'SRID=4674;POINT (-39.436335 -3.132841)', '2026-07-31 04:25:10', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436377 -3.132936)'), GeomFromEWKT('SRID=4674;POINT (-39.436335 -3.132841)'))) / (select extract(epoch from '2026-07-31 04:25:10'::timestamp) - extract(epoch from '2026-07-31 04:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436377 -3.132936)'), GeomFromEWKT('SRID=4674;POINT (-39.436335 -3.132841)'))) / (select extract(epoch from '2026-07-31 04:25:10'::timestamp) - extract(epoch from '2026-07-31 04:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.436295 -3.132752)', '2026-07-31 04:25:15', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436335 -3.132841)'), GeomFromEWKT('SRID=4674;POINT (-39.436295 -3.132752)'))) / (select extract(epoch from '2026-07-31 04:25:15'::timestamp) - extract(epoch from '2026-07-31 04:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436335 -3.132841)'), GeomFromEWKT('SRID=4674;POINT (-39.436295 -3.132752)'))) / (select extract(epoch from '2026-07-31 04:25:15'::timestamp) - extract(epoch from '2026-07-31 04:25:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.436263 -3.132678)', '2026-07-31 04:25:19', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436295 -3.132752)'), GeomFromEWKT('SRID=4674;POINT (-39.436263 -3.132678)'))) / (select extract(epoch from '2026-07-31 04:25:19'::timestamp) - extract(epoch from '2026-07-31 04:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436295 -3.132752)'), GeomFromEWKT('SRID=4674;POINT (-39.436263 -3.132678)'))) / (select extract(epoch from '2026-07-31 04:25:19'::timestamp) - extract(epoch from '2026-07-31 04:25: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'), 48006, 'SRID=4674;POINT (-39.43625 -3.132637)', '2026-07-31 04:25:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436263 -3.132678)'), GeomFromEWKT('SRID=4674;POINT (-39.43625 -3.132637)'))) / (select extract(epoch from '2026-07-31 04:25:21'::timestamp) - extract(epoch from '2026-07-31 04:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436263 -3.132678)'), GeomFromEWKT('SRID=4674;POINT (-39.43625 -3.132637)'))) / (select extract(epoch from '2026-07-31 04:25:21'::timestamp) - extract(epoch from '2026-07-31 04:25: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'), 48006, 'SRID=4674;POINT (-39.436209 -3.132534)', '2026-07-31 04:25:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43625 -3.132637)'), GeomFromEWKT('SRID=4674;POINT (-39.436209 -3.132534)'))) / (select extract(epoch from '2026-07-31 04:25:26'::timestamp) - extract(epoch from '2026-07-31 04:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43625 -3.132637)'), GeomFromEWKT('SRID=4674;POINT (-39.436209 -3.132534)'))) / (select extract(epoch from '2026-07-31 04:25:26'::timestamp) - extract(epoch from '2026-07-31 04:25: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'), 48006, 'SRID=4674;POINT (-39.436178 -3.132453)', '2026-07-31 04:25:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436209 -3.132534)'), GeomFromEWKT('SRID=4674;POINT (-39.436178 -3.132453)'))) / (select extract(epoch from '2026-07-31 04:25:30'::timestamp) - extract(epoch from '2026-07-31 04:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436209 -3.132534)'), GeomFromEWKT('SRID=4674;POINT (-39.436178 -3.132453)'))) / (select extract(epoch from '2026-07-31 04:25:30'::timestamp) - extract(epoch from '2026-07-31 04:25: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'), 48006, 'SRID=4674;POINT (-39.436128 -3.132329)', '2026-07-31 04:25:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436178 -3.132453)'), GeomFromEWKT('SRID=4674;POINT (-39.436128 -3.132329)'))) / (select extract(epoch from '2026-07-31 04:25:36'::timestamp) - extract(epoch from '2026-07-31 04:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436178 -3.132453)'), GeomFromEWKT('SRID=4674;POINT (-39.436128 -3.132329)'))) / (select extract(epoch from '2026-07-31 04:25:36'::timestamp) - extract(epoch from '2026-07-31 04:25: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'), 48006, 'SRID=4674;POINT (-39.436097 -3.132239)', '2026-07-31 04:25:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436128 -3.132329)'), GeomFromEWKT('SRID=4674;POINT (-39.436097 -3.132239)'))) / (select extract(epoch from '2026-07-31 04:25:41'::timestamp) - extract(epoch from '2026-07-31 04:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436128 -3.132329)'), GeomFromEWKT('SRID=4674;POINT (-39.436097 -3.132239)'))) / (select extract(epoch from '2026-07-31 04:25:41'::timestamp) - extract(epoch from '2026-07-31 04:25: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'), 48006, 'SRID=4674;POINT (-39.43609 -3.13222)', '2026-07-31 04:25:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436097 -3.132239)'), GeomFromEWKT('SRID=4674;POINT (-39.43609 -3.13222)'))) / (select extract(epoch from '2026-07-31 04:25:42'::timestamp) - extract(epoch from '2026-07-31 04:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436097 -3.132239)'), GeomFromEWKT('SRID=4674;POINT (-39.43609 -3.13222)'))) / (select extract(epoch from '2026-07-31 04:25:42'::timestamp) - extract(epoch from '2026-07-31 04:25: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'), 48006, 'SRID=4674;POINT (-39.436059 -3.132148)', '2026-07-31 04:25:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43609 -3.13222)'), GeomFromEWKT('SRID=4674;POINT (-39.436059 -3.132148)'))) / (select extract(epoch from '2026-07-31 04:25:46'::timestamp) - extract(epoch from '2026-07-31 04:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43609 -3.13222)'), GeomFromEWKT('SRID=4674;POINT (-39.436059 -3.132148)'))) / (select extract(epoch from '2026-07-31 04:25:46'::timestamp) - extract(epoch from '2026-07-31 04:25: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'), 48006, 'SRID=4674;POINT (-39.436014 -3.132055)', '2026-07-31 04:25:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436059 -3.132148)'), GeomFromEWKT('SRID=4674;POINT (-39.436014 -3.132055)'))) / (select extract(epoch from '2026-07-31 04:25:51'::timestamp) - extract(epoch from '2026-07-31 04:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436059 -3.132148)'), GeomFromEWKT('SRID=4674;POINT (-39.436014 -3.132055)'))) / (select extract(epoch from '2026-07-31 04:25:51'::timestamp) - extract(epoch from '2026-07-31 04:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435994 -3.132022)', '2026-07-31 04:25:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436014 -3.132055)'), GeomFromEWKT('SRID=4674;POINT (-39.435994 -3.132022)'))) / (select extract(epoch from '2026-07-31 04:25:53'::timestamp) - extract(epoch from '2026-07-31 04:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436014 -3.132055)'), GeomFromEWKT('SRID=4674;POINT (-39.435994 -3.132022)'))) / (select extract(epoch from '2026-07-31 04:25:53'::timestamp) - extract(epoch from '2026-07-31 04:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435979 -3.131967)', '2026-07-31 04:25:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435994 -3.132022)'), GeomFromEWKT('SRID=4674;POINT (-39.435979 -3.131967)'))) / (select extract(epoch from '2026-07-31 04:25:56'::timestamp) - extract(epoch from '2026-07-31 04:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435994 -3.132022)'), GeomFromEWKT('SRID=4674;POINT (-39.435979 -3.131967)'))) / (select extract(epoch from '2026-07-31 04:25:56'::timestamp) - extract(epoch from '2026-07-31 04:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435947 -3.131876)', '2026-07-31 04:26:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435979 -3.131967)'), GeomFromEWKT('SRID=4674;POINT (-39.435947 -3.131876)'))) / (select extract(epoch from '2026-07-31 04:26:01'::timestamp) - extract(epoch from '2026-07-31 04:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435979 -3.131967)'), GeomFromEWKT('SRID=4674;POINT (-39.435947 -3.131876)'))) / (select extract(epoch from '2026-07-31 04:26:01'::timestamp) - extract(epoch from '2026-07-31 04:25: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'), 48006, 'SRID=4674;POINT (-39.435914 -3.131775)', '2026-07-31 04:26:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435947 -3.131876)'), GeomFromEWKT('SRID=4674;POINT (-39.435914 -3.131775)'))) / (select extract(epoch from '2026-07-31 04:26:07'::timestamp) - extract(epoch from '2026-07-31 04:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435947 -3.131876)'), GeomFromEWKT('SRID=4674;POINT (-39.435914 -3.131775)'))) / (select extract(epoch from '2026-07-31 04:26:07'::timestamp) - extract(epoch from '2026-07-31 04:26:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435877 -3.131672)', '2026-07-31 04:26:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435914 -3.131775)'), GeomFromEWKT('SRID=4674;POINT (-39.435877 -3.131672)'))) / (select extract(epoch from '2026-07-31 04:26:13'::timestamp) - extract(epoch from '2026-07-31 04:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435914 -3.131775)'), GeomFromEWKT('SRID=4674;POINT (-39.435877 -3.131672)'))) / (select extract(epoch from '2026-07-31 04:26:13'::timestamp) - extract(epoch from '2026-07-31 04:26: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'), 48006, 'SRID=4674;POINT (-39.435835 -3.131583)', '2026-07-31 04:26:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435877 -3.131672)'), GeomFromEWKT('SRID=4674;POINT (-39.435835 -3.131583)'))) / (select extract(epoch from '2026-07-31 04:26:18'::timestamp) - extract(epoch from '2026-07-31 04:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435877 -3.131672)'), GeomFromEWKT('SRID=4674;POINT (-39.435835 -3.131583)'))) / (select extract(epoch from '2026-07-31 04:26:18'::timestamp) - extract(epoch from '2026-07-31 04:26: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'), 48006, 'SRID=4674;POINT (-39.435784 -3.13149)', '2026-07-31 04:26:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435835 -3.131583)'), GeomFromEWKT('SRID=4674;POINT (-39.435784 -3.13149)'))) / (select extract(epoch from '2026-07-31 04:26:24'::timestamp) - extract(epoch from '2026-07-31 04:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435835 -3.131583)'), GeomFromEWKT('SRID=4674;POINT (-39.435784 -3.13149)'))) / (select extract(epoch from '2026-07-31 04:26:24'::timestamp) - extract(epoch from '2026-07-31 04:26: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'), 48006, 'SRID=4674;POINT (-39.435747 -3.131412)', '2026-07-31 04:26:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435784 -3.13149)'), GeomFromEWKT('SRID=4674;POINT (-39.435747 -3.131412)'))) / (select extract(epoch from '2026-07-31 04:26:29'::timestamp) - extract(epoch from '2026-07-31 04:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435784 -3.13149)'), GeomFromEWKT('SRID=4674;POINT (-39.435747 -3.131412)'))) / (select extract(epoch from '2026-07-31 04:26:29'::timestamp) - extract(epoch from '2026-07-31 04:26: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'), 48006, 'SRID=4674;POINT (-39.435704 -3.131311)', '2026-07-31 04:26:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435747 -3.131412)'), GeomFromEWKT('SRID=4674;POINT (-39.435704 -3.131311)'))) / (select extract(epoch from '2026-07-31 04:26:35'::timestamp) - extract(epoch from '2026-07-31 04:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435747 -3.131412)'), GeomFromEWKT('SRID=4674;POINT (-39.435704 -3.131311)'))) / (select extract(epoch from '2026-07-31 04:26:35'::timestamp) - extract(epoch from '2026-07-31 04:26: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'), 48006, 'SRID=4674;POINT (-39.435664 -3.131203)', '2026-07-31 04:26:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435704 -3.131311)'), GeomFromEWKT('SRID=4674;POINT (-39.435664 -3.131203)'))) / (select extract(epoch from '2026-07-31 04:26:41'::timestamp) - extract(epoch from '2026-07-31 04:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435704 -3.131311)'), GeomFromEWKT('SRID=4674;POINT (-39.435664 -3.131203)'))) / (select extract(epoch from '2026-07-31 04:26:41'::timestamp) - extract(epoch from '2026-07-31 04:26: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'), 48006, 'SRID=4674;POINT (-39.435625 -3.131122)', '2026-07-31 04:26:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435664 -3.131203)'), GeomFromEWKT('SRID=4674;POINT (-39.435625 -3.131122)'))) / (select extract(epoch from '2026-07-31 04:26:46'::timestamp) - extract(epoch from '2026-07-31 04:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435664 -3.131203)'), GeomFromEWKT('SRID=4674;POINT (-39.435625 -3.131122)'))) / (select extract(epoch from '2026-07-31 04:26:46'::timestamp) - extract(epoch from '2026-07-31 04:26: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'), 48006, 'SRID=4674;POINT (-39.435581 -3.131008)', '2026-07-31 04:26:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435625 -3.131122)'), GeomFromEWKT('SRID=4674;POINT (-39.435581 -3.131008)'))) / (select extract(epoch from '2026-07-31 04:26:53'::timestamp) - extract(epoch from '2026-07-31 04:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435625 -3.131122)'), GeomFromEWKT('SRID=4674;POINT (-39.435581 -3.131008)'))) / (select extract(epoch from '2026-07-31 04:26:53'::timestamp) - extract(epoch from '2026-07-31 04:26: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'), 48006, 'SRID=4674;POINT (-39.435545 -3.130918)', '2026-07-31 04:26:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435581 -3.131008)'), GeomFromEWKT('SRID=4674;POINT (-39.435545 -3.130918)'))) / (select extract(epoch from '2026-07-31 04:26:58'::timestamp) - extract(epoch from '2026-07-31 04:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435581 -3.131008)'), GeomFromEWKT('SRID=4674;POINT (-39.435545 -3.130918)'))) / (select extract(epoch from '2026-07-31 04:26:58'::timestamp) - extract(epoch from '2026-07-31 04:26:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435512 -3.130835)', '2026-07-31 04:27:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435545 -3.130918)'), GeomFromEWKT('SRID=4674;POINT (-39.435512 -3.130835)'))) / (select extract(epoch from '2026-07-31 04:27:03'::timestamp) - extract(epoch from '2026-07-31 04:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435545 -3.130918)'), GeomFromEWKT('SRID=4674;POINT (-39.435512 -3.130835)'))) / (select extract(epoch from '2026-07-31 04:27:03'::timestamp) - extract(epoch from '2026-07-31 04:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435479 -3.130739)', '2026-07-31 04:27:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435512 -3.130835)'), GeomFromEWKT('SRID=4674;POINT (-39.435479 -3.130739)'))) / (select extract(epoch from '2026-07-31 04:27:09'::timestamp) - extract(epoch from '2026-07-31 04:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435512 -3.130835)'), GeomFromEWKT('SRID=4674;POINT (-39.435479 -3.130739)'))) / (select extract(epoch from '2026-07-31 04:27:09'::timestamp) - extract(epoch from '2026-07-31 04:27: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'), 48006, 'SRID=4674;POINT (-39.435429 -3.130638)', '2026-07-31 04:27:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435479 -3.130739)'), GeomFromEWKT('SRID=4674;POINT (-39.435429 -3.130638)'))) / (select extract(epoch from '2026-07-31 04:27:15'::timestamp) - extract(epoch from '2026-07-31 04:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435479 -3.130739)'), GeomFromEWKT('SRID=4674;POINT (-39.435429 -3.130638)'))) / (select extract(epoch from '2026-07-31 04:27:15'::timestamp) - extract(epoch from '2026-07-31 04:27: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'), 48006, 'SRID=4674;POINT (-39.435396 -3.130556)', '2026-07-31 04:27:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435429 -3.130638)'), GeomFromEWKT('SRID=4674;POINT (-39.435396 -3.130556)'))) / (select extract(epoch from '2026-07-31 04:27:20'::timestamp) - extract(epoch from '2026-07-31 04:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435429 -3.130638)'), GeomFromEWKT('SRID=4674;POINT (-39.435396 -3.130556)'))) / (select extract(epoch from '2026-07-31 04:27:20'::timestamp) - extract(epoch from '2026-07-31 04:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435362 -3.130472)', '2026-07-31 04:27:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435396 -3.130556)'), GeomFromEWKT('SRID=4674;POINT (-39.435362 -3.130472)'))) / (select extract(epoch from '2026-07-31 04:27:25'::timestamp) - extract(epoch from '2026-07-31 04:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435396 -3.130556)'), GeomFromEWKT('SRID=4674;POINT (-39.435362 -3.130472)'))) / (select extract(epoch from '2026-07-31 04:27:25'::timestamp) - extract(epoch from '2026-07-31 04:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435326 -3.130357)', '2026-07-31 04:27:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435362 -3.130472)'), GeomFromEWKT('SRID=4674;POINT (-39.435326 -3.130357)'))) / (select extract(epoch from '2026-07-31 04:27:31'::timestamp) - extract(epoch from '2026-07-31 04:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435362 -3.130472)'), GeomFromEWKT('SRID=4674;POINT (-39.435326 -3.130357)'))) / (select extract(epoch from '2026-07-31 04:27:31'::timestamp) - extract(epoch from '2026-07-31 04:27: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'), 48006, 'SRID=4674;POINT (-39.435288 -3.130234)', '2026-07-31 04:27:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435326 -3.130357)'), GeomFromEWKT('SRID=4674;POINT (-39.435288 -3.130234)'))) / (select extract(epoch from '2026-07-31 04:27:37'::timestamp) - extract(epoch from '2026-07-31 04:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435326 -3.130357)'), GeomFromEWKT('SRID=4674;POINT (-39.435288 -3.130234)'))) / (select extract(epoch from '2026-07-31 04:27:37'::timestamp) - extract(epoch from '2026-07-31 04:27: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'), 48006, 'SRID=4674;POINT (-39.435233 -3.130112)', '2026-07-31 04:27:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435288 -3.130234)'), GeomFromEWKT('SRID=4674;POINT (-39.435233 -3.130112)'))) / (select extract(epoch from '2026-07-31 04:27:44'::timestamp) - extract(epoch from '2026-07-31 04:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435288 -3.130234)'), GeomFromEWKT('SRID=4674;POINT (-39.435233 -3.130112)'))) / (select extract(epoch from '2026-07-31 04:27:44'::timestamp) - extract(epoch from '2026-07-31 04:27: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'), 48006, 'SRID=4674;POINT (-39.435199 -3.130045)', '2026-07-31 04:27:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435233 -3.130112)'), GeomFromEWKT('SRID=4674;POINT (-39.435199 -3.130045)'))) / (select extract(epoch from '2026-07-31 04:27:48'::timestamp) - extract(epoch from '2026-07-31 04:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435233 -3.130112)'), GeomFromEWKT('SRID=4674;POINT (-39.435199 -3.130045)'))) / (select extract(epoch from '2026-07-31 04:27:48'::timestamp) - extract(epoch from '2026-07-31 04:27: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'), 48006, 'SRID=4674;POINT (-39.435188 -3.130013)', '2026-07-31 04:27:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435199 -3.130045)'), GeomFromEWKT('SRID=4674;POINT (-39.435188 -3.130013)'))) / (select extract(epoch from '2026-07-31 04:27:50'::timestamp) - extract(epoch from '2026-07-31 04:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435199 -3.130045)'), GeomFromEWKT('SRID=4674;POINT (-39.435188 -3.130013)'))) / (select extract(epoch from '2026-07-31 04:27:50'::timestamp) - extract(epoch from '2026-07-31 04:27: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'), 48006, 'SRID=4674;POINT (-39.435151 -3.129922)', '2026-07-31 04:27:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435188 -3.130013)'), GeomFromEWKT('SRID=4674;POINT (-39.435151 -3.129922)'))) / (select extract(epoch from '2026-07-31 04:27:55'::timestamp) - extract(epoch from '2026-07-31 04:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435188 -3.130013)'), GeomFromEWKT('SRID=4674;POINT (-39.435151 -3.129922)'))) / (select extract(epoch from '2026-07-31 04:27:55'::timestamp) - extract(epoch from '2026-07-31 04:27: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'), 48006, 'SRID=4674;POINT (-39.43514 -3.129888)', '2026-07-31 04:27:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435151 -3.129922)'), GeomFromEWKT('SRID=4674;POINT (-39.43514 -3.129888)'))) / (select extract(epoch from '2026-07-31 04:27:57'::timestamp) - extract(epoch from '2026-07-31 04:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435151 -3.129922)'), GeomFromEWKT('SRID=4674;POINT (-39.43514 -3.129888)'))) / (select extract(epoch from '2026-07-31 04:27:57'::timestamp) - extract(epoch from '2026-07-31 04:27:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435129 -3.129856)', '2026-07-31 04:27:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43514 -3.129888)'), GeomFromEWKT('SRID=4674;POINT (-39.435129 -3.129856)'))) / (select extract(epoch from '2026-07-31 04:27:59'::timestamp) - extract(epoch from '2026-07-31 04:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43514 -3.129888)'), GeomFromEWKT('SRID=4674;POINT (-39.435129 -3.129856)'))) / (select extract(epoch from '2026-07-31 04:27:59'::timestamp) - extract(epoch from '2026-07-31 04:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435118 -3.12984)', '2026-07-31 04:28:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435129 -3.129856)'), GeomFromEWKT('SRID=4674;POINT (-39.435118 -3.12984)'))) / (select extract(epoch from '2026-07-31 04:28:00'::timestamp) - extract(epoch from '2026-07-31 04:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435129 -3.129856)'), GeomFromEWKT('SRID=4674;POINT (-39.435118 -3.12984)'))) / (select extract(epoch from '2026-07-31 04:28:00'::timestamp) - extract(epoch from '2026-07-31 04:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435101 -3.129806)', '2026-07-31 04:28:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435118 -3.12984)'), GeomFromEWKT('SRID=4674;POINT (-39.435101 -3.129806)'))) / (select extract(epoch from '2026-07-31 04:28:02'::timestamp) - extract(epoch from '2026-07-31 04:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435118 -3.12984)'), GeomFromEWKT('SRID=4674;POINT (-39.435101 -3.129806)'))) / (select extract(epoch from '2026-07-31 04:28:02'::timestamp) - extract(epoch from '2026-07-31 04:28: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'), 48006, 'SRID=4674;POINT (-39.43509 -3.129774)', '2026-07-31 04:28:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435101 -3.129806)'), GeomFromEWKT('SRID=4674;POINT (-39.43509 -3.129774)'))) / (select extract(epoch from '2026-07-31 04:28:04'::timestamp) - extract(epoch from '2026-07-31 04:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435101 -3.129806)'), GeomFromEWKT('SRID=4674;POINT (-39.43509 -3.129774)'))) / (select extract(epoch from '2026-07-31 04:28:04'::timestamp) - extract(epoch from '2026-07-31 04:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435058 -3.129698)', '2026-07-31 04:28:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43509 -3.129774)'), GeomFromEWKT('SRID=4674;POINT (-39.435058 -3.129698)'))) / (select extract(epoch from '2026-07-31 04:28:09'::timestamp) - extract(epoch from '2026-07-31 04:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43509 -3.129774)'), GeomFromEWKT('SRID=4674;POINT (-39.435058 -3.129698)'))) / (select extract(epoch from '2026-07-31 04:28:09'::timestamp) - extract(epoch from '2026-07-31 04:28:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.435005 -3.129566)', '2026-07-31 04:28:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435058 -3.129698)'), GeomFromEWKT('SRID=4674;POINT (-39.435005 -3.129566)'))) / (select extract(epoch from '2026-07-31 04:28:17'::timestamp) - extract(epoch from '2026-07-31 04:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435058 -3.129698)'), GeomFromEWKT('SRID=4674;POINT (-39.435005 -3.129566)'))) / (select extract(epoch from '2026-07-31 04:28:17'::timestamp) - extract(epoch from '2026-07-31 04:28: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'), 48006, 'SRID=4674;POINT (-39.434966 -3.129447)', '2026-07-31 04:28:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435005 -3.129566)'), GeomFromEWKT('SRID=4674;POINT (-39.434966 -3.129447)'))) / (select extract(epoch from '2026-07-31 04:28:24'::timestamp) - extract(epoch from '2026-07-31 04:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435005 -3.129566)'), GeomFromEWKT('SRID=4674;POINT (-39.434966 -3.129447)'))) / (select extract(epoch from '2026-07-31 04:28:24'::timestamp) - extract(epoch from '2026-07-31 04:28: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'), 48006, 'SRID=4674;POINT (-39.434927 -3.129353)', '2026-07-31 04:28:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434966 -3.129447)'), GeomFromEWKT('SRID=4674;POINT (-39.434927 -3.129353)'))) / (select extract(epoch from '2026-07-31 04:28:29'::timestamp) - extract(epoch from '2026-07-31 04:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434966 -3.129447)'), GeomFromEWKT('SRID=4674;POINT (-39.434927 -3.129353)'))) / (select extract(epoch from '2026-07-31 04:28:29'::timestamp) - extract(epoch from '2026-07-31 04:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.434875 -3.129202)', '2026-07-31 04:28:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434927 -3.129353)'), GeomFromEWKT('SRID=4674;POINT (-39.434875 -3.129202)'))) / (select extract(epoch from '2026-07-31 04:28:37'::timestamp) - extract(epoch from '2026-07-31 04:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434927 -3.129353)'), GeomFromEWKT('SRID=4674;POINT (-39.434875 -3.129202)'))) / (select extract(epoch from '2026-07-31 04:28:37'::timestamp) - extract(epoch from '2026-07-31 04:28: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'), 48006, 'SRID=4674;POINT (-39.434825 -3.129085)', '2026-07-31 04:28:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434875 -3.129202)'), GeomFromEWKT('SRID=4674;POINT (-39.434825 -3.129085)'))) / (select extract(epoch from '2026-07-31 04:28:43'::timestamp) - extract(epoch from '2026-07-31 04:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434875 -3.129202)'), GeomFromEWKT('SRID=4674;POINT (-39.434825 -3.129085)'))) / (select extract(epoch from '2026-07-31 04:28:43'::timestamp) - extract(epoch from '2026-07-31 04:28: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'), 48006, 'SRID=4674;POINT (-39.434802 -3.12903)', '2026-07-31 04:28:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434825 -3.129085)'), GeomFromEWKT('SRID=4674;POINT (-39.434802 -3.12903)'))) / (select extract(epoch from '2026-07-31 04:28:46'::timestamp) - extract(epoch from '2026-07-31 04:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434825 -3.129085)'), GeomFromEWKT('SRID=4674;POINT (-39.434802 -3.12903)'))) / (select extract(epoch from '2026-07-31 04:28:46'::timestamp) - extract(epoch from '2026-07-31 04:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.434778 -3.128978)', '2026-07-31 04:28:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434802 -3.12903)'), GeomFromEWKT('SRID=4674;POINT (-39.434778 -3.128978)'))) / (select extract(epoch from '2026-07-31 04:28:49'::timestamp) - extract(epoch from '2026-07-31 04:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434802 -3.12903)'), GeomFromEWKT('SRID=4674;POINT (-39.434778 -3.128978)'))) / (select extract(epoch from '2026-07-31 04:28:49'::timestamp) - extract(epoch from '2026-07-31 04:28: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'), 48006, 'SRID=4674;POINT (-39.434697 -3.128847)', '2026-07-31 04:28:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434778 -3.128978)'), GeomFromEWKT('SRID=4674;POINT (-39.434697 -3.128847)'))) / (select extract(epoch from '2026-07-31 04:28:57'::timestamp) - extract(epoch from '2026-07-31 04:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434778 -3.128978)'), GeomFromEWKT('SRID=4674;POINT (-39.434697 -3.128847)'))) / (select extract(epoch from '2026-07-31 04:28:57'::timestamp) - extract(epoch from '2026-07-31 04:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.434641 -3.128695)', '2026-07-31 04:29:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434697 -3.128847)'), GeomFromEWKT('SRID=4674;POINT (-39.434641 -3.128695)'))) / (select extract(epoch from '2026-07-31 04:29:05'::timestamp) - extract(epoch from '2026-07-31 04:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434697 -3.128847)'), GeomFromEWKT('SRID=4674;POINT (-39.434641 -3.128695)'))) / (select extract(epoch from '2026-07-31 04:29:05'::timestamp) - extract(epoch from '2026-07-31 04:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.434635 -3.12856)', '2026-07-31 04:29:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434641 -3.128695)'), GeomFromEWKT('SRID=4674;POINT (-39.434635 -3.12856)'))) / (select extract(epoch from '2026-07-31 04:29:11'::timestamp) - extract(epoch from '2026-07-31 04:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434641 -3.128695)'), GeomFromEWKT('SRID=4674;POINT (-39.434635 -3.12856)'))) / (select extract(epoch from '2026-07-31 04:29:11'::timestamp) - extract(epoch from '2026-07-31 04:29: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'), 48006, 'SRID=4674;POINT (-39.434585 -3.12838)', '2026-07-31 04:29:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434635 -3.12856)'), GeomFromEWKT('SRID=4674;POINT (-39.434585 -3.12838)'))) / (select extract(epoch from '2026-07-31 04:29:19'::timestamp) - extract(epoch from '2026-07-31 04:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434635 -3.12856)'), GeomFromEWKT('SRID=4674;POINT (-39.434585 -3.12838)'))) / (select extract(epoch from '2026-07-31 04:29:19'::timestamp) - extract(epoch from '2026-07-31 04:29: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'), 48006, 'SRID=4674;POINT (-39.434522 -3.128227)', '2026-07-31 04:29:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434585 -3.12838)'), GeomFromEWKT('SRID=4674;POINT (-39.434522 -3.128227)'))) / (select extract(epoch from '2026-07-31 04:29:27'::timestamp) - extract(epoch from '2026-07-31 04:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434585 -3.12838)'), GeomFromEWKT('SRID=4674;POINT (-39.434522 -3.128227)'))) / (select extract(epoch from '2026-07-31 04:29:27'::timestamp) - extract(epoch from '2026-07-31 04:29: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'), 48006, 'SRID=4674;POINT (-39.434471 -3.128106)', '2026-07-31 04:29:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434522 -3.128227)'), GeomFromEWKT('SRID=4674;POINT (-39.434471 -3.128106)'))) / (select extract(epoch from '2026-07-31 04:29:34'::timestamp) - extract(epoch from '2026-07-31 04:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434522 -3.128227)'), GeomFromEWKT('SRID=4674;POINT (-39.434471 -3.128106)'))) / (select extract(epoch from '2026-07-31 04:29:34'::timestamp) - extract(epoch from '2026-07-31 04:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.434421 -3.127994)', '2026-07-31 04:29:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434471 -3.128106)'), GeomFromEWKT('SRID=4674;POINT (-39.434421 -3.127994)'))) / (select extract(epoch from '2026-07-31 04:29:41'::timestamp) - extract(epoch from '2026-07-31 04:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434471 -3.128106)'), GeomFromEWKT('SRID=4674;POINT (-39.434421 -3.127994)'))) / (select extract(epoch from '2026-07-31 04:29:41'::timestamp) - extract(epoch from '2026-07-31 04:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.434383 -3.127882)', '2026-07-31 04:29:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434421 -3.127994)'), GeomFromEWKT('SRID=4674;POINT (-39.434383 -3.127882)'))) / (select extract(epoch from '2026-07-31 04:29:47'::timestamp) - extract(epoch from '2026-07-31 04:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434421 -3.127994)'), GeomFromEWKT('SRID=4674;POINT (-39.434383 -3.127882)'))) / (select extract(epoch from '2026-07-31 04:29:47'::timestamp) - extract(epoch from '2026-07-31 04:29: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'), 48006, 'SRID=4674;POINT (-39.434315 -3.127729)', '2026-07-31 04:29:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434383 -3.127882)'), GeomFromEWKT('SRID=4674;POINT (-39.434315 -3.127729)'))) / (select extract(epoch from '2026-07-31 04:29:55'::timestamp) - extract(epoch from '2026-07-31 04:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434383 -3.127882)'), GeomFromEWKT('SRID=4674;POINT (-39.434315 -3.127729)'))) / (select extract(epoch from '2026-07-31 04:29:55'::timestamp) - extract(epoch from '2026-07-31 04:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.43426 -3.127571)', '2026-07-31 04:30:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434315 -3.127729)'), GeomFromEWKT('SRID=4674;POINT (-39.43426 -3.127571)'))) / (select extract(epoch from '2026-07-31 04:30:03'::timestamp) - extract(epoch from '2026-07-31 04:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434315 -3.127729)'), GeomFromEWKT('SRID=4674;POINT (-39.43426 -3.127571)'))) / (select extract(epoch from '2026-07-31 04:30:03'::timestamp) - extract(epoch from '2026-07-31 04:29: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'), 48006, 'SRID=4674;POINT (-39.434216 -3.127457)', '2026-07-31 04:30:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43426 -3.127571)'), GeomFromEWKT('SRID=4674;POINT (-39.434216 -3.127457)'))) / (select extract(epoch from '2026-07-31 04:30:09'::timestamp) - extract(epoch from '2026-07-31 04:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43426 -3.127571)'), GeomFromEWKT('SRID=4674;POINT (-39.434216 -3.127457)'))) / (select extract(epoch from '2026-07-31 04:30:09'::timestamp) - extract(epoch from '2026-07-31 04:30:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.434156 -3.127336)', '2026-07-31 04:30:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434216 -3.127457)'), GeomFromEWKT('SRID=4674;POINT (-39.434156 -3.127336)'))) / (select extract(epoch from '2026-07-31 04:30:16'::timestamp) - extract(epoch from '2026-07-31 04:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434216 -3.127457)'), GeomFromEWKT('SRID=4674;POINT (-39.434156 -3.127336)'))) / (select extract(epoch from '2026-07-31 04:30:16'::timestamp) - extract(epoch from '2026-07-31 04:30: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'), 48006, 'SRID=4674;POINT (-39.434099 -3.127181)', '2026-07-31 04:30:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434156 -3.127336)'), GeomFromEWKT('SRID=4674;POINT (-39.434099 -3.127181)'))) / (select extract(epoch from '2026-07-31 04:30:24'::timestamp) - extract(epoch from '2026-07-31 04:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434156 -3.127336)'), GeomFromEWKT('SRID=4674;POINT (-39.434099 -3.127181)'))) / (select extract(epoch from '2026-07-31 04:30:24'::timestamp) - extract(epoch from '2026-07-31 04:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.434045 -3.127024)', '2026-07-31 04:30:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434099 -3.127181)'), GeomFromEWKT('SRID=4674;POINT (-39.434045 -3.127024)'))) / (select extract(epoch from '2026-07-31 04:30:32'::timestamp) - extract(epoch from '2026-07-31 04:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434099 -3.127181)'), GeomFromEWKT('SRID=4674;POINT (-39.434045 -3.127024)'))) / (select extract(epoch from '2026-07-31 04:30:32'::timestamp) - extract(epoch from '2026-07-31 04:30: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'), 48006, 'SRID=4674;POINT (-39.433997 -3.126887)', '2026-07-31 04:30:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434045 -3.127024)'), GeomFromEWKT('SRID=4674;POINT (-39.433997 -3.126887)'))) / (select extract(epoch from '2026-07-31 04:30:39'::timestamp) - extract(epoch from '2026-07-31 04:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434045 -3.127024)'), GeomFromEWKT('SRID=4674;POINT (-39.433997 -3.126887)'))) / (select extract(epoch from '2026-07-31 04:30:39'::timestamp) - extract(epoch from '2026-07-31 04:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.433936 -3.126753)', '2026-07-31 04:30:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433997 -3.126887)'), GeomFromEWKT('SRID=4674;POINT (-39.433936 -3.126753)'))) / (select extract(epoch from '2026-07-31 04:30:46'::timestamp) - extract(epoch from '2026-07-31 04:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433997 -3.126887)'), GeomFromEWKT('SRID=4674;POINT (-39.433936 -3.126753)'))) / (select extract(epoch from '2026-07-31 04:30:46'::timestamp) - extract(epoch from '2026-07-31 04:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.433868 -3.12665)', '2026-07-31 04:30:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433936 -3.126753)'), GeomFromEWKT('SRID=4674;POINT (-39.433868 -3.12665)'))) / (select extract(epoch from '2026-07-31 04:30:52'::timestamp) - extract(epoch from '2026-07-31 04:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433936 -3.126753)'), GeomFromEWKT('SRID=4674;POINT (-39.433868 -3.12665)'))) / (select extract(epoch from '2026-07-31 04:30:52'::timestamp) - extract(epoch from '2026-07-31 04:30: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'), 48006, 'SRID=4674;POINT (-39.433851 -3.126536)', '2026-07-31 04:30:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433868 -3.12665)'), GeomFromEWKT('SRID=4674;POINT (-39.433851 -3.126536)'))) / (select extract(epoch from '2026-07-31 04:30:58'::timestamp) - extract(epoch from '2026-07-31 04:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433868 -3.12665)'), GeomFromEWKT('SRID=4674;POINT (-39.433851 -3.126536)'))) / (select extract(epoch from '2026-07-31 04:30:58'::timestamp) - extract(epoch from '2026-07-31 04:30:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.433833 -3.126432)', '2026-07-31 04:31:03', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433851 -3.126536)'), GeomFromEWKT('SRID=4674;POINT (-39.433833 -3.126432)'))) / (select extract(epoch from '2026-07-31 04:31:03'::timestamp) - extract(epoch from '2026-07-31 04:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433851 -3.126536)'), GeomFromEWKT('SRID=4674;POINT (-39.433833 -3.126432)'))) / (select extract(epoch from '2026-07-31 04:31:03'::timestamp) - extract(epoch from '2026-07-31 04:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.433778 -3.126324)', '2026-07-31 04:31:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433833 -3.126432)'), GeomFromEWKT('SRID=4674;POINT (-39.433778 -3.126324)'))) / (select extract(epoch from '2026-07-31 04:31:09'::timestamp) - extract(epoch from '2026-07-31 04:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433833 -3.126432)'), GeomFromEWKT('SRID=4674;POINT (-39.433778 -3.126324)'))) / (select extract(epoch from '2026-07-31 04:31:09'::timestamp) - extract(epoch from '2026-07-31 04:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.433723 -3.126214)', '2026-07-31 04:31:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433778 -3.126324)'), GeomFromEWKT('SRID=4674;POINT (-39.433723 -3.126214)'))) / (select extract(epoch from '2026-07-31 04:31:15'::timestamp) - extract(epoch from '2026-07-31 04:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433778 -3.126324)'), GeomFromEWKT('SRID=4674;POINT (-39.433723 -3.126214)'))) / (select extract(epoch from '2026-07-31 04:31:15'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 48006, 'SRID=4674;POINT (-39.433658 -3.126089)', '2026-07-31 04:31:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433723 -3.126214)'), GeomFromEWKT('SRID=4674;POINT (-39.433658 -3.126089)'))) / (select extract(epoch from '2026-07-31 04:31:22'::timestamp) - extract(epoch from '2026-07-31 04:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433723 -3.126214)'), GeomFromEWKT('SRID=4674;POINT (-39.433658 -3.126089)'))) / (select extract(epoch from '2026-07-31 04:31:22'::timestamp) - extract(epoch from '2026-07-31 04:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.433614 -3.125997)', '2026-07-31 04:31:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433658 -3.126089)'), GeomFromEWKT('SRID=4674;POINT (-39.433614 -3.125997)'))) / (select extract(epoch from '2026-07-31 04:31:27'::timestamp) - extract(epoch from '2026-07-31 04:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433658 -3.126089)'), GeomFromEWKT('SRID=4674;POINT (-39.433614 -3.125997)'))) / (select extract(epoch from '2026-07-31 04:31:27'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 48006, 'SRID=4674;POINT (-39.433557 -3.125894)', '2026-07-31 04:31:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433614 -3.125997)'), GeomFromEWKT('SRID=4674;POINT (-39.433557 -3.125894)'))) / (select extract(epoch from '2026-07-31 04:31:33'::timestamp) - extract(epoch from '2026-07-31 04:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433614 -3.125997)'), GeomFromEWKT('SRID=4674;POINT (-39.433557 -3.125894)'))) / (select extract(epoch from '2026-07-31 04:31:33'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 48006, 'SRID=4674;POINT (-39.433508 -3.125762)', '2026-07-31 04:31:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433557 -3.125894)'), GeomFromEWKT('SRID=4674;POINT (-39.433508 -3.125762)'))) / (select extract(epoch from '2026-07-31 04:31:40'::timestamp) - extract(epoch from '2026-07-31 04:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433557 -3.125894)'), GeomFromEWKT('SRID=4674;POINT (-39.433508 -3.125762)'))) / (select extract(epoch from '2026-07-31 04:31:40'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 48006, 'SRID=4674;POINT (-39.433491 -3.125704)', '2026-07-31 04:31:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433508 -3.125762)'), GeomFromEWKT('SRID=4674;POINT (-39.433491 -3.125704)'))) / (select extract(epoch from '2026-07-31 04:31:43'::timestamp) - extract(epoch from '2026-07-31 04:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433508 -3.125762)'), GeomFromEWKT('SRID=4674;POINT (-39.433491 -3.125704)'))) / (select extract(epoch from '2026-07-31 04:31:43'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 48006, 'SRID=4674;POINT (-39.433474 -3.125663)', '2026-07-31 04:31:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433491 -3.125704)'), GeomFromEWKT('SRID=4674;POINT (-39.433474 -3.125663)'))) / (select extract(epoch from '2026-07-31 04:31:45'::timestamp) - extract(epoch from '2026-07-31 04:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433491 -3.125704)'), GeomFromEWKT('SRID=4674;POINT (-39.433474 -3.125663)'))) / (select extract(epoch from '2026-07-31 04:31:45'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 48006, 'SRID=4674;POINT (-39.433407 -3.12553)', '2026-07-31 04:31:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433474 -3.125663)'), GeomFromEWKT('SRID=4674;POINT (-39.433407 -3.12553)'))) / (select extract(epoch from '2026-07-31 04:31:53'::timestamp) - extract(epoch from '2026-07-31 04:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433474 -3.125663)'), GeomFromEWKT('SRID=4674;POINT (-39.433407 -3.12553)'))) / (select extract(epoch from '2026-07-31 04:31:53'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 48006, 'SRID=4674;POINT (-39.433375 -3.125449)', '2026-07-31 04:31:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433407 -3.12553)'), GeomFromEWKT('SRID=4674;POINT (-39.433375 -3.125449)'))) / (select extract(epoch from '2026-07-31 04:31:58'::timestamp) - extract(epoch from '2026-07-31 04:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433407 -3.12553)'), GeomFromEWKT('SRID=4674;POINT (-39.433375 -3.125449)'))) / (select extract(epoch from '2026-07-31 04:31:58'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 48006, 'SRID=4674;POINT (-39.433349 -3.125383)', '2026-07-31 04:32:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433375 -3.125449)'), GeomFromEWKT('SRID=4674;POINT (-39.433349 -3.125383)'))) / (select extract(epoch from '2026-07-31 04:32:02'::timestamp) - extract(epoch from '2026-07-31 04:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433375 -3.125449)'), GeomFromEWKT('SRID=4674;POINT (-39.433349 -3.125383)'))) / (select extract(epoch from '2026-07-31 04:32:02'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 48006, 'SRID=4674;POINT (-39.433338 -3.125367)', '2026-07-31 04:32:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433349 -3.125383)'), GeomFromEWKT('SRID=4674;POINT (-39.433338 -3.125367)'))) / (select extract(epoch from '2026-07-31 04:32:03'::timestamp) - extract(epoch from '2026-07-31 04:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433349 -3.125383)'), GeomFromEWKT('SRID=4674;POINT (-39.433338 -3.125367)'))) / (select extract(epoch from '2026-07-31 04:32:03'::timestamp) - extract(epoch from '2026-07-31 04:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.433311 -3.125314)', '2026-07-31 04:32:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433338 -3.125367)'), GeomFromEWKT('SRID=4674;POINT (-39.433311 -3.125314)'))) / (select extract(epoch from '2026-07-31 04:32:06'::timestamp) - extract(epoch from '2026-07-31 04:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433338 -3.125367)'), GeomFromEWKT('SRID=4674;POINT (-39.433311 -3.125314)'))) / (select extract(epoch from '2026-07-31 04:32:06'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 48006, 'SRID=4674;POINT (-39.433291 -3.12528)', '2026-07-31 04:32:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433311 -3.125314)'), GeomFromEWKT('SRID=4674;POINT (-39.433291 -3.12528)'))) / (select extract(epoch from '2026-07-31 04:32:08'::timestamp) - extract(epoch from '2026-07-31 04:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433311 -3.125314)'), GeomFromEWKT('SRID=4674;POINT (-39.433291 -3.12528)'))) / (select extract(epoch from '2026-07-31 04:32:08'::timestamp) - extract(epoch from '2026-07-31 04:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.433244 -3.125186)', '2026-07-31 04:32:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433291 -3.12528)'), GeomFromEWKT('SRID=4674;POINT (-39.433244 -3.125186)'))) / (select extract(epoch from '2026-07-31 04:32:14'::timestamp) - extract(epoch from '2026-07-31 04:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433291 -3.12528)'), GeomFromEWKT('SRID=4674;POINT (-39.433244 -3.125186)'))) / (select extract(epoch from '2026-07-31 04:32:14'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 48006, 'SRID=4674;POINT (-39.433188 -3.125086)', '2026-07-31 04:32:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433244 -3.125186)'), GeomFromEWKT('SRID=4674;POINT (-39.433188 -3.125086)'))) / (select extract(epoch from '2026-07-31 04:32:20'::timestamp) - extract(epoch from '2026-07-31 04:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433244 -3.125186)'), GeomFromEWKT('SRID=4674;POINT (-39.433188 -3.125086)'))) / (select extract(epoch from '2026-07-31 04:32:20'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 48006, 'SRID=4674;POINT (-39.433133 -3.124979)', '2026-07-31 04:32:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433188 -3.125086)'), GeomFromEWKT('SRID=4674;POINT (-39.433133 -3.124979)'))) / (select extract(epoch from '2026-07-31 04:32:26'::timestamp) - extract(epoch from '2026-07-31 04:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433188 -3.125086)'), GeomFromEWKT('SRID=4674;POINT (-39.433133 -3.124979)'))) / (select extract(epoch from '2026-07-31 04:32:26'::timestamp) - extract(epoch from '2026-07-31 04:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.433073 -3.124875)', '2026-07-31 04:32:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433133 -3.124979)'), GeomFromEWKT('SRID=4674;POINT (-39.433073 -3.124875)'))) / (select extract(epoch from '2026-07-31 04:32:32'::timestamp) - extract(epoch from '2026-07-31 04:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433133 -3.124979)'), GeomFromEWKT('SRID=4674;POINT (-39.433073 -3.124875)'))) / (select extract(epoch from '2026-07-31 04:32:32'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 48006, 'SRID=4674;POINT (-39.433031 -3.124801)', '2026-07-31 04:32:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433073 -3.124875)'), GeomFromEWKT('SRID=4674;POINT (-39.433031 -3.124801)'))) / (select extract(epoch from '2026-07-31 04:32:37'::timestamp) - extract(epoch from '2026-07-31 04:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433073 -3.124875)'), GeomFromEWKT('SRID=4674;POINT (-39.433031 -3.124801)'))) / (select extract(epoch from '2026-07-31 04:32:37'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 48006, 'SRID=4674;POINT (-39.432982 -3.124716)', '2026-07-31 04:32:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433031 -3.124801)'), GeomFromEWKT('SRID=4674;POINT (-39.432982 -3.124716)'))) / (select extract(epoch from '2026-07-31 04:32:42'::timestamp) - extract(epoch from '2026-07-31 04:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433031 -3.124801)'), GeomFromEWKT('SRID=4674;POINT (-39.432982 -3.124716)'))) / (select extract(epoch from '2026-07-31 04:32:42'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 48006, 'SRID=4674;POINT (-39.432935 -3.124607)', '2026-07-31 04:32:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432982 -3.124716)'), GeomFromEWKT('SRID=4674;POINT (-39.432935 -3.124607)'))) / (select extract(epoch from '2026-07-31 04:32:48'::timestamp) - extract(epoch from '2026-07-31 04:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432982 -3.124716)'), GeomFromEWKT('SRID=4674;POINT (-39.432935 -3.124607)'))) / (select extract(epoch from '2026-07-31 04:32:48'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 48006, 'SRID=4674;POINT (-39.432855 -3.124461)', '2026-07-31 04:32:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432935 -3.124607)'), GeomFromEWKT('SRID=4674;POINT (-39.432855 -3.124461)'))) / (select extract(epoch from '2026-07-31 04:32:56'::timestamp) - extract(epoch from '2026-07-31 04:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432935 -3.124607)'), GeomFromEWKT('SRID=4674;POINT (-39.432855 -3.124461)'))) / (select extract(epoch from '2026-07-31 04:32:56'::timestamp) - extract(epoch from '2026-07-31 04:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432808 -3.12436)', '2026-07-31 04:33:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432855 -3.124461)'), GeomFromEWKT('SRID=4674;POINT (-39.432808 -3.12436)'))) / (select extract(epoch from '2026-07-31 04:33:02'::timestamp) - extract(epoch from '2026-07-31 04:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432855 -3.124461)'), GeomFromEWKT('SRID=4674;POINT (-39.432808 -3.12436)'))) / (select extract(epoch from '2026-07-31 04:33:02'::timestamp) - extract(epoch from '2026-07-31 04:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432749 -3.124234)', '2026-07-31 04:33:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432808 -3.12436)'), GeomFromEWKT('SRID=4674;POINT (-39.432749 -3.124234)'))) / (select extract(epoch from '2026-07-31 04:33:09'::timestamp) - extract(epoch from '2026-07-31 04:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432808 -3.12436)'), GeomFromEWKT('SRID=4674;POINT (-39.432749 -3.124234)'))) / (select extract(epoch from '2026-07-31 04:33:09'::timestamp) - extract(epoch from '2026-07-31 04:33:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432697 -3.124152)', '2026-07-31 04:33:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432749 -3.124234)'), GeomFromEWKT('SRID=4674;POINT (-39.432697 -3.124152)'))) / (select extract(epoch from '2026-07-31 04:33:14'::timestamp) - extract(epoch from '2026-07-31 04:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432749 -3.124234)'), GeomFromEWKT('SRID=4674;POINT (-39.432697 -3.124152)'))) / (select extract(epoch from '2026-07-31 04:33:14'::timestamp) - extract(epoch from '2026-07-31 04:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432627 -3.124008)', '2026-07-31 04:33:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432697 -3.124152)'), GeomFromEWKT('SRID=4674;POINT (-39.432627 -3.124008)'))) / (select extract(epoch from '2026-07-31 04:33:22'::timestamp) - extract(epoch from '2026-07-31 04:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432697 -3.124152)'), GeomFromEWKT('SRID=4674;POINT (-39.432627 -3.124008)'))) / (select extract(epoch from '2026-07-31 04:33:22'::timestamp) - extract(epoch from '2026-07-31 04:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432571 -3.123891)', '2026-07-31 04:33:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432627 -3.124008)'), GeomFromEWKT('SRID=4674;POINT (-39.432571 -3.123891)'))) / (select extract(epoch from '2026-07-31 04:33:28'::timestamp) - extract(epoch from '2026-07-31 04:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432627 -3.124008)'), GeomFromEWKT('SRID=4674;POINT (-39.432571 -3.123891)'))) / (select extract(epoch from '2026-07-31 04:33:28'::timestamp) - extract(epoch from '2026-07-31 04:33:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432513 -3.123784)', '2026-07-31 04:33:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432571 -3.123891)'), GeomFromEWKT('SRID=4674;POINT (-39.432513 -3.123784)'))) / (select extract(epoch from '2026-07-31 04:33:34'::timestamp) - extract(epoch from '2026-07-31 04:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432571 -3.123891)'), GeomFromEWKT('SRID=4674;POINT (-39.432513 -3.123784)'))) / (select extract(epoch from '2026-07-31 04:33:34'::timestamp) - extract(epoch from '2026-07-31 04:33:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432488 -3.123728)', '2026-07-31 04:33:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432513 -3.123784)'), GeomFromEWKT('SRID=4674;POINT (-39.432488 -3.123728)'))) / (select extract(epoch from '2026-07-31 04:33:37'::timestamp) - extract(epoch from '2026-07-31 04:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432513 -3.123784)'), GeomFromEWKT('SRID=4674;POINT (-39.432488 -3.123728)'))) / (select extract(epoch from '2026-07-31 04:33:37'::timestamp) - extract(epoch from '2026-07-31 04:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.43247 -3.123691)', '2026-07-31 04:33:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432488 -3.123728)'), GeomFromEWKT('SRID=4674;POINT (-39.43247 -3.123691)'))) / (select extract(epoch from '2026-07-31 04:33:39'::timestamp) - extract(epoch from '2026-07-31 04:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432488 -3.123728)'), GeomFromEWKT('SRID=4674;POINT (-39.43247 -3.123691)'))) / (select extract(epoch from '2026-07-31 04:33:39'::timestamp) - extract(epoch from '2026-07-31 04:33:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432419 -3.123579)', '2026-07-31 04:33:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43247 -3.123691)'), GeomFromEWKT('SRID=4674;POINT (-39.432419 -3.123579)'))) / (select extract(epoch from '2026-07-31 04:33:45'::timestamp) - extract(epoch from '2026-07-31 04:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43247 -3.123691)'), GeomFromEWKT('SRID=4674;POINT (-39.432419 -3.123579)'))) / (select extract(epoch from '2026-07-31 04:33:45'::timestamp) - extract(epoch from '2026-07-31 04:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432359 -3.123478)', '2026-07-31 04:33:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432419 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.432359 -3.123478)'))) / (select extract(epoch from '2026-07-31 04:33:51'::timestamp) - extract(epoch from '2026-07-31 04:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432419 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.432359 -3.123478)'))) / (select extract(epoch from '2026-07-31 04:33:51'::timestamp) - extract(epoch from '2026-07-31 04:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432303 -3.123364)', '2026-07-31 04:33:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432359 -3.123478)'), GeomFromEWKT('SRID=4674;POINT (-39.432303 -3.123364)'))) / (select extract(epoch from '2026-07-31 04:33:58'::timestamp) - extract(epoch from '2026-07-31 04:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432359 -3.123478)'), GeomFromEWKT('SRID=4674;POINT (-39.432303 -3.123364)'))) / (select extract(epoch from '2026-07-31 04:33:58'::timestamp) - extract(epoch from '2026-07-31 04:33:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432242 -3.123221)', '2026-07-31 04:34:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432303 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.432242 -3.123221)'))) / (select extract(epoch from '2026-07-31 04:34:06'::timestamp) - extract(epoch from '2026-07-31 04:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432303 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.432242 -3.123221)'))) / (select extract(epoch from '2026-07-31 04:34:06'::timestamp) - extract(epoch from '2026-07-31 04:33: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'), 48006, 'SRID=4674;POINT (-39.432238 -3.123205)', '2026-07-31 04:34:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432242 -3.123221)'), GeomFromEWKT('SRID=4674;POINT (-39.432238 -3.123205)'))) / (select extract(epoch from '2026-07-31 04:34:07'::timestamp) - extract(epoch from '2026-07-31 04:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432242 -3.123221)'), GeomFromEWKT('SRID=4674;POINT (-39.432238 -3.123205)'))) / (select extract(epoch from '2026-07-31 04:34:07'::timestamp) - extract(epoch from '2026-07-31 04:34:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432212 -3.12314)', '2026-07-31 04:34:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432238 -3.123205)'), GeomFromEWKT('SRID=4674;POINT (-39.432212 -3.12314)'))) / (select extract(epoch from '2026-07-31 04:34:11'::timestamp) - extract(epoch from '2026-07-31 04:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432238 -3.123205)'), GeomFromEWKT('SRID=4674;POINT (-39.432212 -3.12314)'))) / (select extract(epoch from '2026-07-31 04:34:11'::timestamp) - extract(epoch from '2026-07-31 04:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432173 -3.123027)', '2026-07-31 04:34:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432212 -3.12314)'), GeomFromEWKT('SRID=4674;POINT (-39.432173 -3.123027)'))) / (select extract(epoch from '2026-07-31 04:34:18'::timestamp) - extract(epoch from '2026-07-31 04:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432212 -3.12314)'), GeomFromEWKT('SRID=4674;POINT (-39.432173 -3.123027)'))) / (select extract(epoch from '2026-07-31 04:34:18'::timestamp) - extract(epoch from '2026-07-31 04:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432113 -3.122911)', '2026-07-31 04:34:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432173 -3.123027)'), GeomFromEWKT('SRID=4674;POINT (-39.432113 -3.122911)'))) / (select extract(epoch from '2026-07-31 04:34:26'::timestamp) - extract(epoch from '2026-07-31 04:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432173 -3.123027)'), GeomFromEWKT('SRID=4674;POINT (-39.432113 -3.122911)'))) / (select extract(epoch from '2026-07-31 04:34:26'::timestamp) - extract(epoch from '2026-07-31 04:34: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'), 48006, 'SRID=4674;POINT (-39.432067 -3.12283)', '2026-07-31 04:34:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432113 -3.122911)'), GeomFromEWKT('SRID=4674;POINT (-39.432067 -3.12283)'))) / (select extract(epoch from '2026-07-31 04:34:32'::timestamp) - extract(epoch from '2026-07-31 04:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432113 -3.122911)'), GeomFromEWKT('SRID=4674;POINT (-39.432067 -3.12283)'))) / (select extract(epoch from '2026-07-31 04:34:32'::timestamp) - extract(epoch from '2026-07-31 04:34:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.432015 -3.122742)', '2026-07-31 04:34:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432067 -3.12283)'), GeomFromEWKT('SRID=4674;POINT (-39.432015 -3.122742)'))) / (select extract(epoch from '2026-07-31 04:34:39'::timestamp) - extract(epoch from '2026-07-31 04:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432067 -3.12283)'), GeomFromEWKT('SRID=4674;POINT (-39.432015 -3.122742)'))) / (select extract(epoch from '2026-07-31 04:34:39'::timestamp) - extract(epoch from '2026-07-31 04:34: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'), 48006, 'SRID=4674;POINT (-39.431949 -3.122658)', '2026-07-31 04:34:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432015 -3.122742)'), GeomFromEWKT('SRID=4674;POINT (-39.431949 -3.122658)'))) / (select extract(epoch from '2026-07-31 04:34:44'::timestamp) - extract(epoch from '2026-07-31 04:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432015 -3.122742)'), GeomFromEWKT('SRID=4674;POINT (-39.431949 -3.122658)'))) / (select extract(epoch from '2026-07-31 04:34:44'::timestamp) - extract(epoch from '2026-07-31 04:34: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'), 48006, 'SRID=4674;POINT (-39.431952 -3.122637)', '2026-07-31 04:34:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431949 -3.122658)'), GeomFromEWKT('SRID=4674;POINT (-39.431952 -3.122637)'))) / (select extract(epoch from '2026-07-31 04:34:45'::timestamp) - extract(epoch from '2026-07-31 04:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431949 -3.122658)'), GeomFromEWKT('SRID=4674;POINT (-39.431952 -3.122637)'))) / (select extract(epoch from '2026-07-31 04:34:45'::timestamp) - extract(epoch from '2026-07-31 04:34: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'), 48006, 'SRID=4674;POINT (-39.431876 -3.122521)', '2026-07-31 04:34:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431952 -3.122637)'), GeomFromEWKT('SRID=4674;POINT (-39.431876 -3.122521)'))) / (select extract(epoch from '2026-07-31 04:34:52'::timestamp) - extract(epoch from '2026-07-31 04:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431952 -3.122637)'), GeomFromEWKT('SRID=4674;POINT (-39.431876 -3.122521)'))) / (select extract(epoch from '2026-07-31 04:34:52'::timestamp) - extract(epoch from '2026-07-31 04:34: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'), 48006, 'SRID=4674;POINT (-39.431824 -3.122385)', '2026-07-31 04:35:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431876 -3.122521)'), GeomFromEWKT('SRID=4674;POINT (-39.431824 -3.122385)'))) / (select extract(epoch from '2026-07-31 04:35:00'::timestamp) - extract(epoch from '2026-07-31 04:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431876 -3.122521)'), GeomFromEWKT('SRID=4674;POINT (-39.431824 -3.122385)'))) / (select extract(epoch from '2026-07-31 04:35:00'::timestamp) - extract(epoch from '2026-07-31 04:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.43178 -3.122219)', '2026-07-31 04:35:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431824 -3.122385)'), GeomFromEWKT('SRID=4674;POINT (-39.43178 -3.122219)'))) / (select extract(epoch from '2026-07-31 04:35:09'::timestamp) - extract(epoch from '2026-07-31 04:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431824 -3.122385)'), GeomFromEWKT('SRID=4674;POINT (-39.43178 -3.122219)'))) / (select extract(epoch from '2026-07-31 04:35:09'::timestamp) - extract(epoch from '2026-07-31 04:35: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'), 48006, 'SRID=4674;POINT (-39.431716 -3.122056)', '2026-07-31 04:35:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43178 -3.122219)'), GeomFromEWKT('SRID=4674;POINT (-39.431716 -3.122056)'))) / (select extract(epoch from '2026-07-31 04:35:18'::timestamp) - extract(epoch from '2026-07-31 04:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43178 -3.122219)'), GeomFromEWKT('SRID=4674;POINT (-39.431716 -3.122056)'))) / (select extract(epoch from '2026-07-31 04:35:18'::timestamp) - extract(epoch from '2026-07-31 04:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.431659 -3.121895)', '2026-07-31 04:35:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431716 -3.122056)'), GeomFromEWKT('SRID=4674;POINT (-39.431659 -3.121895)'))) / (select extract(epoch from '2026-07-31 04:35:27'::timestamp) - extract(epoch from '2026-07-31 04:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431716 -3.122056)'), GeomFromEWKT('SRID=4674;POINT (-39.431659 -3.121895)'))) / (select extract(epoch from '2026-07-31 04:35:27'::timestamp) - extract(epoch from '2026-07-31 04:35: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'), 48006, 'SRID=4674;POINT (-39.431585 -3.12176)', '2026-07-31 04:35:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431659 -3.121895)'), GeomFromEWKT('SRID=4674;POINT (-39.431585 -3.12176)'))) / (select extract(epoch from '2026-07-31 04:35:35'::timestamp) - extract(epoch from '2026-07-31 04:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431659 -3.121895)'), GeomFromEWKT('SRID=4674;POINT (-39.431585 -3.12176)'))) / (select extract(epoch from '2026-07-31 04:35:35'::timestamp) - extract(epoch from '2026-07-31 04:35: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'), 48006, 'SRID=4674;POINT (-39.431524 -3.121649)', '2026-07-31 04:35:41', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431585 -3.12176)'), GeomFromEWKT('SRID=4674;POINT (-39.431524 -3.121649)'))) / (select extract(epoch from '2026-07-31 04:35:41'::timestamp) - extract(epoch from '2026-07-31 04:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431585 -3.12176)'), GeomFromEWKT('SRID=4674;POINT (-39.431524 -3.121649)'))) / (select extract(epoch from '2026-07-31 04:35:41'::timestamp) - extract(epoch from '2026-07-31 04:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.431478 -3.121533)', '2026-07-31 04:35:47', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431524 -3.121649)'), GeomFromEWKT('SRID=4674;POINT (-39.431478 -3.121533)'))) / (select extract(epoch from '2026-07-31 04:35:47'::timestamp) - extract(epoch from '2026-07-31 04:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431524 -3.121649)'), GeomFromEWKT('SRID=4674;POINT (-39.431478 -3.121533)'))) / (select extract(epoch from '2026-07-31 04:35:47'::timestamp) - extract(epoch from '2026-07-31 04:35: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'), 48006, 'SRID=4674;POINT (-39.431429 -3.121409)', '2026-07-31 04:35:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431478 -3.121533)'), GeomFromEWKT('SRID=4674;POINT (-39.431429 -3.121409)'))) / (select extract(epoch from '2026-07-31 04:35:54'::timestamp) - extract(epoch from '2026-07-31 04:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431478 -3.121533)'), GeomFromEWKT('SRID=4674;POINT (-39.431429 -3.121409)'))) / (select extract(epoch from '2026-07-31 04:35:54'::timestamp) - extract(epoch from '2026-07-31 04:35: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'), 48006, 'SRID=4674;POINT (-39.431374 -3.121276)', '2026-07-31 04:36:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431429 -3.121409)'), GeomFromEWKT('SRID=4674;POINT (-39.431374 -3.121276)'))) / (select extract(epoch from '2026-07-31 04:36:01'::timestamp) - extract(epoch from '2026-07-31 04:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431429 -3.121409)'), GeomFromEWKT('SRID=4674;POINT (-39.431374 -3.121276)'))) / (select extract(epoch from '2026-07-31 04:36:01'::timestamp) - extract(epoch from '2026-07-31 04:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.431321 -3.121156)', '2026-07-31 04:36:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431374 -3.121276)'), GeomFromEWKT('SRID=4674;POINT (-39.431321 -3.121156)'))) / (select extract(epoch from '2026-07-31 04:36:08'::timestamp) - extract(epoch from '2026-07-31 04:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431374 -3.121276)'), GeomFromEWKT('SRID=4674;POINT (-39.431321 -3.121156)'))) / (select extract(epoch from '2026-07-31 04:36:08'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 48006, 'SRID=4674;POINT (-39.431252 -3.121038)', '2026-07-31 04:36:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431321 -3.121156)'), GeomFromEWKT('SRID=4674;POINT (-39.431252 -3.121038)'))) / (select extract(epoch from '2026-07-31 04:36:15'::timestamp) - extract(epoch from '2026-07-31 04:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431321 -3.121156)'), GeomFromEWKT('SRID=4674;POINT (-39.431252 -3.121038)'))) / (select extract(epoch from '2026-07-31 04:36:15'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 48006, 'SRID=4674;POINT (-39.4312 -3.120934)', '2026-07-31 04:36:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431252 -3.121038)'), GeomFromEWKT('SRID=4674;POINT (-39.4312 -3.120934)'))) / (select extract(epoch from '2026-07-31 04:36:21'::timestamp) - extract(epoch from '2026-07-31 04:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431252 -3.121038)'), GeomFromEWKT('SRID=4674;POINT (-39.4312 -3.120934)'))) / (select extract(epoch from '2026-07-31 04:36:21'::timestamp) - extract(epoch from '2026-07-31 04:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.431152 -3.120816)', '2026-07-31 04:36:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4312 -3.120934)'), GeomFromEWKT('SRID=4674;POINT (-39.431152 -3.120816)'))) / (select extract(epoch from '2026-07-31 04:36:27'::timestamp) - extract(epoch from '2026-07-31 04:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4312 -3.120934)'), GeomFromEWKT('SRID=4674;POINT (-39.431152 -3.120816)'))) / (select extract(epoch from '2026-07-31 04:36:27'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 48006, 'SRID=4674;POINT (-39.4311 -3.120664)', '2026-07-31 04:36:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431152 -3.120816)'), GeomFromEWKT('SRID=4674;POINT (-39.4311 -3.120664)'))) / (select extract(epoch from '2026-07-31 04:36:35'::timestamp) - extract(epoch from '2026-07-31 04:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431152 -3.120816)'), GeomFromEWKT('SRID=4674;POINT (-39.4311 -3.120664)'))) / (select extract(epoch from '2026-07-31 04:36:35'::timestamp) - extract(epoch from '2026-07-31 04:36:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.431047 -3.120569)', '2026-07-31 04:36:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4311 -3.120664)'), GeomFromEWKT('SRID=4674;POINT (-39.431047 -3.120569)'))) / (select extract(epoch from '2026-07-31 04:36:41'::timestamp) - extract(epoch from '2026-07-31 04:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4311 -3.120664)'), GeomFromEWKT('SRID=4674;POINT (-39.431047 -3.120569)'))) / (select extract(epoch from '2026-07-31 04:36:41'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 48006, 'SRID=4674;POINT (-39.431009 -3.120434)', '2026-07-31 04:36:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431047 -3.120569)'), GeomFromEWKT('SRID=4674;POINT (-39.431009 -3.120434)'))) / (select extract(epoch from '2026-07-31 04:36:48'::timestamp) - extract(epoch from '2026-07-31 04:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431047 -3.120569)'), GeomFromEWKT('SRID=4674;POINT (-39.431009 -3.120434)'))) / (select extract(epoch from '2026-07-31 04:36:48'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 48006, 'SRID=4674;POINT (-39.430938 -3.12025)', '2026-07-31 04:36:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431009 -3.120434)'), GeomFromEWKT('SRID=4674;POINT (-39.430938 -3.12025)'))) / (select extract(epoch from '2026-07-31 04:36:57'::timestamp) - extract(epoch from '2026-07-31 04:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431009 -3.120434)'), GeomFromEWKT('SRID=4674;POINT (-39.430938 -3.12025)'))) / (select extract(epoch from '2026-07-31 04:36:57'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 48006, 'SRID=4674;POINT (-39.430873 -3.120078)', '2026-07-31 04:37:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430938 -3.12025)'), GeomFromEWKT('SRID=4674;POINT (-39.430873 -3.120078)'))) / (select extract(epoch from '2026-07-31 04:37:06'::timestamp) - extract(epoch from '2026-07-31 04:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430938 -3.12025)'), GeomFromEWKT('SRID=4674;POINT (-39.430873 -3.120078)'))) / (select extract(epoch from '2026-07-31 04:37:06'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 48006, 'SRID=4674;POINT (-39.430831 -3.119951)', '2026-07-31 04:37:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430873 -3.120078)'), GeomFromEWKT('SRID=4674;POINT (-39.430831 -3.119951)'))) / (select extract(epoch from '2026-07-31 04:37:12'::timestamp) - extract(epoch from '2026-07-31 04:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430873 -3.120078)'), GeomFromEWKT('SRID=4674;POINT (-39.430831 -3.119951)'))) / (select extract(epoch from '2026-07-31 04:37:12'::timestamp) - extract(epoch from '2026-07-31 04:37: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'), 48006, 'SRID=4674;POINT (-39.43077 -3.119822)', '2026-07-31 04:37:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430831 -3.119951)'), GeomFromEWKT('SRID=4674;POINT (-39.43077 -3.119822)'))) / (select extract(epoch from '2026-07-31 04:37:19'::timestamp) - extract(epoch from '2026-07-31 04:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430831 -3.119951)'), GeomFromEWKT('SRID=4674;POINT (-39.43077 -3.119822)'))) / (select extract(epoch from '2026-07-31 04:37:19'::timestamp) - extract(epoch from '2026-07-31 04:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.430731 -3.119721)', '2026-07-31 04:37:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43077 -3.119822)'), GeomFromEWKT('SRID=4674;POINT (-39.430731 -3.119721)'))) / (select extract(epoch from '2026-07-31 04:37:24'::timestamp) - extract(epoch from '2026-07-31 04:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43077 -3.119822)'), GeomFromEWKT('SRID=4674;POINT (-39.430731 -3.119721)'))) / (select extract(epoch from '2026-07-31 04:37:24'::timestamp) - extract(epoch from '2026-07-31 04:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.430678 -3.119604)', '2026-07-31 04:37:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430731 -3.119721)'), GeomFromEWKT('SRID=4674;POINT (-39.430678 -3.119604)'))) / (select extract(epoch from '2026-07-31 04:37:30'::timestamp) - extract(epoch from '2026-07-31 04:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430731 -3.119721)'), GeomFromEWKT('SRID=4674;POINT (-39.430678 -3.119604)'))) / (select extract(epoch from '2026-07-31 04:37:30'::timestamp) - extract(epoch from '2026-07-31 04:37: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'), 48006, 'SRID=4674;POINT (-39.43061 -3.119478)', '2026-07-31 04:37:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430678 -3.119604)'), GeomFromEWKT('SRID=4674;POINT (-39.43061 -3.119478)'))) / (select extract(epoch from '2026-07-31 04:37:37'::timestamp) - extract(epoch from '2026-07-31 04:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430678 -3.119604)'), GeomFromEWKT('SRID=4674;POINT (-39.43061 -3.119478)'))) / (select extract(epoch from '2026-07-31 04:37:37'::timestamp) - extract(epoch from '2026-07-31 04:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.430544 -3.119345)', '2026-07-31 04:37:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43061 -3.119478)'), GeomFromEWKT('SRID=4674;POINT (-39.430544 -3.119345)'))) / (select extract(epoch from '2026-07-31 04:37:44'::timestamp) - extract(epoch from '2026-07-31 04:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43061 -3.119478)'), GeomFromEWKT('SRID=4674;POINT (-39.430544 -3.119345)'))) / (select extract(epoch from '2026-07-31 04:37:44'::timestamp) - extract(epoch from '2026-07-31 04:37: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'), 48006, 'SRID=4674;POINT (-39.430493 -3.119213)', '2026-07-31 04:37:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430544 -3.119345)'), GeomFromEWKT('SRID=4674;POINT (-39.430493 -3.119213)'))) / (select extract(epoch from '2026-07-31 04:37:50'::timestamp) - extract(epoch from '2026-07-31 04:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430544 -3.119345)'), GeomFromEWKT('SRID=4674;POINT (-39.430493 -3.119213)'))) / (select extract(epoch from '2026-07-31 04:37:50'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.430461 -3.119084)', '2026-07-31 04:37:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430493 -3.119213)'), GeomFromEWKT('SRID=4674;POINT (-39.430461 -3.119084)'))) / (select extract(epoch from '2026-07-31 04:37:56'::timestamp) - extract(epoch from '2026-07-31 04:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430493 -3.119213)'), GeomFromEWKT('SRID=4674;POINT (-39.430461 -3.119084)'))) / (select extract(epoch from '2026-07-31 04:37:56'::timestamp) - extract(epoch from '2026-07-31 04:37: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'), 48006, 'SRID=4674;POINT (-39.430385 -3.11892)', '2026-07-31 04:38:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430461 -3.119084)'), GeomFromEWKT('SRID=4674;POINT (-39.430385 -3.11892)'))) / (select extract(epoch from '2026-07-31 04:38:04'::timestamp) - extract(epoch from '2026-07-31 04:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430461 -3.119084)'), GeomFromEWKT('SRID=4674;POINT (-39.430385 -3.11892)'))) / (select extract(epoch from '2026-07-31 04:38:04'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.430341 -3.118783)', '2026-07-31 04:38:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430385 -3.11892)'), GeomFromEWKT('SRID=4674;POINT (-39.430341 -3.118783)'))) / (select extract(epoch from '2026-07-31 04:38:11'::timestamp) - extract(epoch from '2026-07-31 04:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430385 -3.11892)'), GeomFromEWKT('SRID=4674;POINT (-39.430341 -3.118783)'))) / (select extract(epoch from '2026-07-31 04:38:11'::timestamp) - extract(epoch from '2026-07-31 04:38: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'), 48006, 'SRID=4674;POINT (-39.430305 -3.118666)', '2026-07-31 04:38:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430341 -3.118783)'), GeomFromEWKT('SRID=4674;POINT (-39.430305 -3.118666)'))) / (select extract(epoch from '2026-07-31 04:38:18'::timestamp) - extract(epoch from '2026-07-31 04:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430341 -3.118783)'), GeomFromEWKT('SRID=4674;POINT (-39.430305 -3.118666)'))) / (select extract(epoch from '2026-07-31 04:38:18'::timestamp) - extract(epoch from '2026-07-31 04:38: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'), 48006, 'SRID=4674;POINT (-39.43026 -3.118591)', '2026-07-31 04:38:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430305 -3.118666)'), GeomFromEWKT('SRID=4674;POINT (-39.43026 -3.118591)'))) / (select extract(epoch from '2026-07-31 04:38:23'::timestamp) - extract(epoch from '2026-07-31 04:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430305 -3.118666)'), GeomFromEWKT('SRID=4674;POINT (-39.43026 -3.118591)'))) / (select extract(epoch from '2026-07-31 04:38:23'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.430232 -3.118562)', '2026-07-31 04:38:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43026 -3.118591)'), GeomFromEWKT('SRID=4674;POINT (-39.430232 -3.118562)'))) / (select extract(epoch from '2026-07-31 04:38:26'::timestamp) - extract(epoch from '2026-07-31 04:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43026 -3.118591)'), GeomFromEWKT('SRID=4674;POINT (-39.430232 -3.118562)'))) / (select extract(epoch from '2026-07-31 04:38:26'::timestamp) - extract(epoch from '2026-07-31 04:38: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'), 48006, 'SRID=4674;POINT (-39.430231 -3.11855)', '2026-07-31 04:38:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430232 -3.118562)'), GeomFromEWKT('SRID=4674;POINT (-39.430231 -3.11855)'))) / (select extract(epoch from '2026-07-31 04:38:27'::timestamp) - extract(epoch from '2026-07-31 04:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430232 -3.118562)'), GeomFromEWKT('SRID=4674;POINT (-39.430231 -3.11855)'))) / (select extract(epoch from '2026-07-31 04:38:27'::timestamp) - extract(epoch from '2026-07-31 04:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.430226 -3.118535)', '2026-07-31 04:38:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430231 -3.11855)'), GeomFromEWKT('SRID=4674;POINT (-39.430226 -3.118535)'))) / (select extract(epoch from '2026-07-31 04:38:28'::timestamp) - extract(epoch from '2026-07-31 04:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430231 -3.11855)'), GeomFromEWKT('SRID=4674;POINT (-39.430226 -3.118535)'))) / (select extract(epoch from '2026-07-31 04:38:28'::timestamp) - extract(epoch from '2026-07-31 04:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.430205 -3.11848)', '2026-07-31 04:38:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430226 -3.118535)'), GeomFromEWKT('SRID=4674;POINT (-39.430205 -3.11848)'))) / (select extract(epoch from '2026-07-31 04:38:32'::timestamp) - extract(epoch from '2026-07-31 04:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430226 -3.118535)'), GeomFromEWKT('SRID=4674;POINT (-39.430205 -3.11848)'))) / (select extract(epoch from '2026-07-31 04:38:32'::timestamp) - extract(epoch from '2026-07-31 04:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.430165 -3.118365)', '2026-07-31 04:38:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430205 -3.11848)'), GeomFromEWKT('SRID=4674;POINT (-39.430165 -3.118365)'))) / (select extract(epoch from '2026-07-31 04:38:40'::timestamp) - extract(epoch from '2026-07-31 04:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430205 -3.11848)'), GeomFromEWKT('SRID=4674;POINT (-39.430165 -3.118365)'))) / (select extract(epoch from '2026-07-31 04:38:40'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.430138 -3.118239)', '2026-07-31 04:38:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430165 -3.118365)'), GeomFromEWKT('SRID=4674;POINT (-39.430138 -3.118239)'))) / (select extract(epoch from '2026-07-31 04:38:47'::timestamp) - extract(epoch from '2026-07-31 04:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430165 -3.118365)'), GeomFromEWKT('SRID=4674;POINT (-39.430138 -3.118239)'))) / (select extract(epoch from '2026-07-31 04:38:47'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.430134 -3.118221)', '2026-07-31 04:38:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430138 -3.118239)'), GeomFromEWKT('SRID=4674;POINT (-39.430134 -3.118221)'))) / (select extract(epoch from '2026-07-31 04:38:48'::timestamp) - extract(epoch from '2026-07-31 04:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430138 -3.118239)'), GeomFromEWKT('SRID=4674;POINT (-39.430134 -3.118221)'))) / (select extract(epoch from '2026-07-31 04:38:48'::timestamp) - extract(epoch from '2026-07-31 04:38: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'), 48006, 'SRID=4674;POINT (-39.430112 -3.118149)', '2026-07-31 04:38:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430134 -3.118221)'), GeomFromEWKT('SRID=4674;POINT (-39.430112 -3.118149)'))) / (select extract(epoch from '2026-07-31 04:38:52'::timestamp) - extract(epoch from '2026-07-31 04:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430134 -3.118221)'), GeomFromEWKT('SRID=4674;POINT (-39.430112 -3.118149)'))) / (select extract(epoch from '2026-07-31 04:38:52'::timestamp) - extract(epoch from '2026-07-31 04:38: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'), 48006, 'SRID=4674;POINT (-39.430097 -3.118067)', '2026-07-31 04:38:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430112 -3.118149)'), GeomFromEWKT('SRID=4674;POINT (-39.430097 -3.118067)'))) / (select extract(epoch from '2026-07-31 04:38:56'::timestamp) - extract(epoch from '2026-07-31 04:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430112 -3.118149)'), GeomFromEWKT('SRID=4674;POINT (-39.430097 -3.118067)'))) / (select extract(epoch from '2026-07-31 04:38:56'::timestamp) - extract(epoch from '2026-07-31 04:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.430087 -3.118027)', '2026-07-31 04:38:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430097 -3.118067)'), GeomFromEWKT('SRID=4674;POINT (-39.430087 -3.118027)'))) / (select extract(epoch from '2026-07-31 04:38:58'::timestamp) - extract(epoch from '2026-07-31 04:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430097 -3.118067)'), GeomFromEWKT('SRID=4674;POINT (-39.430087 -3.118027)'))) / (select extract(epoch from '2026-07-31 04:38:58'::timestamp) - extract(epoch from '2026-07-31 04:38: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'), 48006, 'SRID=4674;POINT (-39.430083 -3.118008)', '2026-07-31 04:38:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430087 -3.118027)'), GeomFromEWKT('SRID=4674;POINT (-39.430083 -3.118008)'))) / (select extract(epoch from '2026-07-31 04:38:59'::timestamp) - extract(epoch from '2026-07-31 04:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430087 -3.118027)'), GeomFromEWKT('SRID=4674;POINT (-39.430083 -3.118008)'))) / (select extract(epoch from '2026-07-31 04:38:59'::timestamp) - extract(epoch from '2026-07-31 04:38: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'), 48006, 'SRID=4674;POINT (-39.430062 -3.117947)', '2026-07-31 04:39:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430083 -3.118008)'), GeomFromEWKT('SRID=4674;POINT (-39.430062 -3.117947)'))) / (select extract(epoch from '2026-07-31 04:39:02'::timestamp) - extract(epoch from '2026-07-31 04:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430083 -3.118008)'), GeomFromEWKT('SRID=4674;POINT (-39.430062 -3.117947)'))) / (select extract(epoch from '2026-07-31 04:39:02'::timestamp) - extract(epoch from '2026-07-31 04:38: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'), 48006, 'SRID=4674;POINT (-39.430052 -3.117929)', '2026-07-31 04:39:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430062 -3.117947)'), GeomFromEWKT('SRID=4674;POINT (-39.430052 -3.117929)'))) / (select extract(epoch from '2026-07-31 04:39:03'::timestamp) - extract(epoch from '2026-07-31 04:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430062 -3.117947)'), GeomFromEWKT('SRID=4674;POINT (-39.430052 -3.117929)'))) / (select extract(epoch from '2026-07-31 04:39:03'::timestamp) - extract(epoch from '2026-07-31 04:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.429987 -3.117771)', '2026-07-31 04:39:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430052 -3.117929)'), GeomFromEWKT('SRID=4674;POINT (-39.429987 -3.117771)'))) / (select extract(epoch from '2026-07-31 04:39:11'::timestamp) - extract(epoch from '2026-07-31 04:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430052 -3.117929)'), GeomFromEWKT('SRID=4674;POINT (-39.429987 -3.117771)'))) / (select extract(epoch from '2026-07-31 04:39:11'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 48006, 'SRID=4674;POINT (-39.429933 -3.117654)', '2026-07-31 04:39:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429987 -3.117771)'), GeomFromEWKT('SRID=4674;POINT (-39.429933 -3.117654)'))) / (select extract(epoch from '2026-07-31 04:39:17'::timestamp) - extract(epoch from '2026-07-31 04:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429987 -3.117771)'), GeomFromEWKT('SRID=4674;POINT (-39.429933 -3.117654)'))) / (select extract(epoch from '2026-07-31 04:39:17'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 48006, 'SRID=4674;POINT (-39.429896 -3.11756)', '2026-07-31 04:39:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429933 -3.117654)'), GeomFromEWKT('SRID=4674;POINT (-39.429896 -3.11756)'))) / (select extract(epoch from '2026-07-31 04:39:22'::timestamp) - extract(epoch from '2026-07-31 04:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429933 -3.117654)'), GeomFromEWKT('SRID=4674;POINT (-39.429896 -3.11756)'))) / (select extract(epoch from '2026-07-31 04:39:22'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 48006, 'SRID=4674;POINT (-39.429873 -3.117506)', '2026-07-31 04:39:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429896 -3.11756)'), GeomFromEWKT('SRID=4674;POINT (-39.429873 -3.117506)'))) / (select extract(epoch from '2026-07-31 04:39:25'::timestamp) - extract(epoch from '2026-07-31 04:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429896 -3.11756)'), GeomFromEWKT('SRID=4674;POINT (-39.429873 -3.117506)'))) / (select extract(epoch from '2026-07-31 04:39:25'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 48006, 'SRID=4674;POINT (-39.429862 -3.117492)', '2026-07-31 04:39:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429873 -3.117506)'), GeomFromEWKT('SRID=4674;POINT (-39.429862 -3.117492)'))) / (select extract(epoch from '2026-07-31 04:39:26'::timestamp) - extract(epoch from '2026-07-31 04:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429873 -3.117506)'), GeomFromEWKT('SRID=4674;POINT (-39.429862 -3.117492)'))) / (select extract(epoch from '2026-07-31 04:39:26'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 48006, 'SRID=4674;POINT (-39.429815 -3.117395)', '2026-07-31 04:39:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429862 -3.117492)'), GeomFromEWKT('SRID=4674;POINT (-39.429815 -3.117395)'))) / (select extract(epoch from '2026-07-31 04:39:32'::timestamp) - extract(epoch from '2026-07-31 04:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429862 -3.117492)'), GeomFromEWKT('SRID=4674;POINT (-39.429815 -3.117395)'))) / (select extract(epoch from '2026-07-31 04:39:32'::timestamp) - extract(epoch from '2026-07-31 04:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.429775 -3.117309)', '2026-07-31 04:39:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429815 -3.117395)'), GeomFromEWKT('SRID=4674;POINT (-39.429775 -3.117309)'))) / (select extract(epoch from '2026-07-31 04:39:37'::timestamp) - extract(epoch from '2026-07-31 04:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429815 -3.117395)'), GeomFromEWKT('SRID=4674;POINT (-39.429775 -3.117309)'))) / (select extract(epoch from '2026-07-31 04:39:37'::timestamp) - extract(epoch from '2026-07-31 04:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.42977 -3.117291)', '2026-07-31 04:39:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429775 -3.117309)'), GeomFromEWKT('SRID=4674;POINT (-39.42977 -3.117291)'))) / (select extract(epoch from '2026-07-31 04:39:38'::timestamp) - extract(epoch from '2026-07-31 04:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429775 -3.117309)'), GeomFromEWKT('SRID=4674;POINT (-39.42977 -3.117291)'))) / (select extract(epoch from '2026-07-31 04:39:38'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 48006, 'SRID=4674;POINT (-39.429731 -3.117187)', '2026-07-31 04:39:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42977 -3.117291)'), GeomFromEWKT('SRID=4674;POINT (-39.429731 -3.117187)'))) / (select extract(epoch from '2026-07-31 04:39:44'::timestamp) - extract(epoch from '2026-07-31 04:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42977 -3.117291)'), GeomFromEWKT('SRID=4674;POINT (-39.429731 -3.117187)'))) / (select extract(epoch from '2026-07-31 04:39:44'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.429694 -3.117094)', '2026-07-31 04:39:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429731 -3.117187)'), GeomFromEWKT('SRID=4674;POINT (-39.429694 -3.117094)'))) / (select extract(epoch from '2026-07-31 04:39:50'::timestamp) - extract(epoch from '2026-07-31 04:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429731 -3.117187)'), GeomFromEWKT('SRID=4674;POINT (-39.429694 -3.117094)'))) / (select extract(epoch from '2026-07-31 04:39:50'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 48006, 'SRID=4674;POINT (-39.429661 -3.11702)', '2026-07-31 04:39:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429694 -3.117094)'), GeomFromEWKT('SRID=4674;POINT (-39.429661 -3.11702)'))) / (select extract(epoch from '2026-07-31 04:39:55'::timestamp) - extract(epoch from '2026-07-31 04:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429694 -3.117094)'), GeomFromEWKT('SRID=4674;POINT (-39.429661 -3.11702)'))) / (select extract(epoch from '2026-07-31 04:39:55'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 48006, 'SRID=4674;POINT (-39.429627 -3.116953)', '2026-07-31 04:39:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429661 -3.11702)'), GeomFromEWKT('SRID=4674;POINT (-39.429627 -3.116953)'))) / (select extract(epoch from '2026-07-31 04:39:59'::timestamp) - extract(epoch from '2026-07-31 04:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429661 -3.11702)'), GeomFromEWKT('SRID=4674;POINT (-39.429627 -3.116953)'))) / (select extract(epoch from '2026-07-31 04:39:59'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.429615 -3.116922)', '2026-07-31 04:40:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429627 -3.116953)'), GeomFromEWKT('SRID=4674;POINT (-39.429615 -3.116922)'))) / (select extract(epoch from '2026-07-31 04:40:01'::timestamp) - extract(epoch from '2026-07-31 04:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429627 -3.116953)'), GeomFromEWKT('SRID=4674;POINT (-39.429615 -3.116922)'))) / (select extract(epoch from '2026-07-31 04:40:01'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 48006, 'SRID=4674;POINT (-39.42957 -3.116827)', '2026-07-31 04:40:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429615 -3.116922)'), GeomFromEWKT('SRID=4674;POINT (-39.42957 -3.116827)'))) / (select extract(epoch from '2026-07-31 04:40:07'::timestamp) - extract(epoch from '2026-07-31 04:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429615 -3.116922)'), GeomFromEWKT('SRID=4674;POINT (-39.42957 -3.116827)'))) / (select extract(epoch from '2026-07-31 04:40:07'::timestamp) - extract(epoch from '2026-07-31 04:40: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'), 48006, 'SRID=4674;POINT (-39.42953 -3.116726)', '2026-07-31 04:40:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42957 -3.116827)'), GeomFromEWKT('SRID=4674;POINT (-39.42953 -3.116726)'))) / (select extract(epoch from '2026-07-31 04:40:13'::timestamp) - extract(epoch from '2026-07-31 04:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42957 -3.116827)'), GeomFromEWKT('SRID=4674;POINT (-39.42953 -3.116726)'))) / (select extract(epoch from '2026-07-31 04:40:13'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.429483 -3.116604)', '2026-07-31 04:40:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42953 -3.116726)'), GeomFromEWKT('SRID=4674;POINT (-39.429483 -3.116604)'))) / (select extract(epoch from '2026-07-31 04:40:20'::timestamp) - extract(epoch from '2026-07-31 04:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42953 -3.116726)'), GeomFromEWKT('SRID=4674;POINT (-39.429483 -3.116604)'))) / (select extract(epoch from '2026-07-31 04:40:20'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.429454 -3.116516)', '2026-07-31 04:40:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429483 -3.116604)'), GeomFromEWKT('SRID=4674;POINT (-39.429454 -3.116516)'))) / (select extract(epoch from '2026-07-31 04:40:25'::timestamp) - extract(epoch from '2026-07-31 04:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429483 -3.116604)'), GeomFromEWKT('SRID=4674;POINT (-39.429454 -3.116516)'))) / (select extract(epoch from '2026-07-31 04:40:25'::timestamp) - extract(epoch from '2026-07-31 04:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.42941 -3.116388)', '2026-07-31 04:40:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429454 -3.116516)'), GeomFromEWKT('SRID=4674;POINT (-39.42941 -3.116388)'))) / (select extract(epoch from '2026-07-31 04:40:32'::timestamp) - extract(epoch from '2026-07-31 04:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429454 -3.116516)'), GeomFromEWKT('SRID=4674;POINT (-39.42941 -3.116388)'))) / (select extract(epoch from '2026-07-31 04:40:32'::timestamp) - extract(epoch from '2026-07-31 04:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.429385 -3.116303)', '2026-07-31 04:40:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42941 -3.116388)'), GeomFromEWKT('SRID=4674;POINT (-39.429385 -3.116303)'))) / (select extract(epoch from '2026-07-31 04:40:37'::timestamp) - extract(epoch from '2026-07-31 04:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42941 -3.116388)'), GeomFromEWKT('SRID=4674;POINT (-39.429385 -3.116303)'))) / (select extract(epoch from '2026-07-31 04:40:37'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.429342 -3.116203)', '2026-07-31 04:40:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429385 -3.116303)'), GeomFromEWKT('SRID=4674;POINT (-39.429342 -3.116203)'))) / (select extract(epoch from '2026-07-31 04:40:43'::timestamp) - extract(epoch from '2026-07-31 04:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429385 -3.116303)'), GeomFromEWKT('SRID=4674;POINT (-39.429342 -3.116203)'))) / (select extract(epoch from '2026-07-31 04:40:43'::timestamp) - extract(epoch from '2026-07-31 04:40:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.429304 -3.116121)', '2026-07-31 04:40:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429342 -3.116203)'), GeomFromEWKT('SRID=4674;POINT (-39.429304 -3.116121)'))) / (select extract(epoch from '2026-07-31 04:40:48'::timestamp) - extract(epoch from '2026-07-31 04:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429342 -3.116203)'), GeomFromEWKT('SRID=4674;POINT (-39.429304 -3.116121)'))) / (select extract(epoch from '2026-07-31 04:40:48'::timestamp) - extract(epoch from '2026-07-31 04:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.429255 -3.116015)', '2026-07-31 04:40:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429304 -3.116121)'), GeomFromEWKT('SRID=4674;POINT (-39.429255 -3.116015)'))) / (select extract(epoch from '2026-07-31 04:40:55'::timestamp) - extract(epoch from '2026-07-31 04:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429304 -3.116121)'), GeomFromEWKT('SRID=4674;POINT (-39.429255 -3.116015)'))) / (select extract(epoch from '2026-07-31 04:40:55'::timestamp) - extract(epoch from '2026-07-31 04:40: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'), 48006, 'SRID=4674;POINT (-39.429233 -3.11595)', '2026-07-31 04:40:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429255 -3.116015)'), GeomFromEWKT('SRID=4674;POINT (-39.429233 -3.11595)'))) / (select extract(epoch from '2026-07-31 04:40:59'::timestamp) - extract(epoch from '2026-07-31 04:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429255 -3.116015)'), GeomFromEWKT('SRID=4674;POINT (-39.429233 -3.11595)'))) / (select extract(epoch from '2026-07-31 04:40:59'::timestamp) - extract(epoch from '2026-07-31 04:40: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'), 48006, 'SRID=4674;POINT (-39.429231 -3.11593)', '2026-07-31 04:41:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429233 -3.11595)'), GeomFromEWKT('SRID=4674;POINT (-39.429231 -3.11593)'))) / (select extract(epoch from '2026-07-31 04:41:00'::timestamp) - extract(epoch from '2026-07-31 04:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429233 -3.11595)'), GeomFromEWKT('SRID=4674;POINT (-39.429231 -3.11593)'))) / (select extract(epoch from '2026-07-31 04:41:00'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.429189 -3.115835)', '2026-07-31 04:41:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429231 -3.11593)'), GeomFromEWKT('SRID=4674;POINT (-39.429189 -3.115835)'))) / (select extract(epoch from '2026-07-31 04:41:05'::timestamp) - extract(epoch from '2026-07-31 04:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429231 -3.11593)'), GeomFromEWKT('SRID=4674;POINT (-39.429189 -3.115835)'))) / (select extract(epoch from '2026-07-31 04:41:05'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 48006, 'SRID=4674;POINT (-39.429174 -3.115804)', '2026-07-31 04:41:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429189 -3.115835)'), GeomFromEWKT('SRID=4674;POINT (-39.429174 -3.115804)'))) / (select extract(epoch from '2026-07-31 04:41:07'::timestamp) - extract(epoch from '2026-07-31 04:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429189 -3.115835)'), GeomFromEWKT('SRID=4674;POINT (-39.429174 -3.115804)'))) / (select extract(epoch from '2026-07-31 04:41:07'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.429156 -3.115774)', '2026-07-31 04:41:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429174 -3.115804)'), GeomFromEWKT('SRID=4674;POINT (-39.429156 -3.115774)'))) / (select extract(epoch from '2026-07-31 04:41:09'::timestamp) - extract(epoch from '2026-07-31 04:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429174 -3.115804)'), GeomFromEWKT('SRID=4674;POINT (-39.429156 -3.115774)'))) / (select extract(epoch from '2026-07-31 04:41:09'::timestamp) - extract(epoch from '2026-07-31 04:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.429113 -3.115701)', '2026-07-31 04:41:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429156 -3.115774)'), GeomFromEWKT('SRID=4674;POINT (-39.429113 -3.115701)'))) / (select extract(epoch from '2026-07-31 04:41:14'::timestamp) - extract(epoch from '2026-07-31 04:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429156 -3.115774)'), GeomFromEWKT('SRID=4674;POINT (-39.429113 -3.115701)'))) / (select extract(epoch from '2026-07-31 04:41:14'::timestamp) - extract(epoch from '2026-07-31 04:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.429079 -3.115628)', '2026-07-31 04:41:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429113 -3.115701)'), GeomFromEWKT('SRID=4674;POINT (-39.429079 -3.115628)'))) / (select extract(epoch from '2026-07-31 04:41:19'::timestamp) - extract(epoch from '2026-07-31 04:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429113 -3.115701)'), GeomFromEWKT('SRID=4674;POINT (-39.429079 -3.115628)'))) / (select extract(epoch from '2026-07-31 04:41:19'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 48006, 'SRID=4674;POINT (-39.429057 -3.115565)', '2026-07-31 04:41:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429079 -3.115628)'), GeomFromEWKT('SRID=4674;POINT (-39.429057 -3.115565)'))) / (select extract(epoch from '2026-07-31 04:41:23'::timestamp) - extract(epoch from '2026-07-31 04:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429079 -3.115628)'), GeomFromEWKT('SRID=4674;POINT (-39.429057 -3.115565)'))) / (select extract(epoch from '2026-07-31 04:41:23'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 48006, 'SRID=4674;POINT (-39.429048 -3.11553)', '2026-07-31 04:41:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429057 -3.115565)'), GeomFromEWKT('SRID=4674;POINT (-39.429048 -3.11553)'))) / (select extract(epoch from '2026-07-31 04:41:25'::timestamp) - extract(epoch from '2026-07-31 04:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429057 -3.115565)'), GeomFromEWKT('SRID=4674;POINT (-39.429048 -3.11553)'))) / (select extract(epoch from '2026-07-31 04:41:25'::timestamp) - extract(epoch from '2026-07-31 04:41:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.429018 -3.115435)', '2026-07-31 04:41:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429048 -3.11553)'), GeomFromEWKT('SRID=4674;POINT (-39.429018 -3.115435)'))) / (select extract(epoch from '2026-07-31 04:41:31'::timestamp) - extract(epoch from '2026-07-31 04:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429048 -3.11553)'), GeomFromEWKT('SRID=4674;POINT (-39.429018 -3.115435)'))) / (select extract(epoch from '2026-07-31 04:41:31'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 48006, 'SRID=4674;POINT (-39.429012 -3.115409)', '2026-07-31 04:41:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429018 -3.115435)'), GeomFromEWKT('SRID=4674;POINT (-39.429012 -3.115409)'))) / (select extract(epoch from '2026-07-31 04:41:33'::timestamp) - extract(epoch from '2026-07-31 04:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429018 -3.115435)'), GeomFromEWKT('SRID=4674;POINT (-39.429012 -3.115409)'))) / (select extract(epoch from '2026-07-31 04:41:33'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.429002 -3.11538)', '2026-07-31 04:41:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429012 -3.115409)'), GeomFromEWKT('SRID=4674;POINT (-39.429002 -3.11538)'))) / (select extract(epoch from '2026-07-31 04:41:35'::timestamp) - extract(epoch from '2026-07-31 04:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429012 -3.115409)'), GeomFromEWKT('SRID=4674;POINT (-39.429002 -3.11538)'))) / (select extract(epoch from '2026-07-31 04:41:35'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 48006, 'SRID=4674;POINT (-39.428965 -3.115302)', '2026-07-31 04:41:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429002 -3.11538)'), GeomFromEWKT('SRID=4674;POINT (-39.428965 -3.115302)'))) / (select extract(epoch from '2026-07-31 04:41:41'::timestamp) - extract(epoch from '2026-07-31 04:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429002 -3.11538)'), GeomFromEWKT('SRID=4674;POINT (-39.428965 -3.115302)'))) / (select extract(epoch from '2026-07-31 04:41:41'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 48006, 'SRID=4674;POINT (-39.428938 -3.115248)', '2026-07-31 04:41:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428965 -3.115302)'), GeomFromEWKT('SRID=4674;POINT (-39.428938 -3.115248)'))) / (select extract(epoch from '2026-07-31 04:41:45'::timestamp) - extract(epoch from '2026-07-31 04:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428965 -3.115302)'), GeomFromEWKT('SRID=4674;POINT (-39.428938 -3.115248)'))) / (select extract(epoch from '2026-07-31 04:41:45'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.428934 -3.11523)', '2026-07-31 04:41:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428938 -3.115248)'), GeomFromEWKT('SRID=4674;POINT (-39.428934 -3.11523)'))) / (select extract(epoch from '2026-07-31 04:41:46'::timestamp) - extract(epoch from '2026-07-31 04:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428938 -3.115248)'), GeomFromEWKT('SRID=4674;POINT (-39.428934 -3.11523)'))) / (select extract(epoch from '2026-07-31 04:41:46'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.428902 -3.115137)', '2026-07-31 04:41:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428934 -3.11523)'), GeomFromEWKT('SRID=4674;POINT (-39.428902 -3.115137)'))) / (select extract(epoch from '2026-07-31 04:41:52'::timestamp) - extract(epoch from '2026-07-31 04:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428934 -3.11523)'), GeomFromEWKT('SRID=4674;POINT (-39.428902 -3.115137)'))) / (select extract(epoch from '2026-07-31 04:41:52'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 48006, 'SRID=4674;POINT (-39.428867 -3.115039)', '2026-07-31 04:41:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428902 -3.115137)'), GeomFromEWKT('SRID=4674;POINT (-39.428867 -3.115039)'))) / (select extract(epoch from '2026-07-31 04:41:58'::timestamp) - extract(epoch from '2026-07-31 04:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428902 -3.115137)'), GeomFromEWKT('SRID=4674;POINT (-39.428867 -3.115039)'))) / (select extract(epoch from '2026-07-31 04:41:58'::timestamp) - extract(epoch from '2026-07-31 04:41:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.428812 -3.114934)', '2026-07-31 04:42:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428867 -3.115039)'), GeomFromEWKT('SRID=4674;POINT (-39.428812 -3.114934)'))) / (select extract(epoch from '2026-07-31 04:42:05'::timestamp) - extract(epoch from '2026-07-31 04:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428867 -3.115039)'), GeomFromEWKT('SRID=4674;POINT (-39.428812 -3.114934)'))) / (select extract(epoch from '2026-07-31 04:42:05'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 48006, 'SRID=4674;POINT (-39.428766 -3.114846)', '2026-07-31 04:42:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428812 -3.114934)'), GeomFromEWKT('SRID=4674;POINT (-39.428766 -3.114846)'))) / (select extract(epoch from '2026-07-31 04:42:11'::timestamp) - extract(epoch from '2026-07-31 04:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428812 -3.114934)'), GeomFromEWKT('SRID=4674;POINT (-39.428766 -3.114846)'))) / (select extract(epoch from '2026-07-31 04:42:11'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.428751 -3.114813)', '2026-07-31 04:42:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428766 -3.114846)'), GeomFromEWKT('SRID=4674;POINT (-39.428751 -3.114813)'))) / (select extract(epoch from '2026-07-31 04:42:13'::timestamp) - extract(epoch from '2026-07-31 04:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428766 -3.114846)'), GeomFromEWKT('SRID=4674;POINT (-39.428751 -3.114813)'))) / (select extract(epoch from '2026-07-31 04:42:13'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 48006, 'SRID=4674;POINT (-39.428732 -3.114766)', '2026-07-31 04:42:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428751 -3.114813)'), GeomFromEWKT('SRID=4674;POINT (-39.428732 -3.114766)'))) / (select extract(epoch from '2026-07-31 04:42:16'::timestamp) - extract(epoch from '2026-07-31 04:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428751 -3.114813)'), GeomFromEWKT('SRID=4674;POINT (-39.428732 -3.114766)'))) / (select extract(epoch from '2026-07-31 04:42:16'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 48006, 'SRID=4674;POINT (-39.428725 -3.114751)', '2026-07-31 04:42:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428732 -3.114766)'), GeomFromEWKT('SRID=4674;POINT (-39.428725 -3.114751)'))) / (select extract(epoch from '2026-07-31 04:42:17'::timestamp) - extract(epoch from '2026-07-31 04:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428732 -3.114766)'), GeomFromEWKT('SRID=4674;POINT (-39.428725 -3.114751)'))) / (select extract(epoch from '2026-07-31 04:42:17'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 48006, 'SRID=4674;POINT (-39.428692 -3.114682)', '2026-07-31 04:42:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428725 -3.114751)'), GeomFromEWKT('SRID=4674;POINT (-39.428692 -3.114682)'))) / (select extract(epoch from '2026-07-31 04:42:21'::timestamp) - extract(epoch from '2026-07-31 04:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428725 -3.114751)'), GeomFromEWKT('SRID=4674;POINT (-39.428692 -3.114682)'))) / (select extract(epoch from '2026-07-31 04:42:21'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 48006, 'SRID=4674;POINT (-39.428648 -3.114589)', '2026-07-31 04:42:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428692 -3.114682)'), GeomFromEWKT('SRID=4674;POINT (-39.428648 -3.114589)'))) / (select extract(epoch from '2026-07-31 04:42:27'::timestamp) - extract(epoch from '2026-07-31 04:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428692 -3.114682)'), GeomFromEWKT('SRID=4674;POINT (-39.428648 -3.114589)'))) / (select extract(epoch from '2026-07-31 04:42:27'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 48006, 'SRID=4674;POINT (-39.42861 -3.114502)', '2026-07-31 04:42:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428648 -3.114589)'), GeomFromEWKT('SRID=4674;POINT (-39.42861 -3.114502)'))) / (select extract(epoch from '2026-07-31 04:42:33'::timestamp) - extract(epoch from '2026-07-31 04:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428648 -3.114589)'), GeomFromEWKT('SRID=4674;POINT (-39.42861 -3.114502)'))) / (select extract(epoch from '2026-07-31 04:42:33'::timestamp) - extract(epoch from '2026-07-31 04:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.428564 -3.114414)', '2026-07-31 04:42:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42861 -3.114502)'), GeomFromEWKT('SRID=4674;POINT (-39.428564 -3.114414)'))) / (select extract(epoch from '2026-07-31 04:42:39'::timestamp) - extract(epoch from '2026-07-31 04:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42861 -3.114502)'), GeomFromEWKT('SRID=4674;POINT (-39.428564 -3.114414)'))) / (select extract(epoch from '2026-07-31 04:42:39'::timestamp) - extract(epoch from '2026-07-31 04:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.428526 -3.114329)', '2026-07-31 04:42:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428564 -3.114414)'), GeomFromEWKT('SRID=4674;POINT (-39.428526 -3.114329)'))) / (select extract(epoch from '2026-07-31 04:42:45'::timestamp) - extract(epoch from '2026-07-31 04:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428564 -3.114414)'), GeomFromEWKT('SRID=4674;POINT (-39.428526 -3.114329)'))) / (select extract(epoch from '2026-07-31 04:42:45'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 48006, 'SRID=4674;POINT (-39.428502 -3.114246)', '2026-07-31 04:42:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428526 -3.114329)'), GeomFromEWKT('SRID=4674;POINT (-39.428502 -3.114246)'))) / (select extract(epoch from '2026-07-31 04:42:50'::timestamp) - extract(epoch from '2026-07-31 04:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428526 -3.114329)'), GeomFromEWKT('SRID=4674;POINT (-39.428502 -3.114246)'))) / (select extract(epoch from '2026-07-31 04:42:50'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 48006, 'SRID=4674;POINT (-39.428438 -3.114144)', '2026-07-31 04:42:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428502 -3.114246)'), GeomFromEWKT('SRID=4674;POINT (-39.428438 -3.114144)'))) / (select extract(epoch from '2026-07-31 04:42:57'::timestamp) - extract(epoch from '2026-07-31 04:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428502 -3.114246)'), GeomFromEWKT('SRID=4674;POINT (-39.428438 -3.114144)'))) / (select extract(epoch from '2026-07-31 04:42:57'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.428397 -3.114049)', '2026-07-31 04:43:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428438 -3.114144)'), GeomFromEWKT('SRID=4674;POINT (-39.428397 -3.114049)'))) / (select extract(epoch from '2026-07-31 04:43:03'::timestamp) - extract(epoch from '2026-07-31 04:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428438 -3.114144)'), GeomFromEWKT('SRID=4674;POINT (-39.428397 -3.114049)'))) / (select extract(epoch from '2026-07-31 04:43:03'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 48006, 'SRID=4674;POINT (-39.428366 -3.113968)', '2026-07-31 04:43:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428397 -3.114049)'), GeomFromEWKT('SRID=4674;POINT (-39.428366 -3.113968)'))) / (select extract(epoch from '2026-07-31 04:43:08'::timestamp) - extract(epoch from '2026-07-31 04:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428397 -3.114049)'), GeomFromEWKT('SRID=4674;POINT (-39.428366 -3.113968)'))) / (select extract(epoch from '2026-07-31 04:43:08'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.428354 -3.113942)', '2026-07-31 04:43:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428366 -3.113968)'), GeomFromEWKT('SRID=4674;POINT (-39.428354 -3.113942)'))) / (select extract(epoch from '2026-07-31 04:43:10'::timestamp) - extract(epoch from '2026-07-31 04:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428366 -3.113968)'), GeomFromEWKT('SRID=4674;POINT (-39.428354 -3.113942)'))) / (select extract(epoch from '2026-07-31 04:43:10'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 48006, 'SRID=4674;POINT (-39.428346 -3.113911)', '2026-07-31 04:43:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428354 -3.113942)'), GeomFromEWKT('SRID=4674;POINT (-39.428346 -3.113911)'))) / (select extract(epoch from '2026-07-31 04:43:12'::timestamp) - extract(epoch from '2026-07-31 04:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428354 -3.113942)'), GeomFromEWKT('SRID=4674;POINT (-39.428346 -3.113911)'))) / (select extract(epoch from '2026-07-31 04:43:12'::timestamp) - extract(epoch from '2026-07-31 04:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.428337 -3.113896)', '2026-07-31 04:43:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428346 -3.113911)'), GeomFromEWKT('SRID=4674;POINT (-39.428337 -3.113896)'))) / (select extract(epoch from '2026-07-31 04:43:13'::timestamp) - extract(epoch from '2026-07-31 04:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428346 -3.113911)'), GeomFromEWKT('SRID=4674;POINT (-39.428337 -3.113896)'))) / (select extract(epoch from '2026-07-31 04:43:13'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 48006, 'SRID=4674;POINT (-39.428323 -3.113866)', '2026-07-31 04:43:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428337 -3.113896)'), GeomFromEWKT('SRID=4674;POINT (-39.428323 -3.113866)'))) / (select extract(epoch from '2026-07-31 04:43:15'::timestamp) - extract(epoch from '2026-07-31 04:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428337 -3.113896)'), GeomFromEWKT('SRID=4674;POINT (-39.428323 -3.113866)'))) / (select extract(epoch from '2026-07-31 04:43:15'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 48006, 'SRID=4674;POINT (-39.428304 -3.113795)', '2026-07-31 04:43:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428323 -3.113866)'), GeomFromEWKT('SRID=4674;POINT (-39.428304 -3.113795)'))) / (select extract(epoch from '2026-07-31 04:43:19'::timestamp) - extract(epoch from '2026-07-31 04:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428323 -3.113866)'), GeomFromEWKT('SRID=4674;POINT (-39.428304 -3.113795)'))) / (select extract(epoch from '2026-07-31 04:43:19'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 48006, 'SRID=4674;POINT (-39.428264 -3.11371)', '2026-07-31 04:43:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428304 -3.113795)'), GeomFromEWKT('SRID=4674;POINT (-39.428264 -3.11371)'))) / (select extract(epoch from '2026-07-31 04:43:24'::timestamp) - extract(epoch from '2026-07-31 04:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428304 -3.113795)'), GeomFromEWKT('SRID=4674;POINT (-39.428264 -3.11371)'))) / (select extract(epoch from '2026-07-31 04:43:24'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 48006, 'SRID=4674;POINT (-39.428206 -3.113605)', '2026-07-31 04:43:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428264 -3.11371)'), GeomFromEWKT('SRID=4674;POINT (-39.428206 -3.113605)'))) / (select extract(epoch from '2026-07-31 04:43:30'::timestamp) - extract(epoch from '2026-07-31 04:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428264 -3.11371)'), GeomFromEWKT('SRID=4674;POINT (-39.428206 -3.113605)'))) / (select extract(epoch from '2026-07-31 04:43:30'::timestamp) - extract(epoch from '2026-07-31 04:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.428144 -3.113485)', '2026-07-31 04:43:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428206 -3.113605)'), GeomFromEWKT('SRID=4674;POINT (-39.428144 -3.113485)'))) / (select extract(epoch from '2026-07-31 04:43:37'::timestamp) - extract(epoch from '2026-07-31 04:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428206 -3.113605)'), GeomFromEWKT('SRID=4674;POINT (-39.428144 -3.113485)'))) / (select extract(epoch from '2026-07-31 04:43:37'::timestamp) - extract(epoch from '2026-07-31 04:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.428086 -3.113371)', '2026-07-31 04:43:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428144 -3.113485)'), GeomFromEWKT('SRID=4674;POINT (-39.428086 -3.113371)'))) / (select extract(epoch from '2026-07-31 04:43:44'::timestamp) - extract(epoch from '2026-07-31 04:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428144 -3.113485)'), GeomFromEWKT('SRID=4674;POINT (-39.428086 -3.113371)'))) / (select extract(epoch from '2026-07-31 04:43:44'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 48006, 'SRID=4674;POINT (-39.428054 -3.113292)', '2026-07-31 04:43:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428086 -3.113371)'), GeomFromEWKT('SRID=4674;POINT (-39.428054 -3.113292)'))) / (select extract(epoch from '2026-07-31 04:43:49'::timestamp) - extract(epoch from '2026-07-31 04:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428086 -3.113371)'), GeomFromEWKT('SRID=4674;POINT (-39.428054 -3.113292)'))) / (select extract(epoch from '2026-07-31 04:43:49'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.428019 -3.113198)', '2026-07-31 04:43:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428054 -3.113292)'), GeomFromEWKT('SRID=4674;POINT (-39.428019 -3.113198)'))) / (select extract(epoch from '2026-07-31 04:43:54'::timestamp) - extract(epoch from '2026-07-31 04:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428054 -3.113292)'), GeomFromEWKT('SRID=4674;POINT (-39.428019 -3.113198)'))) / (select extract(epoch from '2026-07-31 04:43:54'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.427969 -3.113088)', '2026-07-31 04:44:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428019 -3.113198)'), GeomFromEWKT('SRID=4674;POINT (-39.427969 -3.113088)'))) / (select extract(epoch from '2026-07-31 04:44:00'::timestamp) - extract(epoch from '2026-07-31 04:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428019 -3.113198)'), GeomFromEWKT('SRID=4674;POINT (-39.427969 -3.113088)'))) / (select extract(epoch from '2026-07-31 04:44:00'::timestamp) - extract(epoch from '2026-07-31 04:43:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427918 -3.112989)', '2026-07-31 04:44:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427969 -3.113088)'), GeomFromEWKT('SRID=4674;POINT (-39.427918 -3.112989)'))) / (select extract(epoch from '2026-07-31 04:44:06'::timestamp) - extract(epoch from '2026-07-31 04:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427969 -3.113088)'), GeomFromEWKT('SRID=4674;POINT (-39.427918 -3.112989)'))) / (select extract(epoch from '2026-07-31 04:44:06'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 48006, 'SRID=4674;POINT (-39.427864 -3.112884)', '2026-07-31 04:44:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427918 -3.112989)'), GeomFromEWKT('SRID=4674;POINT (-39.427864 -3.112884)'))) / (select extract(epoch from '2026-07-31 04:44:13'::timestamp) - extract(epoch from '2026-07-31 04:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427918 -3.112989)'), GeomFromEWKT('SRID=4674;POINT (-39.427864 -3.112884)'))) / (select extract(epoch from '2026-07-31 04:44:13'::timestamp) - extract(epoch from '2026-07-31 04:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427823 -3.112781)', '2026-07-31 04:44:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427864 -3.112884)'), GeomFromEWKT('SRID=4674;POINT (-39.427823 -3.112781)'))) / (select extract(epoch from '2026-07-31 04:44:19'::timestamp) - extract(epoch from '2026-07-31 04:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427864 -3.112884)'), GeomFromEWKT('SRID=4674;POINT (-39.427823 -3.112781)'))) / (select extract(epoch from '2026-07-31 04:44:19'::timestamp) - extract(epoch from '2026-07-31 04:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427807 -3.112744)', '2026-07-31 04:44:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427823 -3.112781)'), GeomFromEWKT('SRID=4674;POINT (-39.427807 -3.112744)'))) / (select extract(epoch from '2026-07-31 04:44:21'::timestamp) - extract(epoch from '2026-07-31 04:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427823 -3.112781)'), GeomFromEWKT('SRID=4674;POINT (-39.427807 -3.112744)'))) / (select extract(epoch from '2026-07-31 04:44:21'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.427798 -3.112709)', '2026-07-31 04:44:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427807 -3.112744)'), GeomFromEWKT('SRID=4674;POINT (-39.427798 -3.112709)'))) / (select extract(epoch from '2026-07-31 04:44:23'::timestamp) - extract(epoch from '2026-07-31 04:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427807 -3.112744)'), GeomFromEWKT('SRID=4674;POINT (-39.427798 -3.112709)'))) / (select extract(epoch from '2026-07-31 04:44:23'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 48006, 'SRID=4674;POINT (-39.427789 -3.112691)', '2026-07-31 04:44:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427798 -3.112709)'), GeomFromEWKT('SRID=4674;POINT (-39.427789 -3.112691)'))) / (select extract(epoch from '2026-07-31 04:44:24'::timestamp) - extract(epoch from '2026-07-31 04:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427798 -3.112709)'), GeomFromEWKT('SRID=4674;POINT (-39.427789 -3.112691)'))) / (select extract(epoch from '2026-07-31 04:44:24'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 48006, 'SRID=4674;POINT (-39.427763 -3.112622)', '2026-07-31 04:44:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427789 -3.112691)'), GeomFromEWKT('SRID=4674;POINT (-39.427763 -3.112622)'))) / (select extract(epoch from '2026-07-31 04:44:28'::timestamp) - extract(epoch from '2026-07-31 04:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427789 -3.112691)'), GeomFromEWKT('SRID=4674;POINT (-39.427763 -3.112622)'))) / (select extract(epoch from '2026-07-31 04:44:28'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 48006, 'SRID=4674;POINT (-39.427753 -3.112606)', '2026-07-31 04:44:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427763 -3.112622)'), GeomFromEWKT('SRID=4674;POINT (-39.427753 -3.112606)'))) / (select extract(epoch from '2026-07-31 04:44:29'::timestamp) - extract(epoch from '2026-07-31 04:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427763 -3.112622)'), GeomFromEWKT('SRID=4674;POINT (-39.427753 -3.112606)'))) / (select extract(epoch from '2026-07-31 04:44:29'::timestamp) - extract(epoch from '2026-07-31 04:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427685 -3.112485)', '2026-07-31 04:44:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427753 -3.112606)'), GeomFromEWKT('SRID=4674;POINT (-39.427685 -3.112485)'))) / (select extract(epoch from '2026-07-31 04:44:36'::timestamp) - extract(epoch from '2026-07-31 04:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427753 -3.112606)'), GeomFromEWKT('SRID=4674;POINT (-39.427685 -3.112485)'))) / (select extract(epoch from '2026-07-31 04:44:36'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 48006, 'SRID=4674;POINT (-39.427642 -3.112408)', '2026-07-31 04:44:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427685 -3.112485)'), GeomFromEWKT('SRID=4674;POINT (-39.427642 -3.112408)'))) / (select extract(epoch from '2026-07-31 04:44:41'::timestamp) - extract(epoch from '2026-07-31 04:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427685 -3.112485)'), GeomFromEWKT('SRID=4674;POINT (-39.427642 -3.112408)'))) / (select extract(epoch from '2026-07-31 04:44:41'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 48006, 'SRID=4674;POINT (-39.427605 -3.112325)', '2026-07-31 04:44:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427642 -3.112408)'), GeomFromEWKT('SRID=4674;POINT (-39.427605 -3.112325)'))) / (select extract(epoch from '2026-07-31 04:44:46'::timestamp) - extract(epoch from '2026-07-31 04:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427642 -3.112408)'), GeomFromEWKT('SRID=4674;POINT (-39.427605 -3.112325)'))) / (select extract(epoch from '2026-07-31 04:44:46'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 48006, 'SRID=4674;POINT (-39.42756 -3.112225)', '2026-07-31 04:44:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427605 -3.112325)'), GeomFromEWKT('SRID=4674;POINT (-39.42756 -3.112225)'))) / (select extract(epoch from '2026-07-31 04:44:52'::timestamp) - extract(epoch from '2026-07-31 04:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427605 -3.112325)'), GeomFromEWKT('SRID=4674;POINT (-39.42756 -3.112225)'))) / (select extract(epoch from '2026-07-31 04:44:52'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 48006, 'SRID=4674;POINT (-39.427493 -3.11209)', '2026-07-31 04:45:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42756 -3.112225)'), GeomFromEWKT('SRID=4674;POINT (-39.427493 -3.11209)'))) / (select extract(epoch from '2026-07-31 04:45:00'::timestamp) - extract(epoch from '2026-07-31 04:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42756 -3.112225)'), GeomFromEWKT('SRID=4674;POINT (-39.427493 -3.11209)'))) / (select extract(epoch from '2026-07-31 04:45:00'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 48006, 'SRID=4674;POINT (-39.42747 -3.112059)', '2026-07-31 04:45:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427493 -3.11209)'), GeomFromEWKT('SRID=4674;POINT (-39.42747 -3.112059)'))) / (select extract(epoch from '2026-07-31 04:45:02'::timestamp) - extract(epoch from '2026-07-31 04:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427493 -3.11209)'), GeomFromEWKT('SRID=4674;POINT (-39.42747 -3.112059)'))) / (select extract(epoch from '2026-07-31 04:45:02'::timestamp) - extract(epoch from '2026-07-31 04:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427441 -3.112009)', '2026-07-31 04:45:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42747 -3.112059)'), GeomFromEWKT('SRID=4674;POINT (-39.427441 -3.112009)'))) / (select extract(epoch from '2026-07-31 04:45:05'::timestamp) - extract(epoch from '2026-07-31 04:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42747 -3.112059)'), GeomFromEWKT('SRID=4674;POINT (-39.427441 -3.112009)'))) / (select extract(epoch from '2026-07-31 04:45:05'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 48006, 'SRID=4674;POINT (-39.427387 -3.111916)', '2026-07-31 04:45:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427441 -3.112009)'), GeomFromEWKT('SRID=4674;POINT (-39.427387 -3.111916)'))) / (select extract(epoch from '2026-07-31 04:45:11'::timestamp) - extract(epoch from '2026-07-31 04:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427441 -3.112009)'), GeomFromEWKT('SRID=4674;POINT (-39.427387 -3.111916)'))) / (select extract(epoch from '2026-07-31 04:45:11'::timestamp) - extract(epoch from '2026-07-31 04:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427365 -3.111874)', '2026-07-31 04:45:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427387 -3.111916)'), GeomFromEWKT('SRID=4674;POINT (-39.427365 -3.111874)'))) / (select extract(epoch from '2026-07-31 04:45:14'::timestamp) - extract(epoch from '2026-07-31 04:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427387 -3.111916)'), GeomFromEWKT('SRID=4674;POINT (-39.427365 -3.111874)'))) / (select extract(epoch from '2026-07-31 04:45:14'::timestamp) - extract(epoch from '2026-07-31 04:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427349 -3.111848)', '2026-07-31 04:45:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427365 -3.111874)'), GeomFromEWKT('SRID=4674;POINT (-39.427349 -3.111848)'))) / (select extract(epoch from '2026-07-31 04:45:16'::timestamp) - extract(epoch from '2026-07-31 04:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427365 -3.111874)'), GeomFromEWKT('SRID=4674;POINT (-39.427349 -3.111848)'))) / (select extract(epoch from '2026-07-31 04:45:16'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 48006, 'SRID=4674;POINT (-39.42731 -3.111756)', '2026-07-31 04:45:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427349 -3.111848)'), GeomFromEWKT('SRID=4674;POINT (-39.42731 -3.111756)'))) / (select extract(epoch from '2026-07-31 04:45:22'::timestamp) - extract(epoch from '2026-07-31 04:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427349 -3.111848)'), GeomFromEWKT('SRID=4674;POINT (-39.42731 -3.111756)'))) / (select extract(epoch from '2026-07-31 04:45:22'::timestamp) - extract(epoch from '2026-07-31 04:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427278 -3.111652)', '2026-07-31 04:45:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42731 -3.111756)'), GeomFromEWKT('SRID=4674;POINT (-39.427278 -3.111652)'))) / (select extract(epoch from '2026-07-31 04:45:28'::timestamp) - extract(epoch from '2026-07-31 04:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42731 -3.111756)'), GeomFromEWKT('SRID=4674;POINT (-39.427278 -3.111652)'))) / (select extract(epoch from '2026-07-31 04:45:28'::timestamp) - extract(epoch from '2026-07-31 04:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427234 -3.111544)', '2026-07-31 04:45:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427278 -3.111652)'), GeomFromEWKT('SRID=4674;POINT (-39.427234 -3.111544)'))) / (select extract(epoch from '2026-07-31 04:45:34'::timestamp) - extract(epoch from '2026-07-31 04:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427278 -3.111652)'), GeomFromEWKT('SRID=4674;POINT (-39.427234 -3.111544)'))) / (select extract(epoch from '2026-07-31 04:45:34'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 48006, 'SRID=4674;POINT (-39.427204 -3.111456)', '2026-07-31 04:45:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427234 -3.111544)'), GeomFromEWKT('SRID=4674;POINT (-39.427204 -3.111456)'))) / (select extract(epoch from '2026-07-31 04:45:39'::timestamp) - extract(epoch from '2026-07-31 04:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427234 -3.111544)'), GeomFromEWKT('SRID=4674;POINT (-39.427204 -3.111456)'))) / (select extract(epoch from '2026-07-31 04:45:39'::timestamp) - extract(epoch from '2026-07-31 04:45:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427162 -3.111351)', '2026-07-31 04:45:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427204 -3.111456)'), GeomFromEWKT('SRID=4674;POINT (-39.427162 -3.111351)'))) / (select extract(epoch from '2026-07-31 04:45:45'::timestamp) - extract(epoch from '2026-07-31 04:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427204 -3.111456)'), GeomFromEWKT('SRID=4674;POINT (-39.427162 -3.111351)'))) / (select extract(epoch from '2026-07-31 04:45:45'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 48006, 'SRID=4674;POINT (-39.427126 -3.111262)', '2026-07-31 04:45:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427162 -3.111351)'), GeomFromEWKT('SRID=4674;POINT (-39.427126 -3.111262)'))) / (select extract(epoch from '2026-07-31 04:45:50'::timestamp) - extract(epoch from '2026-07-31 04:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427162 -3.111351)'), GeomFromEWKT('SRID=4674;POINT (-39.427126 -3.111262)'))) / (select extract(epoch from '2026-07-31 04:45:50'::timestamp) - extract(epoch from '2026-07-31 04:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427072 -3.111162)', '2026-07-31 04:45:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427126 -3.111262)'), GeomFromEWKT('SRID=4674;POINT (-39.427072 -3.111162)'))) / (select extract(epoch from '2026-07-31 04:45:57'::timestamp) - extract(epoch from '2026-07-31 04:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427126 -3.111262)'), GeomFromEWKT('SRID=4674;POINT (-39.427072 -3.111162)'))) / (select extract(epoch from '2026-07-31 04:45:57'::timestamp) - extract(epoch from '2026-07-31 04:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427035 -3.111073)', '2026-07-31 04:46:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427072 -3.111162)'), GeomFromEWKT('SRID=4674;POINT (-39.427035 -3.111073)'))) / (select extract(epoch from '2026-07-31 04:46:03'::timestamp) - extract(epoch from '2026-07-31 04:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427072 -3.111162)'), GeomFromEWKT('SRID=4674;POINT (-39.427035 -3.111073)'))) / (select extract(epoch from '2026-07-31 04:46:03'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 48006, 'SRID=4674;POINT (-39.427026 -3.111057)', '2026-07-31 04:46:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427035 -3.111073)'), GeomFromEWKT('SRID=4674;POINT (-39.427026 -3.111057)'))) / (select extract(epoch from '2026-07-31 04:46:04'::timestamp) - extract(epoch from '2026-07-31 04:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427035 -3.111073)'), GeomFromEWKT('SRID=4674;POINT (-39.427026 -3.111057)'))) / (select extract(epoch from '2026-07-31 04:46:04'::timestamp) - extract(epoch from '2026-07-31 04:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.427 -3.111007)', '2026-07-31 04:46:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427026 -3.111057)'), GeomFromEWKT('SRID=4674;POINT (-39.427 -3.111007)'))) / (select extract(epoch from '2026-07-31 04:46:07'::timestamp) - extract(epoch from '2026-07-31 04:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427026 -3.111057)'), GeomFromEWKT('SRID=4674;POINT (-39.427 -3.111007)'))) / (select extract(epoch from '2026-07-31 04:46:07'::timestamp) - extract(epoch from '2026-07-31 04:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426961 -3.110931)', '2026-07-31 04:46:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427 -3.111007)'), GeomFromEWKT('SRID=4674;POINT (-39.426961 -3.110931)'))) / (select extract(epoch from '2026-07-31 04:46:12'::timestamp) - extract(epoch from '2026-07-31 04:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427 -3.111007)'), GeomFromEWKT('SRID=4674;POINT (-39.426961 -3.110931)'))) / (select extract(epoch from '2026-07-31 04:46:12'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.426924 -3.110828)', '2026-07-31 04:46:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426961 -3.110931)'), GeomFromEWKT('SRID=4674;POINT (-39.426924 -3.110828)'))) / (select extract(epoch from '2026-07-31 04:46:18'::timestamp) - extract(epoch from '2026-07-31 04:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426961 -3.110931)'), GeomFromEWKT('SRID=4674;POINT (-39.426924 -3.110828)'))) / (select extract(epoch from '2026-07-31 04:46:18'::timestamp) - extract(epoch from '2026-07-31 04:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426894 -3.11075)', '2026-07-31 04:46:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426924 -3.110828)'), GeomFromEWKT('SRID=4674;POINT (-39.426894 -3.11075)'))) / (select extract(epoch from '2026-07-31 04:46:22'::timestamp) - extract(epoch from '2026-07-31 04:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426924 -3.110828)'), GeomFromEWKT('SRID=4674;POINT (-39.426894 -3.11075)'))) / (select extract(epoch from '2026-07-31 04:46:22'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.426885 -3.110706)', '2026-07-31 04:46:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426894 -3.11075)'), GeomFromEWKT('SRID=4674;POINT (-39.426885 -3.110706)'))) / (select extract(epoch from '2026-07-31 04:46:24'::timestamp) - extract(epoch from '2026-07-31 04:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426894 -3.11075)'), GeomFromEWKT('SRID=4674;POINT (-39.426885 -3.110706)'))) / (select extract(epoch from '2026-07-31 04:46:24'::timestamp) - extract(epoch from '2026-07-31 04:46:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426871 -3.110666)', '2026-07-31 04:46:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426885 -3.110706)'), GeomFromEWKT('SRID=4674;POINT (-39.426871 -3.110666)'))) / (select extract(epoch from '2026-07-31 04:46:26'::timestamp) - extract(epoch from '2026-07-31 04:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426885 -3.110706)'), GeomFromEWKT('SRID=4674;POINT (-39.426871 -3.110666)'))) / (select extract(epoch from '2026-07-31 04:46:26'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.426835 -3.110545)', '2026-07-31 04:46:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426871 -3.110666)'), GeomFromEWKT('SRID=4674;POINT (-39.426835 -3.110545)'))) / (select extract(epoch from '2026-07-31 04:46:32'::timestamp) - extract(epoch from '2026-07-31 04:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426871 -3.110666)'), GeomFromEWKT('SRID=4674;POINT (-39.426835 -3.110545)'))) / (select extract(epoch from '2026-07-31 04:46:32'::timestamp) - extract(epoch from '2026-07-31 04:46:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426816 -3.110449)', '2026-07-31 04:46:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426835 -3.110545)'), GeomFromEWKT('SRID=4674;POINT (-39.426816 -3.110449)'))) / (select extract(epoch from '2026-07-31 04:46:37'::timestamp) - extract(epoch from '2026-07-31 04:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426835 -3.110545)'), GeomFromEWKT('SRID=4674;POINT (-39.426816 -3.110449)'))) / (select extract(epoch from '2026-07-31 04:46:37'::timestamp) - extract(epoch from '2026-07-31 04:46:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426792 -3.110327)', '2026-07-31 04:46:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426816 -3.110449)'), GeomFromEWKT('SRID=4674;POINT (-39.426792 -3.110327)'))) / (select extract(epoch from '2026-07-31 04:46:43'::timestamp) - extract(epoch from '2026-07-31 04:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426816 -3.110449)'), GeomFromEWKT('SRID=4674;POINT (-39.426792 -3.110327)'))) / (select extract(epoch from '2026-07-31 04:46:43'::timestamp) - extract(epoch from '2026-07-31 04:46:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426761 -3.110204)', '2026-07-31 04:46:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426792 -3.110327)'), GeomFromEWKT('SRID=4674;POINT (-39.426761 -3.110204)'))) / (select extract(epoch from '2026-07-31 04:46:49'::timestamp) - extract(epoch from '2026-07-31 04:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426792 -3.110327)'), GeomFromEWKT('SRID=4674;POINT (-39.426761 -3.110204)'))) / (select extract(epoch from '2026-07-31 04:46:49'::timestamp) - extract(epoch from '2026-07-31 04:46:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426748 -3.110149)', '2026-07-31 04:46:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426761 -3.110204)'), GeomFromEWKT('SRID=4674;POINT (-39.426748 -3.110149)'))) / (select extract(epoch from '2026-07-31 04:46:52'::timestamp) - extract(epoch from '2026-07-31 04:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426761 -3.110204)'), GeomFromEWKT('SRID=4674;POINT (-39.426748 -3.110149)'))) / (select extract(epoch from '2026-07-31 04:46:52'::timestamp) - extract(epoch from '2026-07-31 04:46:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426739 -3.110113)', '2026-07-31 04:46:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426748 -3.110149)'), GeomFromEWKT('SRID=4674;POINT (-39.426739 -3.110113)'))) / (select extract(epoch from '2026-07-31 04:46:54'::timestamp) - extract(epoch from '2026-07-31 04:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426748 -3.110149)'), GeomFromEWKT('SRID=4674;POINT (-39.426739 -3.110113)'))) / (select extract(epoch from '2026-07-31 04:46:54'::timestamp) - extract(epoch from '2026-07-31 04:46: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'), 48006, 'SRID=4674;POINT (-39.426715 -3.110008)', '2026-07-31 04:47:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426739 -3.110113)'), GeomFromEWKT('SRID=4674;POINT (-39.426715 -3.110008)'))) / (select extract(epoch from '2026-07-31 04:47:00'::timestamp) - extract(epoch from '2026-07-31 04:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426739 -3.110113)'), GeomFromEWKT('SRID=4674;POINT (-39.426715 -3.110008)'))) / (select extract(epoch from '2026-07-31 04:47:00'::timestamp) - extract(epoch from '2026-07-31 04:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426708 -3.109942)', '2026-07-31 04:47:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426715 -3.110008)'), GeomFromEWKT('SRID=4674;POINT (-39.426708 -3.109942)'))) / (select extract(epoch from '2026-07-31 04:47:04'::timestamp) - extract(epoch from '2026-07-31 04:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426715 -3.110008)'), GeomFromEWKT('SRID=4674;POINT (-39.426708 -3.109942)'))) / (select extract(epoch from '2026-07-31 04:47:04'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 48006, 'SRID=4674;POINT (-39.4267 -3.109923)', '2026-07-31 04:47:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426708 -3.109942)'), GeomFromEWKT('SRID=4674;POINT (-39.4267 -3.109923)'))) / (select extract(epoch from '2026-07-31 04:47:05'::timestamp) - extract(epoch from '2026-07-31 04:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426708 -3.109942)'), GeomFromEWKT('SRID=4674;POINT (-39.4267 -3.109923)'))) / (select extract(epoch from '2026-07-31 04:47:05'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 48006, 'SRID=4674;POINT (-39.426666 -3.109791)', '2026-07-31 04:47:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4267 -3.109923)'), GeomFromEWKT('SRID=4674;POINT (-39.426666 -3.109791)'))) / (select extract(epoch from '2026-07-31 04:47:12'::timestamp) - extract(epoch from '2026-07-31 04:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4267 -3.109923)'), GeomFromEWKT('SRID=4674;POINT (-39.426666 -3.109791)'))) / (select extract(epoch from '2026-07-31 04:47:12'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.426637 -3.109698)', '2026-07-31 04:47:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426666 -3.109791)'), GeomFromEWKT('SRID=4674;POINT (-39.426637 -3.109698)'))) / (select extract(epoch from '2026-07-31 04:47:17'::timestamp) - extract(epoch from '2026-07-31 04:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426666 -3.109791)'), GeomFromEWKT('SRID=4674;POINT (-39.426637 -3.109698)'))) / (select extract(epoch from '2026-07-31 04:47:17'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 48006, 'SRID=4674;POINT (-39.426609 -3.109602)', '2026-07-31 04:47:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426637 -3.109698)'), GeomFromEWKT('SRID=4674;POINT (-39.426609 -3.109602)'))) / (select extract(epoch from '2026-07-31 04:47:22'::timestamp) - extract(epoch from '2026-07-31 04:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426637 -3.109698)'), GeomFromEWKT('SRID=4674;POINT (-39.426609 -3.109602)'))) / (select extract(epoch from '2026-07-31 04:47:22'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 48006, 'SRID=4674;POINT (-39.426563 -3.109475)', '2026-07-31 04:47:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426609 -3.109602)'), GeomFromEWKT('SRID=4674;POINT (-39.426563 -3.109475)'))) / (select extract(epoch from '2026-07-31 04:47:29'::timestamp) - extract(epoch from '2026-07-31 04:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426609 -3.109602)'), GeomFromEWKT('SRID=4674;POINT (-39.426563 -3.109475)'))) / (select extract(epoch from '2026-07-31 04:47:29'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 48006, 'SRID=4674;POINT (-39.426531 -3.109382)', '2026-07-31 04:47:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426563 -3.109475)'), GeomFromEWKT('SRID=4674;POINT (-39.426531 -3.109382)'))) / (select extract(epoch from '2026-07-31 04:47:35'::timestamp) - extract(epoch from '2026-07-31 04:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426563 -3.109475)'), GeomFromEWKT('SRID=4674;POINT (-39.426531 -3.109382)'))) / (select extract(epoch from '2026-07-31 04:47:35'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 48006, 'SRID=4674;POINT (-39.426505 -3.109288)', '2026-07-31 04:47:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426531 -3.109382)'), GeomFromEWKT('SRID=4674;POINT (-39.426505 -3.109288)'))) / (select extract(epoch from '2026-07-31 04:47:40'::timestamp) - extract(epoch from '2026-07-31 04:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426531 -3.109382)'), GeomFromEWKT('SRID=4674;POINT (-39.426505 -3.109288)'))) / (select extract(epoch from '2026-07-31 04:47:40'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.426458 -3.109159)', '2026-07-31 04:47:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426505 -3.109288)'), GeomFromEWKT('SRID=4674;POINT (-39.426458 -3.109159)'))) / (select extract(epoch from '2026-07-31 04:47:47'::timestamp) - extract(epoch from '2026-07-31 04:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426505 -3.109288)'), GeomFromEWKT('SRID=4674;POINT (-39.426458 -3.109159)'))) / (select extract(epoch from '2026-07-31 04:47:47'::timestamp) - extract(epoch from '2026-07-31 04:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426415 -3.109028)', '2026-07-31 04:47:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426458 -3.109159)'), GeomFromEWKT('SRID=4674;POINT (-39.426415 -3.109028)'))) / (select extract(epoch from '2026-07-31 04:47:54'::timestamp) - extract(epoch from '2026-07-31 04:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426458 -3.109159)'), GeomFromEWKT('SRID=4674;POINT (-39.426415 -3.109028)'))) / (select extract(epoch from '2026-07-31 04:47:54'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 48006, 'SRID=4674;POINT (-39.426382 -3.108915)', '2026-07-31 04:48:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426415 -3.109028)'), GeomFromEWKT('SRID=4674;POINT (-39.426382 -3.108915)'))) / (select extract(epoch from '2026-07-31 04:48:00'::timestamp) - extract(epoch from '2026-07-31 04:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426415 -3.109028)'), GeomFromEWKT('SRID=4674;POINT (-39.426382 -3.108915)'))) / (select extract(epoch from '2026-07-31 04:48:00'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 48006, 'SRID=4674;POINT (-39.426361 -3.10885)', '2026-07-31 04:48:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426382 -3.108915)'), GeomFromEWKT('SRID=4674;POINT (-39.426361 -3.10885)'))) / (select extract(epoch from '2026-07-31 04:48:04'::timestamp) - extract(epoch from '2026-07-31 04:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426382 -3.108915)'), GeomFromEWKT('SRID=4674;POINT (-39.426361 -3.10885)'))) / (select extract(epoch from '2026-07-31 04:48:04'::timestamp) - extract(epoch from '2026-07-31 04:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426336 -3.108769)', '2026-07-31 04:48:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426361 -3.10885)'), GeomFromEWKT('SRID=4674;POINT (-39.426336 -3.108769)'))) / (select extract(epoch from '2026-07-31 04:48:09'::timestamp) - extract(epoch from '2026-07-31 04:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426361 -3.10885)'), GeomFromEWKT('SRID=4674;POINT (-39.426336 -3.108769)'))) / (select extract(epoch from '2026-07-31 04:48:09'::timestamp) - extract(epoch from '2026-07-31 04:48: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'), 48006, 'SRID=4674;POINT (-39.426304 -3.108676)', '2026-07-31 04:48:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426336 -3.108769)'), GeomFromEWKT('SRID=4674;POINT (-39.426304 -3.108676)'))) / (select extract(epoch from '2026-07-31 04:48:14'::timestamp) - extract(epoch from '2026-07-31 04:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426336 -3.108769)'), GeomFromEWKT('SRID=4674;POINT (-39.426304 -3.108676)'))) / (select extract(epoch from '2026-07-31 04:48:14'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.426275 -3.108586)', '2026-07-31 04:48:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426304 -3.108676)'), GeomFromEWKT('SRID=4674;POINT (-39.426275 -3.108586)'))) / (select extract(epoch from '2026-07-31 04:48:19'::timestamp) - extract(epoch from '2026-07-31 04:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426304 -3.108676)'), GeomFromEWKT('SRID=4674;POINT (-39.426275 -3.108586)'))) / (select extract(epoch from '2026-07-31 04:48:19'::timestamp) - extract(epoch from '2026-07-31 04:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.42623 -3.108459)', '2026-07-31 04:48:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426275 -3.108586)'), GeomFromEWKT('SRID=4674;POINT (-39.42623 -3.108459)'))) / (select extract(epoch from '2026-07-31 04:48:26'::timestamp) - extract(epoch from '2026-07-31 04:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426275 -3.108586)'), GeomFromEWKT('SRID=4674;POINT (-39.42623 -3.108459)'))) / (select extract(epoch from '2026-07-31 04:48:26'::timestamp) - extract(epoch from '2026-07-31 04:48: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'), 48006, 'SRID=4674;POINT (-39.42618 -3.108325)', '2026-07-31 04:48:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42623 -3.108459)'), GeomFromEWKT('SRID=4674;POINT (-39.42618 -3.108325)'))) / (select extract(epoch from '2026-07-31 04:48:33'::timestamp) - extract(epoch from '2026-07-31 04:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42623 -3.108459)'), GeomFromEWKT('SRID=4674;POINT (-39.42618 -3.108325)'))) / (select extract(epoch from '2026-07-31 04:48:33'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.426147 -3.108226)', '2026-07-31 04:48:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42618 -3.108325)'), GeomFromEWKT('SRID=4674;POINT (-39.426147 -3.108226)'))) / (select extract(epoch from '2026-07-31 04:48:39'::timestamp) - extract(epoch from '2026-07-31 04:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42618 -3.108325)'), GeomFromEWKT('SRID=4674;POINT (-39.426147 -3.108226)'))) / (select extract(epoch from '2026-07-31 04:48:39'::timestamp) - extract(epoch from '2026-07-31 04:48: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'), 48006, 'SRID=4674;POINT (-39.426133 -3.108197)', '2026-07-31 04:48:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426147 -3.108226)'), GeomFromEWKT('SRID=4674;POINT (-39.426133 -3.108197)'))) / (select extract(epoch from '2026-07-31 04:48:41'::timestamp) - extract(epoch from '2026-07-31 04:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426147 -3.108226)'), GeomFromEWKT('SRID=4674;POINT (-39.426133 -3.108197)'))) / (select extract(epoch from '2026-07-31 04:48:41'::timestamp) - extract(epoch from '2026-07-31 04:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426119 -3.108152)', '2026-07-31 04:48:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426133 -3.108197)'), GeomFromEWKT('SRID=4674;POINT (-39.426119 -3.108152)'))) / (select extract(epoch from '2026-07-31 04:48:44'::timestamp) - extract(epoch from '2026-07-31 04:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426133 -3.108197)'), GeomFromEWKT('SRID=4674;POINT (-39.426119 -3.108152)'))) / (select extract(epoch from '2026-07-31 04:48:44'::timestamp) - extract(epoch from '2026-07-31 04:48:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426085 -3.108075)', '2026-07-31 04:48:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426119 -3.108152)'), GeomFromEWKT('SRID=4674;POINT (-39.426085 -3.108075)'))) / (select extract(epoch from '2026-07-31 04:48:49'::timestamp) - extract(epoch from '2026-07-31 04:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426119 -3.108152)'), GeomFromEWKT('SRID=4674;POINT (-39.426085 -3.108075)'))) / (select extract(epoch from '2026-07-31 04:48:49'::timestamp) - extract(epoch from '2026-07-31 04:48:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426057 -3.107994)', '2026-07-31 04:48:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426085 -3.108075)'), GeomFromEWKT('SRID=4674;POINT (-39.426057 -3.107994)'))) / (select extract(epoch from '2026-07-31 04:48:54'::timestamp) - extract(epoch from '2026-07-31 04:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426085 -3.108075)'), GeomFromEWKT('SRID=4674;POINT (-39.426057 -3.107994)'))) / (select extract(epoch from '2026-07-31 04:48:54'::timestamp) - extract(epoch from '2026-07-31 04:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.426044 -3.107947)', '2026-07-31 04:48:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426057 -3.107994)'), GeomFromEWKT('SRID=4674;POINT (-39.426044 -3.107947)'))) / (select extract(epoch from '2026-07-31 04:48:57'::timestamp) - extract(epoch from '2026-07-31 04:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426057 -3.107994)'), GeomFromEWKT('SRID=4674;POINT (-39.426044 -3.107947)'))) / (select extract(epoch from '2026-07-31 04:48:57'::timestamp) - extract(epoch from '2026-07-31 04:48: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'), 48006, 'SRID=4674;POINT (-39.426042 -3.107914)', '2026-07-31 04:48:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426044 -3.107947)'), GeomFromEWKT('SRID=4674;POINT (-39.426042 -3.107914)'))) / (select extract(epoch from '2026-07-31 04:48:59'::timestamp) - extract(epoch from '2026-07-31 04:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426044 -3.107947)'), GeomFromEWKT('SRID=4674;POINT (-39.426042 -3.107914)'))) / (select extract(epoch from '2026-07-31 04:48:59'::timestamp) - extract(epoch from '2026-07-31 04:48: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'), 48006, 'SRID=4674;POINT (-39.42601 -3.107797)', '2026-07-31 04:49:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426042 -3.107914)'), GeomFromEWKT('SRID=4674;POINT (-39.42601 -3.107797)'))) / (select extract(epoch from '2026-07-31 04:49:06'::timestamp) - extract(epoch from '2026-07-31 04:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426042 -3.107914)'), GeomFromEWKT('SRID=4674;POINT (-39.42601 -3.107797)'))) / (select extract(epoch from '2026-07-31 04:49:06'::timestamp) - extract(epoch from '2026-07-31 04:48: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'), 48006, 'SRID=4674;POINT (-39.425998 -3.107748)', '2026-07-31 04:49:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42601 -3.107797)'), GeomFromEWKT('SRID=4674;POINT (-39.425998 -3.107748)'))) / (select extract(epoch from '2026-07-31 04:49:09'::timestamp) - extract(epoch from '2026-07-31 04:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42601 -3.107797)'), GeomFromEWKT('SRID=4674;POINT (-39.425998 -3.107748)'))) / (select extract(epoch from '2026-07-31 04:49:09'::timestamp) - extract(epoch from '2026-07-31 04:49: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'), 48006, 'SRID=4674;POINT (-39.425992 -3.107716)', '2026-07-31 04:49:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425998 -3.107748)'), GeomFromEWKT('SRID=4674;POINT (-39.425992 -3.107716)'))) / (select extract(epoch from '2026-07-31 04:49:11'::timestamp) - extract(epoch from '2026-07-31 04:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425998 -3.107748)'), GeomFromEWKT('SRID=4674;POINT (-39.425992 -3.107716)'))) / (select extract(epoch from '2026-07-31 04:49:11'::timestamp) - extract(epoch from '2026-07-31 04:49:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425966 -3.107624)', '2026-07-31 04:49:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425992 -3.107716)'), GeomFromEWKT('SRID=4674;POINT (-39.425966 -3.107624)'))) / (select extract(epoch from '2026-07-31 04:49:17'::timestamp) - extract(epoch from '2026-07-31 04:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425992 -3.107716)'), GeomFromEWKT('SRID=4674;POINT (-39.425966 -3.107624)'))) / (select extract(epoch from '2026-07-31 04:49:17'::timestamp) - extract(epoch from '2026-07-31 04:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425917 -3.107505)', '2026-07-31 04:49:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425966 -3.107624)'), GeomFromEWKT('SRID=4674;POINT (-39.425917 -3.107505)'))) / (select extract(epoch from '2026-07-31 04:49:24'::timestamp) - extract(epoch from '2026-07-31 04:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425966 -3.107624)'), GeomFromEWKT('SRID=4674;POINT (-39.425917 -3.107505)'))) / (select extract(epoch from '2026-07-31 04:49:24'::timestamp) - extract(epoch from '2026-07-31 04:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425882 -3.107403)', '2026-07-31 04:49:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425917 -3.107505)'), GeomFromEWKT('SRID=4674;POINT (-39.425882 -3.107403)'))) / (select extract(epoch from '2026-07-31 04:49:30'::timestamp) - extract(epoch from '2026-07-31 04:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425917 -3.107505)'), GeomFromEWKT('SRID=4674;POINT (-39.425882 -3.107403)'))) / (select extract(epoch from '2026-07-31 04:49:30'::timestamp) - extract(epoch from '2026-07-31 04:49: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'), 48006, 'SRID=4674;POINT (-39.425846 -3.107289)', '2026-07-31 04:49:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425882 -3.107403)'), GeomFromEWKT('SRID=4674;POINT (-39.425846 -3.107289)'))) / (select extract(epoch from '2026-07-31 04:49:37'::timestamp) - extract(epoch from '2026-07-31 04:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425882 -3.107403)'), GeomFromEWKT('SRID=4674;POINT (-39.425846 -3.107289)'))) / (select extract(epoch from '2026-07-31 04:49:37'::timestamp) - extract(epoch from '2026-07-31 04:49:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425821 -3.107206)', '2026-07-31 04:49:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425846 -3.107289)'), GeomFromEWKT('SRID=4674;POINT (-39.425821 -3.107206)'))) / (select extract(epoch from '2026-07-31 04:49:42'::timestamp) - extract(epoch from '2026-07-31 04:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425846 -3.107289)'), GeomFromEWKT('SRID=4674;POINT (-39.425821 -3.107206)'))) / (select extract(epoch from '2026-07-31 04:49:42'::timestamp) - extract(epoch from '2026-07-31 04:49: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'), 48006, 'SRID=4674;POINT (-39.425788 -3.107106)', '2026-07-31 04:49:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425821 -3.107206)'), GeomFromEWKT('SRID=4674;POINT (-39.425788 -3.107106)'))) / (select extract(epoch from '2026-07-31 04:49:48'::timestamp) - extract(epoch from '2026-07-31 04:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425821 -3.107206)'), GeomFromEWKT('SRID=4674;POINT (-39.425788 -3.107106)'))) / (select extract(epoch from '2026-07-31 04:49:48'::timestamp) - extract(epoch from '2026-07-31 04:49: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'), 48006, 'SRID=4674;POINT (-39.425783 -3.107089)', '2026-07-31 04:49:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425788 -3.107106)'), GeomFromEWKT('SRID=4674;POINT (-39.425783 -3.107089)'))) / (select extract(epoch from '2026-07-31 04:49:49'::timestamp) - extract(epoch from '2026-07-31 04:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425788 -3.107106)'), GeomFromEWKT('SRID=4674;POINT (-39.425783 -3.107089)'))) / (select extract(epoch from '2026-07-31 04:49:49'::timestamp) - extract(epoch from '2026-07-31 04:49:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425768 -3.107018)', '2026-07-31 04:49:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425783 -3.107089)'), GeomFromEWKT('SRID=4674;POINT (-39.425768 -3.107018)'))) / (select extract(epoch from '2026-07-31 04:49:53'::timestamp) - extract(epoch from '2026-07-31 04:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425783 -3.107089)'), GeomFromEWKT('SRID=4674;POINT (-39.425768 -3.107018)'))) / (select extract(epoch from '2026-07-31 04:49:53'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.425762 -3.107)', '2026-07-31 04:49:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425768 -3.107018)'), GeomFromEWKT('SRID=4674;POINT (-39.425762 -3.107)'))) / (select extract(epoch from '2026-07-31 04:49:54'::timestamp) - extract(epoch from '2026-07-31 04:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425768 -3.107018)'), GeomFromEWKT('SRID=4674;POINT (-39.425762 -3.107)'))) / (select extract(epoch from '2026-07-31 04:49:54'::timestamp) - extract(epoch from '2026-07-31 04:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425748 -3.106944)', '2026-07-31 04:49:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425762 -3.107)'), GeomFromEWKT('SRID=4674;POINT (-39.425748 -3.106944)'))) / (select extract(epoch from '2026-07-31 04:49:57'::timestamp) - extract(epoch from '2026-07-31 04:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425762 -3.107)'), GeomFromEWKT('SRID=4674;POINT (-39.425748 -3.106944)'))) / (select extract(epoch from '2026-07-31 04:49:57'::timestamp) - extract(epoch from '2026-07-31 04:49: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'), 48006, 'SRID=4674;POINT (-39.425714 -3.106812)', '2026-07-31 04:50:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425748 -3.106944)'), GeomFromEWKT('SRID=4674;POINT (-39.425714 -3.106812)'))) / (select extract(epoch from '2026-07-31 04:50:04'::timestamp) - extract(epoch from '2026-07-31 04:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425748 -3.106944)'), GeomFromEWKT('SRID=4674;POINT (-39.425714 -3.106812)'))) / (select extract(epoch from '2026-07-31 04:50:04'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.42568 -3.106685)', '2026-07-31 04:50:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425714 -3.106812)'), GeomFromEWKT('SRID=4674;POINT (-39.42568 -3.106685)'))) / (select extract(epoch from '2026-07-31 04:50:11'::timestamp) - extract(epoch from '2026-07-31 04:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425714 -3.106812)'), GeomFromEWKT('SRID=4674;POINT (-39.42568 -3.106685)'))) / (select extract(epoch from '2026-07-31 04:50:11'::timestamp) - extract(epoch from '2026-07-31 04:50: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'), 48006, 'SRID=4674;POINT (-39.425656 -3.106635)', '2026-07-31 04:50:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42568 -3.106685)'), GeomFromEWKT('SRID=4674;POINT (-39.425656 -3.106635)'))) / (select extract(epoch from '2026-07-31 04:50:14'::timestamp) - extract(epoch from '2026-07-31 04:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42568 -3.106685)'), GeomFromEWKT('SRID=4674;POINT (-39.425656 -3.106635)'))) / (select extract(epoch from '2026-07-31 04:50:14'::timestamp) - extract(epoch from '2026-07-31 04:50: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'), 48006, 'SRID=4674;POINT (-39.425648 -3.106599)', '2026-07-31 04:50:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425656 -3.106635)'), GeomFromEWKT('SRID=4674;POINT (-39.425648 -3.106599)'))) / (select extract(epoch from '2026-07-31 04:50:16'::timestamp) - extract(epoch from '2026-07-31 04:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425656 -3.106635)'), GeomFromEWKT('SRID=4674;POINT (-39.425648 -3.106599)'))) / (select extract(epoch from '2026-07-31 04:50:16'::timestamp) - extract(epoch from '2026-07-31 04:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425616 -3.106504)', '2026-07-31 04:50:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425648 -3.106599)'), GeomFromEWKT('SRID=4674;POINT (-39.425616 -3.106504)'))) / (select extract(epoch from '2026-07-31 04:50:21'::timestamp) - extract(epoch from '2026-07-31 04:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425648 -3.106599)'), GeomFromEWKT('SRID=4674;POINT (-39.425616 -3.106504)'))) / (select extract(epoch from '2026-07-31 04:50:21'::timestamp) - extract(epoch from '2026-07-31 04:50: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'), 48006, 'SRID=4674;POINT (-39.425584 -3.1064)', '2026-07-31 04:50:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425616 -3.106504)'), GeomFromEWKT('SRID=4674;POINT (-39.425584 -3.1064)'))) / (select extract(epoch from '2026-07-31 04:50:27'::timestamp) - extract(epoch from '2026-07-31 04:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425616 -3.106504)'), GeomFromEWKT('SRID=4674;POINT (-39.425584 -3.1064)'))) / (select extract(epoch from '2026-07-31 04:50:27'::timestamp) - extract(epoch from '2026-07-31 04:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425564 -3.106332)', '2026-07-31 04:50:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425584 -3.1064)'), GeomFromEWKT('SRID=4674;POINT (-39.425564 -3.106332)'))) / (select extract(epoch from '2026-07-31 04:50:31'::timestamp) - extract(epoch from '2026-07-31 04:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425584 -3.1064)'), GeomFromEWKT('SRID=4674;POINT (-39.425564 -3.106332)'))) / (select extract(epoch from '2026-07-31 04:50:31'::timestamp) - extract(epoch from '2026-07-31 04:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425558 -3.106297)', '2026-07-31 04:50:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425564 -3.106332)'), GeomFromEWKT('SRID=4674;POINT (-39.425558 -3.106297)'))) / (select extract(epoch from '2026-07-31 04:50:33'::timestamp) - extract(epoch from '2026-07-31 04:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425564 -3.106332)'), GeomFromEWKT('SRID=4674;POINT (-39.425558 -3.106297)'))) / (select extract(epoch from '2026-07-31 04:50:33'::timestamp) - extract(epoch from '2026-07-31 04:50: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'), 48006, 'SRID=4674;POINT (-39.42552 -3.106172)', '2026-07-31 04:50:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425558 -3.106297)'), GeomFromEWKT('SRID=4674;POINT (-39.42552 -3.106172)'))) / (select extract(epoch from '2026-07-31 04:50:40'::timestamp) - extract(epoch from '2026-07-31 04:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425558 -3.106297)'), GeomFromEWKT('SRID=4674;POINT (-39.42552 -3.106172)'))) / (select extract(epoch from '2026-07-31 04:50:40'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.425486 -3.106051)', '2026-07-31 04:50:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42552 -3.106172)'), GeomFromEWKT('SRID=4674;POINT (-39.425486 -3.106051)'))) / (select extract(epoch from '2026-07-31 04:50:46'::timestamp) - extract(epoch from '2026-07-31 04:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42552 -3.106172)'), GeomFromEWKT('SRID=4674;POINT (-39.425486 -3.106051)'))) / (select extract(epoch from '2026-07-31 04:50:46'::timestamp) - extract(epoch from '2026-07-31 04:50: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'), 48006, 'SRID=4674;POINT (-39.425463 -3.10599)', '2026-07-31 04:50:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425486 -3.106051)'), GeomFromEWKT('SRID=4674;POINT (-39.425463 -3.10599)'))) / (select extract(epoch from '2026-07-31 04:50:50'::timestamp) - extract(epoch from '2026-07-31 04:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425486 -3.106051)'), GeomFromEWKT('SRID=4674;POINT (-39.425463 -3.10599)'))) / (select extract(epoch from '2026-07-31 04:50:50'::timestamp) - extract(epoch from '2026-07-31 04:50:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425459 -3.105973)', '2026-07-31 04:50:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425463 -3.10599)'), GeomFromEWKT('SRID=4674;POINT (-39.425459 -3.105973)'))) / (select extract(epoch from '2026-07-31 04:50:51'::timestamp) - extract(epoch from '2026-07-31 04:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425463 -3.10599)'), GeomFromEWKT('SRID=4674;POINT (-39.425459 -3.105973)'))) / (select extract(epoch from '2026-07-31 04:50:51'::timestamp) - extract(epoch from '2026-07-31 04:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.42542 -3.105876)', '2026-07-31 04:50:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425459 -3.105973)'), GeomFromEWKT('SRID=4674;POINT (-39.42542 -3.105876)'))) / (select extract(epoch from '2026-07-31 04:50:57'::timestamp) - extract(epoch from '2026-07-31 04:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425459 -3.105973)'), GeomFromEWKT('SRID=4674;POINT (-39.42542 -3.105876)'))) / (select extract(epoch from '2026-07-31 04:50:57'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.42539 -3.105782)', '2026-07-31 04:51:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42542 -3.105876)'), GeomFromEWKT('SRID=4674;POINT (-39.42539 -3.105782)'))) / (select extract(epoch from '2026-07-31 04:51:03'::timestamp) - extract(epoch from '2026-07-31 04:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42542 -3.105876)'), GeomFromEWKT('SRID=4674;POINT (-39.42539 -3.105782)'))) / (select extract(epoch from '2026-07-31 04:51:03'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.425352 -3.10568)', '2026-07-31 04:51:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42539 -3.105782)'), GeomFromEWKT('SRID=4674;POINT (-39.425352 -3.10568)'))) / (select extract(epoch from '2026-07-31 04:51:09'::timestamp) - extract(epoch from '2026-07-31 04:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42539 -3.105782)'), GeomFromEWKT('SRID=4674;POINT (-39.425352 -3.10568)'))) / (select extract(epoch from '2026-07-31 04:51:09'::timestamp) - extract(epoch from '2026-07-31 04:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425317 -3.105604)', '2026-07-31 04:51:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425352 -3.10568)'), GeomFromEWKT('SRID=4674;POINT (-39.425317 -3.105604)'))) / (select extract(epoch from '2026-07-31 04:51:14'::timestamp) - extract(epoch from '2026-07-31 04:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425352 -3.10568)'), GeomFromEWKT('SRID=4674;POINT (-39.425317 -3.105604)'))) / (select extract(epoch from '2026-07-31 04:51:14'::timestamp) - extract(epoch from '2026-07-31 04:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425308 -3.105571)', '2026-07-31 04:51:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425317 -3.105604)'), GeomFromEWKT('SRID=4674;POINT (-39.425308 -3.105571)'))) / (select extract(epoch from '2026-07-31 04:51:16'::timestamp) - extract(epoch from '2026-07-31 04:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425317 -3.105604)'), GeomFromEWKT('SRID=4674;POINT (-39.425308 -3.105571)'))) / (select extract(epoch from '2026-07-31 04:51:16'::timestamp) - extract(epoch from '2026-07-31 04:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425295 -3.105538)', '2026-07-31 04:51:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425308 -3.105571)'), GeomFromEWKT('SRID=4674;POINT (-39.425295 -3.105538)'))) / (select extract(epoch from '2026-07-31 04:51:18'::timestamp) - extract(epoch from '2026-07-31 04:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425308 -3.105571)'), GeomFromEWKT('SRID=4674;POINT (-39.425295 -3.105538)'))) / (select extract(epoch from '2026-07-31 04:51:18'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 48006, 'SRID=4674;POINT (-39.425286 -3.105508)', '2026-07-31 04:51:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425295 -3.105538)'), GeomFromEWKT('SRID=4674;POINT (-39.425286 -3.105508)'))) / (select extract(epoch from '2026-07-31 04:51:20'::timestamp) - extract(epoch from '2026-07-31 04:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425295 -3.105538)'), GeomFromEWKT('SRID=4674;POINT (-39.425286 -3.105508)'))) / (select extract(epoch from '2026-07-31 04:51:20'::timestamp) - extract(epoch from '2026-07-31 04:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425259 -3.105441)', '2026-07-31 04:51:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425286 -3.105508)'), GeomFromEWKT('SRID=4674;POINT (-39.425259 -3.105441)'))) / (select extract(epoch from '2026-07-31 04:51:24'::timestamp) - extract(epoch from '2026-07-31 04:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425286 -3.105508)'), GeomFromEWKT('SRID=4674;POINT (-39.425259 -3.105441)'))) / (select extract(epoch from '2026-07-31 04:51:24'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.425212 -3.105344)', '2026-07-31 04:51:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425259 -3.105441)'), GeomFromEWKT('SRID=4674;POINT (-39.425212 -3.105344)'))) / (select extract(epoch from '2026-07-31 04:51:30'::timestamp) - extract(epoch from '2026-07-31 04:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425259 -3.105441)'), GeomFromEWKT('SRID=4674;POINT (-39.425212 -3.105344)'))) / (select extract(epoch from '2026-07-31 04:51:30'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 48006, 'SRID=4674;POINT (-39.425173 -3.105264)', '2026-07-31 04:51:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425212 -3.105344)'), GeomFromEWKT('SRID=4674;POINT (-39.425173 -3.105264)'))) / (select extract(epoch from '2026-07-31 04:51:35'::timestamp) - extract(epoch from '2026-07-31 04:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425212 -3.105344)'), GeomFromEWKT('SRID=4674;POINT (-39.425173 -3.105264)'))) / (select extract(epoch from '2026-07-31 04:51:35'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 48006, 'SRID=4674;POINT (-39.425122 -3.105171)', '2026-07-31 04:51:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425173 -3.105264)'), GeomFromEWKT('SRID=4674;POINT (-39.425122 -3.105171)'))) / (select extract(epoch from '2026-07-31 04:51:41'::timestamp) - extract(epoch from '2026-07-31 04:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425173 -3.105264)'), GeomFromEWKT('SRID=4674;POINT (-39.425122 -3.105171)'))) / (select extract(epoch from '2026-07-31 04:51:41'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 48006, 'SRID=4674;POINT (-39.425114 -3.105157)', '2026-07-31 04:51:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425122 -3.105171)'), GeomFromEWKT('SRID=4674;POINT (-39.425114 -3.105157)'))) / (select extract(epoch from '2026-07-31 04:51:42'::timestamp) - extract(epoch from '2026-07-31 04:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425122 -3.105171)'), GeomFromEWKT('SRID=4674;POINT (-39.425114 -3.105157)'))) / (select extract(epoch from '2026-07-31 04:51:42'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 48006, 'SRID=4674;POINT (-39.425084 -3.105102)', '2026-07-31 04:51:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425114 -3.105157)'), GeomFromEWKT('SRID=4674;POINT (-39.425084 -3.105102)'))) / (select extract(epoch from '2026-07-31 04:51:46'::timestamp) - extract(epoch from '2026-07-31 04:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425114 -3.105157)'), GeomFromEWKT('SRID=4674;POINT (-39.425084 -3.105102)'))) / (select extract(epoch from '2026-07-31 04:51:46'::timestamp) - extract(epoch from '2026-07-31 04: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'), 48006, 'SRID=4674;POINT (-39.425046 -3.105021)', '2026-07-31 04:51:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425084 -3.105102)'), GeomFromEWKT('SRID=4674;POINT (-39.425046 -3.105021)'))) / (select extract(epoch from '2026-07-31 04:51:52'::timestamp) - extract(epoch from '2026-07-31 04:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425084 -3.105102)'), GeomFromEWKT('SRID=4674;POINT (-39.425046 -3.105021)'))) / (select extract(epoch from '2026-07-31 04:51:52'::timestamp) - extract(epoch from '2026-07-31 04:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.425007 -3.104942)', '2026-07-31 04:51:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425046 -3.105021)'), GeomFromEWKT('SRID=4674;POINT (-39.425007 -3.104942)'))) / (select extract(epoch from '2026-07-31 04:51:57'::timestamp) - extract(epoch from '2026-07-31 04:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425046 -3.105021)'), GeomFromEWKT('SRID=4674;POINT (-39.425007 -3.104942)'))) / (select extract(epoch from '2026-07-31 04:51:57'::timestamp) - extract(epoch from '2026-07-31 04:51:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.424955 -3.10482)', '2026-07-31 04:52:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425007 -3.104942)'), GeomFromEWKT('SRID=4674;POINT (-39.424955 -3.10482)'))) / (select extract(epoch from '2026-07-31 04:52:04'::timestamp) - extract(epoch from '2026-07-31 04:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425007 -3.104942)'), GeomFromEWKT('SRID=4674;POINT (-39.424955 -3.10482)'))) / (select extract(epoch from '2026-07-31 04:52:04'::timestamp) - extract(epoch from '2026-07-31 04:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48006, 'SRID=4674;POINT (-39.424906 -3.10472)', '2026-07-31 04:52:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424955 -3.10482)'), GeomFromEWKT('SRID=4674;POINT (-39.424906 -3.10472)'))) / (select extract(epoch from '2026-07-31 04:52:10'::timestamp) - extract(epoch from '2026-07-31 04:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424955 -3.10482)'), GeomFromEWKT('SRID=4674;POINT (-39.424906 -3.10472)'))) / (select extract(epoch from '2026-07-31 04:52:10'::timestamp) - extract(epoch from '2026-07-31 04:52:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
