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'), 46567, 'SRID=4674;POINT (-39.041215 -3.411067)', '2026-06-12 05:19:10', 4.8, 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'), 46567, 'SRID=4674;POINT (-39.041284 -3.411029)', '2026-06-12 05:19:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041215 -3.411067)'), GeomFromEWKT('SRID=4674;POINT (-39.041284 -3.411029)'))) / (select extract(epoch from '2026-06-12 05:19:18'::timestamp) - extract(epoch from '2026-06-12 05:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041215 -3.411067)'), GeomFromEWKT('SRID=4674;POINT (-39.041284 -3.411029)'))) / (select extract(epoch from '2026-06-12 05:19:18'::timestamp) - extract(epoch from '2026-06-12 05:19: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'), 46567, 'SRID=4674;POINT (-39.041347 -3.410975)', '2026-06-12 05:19:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041284 -3.411029)'), GeomFromEWKT('SRID=4674;POINT (-39.041347 -3.410975)'))) / (select extract(epoch from '2026-06-12 05:19:27'::timestamp) - extract(epoch from '2026-06-12 05:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041284 -3.411029)'), GeomFromEWKT('SRID=4674;POINT (-39.041347 -3.410975)'))) / (select extract(epoch from '2026-06-12 05:19:27'::timestamp) - extract(epoch from '2026-06-12 05:19: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'), 46567, 'SRID=4674;POINT (-39.041394 -3.410921)', '2026-06-12 05:19:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041347 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.041394 -3.410921)'))) / (select extract(epoch from '2026-06-12 05:19:36'::timestamp) - extract(epoch from '2026-06-12 05:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041347 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.041394 -3.410921)'))) / (select extract(epoch from '2026-06-12 05:19:36'::timestamp) - extract(epoch from '2026-06-12 05:19: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'), 46567, 'SRID=4674;POINT (-39.041396 -3.410876)', '2026-06-12 05:19:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041394 -3.410921)'), GeomFromEWKT('SRID=4674;POINT (-39.041396 -3.410876)'))) / (select extract(epoch from '2026-06-12 05:19:44'::timestamp) - extract(epoch from '2026-06-12 05:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041394 -3.410921)'), GeomFromEWKT('SRID=4674;POINT (-39.041396 -3.410876)'))) / (select extract(epoch from '2026-06-12 05:19:44'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.041385 -3.410861)', '2026-06-12 05:19:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041396 -3.410876)'), GeomFromEWKT('SRID=4674;POINT (-39.041385 -3.410861)'))) / (select extract(epoch from '2026-06-12 05:19:58'::timestamp) - extract(epoch from '2026-06-12 05:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041396 -3.410876)'), GeomFromEWKT('SRID=4674;POINT (-39.041385 -3.410861)'))) / (select extract(epoch from '2026-06-12 05:19:58'::timestamp) - extract(epoch from '2026-06-12 05:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.041354 -3.410859)', '2026-06-12 05:20:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041385 -3.410861)'), GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.410859)'))) / (select extract(epoch from '2026-06-12 05:20:14'::timestamp) - extract(epoch from '2026-06-12 05:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041385 -3.410861)'), GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.410859)'))) / (select extract(epoch from '2026-06-12 05:20:14'::timestamp) - extract(epoch from '2026-06-12 05:19: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'), 46567, 'SRID=4674;POINT (-39.041299 -3.410838)', '2026-06-12 05:20:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.410859)'), GeomFromEWKT('SRID=4674;POINT (-39.041299 -3.410838)'))) / (select extract(epoch from '2026-06-12 05:20:39'::timestamp) - extract(epoch from '2026-06-12 05:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.410859)'), GeomFromEWKT('SRID=4674;POINT (-39.041299 -3.410838)'))) / (select extract(epoch from '2026-06-12 05:20:39'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.041249 -3.410813)', '2026-06-12 05:20:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041299 -3.410838)'), GeomFromEWKT('SRID=4674;POINT (-39.041249 -3.410813)'))) / (select extract(epoch from '2026-06-12 05:20:58'::timestamp) - extract(epoch from '2026-06-12 05:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041299 -3.410838)'), GeomFromEWKT('SRID=4674;POINT (-39.041249 -3.410813)'))) / (select extract(epoch from '2026-06-12 05:20:58'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.041208 -3.410795)', '2026-06-12 05:21:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041249 -3.410813)'), GeomFromEWKT('SRID=4674;POINT (-39.041208 -3.410795)'))) / (select extract(epoch from '2026-06-12 05:21:13'::timestamp) - extract(epoch from '2026-06-12 05:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041249 -3.410813)'), GeomFromEWKT('SRID=4674;POINT (-39.041208 -3.410795)'))) / (select extract(epoch from '2026-06-12 05:21:13'::timestamp) - extract(epoch from '2026-06-12 05:20: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'), 46567, 'SRID=4674;POINT (-39.04118 -3.410799)', '2026-06-12 05:21:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041208 -3.410795)'), GeomFromEWKT('SRID=4674;POINT (-39.04118 -3.410799)'))) / (select extract(epoch from '2026-06-12 05:21:24'::timestamp) - extract(epoch from '2026-06-12 05:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041208 -3.410795)'), GeomFromEWKT('SRID=4674;POINT (-39.04118 -3.410799)'))) / (select extract(epoch from '2026-06-12 05:21:24'::timestamp) - extract(epoch from '2026-06-12 05:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.041208 -3.410847)', '2026-06-12 05:21:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04118 -3.410799)'), GeomFromEWKT('SRID=4674;POINT (-39.041208 -3.410847)'))) / (select extract(epoch from '2026-06-12 05:21:32'::timestamp) - extract(epoch from '2026-06-12 05:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04118 -3.410799)'), GeomFromEWKT('SRID=4674;POINT (-39.041208 -3.410847)'))) / (select extract(epoch from '2026-06-12 05:21:32'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.041267 -3.410894)', '2026-06-12 05:21:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041208 -3.410847)'), GeomFromEWKT('SRID=4674;POINT (-39.041267 -3.410894)'))) / (select extract(epoch from '2026-06-12 05:21:40'::timestamp) - extract(epoch from '2026-06-12 05:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041208 -3.410847)'), GeomFromEWKT('SRID=4674;POINT (-39.041267 -3.410894)'))) / (select extract(epoch from '2026-06-12 05:21:40'::timestamp) - extract(epoch from '2026-06-12 05:21: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'), 46567, 'SRID=4674;POINT (-39.04133 -3.41094)', '2026-06-12 05:21:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041267 -3.410894)'), GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.41094)'))) / (select extract(epoch from '2026-06-12 05:21:47'::timestamp) - extract(epoch from '2026-06-12 05:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041267 -3.410894)'), GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.41094)'))) / (select extract(epoch from '2026-06-12 05:21:47'::timestamp) - extract(epoch from '2026-06-12 05:21: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'), 46567, 'SRID=4674;POINT (-39.041391 -3.410983)', '2026-06-12 05:21:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.41094)'), GeomFromEWKT('SRID=4674;POINT (-39.041391 -3.410983)'))) / (select extract(epoch from '2026-06-12 05:21:55'::timestamp) - extract(epoch from '2026-06-12 05:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.41094)'), GeomFromEWKT('SRID=4674;POINT (-39.041391 -3.410983)'))) / (select extract(epoch from '2026-06-12 05:21:55'::timestamp) - extract(epoch from '2026-06-12 05:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.041462 -3.411022)', '2026-06-12 05:22:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041391 -3.410983)'), GeomFromEWKT('SRID=4674;POINT (-39.041462 -3.411022)'))) / (select extract(epoch from '2026-06-12 05:22:03'::timestamp) - extract(epoch from '2026-06-12 05:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041391 -3.410983)'), GeomFromEWKT('SRID=4674;POINT (-39.041462 -3.411022)'))) / (select extract(epoch from '2026-06-12 05:22:03'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.041539 -3.411062)', '2026-06-12 05:22:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041462 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.041539 -3.411062)'))) / (select extract(epoch from '2026-06-12 05:22:11'::timestamp) - extract(epoch from '2026-06-12 05:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041462 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.041539 -3.411062)'))) / (select extract(epoch from '2026-06-12 05:22:11'::timestamp) - extract(epoch from '2026-06-12 05:22: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'), 46567, 'SRID=4674;POINT (-39.041585 -3.411073)', '2026-06-12 05:22:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041539 -3.411062)'), GeomFromEWKT('SRID=4674;POINT (-39.041585 -3.411073)'))) / (select extract(epoch from '2026-06-12 05:22:16'::timestamp) - extract(epoch from '2026-06-12 05:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041539 -3.411062)'), GeomFromEWKT('SRID=4674;POINT (-39.041585 -3.411073)'))) / (select extract(epoch from '2026-06-12 05:22:16'::timestamp) - extract(epoch from '2026-06-12 05:22: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'), 46567, 'SRID=4674;POINT (-39.041603 -3.411092)', '2026-06-12 05:22:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041585 -3.411073)'), GeomFromEWKT('SRID=4674;POINT (-39.041603 -3.411092)'))) / (select extract(epoch from '2026-06-12 05:22:18'::timestamp) - extract(epoch from '2026-06-12 05:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041585 -3.411073)'), GeomFromEWKT('SRID=4674;POINT (-39.041603 -3.411092)'))) / (select extract(epoch from '2026-06-12 05:22:18'::timestamp) - extract(epoch from '2026-06-12 05:22: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'), 46567, 'SRID=4674;POINT (-39.041613 -3.411097)', '2026-06-12 05:22:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041603 -3.411092)'), GeomFromEWKT('SRID=4674;POINT (-39.041613 -3.411097)'))) / (select extract(epoch from '2026-06-12 05:22:19'::timestamp) - extract(epoch from '2026-06-12 05:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041603 -3.411092)'), GeomFromEWKT('SRID=4674;POINT (-39.041613 -3.411097)'))) / (select extract(epoch from '2026-06-12 05:22:19'::timestamp) - extract(epoch from '2026-06-12 05:22: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'), 46567, 'SRID=4674;POINT (-39.041665 -3.411106)', '2026-06-12 05:22:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041613 -3.411097)'), GeomFromEWKT('SRID=4674;POINT (-39.041665 -3.411106)'))) / (select extract(epoch from '2026-06-12 05:22:24'::timestamp) - extract(epoch from '2026-06-12 05:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041613 -3.411097)'), GeomFromEWKT('SRID=4674;POINT (-39.041665 -3.411106)'))) / (select extract(epoch from '2026-06-12 05:22:24'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.041743 -3.411128)', '2026-06-12 05:22:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041665 -3.411106)'), GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.411128)'))) / (select extract(epoch from '2026-06-12 05:22:32'::timestamp) - extract(epoch from '2026-06-12 05:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041665 -3.411106)'), GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.411128)'))) / (select extract(epoch from '2026-06-12 05:22:32'::timestamp) - extract(epoch from '2026-06-12 05:22: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'), 46567, 'SRID=4674;POINT (-39.041829 -3.411152)', '2026-06-12 05:22:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.411128)'), GeomFromEWKT('SRID=4674;POINT (-39.041829 -3.411152)'))) / (select extract(epoch from '2026-06-12 05:22:41'::timestamp) - extract(epoch from '2026-06-12 05:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.411128)'), GeomFromEWKT('SRID=4674;POINT (-39.041829 -3.411152)'))) / (select extract(epoch from '2026-06-12 05:22:41'::timestamp) - extract(epoch from '2026-06-12 05:22: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'), 46567, 'SRID=4674;POINT (-39.041917 -3.411175)', '2026-06-12 05:22:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041829 -3.411152)'), GeomFromEWKT('SRID=4674;POINT (-39.041917 -3.411175)'))) / (select extract(epoch from '2026-06-12 05:22:50'::timestamp) - extract(epoch from '2026-06-12 05:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041829 -3.411152)'), GeomFromEWKT('SRID=4674;POINT (-39.041917 -3.411175)'))) / (select extract(epoch from '2026-06-12 05:22:50'::timestamp) - extract(epoch from '2026-06-12 05:22: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'), 46567, 'SRID=4674;POINT (-39.041997 -3.411198)', '2026-06-12 05:22:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041917 -3.411175)'), GeomFromEWKT('SRID=4674;POINT (-39.041997 -3.411198)'))) / (select extract(epoch from '2026-06-12 05:22:58'::timestamp) - extract(epoch from '2026-06-12 05:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041917 -3.411175)'), GeomFromEWKT('SRID=4674;POINT (-39.041997 -3.411198)'))) / (select extract(epoch from '2026-06-12 05:22:58'::timestamp) - extract(epoch from '2026-06-12 05:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042075 -3.411218)', '2026-06-12 05:23:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041997 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042075 -3.411218)'))) / (select extract(epoch from '2026-06-12 05:23:06'::timestamp) - extract(epoch from '2026-06-12 05:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041997 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042075 -3.411218)'))) / (select extract(epoch from '2026-06-12 05:23:06'::timestamp) - extract(epoch from '2026-06-12 05:22: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'), 46567, 'SRID=4674;POINT (-39.04214 -3.411223)', '2026-06-12 05:23:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042075 -3.411218)'), GeomFromEWKT('SRID=4674;POINT (-39.04214 -3.411223)'))) / (select extract(epoch from '2026-06-12 05:23:13'::timestamp) - extract(epoch from '2026-06-12 05:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042075 -3.411218)'), GeomFromEWKT('SRID=4674;POINT (-39.04214 -3.411223)'))) / (select extract(epoch from '2026-06-12 05:23:13'::timestamp) - extract(epoch from '2026-06-12 05:23: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'), 46567, 'SRID=4674;POINT (-39.042213 -3.411245)', '2026-06-12 05:23:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04214 -3.411223)'), GeomFromEWKT('SRID=4674;POINT (-39.042213 -3.411245)'))) / (select extract(epoch from '2026-06-12 05:23:21'::timestamp) - extract(epoch from '2026-06-12 05:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04214 -3.411223)'), GeomFromEWKT('SRID=4674;POINT (-39.042213 -3.411245)'))) / (select extract(epoch from '2026-06-12 05:23:21'::timestamp) - extract(epoch from '2026-06-12 05:23: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'), 46567, 'SRID=4674;POINT (-39.042268 -3.411248)', '2026-06-12 05:23:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042213 -3.411245)'), GeomFromEWKT('SRID=4674;POINT (-39.042268 -3.411248)'))) / (select extract(epoch from '2026-06-12 05:23:29'::timestamp) - extract(epoch from '2026-06-12 05:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042213 -3.411245)'), GeomFromEWKT('SRID=4674;POINT (-39.042268 -3.411248)'))) / (select extract(epoch from '2026-06-12 05:23:29'::timestamp) - extract(epoch from '2026-06-12 05:23: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'), 46567, 'SRID=4674;POINT (-39.042277 -3.411252)', '2026-06-12 05:23:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042268 -3.411248)'), GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.411252)'))) / (select extract(epoch from '2026-06-12 05:23:30'::timestamp) - extract(epoch from '2026-06-12 05:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042268 -3.411248)'), GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.411252)'))) / (select extract(epoch from '2026-06-12 05:23:30'::timestamp) - extract(epoch from '2026-06-12 05:23: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'), 46567, 'SRID=4674;POINT (-39.042307 -3.41125)', '2026-06-12 05:23:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.411252)'), GeomFromEWKT('SRID=4674;POINT (-39.042307 -3.41125)'))) / (select extract(epoch from '2026-06-12 05:23:35'::timestamp) - extract(epoch from '2026-06-12 05:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.411252)'), GeomFromEWKT('SRID=4674;POINT (-39.042307 -3.41125)'))) / (select extract(epoch from '2026-06-12 05:23:35'::timestamp) - extract(epoch from '2026-06-12 05:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042335 -3.411236)', '2026-06-12 05:23:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042307 -3.41125)'), GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.411236)'))) / (select extract(epoch from '2026-06-12 05:23:44'::timestamp) - extract(epoch from '2026-06-12 05:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042307 -3.41125)'), GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.411236)'))) / (select extract(epoch from '2026-06-12 05:23:44'::timestamp) - extract(epoch from '2026-06-12 05:23: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'), 46567, 'SRID=4674;POINT (-39.042353 -3.411212)', '2026-06-12 05:23:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.411236)'), GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.411212)'))) / (select extract(epoch from '2026-06-12 05:23:54'::timestamp) - extract(epoch from '2026-06-12 05:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.411236)'), GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.411212)'))) / (select extract(epoch from '2026-06-12 05:23:54'::timestamp) - extract(epoch from '2026-06-12 05:23: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'), 46567, 'SRID=4674;POINT (-39.042318 -3.411187)', '2026-06-12 05:24:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.411212)'), GeomFromEWKT('SRID=4674;POINT (-39.042318 -3.411187)'))) / (select extract(epoch from '2026-06-12 05:24:02'::timestamp) - extract(epoch from '2026-06-12 05:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.411212)'), GeomFromEWKT('SRID=4674;POINT (-39.042318 -3.411187)'))) / (select extract(epoch from '2026-06-12 05:24:02'::timestamp) - extract(epoch from '2026-06-12 05:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042278 -3.411171)', '2026-06-12 05:24:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042318 -3.411187)'), GeomFromEWKT('SRID=4674;POINT (-39.042278 -3.411171)'))) / (select extract(epoch from '2026-06-12 05:24:10'::timestamp) - extract(epoch from '2026-06-12 05:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042318 -3.411187)'), GeomFromEWKT('SRID=4674;POINT (-39.042278 -3.411171)'))) / (select extract(epoch from '2026-06-12 05:24:10'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042247 -3.411156)', '2026-06-12 05:24:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042278 -3.411171)'), GeomFromEWKT('SRID=4674;POINT (-39.042247 -3.411156)'))) / (select extract(epoch from '2026-06-12 05:24:18'::timestamp) - extract(epoch from '2026-06-12 05:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042278 -3.411171)'), GeomFromEWKT('SRID=4674;POINT (-39.042247 -3.411156)'))) / (select extract(epoch from '2026-06-12 05:24:18'::timestamp) - extract(epoch from '2026-06-12 05:24: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'), 46567, 'SRID=4674;POINT (-39.042216 -3.411151)', '2026-06-12 05:24:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042247 -3.411156)'), GeomFromEWKT('SRID=4674;POINT (-39.042216 -3.411151)'))) / (select extract(epoch from '2026-06-12 05:24:27'::timestamp) - extract(epoch from '2026-06-12 05:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042247 -3.411156)'), GeomFromEWKT('SRID=4674;POINT (-39.042216 -3.411151)'))) / (select extract(epoch from '2026-06-12 05:24:27'::timestamp) - extract(epoch from '2026-06-12 05:24: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'), 46567, 'SRID=4674;POINT (-39.04212 -3.411159)', '2026-06-12 05:24:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042216 -3.411151)'), GeomFromEWKT('SRID=4674;POINT (-39.04212 -3.411159)'))) / (select extract(epoch from '2026-06-12 05:24:52'::timestamp) - extract(epoch from '2026-06-12 05:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042216 -3.411151)'), GeomFromEWKT('SRID=4674;POINT (-39.04212 -3.411159)'))) / (select extract(epoch from '2026-06-12 05:24:52'::timestamp) - extract(epoch from '2026-06-12 05:24: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'), 46567, 'SRID=4674;POINT (-39.04207 -3.411152)', '2026-06-12 05:25:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04212 -3.411159)'), GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411152)'))) / (select extract(epoch from '2026-06-12 05:25:14'::timestamp) - extract(epoch from '2026-06-12 05:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04212 -3.411159)'), GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411152)'))) / (select extract(epoch from '2026-06-12 05:25:14'::timestamp) - extract(epoch from '2026-06-12 05:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042038 -3.411152)', '2026-06-12 05:25:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411152)'), GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.411152)'))) / (select extract(epoch from '2026-06-12 05:25:31'::timestamp) - extract(epoch from '2026-06-12 05:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411152)'), GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.411152)'))) / (select extract(epoch from '2026-06-12 05:25:31'::timestamp) - extract(epoch from '2026-06-12 05:25: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'), 46567, 'SRID=4674;POINT (-39.042021 -3.411132)', '2026-06-12 05:25:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.411152)'), GeomFromEWKT('SRID=4674;POINT (-39.042021 -3.411132)'))) / (select extract(epoch from '2026-06-12 05:25:37'::timestamp) - extract(epoch from '2026-06-12 05:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.411152)'), GeomFromEWKT('SRID=4674;POINT (-39.042021 -3.411132)'))) / (select extract(epoch from '2026-06-12 05:25:37'::timestamp) - extract(epoch from '2026-06-12 05:25: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'), 46567, 'SRID=4674;POINT (-39.042058 -3.411102)', '2026-06-12 05:25:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042021 -3.411132)'), GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.411102)'))) / (select extract(epoch from '2026-06-12 05:25:45'::timestamp) - extract(epoch from '2026-06-12 05:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042021 -3.411132)'), GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.411102)'))) / (select extract(epoch from '2026-06-12 05:25:45'::timestamp) - extract(epoch from '2026-06-12 05:25: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'), 46567, 'SRID=4674;POINT (-39.042117 -3.411075)', '2026-06-12 05:25:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.411102)'), GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.411075)'))) / (select extract(epoch from '2026-06-12 05:25:54'::timestamp) - extract(epoch from '2026-06-12 05:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.411102)'), GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.411075)'))) / (select extract(epoch from '2026-06-12 05:25:54'::timestamp) - extract(epoch from '2026-06-12 05:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042178 -3.41102)', '2026-06-12 05:26:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.411075)'), GeomFromEWKT('SRID=4674;POINT (-39.042178 -3.41102)'))) / (select extract(epoch from '2026-06-12 05:26:08'::timestamp) - extract(epoch from '2026-06-12 05:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.411075)'), GeomFromEWKT('SRID=4674;POINT (-39.042178 -3.41102)'))) / (select extract(epoch from '2026-06-12 05:26:08'::timestamp) - extract(epoch from '2026-06-12 05:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042219 -3.410956)', '2026-06-12 05:26:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042178 -3.41102)'), GeomFromEWKT('SRID=4674;POINT (-39.042219 -3.410956)'))) / (select extract(epoch from '2026-06-12 05:26:24'::timestamp) - extract(epoch from '2026-06-12 05:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042178 -3.41102)'), GeomFromEWKT('SRID=4674;POINT (-39.042219 -3.410956)'))) / (select extract(epoch from '2026-06-12 05:26:24'::timestamp) - extract(epoch from '2026-06-12 05:26:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042244 -3.410948)', '2026-06-12 05:26:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042219 -3.410956)'), GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.410948)'))) / (select extract(epoch from '2026-06-12 05:26:38'::timestamp) - extract(epoch from '2026-06-12 05:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042219 -3.410956)'), GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.410948)'))) / (select extract(epoch from '2026-06-12 05:26:38'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042232 -3.410953)', '2026-06-12 05:26:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.042232 -3.410953)'))) / (select extract(epoch from '2026-06-12 05:26:56'::timestamp) - extract(epoch from '2026-06-12 05:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.042232 -3.410953)'))) / (select extract(epoch from '2026-06-12 05:26:56'::timestamp) - extract(epoch from '2026-06-12 05:26: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'), 46567, 'SRID=4674;POINT (-39.042207 -3.410955)', '2026-06-12 05:27:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042232 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.042207 -3.410955)'))) / (select extract(epoch from '2026-06-12 05:27:05'::timestamp) - extract(epoch from '2026-06-12 05:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042232 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.042207 -3.410955)'))) / (select extract(epoch from '2026-06-12 05:27:05'::timestamp) - extract(epoch from '2026-06-12 05:26: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'), 46567, 'SRID=4674;POINT (-39.04217 -3.410954)', '2026-06-12 05:27:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042207 -3.410955)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410954)'))) / (select extract(epoch from '2026-06-12 05:27:17'::timestamp) - extract(epoch from '2026-06-12 05:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042207 -3.410955)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410954)'))) / (select extract(epoch from '2026-06-12 05:27:17'::timestamp) - extract(epoch from '2026-06-12 05:27: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'), 46567, 'SRID=4674;POINT (-39.042121 -3.410957)', '2026-06-12 05:27:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410954)'), GeomFromEWKT('SRID=4674;POINT (-39.042121 -3.410957)'))) / (select extract(epoch from '2026-06-12 05:27:32'::timestamp) - extract(epoch from '2026-06-12 05:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410954)'), GeomFromEWKT('SRID=4674;POINT (-39.042121 -3.410957)'))) / (select extract(epoch from '2026-06-12 05:27:32'::timestamp) - extract(epoch from '2026-06-12 05:27: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'), 46567, 'SRID=4674;POINT (-39.042058 -3.410952)', '2026-06-12 05:27:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042121 -3.410957)'), GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.410952)'))) / (select extract(epoch from '2026-06-12 05:27:52'::timestamp) - extract(epoch from '2026-06-12 05:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042121 -3.410957)'), GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.410952)'))) / (select extract(epoch from '2026-06-12 05:27:52'::timestamp) - extract(epoch from '2026-06-12 05:27: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'), 46567, 'SRID=4674;POINT (-39.041998 -3.410952)', '2026-06-12 05:28:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.410952)'), GeomFromEWKT('SRID=4674;POINT (-39.041998 -3.410952)'))) / (select extract(epoch from '2026-06-12 05:28:15'::timestamp) - extract(epoch from '2026-06-12 05:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.410952)'), GeomFromEWKT('SRID=4674;POINT (-39.041998 -3.410952)'))) / (select extract(epoch from '2026-06-12 05:28:15'::timestamp) - extract(epoch from '2026-06-12 05:27: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'), 46567, 'SRID=4674;POINT (-39.041976 -3.41093)', '2026-06-12 05:28:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041998 -3.410952)'), GeomFromEWKT('SRID=4674;POINT (-39.041976 -3.41093)'))) / (select extract(epoch from '2026-06-12 05:28:25'::timestamp) - extract(epoch from '2026-06-12 05:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041998 -3.410952)'), GeomFromEWKT('SRID=4674;POINT (-39.041976 -3.41093)'))) / (select extract(epoch from '2026-06-12 05:28:25'::timestamp) - extract(epoch from '2026-06-12 05:28: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'), 46567, 'SRID=4674;POINT (-39.041994 -3.41087)', '2026-06-12 05:28:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041976 -3.41093)'), GeomFromEWKT('SRID=4674;POINT (-39.041994 -3.41087)'))) / (select extract(epoch from '2026-06-12 05:28:34'::timestamp) - extract(epoch from '2026-06-12 05:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041976 -3.41093)'), GeomFromEWKT('SRID=4674;POINT (-39.041994 -3.41087)'))) / (select extract(epoch from '2026-06-12 05:28:34'::timestamp) - extract(epoch from '2026-06-12 05:28: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'), 46567, 'SRID=4674;POINT (-39.042043 -3.410785)', '2026-06-12 05:28:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041994 -3.41087)'), GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.410785)'))) / (select extract(epoch from '2026-06-12 05:28:45'::timestamp) - extract(epoch from '2026-06-12 05:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041994 -3.41087)'), GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.410785)'))) / (select extract(epoch from '2026-06-12 05:28:45'::timestamp) - extract(epoch from '2026-06-12 05:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042076 -3.410724)', '2026-06-12 05:28:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.410785)'), GeomFromEWKT('SRID=4674;POINT (-39.042076 -3.410724)'))) / (select extract(epoch from '2026-06-12 05:28:52'::timestamp) - extract(epoch from '2026-06-12 05:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.410785)'), GeomFromEWKT('SRID=4674;POINT (-39.042076 -3.410724)'))) / (select extract(epoch from '2026-06-12 05:28:52'::timestamp) - extract(epoch from '2026-06-12 05:28:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042104 -3.410655)', '2026-06-12 05:28:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042076 -3.410724)'), GeomFromEWKT('SRID=4674;POINT (-39.042104 -3.410655)'))) / (select extract(epoch from '2026-06-12 05:28:59'::timestamp) - extract(epoch from '2026-06-12 05:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042076 -3.410724)'), GeomFromEWKT('SRID=4674;POINT (-39.042104 -3.410655)'))) / (select extract(epoch from '2026-06-12 05:28:59'::timestamp) - extract(epoch from '2026-06-12 05:28: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'), 46567, 'SRID=4674;POINT (-39.042146 -3.410586)', '2026-06-12 05:29:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042104 -3.410655)'), GeomFromEWKT('SRID=4674;POINT (-39.042146 -3.410586)'))) / (select extract(epoch from '2026-06-12 05:29:07'::timestamp) - extract(epoch from '2026-06-12 05:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042104 -3.410655)'), GeomFromEWKT('SRID=4674;POINT (-39.042146 -3.410586)'))) / (select extract(epoch from '2026-06-12 05:29:07'::timestamp) - extract(epoch from '2026-06-12 05:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042198 -3.410517)', '2026-06-12 05:29:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042146 -3.410586)'), GeomFromEWKT('SRID=4674;POINT (-39.042198 -3.410517)'))) / (select extract(epoch from '2026-06-12 05:29:15'::timestamp) - extract(epoch from '2026-06-12 05:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042146 -3.410586)'), GeomFromEWKT('SRID=4674;POINT (-39.042198 -3.410517)'))) / (select extract(epoch from '2026-06-12 05:29:15'::timestamp) - extract(epoch from '2026-06-12 05:29: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'), 46567, 'SRID=4674;POINT (-39.042254 -3.410449)', '2026-06-12 05:29:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042198 -3.410517)'), GeomFromEWKT('SRID=4674;POINT (-39.042254 -3.410449)'))) / (select extract(epoch from '2026-06-12 05:29:24'::timestamp) - extract(epoch from '2026-06-12 05:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042198 -3.410517)'), GeomFromEWKT('SRID=4674;POINT (-39.042254 -3.410449)'))) / (select extract(epoch from '2026-06-12 05:29:24'::timestamp) - extract(epoch from '2026-06-12 05:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042295 -3.410377)', '2026-06-12 05:29:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042254 -3.410449)'), GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.410377)'))) / (select extract(epoch from '2026-06-12 05:29:32'::timestamp) - extract(epoch from '2026-06-12 05:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042254 -3.410449)'), GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.410377)'))) / (select extract(epoch from '2026-06-12 05:29:32'::timestamp) - extract(epoch from '2026-06-12 05:29: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'), 46567, 'SRID=4674;POINT (-39.042321 -3.410311)', '2026-06-12 05:29:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.410377)'), GeomFromEWKT('SRID=4674;POINT (-39.042321 -3.410311)'))) / (select extract(epoch from '2026-06-12 05:29:39'::timestamp) - extract(epoch from '2026-06-12 05:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.410377)'), GeomFromEWKT('SRID=4674;POINT (-39.042321 -3.410311)'))) / (select extract(epoch from '2026-06-12 05:29:39'::timestamp) - extract(epoch from '2026-06-12 05:29: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'), 46567, 'SRID=4674;POINT (-39.042348 -3.410236)', '2026-06-12 05:29:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042321 -3.410311)'), GeomFromEWKT('SRID=4674;POINT (-39.042348 -3.410236)'))) / (select extract(epoch from '2026-06-12 05:29:47'::timestamp) - extract(epoch from '2026-06-12 05:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042321 -3.410311)'), GeomFromEWKT('SRID=4674;POINT (-39.042348 -3.410236)'))) / (select extract(epoch from '2026-06-12 05:29:47'::timestamp) - extract(epoch from '2026-06-12 05:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042364 -3.410157)', '2026-06-12 05:29:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042348 -3.410236)'), GeomFromEWKT('SRID=4674;POINT (-39.042364 -3.410157)'))) / (select extract(epoch from '2026-06-12 05:29:55'::timestamp) - extract(epoch from '2026-06-12 05:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042348 -3.410236)'), GeomFromEWKT('SRID=4674;POINT (-39.042364 -3.410157)'))) / (select extract(epoch from '2026-06-12 05:29:55'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042388 -3.410091)', '2026-06-12 05:30:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042364 -3.410157)'), GeomFromEWKT('SRID=4674;POINT (-39.042388 -3.410091)'))) / (select extract(epoch from '2026-06-12 05:30:02'::timestamp) - extract(epoch from '2026-06-12 05:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042364 -3.410157)'), GeomFromEWKT('SRID=4674;POINT (-39.042388 -3.410091)'))) / (select extract(epoch from '2026-06-12 05:30:02'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042407 -3.410041)', '2026-06-12 05:30:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042388 -3.410091)'), GeomFromEWKT('SRID=4674;POINT (-39.042407 -3.410041)'))) / (select extract(epoch from '2026-06-12 05:30:07'::timestamp) - extract(epoch from '2026-06-12 05:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042388 -3.410091)'), GeomFromEWKT('SRID=4674;POINT (-39.042407 -3.410041)'))) / (select extract(epoch from '2026-06-12 05:30:07'::timestamp) - extract(epoch from '2026-06-12 05:30: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'), 46567, 'SRID=4674;POINT (-39.042418 -3.410024)', '2026-06-12 05:30:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042407 -3.410041)'), GeomFromEWKT('SRID=4674;POINT (-39.042418 -3.410024)'))) / (select extract(epoch from '2026-06-12 05:30:09'::timestamp) - extract(epoch from '2026-06-12 05:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042407 -3.410041)'), GeomFromEWKT('SRID=4674;POINT (-39.042418 -3.410024)'))) / (select extract(epoch from '2026-06-12 05:30:09'::timestamp) - extract(epoch from '2026-06-12 05:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042451 -3.409939)', '2026-06-12 05:30:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042418 -3.410024)'), GeomFromEWKT('SRID=4674;POINT (-39.042451 -3.409939)'))) / (select extract(epoch from '2026-06-12 05:30:18'::timestamp) - extract(epoch from '2026-06-12 05:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042418 -3.410024)'), GeomFromEWKT('SRID=4674;POINT (-39.042451 -3.409939)'))) / (select extract(epoch from '2026-06-12 05:30:18'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042467 -3.409876)', '2026-06-12 05:30:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042451 -3.409939)'), GeomFromEWKT('SRID=4674;POINT (-39.042467 -3.409876)'))) / (select extract(epoch from '2026-06-12 05:30:24'::timestamp) - extract(epoch from '2026-06-12 05:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042451 -3.409939)'), GeomFromEWKT('SRID=4674;POINT (-39.042467 -3.409876)'))) / (select extract(epoch from '2026-06-12 05:30:24'::timestamp) - extract(epoch from '2026-06-12 05:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042473 -3.409869)', '2026-06-12 05:30:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042467 -3.409876)'), GeomFromEWKT('SRID=4674;POINT (-39.042473 -3.409869)'))) / (select extract(epoch from '2026-06-12 05:30:25'::timestamp) - extract(epoch from '2026-06-12 05:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042467 -3.409876)'), GeomFromEWKT('SRID=4674;POINT (-39.042473 -3.409869)'))) / (select extract(epoch from '2026-06-12 05:30:25'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042528 -3.409807)', '2026-06-12 05:30:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042473 -3.409869)'), GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.409807)'))) / (select extract(epoch from '2026-06-12 05:30:33'::timestamp) - extract(epoch from '2026-06-12 05:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042473 -3.409869)'), GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.409807)'))) / (select extract(epoch from '2026-06-12 05:30:33'::timestamp) - extract(epoch from '2026-06-12 05:30: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'), 46567, 'SRID=4674;POINT (-39.042538 -3.409803)', '2026-06-12 05:30:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.409807)'), GeomFromEWKT('SRID=4674;POINT (-39.042538 -3.409803)'))) / (select extract(epoch from '2026-06-12 05:30:34'::timestamp) - extract(epoch from '2026-06-12 05:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.409807)'), GeomFromEWKT('SRID=4674;POINT (-39.042538 -3.409803)'))) / (select extract(epoch from '2026-06-12 05:30:34'::timestamp) - extract(epoch from '2026-06-12 05:30: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'), 46567, 'SRID=4674;POINT (-39.042565 -3.409787)', '2026-06-12 05:30:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042538 -3.409803)'), GeomFromEWKT('SRID=4674;POINT (-39.042565 -3.409787)'))) / (select extract(epoch from '2026-06-12 05:30:37'::timestamp) - extract(epoch from '2026-06-12 05:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042538 -3.409803)'), GeomFromEWKT('SRID=4674;POINT (-39.042565 -3.409787)'))) / (select extract(epoch from '2026-06-12 05:30:37'::timestamp) - extract(epoch from '2026-06-12 05:30: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'), 46567, 'SRID=4674;POINT (-39.042588 -3.409753)', '2026-06-12 05:30:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042565 -3.409787)'), GeomFromEWKT('SRID=4674;POINT (-39.042588 -3.409753)'))) / (select extract(epoch from '2026-06-12 05:30:41'::timestamp) - extract(epoch from '2026-06-12 05:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042565 -3.409787)'), GeomFromEWKT('SRID=4674;POINT (-39.042588 -3.409753)'))) / (select extract(epoch from '2026-06-12 05:30:41'::timestamp) - extract(epoch from '2026-06-12 05:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042615 -3.409723)', '2026-06-12 05:30:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042588 -3.409753)'), GeomFromEWKT('SRID=4674;POINT (-39.042615 -3.409723)'))) / (select extract(epoch from '2026-06-12 05:30:45'::timestamp) - extract(epoch from '2026-06-12 05:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042588 -3.409753)'), GeomFromEWKT('SRID=4674;POINT (-39.042615 -3.409723)'))) / (select extract(epoch from '2026-06-12 05:30:45'::timestamp) - extract(epoch from '2026-06-12 05:30: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'), 46567, 'SRID=4674;POINT (-39.042631 -3.409697)', '2026-06-12 05:30:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042615 -3.409723)'), GeomFromEWKT('SRID=4674;POINT (-39.042631 -3.409697)'))) / (select extract(epoch from '2026-06-12 05:30:48'::timestamp) - extract(epoch from '2026-06-12 05:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042615 -3.409723)'), GeomFromEWKT('SRID=4674;POINT (-39.042631 -3.409697)'))) / (select extract(epoch from '2026-06-12 05:30:48'::timestamp) - extract(epoch from '2026-06-12 05:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042685 -3.409627)', '2026-06-12 05:30:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042631 -3.409697)'), GeomFromEWKT('SRID=4674;POINT (-39.042685 -3.409627)'))) / (select extract(epoch from '2026-06-12 05:30:57'::timestamp) - extract(epoch from '2026-06-12 05:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042631 -3.409697)'), GeomFromEWKT('SRID=4674;POINT (-39.042685 -3.409627)'))) / (select extract(epoch from '2026-06-12 05:30:57'::timestamp) - extract(epoch from '2026-06-12 05:30: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'), 46567, 'SRID=4674;POINT (-39.042711 -3.409561)', '2026-06-12 05:31:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042685 -3.409627)'), GeomFromEWKT('SRID=4674;POINT (-39.042711 -3.409561)'))) / (select extract(epoch from '2026-06-12 05:31:05'::timestamp) - extract(epoch from '2026-06-12 05:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042685 -3.409627)'), GeomFromEWKT('SRID=4674;POINT (-39.042711 -3.409561)'))) / (select extract(epoch from '2026-06-12 05:31:05'::timestamp) - extract(epoch from '2026-06-12 05:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042732 -3.409491)', '2026-06-12 05:31:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042711 -3.409561)'), GeomFromEWKT('SRID=4674;POINT (-39.042732 -3.409491)'))) / (select extract(epoch from '2026-06-12 05:31:13'::timestamp) - extract(epoch from '2026-06-12 05:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042711 -3.409561)'), GeomFromEWKT('SRID=4674;POINT (-39.042732 -3.409491)'))) / (select extract(epoch from '2026-06-12 05:31:13'::timestamp) - extract(epoch from '2026-06-12 05:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042749 -3.409415)', '2026-06-12 05:31:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042732 -3.409491)'), GeomFromEWKT('SRID=4674;POINT (-39.042749 -3.409415)'))) / (select extract(epoch from '2026-06-12 05:31:21'::timestamp) - extract(epoch from '2026-06-12 05:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042732 -3.409491)'), GeomFromEWKT('SRID=4674;POINT (-39.042749 -3.409415)'))) / (select extract(epoch from '2026-06-12 05:31:21'::timestamp) - extract(epoch from '2026-06-12 05:31: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'), 46567, 'SRID=4674;POINT (-39.042769 -3.409343)', '2026-06-12 05:31:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042749 -3.409415)'), GeomFromEWKT('SRID=4674;POINT (-39.042769 -3.409343)'))) / (select extract(epoch from '2026-06-12 05:31:28'::timestamp) - extract(epoch from '2026-06-12 05:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042749 -3.409415)'), GeomFromEWKT('SRID=4674;POINT (-39.042769 -3.409343)'))) / (select extract(epoch from '2026-06-12 05:31:28'::timestamp) - extract(epoch from '2026-06-12 05:31: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'), 46567, 'SRID=4674;POINT (-39.042801 -3.409275)', '2026-06-12 05:31:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042769 -3.409343)'), GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.409275)'))) / (select extract(epoch from '2026-06-12 05:31:35'::timestamp) - extract(epoch from '2026-06-12 05:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042769 -3.409343)'), GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.409275)'))) / (select extract(epoch from '2026-06-12 05:31:35'::timestamp) - extract(epoch from '2026-06-12 05:31: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'), 46567, 'SRID=4674;POINT (-39.042834 -3.409198)', '2026-06-12 05:31:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.409275)'), GeomFromEWKT('SRID=4674;POINT (-39.042834 -3.409198)'))) / (select extract(epoch from '2026-06-12 05:31:43'::timestamp) - extract(epoch from '2026-06-12 05:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.409275)'), GeomFromEWKT('SRID=4674;POINT (-39.042834 -3.409198)'))) / (select extract(epoch from '2026-06-12 05:31:43'::timestamp) - extract(epoch from '2026-06-12 05:31: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'), 46567, 'SRID=4674;POINT (-39.042845 -3.409183)', '2026-06-12 05:31:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042834 -3.409198)'), GeomFromEWKT('SRID=4674;POINT (-39.042845 -3.409183)'))) / (select extract(epoch from '2026-06-12 05:31:45'::timestamp) - extract(epoch from '2026-06-12 05:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042834 -3.409198)'), GeomFromEWKT('SRID=4674;POINT (-39.042845 -3.409183)'))) / (select extract(epoch from '2026-06-12 05:31:45'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042864 -3.409134)', '2026-06-12 05:31:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042845 -3.409183)'), GeomFromEWKT('SRID=4674;POINT (-39.042864 -3.409134)'))) / (select extract(epoch from '2026-06-12 05:31:50'::timestamp) - extract(epoch from '2026-06-12 05:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042845 -3.409183)'), GeomFromEWKT('SRID=4674;POINT (-39.042864 -3.409134)'))) / (select extract(epoch from '2026-06-12 05:31:50'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042891 -3.409055)', '2026-06-12 05:31:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042864 -3.409134)'), GeomFromEWKT('SRID=4674;POINT (-39.042891 -3.409055)'))) / (select extract(epoch from '2026-06-12 05:31:58'::timestamp) - extract(epoch from '2026-06-12 05:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042864 -3.409134)'), GeomFromEWKT('SRID=4674;POINT (-39.042891 -3.409055)'))) / (select extract(epoch from '2026-06-12 05:31:58'::timestamp) - extract(epoch from '2026-06-12 05:31: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'), 46567, 'SRID=4674;POINT (-39.042917 -3.40901)', '2026-06-12 05:32:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042891 -3.409055)'), GeomFromEWKT('SRID=4674;POINT (-39.042917 -3.40901)'))) / (select extract(epoch from '2026-06-12 05:32:03'::timestamp) - extract(epoch from '2026-06-12 05:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042891 -3.409055)'), GeomFromEWKT('SRID=4674;POINT (-39.042917 -3.40901)'))) / (select extract(epoch from '2026-06-12 05:32:03'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042931 -3.408996)', '2026-06-12 05:32:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042917 -3.40901)'), GeomFromEWKT('SRID=4674;POINT (-39.042931 -3.408996)'))) / (select extract(epoch from '2026-06-12 05:32:05'::timestamp) - extract(epoch from '2026-06-12 05:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042917 -3.40901)'), GeomFromEWKT('SRID=4674;POINT (-39.042931 -3.408996)'))) / (select extract(epoch from '2026-06-12 05:32:05'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042935 -3.408985)', '2026-06-12 05:32:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042931 -3.408996)'), GeomFromEWKT('SRID=4674;POINT (-39.042935 -3.408985)'))) / (select extract(epoch from '2026-06-12 05:32:06'::timestamp) - extract(epoch from '2026-06-12 05:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042931 -3.408996)'), GeomFromEWKT('SRID=4674;POINT (-39.042935 -3.408985)'))) / (select extract(epoch from '2026-06-12 05:32:06'::timestamp) - extract(epoch from '2026-06-12 05:32: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'), 46567, 'SRID=4674;POINT (-39.042973 -3.408928)', '2026-06-12 05:32:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042935 -3.408985)'), GeomFromEWKT('SRID=4674;POINT (-39.042973 -3.408928)'))) / (select extract(epoch from '2026-06-12 05:32:13'::timestamp) - extract(epoch from '2026-06-12 05:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042935 -3.408985)'), GeomFromEWKT('SRID=4674;POINT (-39.042973 -3.408928)'))) / (select extract(epoch from '2026-06-12 05:32:13'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.043009 -3.408855)', '2026-06-12 05:32:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042973 -3.408928)'), GeomFromEWKT('SRID=4674;POINT (-39.043009 -3.408855)'))) / (select extract(epoch from '2026-06-12 05:32:21'::timestamp) - extract(epoch from '2026-06-12 05:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042973 -3.408928)'), GeomFromEWKT('SRID=4674;POINT (-39.043009 -3.408855)'))) / (select extract(epoch from '2026-06-12 05:32:21'::timestamp) - extract(epoch from '2026-06-12 05:32: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'), 46567, 'SRID=4674;POINT (-39.043034 -3.408794)', '2026-06-12 05:32:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043009 -3.408855)'), GeomFromEWKT('SRID=4674;POINT (-39.043034 -3.408794)'))) / (select extract(epoch from '2026-06-12 05:32:27'::timestamp) - extract(epoch from '2026-06-12 05:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043009 -3.408855)'), GeomFromEWKT('SRID=4674;POINT (-39.043034 -3.408794)'))) / (select extract(epoch from '2026-06-12 05:32:27'::timestamp) - extract(epoch from '2026-06-12 05:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.043082 -3.408717)', '2026-06-12 05:32:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043034 -3.408794)'), GeomFromEWKT('SRID=4674;POINT (-39.043082 -3.408717)'))) / (select extract(epoch from '2026-06-12 05:32:36'::timestamp) - extract(epoch from '2026-06-12 05:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043034 -3.408794)'), GeomFromEWKT('SRID=4674;POINT (-39.043082 -3.408717)'))) / (select extract(epoch from '2026-06-12 05:32:36'::timestamp) - extract(epoch from '2026-06-12 05:32: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'), 46567, 'SRID=4674;POINT (-39.04312 -3.408649)', '2026-06-12 05:32:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043082 -3.408717)'), GeomFromEWKT('SRID=4674;POINT (-39.04312 -3.408649)'))) / (select extract(epoch from '2026-06-12 05:32:44'::timestamp) - extract(epoch from '2026-06-12 05:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043082 -3.408717)'), GeomFromEWKT('SRID=4674;POINT (-39.04312 -3.408649)'))) / (select extract(epoch from '2026-06-12 05:32:44'::timestamp) - extract(epoch from '2026-06-12 05:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.043159 -3.40857)', '2026-06-12 05:32:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04312 -3.408649)'), GeomFromEWKT('SRID=4674;POINT (-39.043159 -3.40857)'))) / (select extract(epoch from '2026-06-12 05:32:53'::timestamp) - extract(epoch from '2026-06-12 05:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04312 -3.408649)'), GeomFromEWKT('SRID=4674;POINT (-39.043159 -3.40857)'))) / (select extract(epoch from '2026-06-12 05:32:53'::timestamp) - extract(epoch from '2026-06-12 05:32: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'), 46567, 'SRID=4674;POINT (-39.043204 -3.408491)', '2026-06-12 05:33:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043159 -3.40857)'), GeomFromEWKT('SRID=4674;POINT (-39.043204 -3.408491)'))) / (select extract(epoch from '2026-06-12 05:33:02'::timestamp) - extract(epoch from '2026-06-12 05:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043159 -3.40857)'), GeomFromEWKT('SRID=4674;POINT (-39.043204 -3.408491)'))) / (select extract(epoch from '2026-06-12 05:33:02'::timestamp) - extract(epoch from '2026-06-12 05:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.043234 -3.408441)', '2026-06-12 05:33:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043204 -3.408491)'), GeomFromEWKT('SRID=4674;POINT (-39.043234 -3.408441)'))) / (select extract(epoch from '2026-06-12 05:33:08'::timestamp) - extract(epoch from '2026-06-12 05:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043204 -3.408491)'), GeomFromEWKT('SRID=4674;POINT (-39.043234 -3.408441)'))) / (select extract(epoch from '2026-06-12 05:33:08'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.043245 -3.408423)', '2026-06-12 05:33:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043234 -3.408441)'), GeomFromEWKT('SRID=4674;POINT (-39.043245 -3.408423)'))) / (select extract(epoch from '2026-06-12 05:33:10'::timestamp) - extract(epoch from '2026-06-12 05:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043234 -3.408441)'), GeomFromEWKT('SRID=4674;POINT (-39.043245 -3.408423)'))) / (select extract(epoch from '2026-06-12 05:33:10'::timestamp) - extract(epoch from '2026-06-12 05:33: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'), 46567, 'SRID=4674;POINT (-39.043288 -3.408357)', '2026-06-12 05:33:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043245 -3.408423)'), GeomFromEWKT('SRID=4674;POINT (-39.043288 -3.408357)'))) / (select extract(epoch from '2026-06-12 05:33:18'::timestamp) - extract(epoch from '2026-06-12 05:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043245 -3.408423)'), GeomFromEWKT('SRID=4674;POINT (-39.043288 -3.408357)'))) / (select extract(epoch from '2026-06-12 05:33:18'::timestamp) - extract(epoch from '2026-06-12 05:33:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.043297 -3.40834)', '2026-06-12 05:33:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043288 -3.408357)'), GeomFromEWKT('SRID=4674;POINT (-39.043297 -3.40834)'))) / (select extract(epoch from '2026-06-12 05:33:20'::timestamp) - extract(epoch from '2026-06-12 05:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043288 -3.408357)'), GeomFromEWKT('SRID=4674;POINT (-39.043297 -3.40834)'))) / (select extract(epoch from '2026-06-12 05:33:20'::timestamp) - extract(epoch from '2026-06-12 05:33: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'), 46567, 'SRID=4674;POINT (-39.043309 -3.408326)', '2026-06-12 05:33:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043297 -3.40834)'), GeomFromEWKT('SRID=4674;POINT (-39.043309 -3.408326)'))) / (select extract(epoch from '2026-06-12 05:33:22'::timestamp) - extract(epoch from '2026-06-12 05:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043297 -3.40834)'), GeomFromEWKT('SRID=4674;POINT (-39.043309 -3.408326)'))) / (select extract(epoch from '2026-06-12 05:33:22'::timestamp) - extract(epoch from '2026-06-12 05:33: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'), 46567, 'SRID=4674;POINT (-39.043319 -3.408296)', '2026-06-12 05:33:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043309 -3.408326)'), GeomFromEWKT('SRID=4674;POINT (-39.043319 -3.408296)'))) / (select extract(epoch from '2026-06-12 05:33:25'::timestamp) - extract(epoch from '2026-06-12 05:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043309 -3.408326)'), GeomFromEWKT('SRID=4674;POINT (-39.043319 -3.408296)'))) / (select extract(epoch from '2026-06-12 05:33:25'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.043356 -3.408223)', '2026-06-12 05:33:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043319 -3.408296)'), GeomFromEWKT('SRID=4674;POINT (-39.043356 -3.408223)'))) / (select extract(epoch from '2026-06-12 05:33:33'::timestamp) - extract(epoch from '2026-06-12 05:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043319 -3.408296)'), GeomFromEWKT('SRID=4674;POINT (-39.043356 -3.408223)'))) / (select extract(epoch from '2026-06-12 05:33:33'::timestamp) - extract(epoch from '2026-06-12 05:33: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'), 46567, 'SRID=4674;POINT (-39.043393 -3.408153)', '2026-06-12 05:33:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043356 -3.408223)'), GeomFromEWKT('SRID=4674;POINT (-39.043393 -3.408153)'))) / (select extract(epoch from '2026-06-12 05:33:41'::timestamp) - extract(epoch from '2026-06-12 05:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043356 -3.408223)'), GeomFromEWKT('SRID=4674;POINT (-39.043393 -3.408153)'))) / (select extract(epoch from '2026-06-12 05:33:41'::timestamp) - extract(epoch from '2026-06-12 05:33: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'), 46567, 'SRID=4674;POINT (-39.043436 -3.408072)', '2026-06-12 05:33:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043393 -3.408153)'), GeomFromEWKT('SRID=4674;POINT (-39.043436 -3.408072)'))) / (select extract(epoch from '2026-06-12 05:33:50'::timestamp) - extract(epoch from '2026-06-12 05:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043393 -3.408153)'), GeomFromEWKT('SRID=4674;POINT (-39.043436 -3.408072)'))) / (select extract(epoch from '2026-06-12 05:33:50'::timestamp) - extract(epoch from '2026-06-12 05:33: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'), 46567, 'SRID=4674;POINT (-39.043475 -3.408007)', '2026-06-12 05:33:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043436 -3.408072)'), GeomFromEWKT('SRID=4674;POINT (-39.043475 -3.408007)'))) / (select extract(epoch from '2026-06-12 05:33:58'::timestamp) - extract(epoch from '2026-06-12 05:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043436 -3.408072)'), GeomFromEWKT('SRID=4674;POINT (-39.043475 -3.408007)'))) / (select extract(epoch from '2026-06-12 05:33:58'::timestamp) - extract(epoch from '2026-06-12 05:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.043498 -3.407946)', '2026-06-12 05:34:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043475 -3.408007)'), GeomFromEWKT('SRID=4674;POINT (-39.043498 -3.407946)'))) / (select extract(epoch from '2026-06-12 05:34:05'::timestamp) - extract(epoch from '2026-06-12 05:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043475 -3.408007)'), GeomFromEWKT('SRID=4674;POINT (-39.043498 -3.407946)'))) / (select extract(epoch from '2026-06-12 05:34:05'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.043532 -3.407872)', '2026-06-12 05:34:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043498 -3.407946)'), GeomFromEWKT('SRID=4674;POINT (-39.043532 -3.407872)'))) / (select extract(epoch from '2026-06-12 05:34:13'::timestamp) - extract(epoch from '2026-06-12 05:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043498 -3.407946)'), GeomFromEWKT('SRID=4674;POINT (-39.043532 -3.407872)'))) / (select extract(epoch from '2026-06-12 05:34:13'::timestamp) - extract(epoch from '2026-06-12 05:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.043563 -3.407794)', '2026-06-12 05:34:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043532 -3.407872)'), GeomFromEWKT('SRID=4674;POINT (-39.043563 -3.407794)'))) / (select extract(epoch from '2026-06-12 05:34:22'::timestamp) - extract(epoch from '2026-06-12 05:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043532 -3.407872)'), GeomFromEWKT('SRID=4674;POINT (-39.043563 -3.407794)'))) / (select extract(epoch from '2026-06-12 05:34:22'::timestamp) - extract(epoch from '2026-06-12 05:34: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'), 46567, 'SRID=4674;POINT (-39.043579 -3.407726)', '2026-06-12 05:34:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043563 -3.407794)'), GeomFromEWKT('SRID=4674;POINT (-39.043579 -3.407726)'))) / (select extract(epoch from '2026-06-12 05:34:31'::timestamp) - extract(epoch from '2026-06-12 05:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043563 -3.407794)'), GeomFromEWKT('SRID=4674;POINT (-39.043579 -3.407726)'))) / (select extract(epoch from '2026-06-12 05:34:31'::timestamp) - extract(epoch from '2026-06-12 05:34: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'), 46567, 'SRID=4674;POINT (-39.043573 -3.407682)', '2026-06-12 05:34:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043579 -3.407726)'), GeomFromEWKT('SRID=4674;POINT (-39.043573 -3.407682)'))) / (select extract(epoch from '2026-06-12 05:34:40'::timestamp) - extract(epoch from '2026-06-12 05:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043579 -3.407726)'), GeomFromEWKT('SRID=4674;POINT (-39.043573 -3.407682)'))) / (select extract(epoch from '2026-06-12 05:34:40'::timestamp) - extract(epoch from '2026-06-12 05:34: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'), 46567, 'SRID=4674;POINT (-39.043568 -3.407664)', '2026-06-12 05:34:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043573 -3.407682)'), GeomFromEWKT('SRID=4674;POINT (-39.043568 -3.407664)'))) / (select extract(epoch from '2026-06-12 05:34:51'::timestamp) - extract(epoch from '2026-06-12 05:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043573 -3.407682)'), GeomFromEWKT('SRID=4674;POINT (-39.043568 -3.407664)'))) / (select extract(epoch from '2026-06-12 05:34:51'::timestamp) - extract(epoch from '2026-06-12 05:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.043557 -3.407691)', '2026-06-12 05:35:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043568 -3.407664)'), GeomFromEWKT('SRID=4674;POINT (-39.043557 -3.407691)'))) / (select extract(epoch from '2026-06-12 05:35:09'::timestamp) - extract(epoch from '2026-06-12 05:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043568 -3.407664)'), GeomFromEWKT('SRID=4674;POINT (-39.043557 -3.407691)'))) / (select extract(epoch from '2026-06-12 05:35:09'::timestamp) - extract(epoch from '2026-06-12 05:34: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'), 46567, 'SRID=4674;POINT (-39.043527 -3.407707)', '2026-06-12 05:35:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043557 -3.407691)'), GeomFromEWKT('SRID=4674;POINT (-39.043527 -3.407707)'))) / (select extract(epoch from '2026-06-12 05:35:20'::timestamp) - extract(epoch from '2026-06-12 05:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043557 -3.407691)'), GeomFromEWKT('SRID=4674;POINT (-39.043527 -3.407707)'))) / (select extract(epoch from '2026-06-12 05:35:20'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.043451 -3.40772)', '2026-06-12 05:35:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043527 -3.407707)'), GeomFromEWKT('SRID=4674;POINT (-39.043451 -3.40772)'))) / (select extract(epoch from '2026-06-12 05:35:40'::timestamp) - extract(epoch from '2026-06-12 05:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043527 -3.407707)'), GeomFromEWKT('SRID=4674;POINT (-39.043451 -3.40772)'))) / (select extract(epoch from '2026-06-12 05:35:40'::timestamp) - extract(epoch from '2026-06-12 05:35: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'), 46567, 'SRID=4674;POINT (-39.04341 -3.407722)', '2026-06-12 05:35:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043451 -3.40772)'), GeomFromEWKT('SRID=4674;POINT (-39.04341 -3.407722)'))) / (select extract(epoch from '2026-06-12 05:35:59'::timestamp) - extract(epoch from '2026-06-12 05:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043451 -3.40772)'), GeomFromEWKT('SRID=4674;POINT (-39.04341 -3.407722)'))) / (select extract(epoch from '2026-06-12 05:35:59'::timestamp) - extract(epoch from '2026-06-12 05:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.043344 -3.40775)', '2026-06-12 05:36:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04341 -3.407722)'), GeomFromEWKT('SRID=4674;POINT (-39.043344 -3.40775)'))) / (select extract(epoch from '2026-06-12 05:36:16'::timestamp) - extract(epoch from '2026-06-12 05:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04341 -3.407722)'), GeomFromEWKT('SRID=4674;POINT (-39.043344 -3.40775)'))) / (select extract(epoch from '2026-06-12 05:36:16'::timestamp) - extract(epoch from '2026-06-12 05:35: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'), 46567, 'SRID=4674;POINT (-39.04326 -3.407738)', '2026-06-12 05:36:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043344 -3.40775)'), GeomFromEWKT('SRID=4674;POINT (-39.04326 -3.407738)'))) / (select extract(epoch from '2026-06-12 05:36:37'::timestamp) - extract(epoch from '2026-06-12 05:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043344 -3.40775)'), GeomFromEWKT('SRID=4674;POINT (-39.04326 -3.407738)'))) / (select extract(epoch from '2026-06-12 05:36:37'::timestamp) - extract(epoch from '2026-06-12 05:36:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.04322 -3.407754)', '2026-06-12 05:36:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04326 -3.407738)'), GeomFromEWKT('SRID=4674;POINT (-39.04322 -3.407754)'))) / (select extract(epoch from '2026-06-12 05:36:56'::timestamp) - extract(epoch from '2026-06-12 05:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04326 -3.407738)'), GeomFromEWKT('SRID=4674;POINT (-39.04322 -3.407754)'))) / (select extract(epoch from '2026-06-12 05:36:56'::timestamp) - extract(epoch from '2026-06-12 05:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.043141 -3.407768)', '2026-06-12 05:37:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04322 -3.407754)'), GeomFromEWKT('SRID=4674;POINT (-39.043141 -3.407768)'))) / (select extract(epoch from '2026-06-12 05:37:15'::timestamp) - extract(epoch from '2026-06-12 05:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04322 -3.407754)'), GeomFromEWKT('SRID=4674;POINT (-39.043141 -3.407768)'))) / (select extract(epoch from '2026-06-12 05:37:15'::timestamp) - extract(epoch from '2026-06-12 05:36: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'), 46567, 'SRID=4674;POINT (-39.043084 -3.407769)', '2026-06-12 05:37:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043141 -3.407768)'), GeomFromEWKT('SRID=4674;POINT (-39.043084 -3.407769)'))) / (select extract(epoch from '2026-06-12 05:37:28'::timestamp) - extract(epoch from '2026-06-12 05:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043141 -3.407768)'), GeomFromEWKT('SRID=4674;POINT (-39.043084 -3.407769)'))) / (select extract(epoch from '2026-06-12 05:37:28'::timestamp) - extract(epoch from '2026-06-12 05:37:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.043038 -3.407794)', '2026-06-12 05:37:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043084 -3.407769)'), GeomFromEWKT('SRID=4674;POINT (-39.043038 -3.407794)'))) / (select extract(epoch from '2026-06-12 05:37:44'::timestamp) - extract(epoch from '2026-06-12 05:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043084 -3.407769)'), GeomFromEWKT('SRID=4674;POINT (-39.043038 -3.407794)'))) / (select extract(epoch from '2026-06-12 05:37:44'::timestamp) - extract(epoch from '2026-06-12 05:37: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'), 46567, 'SRID=4674;POINT (-39.042962 -3.407803)', '2026-06-12 05:38:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043038 -3.407794)'), GeomFromEWKT('SRID=4674;POINT (-39.042962 -3.407803)'))) / (select extract(epoch from '2026-06-12 05:38:04'::timestamp) - extract(epoch from '2026-06-12 05:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043038 -3.407794)'), GeomFromEWKT('SRID=4674;POINT (-39.042962 -3.407803)'))) / (select extract(epoch from '2026-06-12 05:38:04'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042866 -3.407827)', '2026-06-12 05:38:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042962 -3.407803)'), GeomFromEWKT('SRID=4674;POINT (-39.042866 -3.407827)'))) / (select extract(epoch from '2026-06-12 05:38:30'::timestamp) - extract(epoch from '2026-06-12 05:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042962 -3.407803)'), GeomFromEWKT('SRID=4674;POINT (-39.042866 -3.407827)'))) / (select extract(epoch from '2026-06-12 05:38:30'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042791 -3.407833)', '2026-06-12 05:38:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042866 -3.407827)'), GeomFromEWKT('SRID=4674;POINT (-39.042791 -3.407833)'))) / (select extract(epoch from '2026-06-12 05:38:53'::timestamp) - extract(epoch from '2026-06-12 05:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042866 -3.407827)'), GeomFromEWKT('SRID=4674;POINT (-39.042791 -3.407833)'))) / (select extract(epoch from '2026-06-12 05:38:53'::timestamp) - extract(epoch from '2026-06-12 05:38: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'), 46567, 'SRID=4674;POINT (-39.042748 -3.407838)', '2026-06-12 05:39:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042791 -3.407833)'), GeomFromEWKT('SRID=4674;POINT (-39.042748 -3.407838)'))) / (select extract(epoch from '2026-06-12 05:39:07'::timestamp) - extract(epoch from '2026-06-12 05:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042791 -3.407833)'), GeomFromEWKT('SRID=4674;POINT (-39.042748 -3.407838)'))) / (select extract(epoch from '2026-06-12 05:39:07'::timestamp) - extract(epoch from '2026-06-12 05:38: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'), 46567, 'SRID=4674;POINT (-39.042694 -3.407855)', '2026-06-12 05:39:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042748 -3.407838)'), GeomFromEWKT('SRID=4674;POINT (-39.042694 -3.407855)'))) / (select extract(epoch from '2026-06-12 05:39:24'::timestamp) - extract(epoch from '2026-06-12 05:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042748 -3.407838)'), GeomFromEWKT('SRID=4674;POINT (-39.042694 -3.407855)'))) / (select extract(epoch from '2026-06-12 05:39:24'::timestamp) - extract(epoch from '2026-06-12 05:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042646 -3.407873)', '2026-06-12 05:39:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042694 -3.407855)'), GeomFromEWKT('SRID=4674;POINT (-39.042646 -3.407873)'))) / (select extract(epoch from '2026-06-12 05:39:41'::timestamp) - extract(epoch from '2026-06-12 05:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042694 -3.407855)'), GeomFromEWKT('SRID=4674;POINT (-39.042646 -3.407873)'))) / (select extract(epoch from '2026-06-12 05:39:41'::timestamp) - extract(epoch from '2026-06-12 05:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042592 -3.407865)', '2026-06-12 05:39:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042646 -3.407873)'), GeomFromEWKT('SRID=4674;POINT (-39.042592 -3.407865)'))) / (select extract(epoch from '2026-06-12 05:39:59'::timestamp) - extract(epoch from '2026-06-12 05:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042646 -3.407873)'), GeomFromEWKT('SRID=4674;POINT (-39.042592 -3.407865)'))) / (select extract(epoch from '2026-06-12 05:39:59'::timestamp) - extract(epoch from '2026-06-12 05:39:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042549 -3.407889)', '2026-06-12 05:40:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042592 -3.407865)'), GeomFromEWKT('SRID=4674;POINT (-39.042549 -3.407889)'))) / (select extract(epoch from '2026-06-12 05:40:21'::timestamp) - extract(epoch from '2026-06-12 05:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042592 -3.407865)'), GeomFromEWKT('SRID=4674;POINT (-39.042549 -3.407889)'))) / (select extract(epoch from '2026-06-12 05:40:21'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.042459 -3.40789)', '2026-06-12 05:40:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042549 -3.407889)'), GeomFromEWKT('SRID=4674;POINT (-39.042459 -3.40789)'))) / (select extract(epoch from '2026-06-12 05:40:40'::timestamp) - extract(epoch from '2026-06-12 05:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042549 -3.407889)'), GeomFromEWKT('SRID=4674;POINT (-39.042459 -3.40789)'))) / (select extract(epoch from '2026-06-12 05:40:40'::timestamp) - extract(epoch from '2026-06-12 05:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.04238 -3.40791)', '2026-06-12 05:41:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042459 -3.40789)'), GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.40791)'))) / (select extract(epoch from '2026-06-12 05:41:06'::timestamp) - extract(epoch from '2026-06-12 05:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042459 -3.40789)'), GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.40791)'))) / (select extract(epoch from '2026-06-12 05:41:06'::timestamp) - extract(epoch from '2026-06-12 05:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042326 -3.407916)', '2026-06-12 05:41:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.40791)'), GeomFromEWKT('SRID=4674;POINT (-39.042326 -3.407916)'))) / (select extract(epoch from '2026-06-12 05:41:26'::timestamp) - extract(epoch from '2026-06-12 05:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.40791)'), GeomFromEWKT('SRID=4674;POINT (-39.042326 -3.407916)'))) / (select extract(epoch from '2026-06-12 05:41:26'::timestamp) - extract(epoch from '2026-06-12 05:41: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'), 46567, 'SRID=4674;POINT (-39.042251 -3.407938)', '2026-06-12 05:41:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042326 -3.407916)'), GeomFromEWKT('SRID=4674;POINT (-39.042251 -3.407938)'))) / (select extract(epoch from '2026-06-12 05:41:48'::timestamp) - extract(epoch from '2026-06-12 05:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042326 -3.407916)'), GeomFromEWKT('SRID=4674;POINT (-39.042251 -3.407938)'))) / (select extract(epoch from '2026-06-12 05:41:48'::timestamp) - extract(epoch from '2026-06-12 05:41: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'), 46567, 'SRID=4674;POINT (-39.042192 -3.407934)', '2026-06-12 05:42:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042251 -3.407938)'), GeomFromEWKT('SRID=4674;POINT (-39.042192 -3.407934)'))) / (select extract(epoch from '2026-06-12 05:42:12'::timestamp) - extract(epoch from '2026-06-12 05:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042251 -3.407938)'), GeomFromEWKT('SRID=4674;POINT (-39.042192 -3.407934)'))) / (select extract(epoch from '2026-06-12 05:42:12'::timestamp) - extract(epoch from '2026-06-12 05:41: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'), 46567, 'SRID=4674;POINT (-39.042147 -3.407953)', '2026-06-12 05:42:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042192 -3.407934)'), GeomFromEWKT('SRID=4674;POINT (-39.042147 -3.407953)'))) / (select extract(epoch from '2026-06-12 05:42:26'::timestamp) - extract(epoch from '2026-06-12 05:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042192 -3.407934)'), GeomFromEWKT('SRID=4674;POINT (-39.042147 -3.407953)'))) / (select extract(epoch from '2026-06-12 05:42:26'::timestamp) - extract(epoch from '2026-06-12 05:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042074 -3.407968)', '2026-06-12 05:42:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042147 -3.407953)'), GeomFromEWKT('SRID=4674;POINT (-39.042074 -3.407968)'))) / (select extract(epoch from '2026-06-12 05:42:46'::timestamp) - extract(epoch from '2026-06-12 05:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042147 -3.407953)'), GeomFromEWKT('SRID=4674;POINT (-39.042074 -3.407968)'))) / (select extract(epoch from '2026-06-12 05:42:46'::timestamp) - extract(epoch from '2026-06-12 05:42:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.042037 -3.407972)', '2026-06-12 05:43:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042074 -3.407968)'), GeomFromEWKT('SRID=4674;POINT (-39.042037 -3.407972)'))) / (select extract(epoch from '2026-06-12 05:43:02'::timestamp) - extract(epoch from '2026-06-12 05:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042074 -3.407968)'), GeomFromEWKT('SRID=4674;POINT (-39.042037 -3.407972)'))) / (select extract(epoch from '2026-06-12 05:43:02'::timestamp) - extract(epoch from '2026-06-12 05:42: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'), 46567, 'SRID=4674;POINT (-39.041986 -3.407989)', '2026-06-12 05:43:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042037 -3.407972)'), GeomFromEWKT('SRID=4674;POINT (-39.041986 -3.407989)'))) / (select extract(epoch from '2026-06-12 05:43:18'::timestamp) - extract(epoch from '2026-06-12 05:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042037 -3.407972)'), GeomFromEWKT('SRID=4674;POINT (-39.041986 -3.407989)'))) / (select extract(epoch from '2026-06-12 05:43:18'::timestamp) - extract(epoch from '2026-06-12 05:43: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'), 46567, 'SRID=4674;POINT (-39.04192 -3.407994)', '2026-06-12 05:43:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041986 -3.407989)'), GeomFromEWKT('SRID=4674;POINT (-39.04192 -3.407994)'))) / (select extract(epoch from '2026-06-12 05:43:35'::timestamp) - extract(epoch from '2026-06-12 05:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041986 -3.407989)'), GeomFromEWKT('SRID=4674;POINT (-39.04192 -3.407994)'))) / (select extract(epoch from '2026-06-12 05:43:35'::timestamp) - extract(epoch from '2026-06-12 05:43:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.041857 -3.408015)', '2026-06-12 05:43:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04192 -3.407994)'), GeomFromEWKT('SRID=4674;POINT (-39.041857 -3.408015)'))) / (select extract(epoch from '2026-06-12 05:43:53'::timestamp) - extract(epoch from '2026-06-12 05:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04192 -3.407994)'), GeomFromEWKT('SRID=4674;POINT (-39.041857 -3.408015)'))) / (select extract(epoch from '2026-06-12 05:43:53'::timestamp) - extract(epoch from '2026-06-12 05:43:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.041778 -3.408029)', '2026-06-12 05:44:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041857 -3.408015)'), GeomFromEWKT('SRID=4674;POINT (-39.041778 -3.408029)'))) / (select extract(epoch from '2026-06-12 05:44:15'::timestamp) - extract(epoch from '2026-06-12 05:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041857 -3.408015)'), GeomFromEWKT('SRID=4674;POINT (-39.041778 -3.408029)'))) / (select extract(epoch from '2026-06-12 05:44:15'::timestamp) - extract(epoch from '2026-06-12 05:43: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'), 46567, 'SRID=4674;POINT (-39.041705 -3.408022)', '2026-06-12 05:44:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041778 -3.408029)'), GeomFromEWKT('SRID=4674;POINT (-39.041705 -3.408022)'))) / (select extract(epoch from '2026-06-12 05:44:36'::timestamp) - extract(epoch from '2026-06-12 05:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041778 -3.408029)'), GeomFromEWKT('SRID=4674;POINT (-39.041705 -3.408022)'))) / (select extract(epoch from '2026-06-12 05:44:36'::timestamp) - extract(epoch from '2026-06-12 05:44:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.041656 -3.408031)', '2026-06-12 05:44:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041705 -3.408022)'), GeomFromEWKT('SRID=4674;POINT (-39.041656 -3.408031)'))) / (select extract(epoch from '2026-06-12 05:44:54'::timestamp) - extract(epoch from '2026-06-12 05:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041705 -3.408022)'), GeomFromEWKT('SRID=4674;POINT (-39.041656 -3.408031)'))) / (select extract(epoch from '2026-06-12 05:44:54'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.041615 -3.408033)', '2026-06-12 05:45:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041656 -3.408031)'), GeomFromEWKT('SRID=4674;POINT (-39.041615 -3.408033)'))) / (select extract(epoch from '2026-06-12 05:45:10'::timestamp) - extract(epoch from '2026-06-12 05:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041656 -3.408031)'), GeomFromEWKT('SRID=4674;POINT (-39.041615 -3.408033)'))) / (select extract(epoch from '2026-06-12 05:45:10'::timestamp) - extract(epoch from '2026-06-12 05:44: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'), 46567, 'SRID=4674;POINT (-39.041556 -3.408048)', '2026-06-12 05:45:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041615 -3.408033)'), GeomFromEWKT('SRID=4674;POINT (-39.041556 -3.408048)'))) / (select extract(epoch from '2026-06-12 05:45:25'::timestamp) - extract(epoch from '2026-06-12 05:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041615 -3.408033)'), GeomFromEWKT('SRID=4674;POINT (-39.041556 -3.408048)'))) / (select extract(epoch from '2026-06-12 05:45:25'::timestamp) - extract(epoch from '2026-06-12 05:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.041486 -3.40806)', '2026-06-12 05:45:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041556 -3.408048)'), GeomFromEWKT('SRID=4674;POINT (-39.041486 -3.40806)'))) / (select extract(epoch from '2026-06-12 05:45:45'::timestamp) - extract(epoch from '2026-06-12 05:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041556 -3.408048)'), GeomFromEWKT('SRID=4674;POINT (-39.041486 -3.40806)'))) / (select extract(epoch from '2026-06-12 05:45:45'::timestamp) - extract(epoch from '2026-06-12 05:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.041429 -3.408067)', '2026-06-12 05:45:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041486 -3.40806)'), GeomFromEWKT('SRID=4674;POINT (-39.041429 -3.408067)'))) / (select extract(epoch from '2026-06-12 05:45:58'::timestamp) - extract(epoch from '2026-06-12 05:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041486 -3.40806)'), GeomFromEWKT('SRID=4674;POINT (-39.041429 -3.408067)'))) / (select extract(epoch from '2026-06-12 05:45:58'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.041378 -3.408068)', '2026-06-12 05:46:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041429 -3.408067)'), GeomFromEWKT('SRID=4674;POINT (-39.041378 -3.408068)'))) / (select extract(epoch from '2026-06-12 05:46:13'::timestamp) - extract(epoch from '2026-06-12 05:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041429 -3.408067)'), GeomFromEWKT('SRID=4674;POINT (-39.041378 -3.408068)'))) / (select extract(epoch from '2026-06-12 05:46:13'::timestamp) - extract(epoch from '2026-06-12 05:45: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'), 46567, 'SRID=4674;POINT (-39.041322 -3.408083)', '2026-06-12 05:46:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041378 -3.408068)'), GeomFromEWKT('SRID=4674;POINT (-39.041322 -3.408083)'))) / (select extract(epoch from '2026-06-12 05:46:33'::timestamp) - extract(epoch from '2026-06-12 05:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041378 -3.408068)'), GeomFromEWKT('SRID=4674;POINT (-39.041322 -3.408083)'))) / (select extract(epoch from '2026-06-12 05:46:33'::timestamp) - extract(epoch from '2026-06-12 05:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.041235 -3.408092)', '2026-06-12 05:46:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041322 -3.408083)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.408092)'))) / (select extract(epoch from '2026-06-12 05:46:53'::timestamp) - extract(epoch from '2026-06-12 05:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041322 -3.408083)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.408092)'))) / (select extract(epoch from '2026-06-12 05:46:53'::timestamp) - extract(epoch from '2026-06-12 05:46: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'), 46567, 'SRID=4674;POINT (-39.04115 -3.408112)', '2026-06-12 05:47:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.408092)'), GeomFromEWKT('SRID=4674;POINT (-39.04115 -3.408112)'))) / (select extract(epoch from '2026-06-12 05:47:15'::timestamp) - extract(epoch from '2026-06-12 05:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.408092)'), GeomFromEWKT('SRID=4674;POINT (-39.04115 -3.408112)'))) / (select extract(epoch from '2026-06-12 05:47:15'::timestamp) - extract(epoch from '2026-06-12 05:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.041088 -3.408126)', '2026-06-12 05:47:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04115 -3.408112)'), GeomFromEWKT('SRID=4674;POINT (-39.041088 -3.408126)'))) / (select extract(epoch from '2026-06-12 05:47:35'::timestamp) - extract(epoch from '2026-06-12 05:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04115 -3.408112)'), GeomFromEWKT('SRID=4674;POINT (-39.041088 -3.408126)'))) / (select extract(epoch from '2026-06-12 05:47:35'::timestamp) - extract(epoch from '2026-06-12 05:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.041015 -3.408142)', '2026-06-12 05:47:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041088 -3.408126)'), GeomFromEWKT('SRID=4674;POINT (-39.041015 -3.408142)'))) / (select extract(epoch from '2026-06-12 05:47:52'::timestamp) - extract(epoch from '2026-06-12 05:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041088 -3.408126)'), GeomFromEWKT('SRID=4674;POINT (-39.041015 -3.408142)'))) / (select extract(epoch from '2026-06-12 05:47:52'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.040966 -3.40815)', '2026-06-12 05:48:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041015 -3.408142)'), GeomFromEWKT('SRID=4674;POINT (-39.040966 -3.40815)'))) / (select extract(epoch from '2026-06-12 05:48:05'::timestamp) - extract(epoch from '2026-06-12 05:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041015 -3.408142)'), GeomFromEWKT('SRID=4674;POINT (-39.040966 -3.40815)'))) / (select extract(epoch from '2026-06-12 05:48:05'::timestamp) - extract(epoch from '2026-06-12 05:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040888 -3.408167)', '2026-06-12 05:48:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040966 -3.40815)'), GeomFromEWKT('SRID=4674;POINT (-39.040888 -3.408167)'))) / (select extract(epoch from '2026-06-12 05:48:24'::timestamp) - extract(epoch from '2026-06-12 05:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040966 -3.40815)'), GeomFromEWKT('SRID=4674;POINT (-39.040888 -3.408167)'))) / (select extract(epoch from '2026-06-12 05:48:24'::timestamp) - extract(epoch from '2026-06-12 05:48: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'), 46567, 'SRID=4674;POINT (-39.040804 -3.408168)', '2026-06-12 05:48:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040888 -3.408167)'), GeomFromEWKT('SRID=4674;POINT (-39.040804 -3.408168)'))) / (select extract(epoch from '2026-06-12 05:48:47'::timestamp) - extract(epoch from '2026-06-12 05:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040888 -3.408167)'), GeomFromEWKT('SRID=4674;POINT (-39.040804 -3.408168)'))) / (select extract(epoch from '2026-06-12 05:48:47'::timestamp) - extract(epoch from '2026-06-12 05:48: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'), 46567, 'SRID=4674;POINT (-39.040723 -3.408169)', '2026-06-12 05:49:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040804 -3.408168)'), GeomFromEWKT('SRID=4674;POINT (-39.040723 -3.408169)'))) / (select extract(epoch from '2026-06-12 05:49:06'::timestamp) - extract(epoch from '2026-06-12 05:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040804 -3.408168)'), GeomFromEWKT('SRID=4674;POINT (-39.040723 -3.408169)'))) / (select extract(epoch from '2026-06-12 05:49:06'::timestamp) - extract(epoch from '2026-06-12 05:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040663 -3.408187)', '2026-06-12 05:49:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040723 -3.408169)'), GeomFromEWKT('SRID=4674;POINT (-39.040663 -3.408187)'))) / (select extract(epoch from '2026-06-12 05:49:23'::timestamp) - extract(epoch from '2026-06-12 05:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040723 -3.408169)'), GeomFromEWKT('SRID=4674;POINT (-39.040663 -3.408187)'))) / (select extract(epoch from '2026-06-12 05:49:23'::timestamp) - extract(epoch from '2026-06-12 05: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'), 46567, 'SRID=4674;POINT (-39.040598 -3.408207)', '2026-06-12 05:49:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040663 -3.408187)'), GeomFromEWKT('SRID=4674;POINT (-39.040598 -3.408207)'))) / (select extract(epoch from '2026-06-12 05:49:44'::timestamp) - extract(epoch from '2026-06-12 05:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040663 -3.408187)'), GeomFromEWKT('SRID=4674;POINT (-39.040598 -3.408207)'))) / (select extract(epoch from '2026-06-12 05:49:44'::timestamp) - extract(epoch from '2026-06-12 05:49: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'), 46567, 'SRID=4674;POINT (-39.040544 -3.408206)', '2026-06-12 05:50:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040598 -3.408207)'), GeomFromEWKT('SRID=4674;POINT (-39.040544 -3.408206)'))) / (select extract(epoch from '2026-06-12 05:50:09'::timestamp) - extract(epoch from '2026-06-12 05:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040598 -3.408207)'), GeomFromEWKT('SRID=4674;POINT (-39.040544 -3.408206)'))) / (select extract(epoch from '2026-06-12 05:50:09'::timestamp) - extract(epoch from '2026-06-12 05:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040527 -3.408231)', '2026-06-12 05:50:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040544 -3.408206)'), GeomFromEWKT('SRID=4674;POINT (-39.040527 -3.408231)'))) / (select extract(epoch from '2026-06-12 05:50:22'::timestamp) - extract(epoch from '2026-06-12 05:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040544 -3.408206)'), GeomFromEWKT('SRID=4674;POINT (-39.040527 -3.408231)'))) / (select extract(epoch from '2026-06-12 05:50:22'::timestamp) - extract(epoch from '2026-06-12 05:50: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'), 46567, 'SRID=4674;POINT (-39.040481 -3.408235)', '2026-06-12 05:50:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040527 -3.408231)'), GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.408235)'))) / (select extract(epoch from '2026-06-12 05:50:35'::timestamp) - extract(epoch from '2026-06-12 05:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040527 -3.408231)'), GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.408235)'))) / (select extract(epoch from '2026-06-12 05:50:35'::timestamp) - extract(epoch from '2026-06-12 05:50: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'), 46567, 'SRID=4674;POINT (-39.040394 -3.408224)', '2026-06-12 05:50:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.408235)'), GeomFromEWKT('SRID=4674;POINT (-39.040394 -3.408224)'))) / (select extract(epoch from '2026-06-12 05:50:54'::timestamp) - extract(epoch from '2026-06-12 05:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.408235)'), GeomFromEWKT('SRID=4674;POINT (-39.040394 -3.408224)'))) / (select extract(epoch from '2026-06-12 05:50:54'::timestamp) - extract(epoch from '2026-06-12 05:50: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'), 46567, 'SRID=4674;POINT (-39.040303 -3.408229)', '2026-06-12 05:51:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040394 -3.408224)'), GeomFromEWKT('SRID=4674;POINT (-39.040303 -3.408229)'))) / (select extract(epoch from '2026-06-12 05:51:19'::timestamp) - extract(epoch from '2026-06-12 05:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040394 -3.408224)'), GeomFromEWKT('SRID=4674;POINT (-39.040303 -3.408229)'))) / (select extract(epoch from '2026-06-12 05:51:19'::timestamp) - extract(epoch from '2026-06-12 05:50: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'), 46567, 'SRID=4674;POINT (-39.040235 -3.408231)', '2026-06-12 05:51:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040303 -3.408229)'), GeomFromEWKT('SRID=4674;POINT (-39.040235 -3.408231)'))) / (select extract(epoch from '2026-06-12 05:51:40'::timestamp) - extract(epoch from '2026-06-12 05:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040303 -3.408229)'), GeomFromEWKT('SRID=4674;POINT (-39.040235 -3.408231)'))) / (select extract(epoch from '2026-06-12 05:51:40'::timestamp) - extract(epoch from '2026-06-12 05:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040199 -3.408236)', '2026-06-12 05:52:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040235 -3.408231)'), GeomFromEWKT('SRID=4674;POINT (-39.040199 -3.408236)'))) / (select extract(epoch from '2026-06-12 05:52:01'::timestamp) - extract(epoch from '2026-06-12 05:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040235 -3.408231)'), GeomFromEWKT('SRID=4674;POINT (-39.040199 -3.408236)'))) / (select extract(epoch from '2026-06-12 05:52:01'::timestamp) - extract(epoch from '2026-06-12 05:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040116 -3.408245)', '2026-06-12 05:52:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040199 -3.408236)'), GeomFromEWKT('SRID=4674;POINT (-39.040116 -3.408245)'))) / (select extract(epoch from '2026-06-12 05:52:22'::timestamp) - extract(epoch from '2026-06-12 05:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040199 -3.408236)'), GeomFromEWKT('SRID=4674;POINT (-39.040116 -3.408245)'))) / (select extract(epoch from '2026-06-12 05:52:22'::timestamp) - extract(epoch from '2026-06-12 05:52: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'), 46567, 'SRID=4674;POINT (-39.040048 -3.408269)', '2026-06-12 05:52:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040116 -3.408245)'), GeomFromEWKT('SRID=4674;POINT (-39.040048 -3.408269)'))) / (select extract(epoch from '2026-06-12 05:52:41'::timestamp) - extract(epoch from '2026-06-12 05:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040116 -3.408245)'), GeomFromEWKT('SRID=4674;POINT (-39.040048 -3.408269)'))) / (select extract(epoch from '2026-06-12 05:52:41'::timestamp) - extract(epoch from '2026-06-12 05:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.03996 -3.408277)', '2026-06-12 05:53:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040048 -3.408269)'), GeomFromEWKT('SRID=4674;POINT (-39.03996 -3.408277)'))) / (select extract(epoch from '2026-06-12 05:53:03'::timestamp) - extract(epoch from '2026-06-12 05:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040048 -3.408269)'), GeomFromEWKT('SRID=4674;POINT (-39.03996 -3.408277)'))) / (select extract(epoch from '2026-06-12 05:53:03'::timestamp) - extract(epoch from '2026-06-12 05:52:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039865 -3.408285)', '2026-06-12 05:53:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03996 -3.408277)'), GeomFromEWKT('SRID=4674;POINT (-39.039865 -3.408285)'))) / (select extract(epoch from '2026-06-12 05:53:27'::timestamp) - extract(epoch from '2026-06-12 05:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03996 -3.408277)'), GeomFromEWKT('SRID=4674;POINT (-39.039865 -3.408285)'))) / (select extract(epoch from '2026-06-12 05:53:27'::timestamp) - extract(epoch from '2026-06-12 05:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039779 -3.408285)', '2026-06-12 05:53:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039865 -3.408285)'), GeomFromEWKT('SRID=4674;POINT (-39.039779 -3.408285)'))) / (select extract(epoch from '2026-06-12 05:53:50'::timestamp) - extract(epoch from '2026-06-12 05:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039865 -3.408285)'), GeomFromEWKT('SRID=4674;POINT (-39.039779 -3.408285)'))) / (select extract(epoch from '2026-06-12 05:53:50'::timestamp) - extract(epoch from '2026-06-12 05:53: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'), 46567, 'SRID=4674;POINT (-39.039688 -3.408275)', '2026-06-12 05:54:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039779 -3.408285)'), GeomFromEWKT('SRID=4674;POINT (-39.039688 -3.408275)'))) / (select extract(epoch from '2026-06-12 05:54:16'::timestamp) - extract(epoch from '2026-06-12 05:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039779 -3.408285)'), GeomFromEWKT('SRID=4674;POINT (-39.039688 -3.408275)'))) / (select extract(epoch from '2026-06-12 05:54:16'::timestamp) - extract(epoch from '2026-06-12 05:53: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'), 46567, 'SRID=4674;POINT (-39.039582 -3.408261)', '2026-06-12 05:54:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039688 -3.408275)'), GeomFromEWKT('SRID=4674;POINT (-39.039582 -3.408261)'))) / (select extract(epoch from '2026-06-12 05:54:39'::timestamp) - extract(epoch from '2026-06-12 05:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039688 -3.408275)'), GeomFromEWKT('SRID=4674;POINT (-39.039582 -3.408261)'))) / (select extract(epoch from '2026-06-12 05:54:39'::timestamp) - extract(epoch from '2026-06-12 05:54: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'), 46567, 'SRID=4674;POINT (-39.039495 -3.408237)', '2026-06-12 05:54:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039582 -3.408261)'), GeomFromEWKT('SRID=4674;POINT (-39.039495 -3.408237)'))) / (select extract(epoch from '2026-06-12 05:54:54'::timestamp) - extract(epoch from '2026-06-12 05:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039582 -3.408261)'), GeomFromEWKT('SRID=4674;POINT (-39.039495 -3.408237)'))) / (select extract(epoch from '2026-06-12 05:54:54'::timestamp) - extract(epoch from '2026-06-12 05:54: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'), 46567, 'SRID=4674;POINT (-39.039423 -3.408237)', '2026-06-12 05:55:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039495 -3.408237)'), GeomFromEWKT('SRID=4674;POINT (-39.039423 -3.408237)'))) / (select extract(epoch from '2026-06-12 05:55:06'::timestamp) - extract(epoch from '2026-06-12 05:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039495 -3.408237)'), GeomFromEWKT('SRID=4674;POINT (-39.039423 -3.408237)'))) / (select extract(epoch from '2026-06-12 05:55:06'::timestamp) - extract(epoch from '2026-06-12 05:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039378 -3.408265)', '2026-06-12 05:55:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039423 -3.408237)'), GeomFromEWKT('SRID=4674;POINT (-39.039378 -3.408265)'))) / (select extract(epoch from '2026-06-12 05:55:20'::timestamp) - extract(epoch from '2026-06-12 05:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039423 -3.408237)'), GeomFromEWKT('SRID=4674;POINT (-39.039378 -3.408265)'))) / (select extract(epoch from '2026-06-12 05:55:20'::timestamp) - extract(epoch from '2026-06-12 05:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039375 -3.408283)', '2026-06-12 05:55:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039378 -3.408265)'), GeomFromEWKT('SRID=4674;POINT (-39.039375 -3.408283)'))) / (select extract(epoch from '2026-06-12 05:55:39'::timestamp) - extract(epoch from '2026-06-12 05:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039378 -3.408265)'), GeomFromEWKT('SRID=4674;POINT (-39.039375 -3.408283)'))) / (select extract(epoch from '2026-06-12 05:55:39'::timestamp) - extract(epoch from '2026-06-12 05:55:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039384 -3.408259)', '2026-06-12 05:56:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039375 -3.408283)'), GeomFromEWKT('SRID=4674;POINT (-39.039384 -3.408259)'))) / (select extract(epoch from '2026-06-12 05:56:03'::timestamp) - extract(epoch from '2026-06-12 05:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039375 -3.408283)'), GeomFromEWKT('SRID=4674;POINT (-39.039384 -3.408259)'))) / (select extract(epoch from '2026-06-12 05:56:03'::timestamp) - extract(epoch from '2026-06-12 05:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039387 -3.408239)', '2026-06-12 05:56:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039384 -3.408259)'), GeomFromEWKT('SRID=4674;POINT (-39.039387 -3.408239)'))) / (select extract(epoch from '2026-06-12 05:56:19'::timestamp) - extract(epoch from '2026-06-12 05:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039384 -3.408259)'), GeomFromEWKT('SRID=4674;POINT (-39.039387 -3.408239)'))) / (select extract(epoch from '2026-06-12 05:56:19'::timestamp) - extract(epoch from '2026-06-12 05:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039398 -3.408206)', '2026-06-12 05:56:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039387 -3.408239)'), GeomFromEWKT('SRID=4674;POINT (-39.039398 -3.408206)'))) / (select extract(epoch from '2026-06-12 05:56:38'::timestamp) - extract(epoch from '2026-06-12 05:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039387 -3.408239)'), GeomFromEWKT('SRID=4674;POINT (-39.039398 -3.408206)'))) / (select extract(epoch from '2026-06-12 05:56:38'::timestamp) - extract(epoch from '2026-06-12 05:56:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039434 -3.408236)', '2026-06-12 05:56:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039398 -3.408206)'), GeomFromEWKT('SRID=4674;POINT (-39.039434 -3.408236)'))) / (select extract(epoch from '2026-06-12 05:56:49'::timestamp) - extract(epoch from '2026-06-12 05:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039398 -3.408206)'), GeomFromEWKT('SRID=4674;POINT (-39.039434 -3.408236)'))) / (select extract(epoch from '2026-06-12 05:56:49'::timestamp) - extract(epoch from '2026-06-12 05:56: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'), 46567, 'SRID=4674;POINT (-39.039481 -3.408294)', '2026-06-12 05:56:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039434 -3.408236)'), GeomFromEWKT('SRID=4674;POINT (-39.039481 -3.408294)'))) / (select extract(epoch from '2026-06-12 05:56:58'::timestamp) - extract(epoch from '2026-06-12 05:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039434 -3.408236)'), GeomFromEWKT('SRID=4674;POINT (-39.039481 -3.408294)'))) / (select extract(epoch from '2026-06-12 05:56:58'::timestamp) - extract(epoch from '2026-06-12 05:56: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'), 46567, 'SRID=4674;POINT (-39.039526 -3.408348)', '2026-06-12 05:57:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039481 -3.408294)'), GeomFromEWKT('SRID=4674;POINT (-39.039526 -3.408348)'))) / (select extract(epoch from '2026-06-12 05:57:06'::timestamp) - extract(epoch from '2026-06-12 05:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039481 -3.408294)'), GeomFromEWKT('SRID=4674;POINT (-39.039526 -3.408348)'))) / (select extract(epoch from '2026-06-12 05:57:06'::timestamp) - extract(epoch from '2026-06-12 05:56:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039566 -3.408412)', '2026-06-12 05:57:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039526 -3.408348)'), GeomFromEWKT('SRID=4674;POINT (-39.039566 -3.408412)'))) / (select extract(epoch from '2026-06-12 05:57:15'::timestamp) - extract(epoch from '2026-06-12 05:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039526 -3.408348)'), GeomFromEWKT('SRID=4674;POINT (-39.039566 -3.408412)'))) / (select extract(epoch from '2026-06-12 05:57:15'::timestamp) - extract(epoch from '2026-06-12 05:57: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'), 46567, 'SRID=4674;POINT (-39.039591 -3.408472)', '2026-06-12 05:57:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039566 -3.408412)'), GeomFromEWKT('SRID=4674;POINT (-39.039591 -3.408472)'))) / (select extract(epoch from '2026-06-12 05:57:22'::timestamp) - extract(epoch from '2026-06-12 05:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039566 -3.408412)'), GeomFromEWKT('SRID=4674;POINT (-39.039591 -3.408472)'))) / (select extract(epoch from '2026-06-12 05:57:22'::timestamp) - extract(epoch from '2026-06-12 05:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039631 -3.408527)', '2026-06-12 05:57:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039591 -3.408472)'), GeomFromEWKT('SRID=4674;POINT (-39.039631 -3.408527)'))) / (select extract(epoch from '2026-06-12 05:57:29'::timestamp) - extract(epoch from '2026-06-12 05:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039591 -3.408472)'), GeomFromEWKT('SRID=4674;POINT (-39.039631 -3.408527)'))) / (select extract(epoch from '2026-06-12 05:57:29'::timestamp) - extract(epoch from '2026-06-12 05:57: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'), 46567, 'SRID=4674;POINT (-39.039663 -3.408595)', '2026-06-12 05:57:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039631 -3.408527)'), GeomFromEWKT('SRID=4674;POINT (-39.039663 -3.408595)'))) / (select extract(epoch from '2026-06-12 05:57:40'::timestamp) - extract(epoch from '2026-06-12 05:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039631 -3.408527)'), GeomFromEWKT('SRID=4674;POINT (-39.039663 -3.408595)'))) / (select extract(epoch from '2026-06-12 05:57:40'::timestamp) - extract(epoch from '2026-06-12 05:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039683 -3.408666)', '2026-06-12 05:57:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039663 -3.408595)'), GeomFromEWKT('SRID=4674;POINT (-39.039683 -3.408666)'))) / (select extract(epoch from '2026-06-12 05:57:48'::timestamp) - extract(epoch from '2026-06-12 05:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039663 -3.408595)'), GeomFromEWKT('SRID=4674;POINT (-39.039683 -3.408666)'))) / (select extract(epoch from '2026-06-12 05:57:48'::timestamp) - extract(epoch from '2026-06-12 05:57:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039702 -3.408719)', '2026-06-12 05:57:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039683 -3.408666)'), GeomFromEWKT('SRID=4674;POINT (-39.039702 -3.408719)'))) / (select extract(epoch from '2026-06-12 05:57:54'::timestamp) - extract(epoch from '2026-06-12 05:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039683 -3.408666)'), GeomFromEWKT('SRID=4674;POINT (-39.039702 -3.408719)'))) / (select extract(epoch from '2026-06-12 05:57:54'::timestamp) - extract(epoch from '2026-06-12 05:57: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'), 46567, 'SRID=4674;POINT (-39.039732 -3.408768)', '2026-06-12 05:58:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039702 -3.408719)'), GeomFromEWKT('SRID=4674;POINT (-39.039732 -3.408768)'))) / (select extract(epoch from '2026-06-12 05:58:00'::timestamp) - extract(epoch from '2026-06-12 05:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039702 -3.408719)'), GeomFromEWKT('SRID=4674;POINT (-39.039732 -3.408768)'))) / (select extract(epoch from '2026-06-12 05:58:00'::timestamp) - extract(epoch from '2026-06-12 05:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039774 -3.40883)', '2026-06-12 05:58:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039732 -3.408768)'), GeomFromEWKT('SRID=4674;POINT (-39.039774 -3.40883)'))) / (select extract(epoch from '2026-06-12 05:58:08'::timestamp) - extract(epoch from '2026-06-12 05:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039732 -3.408768)'), GeomFromEWKT('SRID=4674;POINT (-39.039774 -3.40883)'))) / (select extract(epoch from '2026-06-12 05:58:08'::timestamp) - extract(epoch from '2026-06-12 05:58:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039817 -3.408904)', '2026-06-12 05:58:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039774 -3.40883)'), GeomFromEWKT('SRID=4674;POINT (-39.039817 -3.408904)'))) / (select extract(epoch from '2026-06-12 05:58:16'::timestamp) - extract(epoch from '2026-06-12 05:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039774 -3.40883)'), GeomFromEWKT('SRID=4674;POINT (-39.039817 -3.408904)'))) / (select extract(epoch from '2026-06-12 05:58:16'::timestamp) - extract(epoch from '2026-06-12 05:58: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'), 46567, 'SRID=4674;POINT (-39.039851 -3.40896)', '2026-06-12 05:58:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039817 -3.408904)'), GeomFromEWKT('SRID=4674;POINT (-39.039851 -3.40896)'))) / (select extract(epoch from '2026-06-12 05:58:23'::timestamp) - extract(epoch from '2026-06-12 05:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039817 -3.408904)'), GeomFromEWKT('SRID=4674;POINT (-39.039851 -3.40896)'))) / (select extract(epoch from '2026-06-12 05:58:23'::timestamp) - extract(epoch from '2026-06-12 05:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039891 -3.40903)', '2026-06-12 05:58:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039851 -3.40896)'), GeomFromEWKT('SRID=4674;POINT (-39.039891 -3.40903)'))) / (select extract(epoch from '2026-06-12 05:58:31'::timestamp) - extract(epoch from '2026-06-12 05:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039851 -3.40896)'), GeomFromEWKT('SRID=4674;POINT (-39.039891 -3.40903)'))) / (select extract(epoch from '2026-06-12 05:58:31'::timestamp) - extract(epoch from '2026-06-12 05:58:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039932 -3.409105)', '2026-06-12 05:58:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039891 -3.40903)'), GeomFromEWKT('SRID=4674;POINT (-39.039932 -3.409105)'))) / (select extract(epoch from '2026-06-12 05:58:39'::timestamp) - extract(epoch from '2026-06-12 05:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039891 -3.40903)'), GeomFromEWKT('SRID=4674;POINT (-39.039932 -3.409105)'))) / (select extract(epoch from '2026-06-12 05:58:39'::timestamp) - extract(epoch from '2026-06-12 05:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.039976 -3.409163)', '2026-06-12 05:58:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039932 -3.409105)'), GeomFromEWKT('SRID=4674;POINT (-39.039976 -3.409163)'))) / (select extract(epoch from '2026-06-12 05:58:47'::timestamp) - extract(epoch from '2026-06-12 05:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039932 -3.409105)'), GeomFromEWKT('SRID=4674;POINT (-39.039976 -3.409163)'))) / (select extract(epoch from '2026-06-12 05:58:47'::timestamp) - extract(epoch from '2026-06-12 05:58:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040013 -3.409221)', '2026-06-12 05:58:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039976 -3.409163)'), GeomFromEWKT('SRID=4674;POINT (-39.040013 -3.409221)'))) / (select extract(epoch from '2026-06-12 05:58:55'::timestamp) - extract(epoch from '2026-06-12 05:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039976 -3.409163)'), GeomFromEWKT('SRID=4674;POINT (-39.040013 -3.409221)'))) / (select extract(epoch from '2026-06-12 05:58:55'::timestamp) - extract(epoch from '2026-06-12 05:58:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040054 -3.409275)', '2026-06-12 05:59:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040013 -3.409221)'), GeomFromEWKT('SRID=4674;POINT (-39.040054 -3.409275)'))) / (select extract(epoch from '2026-06-12 05:59:02'::timestamp) - extract(epoch from '2026-06-12 05:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040013 -3.409221)'), GeomFromEWKT('SRID=4674;POINT (-39.040054 -3.409275)'))) / (select extract(epoch from '2026-06-12 05:59:02'::timestamp) - extract(epoch from '2026-06-12 05:58: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'), 46567, 'SRID=4674;POINT (-39.040093 -3.409339)', '2026-06-12 05:59:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040054 -3.409275)'), GeomFromEWKT('SRID=4674;POINT (-39.040093 -3.409339)'))) / (select extract(epoch from '2026-06-12 05:59:10'::timestamp) - extract(epoch from '2026-06-12 05:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040054 -3.409275)'), GeomFromEWKT('SRID=4674;POINT (-39.040093 -3.409339)'))) / (select extract(epoch from '2026-06-12 05:59:10'::timestamp) - extract(epoch from '2026-06-12 05:59: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'), 46567, 'SRID=4674;POINT (-39.040134 -3.409398)', '2026-06-12 05:59:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040093 -3.409339)'), GeomFromEWKT('SRID=4674;POINT (-39.040134 -3.409398)'))) / (select extract(epoch from '2026-06-12 05:59:18'::timestamp) - extract(epoch from '2026-06-12 05:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040093 -3.409339)'), GeomFromEWKT('SRID=4674;POINT (-39.040134 -3.409398)'))) / (select extract(epoch from '2026-06-12 05:59:18'::timestamp) - extract(epoch from '2026-06-12 05:59:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040177 -3.409468)', '2026-06-12 05:59:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040134 -3.409398)'), GeomFromEWKT('SRID=4674;POINT (-39.040177 -3.409468)'))) / (select extract(epoch from '2026-06-12 05:59:27'::timestamp) - extract(epoch from '2026-06-12 05:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040134 -3.409398)'), GeomFromEWKT('SRID=4674;POINT (-39.040177 -3.409468)'))) / (select extract(epoch from '2026-06-12 05:59:27'::timestamp) - extract(epoch from '2026-06-12 05:59: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'), 46567, 'SRID=4674;POINT (-39.040224 -3.409525)', '2026-06-12 05:59:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040177 -3.409468)'), GeomFromEWKT('SRID=4674;POINT (-39.040224 -3.409525)'))) / (select extract(epoch from '2026-06-12 05:59:36'::timestamp) - extract(epoch from '2026-06-12 05:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040177 -3.409468)'), GeomFromEWKT('SRID=4674;POINT (-39.040224 -3.409525)'))) / (select extract(epoch from '2026-06-12 05:59:36'::timestamp) - extract(epoch from '2026-06-12 05:59: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'), 46567, 'SRID=4674;POINT (-39.040263 -3.409569)', '2026-06-12 05:59:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040224 -3.409525)'), GeomFromEWKT('SRID=4674;POINT (-39.040263 -3.409569)'))) / (select extract(epoch from '2026-06-12 05:59:44'::timestamp) - extract(epoch from '2026-06-12 05:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040224 -3.409525)'), GeomFromEWKT('SRID=4674;POINT (-39.040263 -3.409569)'))) / (select extract(epoch from '2026-06-12 05:59:44'::timestamp) - extract(epoch from '2026-06-12 05:59: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'), 46567, 'SRID=4674;POINT (-39.040297 -3.409626)', '2026-06-12 05:59:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040263 -3.409569)'), GeomFromEWKT('SRID=4674;POINT (-39.040297 -3.409626)'))) / (select extract(epoch from '2026-06-12 05:59:51'::timestamp) - extract(epoch from '2026-06-12 05:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040263 -3.409569)'), GeomFromEWKT('SRID=4674;POINT (-39.040297 -3.409626)'))) / (select extract(epoch from '2026-06-12 05:59:51'::timestamp) - extract(epoch from '2026-06-12 05:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040337 -3.409681)', '2026-06-12 06:00:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040297 -3.409626)'), GeomFromEWKT('SRID=4674;POINT (-39.040337 -3.409681)'))) / (select extract(epoch from '2026-06-12 06:00:00'::timestamp) - extract(epoch from '2026-06-12 05:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040297 -3.409626)'), GeomFromEWKT('SRID=4674;POINT (-39.040337 -3.409681)'))) / (select extract(epoch from '2026-06-12 06:00:00'::timestamp) - extract(epoch from '2026-06-12 05:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040375 -3.409725)', '2026-06-12 06:00:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040337 -3.409681)'), GeomFromEWKT('SRID=4674;POINT (-39.040375 -3.409725)'))) / (select extract(epoch from '2026-06-12 06:00:07'::timestamp) - extract(epoch from '2026-06-12 06:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040337 -3.409681)'), GeomFromEWKT('SRID=4674;POINT (-39.040375 -3.409725)'))) / (select extract(epoch from '2026-06-12 06:00:07'::timestamp) - extract(epoch from '2026-06-12 06:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040427 -3.409813)', '2026-06-12 06:00:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040375 -3.409725)'), GeomFromEWKT('SRID=4674;POINT (-39.040427 -3.409813)'))) / (select extract(epoch from '2026-06-12 06:00:19'::timestamp) - extract(epoch from '2026-06-12 06:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040375 -3.409725)'), GeomFromEWKT('SRID=4674;POINT (-39.040427 -3.409813)'))) / (select extract(epoch from '2026-06-12 06:00:19'::timestamp) - extract(epoch from '2026-06-12 06:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040454 -3.409878)', '2026-06-12 06:00:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040427 -3.409813)'), GeomFromEWKT('SRID=4674;POINT (-39.040454 -3.409878)'))) / (select extract(epoch from '2026-06-12 06:00:27'::timestamp) - extract(epoch from '2026-06-12 06:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040427 -3.409813)'), GeomFromEWKT('SRID=4674;POINT (-39.040454 -3.409878)'))) / (select extract(epoch from '2026-06-12 06:00:27'::timestamp) - extract(epoch from '2026-06-12 06:00: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'), 46567, 'SRID=4674;POINT (-39.040481 -3.409928)', '2026-06-12 06:00:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040454 -3.409878)'), GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.409928)'))) / (select extract(epoch from '2026-06-12 06:00:34'::timestamp) - extract(epoch from '2026-06-12 06:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040454 -3.409878)'), GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.409928)'))) / (select extract(epoch from '2026-06-12 06:00:34'::timestamp) - extract(epoch from '2026-06-12 06:00: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'), 46567, 'SRID=4674;POINT (-39.040526 -3.410012)', '2026-06-12 06:00:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.409928)'), GeomFromEWKT('SRID=4674;POINT (-39.040526 -3.410012)'))) / (select extract(epoch from '2026-06-12 06:00:46'::timestamp) - extract(epoch from '2026-06-12 06:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040481 -3.409928)'), GeomFromEWKT('SRID=4674;POINT (-39.040526 -3.410012)'))) / (select extract(epoch from '2026-06-12 06:00:46'::timestamp) - extract(epoch from '2026-06-12 06:00:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040515 -3.410095)', '2026-06-12 06:00:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040526 -3.410012)'), GeomFromEWKT('SRID=4674;POINT (-39.040515 -3.410095)'))) / (select extract(epoch from '2026-06-12 06:00:59'::timestamp) - extract(epoch from '2026-06-12 06:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040526 -3.410012)'), GeomFromEWKT('SRID=4674;POINT (-39.040515 -3.410095)'))) / (select extract(epoch from '2026-06-12 06:00:59'::timestamp) - extract(epoch from '2026-06-12 06:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040506 -3.41016)', '2026-06-12 06:01:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040515 -3.410095)'), GeomFromEWKT('SRID=4674;POINT (-39.040506 -3.41016)'))) / (select extract(epoch from '2026-06-12 06:01:07'::timestamp) - extract(epoch from '2026-06-12 06:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040515 -3.410095)'), GeomFromEWKT('SRID=4674;POINT (-39.040506 -3.41016)'))) / (select extract(epoch from '2026-06-12 06:01:07'::timestamp) - extract(epoch from '2026-06-12 06:00: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'), 46567, 'SRID=4674;POINT (-39.040529 -3.410236)', '2026-06-12 06:01:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040506 -3.41016)'), GeomFromEWKT('SRID=4674;POINT (-39.040529 -3.410236)'))) / (select extract(epoch from '2026-06-12 06:01:15'::timestamp) - extract(epoch from '2026-06-12 06:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040506 -3.41016)'), GeomFromEWKT('SRID=4674;POINT (-39.040529 -3.410236)'))) / (select extract(epoch from '2026-06-12 06:01:15'::timestamp) - extract(epoch from '2026-06-12 06:01: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'), 46567, 'SRID=4674;POINT (-39.040574 -3.410289)', '2026-06-12 06:01:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040529 -3.410236)'), GeomFromEWKT('SRID=4674;POINT (-39.040574 -3.410289)'))) / (select extract(epoch from '2026-06-12 06:01:24'::timestamp) - extract(epoch from '2026-06-12 06:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040529 -3.410236)'), GeomFromEWKT('SRID=4674;POINT (-39.040574 -3.410289)'))) / (select extract(epoch from '2026-06-12 06:01:24'::timestamp) - extract(epoch from '2026-06-12 06:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040632 -3.410342)', '2026-06-12 06:01:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040574 -3.410289)'), GeomFromEWKT('SRID=4674;POINT (-39.040632 -3.410342)'))) / (select extract(epoch from '2026-06-12 06:01:33'::timestamp) - extract(epoch from '2026-06-12 06:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040574 -3.410289)'), GeomFromEWKT('SRID=4674;POINT (-39.040632 -3.410342)'))) / (select extract(epoch from '2026-06-12 06:01:33'::timestamp) - extract(epoch from '2026-06-12 06:01:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040681 -3.410401)', '2026-06-12 06:01:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040632 -3.410342)'), GeomFromEWKT('SRID=4674;POINT (-39.040681 -3.410401)'))) / (select extract(epoch from '2026-06-12 06:01:41'::timestamp) - extract(epoch from '2026-06-12 06:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040632 -3.410342)'), GeomFromEWKT('SRID=4674;POINT (-39.040681 -3.410401)'))) / (select extract(epoch from '2026-06-12 06:01:41'::timestamp) - extract(epoch from '2026-06-12 06:01: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'), 46567, 'SRID=4674;POINT (-39.040726 -3.41046)', '2026-06-12 06:01:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040681 -3.410401)'), GeomFromEWKT('SRID=4674;POINT (-39.040726 -3.41046)'))) / (select extract(epoch from '2026-06-12 06:01:49'::timestamp) - extract(epoch from '2026-06-12 06:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040681 -3.410401)'), GeomFromEWKT('SRID=4674;POINT (-39.040726 -3.41046)'))) / (select extract(epoch from '2026-06-12 06:01:49'::timestamp) - extract(epoch from '2026-06-12 06:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040776 -3.410503)', '2026-06-12 06:01:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040726 -3.41046)'), GeomFromEWKT('SRID=4674;POINT (-39.040776 -3.410503)'))) / (select extract(epoch from '2026-06-12 06:01:56'::timestamp) - extract(epoch from '2026-06-12 06:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040726 -3.41046)'), GeomFromEWKT('SRID=4674;POINT (-39.040776 -3.410503)'))) / (select extract(epoch from '2026-06-12 06:01:56'::timestamp) - extract(epoch from '2026-06-12 06:01: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'), 46567, 'SRID=4674;POINT (-39.040812 -3.410553)', '2026-06-12 06:02:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040776 -3.410503)'), GeomFromEWKT('SRID=4674;POINT (-39.040812 -3.410553)'))) / (select extract(epoch from '2026-06-12 06:02:03'::timestamp) - extract(epoch from '2026-06-12 06:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040776 -3.410503)'), GeomFromEWKT('SRID=4674;POINT (-39.040812 -3.410553)'))) / (select extract(epoch from '2026-06-12 06:02:03'::timestamp) - extract(epoch from '2026-06-12 06:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040843 -3.410603)', '2026-06-12 06:02:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040812 -3.410553)'), GeomFromEWKT('SRID=4674;POINT (-39.040843 -3.410603)'))) / (select extract(epoch from '2026-06-12 06:02:11'::timestamp) - extract(epoch from '2026-06-12 06:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040812 -3.410553)'), GeomFromEWKT('SRID=4674;POINT (-39.040843 -3.410603)'))) / (select extract(epoch from '2026-06-12 06:02:11'::timestamp) - extract(epoch from '2026-06-12 06:02: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'), 46567, 'SRID=4674;POINT (-39.04087 -3.410683)', '2026-06-12 06:02:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040843 -3.410603)'), GeomFromEWKT('SRID=4674;POINT (-39.04087 -3.410683)'))) / (select extract(epoch from '2026-06-12 06:02:20'::timestamp) - extract(epoch from '2026-06-12 06:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040843 -3.410603)'), GeomFromEWKT('SRID=4674;POINT (-39.04087 -3.410683)'))) / (select extract(epoch from '2026-06-12 06:02:20'::timestamp) - extract(epoch from '2026-06-12 06:02: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'), 46567, 'SRID=4674;POINT (-39.040894 -3.410758)', '2026-06-12 06:02:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04087 -3.410683)'), GeomFromEWKT('SRID=4674;POINT (-39.040894 -3.410758)'))) / (select extract(epoch from '2026-06-12 06:02:29'::timestamp) - extract(epoch from '2026-06-12 06:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04087 -3.410683)'), GeomFromEWKT('SRID=4674;POINT (-39.040894 -3.410758)'))) / (select extract(epoch from '2026-06-12 06:02:29'::timestamp) - extract(epoch from '2026-06-12 06:02: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'), 46567, 'SRID=4674;POINT (-39.040906 -3.410829)', '2026-06-12 06:02:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040894 -3.410758)'), GeomFromEWKT('SRID=4674;POINT (-39.040906 -3.410829)'))) / (select extract(epoch from '2026-06-12 06:02:38'::timestamp) - extract(epoch from '2026-06-12 06:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040894 -3.410758)'), GeomFromEWKT('SRID=4674;POINT (-39.040906 -3.410829)'))) / (select extract(epoch from '2026-06-12 06:02:38'::timestamp) - extract(epoch from '2026-06-12 06:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040903 -3.410892)', '2026-06-12 06:02:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040906 -3.410829)'), GeomFromEWKT('SRID=4674;POINT (-39.040903 -3.410892)'))) / (select extract(epoch from '2026-06-12 06:02:46'::timestamp) - extract(epoch from '2026-06-12 06:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040906 -3.410829)'), GeomFromEWKT('SRID=4674;POINT (-39.040903 -3.410892)'))) / (select extract(epoch from '2026-06-12 06:02:46'::timestamp) - extract(epoch from '2026-06-12 06:02:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46567, 'SRID=4674;POINT (-39.040894 -3.410963)', '2026-06-12 06:02:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040903 -3.410892)'), GeomFromEWKT('SRID=4674;POINT (-39.040894 -3.410963)'))) / (select extract(epoch from '2026-06-12 06:02:56'::timestamp) - extract(epoch from '2026-06-12 06:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040903 -3.410892)'), GeomFromEWKT('SRID=4674;POINT (-39.040894 -3.410963)'))) / (select extract(epoch from '2026-06-12 06:02:56'::timestamp) - extract(epoch from '2026-06-12 06:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
