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'), 47847, 'SRID=4674;POINT (-39.558985 -3.075798)', '2026-07-22 06:36:03', 6, 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'), 47847, 'SRID=4674;POINT (-39.558984 -3.075774)', '2026-07-22 06:36:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558985 -3.075798)'), GeomFromEWKT('SRID=4674;POINT (-39.558984 -3.075774)'))) / (select extract(epoch from '2026-07-22 06:36:10'::timestamp) - extract(epoch from '2026-07-22 06:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558985 -3.075798)'), GeomFromEWKT('SRID=4674;POINT (-39.558984 -3.075774)'))) / (select extract(epoch from '2026-07-22 06:36:10'::timestamp) - extract(epoch from '2026-07-22 06:36: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'), 47847, 'SRID=4674;POINT (-39.558973 -3.075707)', '2026-07-22 06:41:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558984 -3.075774)'), GeomFromEWKT('SRID=4674;POINT (-39.558973 -3.075707)'))) / (select extract(epoch from '2026-07-22 06:41:49'::timestamp) - extract(epoch from '2026-07-22 06:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558984 -3.075774)'), GeomFromEWKT('SRID=4674;POINT (-39.558973 -3.075707)'))) / (select extract(epoch from '2026-07-22 06:41:49'::timestamp) - extract(epoch from '2026-07-22 06:36:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.558956 -3.075701)', '2026-07-22 06:42:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558973 -3.075707)'), GeomFromEWKT('SRID=4674;POINT (-39.558956 -3.075701)'))) / (select extract(epoch from '2026-07-22 06:42:01'::timestamp) - extract(epoch from '2026-07-22 06:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558973 -3.075707)'), GeomFromEWKT('SRID=4674;POINT (-39.558956 -3.075701)'))) / (select extract(epoch from '2026-07-22 06:42:01'::timestamp) - extract(epoch from '2026-07-22 06:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.558947 -3.075702)', '2026-07-22 06:43:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558956 -3.075701)'), GeomFromEWKT('SRID=4674;POINT (-39.558947 -3.075702)'))) / (select extract(epoch from '2026-07-22 06:43:22'::timestamp) - extract(epoch from '2026-07-22 06:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558956 -3.075701)'), GeomFromEWKT('SRID=4674;POINT (-39.558947 -3.075702)'))) / (select extract(epoch from '2026-07-22 06:43:22'::timestamp) - extract(epoch from '2026-07-22 06:42:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.558962 -3.075615)', '2026-07-22 06:43:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558947 -3.075702)'), GeomFromEWKT('SRID=4674;POINT (-39.558962 -3.075615)'))) / (select extract(epoch from '2026-07-22 06:43:59'::timestamp) - extract(epoch from '2026-07-22 06:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558947 -3.075702)'), GeomFromEWKT('SRID=4674;POINT (-39.558962 -3.075615)'))) / (select extract(epoch from '2026-07-22 06:43:59'::timestamp) - extract(epoch from '2026-07-22 06:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.559 -3.075506)', '2026-07-22 06:44:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558962 -3.075615)'), GeomFromEWKT('SRID=4674;POINT (-39.559 -3.075506)'))) / (select extract(epoch from '2026-07-22 06:44:11'::timestamp) - extract(epoch from '2026-07-22 06:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558962 -3.075615)'), GeomFromEWKT('SRID=4674;POINT (-39.559 -3.075506)'))) / (select extract(epoch from '2026-07-22 06:44:11'::timestamp) - extract(epoch from '2026-07-22 06:43: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'), 47847, 'SRID=4674;POINT (-39.559037 -3.075468)', '2026-07-22 06:44:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559 -3.075506)'), GeomFromEWKT('SRID=4674;POINT (-39.559037 -3.075468)'))) / (select extract(epoch from '2026-07-22 06:44:20'::timestamp) - extract(epoch from '2026-07-22 06:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559 -3.075506)'), GeomFromEWKT('SRID=4674;POINT (-39.559037 -3.075468)'))) / (select extract(epoch from '2026-07-22 06:44:20'::timestamp) - extract(epoch from '2026-07-22 06:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.559063 -3.075441)', '2026-07-22 06:44:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559037 -3.075468)'), GeomFromEWKT('SRID=4674;POINT (-39.559063 -3.075441)'))) / (select extract(epoch from '2026-07-22 06:44:32'::timestamp) - extract(epoch from '2026-07-22 06:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559037 -3.075468)'), GeomFromEWKT('SRID=4674;POINT (-39.559063 -3.075441)'))) / (select extract(epoch from '2026-07-22 06:44:32'::timestamp) - extract(epoch from '2026-07-22 06:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.559152 -3.075408)', '2026-07-22 06:44:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559063 -3.075441)'), GeomFromEWKT('SRID=4674;POINT (-39.559152 -3.075408)'))) / (select extract(epoch from '2026-07-22 06:44:59'::timestamp) - extract(epoch from '2026-07-22 06:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559063 -3.075441)'), GeomFromEWKT('SRID=4674;POINT (-39.559152 -3.075408)'))) / (select extract(epoch from '2026-07-22 06:44:59'::timestamp) - extract(epoch from '2026-07-22 06:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.559169 -3.075417)', '2026-07-22 06:45:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559152 -3.075408)'), GeomFromEWKT('SRID=4674;POINT (-39.559169 -3.075417)'))) / (select extract(epoch from '2026-07-22 06:45:09'::timestamp) - extract(epoch from '2026-07-22 06:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559152 -3.075408)'), GeomFromEWKT('SRID=4674;POINT (-39.559169 -3.075417)'))) / (select extract(epoch from '2026-07-22 06:45:09'::timestamp) - extract(epoch from '2026-07-22 06:44: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'), 47847, 'SRID=4674;POINT (-39.559258 -3.075383)', '2026-07-22 06:46:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559169 -3.075417)'), GeomFromEWKT('SRID=4674;POINT (-39.559258 -3.075383)'))) / (select extract(epoch from '2026-07-22 06:46:07'::timestamp) - extract(epoch from '2026-07-22 06:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559169 -3.075417)'), GeomFromEWKT('SRID=4674;POINT (-39.559258 -3.075383)'))) / (select extract(epoch from '2026-07-22 06:46:07'::timestamp) - extract(epoch from '2026-07-22 06:45: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'), 47847, 'SRID=4674;POINT (-39.559351 -3.075366)', '2026-07-22 06:47:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559258 -3.075383)'), GeomFromEWKT('SRID=4674;POINT (-39.559351 -3.075366)'))) / (select extract(epoch from '2026-07-22 06:47:37'::timestamp) - extract(epoch from '2026-07-22 06:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559258 -3.075383)'), GeomFromEWKT('SRID=4674;POINT (-39.559351 -3.075366)'))) / (select extract(epoch from '2026-07-22 06:47:37'::timestamp) - extract(epoch from '2026-07-22 06:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.559418 -3.075337)', '2026-07-22 06:47:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559351 -3.075366)'), GeomFromEWKT('SRID=4674;POINT (-39.559418 -3.075337)'))) / (select extract(epoch from '2026-07-22 06:47:44'::timestamp) - extract(epoch from '2026-07-22 06:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559351 -3.075366)'), GeomFromEWKT('SRID=4674;POINT (-39.559418 -3.075337)'))) / (select extract(epoch from '2026-07-22 06:47:44'::timestamp) - extract(epoch from '2026-07-22 06:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.559518 -3.075299)', '2026-07-22 06:47:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559418 -3.075337)'), GeomFromEWKT('SRID=4674;POINT (-39.559518 -3.075299)'))) / (select extract(epoch from '2026-07-22 06:47:51'::timestamp) - extract(epoch from '2026-07-22 06:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559418 -3.075337)'), GeomFromEWKT('SRID=4674;POINT (-39.559518 -3.075299)'))) / (select extract(epoch from '2026-07-22 06:47:51'::timestamp) - extract(epoch from '2026-07-22 06:47:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.559622 -3.075257)', '2026-07-22 06:47:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559518 -3.075299)'), GeomFromEWKT('SRID=4674;POINT (-39.559622 -3.075257)'))) / (select extract(epoch from '2026-07-22 06:47:58'::timestamp) - extract(epoch from '2026-07-22 06:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559518 -3.075299)'), GeomFromEWKT('SRID=4674;POINT (-39.559622 -3.075257)'))) / (select extract(epoch from '2026-07-22 06:47:58'::timestamp) - extract(epoch from '2026-07-22 06:47:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.559726 -3.075198)', '2026-07-22 06:48:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559622 -3.075257)'), GeomFromEWKT('SRID=4674;POINT (-39.559726 -3.075198)'))) / (select extract(epoch from '2026-07-22 06:48:06'::timestamp) - extract(epoch from '2026-07-22 06:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559622 -3.075257)'), GeomFromEWKT('SRID=4674;POINT (-39.559726 -3.075198)'))) / (select extract(epoch from '2026-07-22 06:48:06'::timestamp) - extract(epoch from '2026-07-22 06:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.559769 -3.075087)', '2026-07-22 06:48:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559726 -3.075198)'), GeomFromEWKT('SRID=4674;POINT (-39.559769 -3.075087)'))) / (select extract(epoch from '2026-07-22 06:48:14'::timestamp) - extract(epoch from '2026-07-22 06:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559726 -3.075198)'), GeomFromEWKT('SRID=4674;POINT (-39.559769 -3.075087)'))) / (select extract(epoch from '2026-07-22 06:48:14'::timestamp) - extract(epoch from '2026-07-22 06:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.559851 -3.07497)', '2026-07-22 06:48:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559769 -3.075087)'), GeomFromEWKT('SRID=4674;POINT (-39.559851 -3.07497)'))) / (select extract(epoch from '2026-07-22 06:48:22'::timestamp) - extract(epoch from '2026-07-22 06:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559769 -3.075087)'), GeomFromEWKT('SRID=4674;POINT (-39.559851 -3.07497)'))) / (select extract(epoch from '2026-07-22 06:48:22'::timestamp) - extract(epoch from '2026-07-22 06:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.559959 -3.074874)', '2026-07-22 06:48:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559851 -3.07497)'), GeomFromEWKT('SRID=4674;POINT (-39.559959 -3.074874)'))) / (select extract(epoch from '2026-07-22 06:48:30'::timestamp) - extract(epoch from '2026-07-22 06:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559851 -3.07497)'), GeomFromEWKT('SRID=4674;POINT (-39.559959 -3.074874)'))) / (select extract(epoch from '2026-07-22 06:48:30'::timestamp) - extract(epoch from '2026-07-22 06:48: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'), 47847, 'SRID=4674;POINT (-39.560087 -3.074789)', '2026-07-22 06:48:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559959 -3.074874)'), GeomFromEWKT('SRID=4674;POINT (-39.560087 -3.074789)'))) / (select extract(epoch from '2026-07-22 06:48:38'::timestamp) - extract(epoch from '2026-07-22 06:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559959 -3.074874)'), GeomFromEWKT('SRID=4674;POINT (-39.560087 -3.074789)'))) / (select extract(epoch from '2026-07-22 06:48:38'::timestamp) - extract(epoch from '2026-07-22 06:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.560247 -3.074691)', '2026-07-22 06:48:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560087 -3.074789)'), GeomFromEWKT('SRID=4674;POINT (-39.560247 -3.074691)'))) / (select extract(epoch from '2026-07-22 06:48:48'::timestamp) - extract(epoch from '2026-07-22 06:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560087 -3.074789)'), GeomFromEWKT('SRID=4674;POINT (-39.560247 -3.074691)'))) / (select extract(epoch from '2026-07-22 06:48:48'::timestamp) - extract(epoch from '2026-07-22 06:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.560264 -3.074681)', '2026-07-22 06:48:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560247 -3.074691)'), GeomFromEWKT('SRID=4674;POINT (-39.560264 -3.074681)'))) / (select extract(epoch from '2026-07-22 06:48:49'::timestamp) - extract(epoch from '2026-07-22 06:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560247 -3.074691)'), GeomFromEWKT('SRID=4674;POINT (-39.560264 -3.074681)'))) / (select extract(epoch from '2026-07-22 06:48:49'::timestamp) - extract(epoch from '2026-07-22 06:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.560412 -3.07459)', '2026-07-22 06:48:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560264 -3.074681)'), GeomFromEWKT('SRID=4674;POINT (-39.560412 -3.07459)'))) / (select extract(epoch from '2026-07-22 06:48:58'::timestamp) - extract(epoch from '2026-07-22 06:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560264 -3.074681)'), GeomFromEWKT('SRID=4674;POINT (-39.560412 -3.07459)'))) / (select extract(epoch from '2026-07-22 06:48:58'::timestamp) - extract(epoch from '2026-07-22 06:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56053 -3.074552)', '2026-07-22 06:49:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560412 -3.07459)'), GeomFromEWKT('SRID=4674;POINT (-39.56053 -3.074552)'))) / (select extract(epoch from '2026-07-22 06:49:05'::timestamp) - extract(epoch from '2026-07-22 06:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560412 -3.07459)'), GeomFromEWKT('SRID=4674;POINT (-39.56053 -3.074552)'))) / (select extract(epoch from '2026-07-22 06:49:05'::timestamp) - extract(epoch from '2026-07-22 06:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.560678 -3.07447)', '2026-07-22 06:49:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56053 -3.074552)'), GeomFromEWKT('SRID=4674;POINT (-39.560678 -3.07447)'))) / (select extract(epoch from '2026-07-22 06:49:14'::timestamp) - extract(epoch from '2026-07-22 06:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56053 -3.074552)'), GeomFromEWKT('SRID=4674;POINT (-39.560678 -3.07447)'))) / (select extract(epoch from '2026-07-22 06:49:14'::timestamp) - extract(epoch from '2026-07-22 06:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.560791 -3.074412)', '2026-07-22 06:49:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560678 -3.07447)'), GeomFromEWKT('SRID=4674;POINT (-39.560791 -3.074412)'))) / (select extract(epoch from '2026-07-22 06:49:21'::timestamp) - extract(epoch from '2026-07-22 06:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560678 -3.07447)'), GeomFromEWKT('SRID=4674;POINT (-39.560791 -3.074412)'))) / (select extract(epoch from '2026-07-22 06:49:21'::timestamp) - extract(epoch from '2026-07-22 06:49: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'), 47847, 'SRID=4674;POINT (-39.560912 -3.074354)', '2026-07-22 06:49:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560791 -3.074412)'), GeomFromEWKT('SRID=4674;POINT (-39.560912 -3.074354)'))) / (select extract(epoch from '2026-07-22 06:49:28'::timestamp) - extract(epoch from '2026-07-22 06:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560791 -3.074412)'), GeomFromEWKT('SRID=4674;POINT (-39.560912 -3.074354)'))) / (select extract(epoch from '2026-07-22 06:49:28'::timestamp) - extract(epoch from '2026-07-22 06:49: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'), 47847, 'SRID=4674;POINT (-39.561029 -3.074266)', '2026-07-22 06:49:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560912 -3.074354)'), GeomFromEWKT('SRID=4674;POINT (-39.561029 -3.074266)'))) / (select extract(epoch from '2026-07-22 06:49:36'::timestamp) - extract(epoch from '2026-07-22 06:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560912 -3.074354)'), GeomFromEWKT('SRID=4674;POINT (-39.561029 -3.074266)'))) / (select extract(epoch from '2026-07-22 06:49:36'::timestamp) - extract(epoch from '2026-07-22 06:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561154 -3.074133)', '2026-07-22 06:49:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561029 -3.074266)'), GeomFromEWKT('SRID=4674;POINT (-39.561154 -3.074133)'))) / (select extract(epoch from '2026-07-22 06:49:45'::timestamp) - extract(epoch from '2026-07-22 06:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561029 -3.074266)'), GeomFromEWKT('SRID=4674;POINT (-39.561154 -3.074133)'))) / (select extract(epoch from '2026-07-22 06:49:45'::timestamp) - extract(epoch from '2026-07-22 06:49: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'), 47847, 'SRID=4674;POINT (-39.56124 -3.074007)', '2026-07-22 06:49:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561154 -3.074133)'), GeomFromEWKT('SRID=4674;POINT (-39.56124 -3.074007)'))) / (select extract(epoch from '2026-07-22 06:49:53'::timestamp) - extract(epoch from '2026-07-22 06:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561154 -3.074133)'), GeomFromEWKT('SRID=4674;POINT (-39.56124 -3.074007)'))) / (select extract(epoch from '2026-07-22 06:49:53'::timestamp) - extract(epoch from '2026-07-22 06:49: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'), 47847, 'SRID=4674;POINT (-39.561338 -3.073857)', '2026-07-22 06:50:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56124 -3.074007)'), GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.073857)'))) / (select extract(epoch from '2026-07-22 06:50:02'::timestamp) - extract(epoch from '2026-07-22 06:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56124 -3.074007)'), GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.073857)'))) / (select extract(epoch from '2026-07-22 06:50:02'::timestamp) - extract(epoch from '2026-07-22 06:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561408 -3.073733)', '2026-07-22 06:50:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.073857)'), GeomFromEWKT('SRID=4674;POINT (-39.561408 -3.073733)'))) / (select extract(epoch from '2026-07-22 06:50:09'::timestamp) - extract(epoch from '2026-07-22 06:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.073857)'), GeomFromEWKT('SRID=4674;POINT (-39.561408 -3.073733)'))) / (select extract(epoch from '2026-07-22 06:50:09'::timestamp) - extract(epoch from '2026-07-22 06:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561488 -3.073577)', '2026-07-22 06:50:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561408 -3.073733)'), GeomFromEWKT('SRID=4674;POINT (-39.561488 -3.073577)'))) / (select extract(epoch from '2026-07-22 06:50:18'::timestamp) - extract(epoch from '2026-07-22 06:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561408 -3.073733)'), GeomFromEWKT('SRID=4674;POINT (-39.561488 -3.073577)'))) / (select extract(epoch from '2026-07-22 06:50:18'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47847, 'SRID=4674;POINT (-39.56154 -3.073432)', '2026-07-22 06:50:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561488 -3.073577)'), GeomFromEWKT('SRID=4674;POINT (-39.56154 -3.073432)'))) / (select extract(epoch from '2026-07-22 06:50:26'::timestamp) - extract(epoch from '2026-07-22 06:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561488 -3.073577)'), GeomFromEWKT('SRID=4674;POINT (-39.56154 -3.073432)'))) / (select extract(epoch from '2026-07-22 06:50:26'::timestamp) - extract(epoch from '2026-07-22 06:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561569 -3.073249)', '2026-07-22 06:50:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56154 -3.073432)'), GeomFromEWKT('SRID=4674;POINT (-39.561569 -3.073249)'))) / (select extract(epoch from '2026-07-22 06:50:36'::timestamp) - extract(epoch from '2026-07-22 06:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56154 -3.073432)'), GeomFromEWKT('SRID=4674;POINT (-39.561569 -3.073249)'))) / (select extract(epoch from '2026-07-22 06:50:36'::timestamp) - extract(epoch from '2026-07-22 06:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561599 -3.07312)', '2026-07-22 06:50:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561569 -3.073249)'), GeomFromEWKT('SRID=4674;POINT (-39.561599 -3.07312)'))) / (select extract(epoch from '2026-07-22 06:50:43'::timestamp) - extract(epoch from '2026-07-22 06:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561569 -3.073249)'), GeomFromEWKT('SRID=4674;POINT (-39.561599 -3.07312)'))) / (select extract(epoch from '2026-07-22 06:50:43'::timestamp) - extract(epoch from '2026-07-22 06:50: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'), 47847, 'SRID=4674;POINT (-39.561611 -3.072986)', '2026-07-22 06:50:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561599 -3.07312)'), GeomFromEWKT('SRID=4674;POINT (-39.561611 -3.072986)'))) / (select extract(epoch from '2026-07-22 06:50:50'::timestamp) - extract(epoch from '2026-07-22 06:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561599 -3.07312)'), GeomFromEWKT('SRID=4674;POINT (-39.561611 -3.072986)'))) / (select extract(epoch from '2026-07-22 06:50:50'::timestamp) - extract(epoch from '2026-07-22 06:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561617 -3.072797)', '2026-07-22 06:51:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561611 -3.072986)'), GeomFromEWKT('SRID=4674;POINT (-39.561617 -3.072797)'))) / (select extract(epoch from '2026-07-22 06:51:00'::timestamp) - extract(epoch from '2026-07-22 06:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561611 -3.072986)'), GeomFromEWKT('SRID=4674;POINT (-39.561617 -3.072797)'))) / (select extract(epoch from '2026-07-22 06:51:00'::timestamp) - extract(epoch from '2026-07-22 06:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561625 -3.072605)', '2026-07-22 06:51:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561617 -3.072797)'), GeomFromEWKT('SRID=4674;POINT (-39.561625 -3.072605)'))) / (select extract(epoch from '2026-07-22 06:51:10'::timestamp) - extract(epoch from '2026-07-22 06:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561617 -3.072797)'), GeomFromEWKT('SRID=4674;POINT (-39.561625 -3.072605)'))) / (select extract(epoch from '2026-07-22 06:51:10'::timestamp) - extract(epoch from '2026-07-22 06:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561623 -3.072588)', '2026-07-22 06:51:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561625 -3.072605)'), GeomFromEWKT('SRID=4674;POINT (-39.561623 -3.072588)'))) / (select extract(epoch from '2026-07-22 06:51:11'::timestamp) - extract(epoch from '2026-07-22 06:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561625 -3.072605)'), GeomFromEWKT('SRID=4674;POINT (-39.561623 -3.072588)'))) / (select extract(epoch from '2026-07-22 06:51:11'::timestamp) - extract(epoch from '2026-07-22 06:51: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'), 47847, 'SRID=4674;POINT (-39.561609 -3.072442)', '2026-07-22 06:51:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561623 -3.072588)'), GeomFromEWKT('SRID=4674;POINT (-39.561609 -3.072442)'))) / (select extract(epoch from '2026-07-22 06:51:19'::timestamp) - extract(epoch from '2026-07-22 06:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561623 -3.072588)'), GeomFromEWKT('SRID=4674;POINT (-39.561609 -3.072442)'))) / (select extract(epoch from '2026-07-22 06:51:19'::timestamp) - extract(epoch from '2026-07-22 06:51: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'), 47847, 'SRID=4674;POINT (-39.561609 -3.072289)', '2026-07-22 06:51:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561609 -3.072442)'), GeomFromEWKT('SRID=4674;POINT (-39.561609 -3.072289)'))) / (select extract(epoch from '2026-07-22 06:51:27'::timestamp) - extract(epoch from '2026-07-22 06:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561609 -3.072442)'), GeomFromEWKT('SRID=4674;POINT (-39.561609 -3.072289)'))) / (select extract(epoch from '2026-07-22 06:51:27'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47847, 'SRID=4674;POINT (-39.561621 -3.072185)', '2026-07-22 06:51:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561609 -3.072289)'), GeomFromEWKT('SRID=4674;POINT (-39.561621 -3.072185)'))) / (select extract(epoch from '2026-07-22 06:51:33'::timestamp) - extract(epoch from '2026-07-22 06:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561609 -3.072289)'), GeomFromEWKT('SRID=4674;POINT (-39.561621 -3.072185)'))) / (select extract(epoch from '2026-07-22 06:51:33'::timestamp) - extract(epoch from '2026-07-22 06:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561628 -3.072062)', '2026-07-22 06:51:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561621 -3.072185)'), GeomFromEWKT('SRID=4674;POINT (-39.561628 -3.072062)'))) / (select extract(epoch from '2026-07-22 06:51:40'::timestamp) - extract(epoch from '2026-07-22 06:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561621 -3.072185)'), GeomFromEWKT('SRID=4674;POINT (-39.561628 -3.072062)'))) / (select extract(epoch from '2026-07-22 06:51:40'::timestamp) - extract(epoch from '2026-07-22 06:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561621 -3.071933)', '2026-07-22 06:51:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561628 -3.072062)'), GeomFromEWKT('SRID=4674;POINT (-39.561621 -3.071933)'))) / (select extract(epoch from '2026-07-22 06:51:47'::timestamp) - extract(epoch from '2026-07-22 06:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561628 -3.072062)'), GeomFromEWKT('SRID=4674;POINT (-39.561621 -3.071933)'))) / (select extract(epoch from '2026-07-22 06:51:47'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47847, 'SRID=4674;POINT (-39.561611 -3.071783)', '2026-07-22 06:51:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561621 -3.071933)'), GeomFromEWKT('SRID=4674;POINT (-39.561611 -3.071783)'))) / (select extract(epoch from '2026-07-22 06:51:55'::timestamp) - extract(epoch from '2026-07-22 06:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561621 -3.071933)'), GeomFromEWKT('SRID=4674;POINT (-39.561611 -3.071783)'))) / (select extract(epoch from '2026-07-22 06:51:55'::timestamp) - extract(epoch from '2026-07-22 06:51: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'), 47847, 'SRID=4674;POINT (-39.561608 -3.071661)', '2026-07-22 06:52:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561611 -3.071783)'), GeomFromEWKT('SRID=4674;POINT (-39.561608 -3.071661)'))) / (select extract(epoch from '2026-07-22 06:52:02'::timestamp) - extract(epoch from '2026-07-22 06:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561611 -3.071783)'), GeomFromEWKT('SRID=4674;POINT (-39.561608 -3.071661)'))) / (select extract(epoch from '2026-07-22 06:52:02'::timestamp) - extract(epoch from '2026-07-22 06:51: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'), 47847, 'SRID=4674;POINT (-39.561595 -3.071525)', '2026-07-22 06:52:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561608 -3.071661)'), GeomFromEWKT('SRID=4674;POINT (-39.561595 -3.071525)'))) / (select extract(epoch from '2026-07-22 06:52:09'::timestamp) - extract(epoch from '2026-07-22 06:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561608 -3.071661)'), GeomFromEWKT('SRID=4674;POINT (-39.561595 -3.071525)'))) / (select extract(epoch from '2026-07-22 06:52:09'::timestamp) - extract(epoch from '2026-07-22 06:52:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561581 -3.071455)', '2026-07-22 06:52:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561595 -3.071525)'), GeomFromEWKT('SRID=4674;POINT (-39.561581 -3.071455)'))) / (select extract(epoch from '2026-07-22 06:52:13'::timestamp) - extract(epoch from '2026-07-22 06:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561595 -3.071525)'), GeomFromEWKT('SRID=4674;POINT (-39.561581 -3.071455)'))) / (select extract(epoch from '2026-07-22 06:52:13'::timestamp) - extract(epoch from '2026-07-22 06:52: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'), 47847, 'SRID=4674;POINT (-39.561579 -3.071437)', '2026-07-22 06:52:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561581 -3.071455)'), GeomFromEWKT('SRID=4674;POINT (-39.561579 -3.071437)'))) / (select extract(epoch from '2026-07-22 06:52:14'::timestamp) - extract(epoch from '2026-07-22 06:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561581 -3.071455)'), GeomFromEWKT('SRID=4674;POINT (-39.561579 -3.071437)'))) / (select extract(epoch from '2026-07-22 06:52:14'::timestamp) - extract(epoch from '2026-07-22 06:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561553 -3.071311)', '2026-07-22 06:52:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561579 -3.071437)'), GeomFromEWKT('SRID=4674;POINT (-39.561553 -3.071311)'))) / (select extract(epoch from '2026-07-22 06:52:21'::timestamp) - extract(epoch from '2026-07-22 06:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561579 -3.071437)'), GeomFromEWKT('SRID=4674;POINT (-39.561553 -3.071311)'))) / (select extract(epoch from '2026-07-22 06:52:21'::timestamp) - extract(epoch from '2026-07-22 06:52: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'), 47847, 'SRID=4674;POINT (-39.561532 -3.071186)', '2026-07-22 06:52:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561553 -3.071311)'), GeomFromEWKT('SRID=4674;POINT (-39.561532 -3.071186)'))) / (select extract(epoch from '2026-07-22 06:52:28'::timestamp) - extract(epoch from '2026-07-22 06:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561553 -3.071311)'), GeomFromEWKT('SRID=4674;POINT (-39.561532 -3.071186)'))) / (select extract(epoch from '2026-07-22 06:52:28'::timestamp) - extract(epoch from '2026-07-22 06:52: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'), 47847, 'SRID=4674;POINT (-39.561526 -3.071096)', '2026-07-22 06:52:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561532 -3.071186)'), GeomFromEWKT('SRID=4674;POINT (-39.561526 -3.071096)'))) / (select extract(epoch from '2026-07-22 06:52:33'::timestamp) - extract(epoch from '2026-07-22 06:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561532 -3.071186)'), GeomFromEWKT('SRID=4674;POINT (-39.561526 -3.071096)'))) / (select extract(epoch from '2026-07-22 06:52:33'::timestamp) - extract(epoch from '2026-07-22 06:52: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'), 47847, 'SRID=4674;POINT (-39.561493 -3.070983)', '2026-07-22 06:52:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561526 -3.071096)'), GeomFromEWKT('SRID=4674;POINT (-39.561493 -3.070983)'))) / (select extract(epoch from '2026-07-22 06:52:40'::timestamp) - extract(epoch from '2026-07-22 06:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561526 -3.071096)'), GeomFromEWKT('SRID=4674;POINT (-39.561493 -3.070983)'))) / (select extract(epoch from '2026-07-22 06:52:40'::timestamp) - extract(epoch from '2026-07-22 06:52:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561435 -3.07087)', '2026-07-22 06:52:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561493 -3.070983)'), GeomFromEWKT('SRID=4674;POINT (-39.561435 -3.07087)'))) / (select extract(epoch from '2026-07-22 06:52:47'::timestamp) - extract(epoch from '2026-07-22 06:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561493 -3.070983)'), GeomFromEWKT('SRID=4674;POINT (-39.561435 -3.07087)'))) / (select extract(epoch from '2026-07-22 06:52:47'::timestamp) - extract(epoch from '2026-07-22 06:52: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'), 47847, 'SRID=4674;POINT (-39.561393 -3.07076)', '2026-07-22 06:52:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561435 -3.07087)'), GeomFromEWKT('SRID=4674;POINT (-39.561393 -3.07076)'))) / (select extract(epoch from '2026-07-22 06:52:53'::timestamp) - extract(epoch from '2026-07-22 06:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561435 -3.07087)'), GeomFromEWKT('SRID=4674;POINT (-39.561393 -3.07076)'))) / (select extract(epoch from '2026-07-22 06:52:53'::timestamp) - extract(epoch from '2026-07-22 06:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561392 -3.070622)', '2026-07-22 06:53:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561393 -3.07076)'), GeomFromEWKT('SRID=4674;POINT (-39.561392 -3.070622)'))) / (select extract(epoch from '2026-07-22 06:53:00'::timestamp) - extract(epoch from '2026-07-22 06:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561393 -3.07076)'), GeomFromEWKT('SRID=4674;POINT (-39.561392 -3.070622)'))) / (select extract(epoch from '2026-07-22 06:53:00'::timestamp) - extract(epoch from '2026-07-22 06:52: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'), 47847, 'SRID=4674;POINT (-39.561376 -3.070481)', '2026-07-22 06:53:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561392 -3.070622)'), GeomFromEWKT('SRID=4674;POINT (-39.561376 -3.070481)'))) / (select extract(epoch from '2026-07-22 06:53:07'::timestamp) - extract(epoch from '2026-07-22 06:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561392 -3.070622)'), GeomFromEWKT('SRID=4674;POINT (-39.561376 -3.070481)'))) / (select extract(epoch from '2026-07-22 06:53:07'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47847, 'SRID=4674;POINT (-39.561363 -3.070355)', '2026-07-22 06:53:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561376 -3.070481)'), GeomFromEWKT('SRID=4674;POINT (-39.561363 -3.070355)'))) / (select extract(epoch from '2026-07-22 06:53:13'::timestamp) - extract(epoch from '2026-07-22 06:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561376 -3.070481)'), GeomFromEWKT('SRID=4674;POINT (-39.561363 -3.070355)'))) / (select extract(epoch from '2026-07-22 06:53:13'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47847, 'SRID=4674;POINT (-39.56137 -3.070253)', '2026-07-22 06:53:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561363 -3.070355)'), GeomFromEWKT('SRID=4674;POINT (-39.56137 -3.070253)'))) / (select extract(epoch from '2026-07-22 06:53:18'::timestamp) - extract(epoch from '2026-07-22 06:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561363 -3.070355)'), GeomFromEWKT('SRID=4674;POINT (-39.56137 -3.070253)'))) / (select extract(epoch from '2026-07-22 06:53:18'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47847, 'SRID=4674;POINT (-39.561365 -3.070115)', '2026-07-22 06:53:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56137 -3.070253)'), GeomFromEWKT('SRID=4674;POINT (-39.561365 -3.070115)'))) / (select extract(epoch from '2026-07-22 06:53:25'::timestamp) - extract(epoch from '2026-07-22 06:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56137 -3.070253)'), GeomFromEWKT('SRID=4674;POINT (-39.561365 -3.070115)'))) / (select extract(epoch from '2026-07-22 06:53:25'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47847, 'SRID=4674;POINT (-39.561338 -3.069999)', '2026-07-22 06:53:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561365 -3.070115)'), GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.069999)'))) / (select extract(epoch from '2026-07-22 06:53:31'::timestamp) - extract(epoch from '2026-07-22 06:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561365 -3.070115)'), GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.069999)'))) / (select extract(epoch from '2026-07-22 06:53:31'::timestamp) - extract(epoch from '2026-07-22 06:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561338 -3.069839)', '2026-07-22 06:53:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.069999)'), GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.069839)'))) / (select extract(epoch from '2026-07-22 06:53:39'::timestamp) - extract(epoch from '2026-07-22 06:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.069999)'), GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.069839)'))) / (select extract(epoch from '2026-07-22 06:53:39'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47847, 'SRID=4674;POINT (-39.56134 -3.069719)', '2026-07-22 06:53:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.069839)'), GeomFromEWKT('SRID=4674;POINT (-39.56134 -3.069719)'))) / (select extract(epoch from '2026-07-22 06:53:45'::timestamp) - extract(epoch from '2026-07-22 06:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561338 -3.069839)'), GeomFromEWKT('SRID=4674;POINT (-39.56134 -3.069719)'))) / (select extract(epoch from '2026-07-22 06:53:45'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47847, 'SRID=4674;POINT (-39.56133 -3.069593)', '2026-07-22 06:53:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56134 -3.069719)'), GeomFromEWKT('SRID=4674;POINT (-39.56133 -3.069593)'))) / (select extract(epoch from '2026-07-22 06:53:51'::timestamp) - extract(epoch from '2026-07-22 06:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56134 -3.069719)'), GeomFromEWKT('SRID=4674;POINT (-39.56133 -3.069593)'))) / (select extract(epoch from '2026-07-22 06:53:51'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47847, 'SRID=4674;POINT (-39.561356 -3.069456)', '2026-07-22 06:53:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56133 -3.069593)'), GeomFromEWKT('SRID=4674;POINT (-39.561356 -3.069456)'))) / (select extract(epoch from '2026-07-22 06:53:58'::timestamp) - extract(epoch from '2026-07-22 06:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56133 -3.069593)'), GeomFromEWKT('SRID=4674;POINT (-39.561356 -3.069456)'))) / (select extract(epoch from '2026-07-22 06:53:58'::timestamp) - extract(epoch from '2026-07-22 06:53:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561385 -3.06934)', '2026-07-22 06:54:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561356 -3.069456)'), GeomFromEWKT('SRID=4674;POINT (-39.561385 -3.06934)'))) / (select extract(epoch from '2026-07-22 06:54:04'::timestamp) - extract(epoch from '2026-07-22 06:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561356 -3.069456)'), GeomFromEWKT('SRID=4674;POINT (-39.561385 -3.06934)'))) / (select extract(epoch from '2026-07-22 06:54:04'::timestamp) - extract(epoch from '2026-07-22 06:53:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561411 -3.069246)', '2026-07-22 06:54:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561385 -3.06934)'), GeomFromEWKT('SRID=4674;POINT (-39.561411 -3.069246)'))) / (select extract(epoch from '2026-07-22 06:54:09'::timestamp) - extract(epoch from '2026-07-22 06:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561385 -3.06934)'), GeomFromEWKT('SRID=4674;POINT (-39.561411 -3.069246)'))) / (select extract(epoch from '2026-07-22 06:54:09'::timestamp) - extract(epoch from '2026-07-22 06:54:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561438 -3.069115)', '2026-07-22 06:54:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561411 -3.069246)'), GeomFromEWKT('SRID=4674;POINT (-39.561438 -3.069115)'))) / (select extract(epoch from '2026-07-22 06:54:16'::timestamp) - extract(epoch from '2026-07-22 06:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561411 -3.069246)'), GeomFromEWKT('SRID=4674;POINT (-39.561438 -3.069115)'))) / (select extract(epoch from '2026-07-22 06:54:16'::timestamp) - extract(epoch from '2026-07-22 06:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561437 -3.06897)', '2026-07-22 06:54:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561438 -3.069115)'), GeomFromEWKT('SRID=4674;POINT (-39.561437 -3.06897)'))) / (select extract(epoch from '2026-07-22 06:54:23'::timestamp) - extract(epoch from '2026-07-22 06:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561438 -3.069115)'), GeomFromEWKT('SRID=4674;POINT (-39.561437 -3.06897)'))) / (select extract(epoch from '2026-07-22 06:54:23'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47847, 'SRID=4674;POINT (-39.561449 -3.068849)', '2026-07-22 06:54:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561437 -3.06897)'), GeomFromEWKT('SRID=4674;POINT (-39.561449 -3.068849)'))) / (select extract(epoch from '2026-07-22 06:54:29'::timestamp) - extract(epoch from '2026-07-22 06:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561437 -3.06897)'), GeomFromEWKT('SRID=4674;POINT (-39.561449 -3.068849)'))) / (select extract(epoch from '2026-07-22 06:54:29'::timestamp) - extract(epoch from '2026-07-22 06:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561465 -3.06871)', '2026-07-22 06:54:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561449 -3.068849)'), GeomFromEWKT('SRID=4674;POINT (-39.561465 -3.06871)'))) / (select extract(epoch from '2026-07-22 06:54:36'::timestamp) - extract(epoch from '2026-07-22 06:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561449 -3.068849)'), GeomFromEWKT('SRID=4674;POINT (-39.561465 -3.06871)'))) / (select extract(epoch from '2026-07-22 06:54:36'::timestamp) - extract(epoch from '2026-07-22 06:54: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'), 47847, 'SRID=4674;POINT (-39.561465 -3.068564)', '2026-07-22 06:54:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561465 -3.06871)'), GeomFromEWKT('SRID=4674;POINT (-39.561465 -3.068564)'))) / (select extract(epoch from '2026-07-22 06:54:43'::timestamp) - extract(epoch from '2026-07-22 06:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561465 -3.06871)'), GeomFromEWKT('SRID=4674;POINT (-39.561465 -3.068564)'))) / (select extract(epoch from '2026-07-22 06:54:43'::timestamp) - extract(epoch from '2026-07-22 06:54: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'), 47847, 'SRID=4674;POINT (-39.561482 -3.068443)', '2026-07-22 06:54:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561465 -3.068564)'), GeomFromEWKT('SRID=4674;POINT (-39.561482 -3.068443)'))) / (select extract(epoch from '2026-07-22 06:54:49'::timestamp) - extract(epoch from '2026-07-22 06:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561465 -3.068564)'), GeomFromEWKT('SRID=4674;POINT (-39.561482 -3.068443)'))) / (select extract(epoch from '2026-07-22 06:54:49'::timestamp) - extract(epoch from '2026-07-22 06:54: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'), 47847, 'SRID=4674;POINT (-39.561489 -3.068347)', '2026-07-22 06:54:54', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561482 -3.068443)'), GeomFromEWKT('SRID=4674;POINT (-39.561489 -3.068347)'))) / (select extract(epoch from '2026-07-22 06:54:54'::timestamp) - extract(epoch from '2026-07-22 06:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561482 -3.068443)'), GeomFromEWKT('SRID=4674;POINT (-39.561489 -3.068347)'))) / (select extract(epoch from '2026-07-22 06:54:54'::timestamp) - extract(epoch from '2026-07-22 06:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561487 -3.068228)', '2026-07-22 06:55:00', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561489 -3.068347)'), GeomFromEWKT('SRID=4674;POINT (-39.561487 -3.068228)'))) / (select extract(epoch from '2026-07-22 06:55:00'::timestamp) - extract(epoch from '2026-07-22 06:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561489 -3.068347)'), GeomFromEWKT('SRID=4674;POINT (-39.561487 -3.068228)'))) / (select extract(epoch from '2026-07-22 06:55:00'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47847, 'SRID=4674;POINT (-39.561509 -3.068062)', '2026-07-22 06:55:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561487 -3.068228)'), GeomFromEWKT('SRID=4674;POINT (-39.561509 -3.068062)'))) / (select extract(epoch from '2026-07-22 06:55:08'::timestamp) - extract(epoch from '2026-07-22 06:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561487 -3.068228)'), GeomFromEWKT('SRID=4674;POINT (-39.561509 -3.068062)'))) / (select extract(epoch from '2026-07-22 06:55:08'::timestamp) - extract(epoch from '2026-07-22 06:55:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561524 -3.067913)', '2026-07-22 06:55:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561509 -3.068062)'), GeomFromEWKT('SRID=4674;POINT (-39.561524 -3.067913)'))) / (select extract(epoch from '2026-07-22 06:55:15'::timestamp) - extract(epoch from '2026-07-22 06:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561509 -3.068062)'), GeomFromEWKT('SRID=4674;POINT (-39.561524 -3.067913)'))) / (select extract(epoch from '2026-07-22 06:55:15'::timestamp) - extract(epoch from '2026-07-22 06:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561542 -3.067755)', '2026-07-22 06:55:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561524 -3.067913)'), GeomFromEWKT('SRID=4674;POINT (-39.561542 -3.067755)'))) / (select extract(epoch from '2026-07-22 06:55:23'::timestamp) - extract(epoch from '2026-07-22 06:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561524 -3.067913)'), GeomFromEWKT('SRID=4674;POINT (-39.561542 -3.067755)'))) / (select extract(epoch from '2026-07-22 06:55:23'::timestamp) - extract(epoch from '2026-07-22 06:55: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'), 47847, 'SRID=4674;POINT (-39.561548 -3.067595)', '2026-07-22 06:55:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561542 -3.067755)'), GeomFromEWKT('SRID=4674;POINT (-39.561548 -3.067595)'))) / (select extract(epoch from '2026-07-22 06:55:31'::timestamp) - extract(epoch from '2026-07-22 06:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561542 -3.067755)'), GeomFromEWKT('SRID=4674;POINT (-39.561548 -3.067595)'))) / (select extract(epoch from '2026-07-22 06:55:31'::timestamp) - extract(epoch from '2026-07-22 06:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561565 -3.067449)', '2026-07-22 06:55:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561548 -3.067595)'), GeomFromEWKT('SRID=4674;POINT (-39.561565 -3.067449)'))) / (select extract(epoch from '2026-07-22 06:55:38'::timestamp) - extract(epoch from '2026-07-22 06:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561548 -3.067595)'), GeomFromEWKT('SRID=4674;POINT (-39.561565 -3.067449)'))) / (select extract(epoch from '2026-07-22 06:55:38'::timestamp) - extract(epoch from '2026-07-22 06:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561574 -3.067311)', '2026-07-22 06:55:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561565 -3.067449)'), GeomFromEWKT('SRID=4674;POINT (-39.561574 -3.067311)'))) / (select extract(epoch from '2026-07-22 06:55:45'::timestamp) - extract(epoch from '2026-07-22 06:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561565 -3.067449)'), GeomFromEWKT('SRID=4674;POINT (-39.561574 -3.067311)'))) / (select extract(epoch from '2026-07-22 06:55:45'::timestamp) - extract(epoch from '2026-07-22 06:55: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'), 47847, 'SRID=4674;POINT (-39.561572 -3.067189)', '2026-07-22 06:55:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561574 -3.067311)'), GeomFromEWKT('SRID=4674;POINT (-39.561572 -3.067189)'))) / (select extract(epoch from '2026-07-22 06:55:51'::timestamp) - extract(epoch from '2026-07-22 06:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561574 -3.067311)'), GeomFromEWKT('SRID=4674;POINT (-39.561572 -3.067189)'))) / (select extract(epoch from '2026-07-22 06:55:51'::timestamp) - extract(epoch from '2026-07-22 06:55: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'), 47847, 'SRID=4674;POINT (-39.561573 -3.067107)', '2026-07-22 06:55:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561572 -3.067189)'), GeomFromEWKT('SRID=4674;POINT (-39.561573 -3.067107)'))) / (select extract(epoch from '2026-07-22 06:55:55'::timestamp) - extract(epoch from '2026-07-22 06:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561572 -3.067189)'), GeomFromEWKT('SRID=4674;POINT (-39.561573 -3.067107)'))) / (select extract(epoch from '2026-07-22 06:55:55'::timestamp) - extract(epoch from '2026-07-22 06:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561595 -3.066968)', '2026-07-22 06:56:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561573 -3.067107)'), GeomFromEWKT('SRID=4674;POINT (-39.561595 -3.066968)'))) / (select extract(epoch from '2026-07-22 06:56:02'::timestamp) - extract(epoch from '2026-07-22 06:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561573 -3.067107)'), GeomFromEWKT('SRID=4674;POINT (-39.561595 -3.066968)'))) / (select extract(epoch from '2026-07-22 06:56:02'::timestamp) - extract(epoch from '2026-07-22 06:55: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'), 47847, 'SRID=4674;POINT (-39.561632 -3.06685)', '2026-07-22 06:56:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561595 -3.066968)'), GeomFromEWKT('SRID=4674;POINT (-39.561632 -3.06685)'))) / (select extract(epoch from '2026-07-22 06:56:08'::timestamp) - extract(epoch from '2026-07-22 06:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561595 -3.066968)'), GeomFromEWKT('SRID=4674;POINT (-39.561632 -3.06685)'))) / (select extract(epoch from '2026-07-22 06:56:08'::timestamp) - extract(epoch from '2026-07-22 06:56: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'), 47847, 'SRID=4674;POINT (-39.56166 -3.066751)', '2026-07-22 06:56:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561632 -3.06685)'), GeomFromEWKT('SRID=4674;POINT (-39.56166 -3.066751)'))) / (select extract(epoch from '2026-07-22 06:56:13'::timestamp) - extract(epoch from '2026-07-22 06:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561632 -3.06685)'), GeomFromEWKT('SRID=4674;POINT (-39.56166 -3.066751)'))) / (select extract(epoch from '2026-07-22 06:56:13'::timestamp) - extract(epoch from '2026-07-22 06:56: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'), 47847, 'SRID=4674;POINT (-39.561682 -3.066611)', '2026-07-22 06:56:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56166 -3.066751)'), GeomFromEWKT('SRID=4674;POINT (-39.561682 -3.066611)'))) / (select extract(epoch from '2026-07-22 06:56:20'::timestamp) - extract(epoch from '2026-07-22 06:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56166 -3.066751)'), GeomFromEWKT('SRID=4674;POINT (-39.561682 -3.066611)'))) / (select extract(epoch from '2026-07-22 06:56:20'::timestamp) - extract(epoch from '2026-07-22 06:56: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'), 47847, 'SRID=4674;POINT (-39.56168 -3.066491)', '2026-07-22 06:56:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561682 -3.066611)'), GeomFromEWKT('SRID=4674;POINT (-39.56168 -3.066491)'))) / (select extract(epoch from '2026-07-22 06:56:26'::timestamp) - extract(epoch from '2026-07-22 06:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561682 -3.066611)'), GeomFromEWKT('SRID=4674;POINT (-39.56168 -3.066491)'))) / (select extract(epoch from '2026-07-22 06:56:26'::timestamp) - extract(epoch from '2026-07-22 06:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561696 -3.06631)', '2026-07-22 06:56:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56168 -3.066491)'), GeomFromEWKT('SRID=4674;POINT (-39.561696 -3.06631)'))) / (select extract(epoch from '2026-07-22 06:56:35'::timestamp) - extract(epoch from '2026-07-22 06:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56168 -3.066491)'), GeomFromEWKT('SRID=4674;POINT (-39.561696 -3.06631)'))) / (select extract(epoch from '2026-07-22 06:56:35'::timestamp) - extract(epoch from '2026-07-22 06:56: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'), 47847, 'SRID=4674;POINT (-39.561716 -3.066172)', '2026-07-22 06:56:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561696 -3.06631)'), GeomFromEWKT('SRID=4674;POINT (-39.561716 -3.066172)'))) / (select extract(epoch from '2026-07-22 06:56:42'::timestamp) - extract(epoch from '2026-07-22 06:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561696 -3.06631)'), GeomFromEWKT('SRID=4674;POINT (-39.561716 -3.066172)'))) / (select extract(epoch from '2026-07-22 06:56:42'::timestamp) - extract(epoch from '2026-07-22 06:56: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'), 47847, 'SRID=4674;POINT (-39.561725 -3.066051)', '2026-07-22 06:56:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561716 -3.066172)'), GeomFromEWKT('SRID=4674;POINT (-39.561725 -3.066051)'))) / (select extract(epoch from '2026-07-22 06:56:48'::timestamp) - extract(epoch from '2026-07-22 06:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561716 -3.066172)'), GeomFromEWKT('SRID=4674;POINT (-39.561725 -3.066051)'))) / (select extract(epoch from '2026-07-22 06:56:48'::timestamp) - extract(epoch from '2026-07-22 06:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561718 -3.065933)', '2026-07-22 06:56:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561725 -3.066051)'), GeomFromEWKT('SRID=4674;POINT (-39.561718 -3.065933)'))) / (select extract(epoch from '2026-07-22 06:56:54'::timestamp) - extract(epoch from '2026-07-22 06:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561725 -3.066051)'), GeomFromEWKT('SRID=4674;POINT (-39.561718 -3.065933)'))) / (select extract(epoch from '2026-07-22 06:56:54'::timestamp) - extract(epoch from '2026-07-22 06:56: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'), 47847, 'SRID=4674;POINT (-39.561713 -3.065734)', '2026-07-22 06:57:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561718 -3.065933)'), GeomFromEWKT('SRID=4674;POINT (-39.561713 -3.065734)'))) / (select extract(epoch from '2026-07-22 06:57:04'::timestamp) - extract(epoch from '2026-07-22 06:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561718 -3.065933)'), GeomFromEWKT('SRID=4674;POINT (-39.561713 -3.065734)'))) / (select extract(epoch from '2026-07-22 06:57:04'::timestamp) - extract(epoch from '2026-07-22 06:56: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'), 47847, 'SRID=4674;POINT (-39.561682 -3.06564)', '2026-07-22 06:57:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561713 -3.065734)'), GeomFromEWKT('SRID=4674;POINT (-39.561682 -3.06564)'))) / (select extract(epoch from '2026-07-22 06:57:09'::timestamp) - extract(epoch from '2026-07-22 06:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561713 -3.065734)'), GeomFromEWKT('SRID=4674;POINT (-39.561682 -3.06564)'))) / (select extract(epoch from '2026-07-22 06:57:09'::timestamp) - extract(epoch from '2026-07-22 06:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561662 -3.065528)', '2026-07-22 06:57:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561682 -3.06564)'), GeomFromEWKT('SRID=4674;POINT (-39.561662 -3.065528)'))) / (select extract(epoch from '2026-07-22 06:57:15'::timestamp) - extract(epoch from '2026-07-22 06:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561682 -3.06564)'), GeomFromEWKT('SRID=4674;POINT (-39.561662 -3.065528)'))) / (select extract(epoch from '2026-07-22 06:57:15'::timestamp) - extract(epoch from '2026-07-22 06:57:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56167 -3.06549)', '2026-07-22 06:57:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561662 -3.065528)'), GeomFromEWKT('SRID=4674;POINT (-39.56167 -3.06549)'))) / (select extract(epoch from '2026-07-22 06:57:17'::timestamp) - extract(epoch from '2026-07-22 06:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561662 -3.065528)'), GeomFromEWKT('SRID=4674;POINT (-39.56167 -3.06549)'))) / (select extract(epoch from '2026-07-22 06:57:17'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47847, 'SRID=4674;POINT (-39.56171 -3.065417)', '2026-07-22 06:57:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56167 -3.06549)'), GeomFromEWKT('SRID=4674;POINT (-39.56171 -3.065417)'))) / (select extract(epoch from '2026-07-22 06:57:21'::timestamp) - extract(epoch from '2026-07-22 06:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56167 -3.06549)'), GeomFromEWKT('SRID=4674;POINT (-39.56171 -3.065417)'))) / (select extract(epoch from '2026-07-22 06:57:21'::timestamp) - extract(epoch from '2026-07-22 06:57: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'), 47847, 'SRID=4674;POINT (-39.56177 -3.065312)', '2026-07-22 06:57:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56171 -3.065417)'), GeomFromEWKT('SRID=4674;POINT (-39.56177 -3.065312)'))) / (select extract(epoch from '2026-07-22 06:57:27'::timestamp) - extract(epoch from '2026-07-22 06:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56171 -3.065417)'), GeomFromEWKT('SRID=4674;POINT (-39.56177 -3.065312)'))) / (select extract(epoch from '2026-07-22 06:57:27'::timestamp) - extract(epoch from '2026-07-22 06:57: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'), 47847, 'SRID=4674;POINT (-39.561776 -3.065188)', '2026-07-22 06:57:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56177 -3.065312)'), GeomFromEWKT('SRID=4674;POINT (-39.561776 -3.065188)'))) / (select extract(epoch from '2026-07-22 06:57:33'::timestamp) - extract(epoch from '2026-07-22 06:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56177 -3.065312)'), GeomFromEWKT('SRID=4674;POINT (-39.561776 -3.065188)'))) / (select extract(epoch from '2026-07-22 06:57:33'::timestamp) - extract(epoch from '2026-07-22 06:57: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'), 47847, 'SRID=4674;POINT (-39.561805 -3.065069)', '2026-07-22 06:57:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561776 -3.065188)'), GeomFromEWKT('SRID=4674;POINT (-39.561805 -3.065069)'))) / (select extract(epoch from '2026-07-22 06:57:39'::timestamp) - extract(epoch from '2026-07-22 06:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561776 -3.065188)'), GeomFromEWKT('SRID=4674;POINT (-39.561805 -3.065069)'))) / (select extract(epoch from '2026-07-22 06:57:39'::timestamp) - extract(epoch from '2026-07-22 06:57:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561823 -3.064948)', '2026-07-22 06:57:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561805 -3.065069)'), GeomFromEWKT('SRID=4674;POINT (-39.561823 -3.064948)'))) / (select extract(epoch from '2026-07-22 06:57:45'::timestamp) - extract(epoch from '2026-07-22 06:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561805 -3.065069)'), GeomFromEWKT('SRID=4674;POINT (-39.561823 -3.064948)'))) / (select extract(epoch from '2026-07-22 06:57:45'::timestamp) - extract(epoch from '2026-07-22 06:57: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'), 47847, 'SRID=4674;POINT (-39.561845 -3.064825)', '2026-07-22 06:57:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561823 -3.064948)'), GeomFromEWKT('SRID=4674;POINT (-39.561845 -3.064825)'))) / (select extract(epoch from '2026-07-22 06:57:51'::timestamp) - extract(epoch from '2026-07-22 06:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561823 -3.064948)'), GeomFromEWKT('SRID=4674;POINT (-39.561845 -3.064825)'))) / (select extract(epoch from '2026-07-22 06:57:51'::timestamp) - extract(epoch from '2026-07-22 06:57: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'), 47847, 'SRID=4674;POINT (-39.561883 -3.064704)', '2026-07-22 06:57:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561845 -3.064825)'), GeomFromEWKT('SRID=4674;POINT (-39.561883 -3.064704)'))) / (select extract(epoch from '2026-07-22 06:57:57'::timestamp) - extract(epoch from '2026-07-22 06:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561845 -3.064825)'), GeomFromEWKT('SRID=4674;POINT (-39.561883 -3.064704)'))) / (select extract(epoch from '2026-07-22 06:57:57'::timestamp) - extract(epoch from '2026-07-22 06:57: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'), 47847, 'SRID=4674;POINT (-39.561936 -3.064609)', '2026-07-22 06:58:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561883 -3.064704)'), GeomFromEWKT('SRID=4674;POINT (-39.561936 -3.064609)'))) / (select extract(epoch from '2026-07-22 06:58:02'::timestamp) - extract(epoch from '2026-07-22 06:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561883 -3.064704)'), GeomFromEWKT('SRID=4674;POINT (-39.561936 -3.064609)'))) / (select extract(epoch from '2026-07-22 06:58:02'::timestamp) - extract(epoch from '2026-07-22 06:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561969 -3.064471)', '2026-07-22 06:58:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561936 -3.064609)'), GeomFromEWKT('SRID=4674;POINT (-39.561969 -3.064471)'))) / (select extract(epoch from '2026-07-22 06:58:09'::timestamp) - extract(epoch from '2026-07-22 06:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561936 -3.064609)'), GeomFromEWKT('SRID=4674;POINT (-39.561969 -3.064471)'))) / (select extract(epoch from '2026-07-22 06:58:09'::timestamp) - extract(epoch from '2026-07-22 06:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561977 -3.064345)', '2026-07-22 06:58:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561969 -3.064471)'), GeomFromEWKT('SRID=4674;POINT (-39.561977 -3.064345)'))) / (select extract(epoch from '2026-07-22 06:58:15'::timestamp) - extract(epoch from '2026-07-22 06:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561969 -3.064471)'), GeomFromEWKT('SRID=4674;POINT (-39.561977 -3.064345)'))) / (select extract(epoch from '2026-07-22 06:58:15'::timestamp) - extract(epoch from '2026-07-22 06:58: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'), 47847, 'SRID=4674;POINT (-39.561985 -3.064301)', '2026-07-22 06:58:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561977 -3.064345)'), GeomFromEWKT('SRID=4674;POINT (-39.561985 -3.064301)'))) / (select extract(epoch from '2026-07-22 06:58:17'::timestamp) - extract(epoch from '2026-07-22 06:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561977 -3.064345)'), GeomFromEWKT('SRID=4674;POINT (-39.561985 -3.064301)'))) / (select extract(epoch from '2026-07-22 06:58:17'::timestamp) - extract(epoch from '2026-07-22 06:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561981 -3.064236)', '2026-07-22 06:58:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561985 -3.064301)'), GeomFromEWKT('SRID=4674;POINT (-39.561981 -3.064236)'))) / (select extract(epoch from '2026-07-22 06:58:20'::timestamp) - extract(epoch from '2026-07-22 06:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561985 -3.064301)'), GeomFromEWKT('SRID=4674;POINT (-39.561981 -3.064236)'))) / (select extract(epoch from '2026-07-22 06:58:20'::timestamp) - extract(epoch from '2026-07-22 06:58:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561975 -3.064117)', '2026-07-22 06:58:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561981 -3.064236)'), GeomFromEWKT('SRID=4674;POINT (-39.561975 -3.064117)'))) / (select extract(epoch from '2026-07-22 06:58:26'::timestamp) - extract(epoch from '2026-07-22 06:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561981 -3.064236)'), GeomFromEWKT('SRID=4674;POINT (-39.561975 -3.064117)'))) / (select extract(epoch from '2026-07-22 06:58:26'::timestamp) - extract(epoch from '2026-07-22 06:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561987 -3.063998)', '2026-07-22 06:58:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561975 -3.064117)'), GeomFromEWKT('SRID=4674;POINT (-39.561987 -3.063998)'))) / (select extract(epoch from '2026-07-22 06:58:32'::timestamp) - extract(epoch from '2026-07-22 06:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561975 -3.064117)'), GeomFromEWKT('SRID=4674;POINT (-39.561987 -3.063998)'))) / (select extract(epoch from '2026-07-22 06:58:32'::timestamp) - extract(epoch from '2026-07-22 06:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561999 -3.063876)', '2026-07-22 06:58:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561987 -3.063998)'), GeomFromEWKT('SRID=4674;POINT (-39.561999 -3.063876)'))) / (select extract(epoch from '2026-07-22 06:58:38'::timestamp) - extract(epoch from '2026-07-22 06:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561987 -3.063998)'), GeomFromEWKT('SRID=4674;POINT (-39.561999 -3.063876)'))) / (select extract(epoch from '2026-07-22 06:58:38'::timestamp) - extract(epoch from '2026-07-22 06:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561997 -3.063708)', '2026-07-22 06:58:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561999 -3.063876)'), GeomFromEWKT('SRID=4674;POINT (-39.561997 -3.063708)'))) / (select extract(epoch from '2026-07-22 06:58:46'::timestamp) - extract(epoch from '2026-07-22 06:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561999 -3.063876)'), GeomFromEWKT('SRID=4674;POINT (-39.561997 -3.063708)'))) / (select extract(epoch from '2026-07-22 06:58:46'::timestamp) - extract(epoch from '2026-07-22 06:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.561999 -3.06357)', '2026-07-22 06:58:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561997 -3.063708)'), GeomFromEWKT('SRID=4674;POINT (-39.561999 -3.06357)'))) / (select extract(epoch from '2026-07-22 06:58:53'::timestamp) - extract(epoch from '2026-07-22 06:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561997 -3.063708)'), GeomFromEWKT('SRID=4674;POINT (-39.561999 -3.06357)'))) / (select extract(epoch from '2026-07-22 06:58:53'::timestamp) - extract(epoch from '2026-07-22 06:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562004 -3.063427)', '2026-07-22 06:59:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561999 -3.06357)'), GeomFromEWKT('SRID=4674;POINT (-39.562004 -3.063427)'))) / (select extract(epoch from '2026-07-22 06:59:00'::timestamp) - extract(epoch from '2026-07-22 06:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.561999 -3.06357)'), GeomFromEWKT('SRID=4674;POINT (-39.562004 -3.063427)'))) / (select extract(epoch from '2026-07-22 06:59:00'::timestamp) - extract(epoch from '2026-07-22 06:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562016 -3.063303)', '2026-07-22 06:59:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562004 -3.063427)'), GeomFromEWKT('SRID=4674;POINT (-39.562016 -3.063303)'))) / (select extract(epoch from '2026-07-22 06:59:06'::timestamp) - extract(epoch from '2026-07-22 06:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562004 -3.063427)'), GeomFromEWKT('SRID=4674;POINT (-39.562016 -3.063303)'))) / (select extract(epoch from '2026-07-22 06:59:06'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47847, 'SRID=4674;POINT (-39.562048 -3.063164)', '2026-07-22 06:59:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562016 -3.063303)'), GeomFromEWKT('SRID=4674;POINT (-39.562048 -3.063164)'))) / (select extract(epoch from '2026-07-22 06:59:13'::timestamp) - extract(epoch from '2026-07-22 06:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562016 -3.063303)'), GeomFromEWKT('SRID=4674;POINT (-39.562048 -3.063164)'))) / (select extract(epoch from '2026-07-22 06:59:13'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47847, 'SRID=4674;POINT (-39.562063 -3.063058)', '2026-07-22 06:59:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562048 -3.063164)'), GeomFromEWKT('SRID=4674;POINT (-39.562063 -3.063058)'))) / (select extract(epoch from '2026-07-22 06:59:18'::timestamp) - extract(epoch from '2026-07-22 06:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562048 -3.063164)'), GeomFromEWKT('SRID=4674;POINT (-39.562063 -3.063058)'))) / (select extract(epoch from '2026-07-22 06:59:18'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47847, 'SRID=4674;POINT (-39.562078 -3.062914)', '2026-07-22 06:59:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562063 -3.063058)'), GeomFromEWKT('SRID=4674;POINT (-39.562078 -3.062914)'))) / (select extract(epoch from '2026-07-22 06:59:25'::timestamp) - extract(epoch from '2026-07-22 06:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562063 -3.063058)'), GeomFromEWKT('SRID=4674;POINT (-39.562078 -3.062914)'))) / (select extract(epoch from '2026-07-22 06:59:25'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47847, 'SRID=4674;POINT (-39.562091 -3.062787)', '2026-07-22 06:59:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562078 -3.062914)'), GeomFromEWKT('SRID=4674;POINT (-39.562091 -3.062787)'))) / (select extract(epoch from '2026-07-22 06:59:31'::timestamp) - extract(epoch from '2026-07-22 06:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562078 -3.062914)'), GeomFromEWKT('SRID=4674;POINT (-39.562091 -3.062787)'))) / (select extract(epoch from '2026-07-22 06:59:31'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47847, 'SRID=4674;POINT (-39.562101 -3.062681)', '2026-07-22 06:59:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562091 -3.062787)'), GeomFromEWKT('SRID=4674;POINT (-39.562101 -3.062681)'))) / (select extract(epoch from '2026-07-22 06:59:36'::timestamp) - extract(epoch from '2026-07-22 06:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562091 -3.062787)'), GeomFromEWKT('SRID=4674;POINT (-39.562101 -3.062681)'))) / (select extract(epoch from '2026-07-22 06:59:36'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47847, 'SRID=4674;POINT (-39.562103 -3.062599)', '2026-07-22 06:59:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562101 -3.062681)'), GeomFromEWKT('SRID=4674;POINT (-39.562103 -3.062599)'))) / (select extract(epoch from '2026-07-22 06:59:40'::timestamp) - extract(epoch from '2026-07-22 06:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562101 -3.062681)'), GeomFromEWKT('SRID=4674;POINT (-39.562103 -3.062599)'))) / (select extract(epoch from '2026-07-22 06:59:40'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47847, 'SRID=4674;POINT (-39.5621 -3.062559)', '2026-07-22 06:59:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562103 -3.062599)'), GeomFromEWKT('SRID=4674;POINT (-39.5621 -3.062559)'))) / (select extract(epoch from '2026-07-22 06:59:42'::timestamp) - extract(epoch from '2026-07-22 06:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562103 -3.062599)'), GeomFromEWKT('SRID=4674;POINT (-39.5621 -3.062559)'))) / (select extract(epoch from '2026-07-22 06:59:42'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47847, 'SRID=4674;POINT (-39.562088 -3.062438)', '2026-07-22 06:59:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5621 -3.062559)'), GeomFromEWKT('SRID=4674;POINT (-39.562088 -3.062438)'))) / (select extract(epoch from '2026-07-22 06:59:48'::timestamp) - extract(epoch from '2026-07-22 06:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5621 -3.062559)'), GeomFromEWKT('SRID=4674;POINT (-39.562088 -3.062438)'))) / (select extract(epoch from '2026-07-22 06:59:48'::timestamp) - extract(epoch from '2026-07-22 06:59:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56208 -3.062319)', '2026-07-22 06:59:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562088 -3.062438)'), GeomFromEWKT('SRID=4674;POINT (-39.56208 -3.062319)'))) / (select extract(epoch from '2026-07-22 06:59:54'::timestamp) - extract(epoch from '2026-07-22 06:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562088 -3.062438)'), GeomFromEWKT('SRID=4674;POINT (-39.56208 -3.062319)'))) / (select extract(epoch from '2026-07-22 06:59:54'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47847, 'SRID=4674;POINT (-39.562085 -3.062215)', '2026-07-22 06:59:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56208 -3.062319)'), GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.062215)'))) / (select extract(epoch from '2026-07-22 06:59:59'::timestamp) - extract(epoch from '2026-07-22 06:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56208 -3.062319)'), GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.062215)'))) / (select extract(epoch from '2026-07-22 06:59:59'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47847, 'SRID=4674;POINT (-39.562088 -3.0621)', '2026-07-22 07:00:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.062215)'), GeomFromEWKT('SRID=4674;POINT (-39.562088 -3.0621)'))) / (select extract(epoch from '2026-07-22 07:00:05'::timestamp) - extract(epoch from '2026-07-22 06:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.062215)'), GeomFromEWKT('SRID=4674;POINT (-39.562088 -3.0621)'))) / (select extract(epoch from '2026-07-22 07:00:05'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47847, 'SRID=4674;POINT (-39.562085 -3.061961)', '2026-07-22 07:00:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562088 -3.0621)'), GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.061961)'))) / (select extract(epoch from '2026-07-22 07:00:12'::timestamp) - extract(epoch from '2026-07-22 07:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562088 -3.0621)'), GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.061961)'))) / (select extract(epoch from '2026-07-22 07:00:12'::timestamp) - extract(epoch from '2026-07-22 07:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562077 -3.061773)', '2026-07-22 07:00:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.061961)'), GeomFromEWKT('SRID=4674;POINT (-39.562077 -3.061773)'))) / (select extract(epoch from '2026-07-22 07:00:21'::timestamp) - extract(epoch from '2026-07-22 07:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.061961)'), GeomFromEWKT('SRID=4674;POINT (-39.562077 -3.061773)'))) / (select extract(epoch from '2026-07-22 07:00:21'::timestamp) - extract(epoch from '2026-07-22 07:00: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'), 47847, 'SRID=4674;POINT (-39.562081 -3.061652)', '2026-07-22 07:00:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562077 -3.061773)'), GeomFromEWKT('SRID=4674;POINT (-39.562081 -3.061652)'))) / (select extract(epoch from '2026-07-22 07:00:27'::timestamp) - extract(epoch from '2026-07-22 07:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562077 -3.061773)'), GeomFromEWKT('SRID=4674;POINT (-39.562081 -3.061652)'))) / (select extract(epoch from '2026-07-22 07:00:27'::timestamp) - extract(epoch from '2026-07-22 07:00: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'), 47847, 'SRID=4674;POINT (-39.562079 -3.06149)', '2026-07-22 07:00:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562081 -3.061652)'), GeomFromEWKT('SRID=4674;POINT (-39.562079 -3.06149)'))) / (select extract(epoch from '2026-07-22 07:00:35'::timestamp) - extract(epoch from '2026-07-22 07:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562081 -3.061652)'), GeomFromEWKT('SRID=4674;POINT (-39.562079 -3.06149)'))) / (select extract(epoch from '2026-07-22 07:00:35'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.562082 -3.061387)', '2026-07-22 07:00:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562079 -3.06149)'), GeomFromEWKT('SRID=4674;POINT (-39.562082 -3.061387)'))) / (select extract(epoch from '2026-07-22 07:00:40'::timestamp) - extract(epoch from '2026-07-22 07:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562079 -3.06149)'), GeomFromEWKT('SRID=4674;POINT (-39.562082 -3.061387)'))) / (select extract(epoch from '2026-07-22 07:00:40'::timestamp) - extract(epoch from '2026-07-22 07:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562075 -3.061265)', '2026-07-22 07:00:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562082 -3.061387)'), GeomFromEWKT('SRID=4674;POINT (-39.562075 -3.061265)'))) / (select extract(epoch from '2026-07-22 07:00:46'::timestamp) - extract(epoch from '2026-07-22 07:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562082 -3.061387)'), GeomFromEWKT('SRID=4674;POINT (-39.562075 -3.061265)'))) / (select extract(epoch from '2026-07-22 07:00:46'::timestamp) - extract(epoch from '2026-07-22 07:00: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'), 47847, 'SRID=4674;POINT (-39.562059 -3.061148)', '2026-07-22 07:00:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562075 -3.061265)'), GeomFromEWKT('SRID=4674;POINT (-39.562059 -3.061148)'))) / (select extract(epoch from '2026-07-22 07:00:52'::timestamp) - extract(epoch from '2026-07-22 07:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562075 -3.061265)'), GeomFromEWKT('SRID=4674;POINT (-39.562059 -3.061148)'))) / (select extract(epoch from '2026-07-22 07:00:52'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.562044 -3.061008)', '2026-07-22 07:00:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562059 -3.061148)'), GeomFromEWKT('SRID=4674;POINT (-39.562044 -3.061008)'))) / (select extract(epoch from '2026-07-22 07:00:59'::timestamp) - extract(epoch from '2026-07-22 07:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562059 -3.061148)'), GeomFromEWKT('SRID=4674;POINT (-39.562044 -3.061008)'))) / (select extract(epoch from '2026-07-22 07:00:59'::timestamp) - extract(epoch from '2026-07-22 07:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562044 -3.060884)', '2026-07-22 07:01:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562044 -3.061008)'), GeomFromEWKT('SRID=4674;POINT (-39.562044 -3.060884)'))) / (select extract(epoch from '2026-07-22 07:01:05'::timestamp) - extract(epoch from '2026-07-22 07:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562044 -3.061008)'), GeomFromEWKT('SRID=4674;POINT (-39.562044 -3.060884)'))) / (select extract(epoch from '2026-07-22 07:01:05'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.562049 -3.060762)', '2026-07-22 07:01:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562044 -3.060884)'), GeomFromEWKT('SRID=4674;POINT (-39.562049 -3.060762)'))) / (select extract(epoch from '2026-07-22 07:01:11'::timestamp) - extract(epoch from '2026-07-22 07:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562044 -3.060884)'), GeomFromEWKT('SRID=4674;POINT (-39.562049 -3.060762)'))) / (select extract(epoch from '2026-07-22 07:01:11'::timestamp) - extract(epoch from '2026-07-22 07:01:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562048 -3.060662)', '2026-07-22 07:01:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562049 -3.060762)'), GeomFromEWKT('SRID=4674;POINT (-39.562048 -3.060662)'))) / (select extract(epoch from '2026-07-22 07:01:16'::timestamp) - extract(epoch from '2026-07-22 07:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562049 -3.060762)'), GeomFromEWKT('SRID=4674;POINT (-39.562048 -3.060662)'))) / (select extract(epoch from '2026-07-22 07:01:16'::timestamp) - extract(epoch from '2026-07-22 07:01: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'), 47847, 'SRID=4674;POINT (-39.562045 -3.060538)', '2026-07-22 07:01:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562048 -3.060662)'), GeomFromEWKT('SRID=4674;POINT (-39.562045 -3.060538)'))) / (select extract(epoch from '2026-07-22 07:01:22'::timestamp) - extract(epoch from '2026-07-22 07:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562048 -3.060662)'), GeomFromEWKT('SRID=4674;POINT (-39.562045 -3.060538)'))) / (select extract(epoch from '2026-07-22 07:01:22'::timestamp) - extract(epoch from '2026-07-22 07:01: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'), 47847, 'SRID=4674;POINT (-39.562066 -3.060423)', '2026-07-22 07:01:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562045 -3.060538)'), GeomFromEWKT('SRID=4674;POINT (-39.562066 -3.060423)'))) / (select extract(epoch from '2026-07-22 07:01:28'::timestamp) - extract(epoch from '2026-07-22 07:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562045 -3.060538)'), GeomFromEWKT('SRID=4674;POINT (-39.562066 -3.060423)'))) / (select extract(epoch from '2026-07-22 07:01:28'::timestamp) - extract(epoch from '2026-07-22 07:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562085 -3.060283)', '2026-07-22 07:01:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562066 -3.060423)'), GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.060283)'))) / (select extract(epoch from '2026-07-22 07:01:35'::timestamp) - extract(epoch from '2026-07-22 07:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562066 -3.060423)'), GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.060283)'))) / (select extract(epoch from '2026-07-22 07:01:35'::timestamp) - extract(epoch from '2026-07-22 07:01: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'), 47847, 'SRID=4674;POINT (-39.562091 -3.0602)', '2026-07-22 07:01:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.060283)'), GeomFromEWKT('SRID=4674;POINT (-39.562091 -3.0602)'))) / (select extract(epoch from '2026-07-22 07:01:39'::timestamp) - extract(epoch from '2026-07-22 07:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562085 -3.060283)'), GeomFromEWKT('SRID=4674;POINT (-39.562091 -3.0602)'))) / (select extract(epoch from '2026-07-22 07:01:39'::timestamp) - extract(epoch from '2026-07-22 07:01: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'), 47847, 'SRID=4674;POINT (-39.562093 -3.060156)', '2026-07-22 07:01:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562091 -3.0602)'), GeomFromEWKT('SRID=4674;POINT (-39.562093 -3.060156)'))) / (select extract(epoch from '2026-07-22 07:01:41'::timestamp) - extract(epoch from '2026-07-22 07:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562091 -3.0602)'), GeomFromEWKT('SRID=4674;POINT (-39.562093 -3.060156)'))) / (select extract(epoch from '2026-07-22 07:01:41'::timestamp) - extract(epoch from '2026-07-22 07:01: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'), 47847, 'SRID=4674;POINT (-39.562087 -3.060036)', '2026-07-22 07:01:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562093 -3.060156)'), GeomFromEWKT('SRID=4674;POINT (-39.562087 -3.060036)'))) / (select extract(epoch from '2026-07-22 07:01:47'::timestamp) - extract(epoch from '2026-07-22 07:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562093 -3.060156)'), GeomFromEWKT('SRID=4674;POINT (-39.562087 -3.060036)'))) / (select extract(epoch from '2026-07-22 07:01:47'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.562092 -3.059913)', '2026-07-22 07:01:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562087 -3.060036)'), GeomFromEWKT('SRID=4674;POINT (-39.562092 -3.059913)'))) / (select extract(epoch from '2026-07-22 07:01:53'::timestamp) - extract(epoch from '2026-07-22 07:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562087 -3.060036)'), GeomFromEWKT('SRID=4674;POINT (-39.562092 -3.059913)'))) / (select extract(epoch from '2026-07-22 07:01:53'::timestamp) - extract(epoch from '2026-07-22 07:01:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562111 -3.059788)', '2026-07-22 07:01:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562092 -3.059913)'), GeomFromEWKT('SRID=4674;POINT (-39.562111 -3.059788)'))) / (select extract(epoch from '2026-07-22 07:01:59'::timestamp) - extract(epoch from '2026-07-22 07:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562092 -3.059913)'), GeomFromEWKT('SRID=4674;POINT (-39.562111 -3.059788)'))) / (select extract(epoch from '2026-07-22 07:01:59'::timestamp) - extract(epoch from '2026-07-22 07:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562112 -3.059686)', '2026-07-22 07:02:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562111 -3.059788)'), GeomFromEWKT('SRID=4674;POINT (-39.562112 -3.059686)'))) / (select extract(epoch from '2026-07-22 07:02:04'::timestamp) - extract(epoch from '2026-07-22 07:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562111 -3.059788)'), GeomFromEWKT('SRID=4674;POINT (-39.562112 -3.059686)'))) / (select extract(epoch from '2026-07-22 07:02:04'::timestamp) - extract(epoch from '2026-07-22 07:01:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562103 -3.059569)', '2026-07-22 07:02:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562112 -3.059686)'), GeomFromEWKT('SRID=4674;POINT (-39.562103 -3.059569)'))) / (select extract(epoch from '2026-07-22 07:02:10'::timestamp) - extract(epoch from '2026-07-22 07:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562112 -3.059686)'), GeomFromEWKT('SRID=4674;POINT (-39.562103 -3.059569)'))) / (select extract(epoch from '2026-07-22 07:02:10'::timestamp) - extract(epoch from '2026-07-22 07:02: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'), 47847, 'SRID=4674;POINT (-39.5621 -3.059442)', '2026-07-22 07:02:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562103 -3.059569)'), GeomFromEWKT('SRID=4674;POINT (-39.5621 -3.059442)'))) / (select extract(epoch from '2026-07-22 07:02:16'::timestamp) - extract(epoch from '2026-07-22 07:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562103 -3.059569)'), GeomFromEWKT('SRID=4674;POINT (-39.5621 -3.059442)'))) / (select extract(epoch from '2026-07-22 07:02:16'::timestamp) - extract(epoch from '2026-07-22 07:02: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'), 47847, 'SRID=4674;POINT (-39.562121 -3.059297)', '2026-07-22 07:02:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5621 -3.059442)'), GeomFromEWKT('SRID=4674;POINT (-39.562121 -3.059297)'))) / (select extract(epoch from '2026-07-22 07:02:23'::timestamp) - extract(epoch from '2026-07-22 07:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5621 -3.059442)'), GeomFromEWKT('SRID=4674;POINT (-39.562121 -3.059297)'))) / (select extract(epoch from '2026-07-22 07:02:23'::timestamp) - extract(epoch from '2026-07-22 07:02: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'), 47847, 'SRID=4674;POINT (-39.562141 -3.059147)', '2026-07-22 07:02:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562121 -3.059297)'), GeomFromEWKT('SRID=4674;POINT (-39.562141 -3.059147)'))) / (select extract(epoch from '2026-07-22 07:02:30'::timestamp) - extract(epoch from '2026-07-22 07:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562121 -3.059297)'), GeomFromEWKT('SRID=4674;POINT (-39.562141 -3.059147)'))) / (select extract(epoch from '2026-07-22 07:02:30'::timestamp) - extract(epoch from '2026-07-22 07:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562142 -3.059)', '2026-07-22 07:02:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562141 -3.059147)'), GeomFromEWKT('SRID=4674;POINT (-39.562142 -3.059)'))) / (select extract(epoch from '2026-07-22 07:02:37'::timestamp) - extract(epoch from '2026-07-22 07:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562141 -3.059147)'), GeomFromEWKT('SRID=4674;POINT (-39.562142 -3.059)'))) / (select extract(epoch from '2026-07-22 07:02:37'::timestamp) - extract(epoch from '2026-07-22 07:02: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'), 47847, 'SRID=4674;POINT (-39.562145 -3.058853)', '2026-07-22 07:02:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562142 -3.059)'), GeomFromEWKT('SRID=4674;POINT (-39.562145 -3.058853)'))) / (select extract(epoch from '2026-07-22 07:02:44'::timestamp) - extract(epoch from '2026-07-22 07:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562142 -3.059)'), GeomFromEWKT('SRID=4674;POINT (-39.562145 -3.058853)'))) / (select extract(epoch from '2026-07-22 07:02:44'::timestamp) - extract(epoch from '2026-07-22 07:02: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'), 47847, 'SRID=4674;POINT (-39.562159 -3.058769)', '2026-07-22 07:02:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562145 -3.058853)'), GeomFromEWKT('SRID=4674;POINT (-39.562159 -3.058769)'))) / (select extract(epoch from '2026-07-22 07:02:48'::timestamp) - extract(epoch from '2026-07-22 07:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562145 -3.058853)'), GeomFromEWKT('SRID=4674;POINT (-39.562159 -3.058769)'))) / (select extract(epoch from '2026-07-22 07:02:48'::timestamp) - extract(epoch from '2026-07-22 07:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562164 -3.058728)', '2026-07-22 07:02:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562159 -3.058769)'), GeomFromEWKT('SRID=4674;POINT (-39.562164 -3.058728)'))) / (select extract(epoch from '2026-07-22 07:02:50'::timestamp) - extract(epoch from '2026-07-22 07:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562159 -3.058769)'), GeomFromEWKT('SRID=4674;POINT (-39.562164 -3.058728)'))) / (select extract(epoch from '2026-07-22 07:02:50'::timestamp) - extract(epoch from '2026-07-22 07:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56218 -3.05869)', '2026-07-22 07:02:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562164 -3.058728)'), GeomFromEWKT('SRID=4674;POINT (-39.56218 -3.05869)'))) / (select extract(epoch from '2026-07-22 07:02:52'::timestamp) - extract(epoch from '2026-07-22 07:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562164 -3.058728)'), GeomFromEWKT('SRID=4674;POINT (-39.56218 -3.05869)'))) / (select extract(epoch from '2026-07-22 07:02:52'::timestamp) - extract(epoch from '2026-07-22 07:02:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562199 -3.058634)', '2026-07-22 07:02:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56218 -3.05869)'), GeomFromEWKT('SRID=4674;POINT (-39.562199 -3.058634)'))) / (select extract(epoch from '2026-07-22 07:02:55'::timestamp) - extract(epoch from '2026-07-22 07:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56218 -3.05869)'), GeomFromEWKT('SRID=4674;POINT (-39.562199 -3.058634)'))) / (select extract(epoch from '2026-07-22 07:02:55'::timestamp) - extract(epoch from '2026-07-22 07:02: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'), 47847, 'SRID=4674;POINT (-39.562234 -3.058539)', '2026-07-22 07:03:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562199 -3.058634)'), GeomFromEWKT('SRID=4674;POINT (-39.562234 -3.058539)'))) / (select extract(epoch from '2026-07-22 07:03:00'::timestamp) - extract(epoch from '2026-07-22 07:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562199 -3.058634)'), GeomFromEWKT('SRID=4674;POINT (-39.562234 -3.058539)'))) / (select extract(epoch from '2026-07-22 07:03:00'::timestamp) - extract(epoch from '2026-07-22 07:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562245 -3.058389)', '2026-07-22 07:03:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562234 -3.058539)'), GeomFromEWKT('SRID=4674;POINT (-39.562245 -3.058389)'))) / (select extract(epoch from '2026-07-22 07:03:07'::timestamp) - extract(epoch from '2026-07-22 07:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562234 -3.058539)'), GeomFromEWKT('SRID=4674;POINT (-39.562245 -3.058389)'))) / (select extract(epoch from '2026-07-22 07:03:07'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47847, 'SRID=4674;POINT (-39.562253 -3.058265)', '2026-07-22 07:03:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562245 -3.058389)'), GeomFromEWKT('SRID=4674;POINT (-39.562253 -3.058265)'))) / (select extract(epoch from '2026-07-22 07:03:13'::timestamp) - extract(epoch from '2026-07-22 07:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562245 -3.058389)'), GeomFromEWKT('SRID=4674;POINT (-39.562253 -3.058265)'))) / (select extract(epoch from '2026-07-22 07:03:13'::timestamp) - extract(epoch from '2026-07-22 07:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562254 -3.058137)', '2026-07-22 07:03:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562253 -3.058265)'), GeomFromEWKT('SRID=4674;POINT (-39.562254 -3.058137)'))) / (select extract(epoch from '2026-07-22 07:03:19'::timestamp) - extract(epoch from '2026-07-22 07:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562253 -3.058265)'), GeomFromEWKT('SRID=4674;POINT (-39.562254 -3.058137)'))) / (select extract(epoch from '2026-07-22 07:03:19'::timestamp) - extract(epoch from '2026-07-22 07:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562262 -3.058032)', '2026-07-22 07:03:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562254 -3.058137)'), GeomFromEWKT('SRID=4674;POINT (-39.562262 -3.058032)'))) / (select extract(epoch from '2026-07-22 07:03:24'::timestamp) - extract(epoch from '2026-07-22 07:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562254 -3.058137)'), GeomFromEWKT('SRID=4674;POINT (-39.562262 -3.058032)'))) / (select extract(epoch from '2026-07-22 07:03:24'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47847, 'SRID=4674;POINT (-39.562294 -3.057884)', '2026-07-22 07:03:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562262 -3.058032)'), GeomFromEWKT('SRID=4674;POINT (-39.562294 -3.057884)'))) / (select extract(epoch from '2026-07-22 07:03:31'::timestamp) - extract(epoch from '2026-07-22 07:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562262 -3.058032)'), GeomFromEWKT('SRID=4674;POINT (-39.562294 -3.057884)'))) / (select extract(epoch from '2026-07-22 07:03:31'::timestamp) - extract(epoch from '2026-07-22 07:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562315 -3.057777)', '2026-07-22 07:03:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562294 -3.057884)'), GeomFromEWKT('SRID=4674;POINT (-39.562315 -3.057777)'))) / (select extract(epoch from '2026-07-22 07:03:36'::timestamp) - extract(epoch from '2026-07-22 07:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562294 -3.057884)'), GeomFromEWKT('SRID=4674;POINT (-39.562315 -3.057777)'))) / (select extract(epoch from '2026-07-22 07:03:36'::timestamp) - extract(epoch from '2026-07-22 07:03:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562326 -3.057698)', '2026-07-22 07:03:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562315 -3.057777)'), GeomFromEWKT('SRID=4674;POINT (-39.562326 -3.057698)'))) / (select extract(epoch from '2026-07-22 07:03:40'::timestamp) - extract(epoch from '2026-07-22 07:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562315 -3.057777)'), GeomFromEWKT('SRID=4674;POINT (-39.562326 -3.057698)'))) / (select extract(epoch from '2026-07-22 07:03:40'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47847, 'SRID=4674;POINT (-39.562337 -3.057678)', '2026-07-22 07:03:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562326 -3.057698)'), GeomFromEWKT('SRID=4674;POINT (-39.562337 -3.057678)'))) / (select extract(epoch from '2026-07-22 07:03:41'::timestamp) - extract(epoch from '2026-07-22 07:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562326 -3.057698)'), GeomFromEWKT('SRID=4674;POINT (-39.562337 -3.057678)'))) / (select extract(epoch from '2026-07-22 07:03:41'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47847, 'SRID=4674;POINT (-39.562344 -3.057658)', '2026-07-22 07:03:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562337 -3.057678)'), GeomFromEWKT('SRID=4674;POINT (-39.562344 -3.057658)'))) / (select extract(epoch from '2026-07-22 07:03:42'::timestamp) - extract(epoch from '2026-07-22 07:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562337 -3.057678)'), GeomFromEWKT('SRID=4674;POINT (-39.562344 -3.057658)'))) / (select extract(epoch from '2026-07-22 07:03:42'::timestamp) - extract(epoch from '2026-07-22 07:03:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562358 -3.057592)', '2026-07-22 07:03:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562344 -3.057658)'), GeomFromEWKT('SRID=4674;POINT (-39.562358 -3.057592)'))) / (select extract(epoch from '2026-07-22 07:03:45'::timestamp) - extract(epoch from '2026-07-22 07:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562344 -3.057658)'), GeomFromEWKT('SRID=4674;POINT (-39.562358 -3.057592)'))) / (select extract(epoch from '2026-07-22 07:03:45'::timestamp) - extract(epoch from '2026-07-22 07:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562378 -3.057454)', '2026-07-22 07:03:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562358 -3.057592)'), GeomFromEWKT('SRID=4674;POINT (-39.562378 -3.057454)'))) / (select extract(epoch from '2026-07-22 07:03:52'::timestamp) - extract(epoch from '2026-07-22 07:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562358 -3.057592)'), GeomFromEWKT('SRID=4674;POINT (-39.562378 -3.057454)'))) / (select extract(epoch from '2026-07-22 07:03:52'::timestamp) - extract(epoch from '2026-07-22 07:03:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562406 -3.057309)', '2026-07-22 07:03:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562378 -3.057454)'), GeomFromEWKT('SRID=4674;POINT (-39.562406 -3.057309)'))) / (select extract(epoch from '2026-07-22 07:03:59'::timestamp) - extract(epoch from '2026-07-22 07:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562378 -3.057454)'), GeomFromEWKT('SRID=4674;POINT (-39.562406 -3.057309)'))) / (select extract(epoch from '2026-07-22 07:03:59'::timestamp) - extract(epoch from '2026-07-22 07:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562432 -3.057182)', '2026-07-22 07:04:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562406 -3.057309)'), GeomFromEWKT('SRID=4674;POINT (-39.562432 -3.057182)'))) / (select extract(epoch from '2026-07-22 07:04:05'::timestamp) - extract(epoch from '2026-07-22 07:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562406 -3.057309)'), GeomFromEWKT('SRID=4674;POINT (-39.562432 -3.057182)'))) / (select extract(epoch from '2026-07-22 07:04:05'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47847, 'SRID=4674;POINT (-39.562442 -3.057054)', '2026-07-22 07:04:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562432 -3.057182)'), GeomFromEWKT('SRID=4674;POINT (-39.562442 -3.057054)'))) / (select extract(epoch from '2026-07-22 07:04:11'::timestamp) - extract(epoch from '2026-07-22 07:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562432 -3.057182)'), GeomFromEWKT('SRID=4674;POINT (-39.562442 -3.057054)'))) / (select extract(epoch from '2026-07-22 07:04:11'::timestamp) - extract(epoch from '2026-07-22 07:04: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'), 47847, 'SRID=4674;POINT (-39.562455 -3.056926)', '2026-07-22 07:04:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562442 -3.057054)'), GeomFromEWKT('SRID=4674;POINT (-39.562455 -3.056926)'))) / (select extract(epoch from '2026-07-22 07:04:17'::timestamp) - extract(epoch from '2026-07-22 07:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562442 -3.057054)'), GeomFromEWKT('SRID=4674;POINT (-39.562455 -3.056926)'))) / (select extract(epoch from '2026-07-22 07:04:17'::timestamp) - extract(epoch from '2026-07-22 07:04: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'), 47847, 'SRID=4674;POINT (-39.562461 -3.056806)', '2026-07-22 07:04:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562455 -3.056926)'), GeomFromEWKT('SRID=4674;POINT (-39.562461 -3.056806)'))) / (select extract(epoch from '2026-07-22 07:04:23'::timestamp) - extract(epoch from '2026-07-22 07:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562455 -3.056926)'), GeomFromEWKT('SRID=4674;POINT (-39.562461 -3.056806)'))) / (select extract(epoch from '2026-07-22 07:04:23'::timestamp) - extract(epoch from '2026-07-22 07:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56247 -3.056664)', '2026-07-22 07:04:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562461 -3.056806)'), GeomFromEWKT('SRID=4674;POINT (-39.56247 -3.056664)'))) / (select extract(epoch from '2026-07-22 07:04:30'::timestamp) - extract(epoch from '2026-07-22 07:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562461 -3.056806)'), GeomFromEWKT('SRID=4674;POINT (-39.56247 -3.056664)'))) / (select extract(epoch from '2026-07-22 07:04:30'::timestamp) - extract(epoch from '2026-07-22 07:04: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'), 47847, 'SRID=4674;POINT (-39.562482 -3.056515)', '2026-07-22 07:04:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56247 -3.056664)'), GeomFromEWKT('SRID=4674;POINT (-39.562482 -3.056515)'))) / (select extract(epoch from '2026-07-22 07:04:37'::timestamp) - extract(epoch from '2026-07-22 07:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56247 -3.056664)'), GeomFromEWKT('SRID=4674;POINT (-39.562482 -3.056515)'))) / (select extract(epoch from '2026-07-22 07:04:37'::timestamp) - extract(epoch from '2026-07-22 07:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56249 -3.056394)', '2026-07-22 07:04:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562482 -3.056515)'), GeomFromEWKT('SRID=4674;POINT (-39.56249 -3.056394)'))) / (select extract(epoch from '2026-07-22 07:04:43'::timestamp) - extract(epoch from '2026-07-22 07:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562482 -3.056515)'), GeomFromEWKT('SRID=4674;POINT (-39.56249 -3.056394)'))) / (select extract(epoch from '2026-07-22 07:04:43'::timestamp) - extract(epoch from '2026-07-22 07:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562495 -3.056229)', '2026-07-22 07:04:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56249 -3.056394)'), GeomFromEWKT('SRID=4674;POINT (-39.562495 -3.056229)'))) / (select extract(epoch from '2026-07-22 07:04:51'::timestamp) - extract(epoch from '2026-07-22 07:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56249 -3.056394)'), GeomFromEWKT('SRID=4674;POINT (-39.562495 -3.056229)'))) / (select extract(epoch from '2026-07-22 07:04:51'::timestamp) - extract(epoch from '2026-07-22 07:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562497 -3.056147)', '2026-07-22 07:04:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562495 -3.056229)'), GeomFromEWKT('SRID=4674;POINT (-39.562497 -3.056147)'))) / (select extract(epoch from '2026-07-22 07:04:55'::timestamp) - extract(epoch from '2026-07-22 07:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562495 -3.056229)'), GeomFromEWKT('SRID=4674;POINT (-39.562497 -3.056147)'))) / (select extract(epoch from '2026-07-22 07:04:55'::timestamp) - extract(epoch from '2026-07-22 07:04: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'), 47847, 'SRID=4674;POINT (-39.562505 -3.056128)', '2026-07-22 07:04:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562497 -3.056147)'), GeomFromEWKT('SRID=4674;POINT (-39.562505 -3.056128)'))) / (select extract(epoch from '2026-07-22 07:04:56'::timestamp) - extract(epoch from '2026-07-22 07:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562497 -3.056147)'), GeomFromEWKT('SRID=4674;POINT (-39.562505 -3.056128)'))) / (select extract(epoch from '2026-07-22 07:04:56'::timestamp) - extract(epoch from '2026-07-22 07:04:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562515 -3.056008)', '2026-07-22 07:05:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562505 -3.056128)'), GeomFromEWKT('SRID=4674;POINT (-39.562515 -3.056008)'))) / (select extract(epoch from '2026-07-22 07:05:02'::timestamp) - extract(epoch from '2026-07-22 07:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562505 -3.056128)'), GeomFromEWKT('SRID=4674;POINT (-39.562515 -3.056008)'))) / (select extract(epoch from '2026-07-22 07:05:02'::timestamp) - extract(epoch from '2026-07-22 07:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562539 -3.055888)', '2026-07-22 07:05:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562515 -3.056008)'), GeomFromEWKT('SRID=4674;POINT (-39.562539 -3.055888)'))) / (select extract(epoch from '2026-07-22 07:05:08'::timestamp) - extract(epoch from '2026-07-22 07:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562515 -3.056008)'), GeomFromEWKT('SRID=4674;POINT (-39.562539 -3.055888)'))) / (select extract(epoch from '2026-07-22 07:05:08'::timestamp) - extract(epoch from '2026-07-22 07:05:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562558 -3.055786)', '2026-07-22 07:05:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562539 -3.055888)'), GeomFromEWKT('SRID=4674;POINT (-39.562558 -3.055786)'))) / (select extract(epoch from '2026-07-22 07:05:13'::timestamp) - extract(epoch from '2026-07-22 07:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562539 -3.055888)'), GeomFromEWKT('SRID=4674;POINT (-39.562558 -3.055786)'))) / (select extract(epoch from '2026-07-22 07:05:13'::timestamp) - extract(epoch from '2026-07-22 07:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562586 -3.055632)', '2026-07-22 07:05:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562558 -3.055786)'), GeomFromEWKT('SRID=4674;POINT (-39.562586 -3.055632)'))) / (select extract(epoch from '2026-07-22 07:05:21'::timestamp) - extract(epoch from '2026-07-22 07:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562558 -3.055786)'), GeomFromEWKT('SRID=4674;POINT (-39.562586 -3.055632)'))) / (select extract(epoch from '2026-07-22 07:05:21'::timestamp) - extract(epoch from '2026-07-22 07:05: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'), 47847, 'SRID=4674;POINT (-39.562603 -3.055489)', '2026-07-22 07:05:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562586 -3.055632)'), GeomFromEWKT('SRID=4674;POINT (-39.562603 -3.055489)'))) / (select extract(epoch from '2026-07-22 07:05:28'::timestamp) - extract(epoch from '2026-07-22 07:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562586 -3.055632)'), GeomFromEWKT('SRID=4674;POINT (-39.562603 -3.055489)'))) / (select extract(epoch from '2026-07-22 07:05:28'::timestamp) - extract(epoch from '2026-07-22 07:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56262 -3.055364)', '2026-07-22 07:05:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562603 -3.055489)'), GeomFromEWKT('SRID=4674;POINT (-39.56262 -3.055364)'))) / (select extract(epoch from '2026-07-22 07:05:34'::timestamp) - extract(epoch from '2026-07-22 07:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562603 -3.055489)'), GeomFromEWKT('SRID=4674;POINT (-39.56262 -3.055364)'))) / (select extract(epoch from '2026-07-22 07:05:34'::timestamp) - extract(epoch from '2026-07-22 07:05: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'), 47847, 'SRID=4674;POINT (-39.562621 -3.055345)', '2026-07-22 07:05:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56262 -3.055364)'), GeomFromEWKT('SRID=4674;POINT (-39.562621 -3.055345)'))) / (select extract(epoch from '2026-07-22 07:05:35'::timestamp) - extract(epoch from '2026-07-22 07:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56262 -3.055364)'), GeomFromEWKT('SRID=4674;POINT (-39.562621 -3.055345)'))) / (select extract(epoch from '2026-07-22 07:05:35'::timestamp) - extract(epoch from '2026-07-22 07:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562632 -3.05526)', '2026-07-22 07:05:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562621 -3.055345)'), GeomFromEWKT('SRID=4674;POINT (-39.562632 -3.05526)'))) / (select extract(epoch from '2026-07-22 07:05:39'::timestamp) - extract(epoch from '2026-07-22 07:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562621 -3.055345)'), GeomFromEWKT('SRID=4674;POINT (-39.562632 -3.05526)'))) / (select extract(epoch from '2026-07-22 07:05:39'::timestamp) - extract(epoch from '2026-07-22 07:05: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'), 47847, 'SRID=4674;POINT (-39.56264 -3.055135)', '2026-07-22 07:05:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562632 -3.05526)'), GeomFromEWKT('SRID=4674;POINT (-39.56264 -3.055135)'))) / (select extract(epoch from '2026-07-22 07:05:45'::timestamp) - extract(epoch from '2026-07-22 07:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562632 -3.05526)'), GeomFromEWKT('SRID=4674;POINT (-39.56264 -3.055135)'))) / (select extract(epoch from '2026-07-22 07:05:45'::timestamp) - extract(epoch from '2026-07-22 07:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562645 -3.055096)', '2026-07-22 07:05:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56264 -3.055135)'), GeomFromEWKT('SRID=4674;POINT (-39.562645 -3.055096)'))) / (select extract(epoch from '2026-07-22 07:05:47'::timestamp) - extract(epoch from '2026-07-22 07:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56264 -3.055135)'), GeomFromEWKT('SRID=4674;POINT (-39.562645 -3.055096)'))) / (select extract(epoch from '2026-07-22 07:05:47'::timestamp) - extract(epoch from '2026-07-22 07:05: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'), 47847, 'SRID=4674;POINT (-39.562647 -3.055038)', '2026-07-22 07:05:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562645 -3.055096)'), GeomFromEWKT('SRID=4674;POINT (-39.562647 -3.055038)'))) / (select extract(epoch from '2026-07-22 07:05:50'::timestamp) - extract(epoch from '2026-07-22 07:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562645 -3.055096)'), GeomFromEWKT('SRID=4674;POINT (-39.562647 -3.055038)'))) / (select extract(epoch from '2026-07-22 07:05:50'::timestamp) - extract(epoch from '2026-07-22 07:05:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562659 -3.054924)', '2026-07-22 07:05:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562647 -3.055038)'), GeomFromEWKT('SRID=4674;POINT (-39.562659 -3.054924)'))) / (select extract(epoch from '2026-07-22 07:05:56'::timestamp) - extract(epoch from '2026-07-22 07:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562647 -3.055038)'), GeomFromEWKT('SRID=4674;POINT (-39.562659 -3.054924)'))) / (select extract(epoch from '2026-07-22 07:05:56'::timestamp) - extract(epoch from '2026-07-22 07:05: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'), 47847, 'SRID=4674;POINT (-39.562676 -3.054807)', '2026-07-22 07:06:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562659 -3.054924)'), GeomFromEWKT('SRID=4674;POINT (-39.562676 -3.054807)'))) / (select extract(epoch from '2026-07-22 07:06:02'::timestamp) - extract(epoch from '2026-07-22 07:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562659 -3.054924)'), GeomFromEWKT('SRID=4674;POINT (-39.562676 -3.054807)'))) / (select extract(epoch from '2026-07-22 07:06:02'::timestamp) - extract(epoch from '2026-07-22 07:05: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'), 47847, 'SRID=4674;POINT (-39.562682 -3.054688)', '2026-07-22 07:06:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562676 -3.054807)'), GeomFromEWKT('SRID=4674;POINT (-39.562682 -3.054688)'))) / (select extract(epoch from '2026-07-22 07:06:08'::timestamp) - extract(epoch from '2026-07-22 07:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562676 -3.054807)'), GeomFromEWKT('SRID=4674;POINT (-39.562682 -3.054688)'))) / (select extract(epoch from '2026-07-22 07:06:08'::timestamp) - extract(epoch from '2026-07-22 07:06:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562706 -3.05454)', '2026-07-22 07:06:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562682 -3.054688)'), GeomFromEWKT('SRID=4674;POINT (-39.562706 -3.05454)'))) / (select extract(epoch from '2026-07-22 07:06:15'::timestamp) - extract(epoch from '2026-07-22 07:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562682 -3.054688)'), GeomFromEWKT('SRID=4674;POINT (-39.562706 -3.05454)'))) / (select extract(epoch from '2026-07-22 07:06:15'::timestamp) - extract(epoch from '2026-07-22 07:06: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'), 47847, 'SRID=4674;POINT (-39.562738 -3.054396)', '2026-07-22 07:06:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562706 -3.05454)'), GeomFromEWKT('SRID=4674;POINT (-39.562738 -3.054396)'))) / (select extract(epoch from '2026-07-22 07:06:22'::timestamp) - extract(epoch from '2026-07-22 07:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562706 -3.05454)'), GeomFromEWKT('SRID=4674;POINT (-39.562738 -3.054396)'))) / (select extract(epoch from '2026-07-22 07:06:22'::timestamp) - extract(epoch from '2026-07-22 07:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562751 -3.054251)', '2026-07-22 07:06:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562738 -3.054396)'), GeomFromEWKT('SRID=4674;POINT (-39.562751 -3.054251)'))) / (select extract(epoch from '2026-07-22 07:06:29'::timestamp) - extract(epoch from '2026-07-22 07:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562738 -3.054396)'), GeomFromEWKT('SRID=4674;POINT (-39.562751 -3.054251)'))) / (select extract(epoch from '2026-07-22 07:06:29'::timestamp) - extract(epoch from '2026-07-22 07:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562763 -3.054099)', '2026-07-22 07:06:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562751 -3.054251)'), GeomFromEWKT('SRID=4674;POINT (-39.562763 -3.054099)'))) / (select extract(epoch from '2026-07-22 07:06:36'::timestamp) - extract(epoch from '2026-07-22 07:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562751 -3.054251)'), GeomFromEWKT('SRID=4674;POINT (-39.562763 -3.054099)'))) / (select extract(epoch from '2026-07-22 07:06:36'::timestamp) - extract(epoch from '2026-07-22 07:06: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'), 47847, 'SRID=4674;POINT (-39.562764 -3.05398)', '2026-07-22 07:06:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562763 -3.054099)'), GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.05398)'))) / (select extract(epoch from '2026-07-22 07:06:42'::timestamp) - extract(epoch from '2026-07-22 07:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562763 -3.054099)'), GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.05398)'))) / (select extract(epoch from '2026-07-22 07:06:42'::timestamp) - extract(epoch from '2026-07-22 07:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562761 -3.053922)', '2026-07-22 07:06:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.05398)'), GeomFromEWKT('SRID=4674;POINT (-39.562761 -3.053922)'))) / (select extract(epoch from '2026-07-22 07:06:45'::timestamp) - extract(epoch from '2026-07-22 07:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.05398)'), GeomFromEWKT('SRID=4674;POINT (-39.562761 -3.053922)'))) / (select extract(epoch from '2026-07-22 07:06:45'::timestamp) - extract(epoch from '2026-07-22 07:06:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562765 -3.053905)', '2026-07-22 07:06:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562761 -3.053922)'), GeomFromEWKT('SRID=4674;POINT (-39.562765 -3.053905)'))) / (select extract(epoch from '2026-07-22 07:06:46'::timestamp) - extract(epoch from '2026-07-22 07:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562761 -3.053922)'), GeomFromEWKT('SRID=4674;POINT (-39.562765 -3.053905)'))) / (select extract(epoch from '2026-07-22 07:06:46'::timestamp) - extract(epoch from '2026-07-22 07:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562764 -3.053885)', '2026-07-22 07:06:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562765 -3.053905)'), GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.053885)'))) / (select extract(epoch from '2026-07-22 07:06:47'::timestamp) - extract(epoch from '2026-07-22 07:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562765 -3.053905)'), GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.053885)'))) / (select extract(epoch from '2026-07-22 07:06:47'::timestamp) - extract(epoch from '2026-07-22 07:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562758 -3.053829)', '2026-07-22 07:06:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.053885)'), GeomFromEWKT('SRID=4674;POINT (-39.562758 -3.053829)'))) / (select extract(epoch from '2026-07-22 07:06:50'::timestamp) - extract(epoch from '2026-07-22 07:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.053885)'), GeomFromEWKT('SRID=4674;POINT (-39.562758 -3.053829)'))) / (select extract(epoch from '2026-07-22 07:06:50'::timestamp) - extract(epoch from '2026-07-22 07:06: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'), 47847, 'SRID=4674;POINT (-39.562747 -3.05371)', '2026-07-22 07:06:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562758 -3.053829)'), GeomFromEWKT('SRID=4674;POINT (-39.562747 -3.05371)'))) / (select extract(epoch from '2026-07-22 07:06:57'::timestamp) - extract(epoch from '2026-07-22 07:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562758 -3.053829)'), GeomFromEWKT('SRID=4674;POINT (-39.562747 -3.05371)'))) / (select extract(epoch from '2026-07-22 07:06:57'::timestamp) - extract(epoch from '2026-07-22 07:06:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562748 -3.053618)', '2026-07-22 07:07:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562747 -3.05371)'), GeomFromEWKT('SRID=4674;POINT (-39.562748 -3.053618)'))) / (select extract(epoch from '2026-07-22 07:07:02'::timestamp) - extract(epoch from '2026-07-22 07:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562747 -3.05371)'), GeomFromEWKT('SRID=4674;POINT (-39.562748 -3.053618)'))) / (select extract(epoch from '2026-07-22 07:07:02'::timestamp) - extract(epoch from '2026-07-22 07:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562764 -3.053504)', '2026-07-22 07:07:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562748 -3.053618)'), GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.053504)'))) / (select extract(epoch from '2026-07-22 07:07:08'::timestamp) - extract(epoch from '2026-07-22 07:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562748 -3.053618)'), GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.053504)'))) / (select extract(epoch from '2026-07-22 07:07:08'::timestamp) - extract(epoch from '2026-07-22 07:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562778 -3.053416)', '2026-07-22 07:07:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.053504)'), GeomFromEWKT('SRID=4674;POINT (-39.562778 -3.053416)'))) / (select extract(epoch from '2026-07-22 07:07:13'::timestamp) - extract(epoch from '2026-07-22 07:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562764 -3.053504)'), GeomFromEWKT('SRID=4674;POINT (-39.562778 -3.053416)'))) / (select extract(epoch from '2026-07-22 07:07:13'::timestamp) - extract(epoch from '2026-07-22 07:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562776 -3.053399)', '2026-07-22 07:07:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562778 -3.053416)'), GeomFromEWKT('SRID=4674;POINT (-39.562776 -3.053399)'))) / (select extract(epoch from '2026-07-22 07:07:14'::timestamp) - extract(epoch from '2026-07-22 07:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562778 -3.053416)'), GeomFromEWKT('SRID=4674;POINT (-39.562776 -3.053399)'))) / (select extract(epoch from '2026-07-22 07:07:14'::timestamp) - extract(epoch from '2026-07-22 07:07: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'), 47847, 'SRID=4674;POINT (-39.562769 -3.053304)', '2026-07-22 07:07:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562776 -3.053399)'), GeomFromEWKT('SRID=4674;POINT (-39.562769 -3.053304)'))) / (select extract(epoch from '2026-07-22 07:07:20'::timestamp) - extract(epoch from '2026-07-22 07:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562776 -3.053399)'), GeomFromEWKT('SRID=4674;POINT (-39.562769 -3.053304)'))) / (select extract(epoch from '2026-07-22 07:07:20'::timestamp) - extract(epoch from '2026-07-22 07:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562766 -3.053201)', '2026-07-22 07:07:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562769 -3.053304)'), GeomFromEWKT('SRID=4674;POINT (-39.562766 -3.053201)'))) / (select extract(epoch from '2026-07-22 07:07:26'::timestamp) - extract(epoch from '2026-07-22 07:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562769 -3.053304)'), GeomFromEWKT('SRID=4674;POINT (-39.562766 -3.053201)'))) / (select extract(epoch from '2026-07-22 07:07:26'::timestamp) - extract(epoch from '2026-07-22 07:07: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'), 47847, 'SRID=4674;POINT (-39.562783 -3.053056)', '2026-07-22 07:07:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562766 -3.053201)'), GeomFromEWKT('SRID=4674;POINT (-39.562783 -3.053056)'))) / (select extract(epoch from '2026-07-22 07:07:33'::timestamp) - extract(epoch from '2026-07-22 07:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562766 -3.053201)'), GeomFromEWKT('SRID=4674;POINT (-39.562783 -3.053056)'))) / (select extract(epoch from '2026-07-22 07:07:33'::timestamp) - extract(epoch from '2026-07-22 07:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.562829 -3.052958)', '2026-07-22 07:07:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562783 -3.053056)'), GeomFromEWKT('SRID=4674;POINT (-39.562829 -3.052958)'))) / (select extract(epoch from '2026-07-22 07:07:38'::timestamp) - extract(epoch from '2026-07-22 07:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562783 -3.053056)'), GeomFromEWKT('SRID=4674;POINT (-39.562829 -3.052958)'))) / (select extract(epoch from '2026-07-22 07:07:38'::timestamp) - extract(epoch from '2026-07-22 07:07: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'), 47847, 'SRID=4674;POINT (-39.56287 -3.052839)', '2026-07-22 07:07:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562829 -3.052958)'), GeomFromEWKT('SRID=4674;POINT (-39.56287 -3.052839)'))) / (select extract(epoch from '2026-07-22 07:07:44'::timestamp) - extract(epoch from '2026-07-22 07:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562829 -3.052958)'), GeomFromEWKT('SRID=4674;POINT (-39.56287 -3.052839)'))) / (select extract(epoch from '2026-07-22 07:07:44'::timestamp) - extract(epoch from '2026-07-22 07:07: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'), 47847, 'SRID=4674;POINT (-39.562873 -3.052734)', '2026-07-22 07:07:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56287 -3.052839)'), GeomFromEWKT('SRID=4674;POINT (-39.562873 -3.052734)'))) / (select extract(epoch from '2026-07-22 07:07:49'::timestamp) - extract(epoch from '2026-07-22 07:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56287 -3.052839)'), GeomFromEWKT('SRID=4674;POINT (-39.562873 -3.052734)'))) / (select extract(epoch from '2026-07-22 07:07:49'::timestamp) - extract(epoch from '2026-07-22 07:07: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'), 47847, 'SRID=4674;POINT (-39.562911 -3.052606)', '2026-07-22 07:07:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562873 -3.052734)'), GeomFromEWKT('SRID=4674;POINT (-39.562911 -3.052606)'))) / (select extract(epoch from '2026-07-22 07:07:56'::timestamp) - extract(epoch from '2026-07-22 07:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562873 -3.052734)'), GeomFromEWKT('SRID=4674;POINT (-39.562911 -3.052606)'))) / (select extract(epoch from '2026-07-22 07:07:56'::timestamp) - extract(epoch from '2026-07-22 07:07: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'), 47847, 'SRID=4674;POINT (-39.562958 -3.052494)', '2026-07-22 07:08:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562911 -3.052606)'), GeomFromEWKT('SRID=4674;POINT (-39.562958 -3.052494)'))) / (select extract(epoch from '2026-07-22 07:08:02'::timestamp) - extract(epoch from '2026-07-22 07:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562911 -3.052606)'), GeomFromEWKT('SRID=4674;POINT (-39.562958 -3.052494)'))) / (select extract(epoch from '2026-07-22 07:08:02'::timestamp) - extract(epoch from '2026-07-22 07:07: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'), 47847, 'SRID=4674;POINT (-39.562979 -3.052388)', '2026-07-22 07:08:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562958 -3.052494)'), GeomFromEWKT('SRID=4674;POINT (-39.562979 -3.052388)'))) / (select extract(epoch from '2026-07-22 07:08:07'::timestamp) - extract(epoch from '2026-07-22 07:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562958 -3.052494)'), GeomFromEWKT('SRID=4674;POINT (-39.562979 -3.052388)'))) / (select extract(epoch from '2026-07-22 07:08:07'::timestamp) - extract(epoch from '2026-07-22 07:08: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'), 47847, 'SRID=4674;POINT (-39.563006 -3.052287)', '2026-07-22 07:08:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562979 -3.052388)'), GeomFromEWKT('SRID=4674;POINT (-39.563006 -3.052287)'))) / (select extract(epoch from '2026-07-22 07:08:12'::timestamp) - extract(epoch from '2026-07-22 07:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.562979 -3.052388)'), GeomFromEWKT('SRID=4674;POINT (-39.563006 -3.052287)'))) / (select extract(epoch from '2026-07-22 07:08:12'::timestamp) - extract(epoch from '2026-07-22 07:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56304 -3.052147)', '2026-07-22 07:08:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563006 -3.052287)'), GeomFromEWKT('SRID=4674;POINT (-39.56304 -3.052147)'))) / (select extract(epoch from '2026-07-22 07:08:19'::timestamp) - extract(epoch from '2026-07-22 07:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563006 -3.052287)'), GeomFromEWKT('SRID=4674;POINT (-39.56304 -3.052147)'))) / (select extract(epoch from '2026-07-22 07:08:19'::timestamp) - extract(epoch from '2026-07-22 07:08: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'), 47847, 'SRID=4674;POINT (-39.563078 -3.052013)', '2026-07-22 07:08:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56304 -3.052147)'), GeomFromEWKT('SRID=4674;POINT (-39.563078 -3.052013)'))) / (select extract(epoch from '2026-07-22 07:08:26'::timestamp) - extract(epoch from '2026-07-22 07:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56304 -3.052147)'), GeomFromEWKT('SRID=4674;POINT (-39.563078 -3.052013)'))) / (select extract(epoch from '2026-07-22 07:08:26'::timestamp) - extract(epoch from '2026-07-22 07:08: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'), 47847, 'SRID=4674;POINT (-39.563135 -3.051881)', '2026-07-22 07:08:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563078 -3.052013)'), GeomFromEWKT('SRID=4674;POINT (-39.563135 -3.051881)'))) / (select extract(epoch from '2026-07-22 07:08:33'::timestamp) - extract(epoch from '2026-07-22 07:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563078 -3.052013)'), GeomFromEWKT('SRID=4674;POINT (-39.563135 -3.051881)'))) / (select extract(epoch from '2026-07-22 07:08:33'::timestamp) - extract(epoch from '2026-07-22 07:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563152 -3.051763)', '2026-07-22 07:08:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563135 -3.051881)'), GeomFromEWKT('SRID=4674;POINT (-39.563152 -3.051763)'))) / (select extract(epoch from '2026-07-22 07:08:39'::timestamp) - extract(epoch from '2026-07-22 07:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563135 -3.051881)'), GeomFromEWKT('SRID=4674;POINT (-39.563152 -3.051763)'))) / (select extract(epoch from '2026-07-22 07:08:39'::timestamp) - extract(epoch from '2026-07-22 07:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563166 -3.051679)', '2026-07-22 07:08:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563152 -3.051763)'), GeomFromEWKT('SRID=4674;POINT (-39.563166 -3.051679)'))) / (select extract(epoch from '2026-07-22 07:08:43'::timestamp) - extract(epoch from '2026-07-22 07:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563152 -3.051763)'), GeomFromEWKT('SRID=4674;POINT (-39.563166 -3.051679)'))) / (select extract(epoch from '2026-07-22 07:08:43'::timestamp) - extract(epoch from '2026-07-22 07:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563177 -3.05166)', '2026-07-22 07:08:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563166 -3.051679)'), GeomFromEWKT('SRID=4674;POINT (-39.563177 -3.05166)'))) / (select extract(epoch from '2026-07-22 07:08:44'::timestamp) - extract(epoch from '2026-07-22 07:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563166 -3.051679)'), GeomFromEWKT('SRID=4674;POINT (-39.563177 -3.05166)'))) / (select extract(epoch from '2026-07-22 07:08:44'::timestamp) - extract(epoch from '2026-07-22 07:08: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'), 47847, 'SRID=4674;POINT (-39.563184 -3.051641)', '2026-07-22 07:08:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563177 -3.05166)'), GeomFromEWKT('SRID=4674;POINT (-39.563184 -3.051641)'))) / (select extract(epoch from '2026-07-22 07:08:45'::timestamp) - extract(epoch from '2026-07-22 07:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563177 -3.05166)'), GeomFromEWKT('SRID=4674;POINT (-39.563184 -3.051641)'))) / (select extract(epoch from '2026-07-22 07:08:45'::timestamp) - extract(epoch from '2026-07-22 07:08: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'), 47847, 'SRID=4674;POINT (-39.563193 -3.051562)', '2026-07-22 07:08:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563184 -3.051641)'), GeomFromEWKT('SRID=4674;POINT (-39.563193 -3.051562)'))) / (select extract(epoch from '2026-07-22 07:08:49'::timestamp) - extract(epoch from '2026-07-22 07:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563184 -3.051641)'), GeomFromEWKT('SRID=4674;POINT (-39.563193 -3.051562)'))) / (select extract(epoch from '2026-07-22 07:08:49'::timestamp) - extract(epoch from '2026-07-22 07:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563212 -3.051463)', '2026-07-22 07:08:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563193 -3.051562)'), GeomFromEWKT('SRID=4674;POINT (-39.563212 -3.051463)'))) / (select extract(epoch from '2026-07-22 07:08:54'::timestamp) - extract(epoch from '2026-07-22 07:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563193 -3.051562)'), GeomFromEWKT('SRID=4674;POINT (-39.563212 -3.051463)'))) / (select extract(epoch from '2026-07-22 07:08:54'::timestamp) - extract(epoch from '2026-07-22 07:08: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'), 47847, 'SRID=4674;POINT (-39.56322 -3.051442)', '2026-07-22 07:08:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563212 -3.051463)'), GeomFromEWKT('SRID=4674;POINT (-39.56322 -3.051442)'))) / (select extract(epoch from '2026-07-22 07:08:55'::timestamp) - extract(epoch from '2026-07-22 07:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563212 -3.051463)'), GeomFromEWKT('SRID=4674;POINT (-39.56322 -3.051442)'))) / (select extract(epoch from '2026-07-22 07:08:55'::timestamp) - extract(epoch from '2026-07-22 07:08: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'), 47847, 'SRID=4674;POINT (-39.563249 -3.051323)', '2026-07-22 07:09:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56322 -3.051442)'), GeomFromEWKT('SRID=4674;POINT (-39.563249 -3.051323)'))) / (select extract(epoch from '2026-07-22 07:09:01'::timestamp) - extract(epoch from '2026-07-22 07:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56322 -3.051442)'), GeomFromEWKT('SRID=4674;POINT (-39.563249 -3.051323)'))) / (select extract(epoch from '2026-07-22 07:09:01'::timestamp) - extract(epoch from '2026-07-22 07:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563266 -3.051207)', '2026-07-22 07:09:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563249 -3.051323)'), GeomFromEWKT('SRID=4674;POINT (-39.563266 -3.051207)'))) / (select extract(epoch from '2026-07-22 07:09:07'::timestamp) - extract(epoch from '2026-07-22 07:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563249 -3.051323)'), GeomFromEWKT('SRID=4674;POINT (-39.563266 -3.051207)'))) / (select extract(epoch from '2026-07-22 07:09:07'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47847, 'SRID=4674;POINT (-39.563274 -3.051143)', '2026-07-22 07:09:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563266 -3.051207)'), GeomFromEWKT('SRID=4674;POINT (-39.563274 -3.051143)'))) / (select extract(epoch from '2026-07-22 07:09:10'::timestamp) - extract(epoch from '2026-07-22 07:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563266 -3.051207)'), GeomFromEWKT('SRID=4674;POINT (-39.563274 -3.051143)'))) / (select extract(epoch from '2026-07-22 07:09:10'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47847, 'SRID=4674;POINT (-39.563273 -3.051104)', '2026-07-22 07:09:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563274 -3.051143)'), GeomFromEWKT('SRID=4674;POINT (-39.563273 -3.051104)'))) / (select extract(epoch from '2026-07-22 07:09:12'::timestamp) - extract(epoch from '2026-07-22 07:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563274 -3.051143)'), GeomFromEWKT('SRID=4674;POINT (-39.563273 -3.051104)'))) / (select extract(epoch from '2026-07-22 07:09:12'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47847, 'SRID=4674;POINT (-39.563279 -3.051001)', '2026-07-22 07:09:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563273 -3.051104)'), GeomFromEWKT('SRID=4674;POINT (-39.563279 -3.051001)'))) / (select extract(epoch from '2026-07-22 07:09:17'::timestamp) - extract(epoch from '2026-07-22 07:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563273 -3.051104)'), GeomFromEWKT('SRID=4674;POINT (-39.563279 -3.051001)'))) / (select extract(epoch from '2026-07-22 07:09:17'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47847, 'SRID=4674;POINT (-39.563292 -3.050902)', '2026-07-22 07:09:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563279 -3.051001)'), GeomFromEWKT('SRID=4674;POINT (-39.563292 -3.050902)'))) / (select extract(epoch from '2026-07-22 07:09:22'::timestamp) - extract(epoch from '2026-07-22 07:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563279 -3.051001)'), GeomFromEWKT('SRID=4674;POINT (-39.563292 -3.050902)'))) / (select extract(epoch from '2026-07-22 07:09:22'::timestamp) - extract(epoch from '2026-07-22 07:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563297 -3.050884)', '2026-07-22 07:09:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563292 -3.050902)'), GeomFromEWKT('SRID=4674;POINT (-39.563297 -3.050884)'))) / (select extract(epoch from '2026-07-22 07:09:23'::timestamp) - extract(epoch from '2026-07-22 07:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563292 -3.050902)'), GeomFromEWKT('SRID=4674;POINT (-39.563297 -3.050884)'))) / (select extract(epoch from '2026-07-22 07:09:23'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47847, 'SRID=4674;POINT (-39.563305 -3.050782)', '2026-07-22 07:09:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563297 -3.050884)'), GeomFromEWKT('SRID=4674;POINT (-39.563305 -3.050782)'))) / (select extract(epoch from '2026-07-22 07:09:28'::timestamp) - extract(epoch from '2026-07-22 07:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563297 -3.050884)'), GeomFromEWKT('SRID=4674;POINT (-39.563305 -3.050782)'))) / (select extract(epoch from '2026-07-22 07:09:28'::timestamp) - extract(epoch from '2026-07-22 07:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563311 -3.050681)', '2026-07-22 07:09:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563305 -3.050782)'), GeomFromEWKT('SRID=4674;POINT (-39.563311 -3.050681)'))) / (select extract(epoch from '2026-07-22 07:09:34'::timestamp) - extract(epoch from '2026-07-22 07:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563305 -3.050782)'), GeomFromEWKT('SRID=4674;POINT (-39.563311 -3.050681)'))) / (select extract(epoch from '2026-07-22 07:09:34'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47847, 'SRID=4674;POINT (-39.56335 -3.050545)', '2026-07-22 07:09:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563311 -3.050681)'), GeomFromEWKT('SRID=4674;POINT (-39.56335 -3.050545)'))) / (select extract(epoch from '2026-07-22 07:09:40'::timestamp) - extract(epoch from '2026-07-22 07:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563311 -3.050681)'), GeomFromEWKT('SRID=4674;POINT (-39.56335 -3.050545)'))) / (select extract(epoch from '2026-07-22 07:09:40'::timestamp) - extract(epoch from '2026-07-22 07:09:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563385 -3.050409)', '2026-07-22 07:09:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56335 -3.050545)'), GeomFromEWKT('SRID=4674;POINT (-39.563385 -3.050409)'))) / (select extract(epoch from '2026-07-22 07:09:47'::timestamp) - extract(epoch from '2026-07-22 07:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56335 -3.050545)'), GeomFromEWKT('SRID=4674;POINT (-39.563385 -3.050409)'))) / (select extract(epoch from '2026-07-22 07:09:47'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47847, 'SRID=4674;POINT (-39.563394 -3.05035)', '2026-07-22 07:09:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563385 -3.050409)'), GeomFromEWKT('SRID=4674;POINT (-39.563394 -3.05035)'))) / (select extract(epoch from '2026-07-22 07:09:50'::timestamp) - extract(epoch from '2026-07-22 07:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563385 -3.050409)'), GeomFromEWKT('SRID=4674;POINT (-39.563394 -3.05035)'))) / (select extract(epoch from '2026-07-22 07:09:50'::timestamp) - extract(epoch from '2026-07-22 07:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563419 -3.050314)', '2026-07-22 07:09:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563394 -3.05035)'), GeomFromEWKT('SRID=4674;POINT (-39.563419 -3.050314)'))) / (select extract(epoch from '2026-07-22 07:09:52'::timestamp) - extract(epoch from '2026-07-22 07:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563394 -3.05035)'), GeomFromEWKT('SRID=4674;POINT (-39.563419 -3.050314)'))) / (select extract(epoch from '2026-07-22 07:09:52'::timestamp) - extract(epoch from '2026-07-22 07:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563454 -3.050198)', '2026-07-22 07:09:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563419 -3.050314)'), GeomFromEWKT('SRID=4674;POINT (-39.563454 -3.050198)'))) / (select extract(epoch from '2026-07-22 07:09:58'::timestamp) - extract(epoch from '2026-07-22 07:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563419 -3.050314)'), GeomFromEWKT('SRID=4674;POINT (-39.563454 -3.050198)'))) / (select extract(epoch from '2026-07-22 07:09:58'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47847, 'SRID=4674;POINT (-39.563451 -3.050033)', '2026-07-22 07:10:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563454 -3.050198)'), GeomFromEWKT('SRID=4674;POINT (-39.563451 -3.050033)'))) / (select extract(epoch from '2026-07-22 07:10:06'::timestamp) - extract(epoch from '2026-07-22 07:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563454 -3.050198)'), GeomFromEWKT('SRID=4674;POINT (-39.563451 -3.050033)'))) / (select extract(epoch from '2026-07-22 07:10:06'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47847, 'SRID=4674;POINT (-39.563439 -3.049917)', '2026-07-22 07:10:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563451 -3.050033)'), GeomFromEWKT('SRID=4674;POINT (-39.563439 -3.049917)'))) / (select extract(epoch from '2026-07-22 07:10:12'::timestamp) - extract(epoch from '2026-07-22 07:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563451 -3.050033)'), GeomFromEWKT('SRID=4674;POINT (-39.563439 -3.049917)'))) / (select extract(epoch from '2026-07-22 07:10:12'::timestamp) - extract(epoch from '2026-07-22 07:10: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'), 47847, 'SRID=4674;POINT (-39.563442 -3.0498)', '2026-07-22 07:10:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563439 -3.049917)'), GeomFromEWKT('SRID=4674;POINT (-39.563442 -3.0498)'))) / (select extract(epoch from '2026-07-22 07:10:18'::timestamp) - extract(epoch from '2026-07-22 07:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563439 -3.049917)'), GeomFromEWKT('SRID=4674;POINT (-39.563442 -3.0498)'))) / (select extract(epoch from '2026-07-22 07:10:18'::timestamp) - extract(epoch from '2026-07-22 07:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563454 -3.0497)', '2026-07-22 07:10:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563442 -3.0498)'), GeomFromEWKT('SRID=4674;POINT (-39.563454 -3.0497)'))) / (select extract(epoch from '2026-07-22 07:10:23'::timestamp) - extract(epoch from '2026-07-22 07:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563442 -3.0498)'), GeomFromEWKT('SRID=4674;POINT (-39.563454 -3.0497)'))) / (select extract(epoch from '2026-07-22 07:10:23'::timestamp) - extract(epoch from '2026-07-22 07:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56343 -3.049586)', '2026-07-22 07:10:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563454 -3.0497)'), GeomFromEWKT('SRID=4674;POINT (-39.56343 -3.049586)'))) / (select extract(epoch from '2026-07-22 07:10:29'::timestamp) - extract(epoch from '2026-07-22 07:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563454 -3.0497)'), GeomFromEWKT('SRID=4674;POINT (-39.56343 -3.049586)'))) / (select extract(epoch from '2026-07-22 07:10:29'::timestamp) - extract(epoch from '2026-07-22 07:10:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563422 -3.049494)', '2026-07-22 07:10:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56343 -3.049586)'), GeomFromEWKT('SRID=4674;POINT (-39.563422 -3.049494)'))) / (select extract(epoch from '2026-07-22 07:10:34'::timestamp) - extract(epoch from '2026-07-22 07:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56343 -3.049586)'), GeomFromEWKT('SRID=4674;POINT (-39.563422 -3.049494)'))) / (select extract(epoch from '2026-07-22 07:10:34'::timestamp) - extract(epoch from '2026-07-22 07:10: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'), 47847, 'SRID=4674;POINT (-39.563435 -3.049378)', '2026-07-22 07:10:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563422 -3.049494)'), GeomFromEWKT('SRID=4674;POINT (-39.563435 -3.049378)'))) / (select extract(epoch from '2026-07-22 07:10:40'::timestamp) - extract(epoch from '2026-07-22 07:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563422 -3.049494)'), GeomFromEWKT('SRID=4674;POINT (-39.563435 -3.049378)'))) / (select extract(epoch from '2026-07-22 07:10:40'::timestamp) - extract(epoch from '2026-07-22 07:10: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'), 47847, 'SRID=4674;POINT (-39.563436 -3.049239)', '2026-07-22 07:10:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563435 -3.049378)'), GeomFromEWKT('SRID=4674;POINT (-39.563436 -3.049239)'))) / (select extract(epoch from '2026-07-22 07:10:47'::timestamp) - extract(epoch from '2026-07-22 07:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563435 -3.049378)'), GeomFromEWKT('SRID=4674;POINT (-39.563436 -3.049239)'))) / (select extract(epoch from '2026-07-22 07:10:47'::timestamp) - extract(epoch from '2026-07-22 07:10: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'), 47847, 'SRID=4674;POINT (-39.563458 -3.049121)', '2026-07-22 07:10:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563436 -3.049239)'), GeomFromEWKT('SRID=4674;POINT (-39.563458 -3.049121)'))) / (select extract(epoch from '2026-07-22 07:10:53'::timestamp) - extract(epoch from '2026-07-22 07:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563436 -3.049239)'), GeomFromEWKT('SRID=4674;POINT (-39.563458 -3.049121)'))) / (select extract(epoch from '2026-07-22 07:10:53'::timestamp) - extract(epoch from '2026-07-22 07:10: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'), 47847, 'SRID=4674;POINT (-39.563498 -3.049005)', '2026-07-22 07:10:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563458 -3.049121)'), GeomFromEWKT('SRID=4674;POINT (-39.563498 -3.049005)'))) / (select extract(epoch from '2026-07-22 07:10:59'::timestamp) - extract(epoch from '2026-07-22 07:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563458 -3.049121)'), GeomFromEWKT('SRID=4674;POINT (-39.563498 -3.049005)'))) / (select extract(epoch from '2026-07-22 07:10:59'::timestamp) - extract(epoch from '2026-07-22 07:10: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'), 47847, 'SRID=4674;POINT (-39.563523 -3.048902)', '2026-07-22 07:11:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563498 -3.049005)'), GeomFromEWKT('SRID=4674;POINT (-39.563523 -3.048902)'))) / (select extract(epoch from '2026-07-22 07:11:04'::timestamp) - extract(epoch from '2026-07-22 07:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563498 -3.049005)'), GeomFromEWKT('SRID=4674;POINT (-39.563523 -3.048902)'))) / (select extract(epoch from '2026-07-22 07:11:04'::timestamp) - extract(epoch from '2026-07-22 07:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563541 -3.048776)', '2026-07-22 07:11:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563523 -3.048902)'), GeomFromEWKT('SRID=4674;POINT (-39.563541 -3.048776)'))) / (select extract(epoch from '2026-07-22 07:11:10'::timestamp) - extract(epoch from '2026-07-22 07:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563523 -3.048902)'), GeomFromEWKT('SRID=4674;POINT (-39.563541 -3.048776)'))) / (select extract(epoch from '2026-07-22 07:11:10'::timestamp) - extract(epoch from '2026-07-22 07:11:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563556 -3.048659)', '2026-07-22 07:11:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563541 -3.048776)'), GeomFromEWKT('SRID=4674;POINT (-39.563556 -3.048659)'))) / (select extract(epoch from '2026-07-22 07:11:16'::timestamp) - extract(epoch from '2026-07-22 07:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563541 -3.048776)'), GeomFromEWKT('SRID=4674;POINT (-39.563556 -3.048659)'))) / (select extract(epoch from '2026-07-22 07:11:16'::timestamp) - extract(epoch from '2026-07-22 07:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563566 -3.048552)', '2026-07-22 07:11:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563556 -3.048659)'), GeomFromEWKT('SRID=4674;POINT (-39.563566 -3.048552)'))) / (select extract(epoch from '2026-07-22 07:11:21'::timestamp) - extract(epoch from '2026-07-22 07:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563556 -3.048659)'), GeomFromEWKT('SRID=4674;POINT (-39.563566 -3.048552)'))) / (select extract(epoch from '2026-07-22 07:11:21'::timestamp) - extract(epoch from '2026-07-22 07:11: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'), 47847, 'SRID=4674;POINT (-39.56356 -3.048434)', '2026-07-22 07:11:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563566 -3.048552)'), GeomFromEWKT('SRID=4674;POINT (-39.56356 -3.048434)'))) / (select extract(epoch from '2026-07-22 07:11:27'::timestamp) - extract(epoch from '2026-07-22 07:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563566 -3.048552)'), GeomFromEWKT('SRID=4674;POINT (-39.56356 -3.048434)'))) / (select extract(epoch from '2026-07-22 07:11:27'::timestamp) - extract(epoch from '2026-07-22 07:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563561 -3.048306)', '2026-07-22 07:11:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56356 -3.048434)'), GeomFromEWKT('SRID=4674;POINT (-39.563561 -3.048306)'))) / (select extract(epoch from '2026-07-22 07:11:33'::timestamp) - extract(epoch from '2026-07-22 07:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56356 -3.048434)'), GeomFromEWKT('SRID=4674;POINT (-39.563561 -3.048306)'))) / (select extract(epoch from '2026-07-22 07:11:33'::timestamp) - extract(epoch from '2026-07-22 07:11: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'), 47847, 'SRID=4674;POINT (-39.563585 -3.048165)', '2026-07-22 07:11:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563561 -3.048306)'), GeomFromEWKT('SRID=4674;POINT (-39.563585 -3.048165)'))) / (select extract(epoch from '2026-07-22 07:11:40'::timestamp) - extract(epoch from '2026-07-22 07:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563561 -3.048306)'), GeomFromEWKT('SRID=4674;POINT (-39.563585 -3.048165)'))) / (select extract(epoch from '2026-07-22 07:11:40'::timestamp) - extract(epoch from '2026-07-22 07:11: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'), 47847, 'SRID=4674;POINT (-39.563622 -3.048064)', '2026-07-22 07:11:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563585 -3.048165)'), GeomFromEWKT('SRID=4674;POINT (-39.563622 -3.048064)'))) / (select extract(epoch from '2026-07-22 07:11:45'::timestamp) - extract(epoch from '2026-07-22 07:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563585 -3.048165)'), GeomFromEWKT('SRID=4674;POINT (-39.563622 -3.048064)'))) / (select extract(epoch from '2026-07-22 07:11:45'::timestamp) - extract(epoch from '2026-07-22 07:11: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'), 47847, 'SRID=4674;POINT (-39.563644 -3.047946)', '2026-07-22 07:11:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563622 -3.048064)'), GeomFromEWKT('SRID=4674;POINT (-39.563644 -3.047946)'))) / (select extract(epoch from '2026-07-22 07:11:51'::timestamp) - extract(epoch from '2026-07-22 07:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563622 -3.048064)'), GeomFromEWKT('SRID=4674;POINT (-39.563644 -3.047946)'))) / (select extract(epoch from '2026-07-22 07:11:51'::timestamp) - extract(epoch from '2026-07-22 07:11: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'), 47847, 'SRID=4674;POINT (-39.563671 -3.047845)', '2026-07-22 07:11:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563644 -3.047946)'), GeomFromEWKT('SRID=4674;POINT (-39.563671 -3.047845)'))) / (select extract(epoch from '2026-07-22 07:11:56'::timestamp) - extract(epoch from '2026-07-22 07:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563644 -3.047946)'), GeomFromEWKT('SRID=4674;POINT (-39.563671 -3.047845)'))) / (select extract(epoch from '2026-07-22 07:11:56'::timestamp) - extract(epoch from '2026-07-22 07:11: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'), 47847, 'SRID=4674;POINT (-39.5637 -3.047744)', '2026-07-22 07:12:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563671 -3.047845)'), GeomFromEWKT('SRID=4674;POINT (-39.5637 -3.047744)'))) / (select extract(epoch from '2026-07-22 07:12:01'::timestamp) - extract(epoch from '2026-07-22 07:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563671 -3.047845)'), GeomFromEWKT('SRID=4674;POINT (-39.5637 -3.047744)'))) / (select extract(epoch from '2026-07-22 07:12:01'::timestamp) - extract(epoch from '2026-07-22 07:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563717 -3.047649)', '2026-07-22 07:12:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5637 -3.047744)'), GeomFromEWKT('SRID=4674;POINT (-39.563717 -3.047649)'))) / (select extract(epoch from '2026-07-22 07:12:06'::timestamp) - extract(epoch from '2026-07-22 07:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5637 -3.047744)'), GeomFromEWKT('SRID=4674;POINT (-39.563717 -3.047649)'))) / (select extract(epoch from '2026-07-22 07:12:06'::timestamp) - extract(epoch from '2026-07-22 07:12: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'), 47847, 'SRID=4674;POINT (-39.563734 -3.047555)', '2026-07-22 07:12:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563717 -3.047649)'), GeomFromEWKT('SRID=4674;POINT (-39.563734 -3.047555)'))) / (select extract(epoch from '2026-07-22 07:12:11'::timestamp) - extract(epoch from '2026-07-22 07:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563717 -3.047649)'), GeomFromEWKT('SRID=4674;POINT (-39.563734 -3.047555)'))) / (select extract(epoch from '2026-07-22 07:12:11'::timestamp) - extract(epoch from '2026-07-22 07:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563751 -3.047416)', '2026-07-22 07:12:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563734 -3.047555)'), GeomFromEWKT('SRID=4674;POINT (-39.563751 -3.047416)'))) / (select extract(epoch from '2026-07-22 07:12:18'::timestamp) - extract(epoch from '2026-07-22 07:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563734 -3.047555)'), GeomFromEWKT('SRID=4674;POINT (-39.563751 -3.047416)'))) / (select extract(epoch from '2026-07-22 07:12:18'::timestamp) - extract(epoch from '2026-07-22 07:12: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'), 47847, 'SRID=4674;POINT (-39.563764 -3.047296)', '2026-07-22 07:12:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563751 -3.047416)'), GeomFromEWKT('SRID=4674;POINT (-39.563764 -3.047296)'))) / (select extract(epoch from '2026-07-22 07:12:24'::timestamp) - extract(epoch from '2026-07-22 07:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563751 -3.047416)'), GeomFromEWKT('SRID=4674;POINT (-39.563764 -3.047296)'))) / (select extract(epoch from '2026-07-22 07:12:24'::timestamp) - extract(epoch from '2026-07-22 07:12: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'), 47847, 'SRID=4674;POINT (-39.563767 -3.047232)', '2026-07-22 07:12:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563764 -3.047296)'), GeomFromEWKT('SRID=4674;POINT (-39.563767 -3.047232)'))) / (select extract(epoch from '2026-07-22 07:12:27'::timestamp) - extract(epoch from '2026-07-22 07:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563764 -3.047296)'), GeomFromEWKT('SRID=4674;POINT (-39.563767 -3.047232)'))) / (select extract(epoch from '2026-07-22 07:12:27'::timestamp) - extract(epoch from '2026-07-22 07:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563777 -3.047196)', '2026-07-22 07:12:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563767 -3.047232)'), GeomFromEWKT('SRID=4674;POINT (-39.563777 -3.047196)'))) / (select extract(epoch from '2026-07-22 07:12:29'::timestamp) - extract(epoch from '2026-07-22 07:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563767 -3.047232)'), GeomFromEWKT('SRID=4674;POINT (-39.563777 -3.047196)'))) / (select extract(epoch from '2026-07-22 07:12:29'::timestamp) - extract(epoch from '2026-07-22 07:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563817 -3.047077)', '2026-07-22 07:12:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563777 -3.047196)'), GeomFromEWKT('SRID=4674;POINT (-39.563817 -3.047077)'))) / (select extract(epoch from '2026-07-22 07:12:35'::timestamp) - extract(epoch from '2026-07-22 07:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563777 -3.047196)'), GeomFromEWKT('SRID=4674;POINT (-39.563817 -3.047077)'))) / (select extract(epoch from '2026-07-22 07:12:35'::timestamp) - extract(epoch from '2026-07-22 07:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563879 -3.046948)', '2026-07-22 07:12:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563817 -3.047077)'), GeomFromEWKT('SRID=4674;POINT (-39.563879 -3.046948)'))) / (select extract(epoch from '2026-07-22 07:12:42'::timestamp) - extract(epoch from '2026-07-22 07:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563817 -3.047077)'), GeomFromEWKT('SRID=4674;POINT (-39.563879 -3.046948)'))) / (select extract(epoch from '2026-07-22 07:12:42'::timestamp) - extract(epoch from '2026-07-22 07:12: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'), 47847, 'SRID=4674;POINT (-39.563907 -3.046843)', '2026-07-22 07:12:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563879 -3.046948)'), GeomFromEWKT('SRID=4674;POINT (-39.563907 -3.046843)'))) / (select extract(epoch from '2026-07-22 07:12:47'::timestamp) - extract(epoch from '2026-07-22 07:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563879 -3.046948)'), GeomFromEWKT('SRID=4674;POINT (-39.563907 -3.046843)'))) / (select extract(epoch from '2026-07-22 07:12:47'::timestamp) - extract(epoch from '2026-07-22 07:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56392 -3.046738)', '2026-07-22 07:12:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563907 -3.046843)'), GeomFromEWKT('SRID=4674;POINT (-39.56392 -3.046738)'))) / (select extract(epoch from '2026-07-22 07:12:52'::timestamp) - extract(epoch from '2026-07-22 07:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563907 -3.046843)'), GeomFromEWKT('SRID=4674;POINT (-39.56392 -3.046738)'))) / (select extract(epoch from '2026-07-22 07:12:52'::timestamp) - extract(epoch from '2026-07-22 07:12: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'), 47847, 'SRID=4674;POINT (-39.563946 -3.04662)', '2026-07-22 07:12:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56392 -3.046738)'), GeomFromEWKT('SRID=4674;POINT (-39.563946 -3.04662)'))) / (select extract(epoch from '2026-07-22 07:12:58'::timestamp) - extract(epoch from '2026-07-22 07:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56392 -3.046738)'), GeomFromEWKT('SRID=4674;POINT (-39.563946 -3.04662)'))) / (select extract(epoch from '2026-07-22 07:12:58'::timestamp) - extract(epoch from '2026-07-22 07:12: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'), 47847, 'SRID=4674;POINT (-39.563957 -3.046499)', '2026-07-22 07:13:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563946 -3.04662)'), GeomFromEWKT('SRID=4674;POINT (-39.563957 -3.046499)'))) / (select extract(epoch from '2026-07-22 07:13:04'::timestamp) - extract(epoch from '2026-07-22 07:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563946 -3.04662)'), GeomFromEWKT('SRID=4674;POINT (-39.563957 -3.046499)'))) / (select extract(epoch from '2026-07-22 07:13:04'::timestamp) - extract(epoch from '2026-07-22 07:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.563991 -3.046389)', '2026-07-22 07:13:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563957 -3.046499)'), GeomFromEWKT('SRID=4674;POINT (-39.563991 -3.046389)'))) / (select extract(epoch from '2026-07-22 07:13:10'::timestamp) - extract(epoch from '2026-07-22 07:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563957 -3.046499)'), GeomFromEWKT('SRID=4674;POINT (-39.563991 -3.046389)'))) / (select extract(epoch from '2026-07-22 07:13:10'::timestamp) - extract(epoch from '2026-07-22 07:13: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'), 47847, 'SRID=4674;POINT (-39.564058 -3.046291)', '2026-07-22 07:13:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563991 -3.046389)'), GeomFromEWKT('SRID=4674;POINT (-39.564058 -3.046291)'))) / (select extract(epoch from '2026-07-22 07:13:16'::timestamp) - extract(epoch from '2026-07-22 07:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.563991 -3.046389)'), GeomFromEWKT('SRID=4674;POINT (-39.564058 -3.046291)'))) / (select extract(epoch from '2026-07-22 07:13:16'::timestamp) - extract(epoch from '2026-07-22 07:13: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'), 47847, 'SRID=4674;POINT (-39.564119 -3.046207)', '2026-07-22 07:13:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564058 -3.046291)'), GeomFromEWKT('SRID=4674;POINT (-39.564119 -3.046207)'))) / (select extract(epoch from '2026-07-22 07:13:21'::timestamp) - extract(epoch from '2026-07-22 07:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564058 -3.046291)'), GeomFromEWKT('SRID=4674;POINT (-39.564119 -3.046207)'))) / (select extract(epoch from '2026-07-22 07:13:21'::timestamp) - extract(epoch from '2026-07-22 07:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56417 -3.04609)', '2026-07-22 07:13:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564119 -3.046207)'), GeomFromEWKT('SRID=4674;POINT (-39.56417 -3.04609)'))) / (select extract(epoch from '2026-07-22 07:13:27'::timestamp) - extract(epoch from '2026-07-22 07:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564119 -3.046207)'), GeomFromEWKT('SRID=4674;POINT (-39.56417 -3.04609)'))) / (select extract(epoch from '2026-07-22 07:13:27'::timestamp) - extract(epoch from '2026-07-22 07:13:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.564227 -3.046002)', '2026-07-22 07:13:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56417 -3.04609)'), GeomFromEWKT('SRID=4674;POINT (-39.564227 -3.046002)'))) / (select extract(epoch from '2026-07-22 07:13:32'::timestamp) - extract(epoch from '2026-07-22 07:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56417 -3.04609)'), GeomFromEWKT('SRID=4674;POINT (-39.564227 -3.046002)'))) / (select extract(epoch from '2026-07-22 07:13:32'::timestamp) - extract(epoch from '2026-07-22 07:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.564304 -3.045932)', '2026-07-22 07:13:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564227 -3.046002)'), GeomFromEWKT('SRID=4674;POINT (-39.564304 -3.045932)'))) / (select extract(epoch from '2026-07-22 07:13:37'::timestamp) - extract(epoch from '2026-07-22 07:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564227 -3.046002)'), GeomFromEWKT('SRID=4674;POINT (-39.564304 -3.045932)'))) / (select extract(epoch from '2026-07-22 07:13:37'::timestamp) - extract(epoch from '2026-07-22 07:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.564398 -3.045836)', '2026-07-22 07:13:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564304 -3.045932)'), GeomFromEWKT('SRID=4674;POINT (-39.564398 -3.045836)'))) / (select extract(epoch from '2026-07-22 07:13:43'::timestamp) - extract(epoch from '2026-07-22 07:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564304 -3.045932)'), GeomFromEWKT('SRID=4674;POINT (-39.564398 -3.045836)'))) / (select extract(epoch from '2026-07-22 07:13:43'::timestamp) - extract(epoch from '2026-07-22 07:13: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'), 47847, 'SRID=4674;POINT (-39.564482 -3.045736)', '2026-07-22 07:13:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564398 -3.045836)'), GeomFromEWKT('SRID=4674;POINT (-39.564482 -3.045736)'))) / (select extract(epoch from '2026-07-22 07:13:49'::timestamp) - extract(epoch from '2026-07-22 07:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564398 -3.045836)'), GeomFromEWKT('SRID=4674;POINT (-39.564482 -3.045736)'))) / (select extract(epoch from '2026-07-22 07:13:49'::timestamp) - extract(epoch from '2026-07-22 07:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.564525 -3.045639)', '2026-07-22 07:13:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564482 -3.045736)'), GeomFromEWKT('SRID=4674;POINT (-39.564525 -3.045639)'))) / (select extract(epoch from '2026-07-22 07:13:54'::timestamp) - extract(epoch from '2026-07-22 07:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564482 -3.045736)'), GeomFromEWKT('SRID=4674;POINT (-39.564525 -3.045639)'))) / (select extract(epoch from '2026-07-22 07:13:54'::timestamp) - extract(epoch from '2026-07-22 07:13: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'), 47847, 'SRID=4674;POINT (-39.564559 -3.045562)', '2026-07-22 07:13:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564525 -3.045639)'), GeomFromEWKT('SRID=4674;POINT (-39.564559 -3.045562)'))) / (select extract(epoch from '2026-07-22 07:13:58'::timestamp) - extract(epoch from '2026-07-22 07:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564525 -3.045639)'), GeomFromEWKT('SRID=4674;POINT (-39.564559 -3.045562)'))) / (select extract(epoch from '2026-07-22 07:13:58'::timestamp) - extract(epoch from '2026-07-22 07:13: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'), 47847, 'SRID=4674;POINT (-39.564561 -3.045542)', '2026-07-22 07:13:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564559 -3.045562)'), GeomFromEWKT('SRID=4674;POINT (-39.564561 -3.045542)'))) / (select extract(epoch from '2026-07-22 07:13:59'::timestamp) - extract(epoch from '2026-07-22 07:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564559 -3.045562)'), GeomFromEWKT('SRID=4674;POINT (-39.564561 -3.045542)'))) / (select extract(epoch from '2026-07-22 07:13:59'::timestamp) - extract(epoch from '2026-07-22 07:13: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'), 47847, 'SRID=4674;POINT (-39.564589 -3.045424)', '2026-07-22 07:14:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564561 -3.045542)'), GeomFromEWKT('SRID=4674;POINT (-39.564589 -3.045424)'))) / (select extract(epoch from '2026-07-22 07:14:05'::timestamp) - extract(epoch from '2026-07-22 07:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564561 -3.045542)'), GeomFromEWKT('SRID=4674;POINT (-39.564589 -3.045424)'))) / (select extract(epoch from '2026-07-22 07:14:05'::timestamp) - extract(epoch from '2026-07-22 07:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.564627 -3.045306)', '2026-07-22 07:14:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564589 -3.045424)'), GeomFromEWKT('SRID=4674;POINT (-39.564627 -3.045306)'))) / (select extract(epoch from '2026-07-22 07:14:11'::timestamp) - extract(epoch from '2026-07-22 07:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564589 -3.045424)'), GeomFromEWKT('SRID=4674;POINT (-39.564627 -3.045306)'))) / (select extract(epoch from '2026-07-22 07:14:11'::timestamp) - extract(epoch from '2026-07-22 07:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.564688 -3.045198)', '2026-07-22 07:14:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564627 -3.045306)'), GeomFromEWKT('SRID=4674;POINT (-39.564688 -3.045198)'))) / (select extract(epoch from '2026-07-22 07:14:17'::timestamp) - extract(epoch from '2026-07-22 07:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564627 -3.045306)'), GeomFromEWKT('SRID=4674;POINT (-39.564688 -3.045198)'))) / (select extract(epoch from '2026-07-22 07:14:17'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47847, 'SRID=4674;POINT (-39.564731 -3.045107)', '2026-07-22 07:14:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564688 -3.045198)'), GeomFromEWKT('SRID=4674;POINT (-39.564731 -3.045107)'))) / (select extract(epoch from '2026-07-22 07:14:22'::timestamp) - extract(epoch from '2026-07-22 07:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564688 -3.045198)'), GeomFromEWKT('SRID=4674;POINT (-39.564731 -3.045107)'))) / (select extract(epoch from '2026-07-22 07:14:22'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47847, 'SRID=4674;POINT (-39.564798 -3.045032)', '2026-07-22 07:14:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564731 -3.045107)'), GeomFromEWKT('SRID=4674;POINT (-39.564798 -3.045032)'))) / (select extract(epoch from '2026-07-22 07:14:27'::timestamp) - extract(epoch from '2026-07-22 07:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564731 -3.045107)'), GeomFromEWKT('SRID=4674;POINT (-39.564798 -3.045032)'))) / (select extract(epoch from '2026-07-22 07:14:27'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47847, 'SRID=4674;POINT (-39.56491 -3.044962)', '2026-07-22 07:14:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564798 -3.045032)'), GeomFromEWKT('SRID=4674;POINT (-39.56491 -3.044962)'))) / (select extract(epoch from '2026-07-22 07:14:33'::timestamp) - extract(epoch from '2026-07-22 07:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.564798 -3.045032)'), GeomFromEWKT('SRID=4674;POINT (-39.56491 -3.044962)'))) / (select extract(epoch from '2026-07-22 07:14:33'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47847, 'SRID=4674;POINT (-39.565027 -3.044925)', '2026-07-22 07:14:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56491 -3.044962)'), GeomFromEWKT('SRID=4674;POINT (-39.565027 -3.044925)'))) / (select extract(epoch from '2026-07-22 07:14:39'::timestamp) - extract(epoch from '2026-07-22 07:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56491 -3.044962)'), GeomFromEWKT('SRID=4674;POINT (-39.565027 -3.044925)'))) / (select extract(epoch from '2026-07-22 07:14:39'::timestamp) - extract(epoch from '2026-07-22 07:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565139 -3.044899)', '2026-07-22 07:14:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565027 -3.044925)'), GeomFromEWKT('SRID=4674;POINT (-39.565139 -3.044899)'))) / (select extract(epoch from '2026-07-22 07:14:45'::timestamp) - extract(epoch from '2026-07-22 07:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565027 -3.044925)'), GeomFromEWKT('SRID=4674;POINT (-39.565139 -3.044899)'))) / (select extract(epoch from '2026-07-22 07:14:45'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47847, 'SRID=4674;POINT (-39.565179 -3.044883)', '2026-07-22 07:14:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565139 -3.044899)'), GeomFromEWKT('SRID=4674;POINT (-39.565179 -3.044883)'))) / (select extract(epoch from '2026-07-22 07:14:48'::timestamp) - extract(epoch from '2026-07-22 07:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565139 -3.044899)'), GeomFromEWKT('SRID=4674;POINT (-39.565179 -3.044883)'))) / (select extract(epoch from '2026-07-22 07:14:48'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47847, 'SRID=4674;POINT (-39.565215 -3.044882)', '2026-07-22 07:14:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565179 -3.044883)'), GeomFromEWKT('SRID=4674;POINT (-39.565215 -3.044882)'))) / (select extract(epoch from '2026-07-22 07:14:51'::timestamp) - extract(epoch from '2026-07-22 07:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565179 -3.044883)'), GeomFromEWKT('SRID=4674;POINT (-39.565215 -3.044882)'))) / (select extract(epoch from '2026-07-22 07:14:51'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47847, 'SRID=4674;POINT (-39.565254 -3.044881)', '2026-07-22 07:14:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565215 -3.044882)'), GeomFromEWKT('SRID=4674;POINT (-39.565254 -3.044881)'))) / (select extract(epoch from '2026-07-22 07:14:55'::timestamp) - extract(epoch from '2026-07-22 07:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565215 -3.044882)'), GeomFromEWKT('SRID=4674;POINT (-39.565254 -3.044881)'))) / (select extract(epoch from '2026-07-22 07:14:55'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47847, 'SRID=4674;POINT (-39.56527 -3.044879)', '2026-07-22 07:14:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565254 -3.044881)'), GeomFromEWKT('SRID=4674;POINT (-39.56527 -3.044879)'))) / (select extract(epoch from '2026-07-22 07:14:57'::timestamp) - extract(epoch from '2026-07-22 07:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565254 -3.044881)'), GeomFromEWKT('SRID=4674;POINT (-39.56527 -3.044879)'))) / (select extract(epoch from '2026-07-22 07:14:57'::timestamp) - extract(epoch from '2026-07-22 07:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565319 -3.044868)', '2026-07-22 07:15:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56527 -3.044879)'), GeomFromEWKT('SRID=4674;POINT (-39.565319 -3.044868)'))) / (select extract(epoch from '2026-07-22 07:15:03'::timestamp) - extract(epoch from '2026-07-22 07:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56527 -3.044879)'), GeomFromEWKT('SRID=4674;POINT (-39.565319 -3.044868)'))) / (select extract(epoch from '2026-07-22 07:15:03'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47847, 'SRID=4674;POINT (-39.565352 -3.044848)', '2026-07-22 07:15:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565319 -3.044868)'), GeomFromEWKT('SRID=4674;POINT (-39.565352 -3.044848)'))) / (select extract(epoch from '2026-07-22 07:15:09'::timestamp) - extract(epoch from '2026-07-22 07:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565319 -3.044868)'), GeomFromEWKT('SRID=4674;POINT (-39.565352 -3.044848)'))) / (select extract(epoch from '2026-07-22 07:15:09'::timestamp) - extract(epoch from '2026-07-22 07:15: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'), 47847, 'SRID=4674;POINT (-39.565389 -3.044826)', '2026-07-22 07:15:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565352 -3.044848)'), GeomFromEWKT('SRID=4674;POINT (-39.565389 -3.044826)'))) / (select extract(epoch from '2026-07-22 07:15:16'::timestamp) - extract(epoch from '2026-07-22 07:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565352 -3.044848)'), GeomFromEWKT('SRID=4674;POINT (-39.565389 -3.044826)'))) / (select extract(epoch from '2026-07-22 07:15:16'::timestamp) - extract(epoch from '2026-07-22 07:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565418 -3.044806)', '2026-07-22 07:15:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565389 -3.044826)'), GeomFromEWKT('SRID=4674;POINT (-39.565418 -3.044806)'))) / (select extract(epoch from '2026-07-22 07:15:23'::timestamp) - extract(epoch from '2026-07-22 07:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565389 -3.044826)'), GeomFromEWKT('SRID=4674;POINT (-39.565418 -3.044806)'))) / (select extract(epoch from '2026-07-22 07:15:23'::timestamp) - extract(epoch from '2026-07-22 07:15: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'), 47847, 'SRID=4674;POINT (-39.565457 -3.044772)', '2026-07-22 07:15:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565418 -3.044806)'), GeomFromEWKT('SRID=4674;POINT (-39.565457 -3.044772)'))) / (select extract(epoch from '2026-07-22 07:15:32'::timestamp) - extract(epoch from '2026-07-22 07:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565418 -3.044806)'), GeomFromEWKT('SRID=4674;POINT (-39.565457 -3.044772)'))) / (select extract(epoch from '2026-07-22 07:15:32'::timestamp) - extract(epoch from '2026-07-22 07:15: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'), 47847, 'SRID=4674;POINT (-39.565494 -3.044743)', '2026-07-22 07:15:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565457 -3.044772)'), GeomFromEWKT('SRID=4674;POINT (-39.565494 -3.044743)'))) / (select extract(epoch from '2026-07-22 07:15:42'::timestamp) - extract(epoch from '2026-07-22 07:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565457 -3.044772)'), GeomFromEWKT('SRID=4674;POINT (-39.565494 -3.044743)'))) / (select extract(epoch from '2026-07-22 07:15:42'::timestamp) - extract(epoch from '2026-07-22 07:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56552 -3.044722)', '2026-07-22 07:15:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565494 -3.044743)'), GeomFromEWKT('SRID=4674;POINT (-39.56552 -3.044722)'))) / (select extract(epoch from '2026-07-22 07:15:51'::timestamp) - extract(epoch from '2026-07-22 07:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565494 -3.044743)'), GeomFromEWKT('SRID=4674;POINT (-39.56552 -3.044722)'))) / (select extract(epoch from '2026-07-22 07:15:51'::timestamp) - extract(epoch from '2026-07-22 07:15:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565552 -3.044715)', '2026-07-22 07:16:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56552 -3.044722)'), GeomFromEWKT('SRID=4674;POINT (-39.565552 -3.044715)'))) / (select extract(epoch from '2026-07-22 07:16:02'::timestamp) - extract(epoch from '2026-07-22 07:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56552 -3.044722)'), GeomFromEWKT('SRID=4674;POINT (-39.565552 -3.044715)'))) / (select extract(epoch from '2026-07-22 07:16:02'::timestamp) - extract(epoch from '2026-07-22 07:15: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'), 47847, 'SRID=4674;POINT (-39.565575 -3.044701)', '2026-07-22 07:16:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565552 -3.044715)'), GeomFromEWKT('SRID=4674;POINT (-39.565575 -3.044701)'))) / (select extract(epoch from '2026-07-22 07:16:11'::timestamp) - extract(epoch from '2026-07-22 07:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565552 -3.044715)'), GeomFromEWKT('SRID=4674;POINT (-39.565575 -3.044701)'))) / (select extract(epoch from '2026-07-22 07:16:11'::timestamp) - extract(epoch from '2026-07-22 07:16: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'), 47847, 'SRID=4674;POINT (-39.565598 -3.044689)', '2026-07-22 07:16:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565575 -3.044701)'), GeomFromEWKT('SRID=4674;POINT (-39.565598 -3.044689)'))) / (select extract(epoch from '2026-07-22 07:16:18'::timestamp) - extract(epoch from '2026-07-22 07:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565575 -3.044701)'), GeomFromEWKT('SRID=4674;POINT (-39.565598 -3.044689)'))) / (select extract(epoch from '2026-07-22 07:16:18'::timestamp) - extract(epoch from '2026-07-22 07:16: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'), 47847, 'SRID=4674;POINT (-39.565627 -3.044661)', '2026-07-22 07:16:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565598 -3.044689)'), GeomFromEWKT('SRID=4674;POINT (-39.565627 -3.044661)'))) / (select extract(epoch from '2026-07-22 07:16:29'::timestamp) - extract(epoch from '2026-07-22 07:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565598 -3.044689)'), GeomFromEWKT('SRID=4674;POINT (-39.565627 -3.044661)'))) / (select extract(epoch from '2026-07-22 07:16:29'::timestamp) - extract(epoch from '2026-07-22 07:16: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'), 47847, 'SRID=4674;POINT (-39.565663 -3.044627)', '2026-07-22 07:16:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565627 -3.044661)'), GeomFromEWKT('SRID=4674;POINT (-39.565663 -3.044627)'))) / (select extract(epoch from '2026-07-22 07:16:42'::timestamp) - extract(epoch from '2026-07-22 07:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565627 -3.044661)'), GeomFromEWKT('SRID=4674;POINT (-39.565663 -3.044627)'))) / (select extract(epoch from '2026-07-22 07:16:42'::timestamp) - extract(epoch from '2026-07-22 07:16: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'), 47847, 'SRID=4674;POINT (-39.565687 -3.044624)', '2026-07-22 07:16:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565663 -3.044627)'), GeomFromEWKT('SRID=4674;POINT (-39.565687 -3.044624)'))) / (select extract(epoch from '2026-07-22 07:16:48'::timestamp) - extract(epoch from '2026-07-22 07:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565663 -3.044627)'), GeomFromEWKT('SRID=4674;POINT (-39.565687 -3.044624)'))) / (select extract(epoch from '2026-07-22 07:16:48'::timestamp) - extract(epoch from '2026-07-22 07:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56571 -3.044618)', '2026-07-22 07:16:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565687 -3.044624)'), GeomFromEWKT('SRID=4674;POINT (-39.56571 -3.044618)'))) / (select extract(epoch from '2026-07-22 07:16:55'::timestamp) - extract(epoch from '2026-07-22 07:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565687 -3.044624)'), GeomFromEWKT('SRID=4674;POINT (-39.56571 -3.044618)'))) / (select extract(epoch from '2026-07-22 07:16:55'::timestamp) - extract(epoch from '2026-07-22 07:16: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'), 47847, 'SRID=4674;POINT (-39.56573 -3.044603)', '2026-07-22 07:17:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56571 -3.044618)'), GeomFromEWKT('SRID=4674;POINT (-39.56573 -3.044603)'))) / (select extract(epoch from '2026-07-22 07:17:03'::timestamp) - extract(epoch from '2026-07-22 07:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56571 -3.044618)'), GeomFromEWKT('SRID=4674;POINT (-39.56573 -3.044603)'))) / (select extract(epoch from '2026-07-22 07:17:03'::timestamp) - extract(epoch from '2026-07-22 07:16: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'), 47847, 'SRID=4674;POINT (-39.565765 -3.044581)', '2026-07-22 07:17:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56573 -3.044603)'), GeomFromEWKT('SRID=4674;POINT (-39.565765 -3.044581)'))) / (select extract(epoch from '2026-07-22 07:17:15'::timestamp) - extract(epoch from '2026-07-22 07:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56573 -3.044603)'), GeomFromEWKT('SRID=4674;POINT (-39.565765 -3.044581)'))) / (select extract(epoch from '2026-07-22 07:17:15'::timestamp) - extract(epoch from '2026-07-22 07:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565797 -3.044562)', '2026-07-22 07:17:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565765 -3.044581)'), GeomFromEWKT('SRID=4674;POINT (-39.565797 -3.044562)'))) / (select extract(epoch from '2026-07-22 07:17:26'::timestamp) - extract(epoch from '2026-07-22 07:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565765 -3.044581)'), GeomFromEWKT('SRID=4674;POINT (-39.565797 -3.044562)'))) / (select extract(epoch from '2026-07-22 07:17:26'::timestamp) - extract(epoch from '2026-07-22 07:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565818 -3.044535)', '2026-07-22 07:17:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565797 -3.044562)'), GeomFromEWKT('SRID=4674;POINT (-39.565818 -3.044535)'))) / (select extract(epoch from '2026-07-22 07:17:38'::timestamp) - extract(epoch from '2026-07-22 07:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565797 -3.044562)'), GeomFromEWKT('SRID=4674;POINT (-39.565818 -3.044535)'))) / (select extract(epoch from '2026-07-22 07:17:38'::timestamp) - extract(epoch from '2026-07-22 07:17: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'), 47847, 'SRID=4674;POINT (-39.565851 -3.044521)', '2026-07-22 07:17:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565818 -3.044535)'), GeomFromEWKT('SRID=4674;POINT (-39.565851 -3.044521)'))) / (select extract(epoch from '2026-07-22 07:17:45'::timestamp) - extract(epoch from '2026-07-22 07:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565818 -3.044535)'), GeomFromEWKT('SRID=4674;POINT (-39.565851 -3.044521)'))) / (select extract(epoch from '2026-07-22 07:17:45'::timestamp) - extract(epoch from '2026-07-22 07:17: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'), 47847, 'SRID=4674;POINT (-39.565883 -3.044502)', '2026-07-22 07:17:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565851 -3.044521)'), GeomFromEWKT('SRID=4674;POINT (-39.565883 -3.044502)'))) / (select extract(epoch from '2026-07-22 07:17:53'::timestamp) - extract(epoch from '2026-07-22 07:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565851 -3.044521)'), GeomFromEWKT('SRID=4674;POINT (-39.565883 -3.044502)'))) / (select extract(epoch from '2026-07-22 07:17:53'::timestamp) - extract(epoch from '2026-07-22 07:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565919 -3.044479)', '2026-07-22 07:18:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565883 -3.044502)'), GeomFromEWKT('SRID=4674;POINT (-39.565919 -3.044479)'))) / (select extract(epoch from '2026-07-22 07:18:02'::timestamp) - extract(epoch from '2026-07-22 07:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565883 -3.044502)'), GeomFromEWKT('SRID=4674;POINT (-39.565919 -3.044479)'))) / (select extract(epoch from '2026-07-22 07:18:02'::timestamp) - extract(epoch from '2026-07-22 07:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565964 -3.044452)', '2026-07-22 07:18:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565919 -3.044479)'), GeomFromEWKT('SRID=4674;POINT (-39.565964 -3.044452)'))) / (select extract(epoch from '2026-07-22 07:18:14'::timestamp) - extract(epoch from '2026-07-22 07:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565919 -3.044479)'), GeomFromEWKT('SRID=4674;POINT (-39.565964 -3.044452)'))) / (select extract(epoch from '2026-07-22 07:18:14'::timestamp) - extract(epoch from '2026-07-22 07:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566003 -3.044452)', '2026-07-22 07:18:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565964 -3.044452)'), GeomFromEWKT('SRID=4674;POINT (-39.566003 -3.044452)'))) / (select extract(epoch from '2026-07-22 07:18:21'::timestamp) - extract(epoch from '2026-07-22 07:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565964 -3.044452)'), GeomFromEWKT('SRID=4674;POINT (-39.566003 -3.044452)'))) / (select extract(epoch from '2026-07-22 07:18:21'::timestamp) - extract(epoch from '2026-07-22 07:18: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'), 47847, 'SRID=4674;POINT (-39.566028 -3.044453)', '2026-07-22 07:18:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566003 -3.044452)'), GeomFromEWKT('SRID=4674;POINT (-39.566028 -3.044453)'))) / (select extract(epoch from '2026-07-22 07:18:28'::timestamp) - extract(epoch from '2026-07-22 07:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566003 -3.044452)'), GeomFromEWKT('SRID=4674;POINT (-39.566028 -3.044453)'))) / (select extract(epoch from '2026-07-22 07:18:28'::timestamp) - extract(epoch from '2026-07-22 07:18: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'), 47847, 'SRID=4674;POINT (-39.566059 -3.044445)', '2026-07-22 07:18:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566028 -3.044453)'), GeomFromEWKT('SRID=4674;POINT (-39.566059 -3.044445)'))) / (select extract(epoch from '2026-07-22 07:18:35'::timestamp) - extract(epoch from '2026-07-22 07:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566028 -3.044453)'), GeomFromEWKT('SRID=4674;POINT (-39.566059 -3.044445)'))) / (select extract(epoch from '2026-07-22 07:18:35'::timestamp) - extract(epoch from '2026-07-22 07:18: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'), 47847, 'SRID=4674;POINT (-39.566088 -3.044432)', '2026-07-22 07:18:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566059 -3.044445)'), GeomFromEWKT('SRID=4674;POINT (-39.566088 -3.044432)'))) / (select extract(epoch from '2026-07-22 07:18:43'::timestamp) - extract(epoch from '2026-07-22 07:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566059 -3.044445)'), GeomFromEWKT('SRID=4674;POINT (-39.566088 -3.044432)'))) / (select extract(epoch from '2026-07-22 07:18:43'::timestamp) - extract(epoch from '2026-07-22 07:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566115 -3.04443)', '2026-07-22 07:18:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566088 -3.044432)'), GeomFromEWKT('SRID=4674;POINT (-39.566115 -3.04443)'))) / (select extract(epoch from '2026-07-22 07:18:50'::timestamp) - extract(epoch from '2026-07-22 07:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566088 -3.044432)'), GeomFromEWKT('SRID=4674;POINT (-39.566115 -3.04443)'))) / (select extract(epoch from '2026-07-22 07:18:50'::timestamp) - extract(epoch from '2026-07-22 07:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566137 -3.044424)', '2026-07-22 07:18:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566115 -3.04443)'), GeomFromEWKT('SRID=4674;POINT (-39.566137 -3.044424)'))) / (select extract(epoch from '2026-07-22 07:18:57'::timestamp) - extract(epoch from '2026-07-22 07:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566115 -3.04443)'), GeomFromEWKT('SRID=4674;POINT (-39.566137 -3.044424)'))) / (select extract(epoch from '2026-07-22 07:18:57'::timestamp) - extract(epoch from '2026-07-22 07:18: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'), 47847, 'SRID=4674;POINT (-39.566148 -3.044418)', '2026-07-22 07:19:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566137 -3.044424)'), GeomFromEWKT('SRID=4674;POINT (-39.566148 -3.044418)'))) / (select extract(epoch from '2026-07-22 07:19:00'::timestamp) - extract(epoch from '2026-07-22 07:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566137 -3.044424)'), GeomFromEWKT('SRID=4674;POINT (-39.566148 -3.044418)'))) / (select extract(epoch from '2026-07-22 07:19:00'::timestamp) - extract(epoch from '2026-07-22 07:18: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'), 47847, 'SRID=4674;POINT (-39.566169 -3.044406)', '2026-07-22 07:19:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566148 -3.044418)'), GeomFromEWKT('SRID=4674;POINT (-39.566169 -3.044406)'))) / (select extract(epoch from '2026-07-22 07:19:06'::timestamp) - extract(epoch from '2026-07-22 07:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566148 -3.044418)'), GeomFromEWKT('SRID=4674;POINT (-39.566169 -3.044406)'))) / (select extract(epoch from '2026-07-22 07:19:06'::timestamp) - extract(epoch from '2026-07-22 07:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566188 -3.044388)', '2026-07-22 07:19:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566169 -3.044406)'), GeomFromEWKT('SRID=4674;POINT (-39.566188 -3.044388)'))) / (select extract(epoch from '2026-07-22 07:19:14'::timestamp) - extract(epoch from '2026-07-22 07:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566169 -3.044406)'), GeomFromEWKT('SRID=4674;POINT (-39.566188 -3.044388)'))) / (select extract(epoch from '2026-07-22 07:19:14'::timestamp) - extract(epoch from '2026-07-22 07:19: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'), 47847, 'SRID=4674;POINT (-39.566224 -3.044372)', '2026-07-22 07:19:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566188 -3.044388)'), GeomFromEWKT('SRID=4674;POINT (-39.566224 -3.044372)'))) / (select extract(epoch from '2026-07-22 07:19:23'::timestamp) - extract(epoch from '2026-07-22 07:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566188 -3.044388)'), GeomFromEWKT('SRID=4674;POINT (-39.566224 -3.044372)'))) / (select extract(epoch from '2026-07-22 07:19:23'::timestamp) - extract(epoch from '2026-07-22 07:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566248 -3.04435)', '2026-07-22 07:19:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566224 -3.044372)'), GeomFromEWKT('SRID=4674;POINT (-39.566248 -3.04435)'))) / (select extract(epoch from '2026-07-22 07:19:31'::timestamp) - extract(epoch from '2026-07-22 07:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566224 -3.044372)'), GeomFromEWKT('SRID=4674;POINT (-39.566248 -3.04435)'))) / (select extract(epoch from '2026-07-22 07:19:31'::timestamp) - extract(epoch from '2026-07-22 07:19: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'), 47847, 'SRID=4674;POINT (-39.566329 -3.044352)', '2026-07-22 07:19:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566248 -3.04435)'), GeomFromEWKT('SRID=4674;POINT (-39.566329 -3.044352)'))) / (select extract(epoch from '2026-07-22 07:19:39'::timestamp) - extract(epoch from '2026-07-22 07:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566248 -3.04435)'), GeomFromEWKT('SRID=4674;POINT (-39.566329 -3.044352)'))) / (select extract(epoch from '2026-07-22 07:19:39'::timestamp) - extract(epoch from '2026-07-22 07:19: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'), 47847, 'SRID=4674;POINT (-39.566414 -3.044359)', '2026-07-22 07:19:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566329 -3.044352)'), GeomFromEWKT('SRID=4674;POINT (-39.566414 -3.044359)'))) / (select extract(epoch from '2026-07-22 07:19:44'::timestamp) - extract(epoch from '2026-07-22 07:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566329 -3.044352)'), GeomFromEWKT('SRID=4674;POINT (-39.566414 -3.044359)'))) / (select extract(epoch from '2026-07-22 07:19:44'::timestamp) - extract(epoch from '2026-07-22 07:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566497 -3.044322)', '2026-07-22 07:19:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566414 -3.044359)'), GeomFromEWKT('SRID=4674;POINT (-39.566497 -3.044322)'))) / (select extract(epoch from '2026-07-22 07:19:49'::timestamp) - extract(epoch from '2026-07-22 07:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566414 -3.044359)'), GeomFromEWKT('SRID=4674;POINT (-39.566497 -3.044322)'))) / (select extract(epoch from '2026-07-22 07:19:49'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.566556 -3.044247)', '2026-07-22 07:19:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566497 -3.044322)'), GeomFromEWKT('SRID=4674;POINT (-39.566556 -3.044247)'))) / (select extract(epoch from '2026-07-22 07:19:54'::timestamp) - extract(epoch from '2026-07-22 07:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566497 -3.044322)'), GeomFromEWKT('SRID=4674;POINT (-39.566556 -3.044247)'))) / (select extract(epoch from '2026-07-22 07:19:54'::timestamp) - extract(epoch from '2026-07-22 07:19: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'), 47847, 'SRID=4674;POINT (-39.566614 -3.044135)', '2026-07-22 07:20:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566556 -3.044247)'), GeomFromEWKT('SRID=4674;POINT (-39.566614 -3.044135)'))) / (select extract(epoch from '2026-07-22 07:20:00'::timestamp) - extract(epoch from '2026-07-22 07:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566556 -3.044247)'), GeomFromEWKT('SRID=4674;POINT (-39.566614 -3.044135)'))) / (select extract(epoch from '2026-07-22 07:20:00'::timestamp) - extract(epoch from '2026-07-22 07:19: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'), 47847, 'SRID=4674;POINT (-39.566657 -3.044013)', '2026-07-22 07:20:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566614 -3.044135)'), GeomFromEWKT('SRID=4674;POINT (-39.566657 -3.044013)'))) / (select extract(epoch from '2026-07-22 07:20:06'::timestamp) - extract(epoch from '2026-07-22 07:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566614 -3.044135)'), GeomFromEWKT('SRID=4674;POINT (-39.566657 -3.044013)'))) / (select extract(epoch from '2026-07-22 07:20:06'::timestamp) - extract(epoch from '2026-07-22 07:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566681 -3.043851)', '2026-07-22 07:20:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566657 -3.044013)'), GeomFromEWKT('SRID=4674;POINT (-39.566681 -3.043851)'))) / (select extract(epoch from '2026-07-22 07:20:14'::timestamp) - extract(epoch from '2026-07-22 07:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566657 -3.044013)'), GeomFromEWKT('SRID=4674;POINT (-39.566681 -3.043851)'))) / (select extract(epoch from '2026-07-22 07:20:14'::timestamp) - extract(epoch from '2026-07-22 07:20: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'), 47847, 'SRID=4674;POINT (-39.566656 -3.043759)', '2026-07-22 07:20:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566681 -3.043851)'), GeomFromEWKT('SRID=4674;POINT (-39.566656 -3.043759)'))) / (select extract(epoch from '2026-07-22 07:20:19'::timestamp) - extract(epoch from '2026-07-22 07:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566681 -3.043851)'), GeomFromEWKT('SRID=4674;POINT (-39.566656 -3.043759)'))) / (select extract(epoch from '2026-07-22 07:20:19'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.566647 -3.04368)', '2026-07-22 07:20:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566656 -3.043759)'), GeomFromEWKT('SRID=4674;POINT (-39.566647 -3.04368)'))) / (select extract(epoch from '2026-07-22 07:20:23'::timestamp) - extract(epoch from '2026-07-22 07:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566656 -3.043759)'), GeomFromEWKT('SRID=4674;POINT (-39.566647 -3.04368)'))) / (select extract(epoch from '2026-07-22 07:20:23'::timestamp) - extract(epoch from '2026-07-22 07:20: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'), 47847, 'SRID=4674;POINT (-39.566653 -3.043624)', '2026-07-22 07:20:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566647 -3.04368)'), GeomFromEWKT('SRID=4674;POINT (-39.566653 -3.043624)'))) / (select extract(epoch from '2026-07-22 07:20:26'::timestamp) - extract(epoch from '2026-07-22 07:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566647 -3.04368)'), GeomFromEWKT('SRID=4674;POINT (-39.566653 -3.043624)'))) / (select extract(epoch from '2026-07-22 07:20:26'::timestamp) - extract(epoch from '2026-07-22 07:20:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566648 -3.043603)', '2026-07-22 07:20:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566653 -3.043624)'), GeomFromEWKT('SRID=4674;POINT (-39.566648 -3.043603)'))) / (select extract(epoch from '2026-07-22 07:20:27'::timestamp) - extract(epoch from '2026-07-22 07:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566653 -3.043624)'), GeomFromEWKT('SRID=4674;POINT (-39.566648 -3.043603)'))) / (select extract(epoch from '2026-07-22 07:20:27'::timestamp) - extract(epoch from '2026-07-22 07:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566652 -3.043501)', '2026-07-22 07:20:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566648 -3.043603)'), GeomFromEWKT('SRID=4674;POINT (-39.566652 -3.043501)'))) / (select extract(epoch from '2026-07-22 07:20:32'::timestamp) - extract(epoch from '2026-07-22 07:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566648 -3.043603)'), GeomFromEWKT('SRID=4674;POINT (-39.566652 -3.043501)'))) / (select extract(epoch from '2026-07-22 07:20:32'::timestamp) - extract(epoch from '2026-07-22 07:20: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'), 47847, 'SRID=4674;POINT (-39.566667 -3.043404)', '2026-07-22 07:20:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566652 -3.043501)'), GeomFromEWKT('SRID=4674;POINT (-39.566667 -3.043404)'))) / (select extract(epoch from '2026-07-22 07:20:37'::timestamp) - extract(epoch from '2026-07-22 07:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566652 -3.043501)'), GeomFromEWKT('SRID=4674;POINT (-39.566667 -3.043404)'))) / (select extract(epoch from '2026-07-22 07:20:37'::timestamp) - extract(epoch from '2026-07-22 07:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56667 -3.043307)', '2026-07-22 07:20:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566667 -3.043404)'), GeomFromEWKT('SRID=4674;POINT (-39.56667 -3.043307)'))) / (select extract(epoch from '2026-07-22 07:20:42'::timestamp) - extract(epoch from '2026-07-22 07:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566667 -3.043404)'), GeomFromEWKT('SRID=4674;POINT (-39.56667 -3.043307)'))) / (select extract(epoch from '2026-07-22 07:20:42'::timestamp) - extract(epoch from '2026-07-22 07:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566674 -3.043208)', '2026-07-22 07:20:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56667 -3.043307)'), GeomFromEWKT('SRID=4674;POINT (-39.566674 -3.043208)'))) / (select extract(epoch from '2026-07-22 07:20:47'::timestamp) - extract(epoch from '2026-07-22 07:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56667 -3.043307)'), GeomFromEWKT('SRID=4674;POINT (-39.566674 -3.043208)'))) / (select extract(epoch from '2026-07-22 07:20:47'::timestamp) - extract(epoch from '2026-07-22 07:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566695 -3.043107)', '2026-07-22 07:20:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566674 -3.043208)'), GeomFromEWKT('SRID=4674;POINT (-39.566695 -3.043107)'))) / (select extract(epoch from '2026-07-22 07:20:52'::timestamp) - extract(epoch from '2026-07-22 07:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566674 -3.043208)'), GeomFromEWKT('SRID=4674;POINT (-39.566695 -3.043107)'))) / (select extract(epoch from '2026-07-22 07:20:52'::timestamp) - extract(epoch from '2026-07-22 07:20: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'), 47847, 'SRID=4674;POINT (-39.566713 -3.043048)', '2026-07-22 07:20:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566695 -3.043107)'), GeomFromEWKT('SRID=4674;POINT (-39.566713 -3.043048)'))) / (select extract(epoch from '2026-07-22 07:20:55'::timestamp) - extract(epoch from '2026-07-22 07:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566695 -3.043107)'), GeomFromEWKT('SRID=4674;POINT (-39.566713 -3.043048)'))) / (select extract(epoch from '2026-07-22 07:20:55'::timestamp) - extract(epoch from '2026-07-22 07:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566717 -3.043009)', '2026-07-22 07:20:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566713 -3.043048)'), GeomFromEWKT('SRID=4674;POINT (-39.566717 -3.043009)'))) / (select extract(epoch from '2026-07-22 07:20:57'::timestamp) - extract(epoch from '2026-07-22 07:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566713 -3.043048)'), GeomFromEWKT('SRID=4674;POINT (-39.566717 -3.043009)'))) / (select extract(epoch from '2026-07-22 07:20:57'::timestamp) - extract(epoch from '2026-07-22 07:20: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'), 47847, 'SRID=4674;POINT (-39.566723 -3.042873)', '2026-07-22 07:21:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566717 -3.043009)'), GeomFromEWKT('SRID=4674;POINT (-39.566723 -3.042873)'))) / (select extract(epoch from '2026-07-22 07:21:04'::timestamp) - extract(epoch from '2026-07-22 07:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566717 -3.043009)'), GeomFromEWKT('SRID=4674;POINT (-39.566723 -3.042873)'))) / (select extract(epoch from '2026-07-22 07:21:04'::timestamp) - extract(epoch from '2026-07-22 07:20: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'), 47847, 'SRID=4674;POINT (-39.566747 -3.042783)', '2026-07-22 07:21:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566723 -3.042873)'), GeomFromEWKT('SRID=4674;POINT (-39.566747 -3.042783)'))) / (select extract(epoch from '2026-07-22 07:21:09'::timestamp) - extract(epoch from '2026-07-22 07:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566723 -3.042873)'), GeomFromEWKT('SRID=4674;POINT (-39.566747 -3.042783)'))) / (select extract(epoch from '2026-07-22 07:21:09'::timestamp) - extract(epoch from '2026-07-22 07:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566773 -3.042686)', '2026-07-22 07:21:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566747 -3.042783)'), GeomFromEWKT('SRID=4674;POINT (-39.566773 -3.042686)'))) / (select extract(epoch from '2026-07-22 07:21:14'::timestamp) - extract(epoch from '2026-07-22 07:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566747 -3.042783)'), GeomFromEWKT('SRID=4674;POINT (-39.566773 -3.042686)'))) / (select extract(epoch from '2026-07-22 07:21:14'::timestamp) - extract(epoch from '2026-07-22 07:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566815 -3.042547)', '2026-07-22 07:21:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566773 -3.042686)'), GeomFromEWKT('SRID=4674;POINT (-39.566815 -3.042547)'))) / (select extract(epoch from '2026-07-22 07:21:21'::timestamp) - extract(epoch from '2026-07-22 07:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566773 -3.042686)'), GeomFromEWKT('SRID=4674;POINT (-39.566815 -3.042547)'))) / (select extract(epoch from '2026-07-22 07:21:21'::timestamp) - extract(epoch from '2026-07-22 07:21: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'), 47847, 'SRID=4674;POINT (-39.566842 -3.042426)', '2026-07-22 07:21:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566815 -3.042547)'), GeomFromEWKT('SRID=4674;POINT (-39.566842 -3.042426)'))) / (select extract(epoch from '2026-07-22 07:21:27'::timestamp) - extract(epoch from '2026-07-22 07:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566815 -3.042547)'), GeomFromEWKT('SRID=4674;POINT (-39.566842 -3.042426)'))) / (select extract(epoch from '2026-07-22 07:21:27'::timestamp) - extract(epoch from '2026-07-22 07:21: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'), 47847, 'SRID=4674;POINT (-39.566878 -3.042285)', '2026-07-22 07:21:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566842 -3.042426)'), GeomFromEWKT('SRID=4674;POINT (-39.566878 -3.042285)'))) / (select extract(epoch from '2026-07-22 07:21:34'::timestamp) - extract(epoch from '2026-07-22 07:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566842 -3.042426)'), GeomFromEWKT('SRID=4674;POINT (-39.566878 -3.042285)'))) / (select extract(epoch from '2026-07-22 07:21:34'::timestamp) - extract(epoch from '2026-07-22 07:21: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'), 47847, 'SRID=4674;POINT (-39.566921 -3.04217)', '2026-07-22 07:21:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566878 -3.042285)'), GeomFromEWKT('SRID=4674;POINT (-39.566921 -3.04217)'))) / (select extract(epoch from '2026-07-22 07:21:40'::timestamp) - extract(epoch from '2026-07-22 07:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566878 -3.042285)'), GeomFromEWKT('SRID=4674;POINT (-39.566921 -3.04217)'))) / (select extract(epoch from '2026-07-22 07:21:40'::timestamp) - extract(epoch from '2026-07-22 07:21: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'), 47847, 'SRID=4674;POINT (-39.566962 -3.042073)', '2026-07-22 07:21:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566921 -3.04217)'), GeomFromEWKT('SRID=4674;POINT (-39.566962 -3.042073)'))) / (select extract(epoch from '2026-07-22 07:21:45'::timestamp) - extract(epoch from '2026-07-22 07:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566921 -3.04217)'), GeomFromEWKT('SRID=4674;POINT (-39.566962 -3.042073)'))) / (select extract(epoch from '2026-07-22 07:21:45'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.567025 -3.041963)', '2026-07-22 07:21:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566962 -3.042073)'), GeomFromEWKT('SRID=4674;POINT (-39.567025 -3.041963)'))) / (select extract(epoch from '2026-07-22 07:21:51'::timestamp) - extract(epoch from '2026-07-22 07:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566962 -3.042073)'), GeomFromEWKT('SRID=4674;POINT (-39.567025 -3.041963)'))) / (select extract(epoch from '2026-07-22 07:21:51'::timestamp) - extract(epoch from '2026-07-22 07:21:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.567065 -3.04188)', '2026-07-22 07:21:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567025 -3.041963)'), GeomFromEWKT('SRID=4674;POINT (-39.567065 -3.04188)'))) / (select extract(epoch from '2026-07-22 07:21:56'::timestamp) - extract(epoch from '2026-07-22 07:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567025 -3.041963)'), GeomFromEWKT('SRID=4674;POINT (-39.567065 -3.04188)'))) / (select extract(epoch from '2026-07-22 07:21:56'::timestamp) - extract(epoch from '2026-07-22 07:21: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'), 47847, 'SRID=4674;POINT (-39.567134 -3.041779)', '2026-07-22 07:22:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567065 -3.04188)'), GeomFromEWKT('SRID=4674;POINT (-39.567134 -3.041779)'))) / (select extract(epoch from '2026-07-22 07:22:02'::timestamp) - extract(epoch from '2026-07-22 07:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567065 -3.04188)'), GeomFromEWKT('SRID=4674;POINT (-39.567134 -3.041779)'))) / (select extract(epoch from '2026-07-22 07:22:02'::timestamp) - extract(epoch from '2026-07-22 07:21: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'), 47847, 'SRID=4674;POINT (-39.567233 -3.041691)', '2026-07-22 07:22:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567134 -3.041779)'), GeomFromEWKT('SRID=4674;POINT (-39.567233 -3.041691)'))) / (select extract(epoch from '2026-07-22 07:22:08'::timestamp) - extract(epoch from '2026-07-22 07:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567134 -3.041779)'), GeomFromEWKT('SRID=4674;POINT (-39.567233 -3.041691)'))) / (select extract(epoch from '2026-07-22 07:22:08'::timestamp) - extract(epoch from '2026-07-22 07:22: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'), 47847, 'SRID=4674;POINT (-39.567305 -3.041563)', '2026-07-22 07:22:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567233 -3.041691)'), GeomFromEWKT('SRID=4674;POINT (-39.567305 -3.041563)'))) / (select extract(epoch from '2026-07-22 07:22:15'::timestamp) - extract(epoch from '2026-07-22 07:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567233 -3.041691)'), GeomFromEWKT('SRID=4674;POINT (-39.567305 -3.041563)'))) / (select extract(epoch from '2026-07-22 07:22:15'::timestamp) - extract(epoch from '2026-07-22 07:22: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'), 47847, 'SRID=4674;POINT (-39.567355 -3.041426)', '2026-07-22 07:22:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567305 -3.041563)'), GeomFromEWKT('SRID=4674;POINT (-39.567355 -3.041426)'))) / (select extract(epoch from '2026-07-22 07:22:22'::timestamp) - extract(epoch from '2026-07-22 07:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567305 -3.041563)'), GeomFromEWKT('SRID=4674;POINT (-39.567355 -3.041426)'))) / (select extract(epoch from '2026-07-22 07:22:22'::timestamp) - extract(epoch from '2026-07-22 07:22: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'), 47847, 'SRID=4674;POINT (-39.567375 -3.041327)', '2026-07-22 07:22:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567355 -3.041426)'), GeomFromEWKT('SRID=4674;POINT (-39.567375 -3.041327)'))) / (select extract(epoch from '2026-07-22 07:22:27'::timestamp) - extract(epoch from '2026-07-22 07:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567355 -3.041426)'), GeomFromEWKT('SRID=4674;POINT (-39.567375 -3.041327)'))) / (select extract(epoch from '2026-07-22 07:22:27'::timestamp) - extract(epoch from '2026-07-22 07:22: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'), 47847, 'SRID=4674;POINT (-39.567378 -3.041306)', '2026-07-22 07:22:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567375 -3.041327)'), GeomFromEWKT('SRID=4674;POINT (-39.567378 -3.041306)'))) / (select extract(epoch from '2026-07-22 07:22:28'::timestamp) - extract(epoch from '2026-07-22 07:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567375 -3.041327)'), GeomFromEWKT('SRID=4674;POINT (-39.567378 -3.041306)'))) / (select extract(epoch from '2026-07-22 07:22:28'::timestamp) - extract(epoch from '2026-07-22 07:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.567376 -3.041231)', '2026-07-22 07:22:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567378 -3.041306)'), GeomFromEWKT('SRID=4674;POINT (-39.567376 -3.041231)'))) / (select extract(epoch from '2026-07-22 07:22:32'::timestamp) - extract(epoch from '2026-07-22 07:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567378 -3.041306)'), GeomFromEWKT('SRID=4674;POINT (-39.567376 -3.041231)'))) / (select extract(epoch from '2026-07-22 07:22:32'::timestamp) - extract(epoch from '2026-07-22 07:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.567353 -3.04112)', '2026-07-22 07:22:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567376 -3.041231)'), GeomFromEWKT('SRID=4674;POINT (-39.567353 -3.04112)'))) / (select extract(epoch from '2026-07-22 07:22:38'::timestamp) - extract(epoch from '2026-07-22 07:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567376 -3.041231)'), GeomFromEWKT('SRID=4674;POINT (-39.567353 -3.04112)'))) / (select extract(epoch from '2026-07-22 07:22:38'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.567319 -3.041007)', '2026-07-22 07:22:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567353 -3.04112)'), GeomFromEWKT('SRID=4674;POINT (-39.567319 -3.041007)'))) / (select extract(epoch from '2026-07-22 07:22:44'::timestamp) - extract(epoch from '2026-07-22 07:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567353 -3.04112)'), GeomFromEWKT('SRID=4674;POINT (-39.567319 -3.041007)'))) / (select extract(epoch from '2026-07-22 07:22:44'::timestamp) - extract(epoch from '2026-07-22 07:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.567283 -3.040906)', '2026-07-22 07:22:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567319 -3.041007)'), GeomFromEWKT('SRID=4674;POINT (-39.567283 -3.040906)'))) / (select extract(epoch from '2026-07-22 07:22:50'::timestamp) - extract(epoch from '2026-07-22 07:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567319 -3.041007)'), GeomFromEWKT('SRID=4674;POINT (-39.567283 -3.040906)'))) / (select extract(epoch from '2026-07-22 07:22:50'::timestamp) - extract(epoch from '2026-07-22 07:22: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'), 47847, 'SRID=4674;POINT (-39.567238 -3.040803)', '2026-07-22 07:22:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567283 -3.040906)'), GeomFromEWKT('SRID=4674;POINT (-39.567238 -3.040803)'))) / (select extract(epoch from '2026-07-22 07:22:56'::timestamp) - extract(epoch from '2026-07-22 07:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567283 -3.040906)'), GeomFromEWKT('SRID=4674;POINT (-39.567238 -3.040803)'))) / (select extract(epoch from '2026-07-22 07:22:56'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.567199 -3.04072)', '2026-07-22 07:23:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567238 -3.040803)'), GeomFromEWKT('SRID=4674;POINT (-39.567199 -3.04072)'))) / (select extract(epoch from '2026-07-22 07:23:01'::timestamp) - extract(epoch from '2026-07-22 07:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567238 -3.040803)'), GeomFromEWKT('SRID=4674;POINT (-39.567199 -3.04072)'))) / (select extract(epoch from '2026-07-22 07:23:01'::timestamp) - extract(epoch from '2026-07-22 07:22: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'), 47847, 'SRID=4674;POINT (-39.567167 -3.040614)', '2026-07-22 07:23:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567199 -3.04072)'), GeomFromEWKT('SRID=4674;POINT (-39.567167 -3.040614)'))) / (select extract(epoch from '2026-07-22 07:23:07'::timestamp) - extract(epoch from '2026-07-22 07:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567199 -3.04072)'), GeomFromEWKT('SRID=4674;POINT (-39.567167 -3.040614)'))) / (select extract(epoch from '2026-07-22 07:23:07'::timestamp) - extract(epoch from '2026-07-22 07:23: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'), 47847, 'SRID=4674;POINT (-39.567143 -3.040518)', '2026-07-22 07:23:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567167 -3.040614)'), GeomFromEWKT('SRID=4674;POINT (-39.567143 -3.040518)'))) / (select extract(epoch from '2026-07-22 07:23:12'::timestamp) - extract(epoch from '2026-07-22 07:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567167 -3.040614)'), GeomFromEWKT('SRID=4674;POINT (-39.567143 -3.040518)'))) / (select extract(epoch from '2026-07-22 07:23:12'::timestamp) - extract(epoch from '2026-07-22 07:23: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'), 47847, 'SRID=4674;POINT (-39.567109 -3.040406)', '2026-07-22 07:23:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567143 -3.040518)'), GeomFromEWKT('SRID=4674;POINT (-39.567109 -3.040406)'))) / (select extract(epoch from '2026-07-22 07:23:18'::timestamp) - extract(epoch from '2026-07-22 07:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567143 -3.040518)'), GeomFromEWKT('SRID=4674;POINT (-39.567109 -3.040406)'))) / (select extract(epoch from '2026-07-22 07:23:18'::timestamp) - extract(epoch from '2026-07-22 07:23: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'), 47847, 'SRID=4674;POINT (-39.567058 -3.040306)', '2026-07-22 07:23:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567109 -3.040406)'), GeomFromEWKT('SRID=4674;POINT (-39.567058 -3.040306)'))) / (select extract(epoch from '2026-07-22 07:23:24'::timestamp) - extract(epoch from '2026-07-22 07:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567109 -3.040406)'), GeomFromEWKT('SRID=4674;POINT (-39.567058 -3.040306)'))) / (select extract(epoch from '2026-07-22 07:23:24'::timestamp) - extract(epoch from '2026-07-22 07:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566997 -3.040209)', '2026-07-22 07:23:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567058 -3.040306)'), GeomFromEWKT('SRID=4674;POINT (-39.566997 -3.040209)'))) / (select extract(epoch from '2026-07-22 07:23:30'::timestamp) - extract(epoch from '2026-07-22 07:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.567058 -3.040306)'), GeomFromEWKT('SRID=4674;POINT (-39.566997 -3.040209)'))) / (select extract(epoch from '2026-07-22 07:23:30'::timestamp) - extract(epoch from '2026-07-22 07:23: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'), 47847, 'SRID=4674;POINT (-39.566954 -3.04013)', '2026-07-22 07:23:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566997 -3.040209)'), GeomFromEWKT('SRID=4674;POINT (-39.566954 -3.04013)'))) / (select extract(epoch from '2026-07-22 07:23:35'::timestamp) - extract(epoch from '2026-07-22 07:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566997 -3.040209)'), GeomFromEWKT('SRID=4674;POINT (-39.566954 -3.04013)'))) / (select extract(epoch from '2026-07-22 07:23:35'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.566867 -3.040008)', '2026-07-22 07:23:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566954 -3.04013)'), GeomFromEWKT('SRID=4674;POINT (-39.566867 -3.040008)'))) / (select extract(epoch from '2026-07-22 07:23:43'::timestamp) - extract(epoch from '2026-07-22 07:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566954 -3.04013)'), GeomFromEWKT('SRID=4674;POINT (-39.566867 -3.040008)'))) / (select extract(epoch from '2026-07-22 07:23:43'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.566823 -3.039934)', '2026-07-22 07:23:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566867 -3.040008)'), GeomFromEWKT('SRID=4674;POINT (-39.566823 -3.039934)'))) / (select extract(epoch from '2026-07-22 07:23:48'::timestamp) - extract(epoch from '2026-07-22 07:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566867 -3.040008)'), GeomFromEWKT('SRID=4674;POINT (-39.566823 -3.039934)'))) / (select extract(epoch from '2026-07-22 07:23:48'::timestamp) - extract(epoch from '2026-07-22 07:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566797 -3.039896)', '2026-07-22 07:23:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566823 -3.039934)'), GeomFromEWKT('SRID=4674;POINT (-39.566797 -3.039896)'))) / (select extract(epoch from '2026-07-22 07:23:51'::timestamp) - extract(epoch from '2026-07-22 07:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566823 -3.039934)'), GeomFromEWKT('SRID=4674;POINT (-39.566797 -3.039896)'))) / (select extract(epoch from '2026-07-22 07:23:51'::timestamp) - extract(epoch from '2026-07-22 07:23: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'), 47847, 'SRID=4674;POINT (-39.566782 -3.039869)', '2026-07-22 07:23:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566797 -3.039896)'), GeomFromEWKT('SRID=4674;POINT (-39.566782 -3.039869)'))) / (select extract(epoch from '2026-07-22 07:23:53'::timestamp) - extract(epoch from '2026-07-22 07:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566797 -3.039896)'), GeomFromEWKT('SRID=4674;POINT (-39.566782 -3.039869)'))) / (select extract(epoch from '2026-07-22 07:23:53'::timestamp) - extract(epoch from '2026-07-22 07:23:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566722 -3.03979)', '2026-07-22 07:23:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566782 -3.039869)'), GeomFromEWKT('SRID=4674;POINT (-39.566722 -3.03979)'))) / (select extract(epoch from '2026-07-22 07:23:59'::timestamp) - extract(epoch from '2026-07-22 07:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566782 -3.039869)'), GeomFromEWKT('SRID=4674;POINT (-39.566722 -3.03979)'))) / (select extract(epoch from '2026-07-22 07:23:59'::timestamp) - extract(epoch from '2026-07-22 07:23: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'), 47847, 'SRID=4674;POINT (-39.5667 -3.039747)', '2026-07-22 07:24:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566722 -3.03979)'), GeomFromEWKT('SRID=4674;POINT (-39.5667 -3.039747)'))) / (select extract(epoch from '2026-07-22 07:24:02'::timestamp) - extract(epoch from '2026-07-22 07:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566722 -3.03979)'), GeomFromEWKT('SRID=4674;POINT (-39.5667 -3.039747)'))) / (select extract(epoch from '2026-07-22 07:24:02'::timestamp) - extract(epoch from '2026-07-22 07:23: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'), 47847, 'SRID=4674;POINT (-39.566683 -3.039724)', '2026-07-22 07:24:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5667 -3.039747)'), GeomFromEWKT('SRID=4674;POINT (-39.566683 -3.039724)'))) / (select extract(epoch from '2026-07-22 07:24:04'::timestamp) - extract(epoch from '2026-07-22 07:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5667 -3.039747)'), GeomFromEWKT('SRID=4674;POINT (-39.566683 -3.039724)'))) / (select extract(epoch from '2026-07-22 07:24:04'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.566607 -3.039625)', '2026-07-22 07:24:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566683 -3.039724)'), GeomFromEWKT('SRID=4674;POINT (-39.566607 -3.039625)'))) / (select extract(epoch from '2026-07-22 07:24:11'::timestamp) - extract(epoch from '2026-07-22 07:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566683 -3.039724)'), GeomFromEWKT('SRID=4674;POINT (-39.566607 -3.039625)'))) / (select extract(epoch from '2026-07-22 07:24:11'::timestamp) - extract(epoch from '2026-07-22 07:24: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'), 47847, 'SRID=4674;POINT (-39.566543 -3.039533)', '2026-07-22 07:24:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566607 -3.039625)'), GeomFromEWKT('SRID=4674;POINT (-39.566543 -3.039533)'))) / (select extract(epoch from '2026-07-22 07:24:17'::timestamp) - extract(epoch from '2026-07-22 07:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566607 -3.039625)'), GeomFromEWKT('SRID=4674;POINT (-39.566543 -3.039533)'))) / (select extract(epoch from '2026-07-22 07:24:17'::timestamp) - extract(epoch from '2026-07-22 07:24: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'), 47847, 'SRID=4674;POINT (-39.566483 -3.039445)', '2026-07-22 07:24:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566543 -3.039533)'), GeomFromEWKT('SRID=4674;POINT (-39.566483 -3.039445)'))) / (select extract(epoch from '2026-07-22 07:24:23'::timestamp) - extract(epoch from '2026-07-22 07:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566543 -3.039533)'), GeomFromEWKT('SRID=4674;POINT (-39.566483 -3.039445)'))) / (select extract(epoch from '2026-07-22 07:24:23'::timestamp) - extract(epoch from '2026-07-22 07:24: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'), 47847, 'SRID=4674;POINT (-39.566418 -3.039346)', '2026-07-22 07:24:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566483 -3.039445)'), GeomFromEWKT('SRID=4674;POINT (-39.566418 -3.039346)'))) / (select extract(epoch from '2026-07-22 07:24:30'::timestamp) - extract(epoch from '2026-07-22 07:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566483 -3.039445)'), GeomFromEWKT('SRID=4674;POINT (-39.566418 -3.039346)'))) / (select extract(epoch from '2026-07-22 07:24:30'::timestamp) - extract(epoch from '2026-07-22 07:24: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'), 47847, 'SRID=4674;POINT (-39.56636 -3.039229)', '2026-07-22 07:24:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566418 -3.039346)'), GeomFromEWKT('SRID=4674;POINT (-39.56636 -3.039229)'))) / (select extract(epoch from '2026-07-22 07:24:37'::timestamp) - extract(epoch from '2026-07-22 07:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566418 -3.039346)'), GeomFromEWKT('SRID=4674;POINT (-39.56636 -3.039229)'))) / (select extract(epoch from '2026-07-22 07:24:37'::timestamp) - extract(epoch from '2026-07-22 07:24: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'), 47847, 'SRID=4674;POINT (-39.566303 -3.039134)', '2026-07-22 07:24:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56636 -3.039229)'), GeomFromEWKT('SRID=4674;POINT (-39.566303 -3.039134)'))) / (select extract(epoch from '2026-07-22 07:24:43'::timestamp) - extract(epoch from '2026-07-22 07:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56636 -3.039229)'), GeomFromEWKT('SRID=4674;POINT (-39.566303 -3.039134)'))) / (select extract(epoch from '2026-07-22 07:24:43'::timestamp) - extract(epoch from '2026-07-22 07:24:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566253 -3.03908)', '2026-07-22 07:24:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566303 -3.039134)'), GeomFromEWKT('SRID=4674;POINT (-39.566253 -3.03908)'))) / (select extract(epoch from '2026-07-22 07:24:48'::timestamp) - extract(epoch from '2026-07-22 07:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566303 -3.039134)'), GeomFromEWKT('SRID=4674;POINT (-39.566253 -3.03908)'))) / (select extract(epoch from '2026-07-22 07:24:48'::timestamp) - extract(epoch from '2026-07-22 07:24: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'), 47847, 'SRID=4674;POINT (-39.566202 -3.039012)', '2026-07-22 07:24:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566253 -3.03908)'), GeomFromEWKT('SRID=4674;POINT (-39.566202 -3.039012)'))) / (select extract(epoch from '2026-07-22 07:24:52'::timestamp) - extract(epoch from '2026-07-22 07:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566253 -3.03908)'), GeomFromEWKT('SRID=4674;POINT (-39.566202 -3.039012)'))) / (select extract(epoch from '2026-07-22 07:24:52'::timestamp) - extract(epoch from '2026-07-22 07:24: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'), 47847, 'SRID=4674;POINT (-39.566148 -3.038957)', '2026-07-22 07:24:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566202 -3.039012)'), GeomFromEWKT('SRID=4674;POINT (-39.566148 -3.038957)'))) / (select extract(epoch from '2026-07-22 07:24:56'::timestamp) - extract(epoch from '2026-07-22 07:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566202 -3.039012)'), GeomFromEWKT('SRID=4674;POINT (-39.566148 -3.038957)'))) / (select extract(epoch from '2026-07-22 07:24:56'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.566088 -3.038903)', '2026-07-22 07:25:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566148 -3.038957)'), GeomFromEWKT('SRID=4674;POINT (-39.566088 -3.038903)'))) / (select extract(epoch from '2026-07-22 07:25:01'::timestamp) - extract(epoch from '2026-07-22 07:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566148 -3.038957)'), GeomFromEWKT('SRID=4674;POINT (-39.566088 -3.038903)'))) / (select extract(epoch from '2026-07-22 07:25:01'::timestamp) - extract(epoch from '2026-07-22 07:24: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'), 47847, 'SRID=4674;POINT (-39.565994 -3.038838)', '2026-07-22 07:25:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566088 -3.038903)'), GeomFromEWKT('SRID=4674;POINT (-39.565994 -3.038838)'))) / (select extract(epoch from '2026-07-22 07:25:08'::timestamp) - extract(epoch from '2026-07-22 07:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566088 -3.038903)'), GeomFromEWKT('SRID=4674;POINT (-39.565994 -3.038838)'))) / (select extract(epoch from '2026-07-22 07:25:08'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47847, 'SRID=4674;POINT (-39.565889 -3.038811)', '2026-07-22 07:25:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565994 -3.038838)'), GeomFromEWKT('SRID=4674;POINT (-39.565889 -3.038811)'))) / (select extract(epoch from '2026-07-22 07:25:15'::timestamp) - extract(epoch from '2026-07-22 07:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565994 -3.038838)'), GeomFromEWKT('SRID=4674;POINT (-39.565889 -3.038811)'))) / (select extract(epoch from '2026-07-22 07:25:15'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47847, 'SRID=4674;POINT (-39.565834 -3.03884)', '2026-07-22 07:25:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565889 -3.038811)'), GeomFromEWKT('SRID=4674;POINT (-39.565834 -3.03884)'))) / (select extract(epoch from '2026-07-22 07:25:21'::timestamp) - extract(epoch from '2026-07-22 07:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565889 -3.038811)'), GeomFromEWKT('SRID=4674;POINT (-39.565834 -3.03884)'))) / (select extract(epoch from '2026-07-22 07:25:21'::timestamp) - extract(epoch from '2026-07-22 07:25:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565831 -3.03885)', '2026-07-22 07:25:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565834 -3.03884)'), GeomFromEWKT('SRID=4674;POINT (-39.565831 -3.03885)'))) / (select extract(epoch from '2026-07-22 07:25:22'::timestamp) - extract(epoch from '2026-07-22 07:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565834 -3.03884)'), GeomFromEWKT('SRID=4674;POINT (-39.565831 -3.03885)'))) / (select extract(epoch from '2026-07-22 07:25:22'::timestamp) - extract(epoch from '2026-07-22 07:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565827 -3.038878)', '2026-07-22 07:25:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565831 -3.03885)'), GeomFromEWKT('SRID=4674;POINT (-39.565827 -3.038878)'))) / (select extract(epoch from '2026-07-22 07:25:25'::timestamp) - extract(epoch from '2026-07-22 07:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565831 -3.03885)'), GeomFromEWKT('SRID=4674;POINT (-39.565827 -3.038878)'))) / (select extract(epoch from '2026-07-22 07:25:25'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47847, 'SRID=4674;POINT (-39.56583 -3.038889)', '2026-07-22 07:25:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565827 -3.038878)'), GeomFromEWKT('SRID=4674;POINT (-39.56583 -3.038889)'))) / (select extract(epoch from '2026-07-22 07:25:26'::timestamp) - extract(epoch from '2026-07-22 07:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565827 -3.038878)'), GeomFromEWKT('SRID=4674;POINT (-39.56583 -3.038889)'))) / (select extract(epoch from '2026-07-22 07:25:26'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47847, 'SRID=4674;POINT (-39.565858 -3.038927)', '2026-07-22 07:25:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56583 -3.038889)'), GeomFromEWKT('SRID=4674;POINT (-39.565858 -3.038927)'))) / (select extract(epoch from '2026-07-22 07:25:34'::timestamp) - extract(epoch from '2026-07-22 07:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56583 -3.038889)'), GeomFromEWKT('SRID=4674;POINT (-39.565858 -3.038927)'))) / (select extract(epoch from '2026-07-22 07:25:34'::timestamp) - extract(epoch from '2026-07-22 07:25:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565905 -3.038935)', '2026-07-22 07:25:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565858 -3.038927)'), GeomFromEWKT('SRID=4674;POINT (-39.565905 -3.038935)'))) / (select extract(epoch from '2026-07-22 07:25:43'::timestamp) - extract(epoch from '2026-07-22 07:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565858 -3.038927)'), GeomFromEWKT('SRID=4674;POINT (-39.565905 -3.038935)'))) / (select extract(epoch from '2026-07-22 07:25:43'::timestamp) - extract(epoch from '2026-07-22 07:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565931 -3.038932)', '2026-07-22 07:25:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565905 -3.038935)'), GeomFromEWKT('SRID=4674;POINT (-39.565931 -3.038932)'))) / (select extract(epoch from '2026-07-22 07:25:48'::timestamp) - extract(epoch from '2026-07-22 07:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565905 -3.038935)'), GeomFromEWKT('SRID=4674;POINT (-39.565931 -3.038932)'))) / (select extract(epoch from '2026-07-22 07:25:48'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47847, 'SRID=4674;POINT (-39.565969 -3.038925)', '2026-07-22 07:25:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565931 -3.038932)'), GeomFromEWKT('SRID=4674;POINT (-39.565969 -3.038925)'))) / (select extract(epoch from '2026-07-22 07:25:57'::timestamp) - extract(epoch from '2026-07-22 07:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565931 -3.038932)'), GeomFromEWKT('SRID=4674;POINT (-39.565969 -3.038925)'))) / (select extract(epoch from '2026-07-22 07:25:57'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47847, 'SRID=4674;POINT (-39.566004 -3.038909)', '2026-07-22 07:26:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565969 -3.038925)'), GeomFromEWKT('SRID=4674;POINT (-39.566004 -3.038909)'))) / (select extract(epoch from '2026-07-22 07:26:05'::timestamp) - extract(epoch from '2026-07-22 07:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565969 -3.038925)'), GeomFromEWKT('SRID=4674;POINT (-39.566004 -3.038909)'))) / (select extract(epoch from '2026-07-22 07:26:05'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47847, 'SRID=4674;POINT (-39.566032 -3.038895)', '2026-07-22 07:26:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566004 -3.038909)'), GeomFromEWKT('SRID=4674;POINT (-39.566032 -3.038895)'))) / (select extract(epoch from '2026-07-22 07:26:13'::timestamp) - extract(epoch from '2026-07-22 07:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566004 -3.038909)'), GeomFromEWKT('SRID=4674;POINT (-39.566032 -3.038895)'))) / (select extract(epoch from '2026-07-22 07:26:13'::timestamp) - extract(epoch from '2026-07-22 07:26: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'), 47847, 'SRID=4674;POINT (-39.566058 -3.038881)', '2026-07-22 07:26:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566032 -3.038895)'), GeomFromEWKT('SRID=4674;POINT (-39.566058 -3.038881)'))) / (select extract(epoch from '2026-07-22 07:26:20'::timestamp) - extract(epoch from '2026-07-22 07:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566032 -3.038895)'), GeomFromEWKT('SRID=4674;POINT (-39.566058 -3.038881)'))) / (select extract(epoch from '2026-07-22 07:26:20'::timestamp) - extract(epoch from '2026-07-22 07:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566087 -3.038858)', '2026-07-22 07:26:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566058 -3.038881)'), GeomFromEWKT('SRID=4674;POINT (-39.566087 -3.038858)'))) / (select extract(epoch from '2026-07-22 07:26:28'::timestamp) - extract(epoch from '2026-07-22 07:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566058 -3.038881)'), GeomFromEWKT('SRID=4674;POINT (-39.566087 -3.038858)'))) / (select extract(epoch from '2026-07-22 07:26:28'::timestamp) - extract(epoch from '2026-07-22 07:26: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'), 47847, 'SRID=4674;POINT (-39.566125 -3.038843)', '2026-07-22 07:26:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566087 -3.038858)'), GeomFromEWKT('SRID=4674;POINT (-39.566125 -3.038843)'))) / (select extract(epoch from '2026-07-22 07:26:36'::timestamp) - extract(epoch from '2026-07-22 07:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566087 -3.038858)'), GeomFromEWKT('SRID=4674;POINT (-39.566125 -3.038843)'))) / (select extract(epoch from '2026-07-22 07:26:36'::timestamp) - extract(epoch from '2026-07-22 07:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566153 -3.038839)', '2026-07-22 07:26:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566125 -3.038843)'), GeomFromEWKT('SRID=4674;POINT (-39.566153 -3.038839)'))) / (select extract(epoch from '2026-07-22 07:26:40'::timestamp) - extract(epoch from '2026-07-22 07:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566125 -3.038843)'), GeomFromEWKT('SRID=4674;POINT (-39.566153 -3.038839)'))) / (select extract(epoch from '2026-07-22 07:26:40'::timestamp) - extract(epoch from '2026-07-22 07:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566162 -3.038833)', '2026-07-22 07:26:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566153 -3.038839)'), GeomFromEWKT('SRID=4674;POINT (-39.566162 -3.038833)'))) / (select extract(epoch from '2026-07-22 07:26:42'::timestamp) - extract(epoch from '2026-07-22 07:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566153 -3.038839)'), GeomFromEWKT('SRID=4674;POINT (-39.566162 -3.038833)'))) / (select extract(epoch from '2026-07-22 07:26:42'::timestamp) - extract(epoch from '2026-07-22 07:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566196 -3.038829)', '2026-07-22 07:26:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566162 -3.038833)'), GeomFromEWKT('SRID=4674;POINT (-39.566196 -3.038829)'))) / (select extract(epoch from '2026-07-22 07:26:50'::timestamp) - extract(epoch from '2026-07-22 07:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566162 -3.038833)'), GeomFromEWKT('SRID=4674;POINT (-39.566196 -3.038829)'))) / (select extract(epoch from '2026-07-22 07:26:50'::timestamp) - extract(epoch from '2026-07-22 07:26:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566211 -3.038802)', '2026-07-22 07:26:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566196 -3.038829)'), GeomFromEWKT('SRID=4674;POINT (-39.566211 -3.038802)'))) / (select extract(epoch from '2026-07-22 07:26:57'::timestamp) - extract(epoch from '2026-07-22 07:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566196 -3.038829)'), GeomFromEWKT('SRID=4674;POINT (-39.566211 -3.038802)'))) / (select extract(epoch from '2026-07-22 07:26:57'::timestamp) - extract(epoch from '2026-07-22 07:26: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'), 47847, 'SRID=4674;POINT (-39.566235 -3.038781)', '2026-07-22 07:27:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566211 -3.038802)'), GeomFromEWKT('SRID=4674;POINT (-39.566235 -3.038781)'))) / (select extract(epoch from '2026-07-22 07:27:07'::timestamp) - extract(epoch from '2026-07-22 07:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566211 -3.038802)'), GeomFromEWKT('SRID=4674;POINT (-39.566235 -3.038781)'))) / (select extract(epoch from '2026-07-22 07:27:07'::timestamp) - extract(epoch from '2026-07-22 07:26: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'), 47847, 'SRID=4674;POINT (-39.566256 -3.038768)', '2026-07-22 07:27:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566235 -3.038781)'), GeomFromEWKT('SRID=4674;POINT (-39.566256 -3.038768)'))) / (select extract(epoch from '2026-07-22 07:27:15'::timestamp) - extract(epoch from '2026-07-22 07:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566235 -3.038781)'), GeomFromEWKT('SRID=4674;POINT (-39.566256 -3.038768)'))) / (select extract(epoch from '2026-07-22 07:27:15'::timestamp) - extract(epoch from '2026-07-22 07:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56627 -3.038755)', '2026-07-22 07:27:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566256 -3.038768)'), GeomFromEWKT('SRID=4674;POINT (-39.56627 -3.038755)'))) / (select extract(epoch from '2026-07-22 07:27:20'::timestamp) - extract(epoch from '2026-07-22 07:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566256 -3.038768)'), GeomFromEWKT('SRID=4674;POINT (-39.56627 -3.038755)'))) / (select extract(epoch from '2026-07-22 07:27:20'::timestamp) - extract(epoch from '2026-07-22 07:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56628 -3.038749)', '2026-07-22 07:27:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56627 -3.038755)'), GeomFromEWKT('SRID=4674;POINT (-39.56628 -3.038749)'))) / (select extract(epoch from '2026-07-22 07:27:23'::timestamp) - extract(epoch from '2026-07-22 07:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56627 -3.038755)'), GeomFromEWKT('SRID=4674;POINT (-39.56628 -3.038749)'))) / (select extract(epoch from '2026-07-22 07:27:23'::timestamp) - extract(epoch from '2026-07-22 07:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566319 -3.038732)', '2026-07-22 07:27:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56628 -3.038749)'), GeomFromEWKT('SRID=4674;POINT (-39.566319 -3.038732)'))) / (select extract(epoch from '2026-07-22 07:27:35'::timestamp) - extract(epoch from '2026-07-22 07:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56628 -3.038749)'), GeomFromEWKT('SRID=4674;POINT (-39.566319 -3.038732)'))) / (select extract(epoch from '2026-07-22 07:27:35'::timestamp) - extract(epoch from '2026-07-22 07:27: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'), 47847, 'SRID=4674;POINT (-39.566359 -3.038715)', '2026-07-22 07:27:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566319 -3.038732)'), GeomFromEWKT('SRID=4674;POINT (-39.566359 -3.038715)'))) / (select extract(epoch from '2026-07-22 07:27:45'::timestamp) - extract(epoch from '2026-07-22 07:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566319 -3.038732)'), GeomFromEWKT('SRID=4674;POINT (-39.566359 -3.038715)'))) / (select extract(epoch from '2026-07-22 07:27:45'::timestamp) - extract(epoch from '2026-07-22 07:27: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'), 47847, 'SRID=4674;POINT (-39.566382 -3.038703)', '2026-07-22 07:27:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566359 -3.038715)'), GeomFromEWKT('SRID=4674;POINT (-39.566382 -3.038703)'))) / (select extract(epoch from '2026-07-22 07:27:52'::timestamp) - extract(epoch from '2026-07-22 07:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566359 -3.038715)'), GeomFromEWKT('SRID=4674;POINT (-39.566382 -3.038703)'))) / (select extract(epoch from '2026-07-22 07:27:52'::timestamp) - extract(epoch from '2026-07-22 07:27: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'), 47847, 'SRID=4674;POINT (-39.566413 -3.038689)', '2026-07-22 07:27:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566382 -3.038703)'), GeomFromEWKT('SRID=4674;POINT (-39.566413 -3.038689)'))) / (select extract(epoch from '2026-07-22 07:27:59'::timestamp) - extract(epoch from '2026-07-22 07:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566382 -3.038703)'), GeomFromEWKT('SRID=4674;POINT (-39.566413 -3.038689)'))) / (select extract(epoch from '2026-07-22 07:27:59'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.566442 -3.03867)', '2026-07-22 07:28:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566413 -3.038689)'), GeomFromEWKT('SRID=4674;POINT (-39.566442 -3.03867)'))) / (select extract(epoch from '2026-07-22 07:28:09'::timestamp) - extract(epoch from '2026-07-22 07:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566413 -3.038689)'), GeomFromEWKT('SRID=4674;POINT (-39.566442 -3.03867)'))) / (select extract(epoch from '2026-07-22 07:28:09'::timestamp) - extract(epoch from '2026-07-22 07:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566456 -3.03866)', '2026-07-22 07:28:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566442 -3.03867)'), GeomFromEWKT('SRID=4674;POINT (-39.566456 -3.03866)'))) / (select extract(epoch from '2026-07-22 07:28:18'::timestamp) - extract(epoch from '2026-07-22 07:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566442 -3.03867)'), GeomFromEWKT('SRID=4674;POINT (-39.566456 -3.03866)'))) / (select extract(epoch from '2026-07-22 07:28:18'::timestamp) - extract(epoch from '2026-07-22 07:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566514 -3.038676)', '2026-07-22 07:28:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566456 -3.03866)'), GeomFromEWKT('SRID=4674;POINT (-39.566514 -3.038676)'))) / (select extract(epoch from '2026-07-22 07:28:23'::timestamp) - extract(epoch from '2026-07-22 07:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566456 -3.03866)'), GeomFromEWKT('SRID=4674;POINT (-39.566514 -3.038676)'))) / (select extract(epoch from '2026-07-22 07:28:23'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47847, 'SRID=4674;POINT (-39.56652 -3.038683)', '2026-07-22 07:28:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566514 -3.038676)'), GeomFromEWKT('SRID=4674;POINT (-39.56652 -3.038683)'))) / (select extract(epoch from '2026-07-22 07:28:24'::timestamp) - extract(epoch from '2026-07-22 07:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566514 -3.038676)'), GeomFromEWKT('SRID=4674;POINT (-39.56652 -3.038683)'))) / (select extract(epoch from '2026-07-22 07:28:24'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47847, 'SRID=4674;POINT (-39.566544 -3.038745)', '2026-07-22 07:28:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56652 -3.038683)'), GeomFromEWKT('SRID=4674;POINT (-39.566544 -3.038745)'))) / (select extract(epoch from '2026-07-22 07:28:30'::timestamp) - extract(epoch from '2026-07-22 07:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56652 -3.038683)'), GeomFromEWKT('SRID=4674;POINT (-39.566544 -3.038745)'))) / (select extract(epoch from '2026-07-22 07:28:30'::timestamp) - extract(epoch from '2026-07-22 07:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566514 -3.038789)', '2026-07-22 07:28:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566544 -3.038745)'), GeomFromEWKT('SRID=4674;POINT (-39.566514 -3.038789)'))) / (select extract(epoch from '2026-07-22 07:28:36'::timestamp) - extract(epoch from '2026-07-22 07:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566544 -3.038745)'), GeomFromEWKT('SRID=4674;POINT (-39.566514 -3.038789)'))) / (select extract(epoch from '2026-07-22 07:28:36'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47847, 'SRID=4674;POINT (-39.566434 -3.038845)', '2026-07-22 07:28:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566514 -3.038789)'), GeomFromEWKT('SRID=4674;POINT (-39.566434 -3.038845)'))) / (select extract(epoch from '2026-07-22 07:28:44'::timestamp) - extract(epoch from '2026-07-22 07:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566514 -3.038789)'), GeomFromEWKT('SRID=4674;POINT (-39.566434 -3.038845)'))) / (select extract(epoch from '2026-07-22 07:28:44'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47847, 'SRID=4674;POINT (-39.566419 -3.03885)', '2026-07-22 07:28:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566434 -3.038845)'), GeomFromEWKT('SRID=4674;POINT (-39.566419 -3.03885)'))) / (select extract(epoch from '2026-07-22 07:28:45'::timestamp) - extract(epoch from '2026-07-22 07:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566434 -3.038845)'), GeomFromEWKT('SRID=4674;POINT (-39.566419 -3.03885)'))) / (select extract(epoch from '2026-07-22 07:28:45'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47847, 'SRID=4674;POINT (-39.566337 -3.03888)', '2026-07-22 07:28:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566419 -3.03885)'), GeomFromEWKT('SRID=4674;POINT (-39.566337 -3.03888)'))) / (select extract(epoch from '2026-07-22 07:28:52'::timestamp) - extract(epoch from '2026-07-22 07:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566419 -3.03885)'), GeomFromEWKT('SRID=4674;POINT (-39.566337 -3.03888)'))) / (select extract(epoch from '2026-07-22 07:28:52'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.566276 -3.038919)', '2026-07-22 07:28:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566337 -3.03888)'), GeomFromEWKT('SRID=4674;POINT (-39.566276 -3.038919)'))) / (select extract(epoch from '2026-07-22 07:28:57'::timestamp) - extract(epoch from '2026-07-22 07:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566337 -3.03888)'), GeomFromEWKT('SRID=4674;POINT (-39.566276 -3.038919)'))) / (select extract(epoch from '2026-07-22 07:28:57'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.566202 -3.038979)', '2026-07-22 07:29:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566276 -3.038919)'), GeomFromEWKT('SRID=4674;POINT (-39.566202 -3.038979)'))) / (select extract(epoch from '2026-07-22 07:29:03'::timestamp) - extract(epoch from '2026-07-22 07:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566276 -3.038919)'), GeomFromEWKT('SRID=4674;POINT (-39.566202 -3.038979)'))) / (select extract(epoch from '2026-07-22 07:29:03'::timestamp) - extract(epoch from '2026-07-22 07:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566126 -3.039048)', '2026-07-22 07:29:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566202 -3.038979)'), GeomFromEWKT('SRID=4674;POINT (-39.566126 -3.039048)'))) / (select extract(epoch from '2026-07-22 07:29:10'::timestamp) - extract(epoch from '2026-07-22 07:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566202 -3.038979)'), GeomFromEWKT('SRID=4674;POINT (-39.566126 -3.039048)'))) / (select extract(epoch from '2026-07-22 07:29:10'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47847, 'SRID=4674;POINT (-39.566044 -3.039089)', '2026-07-22 07:29:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566126 -3.039048)'), GeomFromEWKT('SRID=4674;POINT (-39.566044 -3.039089)'))) / (select extract(epoch from '2026-07-22 07:29:17'::timestamp) - extract(epoch from '2026-07-22 07:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566126 -3.039048)'), GeomFromEWKT('SRID=4674;POINT (-39.566044 -3.039089)'))) / (select extract(epoch from '2026-07-22 07:29:17'::timestamp) - extract(epoch from '2026-07-22 07:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565938 -3.039104)', '2026-07-22 07:29:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566044 -3.039089)'), GeomFromEWKT('SRID=4674;POINT (-39.565938 -3.039104)'))) / (select extract(epoch from '2026-07-22 07:29:25'::timestamp) - extract(epoch from '2026-07-22 07:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566044 -3.039089)'), GeomFromEWKT('SRID=4674;POINT (-39.565938 -3.039104)'))) / (select extract(epoch from '2026-07-22 07:29:25'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47847, 'SRID=4674;POINT (-39.565855 -3.039108)', '2026-07-22 07:29:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565938 -3.039104)'), GeomFromEWKT('SRID=4674;POINT (-39.565855 -3.039108)'))) / (select extract(epoch from '2026-07-22 07:29:31'::timestamp) - extract(epoch from '2026-07-22 07:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565938 -3.039104)'), GeomFromEWKT('SRID=4674;POINT (-39.565855 -3.039108)'))) / (select extract(epoch from '2026-07-22 07:29:31'::timestamp) - extract(epoch from '2026-07-22 07:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565771 -3.039095)', '2026-07-22 07:29:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565855 -3.039108)'), GeomFromEWKT('SRID=4674;POINT (-39.565771 -3.039095)'))) / (select extract(epoch from '2026-07-22 07:29:37'::timestamp) - extract(epoch from '2026-07-22 07:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565855 -3.039108)'), GeomFromEWKT('SRID=4674;POINT (-39.565771 -3.039095)'))) / (select extract(epoch from '2026-07-22 07:29:37'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47847, 'SRID=4674;POINT (-39.565719 -3.039106)', '2026-07-22 07:29:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565771 -3.039095)'), GeomFromEWKT('SRID=4674;POINT (-39.565719 -3.039106)'))) / (select extract(epoch from '2026-07-22 07:29:43'::timestamp) - extract(epoch from '2026-07-22 07:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565771 -3.039095)'), GeomFromEWKT('SRID=4674;POINT (-39.565719 -3.039106)'))) / (select extract(epoch from '2026-07-22 07:29:43'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47847, 'SRID=4674;POINT (-39.565682 -3.039113)', '2026-07-22 07:29:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565719 -3.039106)'), GeomFromEWKT('SRID=4674;POINT (-39.565682 -3.039113)'))) / (select extract(epoch from '2026-07-22 07:29:50'::timestamp) - extract(epoch from '2026-07-22 07:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565719 -3.039106)'), GeomFromEWKT('SRID=4674;POINT (-39.565682 -3.039113)'))) / (select extract(epoch from '2026-07-22 07:29:50'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47847, 'SRID=4674;POINT (-39.565727 -3.039096)', '2026-07-22 07:30:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565682 -3.039113)'), GeomFromEWKT('SRID=4674;POINT (-39.565727 -3.039096)'))) / (select extract(epoch from '2026-07-22 07:30:18'::timestamp) - extract(epoch from '2026-07-22 07:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565682 -3.039113)'), GeomFromEWKT('SRID=4674;POINT (-39.565727 -3.039096)'))) / (select extract(epoch from '2026-07-22 07:30:18'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47847, 'SRID=4674;POINT (-39.565751 -3.039078)', '2026-07-22 07:30:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565727 -3.039096)'), GeomFromEWKT('SRID=4674;POINT (-39.565751 -3.039078)'))) / (select extract(epoch from '2026-07-22 07:30:25'::timestamp) - extract(epoch from '2026-07-22 07:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565727 -3.039096)'), GeomFromEWKT('SRID=4674;POINT (-39.565751 -3.039078)'))) / (select extract(epoch from '2026-07-22 07:30:25'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.565776 -3.039068)', '2026-07-22 07:30:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565751 -3.039078)'), GeomFromEWKT('SRID=4674;POINT (-39.565776 -3.039068)'))) / (select extract(epoch from '2026-07-22 07:30:31'::timestamp) - extract(epoch from '2026-07-22 07:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565751 -3.039078)'), GeomFromEWKT('SRID=4674;POINT (-39.565776 -3.039068)'))) / (select extract(epoch from '2026-07-22 07:30:31'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.565799 -3.039056)', '2026-07-22 07:30:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565776 -3.039068)'), GeomFromEWKT('SRID=4674;POINT (-39.565799 -3.039056)'))) / (select extract(epoch from '2026-07-22 07:30:38'::timestamp) - extract(epoch from '2026-07-22 07:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565776 -3.039068)'), GeomFromEWKT('SRID=4674;POINT (-39.565799 -3.039056)'))) / (select extract(epoch from '2026-07-22 07:30:38'::timestamp) - extract(epoch from '2026-07-22 07:30: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'), 47847, 'SRID=4674;POINT (-39.565815 -3.039052)', '2026-07-22 07:30:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565799 -3.039056)'), GeomFromEWKT('SRID=4674;POINT (-39.565815 -3.039052)'))) / (select extract(epoch from '2026-07-22 07:30:49'::timestamp) - extract(epoch from '2026-07-22 07:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565799 -3.039056)'), GeomFromEWKT('SRID=4674;POINT (-39.565815 -3.039052)'))) / (select extract(epoch from '2026-07-22 07:30:49'::timestamp) - extract(epoch from '2026-07-22 07:30: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'), 47847, 'SRID=4674;POINT (-39.565861 -3.039057)', '2026-07-22 07:30:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565815 -3.039052)'), GeomFromEWKT('SRID=4674;POINT (-39.565861 -3.039057)'))) / (select extract(epoch from '2026-07-22 07:30:58'::timestamp) - extract(epoch from '2026-07-22 07:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565815 -3.039052)'), GeomFromEWKT('SRID=4674;POINT (-39.565861 -3.039057)'))) / (select extract(epoch from '2026-07-22 07:30:58'::timestamp) - extract(epoch from '2026-07-22 07:30:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565877 -3.039069)', '2026-07-22 07:31:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565861 -3.039057)'), GeomFromEWKT('SRID=4674;POINT (-39.565877 -3.039069)'))) / (select extract(epoch from '2026-07-22 07:31:54'::timestamp) - extract(epoch from '2026-07-22 07:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565861 -3.039057)'), GeomFromEWKT('SRID=4674;POINT (-39.565877 -3.039069)'))) / (select extract(epoch from '2026-07-22 07:31:54'::timestamp) - extract(epoch from '2026-07-22 07:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.565953 -3.039034)', '2026-07-22 07:32:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565877 -3.039069)'), GeomFromEWKT('SRID=4674;POINT (-39.565953 -3.039034)'))) / (select extract(epoch from '2026-07-22 07:32:25'::timestamp) - extract(epoch from '2026-07-22 07:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565877 -3.039069)'), GeomFromEWKT('SRID=4674;POINT (-39.565953 -3.039034)'))) / (select extract(epoch from '2026-07-22 07:32:25'::timestamp) - extract(epoch from '2026-07-22 07:31: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'), 47847, 'SRID=4674;POINT (-39.565975 -3.03903)', '2026-07-22 07:32:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565953 -3.039034)'), GeomFromEWKT('SRID=4674;POINT (-39.565975 -3.03903)'))) / (select extract(epoch from '2026-07-22 07:32:37'::timestamp) - extract(epoch from '2026-07-22 07:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565953 -3.039034)'), GeomFromEWKT('SRID=4674;POINT (-39.565975 -3.03903)'))) / (select extract(epoch from '2026-07-22 07:32:37'::timestamp) - extract(epoch from '2026-07-22 07:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566009 -3.038998)', '2026-07-22 07:32:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565975 -3.03903)'), GeomFromEWKT('SRID=4674;POINT (-39.566009 -3.038998)'))) / (select extract(epoch from '2026-07-22 07:32:43'::timestamp) - extract(epoch from '2026-07-22 07:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.565975 -3.03903)'), GeomFromEWKT('SRID=4674;POINT (-39.566009 -3.038998)'))) / (select extract(epoch from '2026-07-22 07:32:43'::timestamp) - extract(epoch from '2026-07-22 07:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566032 -3.038985)', '2026-07-22 07:32:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566009 -3.038998)'), GeomFromEWKT('SRID=4674;POINT (-39.566032 -3.038985)'))) / (select extract(epoch from '2026-07-22 07:32:49'::timestamp) - extract(epoch from '2026-07-22 07:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566009 -3.038998)'), GeomFromEWKT('SRID=4674;POINT (-39.566032 -3.038985)'))) / (select extract(epoch from '2026-07-22 07:32:49'::timestamp) - extract(epoch from '2026-07-22 07:32: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'), 47847, 'SRID=4674;POINT (-39.566046 -3.038979)', '2026-07-22 07:32:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566032 -3.038985)'), GeomFromEWKT('SRID=4674;POINT (-39.566046 -3.038979)'))) / (select extract(epoch from '2026-07-22 07:32:55'::timestamp) - extract(epoch from '2026-07-22 07:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566032 -3.038985)'), GeomFromEWKT('SRID=4674;POINT (-39.566046 -3.038979)'))) / (select extract(epoch from '2026-07-22 07:32:55'::timestamp) - extract(epoch from '2026-07-22 07:32: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'), 47847, 'SRID=4674;POINT (-39.566082 -3.038966)', '2026-07-22 07:33:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566046 -3.038979)'), GeomFromEWKT('SRID=4674;POINT (-39.566082 -3.038966)'))) / (select extract(epoch from '2026-07-22 07:33:03'::timestamp) - extract(epoch from '2026-07-22 07:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566046 -3.038979)'), GeomFromEWKT('SRID=4674;POINT (-39.566082 -3.038966)'))) / (select extract(epoch from '2026-07-22 07:33:03'::timestamp) - extract(epoch from '2026-07-22 07:32: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'), 47847, 'SRID=4674;POINT (-39.566147 -3.038913)', '2026-07-22 07:33:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566082 -3.038966)'), GeomFromEWKT('SRID=4674;POINT (-39.566147 -3.038913)'))) / (select extract(epoch from '2026-07-22 07:33:23'::timestamp) - extract(epoch from '2026-07-22 07:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566082 -3.038966)'), GeomFromEWKT('SRID=4674;POINT (-39.566147 -3.038913)'))) / (select extract(epoch from '2026-07-22 07:33:23'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47847, 'SRID=4674;POINT (-39.566185 -3.038895)', '2026-07-22 07:33:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566147 -3.038913)'), GeomFromEWKT('SRID=4674;POINT (-39.566185 -3.038895)'))) / (select extract(epoch from '2026-07-22 07:33:36'::timestamp) - extract(epoch from '2026-07-22 07:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566147 -3.038913)'), GeomFromEWKT('SRID=4674;POINT (-39.566185 -3.038895)'))) / (select extract(epoch from '2026-07-22 07:33:36'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47847, 'SRID=4674;POINT (-39.566215 -3.038862)', '2026-07-22 07:33:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566185 -3.038895)'), GeomFromEWKT('SRID=4674;POINT (-39.566215 -3.038862)'))) / (select extract(epoch from '2026-07-22 07:33:48'::timestamp) - extract(epoch from '2026-07-22 07:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566185 -3.038895)'), GeomFromEWKT('SRID=4674;POINT (-39.566215 -3.038862)'))) / (select extract(epoch from '2026-07-22 07:33:48'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47847, 'SRID=4674;POINT (-39.566215 -3.038863)', '2026-07-22 07:34:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566215 -3.038862)'), GeomFromEWKT('SRID=4674;POINT (-39.566215 -3.038863)'))) / (select extract(epoch from '2026-07-22 07:34:01'::timestamp) - extract(epoch from '2026-07-22 07:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566215 -3.038862)'), GeomFromEWKT('SRID=4674;POINT (-39.566215 -3.038863)'))) / (select extract(epoch from '2026-07-22 07:34:01'::timestamp) - extract(epoch from '2026-07-22 07:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566228 -3.038827)', '2026-07-22 07:34:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566215 -3.038863)'), GeomFromEWKT('SRID=4674;POINT (-39.566228 -3.038827)'))) / (select extract(epoch from '2026-07-22 07:34:06'::timestamp) - extract(epoch from '2026-07-22 07:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566215 -3.038863)'), GeomFromEWKT('SRID=4674;POINT (-39.566228 -3.038827)'))) / (select extract(epoch from '2026-07-22 07:34:06'::timestamp) - extract(epoch from '2026-07-22 07:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.56625 -3.038811)', '2026-07-22 07:34:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566228 -3.038827)'), GeomFromEWKT('SRID=4674;POINT (-39.56625 -3.038811)'))) / (select extract(epoch from '2026-07-22 07:34:13'::timestamp) - extract(epoch from '2026-07-22 07:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566228 -3.038827)'), GeomFromEWKT('SRID=4674;POINT (-39.56625 -3.038811)'))) / (select extract(epoch from '2026-07-22 07:34:13'::timestamp) - extract(epoch from '2026-07-22 07:34:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566269 -3.038803)', '2026-07-22 07:34:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56625 -3.038811)'), GeomFromEWKT('SRID=4674;POINT (-39.566269 -3.038803)'))) / (select extract(epoch from '2026-07-22 07:34:21'::timestamp) - extract(epoch from '2026-07-22 07:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56625 -3.038811)'), GeomFromEWKT('SRID=4674;POINT (-39.566269 -3.038803)'))) / (select extract(epoch from '2026-07-22 07:34:21'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.566305 -3.038788)', '2026-07-22 07:34:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566269 -3.038803)'), GeomFromEWKT('SRID=4674;POINT (-39.566305 -3.038788)'))) / (select extract(epoch from '2026-07-22 07:34:37'::timestamp) - extract(epoch from '2026-07-22 07:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566269 -3.038803)'), GeomFromEWKT('SRID=4674;POINT (-39.566305 -3.038788)'))) / (select extract(epoch from '2026-07-22 07:34:37'::timestamp) - extract(epoch from '2026-07-22 07:34: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'), 47847, 'SRID=4674;POINT (-39.566329 -3.038818)', '2026-07-22 07:35:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566305 -3.038788)'), GeomFromEWKT('SRID=4674;POINT (-39.566329 -3.038818)'))) / (select extract(epoch from '2026-07-22 07:35:05'::timestamp) - extract(epoch from '2026-07-22 07:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566305 -3.038788)'), GeomFromEWKT('SRID=4674;POINT (-39.566329 -3.038818)'))) / (select extract(epoch from '2026-07-22 07:35:05'::timestamp) - extract(epoch from '2026-07-22 07:34: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'), 47847, 'SRID=4674;POINT (-39.566336 -3.038823)', '2026-07-22 07:35:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566329 -3.038818)'), GeomFromEWKT('SRID=4674;POINT (-39.566336 -3.038823)'))) / (select extract(epoch from '2026-07-22 07:35:14'::timestamp) - extract(epoch from '2026-07-22 07:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566329 -3.038818)'), GeomFromEWKT('SRID=4674;POINT (-39.566336 -3.038823)'))) / (select extract(epoch from '2026-07-22 07:35:14'::timestamp) - extract(epoch from '2026-07-22 07:35: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'), 47847, 'SRID=4674;POINT (-39.566341 -3.038834)', '2026-07-22 07:35:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566336 -3.038823)'), GeomFromEWKT('SRID=4674;POINT (-39.566341 -3.038834)'))) / (select extract(epoch from '2026-07-22 07:35:43'::timestamp) - extract(epoch from '2026-07-22 07:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566336 -3.038823)'), GeomFromEWKT('SRID=4674;POINT (-39.566341 -3.038834)'))) / (select extract(epoch from '2026-07-22 07:35:43'::timestamp) - extract(epoch from '2026-07-22 07:35: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'), 47847, 'SRID=4674;POINT (-39.566353 -3.038839)', '2026-07-22 07:36:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566341 -3.038834)'), GeomFromEWKT('SRID=4674;POINT (-39.566353 -3.038839)'))) / (select extract(epoch from '2026-07-22 07:36:04'::timestamp) - extract(epoch from '2026-07-22 07:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566341 -3.038834)'), GeomFromEWKT('SRID=4674;POINT (-39.566353 -3.038839)'))) / (select extract(epoch from '2026-07-22 07:36:04'::timestamp) - extract(epoch from '2026-07-22 07:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566363 -3.038852)', '2026-07-22 07:36:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566353 -3.038839)'), GeomFromEWKT('SRID=4674;POINT (-39.566363 -3.038852)'))) / (select extract(epoch from '2026-07-22 07:36:37'::timestamp) - extract(epoch from '2026-07-22 07:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566353 -3.038839)'), GeomFromEWKT('SRID=4674;POINT (-39.566363 -3.038852)'))) / (select extract(epoch from '2026-07-22 07:36:37'::timestamp) - extract(epoch from '2026-07-22 07:36: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'), 47847, 'SRID=4674;POINT (-39.566359 -3.038862)', '2026-07-22 07:37:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566363 -3.038852)'), GeomFromEWKT('SRID=4674;POINT (-39.566359 -3.038862)'))) / (select extract(epoch from '2026-07-22 07:37:07'::timestamp) - extract(epoch from '2026-07-22 07:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566363 -3.038852)'), GeomFromEWKT('SRID=4674;POINT (-39.566359 -3.038862)'))) / (select extract(epoch from '2026-07-22 07:37:07'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47847, 'SRID=4674;POINT (-39.566374 -3.038878)', '2026-07-22 07:37:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566359 -3.038862)'), GeomFromEWKT('SRID=4674;POINT (-39.566374 -3.038878)'))) / (select extract(epoch from '2026-07-22 07:37:27'::timestamp) - extract(epoch from '2026-07-22 07:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566359 -3.038862)'), GeomFromEWKT('SRID=4674;POINT (-39.566374 -3.038878)'))) / (select extract(epoch from '2026-07-22 07:37:27'::timestamp) - extract(epoch from '2026-07-22 07:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47847, 'SRID=4674;POINT (-39.566356 -3.038912)', '2026-07-22 07:37:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566374 -3.038878)'), GeomFromEWKT('SRID=4674;POINT (-39.566356 -3.038912)'))) / (select extract(epoch from '2026-07-22 07:37:43'::timestamp) - extract(epoch from '2026-07-22 07:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566374 -3.038878)'), GeomFromEWKT('SRID=4674;POINT (-39.566356 -3.038912)'))) / (select extract(epoch from '2026-07-22 07:37:43'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47847, 'SRID=4674;POINT (-39.566302 -3.038917)', '2026-07-22 07:38:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566356 -3.038912)'), GeomFromEWKT('SRID=4674;POINT (-39.566302 -3.038917)'))) / (select extract(epoch from '2026-07-22 07:38:00'::timestamp) - extract(epoch from '2026-07-22 07:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566356 -3.038912)'), GeomFromEWKT('SRID=4674;POINT (-39.566302 -3.038917)'))) / (select extract(epoch from '2026-07-22 07:38:00'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47847, 'SRID=4674;POINT (-39.566282 -3.038925)', '2026-07-22 07:38:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566302 -3.038917)'), GeomFromEWKT('SRID=4674;POINT (-39.566282 -3.038925)'))) / (select extract(epoch from '2026-07-22 07:38:07'::timestamp) - extract(epoch from '2026-07-22 07:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566302 -3.038917)'), GeomFromEWKT('SRID=4674;POINT (-39.566282 -3.038925)'))) / (select extract(epoch from '2026-07-22 07:38:07'::timestamp) - extract(epoch from '2026-07-22 07:38: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'), 47847, 'SRID=4674;POINT (-39.566256 -3.038936)', '2026-07-22 07:38:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566282 -3.038925)'), GeomFromEWKT('SRID=4674;POINT (-39.566256 -3.038936)'))) / (select extract(epoch from '2026-07-22 07:38:14'::timestamp) - extract(epoch from '2026-07-22 07:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566282 -3.038925)'), GeomFromEWKT('SRID=4674;POINT (-39.566256 -3.038936)'))) / (select extract(epoch from '2026-07-22 07:38:14'::timestamp) - extract(epoch from '2026-07-22 07:38: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'), 47847, 'SRID=4674;POINT (-39.566276 -3.038929)', '2026-07-22 07:38:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566256 -3.038936)'), GeomFromEWKT('SRID=4674;POINT (-39.566276 -3.038929)'))) / (select extract(epoch from '2026-07-22 07:38:27'::timestamp) - extract(epoch from '2026-07-22 07:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.566256 -3.038936)'), GeomFromEWKT('SRID=4674;POINT (-39.566276 -3.038929)'))) / (select extract(epoch from '2026-07-22 07:38:27'::timestamp) - extract(epoch from '2026-07-22 07:38:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
