 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.362454 -3.386609)', '2026-07-13 09:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362448 -3.386525)'), GeomFromEWKT('SRID=4674;POINT (-38.362454 -3.386609)'))) / (select extract(epoch from '2026-07-13 09:41:31'::timestamp) - extract(epoch from '2026-07-13 09:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362448 -3.386525)'), GeomFromEWKT('SRID=4674;POINT (-38.362454 -3.386609)'))) / (select extract(epoch from '2026-07-13 09:41:31'::timestamp) - extract(epoch from '2026-07-13 09:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.362454 -3.386618)', '2026-07-13 09:41:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362454 -3.386609)'), GeomFromEWKT('SRID=4674;POINT (-38.362454 -3.386618)'))) / (select extract(epoch from '2026-07-13 09:41:32'::timestamp) - extract(epoch from '2026-07-13 09:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362454 -3.386609)'), GeomFromEWKT('SRID=4674;POINT (-38.362454 -3.386618)'))) / (select extract(epoch from '2026-07-13 09:41:32'::timestamp) - extract(epoch from '2026-07-13 09:41:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.362471 -3.38666)', '2026-07-13 09:41:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362454 -3.386618)'), GeomFromEWKT('SRID=4674;POINT (-38.362471 -3.38666)'))) / (select extract(epoch from '2026-07-13 09:41:35'::timestamp) - extract(epoch from '2026-07-13 09:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362454 -3.386618)'), GeomFromEWKT('SRID=4674;POINT (-38.362471 -3.38666)'))) / (select extract(epoch from '2026-07-13 09:41:35'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47392, 'SRID=4674;POINT (-38.36247 -3.386673)', '2026-07-13 09:41:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362471 -3.38666)'), GeomFromEWKT('SRID=4674;POINT (-38.36247 -3.386673)'))) / (select extract(epoch from '2026-07-13 09:41:36'::timestamp) - extract(epoch from '2026-07-13 09:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362471 -3.38666)'), GeomFromEWKT('SRID=4674;POINT (-38.36247 -3.386673)'))) / (select extract(epoch from '2026-07-13 09:41:36'::timestamp) - extract(epoch from '2026-07-13 09:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.362488 -3.386749)', '2026-07-13 09:41:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36247 -3.386673)'), GeomFromEWKT('SRID=4674;POINT (-38.362488 -3.386749)'))) / (select extract(epoch from '2026-07-13 09:41:41'::timestamp) - extract(epoch from '2026-07-13 09:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36247 -3.386673)'), GeomFromEWKT('SRID=4674;POINT (-38.362488 -3.386749)'))) / (select extract(epoch from '2026-07-13 09:41:41'::timestamp) - extract(epoch from '2026-07-13 09:41:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.362511 -3.386834)', '2026-07-13 09:41:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362488 -3.386749)'), GeomFromEWKT('SRID=4674;POINT (-38.362511 -3.386834)'))) / (select extract(epoch from '2026-07-13 09:41:47'::timestamp) - extract(epoch from '2026-07-13 09:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362488 -3.386749)'), GeomFromEWKT('SRID=4674;POINT (-38.362511 -3.386834)'))) / (select extract(epoch from '2026-07-13 09:41:47'::timestamp) - extract(epoch from '2026-07-13 09:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36252 -3.386938)', '2026-07-13 09:41:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362511 -3.386834)'), GeomFromEWKT('SRID=4674;POINT (-38.36252 -3.386938)'))) / (select extract(epoch from '2026-07-13 09:41:54'::timestamp) - extract(epoch from '2026-07-13 09:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362511 -3.386834)'), GeomFromEWKT('SRID=4674;POINT (-38.36252 -3.386938)'))) / (select extract(epoch from '2026-07-13 09:41:54'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47392, 'SRID=4674;POINT (-38.362541 -3.38701)', '2026-07-13 09:41:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36252 -3.386938)'), GeomFromEWKT('SRID=4674;POINT (-38.362541 -3.38701)'))) / (select extract(epoch from '2026-07-13 09:41:59'::timestamp) - extract(epoch from '2026-07-13 09:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36252 -3.386938)'), GeomFromEWKT('SRID=4674;POINT (-38.362541 -3.38701)'))) / (select extract(epoch from '2026-07-13 09:41:59'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47392, 'SRID=4674;POINT (-38.362562 -3.387099)', '2026-07-13 09:42:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362541 -3.38701)'), GeomFromEWKT('SRID=4674;POINT (-38.362562 -3.387099)'))) / (select extract(epoch from '2026-07-13 09:42:05'::timestamp) - extract(epoch from '2026-07-13 09:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362541 -3.38701)'), GeomFromEWKT('SRID=4674;POINT (-38.362562 -3.387099)'))) / (select extract(epoch from '2026-07-13 09:42:05'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47392, 'SRID=4674;POINT (-38.362588 -3.387214)', '2026-07-13 09:42:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362562 -3.387099)'), GeomFromEWKT('SRID=4674;POINT (-38.362588 -3.387214)'))) / (select extract(epoch from '2026-07-13 09:42:12'::timestamp) - extract(epoch from '2026-07-13 09:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362562 -3.387099)'), GeomFromEWKT('SRID=4674;POINT (-38.362588 -3.387214)'))) / (select extract(epoch from '2026-07-13 09:42:12'::timestamp) - extract(epoch from '2026-07-13 09:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.362609 -3.387315)', '2026-07-13 09:42:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362588 -3.387214)'), GeomFromEWKT('SRID=4674;POINT (-38.362609 -3.387315)'))) / (select extract(epoch from '2026-07-13 09:42:18'::timestamp) - extract(epoch from '2026-07-13 09:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362588 -3.387214)'), GeomFromEWKT('SRID=4674;POINT (-38.362609 -3.387315)'))) / (select extract(epoch from '2026-07-13 09:42:18'::timestamp) - extract(epoch from '2026-07-13 09:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.362637 -3.387392)', '2026-07-13 09:42:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362609 -3.387315)'), GeomFromEWKT('SRID=4674;POINT (-38.362637 -3.387392)'))) / (select extract(epoch from '2026-07-13 09:42:23'::timestamp) - extract(epoch from '2026-07-13 09:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362609 -3.387315)'), GeomFromEWKT('SRID=4674;POINT (-38.362637 -3.387392)'))) / (select extract(epoch from '2026-07-13 09:42:23'::timestamp) - extract(epoch from '2026-07-13 09:42: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'), 47392, 'SRID=4674;POINT (-38.362671 -3.387488)', '2026-07-13 09:42:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362637 -3.387392)'), GeomFromEWKT('SRID=4674;POINT (-38.362671 -3.387488)'))) / (select extract(epoch from '2026-07-13 09:42:29'::timestamp) - extract(epoch from '2026-07-13 09:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362637 -3.387392)'), GeomFromEWKT('SRID=4674;POINT (-38.362671 -3.387488)'))) / (select extract(epoch from '2026-07-13 09:42:29'::timestamp) - extract(epoch from '2026-07-13 09:42: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'), 47392, 'SRID=4674;POINT (-38.362692 -3.387582)', '2026-07-13 09:42:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362671 -3.387488)'), GeomFromEWKT('SRID=4674;POINT (-38.362692 -3.387582)'))) / (select extract(epoch from '2026-07-13 09:42:35'::timestamp) - extract(epoch from '2026-07-13 09:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362671 -3.387488)'), GeomFromEWKT('SRID=4674;POINT (-38.362692 -3.387582)'))) / (select extract(epoch from '2026-07-13 09:42:35'::timestamp) - extract(epoch from '2026-07-13 09:42: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'), 47392, 'SRID=4674;POINT (-38.362717 -3.387679)', '2026-07-13 09:42:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362692 -3.387582)'), GeomFromEWKT('SRID=4674;POINT (-38.362717 -3.387679)'))) / (select extract(epoch from '2026-07-13 09:42:41'::timestamp) - extract(epoch from '2026-07-13 09:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362692 -3.387582)'), GeomFromEWKT('SRID=4674;POINT (-38.362717 -3.387679)'))) / (select extract(epoch from '2026-07-13 09:42:41'::timestamp) - extract(epoch from '2026-07-13 09:42: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'), 47392, 'SRID=4674;POINT (-38.362739 -3.387789)', '2026-07-13 09:42:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362717 -3.387679)'), GeomFromEWKT('SRID=4674;POINT (-38.362739 -3.387789)'))) / (select extract(epoch from '2026-07-13 09:42:48'::timestamp) - extract(epoch from '2026-07-13 09:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362717 -3.387679)'), GeomFromEWKT('SRID=4674;POINT (-38.362739 -3.387789)'))) / (select extract(epoch from '2026-07-13 09:42:48'::timestamp) - extract(epoch from '2026-07-13 09:42: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'), 47392, 'SRID=4674;POINT (-38.36276 -3.387888)', '2026-07-13 09:42:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362739 -3.387789)'), GeomFromEWKT('SRID=4674;POINT (-38.36276 -3.387888)'))) / (select extract(epoch from '2026-07-13 09:42:55'::timestamp) - extract(epoch from '2026-07-13 09:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362739 -3.387789)'), GeomFromEWKT('SRID=4674;POINT (-38.36276 -3.387888)'))) / (select extract(epoch from '2026-07-13 09:42:55'::timestamp) - extract(epoch from '2026-07-13 09:42: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'), 47392, 'SRID=4674;POINT (-38.362802 -3.387983)', '2026-07-13 09:43:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36276 -3.387888)'), GeomFromEWKT('SRID=4674;POINT (-38.362802 -3.387983)'))) / (select extract(epoch from '2026-07-13 09:43:01'::timestamp) - extract(epoch from '2026-07-13 09:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36276 -3.387888)'), GeomFromEWKT('SRID=4674;POINT (-38.362802 -3.387983)'))) / (select extract(epoch from '2026-07-13 09:43:01'::timestamp) - extract(epoch from '2026-07-13 09:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.362845 -3.38809)', '2026-07-13 09:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362802 -3.387983)'), GeomFromEWKT('SRID=4674;POINT (-38.362845 -3.38809)'))) / (select extract(epoch from '2026-07-13 09:43:08'::timestamp) - extract(epoch from '2026-07-13 09:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362802 -3.387983)'), GeomFromEWKT('SRID=4674;POINT (-38.362845 -3.38809)'))) / (select extract(epoch from '2026-07-13 09:43:08'::timestamp) - extract(epoch from '2026-07-13 09:43: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'), 47392, 'SRID=4674;POINT (-38.362875 -3.388201)', '2026-07-13 09:43:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362845 -3.38809)'), GeomFromEWKT('SRID=4674;POINT (-38.362875 -3.388201)'))) / (select extract(epoch from '2026-07-13 09:43:15'::timestamp) - extract(epoch from '2026-07-13 09:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362845 -3.38809)'), GeomFromEWKT('SRID=4674;POINT (-38.362875 -3.388201)'))) / (select extract(epoch from '2026-07-13 09:43:15'::timestamp) - extract(epoch from '2026-07-13 09:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.362909 -3.388309)', '2026-07-13 09:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362875 -3.388201)'), GeomFromEWKT('SRID=4674;POINT (-38.362909 -3.388309)'))) / (select extract(epoch from '2026-07-13 09:43:22'::timestamp) - extract(epoch from '2026-07-13 09:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362875 -3.388201)'), GeomFromEWKT('SRID=4674;POINT (-38.362909 -3.388309)'))) / (select extract(epoch from '2026-07-13 09:43:22'::timestamp) - extract(epoch from '2026-07-13 09:43:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.362939 -3.388407)', '2026-07-13 09:43:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362909 -3.388309)'), GeomFromEWKT('SRID=4674;POINT (-38.362939 -3.388407)'))) / (select extract(epoch from '2026-07-13 09:43:28'::timestamp) - extract(epoch from '2026-07-13 09:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362909 -3.388309)'), GeomFromEWKT('SRID=4674;POINT (-38.362939 -3.388407)'))) / (select extract(epoch from '2026-07-13 09:43:28'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.362958 -3.388494)', '2026-07-13 09:43:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362939 -3.388407)'), GeomFromEWKT('SRID=4674;POINT (-38.362958 -3.388494)'))) / (select extract(epoch from '2026-07-13 09:43:34'::timestamp) - extract(epoch from '2026-07-13 09:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362939 -3.388407)'), GeomFromEWKT('SRID=4674;POINT (-38.362958 -3.388494)'))) / (select extract(epoch from '2026-07-13 09:43:34'::timestamp) - extract(epoch from '2026-07-13 09:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.362983 -3.388565)', '2026-07-13 09:43:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362958 -3.388494)'), GeomFromEWKT('SRID=4674;POINT (-38.362983 -3.388565)'))) / (select extract(epoch from '2026-07-13 09:43:39'::timestamp) - extract(epoch from '2026-07-13 09:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362958 -3.388494)'), GeomFromEWKT('SRID=4674;POINT (-38.362983 -3.388565)'))) / (select extract(epoch from '2026-07-13 09:43:39'::timestamp) - extract(epoch from '2026-07-13 09:43:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363 -3.388666)', '2026-07-13 09:43:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362983 -3.388565)'), GeomFromEWKT('SRID=4674;POINT (-38.363 -3.388666)'))) / (select extract(epoch from '2026-07-13 09:43:46'::timestamp) - extract(epoch from '2026-07-13 09:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362983 -3.388565)'), GeomFromEWKT('SRID=4674;POINT (-38.363 -3.388666)'))) / (select extract(epoch from '2026-07-13 09:43:46'::timestamp) - extract(epoch from '2026-07-13 09:43:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363021 -3.38875)', '2026-07-13 09:43:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363 -3.388666)'), GeomFromEWKT('SRID=4674;POINT (-38.363021 -3.38875)'))) / (select extract(epoch from '2026-07-13 09:43:52'::timestamp) - extract(epoch from '2026-07-13 09:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363 -3.388666)'), GeomFromEWKT('SRID=4674;POINT (-38.363021 -3.38875)'))) / (select extract(epoch from '2026-07-13 09:43:52'::timestamp) - extract(epoch from '2026-07-13 09:43: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'), 47392, 'SRID=4674;POINT (-38.363037 -3.388815)', '2026-07-13 09:43:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363021 -3.38875)'), GeomFromEWKT('SRID=4674;POINT (-38.363037 -3.388815)'))) / (select extract(epoch from '2026-07-13 09:43:56'::timestamp) - extract(epoch from '2026-07-13 09:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363021 -3.38875)'), GeomFromEWKT('SRID=4674;POINT (-38.363037 -3.388815)'))) / (select extract(epoch from '2026-07-13 09:43:56'::timestamp) - extract(epoch from '2026-07-13 09:43: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'), 47392, 'SRID=4674;POINT (-38.363049 -3.388829)', '2026-07-13 09:43:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363037 -3.388815)'), GeomFromEWKT('SRID=4674;POINT (-38.363049 -3.388829)'))) / (select extract(epoch from '2026-07-13 09:43:57'::timestamp) - extract(epoch from '2026-07-13 09:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363037 -3.388815)'), GeomFromEWKT('SRID=4674;POINT (-38.363049 -3.388829)'))) / (select extract(epoch from '2026-07-13 09:43:57'::timestamp) - extract(epoch from '2026-07-13 09:43: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'), 47392, 'SRID=4674;POINT (-38.363054 -3.388847)', '2026-07-13 09:43:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363049 -3.388829)'), GeomFromEWKT('SRID=4674;POINT (-38.363054 -3.388847)'))) / (select extract(epoch from '2026-07-13 09:43:58'::timestamp) - extract(epoch from '2026-07-13 09:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363049 -3.388829)'), GeomFromEWKT('SRID=4674;POINT (-38.363054 -3.388847)'))) / (select extract(epoch from '2026-07-13 09:43:58'::timestamp) - extract(epoch from '2026-07-13 09:43: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'), 47392, 'SRID=4674;POINT (-38.36305 -3.388874)', '2026-07-13 09:44:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363054 -3.388847)'), GeomFromEWKT('SRID=4674;POINT (-38.36305 -3.388874)'))) / (select extract(epoch from '2026-07-13 09:44:00'::timestamp) - extract(epoch from '2026-07-13 09:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363054 -3.388847)'), GeomFromEWKT('SRID=4674;POINT (-38.36305 -3.388874)'))) / (select extract(epoch from '2026-07-13 09:44:00'::timestamp) - extract(epoch from '2026-07-13 09:43:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363053 -3.388885)', '2026-07-13 09:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36305 -3.388874)'), GeomFromEWKT('SRID=4674;POINT (-38.363053 -3.388885)'))) / (select extract(epoch from '2026-07-13 09:44:01'::timestamp) - extract(epoch from '2026-07-13 09:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36305 -3.388874)'), GeomFromEWKT('SRID=4674;POINT (-38.363053 -3.388885)'))) / (select extract(epoch from '2026-07-13 09:44:01'::timestamp) - extract(epoch from '2026-07-13 09:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363068 -3.388969)', '2026-07-13 09:44:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363053 -3.388885)'), GeomFromEWKT('SRID=4674;POINT (-38.363068 -3.388969)'))) / (select extract(epoch from '2026-07-13 09:44:07'::timestamp) - extract(epoch from '2026-07-13 09:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363053 -3.388885)'), GeomFromEWKT('SRID=4674;POINT (-38.363068 -3.388969)'))) / (select extract(epoch from '2026-07-13 09:44:07'::timestamp) - extract(epoch from '2026-07-13 09:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363071 -3.388981)', '2026-07-13 09:44:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363068 -3.388969)'), GeomFromEWKT('SRID=4674;POINT (-38.363071 -3.388981)'))) / (select extract(epoch from '2026-07-13 09:44:08'::timestamp) - extract(epoch from '2026-07-13 09:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363068 -3.388969)'), GeomFromEWKT('SRID=4674;POINT (-38.363071 -3.388981)'))) / (select extract(epoch from '2026-07-13 09:44:08'::timestamp) - extract(epoch from '2026-07-13 09:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363097 -3.389048)', '2026-07-13 09:44:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363071 -3.388981)'), GeomFromEWKT('SRID=4674;POINT (-38.363097 -3.389048)'))) / (select extract(epoch from '2026-07-13 09:44:13'::timestamp) - extract(epoch from '2026-07-13 09:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363071 -3.388981)'), GeomFromEWKT('SRID=4674;POINT (-38.363097 -3.389048)'))) / (select extract(epoch from '2026-07-13 09:44:13'::timestamp) - extract(epoch from '2026-07-13 09:44: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'), 47392, 'SRID=4674;POINT (-38.363117 -3.389083)', '2026-07-13 09:44:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363097 -3.389048)'), GeomFromEWKT('SRID=4674;POINT (-38.363117 -3.389083)'))) / (select extract(epoch from '2026-07-13 09:44:16'::timestamp) - extract(epoch from '2026-07-13 09:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363097 -3.389048)'), GeomFromEWKT('SRID=4674;POINT (-38.363117 -3.389083)'))) / (select extract(epoch from '2026-07-13 09:44:16'::timestamp) - extract(epoch from '2026-07-13 09:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363137 -3.389122)', '2026-07-13 09:44:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363117 -3.389083)'), GeomFromEWKT('SRID=4674;POINT (-38.363137 -3.389122)'))) / (select extract(epoch from '2026-07-13 09:44:19'::timestamp) - extract(epoch from '2026-07-13 09:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363117 -3.389083)'), GeomFromEWKT('SRID=4674;POINT (-38.363137 -3.389122)'))) / (select extract(epoch from '2026-07-13 09:44:19'::timestamp) - extract(epoch from '2026-07-13 09:44: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'), 47392, 'SRID=4674;POINT (-38.363175 -3.389228)', '2026-07-13 09:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363137 -3.389122)'), GeomFromEWKT('SRID=4674;POINT (-38.363175 -3.389228)'))) / (select extract(epoch from '2026-07-13 09:44:27'::timestamp) - extract(epoch from '2026-07-13 09:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363137 -3.389122)'), GeomFromEWKT('SRID=4674;POINT (-38.363175 -3.389228)'))) / (select extract(epoch from '2026-07-13 09:44:27'::timestamp) - extract(epoch from '2026-07-13 09:44:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363202 -3.3893)', '2026-07-13 09:44:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363175 -3.389228)'), GeomFromEWKT('SRID=4674;POINT (-38.363202 -3.3893)'))) / (select extract(epoch from '2026-07-13 09:44:32'::timestamp) - extract(epoch from '2026-07-13 09:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363175 -3.389228)'), GeomFromEWKT('SRID=4674;POINT (-38.363202 -3.3893)'))) / (select extract(epoch from '2026-07-13 09:44:32'::timestamp) - extract(epoch from '2026-07-13 09:44: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'), 47392, 'SRID=4674;POINT (-38.363247 -3.3894)', '2026-07-13 09:44:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363202 -3.3893)'), GeomFromEWKT('SRID=4674;POINT (-38.363247 -3.3894)'))) / (select extract(epoch from '2026-07-13 09:44:39'::timestamp) - extract(epoch from '2026-07-13 09:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363202 -3.3893)'), GeomFromEWKT('SRID=4674;POINT (-38.363247 -3.3894)'))) / (select extract(epoch from '2026-07-13 09:44:39'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.363281 -3.389505)', '2026-07-13 09:44:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363247 -3.3894)'), GeomFromEWKT('SRID=4674;POINT (-38.363281 -3.389505)'))) / (select extract(epoch from '2026-07-13 09:44:46'::timestamp) - extract(epoch from '2026-07-13 09:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363247 -3.3894)'), GeomFromEWKT('SRID=4674;POINT (-38.363281 -3.389505)'))) / (select extract(epoch from '2026-07-13 09:44:46'::timestamp) - extract(epoch from '2026-07-13 09:44: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'), 47392, 'SRID=4674;POINT (-38.363308 -3.389617)', '2026-07-13 09:44:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363281 -3.389505)'), GeomFromEWKT('SRID=4674;POINT (-38.363308 -3.389617)'))) / (select extract(epoch from '2026-07-13 09:44:54'::timestamp) - extract(epoch from '2026-07-13 09:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363281 -3.389505)'), GeomFromEWKT('SRID=4674;POINT (-38.363308 -3.389617)'))) / (select extract(epoch from '2026-07-13 09:44:54'::timestamp) - extract(epoch from '2026-07-13 09:44:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363338 -3.38972)', '2026-07-13 09:45:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363308 -3.389617)'), GeomFromEWKT('SRID=4674;POINT (-38.363338 -3.38972)'))) / (select extract(epoch from '2026-07-13 09:45:01'::timestamp) - extract(epoch from '2026-07-13 09:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363308 -3.389617)'), GeomFromEWKT('SRID=4674;POINT (-38.363338 -3.38972)'))) / (select extract(epoch from '2026-07-13 09:45:01'::timestamp) - extract(epoch from '2026-07-13 09:44:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363369 -3.389811)', '2026-07-13 09:45:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363338 -3.38972)'), GeomFromEWKT('SRID=4674;POINT (-38.363369 -3.389811)'))) / (select extract(epoch from '2026-07-13 09:45:07'::timestamp) - extract(epoch from '2026-07-13 09:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363338 -3.38972)'), GeomFromEWKT('SRID=4674;POINT (-38.363369 -3.389811)'))) / (select extract(epoch from '2026-07-13 09:45:07'::timestamp) - extract(epoch from '2026-07-13 09:45: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'), 47392, 'SRID=4674;POINT (-38.363373 -3.389826)', '2026-07-13 09:45:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363369 -3.389811)'), GeomFromEWKT('SRID=4674;POINT (-38.363373 -3.389826)'))) / (select extract(epoch from '2026-07-13 09:45:08'::timestamp) - extract(epoch from '2026-07-13 09:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363369 -3.389811)'), GeomFromEWKT('SRID=4674;POINT (-38.363373 -3.389826)'))) / (select extract(epoch from '2026-07-13 09:45:08'::timestamp) - extract(epoch from '2026-07-13 09:45: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'), 47392, 'SRID=4674;POINT (-38.363399 -3.389893)', '2026-07-13 09:45:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363373 -3.389826)'), GeomFromEWKT('SRID=4674;POINT (-38.363399 -3.389893)'))) / (select extract(epoch from '2026-07-13 09:45:12'::timestamp) - extract(epoch from '2026-07-13 09:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363373 -3.389826)'), GeomFromEWKT('SRID=4674;POINT (-38.363399 -3.389893)'))) / (select extract(epoch from '2026-07-13 09:45:12'::timestamp) - extract(epoch from '2026-07-13 09:45: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'), 47392, 'SRID=4674;POINT (-38.363429 -3.389969)', '2026-07-13 09:45:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363399 -3.389893)'), GeomFromEWKT('SRID=4674;POINT (-38.363429 -3.389969)'))) / (select extract(epoch from '2026-07-13 09:45:17'::timestamp) - extract(epoch from '2026-07-13 09:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363399 -3.389893)'), GeomFromEWKT('SRID=4674;POINT (-38.363429 -3.389969)'))) / (select extract(epoch from '2026-07-13 09:45:17'::timestamp) - extract(epoch from '2026-07-13 09:45: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'), 47392, 'SRID=4674;POINT (-38.363459 -3.390086)', '2026-07-13 09:45:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363429 -3.389969)'), GeomFromEWKT('SRID=4674;POINT (-38.363459 -3.390086)'))) / (select extract(epoch from '2026-07-13 09:45:24'::timestamp) - extract(epoch from '2026-07-13 09:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363429 -3.389969)'), GeomFromEWKT('SRID=4674;POINT (-38.363459 -3.390086)'))) / (select extract(epoch from '2026-07-13 09:45:24'::timestamp) - extract(epoch from '2026-07-13 09:45: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'), 47392, 'SRID=4674;POINT (-38.363484 -3.390175)', '2026-07-13 09:45:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363459 -3.390086)'), GeomFromEWKT('SRID=4674;POINT (-38.363484 -3.390175)'))) / (select extract(epoch from '2026-07-13 09:45:29'::timestamp) - extract(epoch from '2026-07-13 09:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363459 -3.390086)'), GeomFromEWKT('SRID=4674;POINT (-38.363484 -3.390175)'))) / (select extract(epoch from '2026-07-13 09:45:29'::timestamp) - extract(epoch from '2026-07-13 09:45: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'), 47392, 'SRID=4674;POINT (-38.363505 -3.390299)', '2026-07-13 09:45:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363484 -3.390175)'), GeomFromEWKT('SRID=4674;POINT (-38.363505 -3.390299)'))) / (select extract(epoch from '2026-07-13 09:45:36'::timestamp) - extract(epoch from '2026-07-13 09:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363484 -3.390175)'), GeomFromEWKT('SRID=4674;POINT (-38.363505 -3.390299)'))) / (select extract(epoch from '2026-07-13 09:45:36'::timestamp) - extract(epoch from '2026-07-13 09:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363526 -3.390395)', '2026-07-13 09:45:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363505 -3.390299)'), GeomFromEWKT('SRID=4674;POINT (-38.363526 -3.390395)'))) / (select extract(epoch from '2026-07-13 09:45:41'::timestamp) - extract(epoch from '2026-07-13 09:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363505 -3.390299)'), GeomFromEWKT('SRID=4674;POINT (-38.363526 -3.390395)'))) / (select extract(epoch from '2026-07-13 09:45:41'::timestamp) - extract(epoch from '2026-07-13 09:45: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'), 47392, 'SRID=4674;POINT (-38.363555 -3.390508)', '2026-07-13 09:45:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363526 -3.390395)'), GeomFromEWKT('SRID=4674;POINT (-38.363555 -3.390508)'))) / (select extract(epoch from '2026-07-13 09:45:47'::timestamp) - extract(epoch from '2026-07-13 09:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363526 -3.390395)'), GeomFromEWKT('SRID=4674;POINT (-38.363555 -3.390508)'))) / (select extract(epoch from '2026-07-13 09:45:47'::timestamp) - extract(epoch from '2026-07-13 09:45:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36357 -3.390627)', '2026-07-13 09:45:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363555 -3.390508)'), GeomFromEWKT('SRID=4674;POINT (-38.36357 -3.390627)'))) / (select extract(epoch from '2026-07-13 09:45:54'::timestamp) - extract(epoch from '2026-07-13 09:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363555 -3.390508)'), GeomFromEWKT('SRID=4674;POINT (-38.36357 -3.390627)'))) / (select extract(epoch from '2026-07-13 09:45:54'::timestamp) - extract(epoch from '2026-07-13 09:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363588 -3.390724)', '2026-07-13 09:46:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36357 -3.390627)'), GeomFromEWKT('SRID=4674;POINT (-38.363588 -3.390724)'))) / (select extract(epoch from '2026-07-13 09:46:00'::timestamp) - extract(epoch from '2026-07-13 09:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36357 -3.390627)'), GeomFromEWKT('SRID=4674;POINT (-38.363588 -3.390724)'))) / (select extract(epoch from '2026-07-13 09:46:00'::timestamp) - extract(epoch from '2026-07-13 09:45: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'), 47392, 'SRID=4674;POINT (-38.363629 -3.390825)', '2026-07-13 09:46:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363588 -3.390724)'), GeomFromEWKT('SRID=4674;POINT (-38.363629 -3.390825)'))) / (select extract(epoch from '2026-07-13 09:46:06'::timestamp) - extract(epoch from '2026-07-13 09:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363588 -3.390724)'), GeomFromEWKT('SRID=4674;POINT (-38.363629 -3.390825)'))) / (select extract(epoch from '2026-07-13 09:46:06'::timestamp) - extract(epoch from '2026-07-13 09:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363654 -3.390933)', '2026-07-13 09:46:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363629 -3.390825)'), GeomFromEWKT('SRID=4674;POINT (-38.363654 -3.390933)'))) / (select extract(epoch from '2026-07-13 09:46:12'::timestamp) - extract(epoch from '2026-07-13 09:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363629 -3.390825)'), GeomFromEWKT('SRID=4674;POINT (-38.363654 -3.390933)'))) / (select extract(epoch from '2026-07-13 09:46:12'::timestamp) - extract(epoch from '2026-07-13 09:46: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'), 47392, 'SRID=4674;POINT (-38.363666 -3.390967)', '2026-07-13 09:46:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363654 -3.390933)'), GeomFromEWKT('SRID=4674;POINT (-38.363666 -3.390967)'))) / (select extract(epoch from '2026-07-13 09:46:14'::timestamp) - extract(epoch from '2026-07-13 09:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363654 -3.390933)'), GeomFromEWKT('SRID=4674;POINT (-38.363666 -3.390967)'))) / (select extract(epoch from '2026-07-13 09:46:14'::timestamp) - extract(epoch from '2026-07-13 09:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363674 -3.391019)', '2026-07-13 09:46:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363666 -3.390967)'), GeomFromEWKT('SRID=4674;POINT (-38.363674 -3.391019)'))) / (select extract(epoch from '2026-07-13 09:46:17'::timestamp) - extract(epoch from '2026-07-13 09:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363666 -3.390967)'), GeomFromEWKT('SRID=4674;POINT (-38.363674 -3.391019)'))) / (select extract(epoch from '2026-07-13 09:46:17'::timestamp) - extract(epoch from '2026-07-13 09:46: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'), 47392, 'SRID=4674;POINT (-38.363699 -3.391145)', '2026-07-13 09:46:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363674 -3.391019)'), GeomFromEWKT('SRID=4674;POINT (-38.363699 -3.391145)'))) / (select extract(epoch from '2026-07-13 09:46:24'::timestamp) - extract(epoch from '2026-07-13 09:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363674 -3.391019)'), GeomFromEWKT('SRID=4674;POINT (-38.363699 -3.391145)'))) / (select extract(epoch from '2026-07-13 09:46:24'::timestamp) - extract(epoch from '2026-07-13 09:46: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'), 47392, 'SRID=4674;POINT (-38.363727 -3.391228)', '2026-07-13 09:46:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363699 -3.391145)'), GeomFromEWKT('SRID=4674;POINT (-38.363727 -3.391228)'))) / (select extract(epoch from '2026-07-13 09:46:29'::timestamp) - extract(epoch from '2026-07-13 09:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363699 -3.391145)'), GeomFromEWKT('SRID=4674;POINT (-38.363727 -3.391228)'))) / (select extract(epoch from '2026-07-13 09:46:29'::timestamp) - extract(epoch from '2026-07-13 09:46:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363744 -3.391279)', '2026-07-13 09:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363727 -3.391228)'), GeomFromEWKT('SRID=4674;POINT (-38.363744 -3.391279)'))) / (select extract(epoch from '2026-07-13 09:46:32'::timestamp) - extract(epoch from '2026-07-13 09:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363727 -3.391228)'), GeomFromEWKT('SRID=4674;POINT (-38.363744 -3.391279)'))) / (select extract(epoch from '2026-07-13 09:46:32'::timestamp) - extract(epoch from '2026-07-13 09:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363755 -3.391297)', '2026-07-13 09:46:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363744 -3.391279)'), GeomFromEWKT('SRID=4674;POINT (-38.363755 -3.391297)'))) / (select extract(epoch from '2026-07-13 09:46:33'::timestamp) - extract(epoch from '2026-07-13 09:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363744 -3.391279)'), GeomFromEWKT('SRID=4674;POINT (-38.363755 -3.391297)'))) / (select extract(epoch from '2026-07-13 09:46:33'::timestamp) - extract(epoch from '2026-07-13 09:46:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363786 -3.391369)', '2026-07-13 09:46:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363755 -3.391297)'), GeomFromEWKT('SRID=4674;POINT (-38.363786 -3.391369)'))) / (select extract(epoch from '2026-07-13 09:46:38'::timestamp) - extract(epoch from '2026-07-13 09:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363755 -3.391297)'), GeomFromEWKT('SRID=4674;POINT (-38.363786 -3.391369)'))) / (select extract(epoch from '2026-07-13 09:46:38'::timestamp) - extract(epoch from '2026-07-13 09:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363824 -3.391479)', '2026-07-13 09:46:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363786 -3.391369)'), GeomFromEWKT('SRID=4674;POINT (-38.363824 -3.391479)'))) / (select extract(epoch from '2026-07-13 09:46:45'::timestamp) - extract(epoch from '2026-07-13 09:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363786 -3.391369)'), GeomFromEWKT('SRID=4674;POINT (-38.363824 -3.391479)'))) / (select extract(epoch from '2026-07-13 09:46:45'::timestamp) - extract(epoch from '2026-07-13 09:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363842 -3.391567)', '2026-07-13 09:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363824 -3.391479)'), GeomFromEWKT('SRID=4674;POINT (-38.363842 -3.391567)'))) / (select extract(epoch from '2026-07-13 09:46:50'::timestamp) - extract(epoch from '2026-07-13 09:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363824 -3.391479)'), GeomFromEWKT('SRID=4674;POINT (-38.363842 -3.391567)'))) / (select extract(epoch from '2026-07-13 09:46:50'::timestamp) - extract(epoch from '2026-07-13 09:46: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'), 47392, 'SRID=4674;POINT (-38.363852 -3.391597)', '2026-07-13 09:46:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363842 -3.391567)'), GeomFromEWKT('SRID=4674;POINT (-38.363852 -3.391597)'))) / (select extract(epoch from '2026-07-13 09:46:52'::timestamp) - extract(epoch from '2026-07-13 09:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363842 -3.391567)'), GeomFromEWKT('SRID=4674;POINT (-38.363852 -3.391597)'))) / (select extract(epoch from '2026-07-13 09:46:52'::timestamp) - extract(epoch from '2026-07-13 09:46: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'), 47392, 'SRID=4674;POINT (-38.36387 -3.391646)', '2026-07-13 09:46:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363852 -3.391597)'), GeomFromEWKT('SRID=4674;POINT (-38.36387 -3.391646)'))) / (select extract(epoch from '2026-07-13 09:46:55'::timestamp) - extract(epoch from '2026-07-13 09:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363852 -3.391597)'), GeomFromEWKT('SRID=4674;POINT (-38.36387 -3.391646)'))) / (select extract(epoch from '2026-07-13 09:46:55'::timestamp) - extract(epoch from '2026-07-13 09:46:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363888 -3.391755)', '2026-07-13 09:47:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36387 -3.391646)'), GeomFromEWKT('SRID=4674;POINT (-38.363888 -3.391755)'))) / (select extract(epoch from '2026-07-13 09:47:01'::timestamp) - extract(epoch from '2026-07-13 09:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36387 -3.391646)'), GeomFromEWKT('SRID=4674;POINT (-38.363888 -3.391755)'))) / (select extract(epoch from '2026-07-13 09:47:01'::timestamp) - extract(epoch from '2026-07-13 09:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363907 -3.391843)', '2026-07-13 09:47:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363888 -3.391755)'), GeomFromEWKT('SRID=4674;POINT (-38.363907 -3.391843)'))) / (select extract(epoch from '2026-07-13 09:47:07'::timestamp) - extract(epoch from '2026-07-13 09:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363888 -3.391755)'), GeomFromEWKT('SRID=4674;POINT (-38.363907 -3.391843)'))) / (select extract(epoch from '2026-07-13 09:47:07'::timestamp) - extract(epoch from '2026-07-13 09:47:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36393 -3.391933)', '2026-07-13 09:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363907 -3.391843)'), GeomFromEWKT('SRID=4674;POINT (-38.36393 -3.391933)'))) / (select extract(epoch from '2026-07-13 09:47:13'::timestamp) - extract(epoch from '2026-07-13 09:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363907 -3.391843)'), GeomFromEWKT('SRID=4674;POINT (-38.36393 -3.391933)'))) / (select extract(epoch from '2026-07-13 09:47:13'::timestamp) - extract(epoch from '2026-07-13 09:47: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'), 47392, 'SRID=4674;POINT (-38.363954 -3.392012)', '2026-07-13 09:47:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36393 -3.391933)'), GeomFromEWKT('SRID=4674;POINT (-38.363954 -3.392012)'))) / (select extract(epoch from '2026-07-13 09:47:18'::timestamp) - extract(epoch from '2026-07-13 09:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36393 -3.391933)'), GeomFromEWKT('SRID=4674;POINT (-38.363954 -3.392012)'))) / (select extract(epoch from '2026-07-13 09:47:18'::timestamp) - extract(epoch from '2026-07-13 09:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.363987 -3.392094)', '2026-07-13 09:47:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363954 -3.392012)'), GeomFromEWKT('SRID=4674;POINT (-38.363987 -3.392094)'))) / (select extract(epoch from '2026-07-13 09:47:23'::timestamp) - extract(epoch from '2026-07-13 09:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363954 -3.392012)'), GeomFromEWKT('SRID=4674;POINT (-38.363987 -3.392094)'))) / (select extract(epoch from '2026-07-13 09:47:23'::timestamp) - extract(epoch from '2026-07-13 09:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364016 -3.392187)', '2026-07-13 09:47:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363987 -3.392094)'), GeomFromEWKT('SRID=4674;POINT (-38.364016 -3.392187)'))) / (select extract(epoch from '2026-07-13 09:47:29'::timestamp) - extract(epoch from '2026-07-13 09:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363987 -3.392094)'), GeomFromEWKT('SRID=4674;POINT (-38.364016 -3.392187)'))) / (select extract(epoch from '2026-07-13 09:47:29'::timestamp) - extract(epoch from '2026-07-13 09:47: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'), 47392, 'SRID=4674;POINT (-38.36404 -3.392315)', '2026-07-13 09:47:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364016 -3.392187)'), GeomFromEWKT('SRID=4674;POINT (-38.36404 -3.392315)'))) / (select extract(epoch from '2026-07-13 09:47:37'::timestamp) - extract(epoch from '2026-07-13 09:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364016 -3.392187)'), GeomFromEWKT('SRID=4674;POINT (-38.36404 -3.392315)'))) / (select extract(epoch from '2026-07-13 09:47:37'::timestamp) - extract(epoch from '2026-07-13 09:47:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364061 -3.39242)', '2026-07-13 09:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36404 -3.392315)'), GeomFromEWKT('SRID=4674;POINT (-38.364061 -3.39242)'))) / (select extract(epoch from '2026-07-13 09:47:43'::timestamp) - extract(epoch from '2026-07-13 09:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36404 -3.392315)'), GeomFromEWKT('SRID=4674;POINT (-38.364061 -3.39242)'))) / (select extract(epoch from '2026-07-13 09:47:43'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.36407 -3.392508)', '2026-07-13 09:47:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364061 -3.39242)'), GeomFromEWKT('SRID=4674;POINT (-38.36407 -3.392508)'))) / (select extract(epoch from '2026-07-13 09:47:48'::timestamp) - extract(epoch from '2026-07-13 09:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364061 -3.39242)'), GeomFromEWKT('SRID=4674;POINT (-38.36407 -3.392508)'))) / (select extract(epoch from '2026-07-13 09:47:48'::timestamp) - extract(epoch from '2026-07-13 09:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364097 -3.39266)', '2026-07-13 09:47:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36407 -3.392508)'), GeomFromEWKT('SRID=4674;POINT (-38.364097 -3.39266)'))) / (select extract(epoch from '2026-07-13 09:47:56'::timestamp) - extract(epoch from '2026-07-13 09:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36407 -3.392508)'), GeomFromEWKT('SRID=4674;POINT (-38.364097 -3.39266)'))) / (select extract(epoch from '2026-07-13 09:47:56'::timestamp) - extract(epoch from '2026-07-13 09:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36412 -3.392767)', '2026-07-13 09:48:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364097 -3.39266)'), GeomFromEWKT('SRID=4674;POINT (-38.36412 -3.392767)'))) / (select extract(epoch from '2026-07-13 09:48:02'::timestamp) - extract(epoch from '2026-07-13 09:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364097 -3.39266)'), GeomFromEWKT('SRID=4674;POINT (-38.36412 -3.392767)'))) / (select extract(epoch from '2026-07-13 09:48:02'::timestamp) - extract(epoch from '2026-07-13 09:47: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'), 47392, 'SRID=4674;POINT (-38.364153 -3.39289)', '2026-07-13 09:48:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36412 -3.392767)'), GeomFromEWKT('SRID=4674;POINT (-38.364153 -3.39289)'))) / (select extract(epoch from '2026-07-13 09:48:09'::timestamp) - extract(epoch from '2026-07-13 09:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36412 -3.392767)'), GeomFromEWKT('SRID=4674;POINT (-38.364153 -3.39289)'))) / (select extract(epoch from '2026-07-13 09:48:09'::timestamp) - extract(epoch from '2026-07-13 09:48: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'), 47392, 'SRID=4674;POINT (-38.364189 -3.392986)', '2026-07-13 09:48:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364153 -3.39289)'), GeomFromEWKT('SRID=4674;POINT (-38.364189 -3.392986)'))) / (select extract(epoch from '2026-07-13 09:48:15'::timestamp) - extract(epoch from '2026-07-13 09:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364153 -3.39289)'), GeomFromEWKT('SRID=4674;POINT (-38.364189 -3.392986)'))) / (select extract(epoch from '2026-07-13 09:48:15'::timestamp) - extract(epoch from '2026-07-13 09:48:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364234 -3.393091)', '2026-07-13 09:48:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364189 -3.392986)'), GeomFromEWKT('SRID=4674;POINT (-38.364234 -3.393091)'))) / (select extract(epoch from '2026-07-13 09:48:22'::timestamp) - extract(epoch from '2026-07-13 09:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364189 -3.392986)'), GeomFromEWKT('SRID=4674;POINT (-38.364234 -3.393091)'))) / (select extract(epoch from '2026-07-13 09:48:22'::timestamp) - extract(epoch from '2026-07-13 09:48: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'), 47392, 'SRID=4674;POINT (-38.364262 -3.393228)', '2026-07-13 09:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364234 -3.393091)'), GeomFromEWKT('SRID=4674;POINT (-38.364262 -3.393228)'))) / (select extract(epoch from '2026-07-13 09:48:30'::timestamp) - extract(epoch from '2026-07-13 09:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364234 -3.393091)'), GeomFromEWKT('SRID=4674;POINT (-38.364262 -3.393228)'))) / (select extract(epoch from '2026-07-13 09:48:30'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.364282 -3.393332)', '2026-07-13 09:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364262 -3.393228)'), GeomFromEWKT('SRID=4674;POINT (-38.364282 -3.393332)'))) / (select extract(epoch from '2026-07-13 09:48:36'::timestamp) - extract(epoch from '2026-07-13 09:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364262 -3.393228)'), GeomFromEWKT('SRID=4674;POINT (-38.364282 -3.393332)'))) / (select extract(epoch from '2026-07-13 09:48:36'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.364297 -3.393458)', '2026-07-13 09:48:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364282 -3.393332)'), GeomFromEWKT('SRID=4674;POINT (-38.364297 -3.393458)'))) / (select extract(epoch from '2026-07-13 09:48:43'::timestamp) - extract(epoch from '2026-07-13 09:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364282 -3.393332)'), GeomFromEWKT('SRID=4674;POINT (-38.364297 -3.393458)'))) / (select extract(epoch from '2026-07-13 09:48:43'::timestamp) - extract(epoch from '2026-07-13 09:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364326 -3.393569)', '2026-07-13 09:48:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364297 -3.393458)'), GeomFromEWKT('SRID=4674;POINT (-38.364326 -3.393569)'))) / (select extract(epoch from '2026-07-13 09:48:49'::timestamp) - extract(epoch from '2026-07-13 09:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364297 -3.393458)'), GeomFromEWKT('SRID=4674;POINT (-38.364326 -3.393569)'))) / (select extract(epoch from '2026-07-13 09:48:49'::timestamp) - extract(epoch from '2026-07-13 09:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364363 -3.393671)', '2026-07-13 09:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364326 -3.393569)'), GeomFromEWKT('SRID=4674;POINT (-38.364363 -3.393671)'))) / (select extract(epoch from '2026-07-13 09:48:54'::timestamp) - extract(epoch from '2026-07-13 09:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364326 -3.393569)'), GeomFromEWKT('SRID=4674;POINT (-38.364363 -3.393671)'))) / (select extract(epoch from '2026-07-13 09:48:54'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.364395 -3.393771)', '2026-07-13 09:49:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364363 -3.393671)'), GeomFromEWKT('SRID=4674;POINT (-38.364395 -3.393771)'))) / (select extract(epoch from '2026-07-13 09:49:00'::timestamp) - extract(epoch from '2026-07-13 09:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364363 -3.393671)'), GeomFromEWKT('SRID=4674;POINT (-38.364395 -3.393771)'))) / (select extract(epoch from '2026-07-13 09:49:00'::timestamp) - extract(epoch from '2026-07-13 09:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364425 -3.393886)', '2026-07-13 09:49:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364395 -3.393771)'), GeomFromEWKT('SRID=4674;POINT (-38.364425 -3.393886)'))) / (select extract(epoch from '2026-07-13 09:49:06'::timestamp) - extract(epoch from '2026-07-13 09:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364395 -3.393771)'), GeomFromEWKT('SRID=4674;POINT (-38.364425 -3.393886)'))) / (select extract(epoch from '2026-07-13 09:49:06'::timestamp) - extract(epoch from '2026-07-13 09:49: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'), 47392, 'SRID=4674;POINT (-38.364447 -3.393988)', '2026-07-13 09:49:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364425 -3.393886)'), GeomFromEWKT('SRID=4674;POINT (-38.364447 -3.393988)'))) / (select extract(epoch from '2026-07-13 09:49:11'::timestamp) - extract(epoch from '2026-07-13 09:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364425 -3.393886)'), GeomFromEWKT('SRID=4674;POINT (-38.364447 -3.393988)'))) / (select extract(epoch from '2026-07-13 09:49:11'::timestamp) - extract(epoch from '2026-07-13 09:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364474 -3.394074)', '2026-07-13 09:49:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364447 -3.393988)'), GeomFromEWKT('SRID=4674;POINT (-38.364474 -3.394074)'))) / (select extract(epoch from '2026-07-13 09:49:16'::timestamp) - extract(epoch from '2026-07-13 09:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364447 -3.393988)'), GeomFromEWKT('SRID=4674;POINT (-38.364474 -3.394074)'))) / (select extract(epoch from '2026-07-13 09:49:16'::timestamp) - extract(epoch from '2026-07-13 09:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364495 -3.394178)', '2026-07-13 09:49:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364474 -3.394074)'), GeomFromEWKT('SRID=4674;POINT (-38.364495 -3.394178)'))) / (select extract(epoch from '2026-07-13 09:49:22'::timestamp) - extract(epoch from '2026-07-13 09:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364474 -3.394074)'), GeomFromEWKT('SRID=4674;POINT (-38.364495 -3.394178)'))) / (select extract(epoch from '2026-07-13 09:49:22'::timestamp) - extract(epoch from '2026-07-13 09:49: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'), 47392, 'SRID=4674;POINT (-38.364526 -3.3943)', '2026-07-13 09:49:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364495 -3.394178)'), GeomFromEWKT('SRID=4674;POINT (-38.364526 -3.3943)'))) / (select extract(epoch from '2026-07-13 09:49:29'::timestamp) - extract(epoch from '2026-07-13 09:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364495 -3.394178)'), GeomFromEWKT('SRID=4674;POINT (-38.364526 -3.3943)'))) / (select extract(epoch from '2026-07-13 09:49:29'::timestamp) - extract(epoch from '2026-07-13 09:49: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'), 47392, 'SRID=4674;POINT (-38.364552 -3.394393)', '2026-07-13 09:49:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364526 -3.3943)'), GeomFromEWKT('SRID=4674;POINT (-38.364552 -3.394393)'))) / (select extract(epoch from '2026-07-13 09:49:34'::timestamp) - extract(epoch from '2026-07-13 09:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364526 -3.3943)'), GeomFromEWKT('SRID=4674;POINT (-38.364552 -3.394393)'))) / (select extract(epoch from '2026-07-13 09:49:34'::timestamp) - extract(epoch from '2026-07-13 09:49:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364573 -3.394472)', '2026-07-13 09:49:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364552 -3.394393)'), GeomFromEWKT('SRID=4674;POINT (-38.364573 -3.394472)'))) / (select extract(epoch from '2026-07-13 09:49:39'::timestamp) - extract(epoch from '2026-07-13 09:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364552 -3.394393)'), GeomFromEWKT('SRID=4674;POINT (-38.364573 -3.394472)'))) / (select extract(epoch from '2026-07-13 09:49:39'::timestamp) - extract(epoch from '2026-07-13 09:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364595 -3.394578)', '2026-07-13 09:49:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364573 -3.394472)'), GeomFromEWKT('SRID=4674;POINT (-38.364595 -3.394578)'))) / (select extract(epoch from '2026-07-13 09:49:45'::timestamp) - extract(epoch from '2026-07-13 09:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364573 -3.394472)'), GeomFromEWKT('SRID=4674;POINT (-38.364595 -3.394578)'))) / (select extract(epoch from '2026-07-13 09:49:45'::timestamp) - extract(epoch from '2026-07-13 09:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364617 -3.394692)', '2026-07-13 09:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364595 -3.394578)'), GeomFromEWKT('SRID=4674;POINT (-38.364617 -3.394692)'))) / (select extract(epoch from '2026-07-13 09:49:52'::timestamp) - extract(epoch from '2026-07-13 09:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364595 -3.394578)'), GeomFromEWKT('SRID=4674;POINT (-38.364617 -3.394692)'))) / (select extract(epoch from '2026-07-13 09:49:52'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.36465 -3.394808)', '2026-07-13 09:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364617 -3.394692)'), GeomFromEWKT('SRID=4674;POINT (-38.36465 -3.394808)'))) / (select extract(epoch from '2026-07-13 09:49:59'::timestamp) - extract(epoch from '2026-07-13 09:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364617 -3.394692)'), GeomFromEWKT('SRID=4674;POINT (-38.36465 -3.394808)'))) / (select extract(epoch from '2026-07-13 09:49:59'::timestamp) - extract(epoch from '2026-07-13 09:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364675 -3.394924)', '2026-07-13 09:50:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36465 -3.394808)'), GeomFromEWKT('SRID=4674;POINT (-38.364675 -3.394924)'))) / (select extract(epoch from '2026-07-13 09:50:06'::timestamp) - extract(epoch from '2026-07-13 09:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36465 -3.394808)'), GeomFromEWKT('SRID=4674;POINT (-38.364675 -3.394924)'))) / (select extract(epoch from '2026-07-13 09:50:06'::timestamp) - extract(epoch from '2026-07-13 09:49: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'), 47392, 'SRID=4674;POINT (-38.364698 -3.395002)', '2026-07-13 09:50:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364675 -3.394924)'), GeomFromEWKT('SRID=4674;POINT (-38.364698 -3.395002)'))) / (select extract(epoch from '2026-07-13 09:50:11'::timestamp) - extract(epoch from '2026-07-13 09:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364675 -3.394924)'), GeomFromEWKT('SRID=4674;POINT (-38.364698 -3.395002)'))) / (select extract(epoch from '2026-07-13 09:50:11'::timestamp) - extract(epoch from '2026-07-13 09:50: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'), 47392, 'SRID=4674;POINT (-38.364716 -3.395082)', '2026-07-13 09:50:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364698 -3.395002)'), GeomFromEWKT('SRID=4674;POINT (-38.364716 -3.395082)'))) / (select extract(epoch from '2026-07-13 09:50:16'::timestamp) - extract(epoch from '2026-07-13 09:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364698 -3.395002)'), GeomFromEWKT('SRID=4674;POINT (-38.364716 -3.395082)'))) / (select extract(epoch from '2026-07-13 09:50:16'::timestamp) - extract(epoch from '2026-07-13 09:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364741 -3.395169)', '2026-07-13 09:50:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364716 -3.395082)'), GeomFromEWKT('SRID=4674;POINT (-38.364741 -3.395169)'))) / (select extract(epoch from '2026-07-13 09:50:22'::timestamp) - extract(epoch from '2026-07-13 09:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364716 -3.395082)'), GeomFromEWKT('SRID=4674;POINT (-38.364741 -3.395169)'))) / (select extract(epoch from '2026-07-13 09:50:22'::timestamp) - extract(epoch from '2026-07-13 09:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364772 -3.395261)', '2026-07-13 09:50:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364741 -3.395169)'), GeomFromEWKT('SRID=4674;POINT (-38.364772 -3.395261)'))) / (select extract(epoch from '2026-07-13 09:50:28'::timestamp) - extract(epoch from '2026-07-13 09:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364741 -3.395169)'), GeomFromEWKT('SRID=4674;POINT (-38.364772 -3.395261)'))) / (select extract(epoch from '2026-07-13 09:50:28'::timestamp) - extract(epoch from '2026-07-13 09:50:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364805 -3.39537)', '2026-07-13 09:50:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364772 -3.395261)'), GeomFromEWKT('SRID=4674;POINT (-38.364805 -3.39537)'))) / (select extract(epoch from '2026-07-13 09:50:35'::timestamp) - extract(epoch from '2026-07-13 09:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364772 -3.395261)'), GeomFromEWKT('SRID=4674;POINT (-38.364805 -3.39537)'))) / (select extract(epoch from '2026-07-13 09:50:35'::timestamp) - extract(epoch from '2026-07-13 09:50: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'), 47392, 'SRID=4674;POINT (-38.364828 -3.39547)', '2026-07-13 09:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364805 -3.39537)'), GeomFromEWKT('SRID=4674;POINT (-38.364828 -3.39547)'))) / (select extract(epoch from '2026-07-13 09:50:41'::timestamp) - extract(epoch from '2026-07-13 09:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364805 -3.39537)'), GeomFromEWKT('SRID=4674;POINT (-38.364828 -3.39547)'))) / (select extract(epoch from '2026-07-13 09:50:41'::timestamp) - extract(epoch from '2026-07-13 09:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364839 -3.395499)', '2026-07-13 09:50:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364828 -3.39547)'), GeomFromEWKT('SRID=4674;POINT (-38.364839 -3.395499)'))) / (select extract(epoch from '2026-07-13 09:50:43'::timestamp) - extract(epoch from '2026-07-13 09:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364828 -3.39547)'), GeomFromEWKT('SRID=4674;POINT (-38.364839 -3.395499)'))) / (select extract(epoch from '2026-07-13 09:50:43'::timestamp) - extract(epoch from '2026-07-13 09:50: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'), 47392, 'SRID=4674;POINT (-38.364864 -3.395549)', '2026-07-13 09:50:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364839 -3.395499)'), GeomFromEWKT('SRID=4674;POINT (-38.364864 -3.395549)'))) / (select extract(epoch from '2026-07-13 09:50:46'::timestamp) - extract(epoch from '2026-07-13 09:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364839 -3.395499)'), GeomFromEWKT('SRID=4674;POINT (-38.364864 -3.395549)'))) / (select extract(epoch from '2026-07-13 09:50:46'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.364898 -3.395679)', '2026-07-13 09:50:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364864 -3.395549)'), GeomFromEWKT('SRID=4674;POINT (-38.364898 -3.395679)'))) / (select extract(epoch from '2026-07-13 09:50:54'::timestamp) - extract(epoch from '2026-07-13 09:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364864 -3.395549)'), GeomFromEWKT('SRID=4674;POINT (-38.364898 -3.395679)'))) / (select extract(epoch from '2026-07-13 09:50:54'::timestamp) - extract(epoch from '2026-07-13 09:50:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364922 -3.395783)', '2026-07-13 09:51:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364898 -3.395679)'), GeomFromEWKT('SRID=4674;POINT (-38.364922 -3.395783)'))) / (select extract(epoch from '2026-07-13 09:51:00'::timestamp) - extract(epoch from '2026-07-13 09:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364898 -3.395679)'), GeomFromEWKT('SRID=4674;POINT (-38.364922 -3.395783)'))) / (select extract(epoch from '2026-07-13 09:51:00'::timestamp) - extract(epoch from '2026-07-13 09:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.364951 -3.395883)', '2026-07-13 09:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364922 -3.395783)'), GeomFromEWKT('SRID=4674;POINT (-38.364951 -3.395883)'))) / (select extract(epoch from '2026-07-13 09:51:06'::timestamp) - extract(epoch from '2026-07-13 09:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364922 -3.395783)'), GeomFromEWKT('SRID=4674;POINT (-38.364951 -3.395883)'))) / (select extract(epoch from '2026-07-13 09:51:06'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.364977 -3.395995)', '2026-07-13 09:51:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364951 -3.395883)'), GeomFromEWKT('SRID=4674;POINT (-38.364977 -3.395995)'))) / (select extract(epoch from '2026-07-13 09:51:12'::timestamp) - extract(epoch from '2026-07-13 09:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364951 -3.395883)'), GeomFromEWKT('SRID=4674;POINT (-38.364977 -3.395995)'))) / (select extract(epoch from '2026-07-13 09:51:12'::timestamp) - extract(epoch from '2026-07-13 09:51: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'), 47392, 'SRID=4674;POINT (-38.365003 -3.396108)', '2026-07-13 09:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364977 -3.395995)'), GeomFromEWKT('SRID=4674;POINT (-38.365003 -3.396108)'))) / (select extract(epoch from '2026-07-13 09:51:18'::timestamp) - extract(epoch from '2026-07-13 09:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364977 -3.395995)'), GeomFromEWKT('SRID=4674;POINT (-38.365003 -3.396108)'))) / (select extract(epoch from '2026-07-13 09:51:18'::timestamp) - extract(epoch from '2026-07-13 09:51: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'), 47392, 'SRID=4674;POINT (-38.365032 -3.396202)', '2026-07-13 09:51:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365003 -3.396108)'), GeomFromEWKT('SRID=4674;POINT (-38.365032 -3.396202)'))) / (select extract(epoch from '2026-07-13 09:51:23'::timestamp) - extract(epoch from '2026-07-13 09:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365003 -3.396108)'), GeomFromEWKT('SRID=4674;POINT (-38.365032 -3.396202)'))) / (select extract(epoch from '2026-07-13 09:51:23'::timestamp) - extract(epoch from '2026-07-13 09:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365059 -3.396332)', '2026-07-13 09:51:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365032 -3.396202)'), GeomFromEWKT('SRID=4674;POINT (-38.365059 -3.396332)'))) / (select extract(epoch from '2026-07-13 09:51:30'::timestamp) - extract(epoch from '2026-07-13 09:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365032 -3.396202)'), GeomFromEWKT('SRID=4674;POINT (-38.365059 -3.396332)'))) / (select extract(epoch from '2026-07-13 09:51:30'::timestamp) - extract(epoch from '2026-07-13 09:51:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365073 -3.396438)', '2026-07-13 09:51:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365059 -3.396332)'), GeomFromEWKT('SRID=4674;POINT (-38.365073 -3.396438)'))) / (select extract(epoch from '2026-07-13 09:51:36'::timestamp) - extract(epoch from '2026-07-13 09:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365059 -3.396332)'), GeomFromEWKT('SRID=4674;POINT (-38.365073 -3.396438)'))) / (select extract(epoch from '2026-07-13 09:51:36'::timestamp) - extract(epoch from '2026-07-13 09:51:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365079 -3.396506)', '2026-07-13 09:51:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365073 -3.396438)'), GeomFromEWKT('SRID=4674;POINT (-38.365079 -3.396506)'))) / (select extract(epoch from '2026-07-13 09:51:40'::timestamp) - extract(epoch from '2026-07-13 09:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365073 -3.396438)'), GeomFromEWKT('SRID=4674;POINT (-38.365079 -3.396506)'))) / (select extract(epoch from '2026-07-13 09:51:40'::timestamp) - extract(epoch from '2026-07-13 09:51: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'), 47392, 'SRID=4674;POINT (-38.365089 -3.396524)', '2026-07-13 09:51:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365079 -3.396506)'), GeomFromEWKT('SRID=4674;POINT (-38.365089 -3.396524)'))) / (select extract(epoch from '2026-07-13 09:51:41'::timestamp) - extract(epoch from '2026-07-13 09:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365079 -3.396506)'), GeomFromEWKT('SRID=4674;POINT (-38.365089 -3.396524)'))) / (select extract(epoch from '2026-07-13 09:51:41'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.365106 -3.396631)', '2026-07-13 09:51:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365089 -3.396524)'), GeomFromEWKT('SRID=4674;POINT (-38.365106 -3.396631)'))) / (select extract(epoch from '2026-07-13 09:51:47'::timestamp) - extract(epoch from '2026-07-13 09:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365089 -3.396524)'), GeomFromEWKT('SRID=4674;POINT (-38.365106 -3.396631)'))) / (select extract(epoch from '2026-07-13 09:51:47'::timestamp) - extract(epoch from '2026-07-13 09:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36513 -3.396754)', '2026-07-13 09:51:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365106 -3.396631)'), GeomFromEWKT('SRID=4674;POINT (-38.36513 -3.396754)'))) / (select extract(epoch from '2026-07-13 09:51:54'::timestamp) - extract(epoch from '2026-07-13 09:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365106 -3.396631)'), GeomFromEWKT('SRID=4674;POINT (-38.36513 -3.396754)'))) / (select extract(epoch from '2026-07-13 09:51:54'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.365158 -3.396841)', '2026-07-13 09:51:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36513 -3.396754)'), GeomFromEWKT('SRID=4674;POINT (-38.365158 -3.396841)'))) / (select extract(epoch from '2026-07-13 09:51:59'::timestamp) - extract(epoch from '2026-07-13 09:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36513 -3.396754)'), GeomFromEWKT('SRID=4674;POINT (-38.365158 -3.396841)'))) / (select extract(epoch from '2026-07-13 09:51:59'::timestamp) - extract(epoch from '2026-07-13 09:51:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365202 -3.397013)', '2026-07-13 09:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365158 -3.396841)'), GeomFromEWKT('SRID=4674;POINT (-38.365202 -3.397013)'))) / (select extract(epoch from '2026-07-13 09:52:09'::timestamp) - extract(epoch from '2026-07-13 09:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365158 -3.396841)'), GeomFromEWKT('SRID=4674;POINT (-38.365202 -3.397013)'))) / (select extract(epoch from '2026-07-13 09:52:09'::timestamp) - extract(epoch from '2026-07-13 09:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365222 -3.397109)', '2026-07-13 09:52:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365202 -3.397013)'), GeomFromEWKT('SRID=4674;POINT (-38.365222 -3.397109)'))) / (select extract(epoch from '2026-07-13 09:52:15'::timestamp) - extract(epoch from '2026-07-13 09:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365202 -3.397013)'), GeomFromEWKT('SRID=4674;POINT (-38.365222 -3.397109)'))) / (select extract(epoch from '2026-07-13 09:52:15'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.365248 -3.397227)', '2026-07-13 09:52:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365222 -3.397109)'), GeomFromEWKT('SRID=4674;POINT (-38.365248 -3.397227)'))) / (select extract(epoch from '2026-07-13 09:52:22'::timestamp) - extract(epoch from '2026-07-13 09:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365222 -3.397109)'), GeomFromEWKT('SRID=4674;POINT (-38.365248 -3.397227)'))) / (select extract(epoch from '2026-07-13 09:52:22'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47392, 'SRID=4674;POINT (-38.365293 -3.397342)', '2026-07-13 09:52:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365248 -3.397227)'), GeomFromEWKT('SRID=4674;POINT (-38.365293 -3.397342)'))) / (select extract(epoch from '2026-07-13 09:52:29'::timestamp) - extract(epoch from '2026-07-13 09:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365248 -3.397227)'), GeomFromEWKT('SRID=4674;POINT (-38.365293 -3.397342)'))) / (select extract(epoch from '2026-07-13 09:52:29'::timestamp) - extract(epoch from '2026-07-13 09:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365319 -3.397433)', '2026-07-13 09:52:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365293 -3.397342)'), GeomFromEWKT('SRID=4674;POINT (-38.365319 -3.397433)'))) / (select extract(epoch from '2026-07-13 09:52:35'::timestamp) - extract(epoch from '2026-07-13 09:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365293 -3.397342)'), GeomFromEWKT('SRID=4674;POINT (-38.365319 -3.397433)'))) / (select extract(epoch from '2026-07-13 09:52:35'::timestamp) - extract(epoch from '2026-07-13 09:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365343 -3.397535)', '2026-07-13 09:52:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365319 -3.397433)'), GeomFromEWKT('SRID=4674;POINT (-38.365343 -3.397535)'))) / (select extract(epoch from '2026-07-13 09:52:41'::timestamp) - extract(epoch from '2026-07-13 09:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365319 -3.397433)'), GeomFromEWKT('SRID=4674;POINT (-38.365343 -3.397535)'))) / (select extract(epoch from '2026-07-13 09:52:41'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47392, 'SRID=4674;POINT (-38.365368 -3.397666)', '2026-07-13 09:52:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365343 -3.397535)'), GeomFromEWKT('SRID=4674;POINT (-38.365368 -3.397666)'))) / (select extract(epoch from '2026-07-13 09:52:49'::timestamp) - extract(epoch from '2026-07-13 09:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365343 -3.397535)'), GeomFromEWKT('SRID=4674;POINT (-38.365368 -3.397666)'))) / (select extract(epoch from '2026-07-13 09:52:49'::timestamp) - extract(epoch from '2026-07-13 09:52:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365391 -3.397738)', '2026-07-13 09:52:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365368 -3.397666)'), GeomFromEWKT('SRID=4674;POINT (-38.365391 -3.397738)'))) / (select extract(epoch from '2026-07-13 09:52:54'::timestamp) - extract(epoch from '2026-07-13 09:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365368 -3.397666)'), GeomFromEWKT('SRID=4674;POINT (-38.365391 -3.397738)'))) / (select extract(epoch from '2026-07-13 09:52:54'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47392, 'SRID=4674;POINT (-38.365427 -3.397828)', '2026-07-13 09:53:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365391 -3.397738)'), GeomFromEWKT('SRID=4674;POINT (-38.365427 -3.397828)'))) / (select extract(epoch from '2026-07-13 09:53:00'::timestamp) - extract(epoch from '2026-07-13 09:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365391 -3.397738)'), GeomFromEWKT('SRID=4674;POINT (-38.365427 -3.397828)'))) / (select extract(epoch from '2026-07-13 09:53:00'::timestamp) - extract(epoch from '2026-07-13 09:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365465 -3.397916)', '2026-07-13 09:53:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365427 -3.397828)'), GeomFromEWKT('SRID=4674;POINT (-38.365465 -3.397916)'))) / (select extract(epoch from '2026-07-13 09:53:06'::timestamp) - extract(epoch from '2026-07-13 09:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365427 -3.397828)'), GeomFromEWKT('SRID=4674;POINT (-38.365465 -3.397916)'))) / (select extract(epoch from '2026-07-13 09:53:06'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.3655 -3.398004)', '2026-07-13 09:53:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365465 -3.397916)'), GeomFromEWKT('SRID=4674;POINT (-38.3655 -3.398004)'))) / (select extract(epoch from '2026-07-13 09:53:12'::timestamp) - extract(epoch from '2026-07-13 09:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365465 -3.397916)'), GeomFromEWKT('SRID=4674;POINT (-38.3655 -3.398004)'))) / (select extract(epoch from '2026-07-13 09:53:12'::timestamp) - extract(epoch from '2026-07-13 09:53:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365534 -3.398099)', '2026-07-13 09:53:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3655 -3.398004)'), GeomFromEWKT('SRID=4674;POINT (-38.365534 -3.398099)'))) / (select extract(epoch from '2026-07-13 09:53:18'::timestamp) - extract(epoch from '2026-07-13 09:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3655 -3.398004)'), GeomFromEWKT('SRID=4674;POINT (-38.365534 -3.398099)'))) / (select extract(epoch from '2026-07-13 09:53:18'::timestamp) - extract(epoch from '2026-07-13 09:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365565 -3.398189)', '2026-07-13 09:53:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365534 -3.398099)'), GeomFromEWKT('SRID=4674;POINT (-38.365565 -3.398189)'))) / (select extract(epoch from '2026-07-13 09:53:23'::timestamp) - extract(epoch from '2026-07-13 09:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365534 -3.398099)'), GeomFromEWKT('SRID=4674;POINT (-38.365565 -3.398189)'))) / (select extract(epoch from '2026-07-13 09:53:23'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.365587 -3.398265)', '2026-07-13 09:53:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365565 -3.398189)'), GeomFromEWKT('SRID=4674;POINT (-38.365587 -3.398265)'))) / (select extract(epoch from '2026-07-13 09:53:27'::timestamp) - extract(epoch from '2026-07-13 09:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365565 -3.398189)'), GeomFromEWKT('SRID=4674;POINT (-38.365587 -3.398265)'))) / (select extract(epoch from '2026-07-13 09:53:27'::timestamp) - extract(epoch from '2026-07-13 09:53: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'), 47392, 'SRID=4674;POINT (-38.365606 -3.398354)', '2026-07-13 09:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365587 -3.398265)'), GeomFromEWKT('SRID=4674;POINT (-38.365606 -3.398354)'))) / (select extract(epoch from '2026-07-13 09:53:33'::timestamp) - extract(epoch from '2026-07-13 09:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365587 -3.398265)'), GeomFromEWKT('SRID=4674;POINT (-38.365606 -3.398354)'))) / (select extract(epoch from '2026-07-13 09:53:33'::timestamp) - extract(epoch from '2026-07-13 09:53:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36563 -3.39845)', '2026-07-13 09:53:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365606 -3.398354)'), GeomFromEWKT('SRID=4674;POINT (-38.36563 -3.39845)'))) / (select extract(epoch from '2026-07-13 09:53:39'::timestamp) - extract(epoch from '2026-07-13 09:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365606 -3.398354)'), GeomFromEWKT('SRID=4674;POINT (-38.36563 -3.39845)'))) / (select extract(epoch from '2026-07-13 09:53:39'::timestamp) - extract(epoch from '2026-07-13 09:53: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'), 47392, 'SRID=4674;POINT (-38.365658 -3.398527)', '2026-07-13 09:53:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36563 -3.39845)'), GeomFromEWKT('SRID=4674;POINT (-38.365658 -3.398527)'))) / (select extract(epoch from '2026-07-13 09:53:44'::timestamp) - extract(epoch from '2026-07-13 09:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36563 -3.39845)'), GeomFromEWKT('SRID=4674;POINT (-38.365658 -3.398527)'))) / (select extract(epoch from '2026-07-13 09:53:44'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.365663 -3.398556)', '2026-07-13 09:53:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365658 -3.398527)'), GeomFromEWKT('SRID=4674;POINT (-38.365663 -3.398556)'))) / (select extract(epoch from '2026-07-13 09:53:46'::timestamp) - extract(epoch from '2026-07-13 09:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365658 -3.398527)'), GeomFromEWKT('SRID=4674;POINT (-38.365663 -3.398556)'))) / (select extract(epoch from '2026-07-13 09:53:46'::timestamp) - extract(epoch from '2026-07-13 09:53: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'), 47392, 'SRID=4674;POINT (-38.365696 -3.398642)', '2026-07-13 09:53:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365663 -3.398556)'), GeomFromEWKT('SRID=4674;POINT (-38.365696 -3.398642)'))) / (select extract(epoch from '2026-07-13 09:53:51'::timestamp) - extract(epoch from '2026-07-13 09:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365663 -3.398556)'), GeomFromEWKT('SRID=4674;POINT (-38.365696 -3.398642)'))) / (select extract(epoch from '2026-07-13 09:53:51'::timestamp) - extract(epoch from '2026-07-13 09:53: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'), 47392, 'SRID=4674;POINT (-38.365736 -3.398762)', '2026-07-13 09:53:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365696 -3.398642)'), GeomFromEWKT('SRID=4674;POINT (-38.365736 -3.398762)'))) / (select extract(epoch from '2026-07-13 09:53:58'::timestamp) - extract(epoch from '2026-07-13 09:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365696 -3.398642)'), GeomFromEWKT('SRID=4674;POINT (-38.365736 -3.398762)'))) / (select extract(epoch from '2026-07-13 09:53:58'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.365773 -3.398879)', '2026-07-13 09:54:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365736 -3.398762)'), GeomFromEWKT('SRID=4674;POINT (-38.365773 -3.398879)'))) / (select extract(epoch from '2026-07-13 09:54:05'::timestamp) - extract(epoch from '2026-07-13 09:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365736 -3.398762)'), GeomFromEWKT('SRID=4674;POINT (-38.365773 -3.398879)'))) / (select extract(epoch from '2026-07-13 09:54:05'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.365814 -3.399018)', '2026-07-13 09:54:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365773 -3.398879)'), GeomFromEWKT('SRID=4674;POINT (-38.365814 -3.399018)'))) / (select extract(epoch from '2026-07-13 09:54:13'::timestamp) - extract(epoch from '2026-07-13 09:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365773 -3.398879)'), GeomFromEWKT('SRID=4674;POINT (-38.365814 -3.399018)'))) / (select extract(epoch from '2026-07-13 09:54:13'::timestamp) - extract(epoch from '2026-07-13 09:54: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'), 47392, 'SRID=4674;POINT (-38.365832 -3.399125)', '2026-07-13 09:54:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365814 -3.399018)'), GeomFromEWKT('SRID=4674;POINT (-38.365832 -3.399125)'))) / (select extract(epoch from '2026-07-13 09:54:19'::timestamp) - extract(epoch from '2026-07-13 09:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365814 -3.399018)'), GeomFromEWKT('SRID=4674;POINT (-38.365832 -3.399125)'))) / (select extract(epoch from '2026-07-13 09:54:19'::timestamp) - extract(epoch from '2026-07-13 09:54: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'), 47392, 'SRID=4674;POINT (-38.365855 -3.399226)', '2026-07-13 09:54:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365832 -3.399125)'), GeomFromEWKT('SRID=4674;POINT (-38.365855 -3.399226)'))) / (select extract(epoch from '2026-07-13 09:54:24'::timestamp) - extract(epoch from '2026-07-13 09:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365832 -3.399125)'), GeomFromEWKT('SRID=4674;POINT (-38.365855 -3.399226)'))) / (select extract(epoch from '2026-07-13 09:54:24'::timestamp) - extract(epoch from '2026-07-13 09:54: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'), 47392, 'SRID=4674;POINT (-38.365885 -3.399372)', '2026-07-13 09:54:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365855 -3.399226)'), GeomFromEWKT('SRID=4674;POINT (-38.365885 -3.399372)'))) / (select extract(epoch from '2026-07-13 09:54:32'::timestamp) - extract(epoch from '2026-07-13 09:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365855 -3.399226)'), GeomFromEWKT('SRID=4674;POINT (-38.365885 -3.399372)'))) / (select extract(epoch from '2026-07-13 09:54:32'::timestamp) - extract(epoch from '2026-07-13 09:54: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'), 47392, 'SRID=4674;POINT (-38.36591 -3.39947)', '2026-07-13 09:54:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365885 -3.399372)'), GeomFromEWKT('SRID=4674;POINT (-38.36591 -3.39947)'))) / (select extract(epoch from '2026-07-13 09:54:38'::timestamp) - extract(epoch from '2026-07-13 09:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365885 -3.399372)'), GeomFromEWKT('SRID=4674;POINT (-38.36591 -3.39947)'))) / (select extract(epoch from '2026-07-13 09:54:38'::timestamp) - extract(epoch from '2026-07-13 09:54: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'), 47392, 'SRID=4674;POINT (-38.365953 -3.399574)', '2026-07-13 09:54:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36591 -3.39947)'), GeomFromEWKT('SRID=4674;POINT (-38.365953 -3.399574)'))) / (select extract(epoch from '2026-07-13 09:54:44'::timestamp) - extract(epoch from '2026-07-13 09:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36591 -3.39947)'), GeomFromEWKT('SRID=4674;POINT (-38.365953 -3.399574)'))) / (select extract(epoch from '2026-07-13 09:54:44'::timestamp) - extract(epoch from '2026-07-13 09:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.365989 -3.399667)', '2026-07-13 09:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365953 -3.399574)'), GeomFromEWKT('SRID=4674;POINT (-38.365989 -3.399667)'))) / (select extract(epoch from '2026-07-13 09:54:50'::timestamp) - extract(epoch from '2026-07-13 09:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365953 -3.399574)'), GeomFromEWKT('SRID=4674;POINT (-38.365989 -3.399667)'))) / (select extract(epoch from '2026-07-13 09:54:50'::timestamp) - extract(epoch from '2026-07-13 09:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.366016 -3.399753)', '2026-07-13 09:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365989 -3.399667)'), GeomFromEWKT('SRID=4674;POINT (-38.366016 -3.399753)'))) / (select extract(epoch from '2026-07-13 09:54:56'::timestamp) - extract(epoch from '2026-07-13 09:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365989 -3.399667)'), GeomFromEWKT('SRID=4674;POINT (-38.366016 -3.399753)'))) / (select extract(epoch from '2026-07-13 09:54:56'::timestamp) - extract(epoch from '2026-07-13 09:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.366037 -3.399818)', '2026-07-13 09:55:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366016 -3.399753)'), GeomFromEWKT('SRID=4674;POINT (-38.366037 -3.399818)'))) / (select extract(epoch from '2026-07-13 09:55:01'::timestamp) - extract(epoch from '2026-07-13 09:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366016 -3.399753)'), GeomFromEWKT('SRID=4674;POINT (-38.366037 -3.399818)'))) / (select extract(epoch from '2026-07-13 09:55:01'::timestamp) - extract(epoch from '2026-07-13 09:54: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'), 47392, 'SRID=4674;POINT (-38.366045 -3.399832)', '2026-07-13 09:55:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366037 -3.399818)'), GeomFromEWKT('SRID=4674;POINT (-38.366045 -3.399832)'))) / (select extract(epoch from '2026-07-13 09:55:02'::timestamp) - extract(epoch from '2026-07-13 09:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366037 -3.399818)'), GeomFromEWKT('SRID=4674;POINT (-38.366045 -3.399832)'))) / (select extract(epoch from '2026-07-13 09:55:02'::timestamp) - extract(epoch from '2026-07-13 09:55: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'), 47392, 'SRID=4674;POINT (-38.36608 -3.399907)', '2026-07-13 09:55:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366045 -3.399832)'), GeomFromEWKT('SRID=4674;POINT (-38.36608 -3.399907)'))) / (select extract(epoch from '2026-07-13 09:55:08'::timestamp) - extract(epoch from '2026-07-13 09:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366045 -3.399832)'), GeomFromEWKT('SRID=4674;POINT (-38.36608 -3.399907)'))) / (select extract(epoch from '2026-07-13 09:55:08'::timestamp) - extract(epoch from '2026-07-13 09:55: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'), 47392, 'SRID=4674;POINT (-38.366122 -3.400002)', '2026-07-13 09:55:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36608 -3.399907)'), GeomFromEWKT('SRID=4674;POINT (-38.366122 -3.400002)'))) / (select extract(epoch from '2026-07-13 09:55:15'::timestamp) - extract(epoch from '2026-07-13 09:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36608 -3.399907)'), GeomFromEWKT('SRID=4674;POINT (-38.366122 -3.400002)'))) / (select extract(epoch from '2026-07-13 09:55:15'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.366164 -3.400096)', '2026-07-13 09:55:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366122 -3.400002)'), GeomFromEWKT('SRID=4674;POINT (-38.366164 -3.400096)'))) / (select extract(epoch from '2026-07-13 09:55:22'::timestamp) - extract(epoch from '2026-07-13 09:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366122 -3.400002)'), GeomFromEWKT('SRID=4674;POINT (-38.366164 -3.400096)'))) / (select extract(epoch from '2026-07-13 09:55:22'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.366202 -3.400218)', '2026-07-13 09:55:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366164 -3.400096)'), GeomFromEWKT('SRID=4674;POINT (-38.366202 -3.400218)'))) / (select extract(epoch from '2026-07-13 09:55:31'::timestamp) - extract(epoch from '2026-07-13 09:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366164 -3.400096)'), GeomFromEWKT('SRID=4674;POINT (-38.366202 -3.400218)'))) / (select extract(epoch from '2026-07-13 09:55:31'::timestamp) - extract(epoch from '2026-07-13 09:55: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'), 47392, 'SRID=4674;POINT (-38.366238 -3.400341)', '2026-07-13 09:55:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366202 -3.400218)'), GeomFromEWKT('SRID=4674;POINT (-38.366238 -3.400341)'))) / (select extract(epoch from '2026-07-13 09:55:39'::timestamp) - extract(epoch from '2026-07-13 09:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366202 -3.400218)'), GeomFromEWKT('SRID=4674;POINT (-38.366238 -3.400341)'))) / (select extract(epoch from '2026-07-13 09:55:39'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.366267 -3.400432)', '2026-07-13 09:55:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366238 -3.400341)'), GeomFromEWKT('SRID=4674;POINT (-38.366267 -3.400432)'))) / (select extract(epoch from '2026-07-13 09:55:45'::timestamp) - extract(epoch from '2026-07-13 09:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366238 -3.400341)'), GeomFromEWKT('SRID=4674;POINT (-38.366267 -3.400432)'))) / (select extract(epoch from '2026-07-13 09:55:45'::timestamp) - extract(epoch from '2026-07-13 09:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.366304 -3.400515)', '2026-07-13 09:55:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366267 -3.400432)'), GeomFromEWKT('SRID=4674;POINT (-38.366304 -3.400515)'))) / (select extract(epoch from '2026-07-13 09:55:51'::timestamp) - extract(epoch from '2026-07-13 09:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366267 -3.400432)'), GeomFromEWKT('SRID=4674;POINT (-38.366304 -3.400515)'))) / (select extract(epoch from '2026-07-13 09:55:51'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.366346 -3.400635)', '2026-07-13 09:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366304 -3.400515)'), GeomFromEWKT('SRID=4674;POINT (-38.366346 -3.400635)'))) / (select extract(epoch from '2026-07-13 09:55:59'::timestamp) - extract(epoch from '2026-07-13 09:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366304 -3.400515)'), GeomFromEWKT('SRID=4674;POINT (-38.366346 -3.400635)'))) / (select extract(epoch from '2026-07-13 09:55:59'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.366382 -3.400746)', '2026-07-13 09:56:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366346 -3.400635)'), GeomFromEWKT('SRID=4674;POINT (-38.366382 -3.400746)'))) / (select extract(epoch from '2026-07-13 09:56:06'::timestamp) - extract(epoch from '2026-07-13 09:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366346 -3.400635)'), GeomFromEWKT('SRID=4674;POINT (-38.366382 -3.400746)'))) / (select extract(epoch from '2026-07-13 09:56:06'::timestamp) - extract(epoch from '2026-07-13 09:55: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'), 47392, 'SRID=4674;POINT (-38.366421 -3.400835)', '2026-07-13 09:56:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366382 -3.400746)'), GeomFromEWKT('SRID=4674;POINT (-38.366421 -3.400835)'))) / (select extract(epoch from '2026-07-13 09:56:12'::timestamp) - extract(epoch from '2026-07-13 09:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366382 -3.400746)'), GeomFromEWKT('SRID=4674;POINT (-38.366421 -3.400835)'))) / (select extract(epoch from '2026-07-13 09:56:12'::timestamp) - extract(epoch from '2026-07-13 09:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.366455 -3.40092)', '2026-07-13 09:56:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366421 -3.400835)'), GeomFromEWKT('SRID=4674;POINT (-38.366455 -3.40092)'))) / (select extract(epoch from '2026-07-13 09:56:18'::timestamp) - extract(epoch from '2026-07-13 09:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366421 -3.400835)'), GeomFromEWKT('SRID=4674;POINT (-38.366455 -3.40092)'))) / (select extract(epoch from '2026-07-13 09:56:18'::timestamp) - extract(epoch from '2026-07-13 09:56: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'), 47392, 'SRID=4674;POINT (-38.366478 -3.401016)', '2026-07-13 09:56:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366455 -3.40092)'), GeomFromEWKT('SRID=4674;POINT (-38.366478 -3.401016)'))) / (select extract(epoch from '2026-07-13 09:56:24'::timestamp) - extract(epoch from '2026-07-13 09:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366455 -3.40092)'), GeomFromEWKT('SRID=4674;POINT (-38.366478 -3.401016)'))) / (select extract(epoch from '2026-07-13 09:56:24'::timestamp) - extract(epoch from '2026-07-13 09:56:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.366512 -3.401124)', '2026-07-13 09:56:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366478 -3.401016)'), GeomFromEWKT('SRID=4674;POINT (-38.366512 -3.401124)'))) / (select extract(epoch from '2026-07-13 09:56:31'::timestamp) - extract(epoch from '2026-07-13 09:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366478 -3.401016)'), GeomFromEWKT('SRID=4674;POINT (-38.366512 -3.401124)'))) / (select extract(epoch from '2026-07-13 09:56:31'::timestamp) - extract(epoch from '2026-07-13 09:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.366542 -3.401198)', '2026-07-13 09:56:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366512 -3.401124)'), GeomFromEWKT('SRID=4674;POINT (-38.366542 -3.401198)'))) / (select extract(epoch from '2026-07-13 09:56:36'::timestamp) - extract(epoch from '2026-07-13 09:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366512 -3.401124)'), GeomFromEWKT('SRID=4674;POINT (-38.366542 -3.401198)'))) / (select extract(epoch from '2026-07-13 09:56:36'::timestamp) - extract(epoch from '2026-07-13 09:56: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'), 47392, 'SRID=4674;POINT (-38.366585 -3.401306)', '2026-07-13 09:56:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366542 -3.401198)'), GeomFromEWKT('SRID=4674;POINT (-38.366585 -3.401306)'))) / (select extract(epoch from '2026-07-13 09:56:43'::timestamp) - extract(epoch from '2026-07-13 09:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366542 -3.401198)'), GeomFromEWKT('SRID=4674;POINT (-38.366585 -3.401306)'))) / (select extract(epoch from '2026-07-13 09:56:43'::timestamp) - extract(epoch from '2026-07-13 09:56: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'), 47392, 'SRID=4674;POINT (-38.366599 -3.401334)', '2026-07-13 09:56:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366585 -3.401306)'), GeomFromEWKT('SRID=4674;POINT (-38.366599 -3.401334)'))) / (select extract(epoch from '2026-07-13 09:56:45'::timestamp) - extract(epoch from '2026-07-13 09:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366585 -3.401306)'), GeomFromEWKT('SRID=4674;POINT (-38.366599 -3.401334)'))) / (select extract(epoch from '2026-07-13 09:56:45'::timestamp) - extract(epoch from '2026-07-13 09:56: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'), 47392, 'SRID=4674;POINT (-38.366623 -3.401375)', '2026-07-13 09:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366599 -3.401334)'), GeomFromEWKT('SRID=4674;POINT (-38.366623 -3.401375)'))) / (select extract(epoch from '2026-07-13 09:56:48'::timestamp) - extract(epoch from '2026-07-13 09:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366599 -3.401334)'), GeomFromEWKT('SRID=4674;POINT (-38.366623 -3.401375)'))) / (select extract(epoch from '2026-07-13 09:56:48'::timestamp) - extract(epoch from '2026-07-13 09:56: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'), 47392, 'SRID=4674;POINT (-38.366676 -3.401472)', '2026-07-13 09:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366623 -3.401375)'), GeomFromEWKT('SRID=4674;POINT (-38.366676 -3.401472)'))) / (select extract(epoch from '2026-07-13 09:56:55'::timestamp) - extract(epoch from '2026-07-13 09:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366623 -3.401375)'), GeomFromEWKT('SRID=4674;POINT (-38.366676 -3.401472)'))) / (select extract(epoch from '2026-07-13 09:56:55'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.36672 -3.401581)', '2026-07-13 09:57:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366676 -3.401472)'), GeomFromEWKT('SRID=4674;POINT (-38.36672 -3.401581)'))) / (select extract(epoch from '2026-07-13 09:57:03'::timestamp) - extract(epoch from '2026-07-13 09:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366676 -3.401472)'), GeomFromEWKT('SRID=4674;POINT (-38.36672 -3.401581)'))) / (select extract(epoch from '2026-07-13 09:57:03'::timestamp) - extract(epoch from '2026-07-13 09:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.366754 -3.401685)', '2026-07-13 09:57:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36672 -3.401581)'), GeomFromEWKT('SRID=4674;POINT (-38.366754 -3.401685)'))) / (select extract(epoch from '2026-07-13 09:57:11'::timestamp) - extract(epoch from '2026-07-13 09:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36672 -3.401581)'), GeomFromEWKT('SRID=4674;POINT (-38.366754 -3.401685)'))) / (select extract(epoch from '2026-07-13 09:57:11'::timestamp) - extract(epoch from '2026-07-13 09:57: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'), 47392, 'SRID=4674;POINT (-38.366784 -3.401771)', '2026-07-13 09:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366754 -3.401685)'), GeomFromEWKT('SRID=4674;POINT (-38.366784 -3.401771)'))) / (select extract(epoch from '2026-07-13 09:57:17'::timestamp) - extract(epoch from '2026-07-13 09:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366754 -3.401685)'), GeomFromEWKT('SRID=4674;POINT (-38.366784 -3.401771)'))) / (select extract(epoch from '2026-07-13 09:57:17'::timestamp) - extract(epoch from '2026-07-13 09:57: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'), 47392, 'SRID=4674;POINT (-38.366813 -3.401858)', '2026-07-13 09:57:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366784 -3.401771)'), GeomFromEWKT('SRID=4674;POINT (-38.366813 -3.401858)'))) / (select extract(epoch from '2026-07-13 09:57:23'::timestamp) - extract(epoch from '2026-07-13 09:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366784 -3.401771)'), GeomFromEWKT('SRID=4674;POINT (-38.366813 -3.401858)'))) / (select extract(epoch from '2026-07-13 09:57:23'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.366847 -3.401962)', '2026-07-13 09:57:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366813 -3.401858)'), GeomFromEWKT('SRID=4674;POINT (-38.366847 -3.401962)'))) / (select extract(epoch from '2026-07-13 09:57:31'::timestamp) - extract(epoch from '2026-07-13 09:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366813 -3.401858)'), GeomFromEWKT('SRID=4674;POINT (-38.366847 -3.401962)'))) / (select extract(epoch from '2026-07-13 09:57:31'::timestamp) - extract(epoch from '2026-07-13 09:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.366885 -3.402053)', '2026-07-13 09:57:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366847 -3.401962)'), GeomFromEWKT('SRID=4674;POINT (-38.366885 -3.402053)'))) / (select extract(epoch from '2026-07-13 09:57:38'::timestamp) - extract(epoch from '2026-07-13 09:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366847 -3.401962)'), GeomFromEWKT('SRID=4674;POINT (-38.366885 -3.402053)'))) / (select extract(epoch from '2026-07-13 09:57:38'::timestamp) - extract(epoch from '2026-07-13 09:57: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'), 47392, 'SRID=4674;POINT (-38.366914 -3.402132)', '2026-07-13 09:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366885 -3.402053)'), GeomFromEWKT('SRID=4674;POINT (-38.366914 -3.402132)'))) / (select extract(epoch from '2026-07-13 09:57:44'::timestamp) - extract(epoch from '2026-07-13 09:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366885 -3.402053)'), GeomFromEWKT('SRID=4674;POINT (-38.366914 -3.402132)'))) / (select extract(epoch from '2026-07-13 09:57:44'::timestamp) - extract(epoch from '2026-07-13 09:57: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'), 47392, 'SRID=4674;POINT (-38.366958 -3.402213)', '2026-07-13 09:57:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366914 -3.402132)'), GeomFromEWKT('SRID=4674;POINT (-38.366958 -3.402213)'))) / (select extract(epoch from '2026-07-13 09:57:50'::timestamp) - extract(epoch from '2026-07-13 09:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366914 -3.402132)'), GeomFromEWKT('SRID=4674;POINT (-38.366958 -3.402213)'))) / (select extract(epoch from '2026-07-13 09:57:50'::timestamp) - extract(epoch from '2026-07-13 09:57:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36698 -3.402287)', '2026-07-13 09:57:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366958 -3.402213)'), GeomFromEWKT('SRID=4674;POINT (-38.36698 -3.402287)'))) / (select extract(epoch from '2026-07-13 09:57:56'::timestamp) - extract(epoch from '2026-07-13 09:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366958 -3.402213)'), GeomFromEWKT('SRID=4674;POINT (-38.36698 -3.402287)'))) / (select extract(epoch from '2026-07-13 09:57:56'::timestamp) - extract(epoch from '2026-07-13 09:57: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'), 47392, 'SRID=4674;POINT (-38.36702 -3.402387)', '2026-07-13 09:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36698 -3.402287)'), GeomFromEWKT('SRID=4674;POINT (-38.36702 -3.402387)'))) / (select extract(epoch from '2026-07-13 09:58:04'::timestamp) - extract(epoch from '2026-07-13 09:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36698 -3.402287)'), GeomFromEWKT('SRID=4674;POINT (-38.36702 -3.402387)'))) / (select extract(epoch from '2026-07-13 09:58:04'::timestamp) - extract(epoch from '2026-07-13 09:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.367048 -3.402475)', '2026-07-13 09:58:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36702 -3.402387)'), GeomFromEWKT('SRID=4674;POINT (-38.367048 -3.402475)'))) / (select extract(epoch from '2026-07-13 09:58:11'::timestamp) - extract(epoch from '2026-07-13 09:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36702 -3.402387)'), GeomFromEWKT('SRID=4674;POINT (-38.367048 -3.402475)'))) / (select extract(epoch from '2026-07-13 09:58:11'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47392, 'SRID=4674;POINT (-38.367071 -3.402554)', '2026-07-13 09:58:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367048 -3.402475)'), GeomFromEWKT('SRID=4674;POINT (-38.367071 -3.402554)'))) / (select extract(epoch from '2026-07-13 09:58:17'::timestamp) - extract(epoch from '2026-07-13 09:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367048 -3.402475)'), GeomFromEWKT('SRID=4674;POINT (-38.367071 -3.402554)'))) / (select extract(epoch from '2026-07-13 09:58:17'::timestamp) - extract(epoch from '2026-07-13 09:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.367095 -3.402637)', '2026-07-13 09:58:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367071 -3.402554)'), GeomFromEWKT('SRID=4674;POINT (-38.367095 -3.402637)'))) / (select extract(epoch from '2026-07-13 09:58:23'::timestamp) - extract(epoch from '2026-07-13 09:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367071 -3.402554)'), GeomFromEWKT('SRID=4674;POINT (-38.367095 -3.402637)'))) / (select extract(epoch from '2026-07-13 09:58:23'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.367122 -3.402738)', '2026-07-13 09:58:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367095 -3.402637)'), GeomFromEWKT('SRID=4674;POINT (-38.367122 -3.402738)'))) / (select extract(epoch from '2026-07-13 09:58:30'::timestamp) - extract(epoch from '2026-07-13 09:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367095 -3.402637)'), GeomFromEWKT('SRID=4674;POINT (-38.367122 -3.402738)'))) / (select extract(epoch from '2026-07-13 09:58:30'::timestamp) - extract(epoch from '2026-07-13 09:58:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.367147 -3.402799)', '2026-07-13 09:58:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367122 -3.402738)'), GeomFromEWKT('SRID=4674;POINT (-38.367147 -3.402799)'))) / (select extract(epoch from '2026-07-13 09:58:34'::timestamp) - extract(epoch from '2026-07-13 09:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367122 -3.402738)'), GeomFromEWKT('SRID=4674;POINT (-38.367147 -3.402799)'))) / (select extract(epoch from '2026-07-13 09:58:34'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47392, 'SRID=4674;POINT (-38.367153 -3.402826)', '2026-07-13 09:58:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367147 -3.402799)'), GeomFromEWKT('SRID=4674;POINT (-38.367153 -3.402826)'))) / (select extract(epoch from '2026-07-13 09:58:36'::timestamp) - extract(epoch from '2026-07-13 09:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367147 -3.402799)'), GeomFromEWKT('SRID=4674;POINT (-38.367153 -3.402826)'))) / (select extract(epoch from '2026-07-13 09:58:36'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47392, 'SRID=4674;POINT (-38.367189 -3.402927)', '2026-07-13 09:58:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367153 -3.402826)'), GeomFromEWKT('SRID=4674;POINT (-38.367189 -3.402927)'))) / (select extract(epoch from '2026-07-13 09:58:43'::timestamp) - extract(epoch from '2026-07-13 09:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367153 -3.402826)'), GeomFromEWKT('SRID=4674;POINT (-38.367189 -3.402927)'))) / (select extract(epoch from '2026-07-13 09:58:43'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47392, 'SRID=4674;POINT (-38.36723 -3.403018)', '2026-07-13 09:58:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367189 -3.402927)'), GeomFromEWKT('SRID=4674;POINT (-38.36723 -3.403018)'))) / (select extract(epoch from '2026-07-13 09:58:49'::timestamp) - extract(epoch from '2026-07-13 09:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367189 -3.402927)'), GeomFromEWKT('SRID=4674;POINT (-38.36723 -3.403018)'))) / (select extract(epoch from '2026-07-13 09:58:49'::timestamp) - extract(epoch from '2026-07-13 09:58:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36723 -3.403032)', '2026-07-13 09:58:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36723 -3.403018)'), GeomFromEWKT('SRID=4674;POINT (-38.36723 -3.403032)'))) / (select extract(epoch from '2026-07-13 09:58:50'::timestamp) - extract(epoch from '2026-07-13 09:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36723 -3.403018)'), GeomFromEWKT('SRID=4674;POINT (-38.36723 -3.403032)'))) / (select extract(epoch from '2026-07-13 09:58:50'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47392, 'SRID=4674;POINT (-38.367239 -3.403065)', '2026-07-13 09:58:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36723 -3.403032)'), GeomFromEWKT('SRID=4674;POINT (-38.367239 -3.403065)'))) / (select extract(epoch from '2026-07-13 09:58:52'::timestamp) - extract(epoch from '2026-07-13 09:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36723 -3.403032)'), GeomFromEWKT('SRID=4674;POINT (-38.367239 -3.403065)'))) / (select extract(epoch from '2026-07-13 09:58:52'::timestamp) - extract(epoch from '2026-07-13 09:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.367259 -3.4031)', '2026-07-13 09:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367239 -3.403065)'), GeomFromEWKT('SRID=4674;POINT (-38.367259 -3.4031)'))) / (select extract(epoch from '2026-07-13 09:58:54'::timestamp) - extract(epoch from '2026-07-13 09:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367239 -3.403065)'), GeomFromEWKT('SRID=4674;POINT (-38.367259 -3.4031)'))) / (select extract(epoch from '2026-07-13 09:58:54'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47392, 'SRID=4674;POINT (-38.367284 -3.40319)', '2026-07-13 09:59:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367259 -3.4031)'), GeomFromEWKT('SRID=4674;POINT (-38.367284 -3.40319)'))) / (select extract(epoch from '2026-07-13 09:59:00'::timestamp) - extract(epoch from '2026-07-13 09:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367259 -3.4031)'), GeomFromEWKT('SRID=4674;POINT (-38.367284 -3.40319)'))) / (select extract(epoch from '2026-07-13 09:59:00'::timestamp) - extract(epoch from '2026-07-13 09:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.367341 -3.403294)', '2026-07-13 09:59:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367284 -3.40319)'), GeomFromEWKT('SRID=4674;POINT (-38.367341 -3.403294)'))) / (select extract(epoch from '2026-07-13 09:59:07'::timestamp) - extract(epoch from '2026-07-13 09:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367284 -3.40319)'), GeomFromEWKT('SRID=4674;POINT (-38.367341 -3.403294)'))) / (select extract(epoch from '2026-07-13 09:59:07'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.367386 -3.403385)', '2026-07-13 09:59:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367341 -3.403294)'), GeomFromEWKT('SRID=4674;POINT (-38.367386 -3.403385)'))) / (select extract(epoch from '2026-07-13 09:59:13'::timestamp) - extract(epoch from '2026-07-13 09:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367341 -3.403294)'), GeomFromEWKT('SRID=4674;POINT (-38.367386 -3.403385)'))) / (select extract(epoch from '2026-07-13 09:59:13'::timestamp) - extract(epoch from '2026-07-13 09:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.367428 -3.403484)', '2026-07-13 09:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367386 -3.403385)'), GeomFromEWKT('SRID=4674;POINT (-38.367428 -3.403484)'))) / (select extract(epoch from '2026-07-13 09:59:20'::timestamp) - extract(epoch from '2026-07-13 09:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367386 -3.403385)'), GeomFromEWKT('SRID=4674;POINT (-38.367428 -3.403484)'))) / (select extract(epoch from '2026-07-13 09:59:20'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47392, 'SRID=4674;POINT (-38.367457 -3.403573)', '2026-07-13 09:59:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367428 -3.403484)'), GeomFromEWKT('SRID=4674;POINT (-38.367457 -3.403573)'))) / (select extract(epoch from '2026-07-13 09:59:26'::timestamp) - extract(epoch from '2026-07-13 09:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367428 -3.403484)'), GeomFromEWKT('SRID=4674;POINT (-38.367457 -3.403573)'))) / (select extract(epoch from '2026-07-13 09:59:26'::timestamp) - extract(epoch from '2026-07-13 09:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.367495 -3.403678)', '2026-07-13 09:59:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367457 -3.403573)'), GeomFromEWKT('SRID=4674;POINT (-38.367495 -3.403678)'))) / (select extract(epoch from '2026-07-13 09:59:33'::timestamp) - extract(epoch from '2026-07-13 09:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367457 -3.403573)'), GeomFromEWKT('SRID=4674;POINT (-38.367495 -3.403678)'))) / (select extract(epoch from '2026-07-13 09:59:33'::timestamp) - extract(epoch from '2026-07-13 09:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36753 -3.403781)', '2026-07-13 09:59:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367495 -3.403678)'), GeomFromEWKT('SRID=4674;POINT (-38.36753 -3.403781)'))) / (select extract(epoch from '2026-07-13 09:59:39'::timestamp) - extract(epoch from '2026-07-13 09:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367495 -3.403678)'), GeomFromEWKT('SRID=4674;POINT (-38.36753 -3.403781)'))) / (select extract(epoch from '2026-07-13 09:59:39'::timestamp) - extract(epoch from '2026-07-13 09:59: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'), 47392, 'SRID=4674;POINT (-38.367566 -3.403881)', '2026-07-13 09:59:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36753 -3.403781)'), GeomFromEWKT('SRID=4674;POINT (-38.367566 -3.403881)'))) / (select extract(epoch from '2026-07-13 09:59:45'::timestamp) - extract(epoch from '2026-07-13 09:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36753 -3.403781)'), GeomFromEWKT('SRID=4674;POINT (-38.367566 -3.403881)'))) / (select extract(epoch from '2026-07-13 09:59:45'::timestamp) - extract(epoch from '2026-07-13 09:59: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'), 47392, 'SRID=4674;POINT (-38.367609 -3.403972)', '2026-07-13 09:59:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367566 -3.403881)'), GeomFromEWKT('SRID=4674;POINT (-38.367609 -3.403972)'))) / (select extract(epoch from '2026-07-13 09:59:51'::timestamp) - extract(epoch from '2026-07-13 09:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367566 -3.403881)'), GeomFromEWKT('SRID=4674;POINT (-38.367609 -3.403972)'))) / (select extract(epoch from '2026-07-13 09:59:51'::timestamp) - extract(epoch from '2026-07-13 09:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36766 -3.404073)', '2026-07-13 09:59:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367609 -3.403972)'), GeomFromEWKT('SRID=4674;POINT (-38.36766 -3.404073)'))) / (select extract(epoch from '2026-07-13 09:59:58'::timestamp) - extract(epoch from '2026-07-13 09:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367609 -3.403972)'), GeomFromEWKT('SRID=4674;POINT (-38.36766 -3.404073)'))) / (select extract(epoch from '2026-07-13 09:59:58'::timestamp) - extract(epoch from '2026-07-13 09:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.367675 -3.404142)', '2026-07-13 10:00:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36766 -3.404073)'), GeomFromEWKT('SRID=4674;POINT (-38.367675 -3.404142)'))) / (select extract(epoch from '2026-07-13 10:00:02'::timestamp) - extract(epoch from '2026-07-13 09:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36766 -3.404073)'), GeomFromEWKT('SRID=4674;POINT (-38.367675 -3.404142)'))) / (select extract(epoch from '2026-07-13 10:00:02'::timestamp) - extract(epoch from '2026-07-13 09:59:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36771 -3.404244)', '2026-07-13 10:00:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367675 -3.404142)'), GeomFromEWKT('SRID=4674;POINT (-38.36771 -3.404244)'))) / (select extract(epoch from '2026-07-13 10:00:08'::timestamp) - extract(epoch from '2026-07-13 10:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367675 -3.404142)'), GeomFromEWKT('SRID=4674;POINT (-38.36771 -3.404244)'))) / (select extract(epoch from '2026-07-13 10:00:08'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47392, 'SRID=4674;POINT (-38.367748 -3.404361)', '2026-07-13 10:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36771 -3.404244)'), GeomFromEWKT('SRID=4674;POINT (-38.367748 -3.404361)'))) / (select extract(epoch from '2026-07-13 10:00:16'::timestamp) - extract(epoch from '2026-07-13 10:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36771 -3.404244)'), GeomFromEWKT('SRID=4674;POINT (-38.367748 -3.404361)'))) / (select extract(epoch from '2026-07-13 10:00:16'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47392, 'SRID=4674;POINT (-38.367777 -3.404462)', '2026-07-13 10:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367748 -3.404361)'), GeomFromEWKT('SRID=4674;POINT (-38.367777 -3.404462)'))) / (select extract(epoch from '2026-07-13 10:00:23'::timestamp) - extract(epoch from '2026-07-13 10:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367748 -3.404361)'), GeomFromEWKT('SRID=4674;POINT (-38.367777 -3.404462)'))) / (select extract(epoch from '2026-07-13 10:00:23'::timestamp) - extract(epoch from '2026-07-13 10:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.367798 -3.404535)', '2026-07-13 10:00:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367777 -3.404462)'), GeomFromEWKT('SRID=4674;POINT (-38.367798 -3.404535)'))) / (select extract(epoch from '2026-07-13 10:00:28'::timestamp) - extract(epoch from '2026-07-13 10:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367777 -3.404462)'), GeomFromEWKT('SRID=4674;POINT (-38.367798 -3.404535)'))) / (select extract(epoch from '2026-07-13 10:00:28'::timestamp) - extract(epoch from '2026-07-13 10:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36781 -3.404551)', '2026-07-13 10:00:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367798 -3.404535)'), GeomFromEWKT('SRID=4674;POINT (-38.36781 -3.404551)'))) / (select extract(epoch from '2026-07-13 10:00:29'::timestamp) - extract(epoch from '2026-07-13 10:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367798 -3.404535)'), GeomFromEWKT('SRID=4674;POINT (-38.36781 -3.404551)'))) / (select extract(epoch from '2026-07-13 10:00:29'::timestamp) - extract(epoch from '2026-07-13 10:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.367842 -3.404641)', '2026-07-13 10:00:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36781 -3.404551)'), GeomFromEWKT('SRID=4674;POINT (-38.367842 -3.404641)'))) / (select extract(epoch from '2026-07-13 10:00:35'::timestamp) - extract(epoch from '2026-07-13 10:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36781 -3.404551)'), GeomFromEWKT('SRID=4674;POINT (-38.367842 -3.404641)'))) / (select extract(epoch from '2026-07-13 10:00:35'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47392, 'SRID=4674;POINT (-38.367884 -3.404733)', '2026-07-13 10:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367842 -3.404641)'), GeomFromEWKT('SRID=4674;POINT (-38.367884 -3.404733)'))) / (select extract(epoch from '2026-07-13 10:00:41'::timestamp) - extract(epoch from '2026-07-13 10:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367842 -3.404641)'), GeomFromEWKT('SRID=4674;POINT (-38.367884 -3.404733)'))) / (select extract(epoch from '2026-07-13 10:00:41'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.367912 -3.404824)', '2026-07-13 10:00:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367884 -3.404733)'), GeomFromEWKT('SRID=4674;POINT (-38.367912 -3.404824)'))) / (select extract(epoch from '2026-07-13 10:00:47'::timestamp) - extract(epoch from '2026-07-13 10:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367884 -3.404733)'), GeomFromEWKT('SRID=4674;POINT (-38.367912 -3.404824)'))) / (select extract(epoch from '2026-07-13 10:00:47'::timestamp) - extract(epoch from '2026-07-13 10:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.367952 -3.404943)', '2026-07-13 10:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367912 -3.404824)'), GeomFromEWKT('SRID=4674;POINT (-38.367952 -3.404943)'))) / (select extract(epoch from '2026-07-13 10:00:55'::timestamp) - extract(epoch from '2026-07-13 10:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367912 -3.404824)'), GeomFromEWKT('SRID=4674;POINT (-38.367952 -3.404943)'))) / (select extract(epoch from '2026-07-13 10:00:55'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47392, 'SRID=4674;POINT (-38.367978 -3.40503)', '2026-07-13 10:01:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367952 -3.404943)'), GeomFromEWKT('SRID=4674;POINT (-38.367978 -3.40503)'))) / (select extract(epoch from '2026-07-13 10:01:01'::timestamp) - extract(epoch from '2026-07-13 10:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367952 -3.404943)'), GeomFromEWKT('SRID=4674;POINT (-38.367978 -3.40503)'))) / (select extract(epoch from '2026-07-13 10:01:01'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47392, 'SRID=4674;POINT (-38.368005 -3.405101)', '2026-07-13 10:01:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367978 -3.40503)'), GeomFromEWKT('SRID=4674;POINT (-38.368005 -3.405101)'))) / (select extract(epoch from '2026-07-13 10:01:06'::timestamp) - extract(epoch from '2026-07-13 10:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367978 -3.40503)'), GeomFromEWKT('SRID=4674;POINT (-38.368005 -3.405101)'))) / (select extract(epoch from '2026-07-13 10:01:06'::timestamp) - extract(epoch from '2026-07-13 10:01: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'), 47392, 'SRID=4674;POINT (-38.368038 -3.405188)', '2026-07-13 10:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368005 -3.405101)'), GeomFromEWKT('SRID=4674;POINT (-38.368038 -3.405188)'))) / (select extract(epoch from '2026-07-13 10:01:12'::timestamp) - extract(epoch from '2026-07-13 10:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368005 -3.405101)'), GeomFromEWKT('SRID=4674;POINT (-38.368038 -3.405188)'))) / (select extract(epoch from '2026-07-13 10:01:12'::timestamp) - extract(epoch from '2026-07-13 10:01: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'), 47392, 'SRID=4674;POINT (-38.368068 -3.405265)', '2026-07-13 10:01:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368038 -3.405188)'), GeomFromEWKT('SRID=4674;POINT (-38.368068 -3.405265)'))) / (select extract(epoch from '2026-07-13 10:01:17'::timestamp) - extract(epoch from '2026-07-13 10:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368038 -3.405188)'), GeomFromEWKT('SRID=4674;POINT (-38.368068 -3.405265)'))) / (select extract(epoch from '2026-07-13 10:01:17'::timestamp) - extract(epoch from '2026-07-13 10:01: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'), 47392, 'SRID=4674;POINT (-38.368095 -3.405339)', '2026-07-13 10:01:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368068 -3.405265)'), GeomFromEWKT('SRID=4674;POINT (-38.368095 -3.405339)'))) / (select extract(epoch from '2026-07-13 10:01:22'::timestamp) - extract(epoch from '2026-07-13 10:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368068 -3.405265)'), GeomFromEWKT('SRID=4674;POINT (-38.368095 -3.405339)'))) / (select extract(epoch from '2026-07-13 10:01:22'::timestamp) - extract(epoch from '2026-07-13 10:01: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'), 47392, 'SRID=4674;POINT (-38.368121 -3.405431)', '2026-07-13 10:01:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368095 -3.405339)'), GeomFromEWKT('SRID=4674;POINT (-38.368121 -3.405431)'))) / (select extract(epoch from '2026-07-13 10:01:28'::timestamp) - extract(epoch from '2026-07-13 10:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368095 -3.405339)'), GeomFromEWKT('SRID=4674;POINT (-38.368121 -3.405431)'))) / (select extract(epoch from '2026-07-13 10:01:28'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.368147 -3.405511)', '2026-07-13 10:01:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368121 -3.405431)'), GeomFromEWKT('SRID=4674;POINT (-38.368147 -3.405511)'))) / (select extract(epoch from '2026-07-13 10:01:33'::timestamp) - extract(epoch from '2026-07-13 10:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368121 -3.405431)'), GeomFromEWKT('SRID=4674;POINT (-38.368147 -3.405511)'))) / (select extract(epoch from '2026-07-13 10:01:33'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.36818 -3.405633)', '2026-07-13 10:01:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368147 -3.405511)'), GeomFromEWKT('SRID=4674;POINT (-38.36818 -3.405633)'))) / (select extract(epoch from '2026-07-13 10:01:41'::timestamp) - extract(epoch from '2026-07-13 10:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368147 -3.405511)'), GeomFromEWKT('SRID=4674;POINT (-38.36818 -3.405633)'))) / (select extract(epoch from '2026-07-13 10:01:41'::timestamp) - extract(epoch from '2026-07-13 10:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.368206 -3.405745)', '2026-07-13 10:01:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36818 -3.405633)'), GeomFromEWKT('SRID=4674;POINT (-38.368206 -3.405745)'))) / (select extract(epoch from '2026-07-13 10:01:48'::timestamp) - extract(epoch from '2026-07-13 10:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36818 -3.405633)'), GeomFromEWKT('SRID=4674;POINT (-38.368206 -3.405745)'))) / (select extract(epoch from '2026-07-13 10:01:48'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.368227 -3.405849)', '2026-07-13 10:01:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368206 -3.405745)'), GeomFromEWKT('SRID=4674;POINT (-38.368227 -3.405849)'))) / (select extract(epoch from '2026-07-13 10:01:54'::timestamp) - extract(epoch from '2026-07-13 10:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368206 -3.405745)'), GeomFromEWKT('SRID=4674;POINT (-38.368227 -3.405849)'))) / (select extract(epoch from '2026-07-13 10:01:54'::timestamp) - extract(epoch from '2026-07-13 10:01: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'), 47392, 'SRID=4674;POINT (-38.368255 -3.405945)', '2026-07-13 10:02:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368227 -3.405849)'), GeomFromEWKT('SRID=4674;POINT (-38.368255 -3.405945)'))) / (select extract(epoch from '2026-07-13 10:02:00'::timestamp) - extract(epoch from '2026-07-13 10:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368227 -3.405849)'), GeomFromEWKT('SRID=4674;POINT (-38.368255 -3.405945)'))) / (select extract(epoch from '2026-07-13 10:02:00'::timestamp) - extract(epoch from '2026-07-13 10:01:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.368281 -3.406049)', '2026-07-13 10:02:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368255 -3.405945)'), GeomFromEWKT('SRID=4674;POINT (-38.368281 -3.406049)'))) / (select extract(epoch from '2026-07-13 10:02:07'::timestamp) - extract(epoch from '2026-07-13 10:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368255 -3.405945)'), GeomFromEWKT('SRID=4674;POINT (-38.368281 -3.406049)'))) / (select extract(epoch from '2026-07-13 10:02:07'::timestamp) - extract(epoch from '2026-07-13 10:02: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'), 47392, 'SRID=4674;POINT (-38.368305 -3.406148)', '2026-07-13 10:02:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368281 -3.406049)'), GeomFromEWKT('SRID=4674;POINT (-38.368305 -3.406148)'))) / (select extract(epoch from '2026-07-13 10:02:14'::timestamp) - extract(epoch from '2026-07-13 10:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368281 -3.406049)'), GeomFromEWKT('SRID=4674;POINT (-38.368305 -3.406148)'))) / (select extract(epoch from '2026-07-13 10:02:14'::timestamp) - extract(epoch from '2026-07-13 10:02: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'), 47392, 'SRID=4674;POINT (-38.36833 -3.406233)', '2026-07-13 10:02:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368305 -3.406148)'), GeomFromEWKT('SRID=4674;POINT (-38.36833 -3.406233)'))) / (select extract(epoch from '2026-07-13 10:02:20'::timestamp) - extract(epoch from '2026-07-13 10:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368305 -3.406148)'), GeomFromEWKT('SRID=4674;POINT (-38.36833 -3.406233)'))) / (select extract(epoch from '2026-07-13 10:02:20'::timestamp) - extract(epoch from '2026-07-13 10:02: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'), 47392, 'SRID=4674;POINT (-38.368346 -3.406317)', '2026-07-13 10:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36833 -3.406233)'), GeomFromEWKT('SRID=4674;POINT (-38.368346 -3.406317)'))) / (select extract(epoch from '2026-07-13 10:02:26'::timestamp) - extract(epoch from '2026-07-13 10:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36833 -3.406233)'), GeomFromEWKT('SRID=4674;POINT (-38.368346 -3.406317)'))) / (select extract(epoch from '2026-07-13 10:02:26'::timestamp) - extract(epoch from '2026-07-13 10:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.368369 -3.406394)', '2026-07-13 10:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368346 -3.406317)'), GeomFromEWKT('SRID=4674;POINT (-38.368369 -3.406394)'))) / (select extract(epoch from '2026-07-13 10:02:32'::timestamp) - extract(epoch from '2026-07-13 10:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368346 -3.406317)'), GeomFromEWKT('SRID=4674;POINT (-38.368369 -3.406394)'))) / (select extract(epoch from '2026-07-13 10:02:32'::timestamp) - extract(epoch from '2026-07-13 10:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.368385 -3.40643)', '2026-07-13 10:02:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368369 -3.406394)'), GeomFromEWKT('SRID=4674;POINT (-38.368385 -3.40643)'))) / (select extract(epoch from '2026-07-13 10:02:35'::timestamp) - extract(epoch from '2026-07-13 10:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368369 -3.406394)'), GeomFromEWKT('SRID=4674;POINT (-38.368385 -3.40643)'))) / (select extract(epoch from '2026-07-13 10:02:35'::timestamp) - extract(epoch from '2026-07-13 10:02: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'), 47392, 'SRID=4674;POINT (-38.3684 -3.406472)', '2026-07-13 10:02:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368385 -3.40643)'), GeomFromEWKT('SRID=4674;POINT (-38.3684 -3.406472)'))) / (select extract(epoch from '2026-07-13 10:02:38'::timestamp) - extract(epoch from '2026-07-13 10:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368385 -3.40643)'), GeomFromEWKT('SRID=4674;POINT (-38.3684 -3.406472)'))) / (select extract(epoch from '2026-07-13 10:02:38'::timestamp) - extract(epoch from '2026-07-13 10:02: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'), 47392, 'SRID=4674;POINT (-38.36843 -3.406555)', '2026-07-13 10:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3684 -3.406472)'), GeomFromEWKT('SRID=4674;POINT (-38.36843 -3.406555)'))) / (select extract(epoch from '2026-07-13 10:02:45'::timestamp) - extract(epoch from '2026-07-13 10:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3684 -3.406472)'), GeomFromEWKT('SRID=4674;POINT (-38.36843 -3.406555)'))) / (select extract(epoch from '2026-07-13 10:02:45'::timestamp) - extract(epoch from '2026-07-13 10:02:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.368449 -3.406621)', '2026-07-13 10:02:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36843 -3.406555)'), GeomFromEWKT('SRID=4674;POINT (-38.368449 -3.406621)'))) / (select extract(epoch from '2026-07-13 10:02:50'::timestamp) - extract(epoch from '2026-07-13 10:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36843 -3.406555)'), GeomFromEWKT('SRID=4674;POINT (-38.368449 -3.406621)'))) / (select extract(epoch from '2026-07-13 10:02:50'::timestamp) - extract(epoch from '2026-07-13 10:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36845 -3.406633)', '2026-07-13 10:02:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368449 -3.406621)'), GeomFromEWKT('SRID=4674;POINT (-38.36845 -3.406633)'))) / (select extract(epoch from '2026-07-13 10:02:51'::timestamp) - extract(epoch from '2026-07-13 10:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368449 -3.406621)'), GeomFromEWKT('SRID=4674;POINT (-38.36845 -3.406633)'))) / (select extract(epoch from '2026-07-13 10:02:51'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.368483 -3.406717)', '2026-07-13 10:02:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36845 -3.406633)'), GeomFromEWKT('SRID=4674;POINT (-38.368483 -3.406717)'))) / (select extract(epoch from '2026-07-13 10:02:58'::timestamp) - extract(epoch from '2026-07-13 10:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36845 -3.406633)'), GeomFromEWKT('SRID=4674;POINT (-38.368483 -3.406717)'))) / (select extract(epoch from '2026-07-13 10:02:58'::timestamp) - extract(epoch from '2026-07-13 10:02: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'), 47392, 'SRID=4674;POINT (-38.368511 -3.406795)', '2026-07-13 10:03:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368483 -3.406717)'), GeomFromEWKT('SRID=4674;POINT (-38.368511 -3.406795)'))) / (select extract(epoch from '2026-07-13 10:03:04'::timestamp) - extract(epoch from '2026-07-13 10:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368483 -3.406717)'), GeomFromEWKT('SRID=4674;POINT (-38.368511 -3.406795)'))) / (select extract(epoch from '2026-07-13 10:03:04'::timestamp) - extract(epoch from '2026-07-13 10:02: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'), 47392, 'SRID=4674;POINT (-38.368548 -3.406896)', '2026-07-13 10:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368511 -3.406795)'), GeomFromEWKT('SRID=4674;POINT (-38.368548 -3.406896)'))) / (select extract(epoch from '2026-07-13 10:03:11'::timestamp) - extract(epoch from '2026-07-13 10:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368511 -3.406795)'), GeomFromEWKT('SRID=4674;POINT (-38.368548 -3.406896)'))) / (select extract(epoch from '2026-07-13 10:03:11'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47392, 'SRID=4674;POINT (-38.368589 -3.407)', '2026-07-13 10:03:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368548 -3.406896)'), GeomFromEWKT('SRID=4674;POINT (-38.368589 -3.407)'))) / (select extract(epoch from '2026-07-13 10:03:18'::timestamp) - extract(epoch from '2026-07-13 10:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368548 -3.406896)'), GeomFromEWKT('SRID=4674;POINT (-38.368589 -3.407)'))) / (select extract(epoch from '2026-07-13 10:03:18'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47392, 'SRID=4674;POINT (-38.368629 -3.40709)', '2026-07-13 10:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368589 -3.407)'), GeomFromEWKT('SRID=4674;POINT (-38.368629 -3.40709)'))) / (select extract(epoch from '2026-07-13 10:03:24'::timestamp) - extract(epoch from '2026-07-13 10:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368589 -3.407)'), GeomFromEWKT('SRID=4674;POINT (-38.368629 -3.40709)'))) / (select extract(epoch from '2026-07-13 10:03:24'::timestamp) - extract(epoch from '2026-07-13 10:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.368652 -3.407168)', '2026-07-13 10:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368629 -3.40709)'), GeomFromEWKT('SRID=4674;POINT (-38.368652 -3.407168)'))) / (select extract(epoch from '2026-07-13 10:03:29'::timestamp) - extract(epoch from '2026-07-13 10:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368629 -3.40709)'), GeomFromEWKT('SRID=4674;POINT (-38.368652 -3.407168)'))) / (select extract(epoch from '2026-07-13 10:03:29'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.368692 -3.407272)', '2026-07-13 10:03:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368652 -3.407168)'), GeomFromEWKT('SRID=4674;POINT (-38.368692 -3.407272)'))) / (select extract(epoch from '2026-07-13 10:03:36'::timestamp) - extract(epoch from '2026-07-13 10:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368652 -3.407168)'), GeomFromEWKT('SRID=4674;POINT (-38.368692 -3.407272)'))) / (select extract(epoch from '2026-07-13 10:03:36'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47392, 'SRID=4674;POINT (-38.368747 -3.407408)', '2026-07-13 10:03:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368692 -3.407272)'), GeomFromEWKT('SRID=4674;POINT (-38.368747 -3.407408)'))) / (select extract(epoch from '2026-07-13 10:03:45'::timestamp) - extract(epoch from '2026-07-13 10:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368692 -3.407272)'), GeomFromEWKT('SRID=4674;POINT (-38.368747 -3.407408)'))) / (select extract(epoch from '2026-07-13 10:03:45'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.368774 -3.407485)', '2026-07-13 10:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368747 -3.407408)'), GeomFromEWKT('SRID=4674;POINT (-38.368774 -3.407485)'))) / (select extract(epoch from '2026-07-13 10:03:50'::timestamp) - extract(epoch from '2026-07-13 10:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368747 -3.407408)'), GeomFromEWKT('SRID=4674;POINT (-38.368774 -3.407485)'))) / (select extract(epoch from '2026-07-13 10:03:50'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.368813 -3.407565)', '2026-07-13 10:03:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368774 -3.407485)'), GeomFromEWKT('SRID=4674;POINT (-38.368813 -3.407565)'))) / (select extract(epoch from '2026-07-13 10:03:55'::timestamp) - extract(epoch from '2026-07-13 10:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368774 -3.407485)'), GeomFromEWKT('SRID=4674;POINT (-38.368813 -3.407565)'))) / (select extract(epoch from '2026-07-13 10:03:55'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47392, 'SRID=4674;POINT (-38.368853 -3.407651)', '2026-07-13 10:04:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368813 -3.407565)'), GeomFromEWKT('SRID=4674;POINT (-38.368853 -3.407651)'))) / (select extract(epoch from '2026-07-13 10:04:00'::timestamp) - extract(epoch from '2026-07-13 10:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368813 -3.407565)'), GeomFromEWKT('SRID=4674;POINT (-38.368853 -3.407651)'))) / (select extract(epoch from '2026-07-13 10:04:00'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47392, 'SRID=4674;POINT (-38.368881 -3.407749)', '2026-07-13 10:04:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368853 -3.407651)'), GeomFromEWKT('SRID=4674;POINT (-38.368881 -3.407749)'))) / (select extract(epoch from '2026-07-13 10:04:06'::timestamp) - extract(epoch from '2026-07-13 10:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368853 -3.407651)'), GeomFromEWKT('SRID=4674;POINT (-38.368881 -3.407749)'))) / (select extract(epoch from '2026-07-13 10:04:06'::timestamp) - extract(epoch from '2026-07-13 10:04: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'), 47392, 'SRID=4674;POINT (-38.368891 -3.407781)', '2026-07-13 10:04:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368881 -3.407749)'), GeomFromEWKT('SRID=4674;POINT (-38.368891 -3.407781)'))) / (select extract(epoch from '2026-07-13 10:04:08'::timestamp) - extract(epoch from '2026-07-13 10:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368881 -3.407749)'), GeomFromEWKT('SRID=4674;POINT (-38.368891 -3.407781)'))) / (select extract(epoch from '2026-07-13 10:04:08'::timestamp) - extract(epoch from '2026-07-13 10:04: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'), 47392, 'SRID=4674;POINT (-38.368901 -3.407814)', '2026-07-13 10:04:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368891 -3.407781)'), GeomFromEWKT('SRID=4674;POINT (-38.368901 -3.407814)'))) / (select extract(epoch from '2026-07-13 10:04:10'::timestamp) - extract(epoch from '2026-07-13 10:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368891 -3.407781)'), GeomFromEWKT('SRID=4674;POINT (-38.368901 -3.407814)'))) / (select extract(epoch from '2026-07-13 10:04:10'::timestamp) - extract(epoch from '2026-07-13 10:04: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'), 47392, 'SRID=4674;POINT (-38.368934 -3.407912)', '2026-07-13 10:04:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368901 -3.407814)'), GeomFromEWKT('SRID=4674;POINT (-38.368934 -3.407912)'))) / (select extract(epoch from '2026-07-13 10:04:16'::timestamp) - extract(epoch from '2026-07-13 10:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368901 -3.407814)'), GeomFromEWKT('SRID=4674;POINT (-38.368934 -3.407912)'))) / (select extract(epoch from '2026-07-13 10:04:16'::timestamp) - extract(epoch from '2026-07-13 10:04: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'), 47392, 'SRID=4674;POINT (-38.368971 -3.408022)', '2026-07-13 10:04:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368934 -3.407912)'), GeomFromEWKT('SRID=4674;POINT (-38.368971 -3.408022)'))) / (select extract(epoch from '2026-07-13 10:04:23'::timestamp) - extract(epoch from '2026-07-13 10:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368934 -3.407912)'), GeomFromEWKT('SRID=4674;POINT (-38.368971 -3.408022)'))) / (select extract(epoch from '2026-07-13 10:04:23'::timestamp) - extract(epoch from '2026-07-13 10:04: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'), 47392, 'SRID=4674;POINT (-38.369012 -3.408137)', '2026-07-13 10:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368971 -3.408022)'), GeomFromEWKT('SRID=4674;POINT (-38.369012 -3.408137)'))) / (select extract(epoch from '2026-07-13 10:04:30'::timestamp) - extract(epoch from '2026-07-13 10:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368971 -3.408022)'), GeomFromEWKT('SRID=4674;POINT (-38.369012 -3.408137)'))) / (select extract(epoch from '2026-07-13 10:04:30'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.369047 -3.408254)', '2026-07-13 10:04:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369012 -3.408137)'), GeomFromEWKT('SRID=4674;POINT (-38.369047 -3.408254)'))) / (select extract(epoch from '2026-07-13 10:04:37'::timestamp) - extract(epoch from '2026-07-13 10:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369012 -3.408137)'), GeomFromEWKT('SRID=4674;POINT (-38.369047 -3.408254)'))) / (select extract(epoch from '2026-07-13 10:04:37'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.369082 -3.408367)', '2026-07-13 10:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369047 -3.408254)'), GeomFromEWKT('SRID=4674;POINT (-38.369082 -3.408367)'))) / (select extract(epoch from '2026-07-13 10:04:44'::timestamp) - extract(epoch from '2026-07-13 10:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369047 -3.408254)'), GeomFromEWKT('SRID=4674;POINT (-38.369082 -3.408367)'))) / (select extract(epoch from '2026-07-13 10:04:44'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.369111 -3.408446)', '2026-07-13 10:04:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369082 -3.408367)'), GeomFromEWKT('SRID=4674;POINT (-38.369111 -3.408446)'))) / (select extract(epoch from '2026-07-13 10:04:49'::timestamp) - extract(epoch from '2026-07-13 10:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369082 -3.408367)'), GeomFromEWKT('SRID=4674;POINT (-38.369111 -3.408446)'))) / (select extract(epoch from '2026-07-13 10:04:49'::timestamp) - extract(epoch from '2026-07-13 10:04: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'), 47392, 'SRID=4674;POINT (-38.369158 -3.408556)', '2026-07-13 10:04:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369111 -3.408446)'), GeomFromEWKT('SRID=4674;POINT (-38.369158 -3.408556)'))) / (select extract(epoch from '2026-07-13 10:04:56'::timestamp) - extract(epoch from '2026-07-13 10:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369111 -3.408446)'), GeomFromEWKT('SRID=4674;POINT (-38.369158 -3.408556)'))) / (select extract(epoch from '2026-07-13 10:04:56'::timestamp) - extract(epoch from '2026-07-13 10:04:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.369195 -3.408655)', '2026-07-13 10:05:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369158 -3.408556)'), GeomFromEWKT('SRID=4674;POINT (-38.369195 -3.408655)'))) / (select extract(epoch from '2026-07-13 10:05:02'::timestamp) - extract(epoch from '2026-07-13 10:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369158 -3.408556)'), GeomFromEWKT('SRID=4674;POINT (-38.369195 -3.408655)'))) / (select extract(epoch from '2026-07-13 10:05:02'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.36923 -3.408755)', '2026-07-13 10:05:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369195 -3.408655)'), GeomFromEWKT('SRID=4674;POINT (-38.36923 -3.408755)'))) / (select extract(epoch from '2026-07-13 10:05:08'::timestamp) - extract(epoch from '2026-07-13 10:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369195 -3.408655)'), GeomFromEWKT('SRID=4674;POINT (-38.36923 -3.408755)'))) / (select extract(epoch from '2026-07-13 10:05:08'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.369249 -3.408815)', '2026-07-13 10:05:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36923 -3.408755)'), GeomFromEWKT('SRID=4674;POINT (-38.369249 -3.408815)'))) / (select extract(epoch from '2026-07-13 10:05:11'::timestamp) - extract(epoch from '2026-07-13 10:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36923 -3.408755)'), GeomFromEWKT('SRID=4674;POINT (-38.369249 -3.408815)'))) / (select extract(epoch from '2026-07-13 10:05:11'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.369252 -3.408844)', '2026-07-13 10:05:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369249 -3.408815)'), GeomFromEWKT('SRID=4674;POINT (-38.369252 -3.408844)'))) / (select extract(epoch from '2026-07-13 10:05:13'::timestamp) - extract(epoch from '2026-07-13 10:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369249 -3.408815)'), GeomFromEWKT('SRID=4674;POINT (-38.369252 -3.408844)'))) / (select extract(epoch from '2026-07-13 10:05:13'::timestamp) - extract(epoch from '2026-07-13 10:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36928 -3.408962)', '2026-07-13 10:05:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369252 -3.408844)'), GeomFromEWKT('SRID=4674;POINT (-38.36928 -3.408962)'))) / (select extract(epoch from '2026-07-13 10:05:20'::timestamp) - extract(epoch from '2026-07-13 10:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369252 -3.408844)'), GeomFromEWKT('SRID=4674;POINT (-38.36928 -3.408962)'))) / (select extract(epoch from '2026-07-13 10:05:20'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.369316 -3.409055)', '2026-07-13 10:05:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36928 -3.408962)'), GeomFromEWKT('SRID=4674;POINT (-38.369316 -3.409055)'))) / (select extract(epoch from '2026-07-13 10:05:26'::timestamp) - extract(epoch from '2026-07-13 10:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36928 -3.408962)'), GeomFromEWKT('SRID=4674;POINT (-38.369316 -3.409055)'))) / (select extract(epoch from '2026-07-13 10:05:26'::timestamp) - extract(epoch from '2026-07-13 10:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36937 -3.409137)', '2026-07-13 10:05:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369316 -3.409055)'), GeomFromEWKT('SRID=4674;POINT (-38.36937 -3.409137)'))) / (select extract(epoch from '2026-07-13 10:05:31'::timestamp) - extract(epoch from '2026-07-13 10:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369316 -3.409055)'), GeomFromEWKT('SRID=4674;POINT (-38.36937 -3.409137)'))) / (select extract(epoch from '2026-07-13 10:05:31'::timestamp) - extract(epoch from '2026-07-13 10:05: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'), 47392, 'SRID=4674;POINT (-38.369372 -3.409152)', '2026-07-13 10:05:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36937 -3.409137)'), GeomFromEWKT('SRID=4674;POINT (-38.369372 -3.409152)'))) / (select extract(epoch from '2026-07-13 10:05:32'::timestamp) - extract(epoch from '2026-07-13 10:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36937 -3.409137)'), GeomFromEWKT('SRID=4674;POINT (-38.369372 -3.409152)'))) / (select extract(epoch from '2026-07-13 10:05:32'::timestamp) - extract(epoch from '2026-07-13 10:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.369399 -3.409243)', '2026-07-13 10:05:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369372 -3.409152)'), GeomFromEWKT('SRID=4674;POINT (-38.369399 -3.409243)'))) / (select extract(epoch from '2026-07-13 10:05:37'::timestamp) - extract(epoch from '2026-07-13 10:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369372 -3.409152)'), GeomFromEWKT('SRID=4674;POINT (-38.369399 -3.409243)'))) / (select extract(epoch from '2026-07-13 10:05:37'::timestamp) - extract(epoch from '2026-07-13 10:05: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'), 47392, 'SRID=4674;POINT (-38.369423 -3.409357)', '2026-07-13 10:05:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369399 -3.409243)'), GeomFromEWKT('SRID=4674;POINT (-38.369423 -3.409357)'))) / (select extract(epoch from '2026-07-13 10:05:44'::timestamp) - extract(epoch from '2026-07-13 10:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369399 -3.409243)'), GeomFromEWKT('SRID=4674;POINT (-38.369423 -3.409357)'))) / (select extract(epoch from '2026-07-13 10:05:44'::timestamp) - extract(epoch from '2026-07-13 10:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.369441 -3.409468)', '2026-07-13 10:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369423 -3.409357)'), GeomFromEWKT('SRID=4674;POINT (-38.369441 -3.409468)'))) / (select extract(epoch from '2026-07-13 10:05:51'::timestamp) - extract(epoch from '2026-07-13 10:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369423 -3.409357)'), GeomFromEWKT('SRID=4674;POINT (-38.369441 -3.409468)'))) / (select extract(epoch from '2026-07-13 10:05:51'::timestamp) - extract(epoch from '2026-07-13 10:05: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'), 47392, 'SRID=4674;POINT (-38.369472 -3.409606)', '2026-07-13 10:05:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369441 -3.409468)'), GeomFromEWKT('SRID=4674;POINT (-38.369472 -3.409606)'))) / (select extract(epoch from '2026-07-13 10:05:59'::timestamp) - extract(epoch from '2026-07-13 10:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369441 -3.409468)'), GeomFromEWKT('SRID=4674;POINT (-38.369472 -3.409606)'))) / (select extract(epoch from '2026-07-13 10:05:59'::timestamp) - extract(epoch from '2026-07-13 10:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.36951 -3.409726)', '2026-07-13 10:06:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369472 -3.409606)'), GeomFromEWKT('SRID=4674;POINT (-38.36951 -3.409726)'))) / (select extract(epoch from '2026-07-13 10:06:06'::timestamp) - extract(epoch from '2026-07-13 10:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369472 -3.409606)'), GeomFromEWKT('SRID=4674;POINT (-38.36951 -3.409726)'))) / (select extract(epoch from '2026-07-13 10:06:06'::timestamp) - extract(epoch from '2026-07-13 10:05: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'), 47392, 'SRID=4674;POINT (-38.36954 -3.409868)', '2026-07-13 10:06:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36951 -3.409726)'), GeomFromEWKT('SRID=4674;POINT (-38.36954 -3.409868)'))) / (select extract(epoch from '2026-07-13 10:06:14'::timestamp) - extract(epoch from '2026-07-13 10:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36951 -3.409726)'), GeomFromEWKT('SRID=4674;POINT (-38.36954 -3.409868)'))) / (select extract(epoch from '2026-07-13 10:06:14'::timestamp) - extract(epoch from '2026-07-13 10:06: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'), 47392, 'SRID=4674;POINT (-38.369565 -3.409997)', '2026-07-13 10:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36954 -3.409868)'), GeomFromEWKT('SRID=4674;POINT (-38.369565 -3.409997)'))) / (select extract(epoch from '2026-07-13 10:06:21'::timestamp) - extract(epoch from '2026-07-13 10:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36954 -3.409868)'), GeomFromEWKT('SRID=4674;POINT (-38.369565 -3.409997)'))) / (select extract(epoch from '2026-07-13 10:06:21'::timestamp) - extract(epoch from '2026-07-13 10:06: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'), 47392, 'SRID=4674;POINT (-38.369589 -3.410089)', '2026-07-13 10:06:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369565 -3.409997)'), GeomFromEWKT('SRID=4674;POINT (-38.369589 -3.410089)'))) / (select extract(epoch from '2026-07-13 10:06:26'::timestamp) - extract(epoch from '2026-07-13 10:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369565 -3.409997)'), GeomFromEWKT('SRID=4674;POINT (-38.369589 -3.410089)'))) / (select extract(epoch from '2026-07-13 10:06:26'::timestamp) - extract(epoch from '2026-07-13 10:06: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'), 47392, 'SRID=4674;POINT (-38.369613 -3.410174)', '2026-07-13 10:06:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369589 -3.410089)'), GeomFromEWKT('SRID=4674;POINT (-38.369613 -3.410174)'))) / (select extract(epoch from '2026-07-13 10:06:31'::timestamp) - extract(epoch from '2026-07-13 10:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369589 -3.410089)'), GeomFromEWKT('SRID=4674;POINT (-38.369613 -3.410174)'))) / (select extract(epoch from '2026-07-13 10:06:31'::timestamp) - extract(epoch from '2026-07-13 10:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.369648 -3.410281)', '2026-07-13 10:06:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369613 -3.410174)'), GeomFromEWKT('SRID=4674;POINT (-38.369648 -3.410281)'))) / (select extract(epoch from '2026-07-13 10:06:37'::timestamp) - extract(epoch from '2026-07-13 10:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369613 -3.410174)'), GeomFromEWKT('SRID=4674;POINT (-38.369648 -3.410281)'))) / (select extract(epoch from '2026-07-13 10:06:37'::timestamp) - extract(epoch from '2026-07-13 10:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.369675 -3.410373)', '2026-07-13 10:06:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369648 -3.410281)'), GeomFromEWKT('SRID=4674;POINT (-38.369675 -3.410373)'))) / (select extract(epoch from '2026-07-13 10:06:42'::timestamp) - extract(epoch from '2026-07-13 10:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369648 -3.410281)'), GeomFromEWKT('SRID=4674;POINT (-38.369675 -3.410373)'))) / (select extract(epoch from '2026-07-13 10:06:42'::timestamp) - extract(epoch from '2026-07-13 10:06: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'), 47392, 'SRID=4674;POINT (-38.369674 -3.410402)', '2026-07-13 10:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369675 -3.410373)'), GeomFromEWKT('SRID=4674;POINT (-38.369674 -3.410402)'))) / (select extract(epoch from '2026-07-13 10:06:44'::timestamp) - extract(epoch from '2026-07-13 10:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369675 -3.410373)'), GeomFromEWKT('SRID=4674;POINT (-38.369674 -3.410402)'))) / (select extract(epoch from '2026-07-13 10:06:44'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.369695 -3.410452)', '2026-07-13 10:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369674 -3.410402)'), GeomFromEWKT('SRID=4674;POINT (-38.369695 -3.410452)'))) / (select extract(epoch from '2026-07-13 10:06:47'::timestamp) - extract(epoch from '2026-07-13 10:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369674 -3.410402)'), GeomFromEWKT('SRID=4674;POINT (-38.369695 -3.410452)'))) / (select extract(epoch from '2026-07-13 10:06:47'::timestamp) - extract(epoch from '2026-07-13 10:06: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'), 47392, 'SRID=4674;POINT (-38.369734 -3.410582)', '2026-07-13 10:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369695 -3.410452)'), GeomFromEWKT('SRID=4674;POINT (-38.369734 -3.410582)'))) / (select extract(epoch from '2026-07-13 10:06:55'::timestamp) - extract(epoch from '2026-07-13 10:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369695 -3.410452)'), GeomFromEWKT('SRID=4674;POINT (-38.369734 -3.410582)'))) / (select extract(epoch from '2026-07-13 10:06:55'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.369759 -3.41068)', '2026-07-13 10:07:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369734 -3.410582)'), GeomFromEWKT('SRID=4674;POINT (-38.369759 -3.41068)'))) / (select extract(epoch from '2026-07-13 10:07:01'::timestamp) - extract(epoch from '2026-07-13 10:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369734 -3.410582)'), GeomFromEWKT('SRID=4674;POINT (-38.369759 -3.41068)'))) / (select extract(epoch from '2026-07-13 10:07:01'::timestamp) - extract(epoch from '2026-07-13 10:06: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'), 47392, 'SRID=4674;POINT (-38.369784 -3.410773)', '2026-07-13 10:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369759 -3.41068)'), GeomFromEWKT('SRID=4674;POINT (-38.369784 -3.410773)'))) / (select extract(epoch from '2026-07-13 10:07:07'::timestamp) - extract(epoch from '2026-07-13 10:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369759 -3.41068)'), GeomFromEWKT('SRID=4674;POINT (-38.369784 -3.410773)'))) / (select extract(epoch from '2026-07-13 10:07:07'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47392, 'SRID=4674;POINT (-38.369788 -3.410793)', '2026-07-13 10:07:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369784 -3.410773)'), GeomFromEWKT('SRID=4674;POINT (-38.369788 -3.410793)'))) / (select extract(epoch from '2026-07-13 10:07:08'::timestamp) - extract(epoch from '2026-07-13 10:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369784 -3.410773)'), GeomFromEWKT('SRID=4674;POINT (-38.369788 -3.410793)'))) / (select extract(epoch from '2026-07-13 10:07:08'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47392, 'SRID=4674;POINT (-38.369818 -3.410848)', '2026-07-13 10:07:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369788 -3.410793)'), GeomFromEWKT('SRID=4674;POINT (-38.369818 -3.410848)'))) / (select extract(epoch from '2026-07-13 10:07:11'::timestamp) - extract(epoch from '2026-07-13 10:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369788 -3.410793)'), GeomFromEWKT('SRID=4674;POINT (-38.369818 -3.410848)'))) / (select extract(epoch from '2026-07-13 10:07:11'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.369847 -3.410943)', '2026-07-13 10:07:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369818 -3.410848)'), GeomFromEWKT('SRID=4674;POINT (-38.369847 -3.410943)'))) / (select extract(epoch from '2026-07-13 10:07:17'::timestamp) - extract(epoch from '2026-07-13 10:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369818 -3.410848)'), GeomFromEWKT('SRID=4674;POINT (-38.369847 -3.410943)'))) / (select extract(epoch from '2026-07-13 10:07:17'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47392, 'SRID=4674;POINT (-38.369884 -3.411036)', '2026-07-13 10:07:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369847 -3.410943)'), GeomFromEWKT('SRID=4674;POINT (-38.369884 -3.411036)'))) / (select extract(epoch from '2026-07-13 10:07:23'::timestamp) - extract(epoch from '2026-07-13 10:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369847 -3.410943)'), GeomFromEWKT('SRID=4674;POINT (-38.369884 -3.411036)'))) / (select extract(epoch from '2026-07-13 10:07:23'::timestamp) - extract(epoch from '2026-07-13 10:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.369898 -3.411086)', '2026-07-13 10:07:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369884 -3.411036)'), GeomFromEWKT('SRID=4674;POINT (-38.369898 -3.411086)'))) / (select extract(epoch from '2026-07-13 10:07:26'::timestamp) - extract(epoch from '2026-07-13 10:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369884 -3.411036)'), GeomFromEWKT('SRID=4674;POINT (-38.369898 -3.411086)'))) / (select extract(epoch from '2026-07-13 10:07:26'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47392, 'SRID=4674;POINT (-38.369911 -3.411114)', '2026-07-13 10:07:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369898 -3.411086)'), GeomFromEWKT('SRID=4674;POINT (-38.369911 -3.411114)'))) / (select extract(epoch from '2026-07-13 10:07:28'::timestamp) - extract(epoch from '2026-07-13 10:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369898 -3.411086)'), GeomFromEWKT('SRID=4674;POINT (-38.369911 -3.411114)'))) / (select extract(epoch from '2026-07-13 10:07:28'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.36994 -3.41123)', '2026-07-13 10:07:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369911 -3.411114)'), GeomFromEWKT('SRID=4674;POINT (-38.36994 -3.41123)'))) / (select extract(epoch from '2026-07-13 10:07:35'::timestamp) - extract(epoch from '2026-07-13 10:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369911 -3.411114)'), GeomFromEWKT('SRID=4674;POINT (-38.36994 -3.41123)'))) / (select extract(epoch from '2026-07-13 10:07:35'::timestamp) - extract(epoch from '2026-07-13 10:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.369962 -3.411348)', '2026-07-13 10:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36994 -3.41123)'), GeomFromEWKT('SRID=4674;POINT (-38.369962 -3.411348)'))) / (select extract(epoch from '2026-07-13 10:07:42'::timestamp) - extract(epoch from '2026-07-13 10:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36994 -3.41123)'), GeomFromEWKT('SRID=4674;POINT (-38.369962 -3.411348)'))) / (select extract(epoch from '2026-07-13 10:07:42'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47392, 'SRID=4674;POINT (-38.369983 -3.411429)', '2026-07-13 10:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369962 -3.411348)'), GeomFromEWKT('SRID=4674;POINT (-38.369983 -3.411429)'))) / (select extract(epoch from '2026-07-13 10:07:47'::timestamp) - extract(epoch from '2026-07-13 10:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369962 -3.411348)'), GeomFromEWKT('SRID=4674;POINT (-38.369983 -3.411429)'))) / (select extract(epoch from '2026-07-13 10:07:47'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47392, 'SRID=4674;POINT (-38.370015 -3.411513)', '2026-07-13 10:07:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369983 -3.411429)'), GeomFromEWKT('SRID=4674;POINT (-38.370015 -3.411513)'))) / (select extract(epoch from '2026-07-13 10:07:52'::timestamp) - extract(epoch from '2026-07-13 10:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369983 -3.411429)'), GeomFromEWKT('SRID=4674;POINT (-38.370015 -3.411513)'))) / (select extract(epoch from '2026-07-13 10:07:52'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47392, 'SRID=4674;POINT (-38.37008 -3.411676)', '2026-07-13 10:08:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370015 -3.411513)'), GeomFromEWKT('SRID=4674;POINT (-38.37008 -3.411676)'))) / (select extract(epoch from '2026-07-13 10:08:02'::timestamp) - extract(epoch from '2026-07-13 10:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370015 -3.411513)'), GeomFromEWKT('SRID=4674;POINT (-38.37008 -3.411676)'))) / (select extract(epoch from '2026-07-13 10:08:02'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47392, 'SRID=4674;POINT (-38.370119 -3.411783)', '2026-07-13 10:08:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37008 -3.411676)'), GeomFromEWKT('SRID=4674;POINT (-38.370119 -3.411783)'))) / (select extract(epoch from '2026-07-13 10:08:09'::timestamp) - extract(epoch from '2026-07-13 10:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37008 -3.411676)'), GeomFromEWKT('SRID=4674;POINT (-38.370119 -3.411783)'))) / (select extract(epoch from '2026-07-13 10:08:09'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.370149 -3.411858)', '2026-07-13 10:08:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370119 -3.411783)'), GeomFromEWKT('SRID=4674;POINT (-38.370149 -3.411858)'))) / (select extract(epoch from '2026-07-13 10:08:14'::timestamp) - extract(epoch from '2026-07-13 10:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370119 -3.411783)'), GeomFromEWKT('SRID=4674;POINT (-38.370149 -3.411858)'))) / (select extract(epoch from '2026-07-13 10:08:14'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47392, 'SRID=4674;POINT (-38.370162 -3.411895)', '2026-07-13 10:08:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370149 -3.411858)'), GeomFromEWKT('SRID=4674;POINT (-38.370162 -3.411895)'))) / (select extract(epoch from '2026-07-13 10:08:16'::timestamp) - extract(epoch from '2026-07-13 10:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370149 -3.411858)'), GeomFromEWKT('SRID=4674;POINT (-38.370162 -3.411895)'))) / (select extract(epoch from '2026-07-13 10:08:16'::timestamp) - extract(epoch from '2026-07-13 10:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.370213 -3.412011)', '2026-07-13 10:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370162 -3.411895)'), GeomFromEWKT('SRID=4674;POINT (-38.370213 -3.412011)'))) / (select extract(epoch from '2026-07-13 10:08:23'::timestamp) - extract(epoch from '2026-07-13 10:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370162 -3.411895)'), GeomFromEWKT('SRID=4674;POINT (-38.370213 -3.412011)'))) / (select extract(epoch from '2026-07-13 10:08:23'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47392, 'SRID=4674;POINT (-38.370248 -3.412131)', '2026-07-13 10:08:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370213 -3.412011)'), GeomFromEWKT('SRID=4674;POINT (-38.370248 -3.412131)'))) / (select extract(epoch from '2026-07-13 10:08:30'::timestamp) - extract(epoch from '2026-07-13 10:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370213 -3.412011)'), GeomFromEWKT('SRID=4674;POINT (-38.370248 -3.412131)'))) / (select extract(epoch from '2026-07-13 10:08:30'::timestamp) - extract(epoch from '2026-07-13 10:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.370286 -3.412212)', '2026-07-13 10:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370248 -3.412131)'), GeomFromEWKT('SRID=4674;POINT (-38.370286 -3.412212)'))) / (select extract(epoch from '2026-07-13 10:08:34'::timestamp) - extract(epoch from '2026-07-13 10:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370248 -3.412131)'), GeomFromEWKT('SRID=4674;POINT (-38.370286 -3.412212)'))) / (select extract(epoch from '2026-07-13 10:08:34'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47392, 'SRID=4674;POINT (-38.370316 -3.412298)', '2026-07-13 10:08:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370286 -3.412212)'), GeomFromEWKT('SRID=4674;POINT (-38.370316 -3.412298)'))) / (select extract(epoch from '2026-07-13 10:08:39'::timestamp) - extract(epoch from '2026-07-13 10:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370286 -3.412212)'), GeomFromEWKT('SRID=4674;POINT (-38.370316 -3.412298)'))) / (select extract(epoch from '2026-07-13 10:08:39'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47392, 'SRID=4674;POINT (-38.370353 -3.4124)', '2026-07-13 10:08:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370316 -3.412298)'), GeomFromEWKT('SRID=4674;POINT (-38.370353 -3.4124)'))) / (select extract(epoch from '2026-07-13 10:08:45'::timestamp) - extract(epoch from '2026-07-13 10:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370316 -3.412298)'), GeomFromEWKT('SRID=4674;POINT (-38.370353 -3.4124)'))) / (select extract(epoch from '2026-07-13 10:08:45'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.37038 -3.412505)', '2026-07-13 10:08:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370353 -3.4124)'), GeomFromEWKT('SRID=4674;POINT (-38.37038 -3.412505)'))) / (select extract(epoch from '2026-07-13 10:08:51'::timestamp) - extract(epoch from '2026-07-13 10:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370353 -3.4124)'), GeomFromEWKT('SRID=4674;POINT (-38.37038 -3.412505)'))) / (select extract(epoch from '2026-07-13 10:08:51'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.370395 -3.412582)', '2026-07-13 10:08:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37038 -3.412505)'), GeomFromEWKT('SRID=4674;POINT (-38.370395 -3.412582)'))) / (select extract(epoch from '2026-07-13 10:08:55'::timestamp) - extract(epoch from '2026-07-13 10:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37038 -3.412505)'), GeomFromEWKT('SRID=4674;POINT (-38.370395 -3.412582)'))) / (select extract(epoch from '2026-07-13 10:08:55'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47392, 'SRID=4674;POINT (-38.370414 -3.412617)', '2026-07-13 10:08:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370395 -3.412582)'), GeomFromEWKT('SRID=4674;POINT (-38.370414 -3.412617)'))) / (select extract(epoch from '2026-07-13 10:08:57'::timestamp) - extract(epoch from '2026-07-13 10:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370395 -3.412582)'), GeomFromEWKT('SRID=4674;POINT (-38.370414 -3.412617)'))) / (select extract(epoch from '2026-07-13 10:08:57'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.370445 -3.412716)', '2026-07-13 10:09:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370414 -3.412617)'), GeomFromEWKT('SRID=4674;POINT (-38.370445 -3.412716)'))) / (select extract(epoch from '2026-07-13 10:09:03'::timestamp) - extract(epoch from '2026-07-13 10:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370414 -3.412617)'), GeomFromEWKT('SRID=4674;POINT (-38.370445 -3.412716)'))) / (select extract(epoch from '2026-07-13 10:09:03'::timestamp) - extract(epoch from '2026-07-13 10:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.370464 -3.412814)', '2026-07-13 10:09:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370445 -3.412716)'), GeomFromEWKT('SRID=4674;POINT (-38.370464 -3.412814)'))) / (select extract(epoch from '2026-07-13 10:09:09'::timestamp) - extract(epoch from '2026-07-13 10:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370445 -3.412716)'), GeomFromEWKT('SRID=4674;POINT (-38.370464 -3.412814)'))) / (select extract(epoch from '2026-07-13 10:09:09'::timestamp) - extract(epoch from '2026-07-13 10:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.370493 -3.412915)', '2026-07-13 10:09:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370464 -3.412814)'), GeomFromEWKT('SRID=4674;POINT (-38.370493 -3.412915)'))) / (select extract(epoch from '2026-07-13 10:09:15'::timestamp) - extract(epoch from '2026-07-13 10:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370464 -3.412814)'), GeomFromEWKT('SRID=4674;POINT (-38.370493 -3.412915)'))) / (select extract(epoch from '2026-07-13 10:09:15'::timestamp) - extract(epoch from '2026-07-13 10:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.370561 -3.413098)', '2026-07-13 10:09:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370493 -3.412915)'), GeomFromEWKT('SRID=4674;POINT (-38.370561 -3.413098)'))) / (select extract(epoch from '2026-07-13 10:09:26'::timestamp) - extract(epoch from '2026-07-13 10:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370493 -3.412915)'), GeomFromEWKT('SRID=4674;POINT (-38.370561 -3.413098)'))) / (select extract(epoch from '2026-07-13 10:09:26'::timestamp) - extract(epoch from '2026-07-13 10:09: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'), 47392, 'SRID=4674;POINT (-38.370599 -3.41318)', '2026-07-13 10:09:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370561 -3.413098)'), GeomFromEWKT('SRID=4674;POINT (-38.370599 -3.41318)'))) / (select extract(epoch from '2026-07-13 10:09:31'::timestamp) - extract(epoch from '2026-07-13 10:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370561 -3.413098)'), GeomFromEWKT('SRID=4674;POINT (-38.370599 -3.41318)'))) / (select extract(epoch from '2026-07-13 10:09:31'::timestamp) - extract(epoch from '2026-07-13 10:09: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'), 47392, 'SRID=4674;POINT (-38.370634 -3.413274)', '2026-07-13 10:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370599 -3.41318)'), GeomFromEWKT('SRID=4674;POINT (-38.370634 -3.413274)'))) / (select extract(epoch from '2026-07-13 10:09:37'::timestamp) - extract(epoch from '2026-07-13 10:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370599 -3.41318)'), GeomFromEWKT('SRID=4674;POINT (-38.370634 -3.413274)'))) / (select extract(epoch from '2026-07-13 10:09:37'::timestamp) - extract(epoch from '2026-07-13 10:09: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'), 47392, 'SRID=4674;POINT (-38.370665 -3.413399)', '2026-07-13 10:09:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370634 -3.413274)'), GeomFromEWKT('SRID=4674;POINT (-38.370665 -3.413399)'))) / (select extract(epoch from '2026-07-13 10:09:44'::timestamp) - extract(epoch from '2026-07-13 10:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370634 -3.413274)'), GeomFromEWKT('SRID=4674;POINT (-38.370665 -3.413399)'))) / (select extract(epoch from '2026-07-13 10:09:44'::timestamp) - extract(epoch from '2026-07-13 10:09: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'), 47392, 'SRID=4674;POINT (-38.370696 -3.413499)', '2026-07-13 10:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370665 -3.413399)'), GeomFromEWKT('SRID=4674;POINT (-38.370696 -3.413499)'))) / (select extract(epoch from '2026-07-13 10:09:50'::timestamp) - extract(epoch from '2026-07-13 10:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370665 -3.413399)'), GeomFromEWKT('SRID=4674;POINT (-38.370696 -3.413499)'))) / (select extract(epoch from '2026-07-13 10:09:50'::timestamp) - extract(epoch from '2026-07-13 10:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.370724 -3.413603)', '2026-07-13 10:09:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370696 -3.413499)'), GeomFromEWKT('SRID=4674;POINT (-38.370724 -3.413603)'))) / (select extract(epoch from '2026-07-13 10:09:56'::timestamp) - extract(epoch from '2026-07-13 10:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370696 -3.413499)'), GeomFromEWKT('SRID=4674;POINT (-38.370724 -3.413603)'))) / (select extract(epoch from '2026-07-13 10:09:56'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.370744 -3.413751)', '2026-07-13 10:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370724 -3.413603)'), GeomFromEWKT('SRID=4674;POINT (-38.370744 -3.413751)'))) / (select extract(epoch from '2026-07-13 10:10:04'::timestamp) - extract(epoch from '2026-07-13 10:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370724 -3.413603)'), GeomFromEWKT('SRID=4674;POINT (-38.370744 -3.413751)'))) / (select extract(epoch from '2026-07-13 10:10:04'::timestamp) - extract(epoch from '2026-07-13 10:09: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'), 47392, 'SRID=4674;POINT (-38.370767 -3.413875)', '2026-07-13 10:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370744 -3.413751)'), GeomFromEWKT('SRID=4674;POINT (-38.370767 -3.413875)'))) / (select extract(epoch from '2026-07-13 10:10:11'::timestamp) - extract(epoch from '2026-07-13 10:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370744 -3.413751)'), GeomFromEWKT('SRID=4674;POINT (-38.370767 -3.413875)'))) / (select extract(epoch from '2026-07-13 10:10:11'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47392, 'SRID=4674;POINT (-38.370789 -3.413958)', '2026-07-13 10:10:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370767 -3.413875)'), GeomFromEWKT('SRID=4674;POINT (-38.370789 -3.413958)'))) / (select extract(epoch from '2026-07-13 10:10:16'::timestamp) - extract(epoch from '2026-07-13 10:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370767 -3.413875)'), GeomFromEWKT('SRID=4674;POINT (-38.370789 -3.413958)'))) / (select extract(epoch from '2026-07-13 10:10:16'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47392, 'SRID=4674;POINT (-38.370821 -3.41407)', '2026-07-13 10:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370789 -3.413958)'), GeomFromEWKT('SRID=4674;POINT (-38.370821 -3.41407)'))) / (select extract(epoch from '2026-07-13 10:10:22'::timestamp) - extract(epoch from '2026-07-13 10:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370789 -3.413958)'), GeomFromEWKT('SRID=4674;POINT (-38.370821 -3.41407)'))) / (select extract(epoch from '2026-07-13 10:10:22'::timestamp) - extract(epoch from '2026-07-13 10:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.370825 -3.414086)', '2026-07-13 10:10:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370821 -3.41407)'), GeomFromEWKT('SRID=4674;POINT (-38.370825 -3.414086)'))) / (select extract(epoch from '2026-07-13 10:10:23'::timestamp) - extract(epoch from '2026-07-13 10:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370821 -3.41407)'), GeomFromEWKT('SRID=4674;POINT (-38.370825 -3.414086)'))) / (select extract(epoch from '2026-07-13 10:10:23'::timestamp) - extract(epoch from '2026-07-13 10:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.370843 -3.414167)', '2026-07-13 10:10:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370825 -3.414086)'), GeomFromEWKT('SRID=4674;POINT (-38.370843 -3.414167)'))) / (select extract(epoch from '2026-07-13 10:10:28'::timestamp) - extract(epoch from '2026-07-13 10:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370825 -3.414086)'), GeomFromEWKT('SRID=4674;POINT (-38.370843 -3.414167)'))) / (select extract(epoch from '2026-07-13 10:10:28'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.370874 -3.41427)', '2026-07-13 10:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370843 -3.414167)'), GeomFromEWKT('SRID=4674;POINT (-38.370874 -3.41427)'))) / (select extract(epoch from '2026-07-13 10:10:34'::timestamp) - extract(epoch from '2026-07-13 10:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370843 -3.414167)'), GeomFromEWKT('SRID=4674;POINT (-38.370874 -3.41427)'))) / (select extract(epoch from '2026-07-13 10:10:34'::timestamp) - extract(epoch from '2026-07-13 10:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.370907 -3.414376)', '2026-07-13 10:10:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370874 -3.41427)'), GeomFromEWKT('SRID=4674;POINT (-38.370907 -3.414376)'))) / (select extract(epoch from '2026-07-13 10:10:40'::timestamp) - extract(epoch from '2026-07-13 10:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370874 -3.41427)'), GeomFromEWKT('SRID=4674;POINT (-38.370907 -3.414376)'))) / (select extract(epoch from '2026-07-13 10:10:40'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.37095 -3.414507)', '2026-07-13 10:10:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370907 -3.414376)'), GeomFromEWKT('SRID=4674;POINT (-38.37095 -3.414507)'))) / (select extract(epoch from '2026-07-13 10:10:48'::timestamp) - extract(epoch from '2026-07-13 10:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370907 -3.414376)'), GeomFromEWKT('SRID=4674;POINT (-38.37095 -3.414507)'))) / (select extract(epoch from '2026-07-13 10:10:48'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.370993 -3.414626)', '2026-07-13 10:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37095 -3.414507)'), GeomFromEWKT('SRID=4674;POINT (-38.370993 -3.414626)'))) / (select extract(epoch from '2026-07-13 10:10:55'::timestamp) - extract(epoch from '2026-07-13 10:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37095 -3.414507)'), GeomFromEWKT('SRID=4674;POINT (-38.370993 -3.414626)'))) / (select extract(epoch from '2026-07-13 10:10:55'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47392, 'SRID=4674;POINT (-38.371062 -3.414757)', '2026-07-13 10:11:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370993 -3.414626)'), GeomFromEWKT('SRID=4674;POINT (-38.371062 -3.414757)'))) / (select extract(epoch from '2026-07-13 10:11:03'::timestamp) - extract(epoch from '2026-07-13 10:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370993 -3.414626)'), GeomFromEWKT('SRID=4674;POINT (-38.371062 -3.414757)'))) / (select extract(epoch from '2026-07-13 10:11:03'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47392, 'SRID=4674;POINT (-38.371111 -3.414877)', '2026-07-13 10:11:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371062 -3.414757)'), GeomFromEWKT('SRID=4674;POINT (-38.371111 -3.414877)'))) / (select extract(epoch from '2026-07-13 10:11:10'::timestamp) - extract(epoch from '2026-07-13 10:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371062 -3.414757)'), GeomFromEWKT('SRID=4674;POINT (-38.371111 -3.414877)'))) / (select extract(epoch from '2026-07-13 10:11:10'::timestamp) - extract(epoch from '2026-07-13 10:11: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'), 47392, 'SRID=4674;POINT (-38.37114 -3.414974)', '2026-07-13 10:11:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371111 -3.414877)'), GeomFromEWKT('SRID=4674;POINT (-38.37114 -3.414974)'))) / (select extract(epoch from '2026-07-13 10:11:16'::timestamp) - extract(epoch from '2026-07-13 10:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371111 -3.414877)'), GeomFromEWKT('SRID=4674;POINT (-38.37114 -3.414974)'))) / (select extract(epoch from '2026-07-13 10:11:16'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.371149 -3.415017)', '2026-07-13 10:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37114 -3.414974)'), GeomFromEWKT('SRID=4674;POINT (-38.371149 -3.415017)'))) / (select extract(epoch from '2026-07-13 10:11:19'::timestamp) - extract(epoch from '2026-07-13 10:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37114 -3.414974)'), GeomFromEWKT('SRID=4674;POINT (-38.371149 -3.415017)'))) / (select extract(epoch from '2026-07-13 10:11:19'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.371168 -3.415067)', '2026-07-13 10:11:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371149 -3.415017)'), GeomFromEWKT('SRID=4674;POINT (-38.371168 -3.415067)'))) / (select extract(epoch from '2026-07-13 10:11:22'::timestamp) - extract(epoch from '2026-07-13 10:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371149 -3.415017)'), GeomFromEWKT('SRID=4674;POINT (-38.371168 -3.415067)'))) / (select extract(epoch from '2026-07-13 10:11:22'::timestamp) - extract(epoch from '2026-07-13 10:11:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.371208 -3.41517)', '2026-07-13 10:11:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371168 -3.415067)'), GeomFromEWKT('SRID=4674;POINT (-38.371208 -3.41517)'))) / (select extract(epoch from '2026-07-13 10:11:29'::timestamp) - extract(epoch from '2026-07-13 10:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371168 -3.415067)'), GeomFromEWKT('SRID=4674;POINT (-38.371208 -3.41517)'))) / (select extract(epoch from '2026-07-13 10:11:29'::timestamp) - extract(epoch from '2026-07-13 10:11: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'), 47392, 'SRID=4674;POINT (-38.371242 -3.415259)', '2026-07-13 10:11:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371208 -3.41517)'), GeomFromEWKT('SRID=4674;POINT (-38.371242 -3.415259)'))) / (select extract(epoch from '2026-07-13 10:11:35'::timestamp) - extract(epoch from '2026-07-13 10:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371208 -3.41517)'), GeomFromEWKT('SRID=4674;POINT (-38.371242 -3.415259)'))) / (select extract(epoch from '2026-07-13 10:11:35'::timestamp) - extract(epoch from '2026-07-13 10:11: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'), 47392, 'SRID=4674;POINT (-38.371253 -3.415276)', '2026-07-13 10:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371242 -3.415259)'), GeomFromEWKT('SRID=4674;POINT (-38.371253 -3.415276)'))) / (select extract(epoch from '2026-07-13 10:11:36'::timestamp) - extract(epoch from '2026-07-13 10:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371242 -3.415259)'), GeomFromEWKT('SRID=4674;POINT (-38.371253 -3.415276)'))) / (select extract(epoch from '2026-07-13 10:11:36'::timestamp) - extract(epoch from '2026-07-13 10:11: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'), 47392, 'SRID=4674;POINT (-38.371282 -3.415323)', '2026-07-13 10:11:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371253 -3.415276)'), GeomFromEWKT('SRID=4674;POINT (-38.371282 -3.415323)'))) / (select extract(epoch from '2026-07-13 10:11:39'::timestamp) - extract(epoch from '2026-07-13 10:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371253 -3.415276)'), GeomFromEWKT('SRID=4674;POINT (-38.371282 -3.415323)'))) / (select extract(epoch from '2026-07-13 10:11:39'::timestamp) - extract(epoch from '2026-07-13 10:11: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'), 47392, 'SRID=4674;POINT (-38.37132 -3.41542)', '2026-07-13 10:11:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371282 -3.415323)'), GeomFromEWKT('SRID=4674;POINT (-38.37132 -3.41542)'))) / (select extract(epoch from '2026-07-13 10:11:45'::timestamp) - extract(epoch from '2026-07-13 10:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371282 -3.415323)'), GeomFromEWKT('SRID=4674;POINT (-38.37132 -3.41542)'))) / (select extract(epoch from '2026-07-13 10:11:45'::timestamp) - extract(epoch from '2026-07-13 10:11: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'), 47392, 'SRID=4674;POINT (-38.371355 -3.415524)', '2026-07-13 10:11:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37132 -3.41542)'), GeomFromEWKT('SRID=4674;POINT (-38.371355 -3.415524)'))) / (select extract(epoch from '2026-07-13 10:11:51'::timestamp) - extract(epoch from '2026-07-13 10:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37132 -3.41542)'), GeomFromEWKT('SRID=4674;POINT (-38.371355 -3.415524)'))) / (select extract(epoch from '2026-07-13 10:11:51'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.371377 -3.415626)', '2026-07-13 10:11:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371355 -3.415524)'), GeomFromEWKT('SRID=4674;POINT (-38.371377 -3.415626)'))) / (select extract(epoch from '2026-07-13 10:11:57'::timestamp) - extract(epoch from '2026-07-13 10:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371355 -3.415524)'), GeomFromEWKT('SRID=4674;POINT (-38.371377 -3.415626)'))) / (select extract(epoch from '2026-07-13 10:11:57'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.37139 -3.415734)', '2026-07-13 10:12:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371377 -3.415626)'), GeomFromEWKT('SRID=4674;POINT (-38.37139 -3.415734)'))) / (select extract(epoch from '2026-07-13 10:12:03'::timestamp) - extract(epoch from '2026-07-13 10:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371377 -3.415626)'), GeomFromEWKT('SRID=4674;POINT (-38.37139 -3.415734)'))) / (select extract(epoch from '2026-07-13 10:12:03'::timestamp) - extract(epoch from '2026-07-13 10:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.371394 -3.415753)', '2026-07-13 10:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37139 -3.415734)'), GeomFromEWKT('SRID=4674;POINT (-38.371394 -3.415753)'))) / (select extract(epoch from '2026-07-13 10:12:04'::timestamp) - extract(epoch from '2026-07-13 10:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37139 -3.415734)'), GeomFromEWKT('SRID=4674;POINT (-38.371394 -3.415753)'))) / (select extract(epoch from '2026-07-13 10:12:04'::timestamp) - extract(epoch from '2026-07-13 10:12:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.37141 -3.415825)', '2026-07-13 10:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371394 -3.415753)'), GeomFromEWKT('SRID=4674;POINT (-38.37141 -3.415825)'))) / (select extract(epoch from '2026-07-13 10:12:08'::timestamp) - extract(epoch from '2026-07-13 10:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371394 -3.415753)'), GeomFromEWKT('SRID=4674;POINT (-38.37141 -3.415825)'))) / (select extract(epoch from '2026-07-13 10:12:08'::timestamp) - extract(epoch from '2026-07-13 10:12: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'), 47392, 'SRID=4674;POINT (-38.371451 -3.415944)', '2026-07-13 10:12:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37141 -3.415825)'), GeomFromEWKT('SRID=4674;POINT (-38.371451 -3.415944)'))) / (select extract(epoch from '2026-07-13 10:12:15'::timestamp) - extract(epoch from '2026-07-13 10:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37141 -3.415825)'), GeomFromEWKT('SRID=4674;POINT (-38.371451 -3.415944)'))) / (select extract(epoch from '2026-07-13 10:12:15'::timestamp) - extract(epoch from '2026-07-13 10:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.371498 -3.416046)', '2026-07-13 10:12:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371451 -3.415944)'), GeomFromEWKT('SRID=4674;POINT (-38.371498 -3.416046)'))) / (select extract(epoch from '2026-07-13 10:12:21'::timestamp) - extract(epoch from '2026-07-13 10:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371451 -3.415944)'), GeomFromEWKT('SRID=4674;POINT (-38.371498 -3.416046)'))) / (select extract(epoch from '2026-07-13 10:12:21'::timestamp) - extract(epoch from '2026-07-13 10:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.371538 -3.416165)', '2026-07-13 10:12:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371498 -3.416046)'), GeomFromEWKT('SRID=4674;POINT (-38.371538 -3.416165)'))) / (select extract(epoch from '2026-07-13 10:12:28'::timestamp) - extract(epoch from '2026-07-13 10:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371498 -3.416046)'), GeomFromEWKT('SRID=4674;POINT (-38.371538 -3.416165)'))) / (select extract(epoch from '2026-07-13 10:12:28'::timestamp) - extract(epoch from '2026-07-13 10:12: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'), 47392, 'SRID=4674;POINT (-38.371565 -3.416257)', '2026-07-13 10:12:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371538 -3.416165)'), GeomFromEWKT('SRID=4674;POINT (-38.371565 -3.416257)'))) / (select extract(epoch from '2026-07-13 10:12:34'::timestamp) - extract(epoch from '2026-07-13 10:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371538 -3.416165)'), GeomFromEWKT('SRID=4674;POINT (-38.371565 -3.416257)'))) / (select extract(epoch from '2026-07-13 10:12:34'::timestamp) - extract(epoch from '2026-07-13 10:12: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'), 47392, 'SRID=4674;POINT (-38.371608 -3.416399)', '2026-07-13 10:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371565 -3.416257)'), GeomFromEWKT('SRID=4674;POINT (-38.371608 -3.416399)'))) / (select extract(epoch from '2026-07-13 10:12:42'::timestamp) - extract(epoch from '2026-07-13 10:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371565 -3.416257)'), GeomFromEWKT('SRID=4674;POINT (-38.371608 -3.416399)'))) / (select extract(epoch from '2026-07-13 10:12:42'::timestamp) - extract(epoch from '2026-07-13 10:12: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'), 47392, 'SRID=4674;POINT (-38.37164 -3.416529)', '2026-07-13 10:12:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371608 -3.416399)'), GeomFromEWKT('SRID=4674;POINT (-38.37164 -3.416529)'))) / (select extract(epoch from '2026-07-13 10:12:49'::timestamp) - extract(epoch from '2026-07-13 10:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371608 -3.416399)'), GeomFromEWKT('SRID=4674;POINT (-38.37164 -3.416529)'))) / (select extract(epoch from '2026-07-13 10:12:49'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.371674 -3.416639)', '2026-07-13 10:12:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37164 -3.416529)'), GeomFromEWKT('SRID=4674;POINT (-38.371674 -3.416639)'))) / (select extract(epoch from '2026-07-13 10:12:55'::timestamp) - extract(epoch from '2026-07-13 10:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37164 -3.416529)'), GeomFromEWKT('SRID=4674;POINT (-38.371674 -3.416639)'))) / (select extract(epoch from '2026-07-13 10:12:55'::timestamp) - extract(epoch from '2026-07-13 10:12: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'), 47392, 'SRID=4674;POINT (-38.371689 -3.416722)', '2026-07-13 10:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371674 -3.416639)'), GeomFromEWKT('SRID=4674;POINT (-38.371689 -3.416722)'))) / (select extract(epoch from '2026-07-13 10:13:00'::timestamp) - extract(epoch from '2026-07-13 10:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371674 -3.416639)'), GeomFromEWKT('SRID=4674;POINT (-38.371689 -3.416722)'))) / (select extract(epoch from '2026-07-13 10:13:00'::timestamp) - extract(epoch from '2026-07-13 10:12: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'), 47392, 'SRID=4674;POINT (-38.371703 -3.416769)', '2026-07-13 10:13:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371689 -3.416722)'), GeomFromEWKT('SRID=4674;POINT (-38.371703 -3.416769)'))) / (select extract(epoch from '2026-07-13 10:13:03'::timestamp) - extract(epoch from '2026-07-13 10:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371689 -3.416722)'), GeomFromEWKT('SRID=4674;POINT (-38.371703 -3.416769)'))) / (select extract(epoch from '2026-07-13 10:13:03'::timestamp) - extract(epoch from '2026-07-13 10:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.3717 -3.416801)', '2026-07-13 10:13:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371703 -3.416769)'), GeomFromEWKT('SRID=4674;POINT (-38.3717 -3.416801)'))) / (select extract(epoch from '2026-07-13 10:13:05'::timestamp) - extract(epoch from '2026-07-13 10:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371703 -3.416769)'), GeomFromEWKT('SRID=4674;POINT (-38.3717 -3.416801)'))) / (select extract(epoch from '2026-07-13 10:13:05'::timestamp) - extract(epoch from '2026-07-13 10:13: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'), 47392, 'SRID=4674;POINT (-38.371723 -3.416888)', '2026-07-13 10:13:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3717 -3.416801)'), GeomFromEWKT('SRID=4674;POINT (-38.371723 -3.416888)'))) / (select extract(epoch from '2026-07-13 10:13:10'::timestamp) - extract(epoch from '2026-07-13 10:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3717 -3.416801)'), GeomFromEWKT('SRID=4674;POINT (-38.371723 -3.416888)'))) / (select extract(epoch from '2026-07-13 10:13:10'::timestamp) - extract(epoch from '2026-07-13 10:13: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'), 47392, 'SRID=4674;POINT (-38.371733 -3.416991)', '2026-07-13 10:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371723 -3.416888)'), GeomFromEWKT('SRID=4674;POINT (-38.371733 -3.416991)'))) / (select extract(epoch from '2026-07-13 10:13:16'::timestamp) - extract(epoch from '2026-07-13 10:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371723 -3.416888)'), GeomFromEWKT('SRID=4674;POINT (-38.371733 -3.416991)'))) / (select extract(epoch from '2026-07-13 10:13:16'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.371738 -3.417117)', '2026-07-13 10:13:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371733 -3.416991)'), GeomFromEWKT('SRID=4674;POINT (-38.371738 -3.417117)'))) / (select extract(epoch from '2026-07-13 10:13:24'::timestamp) - extract(epoch from '2026-07-13 10:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371733 -3.416991)'), GeomFromEWKT('SRID=4674;POINT (-38.371738 -3.417117)'))) / (select extract(epoch from '2026-07-13 10:13:24'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.371754 -3.417242)', '2026-07-13 10:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371738 -3.417117)'), GeomFromEWKT('SRID=4674;POINT (-38.371754 -3.417242)'))) / (select extract(epoch from '2026-07-13 10:13:32'::timestamp) - extract(epoch from '2026-07-13 10:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371738 -3.417117)'), GeomFromEWKT('SRID=4674;POINT (-38.371754 -3.417242)'))) / (select extract(epoch from '2026-07-13 10:13:32'::timestamp) - extract(epoch from '2026-07-13 10:13: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'), 47392, 'SRID=4674;POINT (-38.37177 -3.417356)', '2026-07-13 10:13:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371754 -3.417242)'), GeomFromEWKT('SRID=4674;POINT (-38.37177 -3.417356)'))) / (select extract(epoch from '2026-07-13 10:13:39'::timestamp) - extract(epoch from '2026-07-13 10:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371754 -3.417242)'), GeomFromEWKT('SRID=4674;POINT (-38.37177 -3.417356)'))) / (select extract(epoch from '2026-07-13 10:13:39'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.371784 -3.41747)', '2026-07-13 10:13:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37177 -3.417356)'), GeomFromEWKT('SRID=4674;POINT (-38.371784 -3.41747)'))) / (select extract(epoch from '2026-07-13 10:13:46'::timestamp) - extract(epoch from '2026-07-13 10:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37177 -3.417356)'), GeomFromEWKT('SRID=4674;POINT (-38.371784 -3.41747)'))) / (select extract(epoch from '2026-07-13 10:13:46'::timestamp) - extract(epoch from '2026-07-13 10:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.371797 -3.417584)', '2026-07-13 10:13:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371784 -3.41747)'), GeomFromEWKT('SRID=4674;POINT (-38.371797 -3.417584)'))) / (select extract(epoch from '2026-07-13 10:13:54'::timestamp) - extract(epoch from '2026-07-13 10:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371784 -3.41747)'), GeomFromEWKT('SRID=4674;POINT (-38.371797 -3.417584)'))) / (select extract(epoch from '2026-07-13 10:13:54'::timestamp) - extract(epoch from '2026-07-13 10:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.371822 -3.417658)', '2026-07-13 10:13:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371797 -3.417584)'), GeomFromEWKT('SRID=4674;POINT (-38.371822 -3.417658)'))) / (select extract(epoch from '2026-07-13 10:13:59'::timestamp) - extract(epoch from '2026-07-13 10:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371797 -3.417584)'), GeomFromEWKT('SRID=4674;POINT (-38.371822 -3.417658)'))) / (select extract(epoch from '2026-07-13 10:13:59'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.371847 -3.417734)', '2026-07-13 10:14:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371822 -3.417658)'), GeomFromEWKT('SRID=4674;POINT (-38.371847 -3.417734)'))) / (select extract(epoch from '2026-07-13 10:14:04'::timestamp) - extract(epoch from '2026-07-13 10:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371822 -3.417658)'), GeomFromEWKT('SRID=4674;POINT (-38.371847 -3.417734)'))) / (select extract(epoch from '2026-07-13 10:14:04'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.37187 -3.417807)', '2026-07-13 10:14:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371847 -3.417734)'), GeomFromEWKT('SRID=4674;POINT (-38.37187 -3.417807)'))) / (select extract(epoch from '2026-07-13 10:14:09'::timestamp) - extract(epoch from '2026-07-13 10:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371847 -3.417734)'), GeomFromEWKT('SRID=4674;POINT (-38.37187 -3.417807)'))) / (select extract(epoch from '2026-07-13 10:14:09'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47392, 'SRID=4674;POINT (-38.371896 -3.417912)', '2026-07-13 10:14:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37187 -3.417807)'), GeomFromEWKT('SRID=4674;POINT (-38.371896 -3.417912)'))) / (select extract(epoch from '2026-07-13 10:14:15'::timestamp) - extract(epoch from '2026-07-13 10:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37187 -3.417807)'), GeomFromEWKT('SRID=4674;POINT (-38.371896 -3.417912)'))) / (select extract(epoch from '2026-07-13 10:14:15'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47392, 'SRID=4674;POINT (-38.371924 -3.418019)', '2026-07-13 10:14:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371896 -3.417912)'), GeomFromEWKT('SRID=4674;POINT (-38.371924 -3.418019)'))) / (select extract(epoch from '2026-07-13 10:14:21'::timestamp) - extract(epoch from '2026-07-13 10:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371896 -3.417912)'), GeomFromEWKT('SRID=4674;POINT (-38.371924 -3.418019)'))) / (select extract(epoch from '2026-07-13 10:14:21'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47392, 'SRID=4674;POINT (-38.371945 -3.418116)', '2026-07-13 10:14:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371924 -3.418019)'), GeomFromEWKT('SRID=4674;POINT (-38.371945 -3.418116)'))) / (select extract(epoch from '2026-07-13 10:14:26'::timestamp) - extract(epoch from '2026-07-13 10:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371924 -3.418019)'), GeomFromEWKT('SRID=4674;POINT (-38.371945 -3.418116)'))) / (select extract(epoch from '2026-07-13 10:14:26'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47392, 'SRID=4674;POINT (-38.371979 -3.418228)', '2026-07-13 10:14:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371945 -3.418116)'), GeomFromEWKT('SRID=4674;POINT (-38.371979 -3.418228)'))) / (select extract(epoch from '2026-07-13 10:14:32'::timestamp) - extract(epoch from '2026-07-13 10:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371945 -3.418116)'), GeomFromEWKT('SRID=4674;POINT (-38.371979 -3.418228)'))) / (select extract(epoch from '2026-07-13 10:14:32'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47392, 'SRID=4674;POINT (-38.372006 -3.418336)', '2026-07-13 10:14:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371979 -3.418228)'), GeomFromEWKT('SRID=4674;POINT (-38.372006 -3.418336)'))) / (select extract(epoch from '2026-07-13 10:14:38'::timestamp) - extract(epoch from '2026-07-13 10:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371979 -3.418228)'), GeomFromEWKT('SRID=4674;POINT (-38.372006 -3.418336)'))) / (select extract(epoch from '2026-07-13 10:14:38'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47392, 'SRID=4674;POINT (-38.372027 -3.418465)', '2026-07-13 10:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372006 -3.418336)'), GeomFromEWKT('SRID=4674;POINT (-38.372027 -3.418465)'))) / (select extract(epoch from '2026-07-13 10:14:45'::timestamp) - extract(epoch from '2026-07-13 10:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372006 -3.418336)'), GeomFromEWKT('SRID=4674;POINT (-38.372027 -3.418465)'))) / (select extract(epoch from '2026-07-13 10:14:45'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47392, 'SRID=4674;POINT (-38.372057 -3.418572)', '2026-07-13 10:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372027 -3.418465)'), GeomFromEWKT('SRID=4674;POINT (-38.372057 -3.418572)'))) / (select extract(epoch from '2026-07-13 10:14:51'::timestamp) - extract(epoch from '2026-07-13 10:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372027 -3.418465)'), GeomFromEWKT('SRID=4674;POINT (-38.372057 -3.418572)'))) / (select extract(epoch from '2026-07-13 10:14:51'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.372101 -3.418676)', '2026-07-13 10:14:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372057 -3.418572)'), GeomFromEWKT('SRID=4674;POINT (-38.372101 -3.418676)'))) / (select extract(epoch from '2026-07-13 10:14:57'::timestamp) - extract(epoch from '2026-07-13 10:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372057 -3.418572)'), GeomFromEWKT('SRID=4674;POINT (-38.372101 -3.418676)'))) / (select extract(epoch from '2026-07-13 10:14:57'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.372128 -3.418759)', '2026-07-13 10:15:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372101 -3.418676)'), GeomFromEWKT('SRID=4674;POINT (-38.372128 -3.418759)'))) / (select extract(epoch from '2026-07-13 10:15:02'::timestamp) - extract(epoch from '2026-07-13 10:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372101 -3.418676)'), GeomFromEWKT('SRID=4674;POINT (-38.372128 -3.418759)'))) / (select extract(epoch from '2026-07-13 10:15:02'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.372164 -3.418877)', '2026-07-13 10:15:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372128 -3.418759)'), GeomFromEWKT('SRID=4674;POINT (-38.372164 -3.418877)'))) / (select extract(epoch from '2026-07-13 10:15:09'::timestamp) - extract(epoch from '2026-07-13 10:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372128 -3.418759)'), GeomFromEWKT('SRID=4674;POINT (-38.372164 -3.418877)'))) / (select extract(epoch from '2026-07-13 10:15:09'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47392, 'SRID=4674;POINT (-38.37222 -3.418975)', '2026-07-13 10:15:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372164 -3.418877)'), GeomFromEWKT('SRID=4674;POINT (-38.37222 -3.418975)'))) / (select extract(epoch from '2026-07-13 10:15:15'::timestamp) - extract(epoch from '2026-07-13 10:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372164 -3.418877)'), GeomFromEWKT('SRID=4674;POINT (-38.37222 -3.418975)'))) / (select extract(epoch from '2026-07-13 10:15:15'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.372263 -3.419079)', '2026-07-13 10:15:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37222 -3.418975)'), GeomFromEWKT('SRID=4674;POINT (-38.372263 -3.419079)'))) / (select extract(epoch from '2026-07-13 10:15:21'::timestamp) - extract(epoch from '2026-07-13 10:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37222 -3.418975)'), GeomFromEWKT('SRID=4674;POINT (-38.372263 -3.419079)'))) / (select extract(epoch from '2026-07-13 10:15:21'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47392, 'SRID=4674;POINT (-38.372306 -3.419213)', '2026-07-13 10:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372263 -3.419079)'), GeomFromEWKT('SRID=4674;POINT (-38.372306 -3.419213)'))) / (select extract(epoch from '2026-07-13 10:15:29'::timestamp) - extract(epoch from '2026-07-13 10:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372263 -3.419079)'), GeomFromEWKT('SRID=4674;POINT (-38.372306 -3.419213)'))) / (select extract(epoch from '2026-07-13 10:15:29'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47392, 'SRID=4674;POINT (-38.372332 -3.419306)', '2026-07-13 10:15:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372306 -3.419213)'), GeomFromEWKT('SRID=4674;POINT (-38.372332 -3.419306)'))) / (select extract(epoch from '2026-07-13 10:15:34'::timestamp) - extract(epoch from '2026-07-13 10:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372306 -3.419213)'), GeomFromEWKT('SRID=4674;POINT (-38.372332 -3.419306)'))) / (select extract(epoch from '2026-07-13 10:15:34'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47392, 'SRID=4674;POINT (-38.37237 -3.419444)', '2026-07-13 10:15:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372332 -3.419306)'), GeomFromEWKT('SRID=4674;POINT (-38.37237 -3.419444)'))) / (select extract(epoch from '2026-07-13 10:15:41'::timestamp) - extract(epoch from '2026-07-13 10:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372332 -3.419306)'), GeomFromEWKT('SRID=4674;POINT (-38.37237 -3.419444)'))) / (select extract(epoch from '2026-07-13 10:15:41'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47392, 'SRID=4674;POINT (-38.37239 -3.419533)', '2026-07-13 10:15:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37237 -3.419444)'), GeomFromEWKT('SRID=4674;POINT (-38.37239 -3.419533)'))) / (select extract(epoch from '2026-07-13 10:15:46'::timestamp) - extract(epoch from '2026-07-13 10:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37237 -3.419444)'), GeomFromEWKT('SRID=4674;POINT (-38.37239 -3.419533)'))) / (select extract(epoch from '2026-07-13 10:15:46'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47392, 'SRID=4674;POINT (-38.372425 -3.419653)', '2026-07-13 10:15:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37239 -3.419533)'), GeomFromEWKT('SRID=4674;POINT (-38.372425 -3.419653)'))) / (select extract(epoch from '2026-07-13 10:15:52'::timestamp) - extract(epoch from '2026-07-13 10:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37239 -3.419533)'), GeomFromEWKT('SRID=4674;POINT (-38.372425 -3.419653)'))) / (select extract(epoch from '2026-07-13 10:15:52'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47392, 'SRID=4674;POINT (-38.372464 -3.419791)', '2026-07-13 10:15:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372425 -3.419653)'), GeomFromEWKT('SRID=4674;POINT (-38.372464 -3.419791)'))) / (select extract(epoch from '2026-07-13 10:15:59'::timestamp) - extract(epoch from '2026-07-13 10:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372425 -3.419653)'), GeomFromEWKT('SRID=4674;POINT (-38.372464 -3.419791)'))) / (select extract(epoch from '2026-07-13 10:15:59'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47392, 'SRID=4674;POINT (-38.372498 -3.419921)', '2026-07-13 10:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372464 -3.419791)'), GeomFromEWKT('SRID=4674;POINT (-38.372498 -3.419921)'))) / (select extract(epoch from '2026-07-13 10:16:06'::timestamp) - extract(epoch from '2026-07-13 10:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372464 -3.419791)'), GeomFromEWKT('SRID=4674;POINT (-38.372498 -3.419921)'))) / (select extract(epoch from '2026-07-13 10:16:06'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47392, 'SRID=4674;POINT (-38.372529 -3.420023)', '2026-07-13 10:16:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372498 -3.419921)'), GeomFromEWKT('SRID=4674;POINT (-38.372529 -3.420023)'))) / (select extract(epoch from '2026-07-13 10:16:12'::timestamp) - extract(epoch from '2026-07-13 10:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372498 -3.419921)'), GeomFromEWKT('SRID=4674;POINT (-38.372529 -3.420023)'))) / (select extract(epoch from '2026-07-13 10:16:12'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47392, 'SRID=4674;POINT (-38.37255 -3.420112)', '2026-07-13 10:16:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372529 -3.420023)'), GeomFromEWKT('SRID=4674;POINT (-38.37255 -3.420112)'))) / (select extract(epoch from '2026-07-13 10:16:17'::timestamp) - extract(epoch from '2026-07-13 10:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372529 -3.420023)'), GeomFromEWKT('SRID=4674;POINT (-38.37255 -3.420112)'))) / (select extract(epoch from '2026-07-13 10:16:17'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47392, 'SRID=4674;POINT (-38.372575 -3.420194)', '2026-07-13 10:16:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37255 -3.420112)'), GeomFromEWKT('SRID=4674;POINT (-38.372575 -3.420194)'))) / (select extract(epoch from '2026-07-13 10:16:22'::timestamp) - extract(epoch from '2026-07-13 10:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37255 -3.420112)'), GeomFromEWKT('SRID=4674;POINT (-38.372575 -3.420194)'))) / (select extract(epoch from '2026-07-13 10:16:22'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47392, 'SRID=4674;POINT (-38.37261 -3.420297)', '2026-07-13 10:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372575 -3.420194)'), GeomFromEWKT('SRID=4674;POINT (-38.37261 -3.420297)'))) / (select extract(epoch from '2026-07-13 10:16:28'::timestamp) - extract(epoch from '2026-07-13 10:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372575 -3.420194)'), GeomFromEWKT('SRID=4674;POINT (-38.37261 -3.420297)'))) / (select extract(epoch from '2026-07-13 10:16:28'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47392, 'SRID=4674;POINT (-38.372654 -3.420399)', '2026-07-13 10:16:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37261 -3.420297)'), GeomFromEWKT('SRID=4674;POINT (-38.372654 -3.420399)'))) / (select extract(epoch from '2026-07-13 10:16:34'::timestamp) - extract(epoch from '2026-07-13 10:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37261 -3.420297)'), GeomFromEWKT('SRID=4674;POINT (-38.372654 -3.420399)'))) / (select extract(epoch from '2026-07-13 10:16:34'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47392, 'SRID=4674;POINT (-38.372685 -3.420507)', '2026-07-13 10:16:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372654 -3.420399)'), GeomFromEWKT('SRID=4674;POINT (-38.372685 -3.420507)'))) / (select extract(epoch from '2026-07-13 10:16:40'::timestamp) - extract(epoch from '2026-07-13 10:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372654 -3.420399)'), GeomFromEWKT('SRID=4674;POINT (-38.372685 -3.420507)'))) / (select extract(epoch from '2026-07-13 10:16:40'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47392, 'SRID=4674;POINT (-38.372702 -3.420556)', '2026-07-13 10:16:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372685 -3.420507)'), GeomFromEWKT('SRID=4674;POINT (-38.372702 -3.420556)'))) / (select extract(epoch from '2026-07-13 10:16:43'::timestamp) - extract(epoch from '2026-07-13 10:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372685 -3.420507)'), GeomFromEWKT('SRID=4674;POINT (-38.372702 -3.420556)'))) / (select extract(epoch from '2026-07-13 10:16:43'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47392, 'SRID=4674;POINT (-38.372704 -3.420593)', '2026-07-13 10:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372702 -3.420556)'), GeomFromEWKT('SRID=4674;POINT (-38.372704 -3.420593)'))) / (select extract(epoch from '2026-07-13 10:16:45'::timestamp) - extract(epoch from '2026-07-13 10:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372702 -3.420556)'), GeomFromEWKT('SRID=4674;POINT (-38.372704 -3.420593)'))) / (select extract(epoch from '2026-07-13 10:16:45'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47392, 'SRID=4674;POINT (-38.372736 -3.420687)', '2026-07-13 10:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372704 -3.420593)'), GeomFromEWKT('SRID=4674;POINT (-38.372736 -3.420687)'))) / (select extract(epoch from '2026-07-13 10:16:50'::timestamp) - extract(epoch from '2026-07-13 10:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372704 -3.420593)'), GeomFromEWKT('SRID=4674;POINT (-38.372736 -3.420687)'))) / (select extract(epoch from '2026-07-13 10:16:50'::timestamp) - extract(epoch from '2026-07-13 10:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.372771 -3.420807)', '2026-07-13 10:16:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372736 -3.420687)'), GeomFromEWKT('SRID=4674;POINT (-38.372771 -3.420807)'))) / (select extract(epoch from '2026-07-13 10:16:56'::timestamp) - extract(epoch from '2026-07-13 10:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372736 -3.420687)'), GeomFromEWKT('SRID=4674;POINT (-38.372771 -3.420807)'))) / (select extract(epoch from '2026-07-13 10:16:56'::timestamp) - extract(epoch from '2026-07-13 10:16:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.372808 -3.420919)', '2026-07-13 10:17:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372771 -3.420807)'), GeomFromEWKT('SRID=4674;POINT (-38.372808 -3.420919)'))) / (select extract(epoch from '2026-07-13 10:17:02'::timestamp) - extract(epoch from '2026-07-13 10:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372771 -3.420807)'), GeomFromEWKT('SRID=4674;POINT (-38.372808 -3.420919)'))) / (select extract(epoch from '2026-07-13 10:17:02'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47392, 'SRID=4674;POINT (-38.372851 -3.421069)', '2026-07-13 10:17:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372808 -3.420919)'), GeomFromEWKT('SRID=4674;POINT (-38.372851 -3.421069)'))) / (select extract(epoch from '2026-07-13 10:17:10'::timestamp) - extract(epoch from '2026-07-13 10:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372808 -3.420919)'), GeomFromEWKT('SRID=4674;POINT (-38.372851 -3.421069)'))) / (select extract(epoch from '2026-07-13 10:17:10'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47392, 'SRID=4674;POINT (-38.372906 -3.421197)', '2026-07-13 10:17:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372851 -3.421069)'), GeomFromEWKT('SRID=4674;POINT (-38.372906 -3.421197)'))) / (select extract(epoch from '2026-07-13 10:17:17'::timestamp) - extract(epoch from '2026-07-13 10:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372851 -3.421069)'), GeomFromEWKT('SRID=4674;POINT (-38.372906 -3.421197)'))) / (select extract(epoch from '2026-07-13 10:17:17'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47392, 'SRID=4674;POINT (-38.372956 -3.421302)', '2026-07-13 10:17:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372906 -3.421197)'), GeomFromEWKT('SRID=4674;POINT (-38.372956 -3.421302)'))) / (select extract(epoch from '2026-07-13 10:17:23'::timestamp) - extract(epoch from '2026-07-13 10:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372906 -3.421197)'), GeomFromEWKT('SRID=4674;POINT (-38.372956 -3.421302)'))) / (select extract(epoch from '2026-07-13 10:17:23'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47392, 'SRID=4674;POINT (-38.373015 -3.421422)', '2026-07-13 10:17:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372956 -3.421302)'), GeomFromEWKT('SRID=4674;POINT (-38.373015 -3.421422)'))) / (select extract(epoch from '2026-07-13 10:17:30'::timestamp) - extract(epoch from '2026-07-13 10:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372956 -3.421302)'), GeomFromEWKT('SRID=4674;POINT (-38.373015 -3.421422)'))) / (select extract(epoch from '2026-07-13 10:17:30'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47392, 'SRID=4674;POINT (-38.373055 -3.421516)', '2026-07-13 10:17:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373015 -3.421422)'), GeomFromEWKT('SRID=4674;POINT (-38.373055 -3.421516)'))) / (select extract(epoch from '2026-07-13 10:17:35'::timestamp) - extract(epoch from '2026-07-13 10:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373015 -3.421422)'), GeomFromEWKT('SRID=4674;POINT (-38.373055 -3.421516)'))) / (select extract(epoch from '2026-07-13 10:17:35'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47392, 'SRID=4674;POINT (-38.373097 -3.421618)', '2026-07-13 10:17:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373055 -3.421516)'), GeomFromEWKT('SRID=4674;POINT (-38.373097 -3.421618)'))) / (select extract(epoch from '2026-07-13 10:17:41'::timestamp) - extract(epoch from '2026-07-13 10:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373055 -3.421516)'), GeomFromEWKT('SRID=4674;POINT (-38.373097 -3.421618)'))) / (select extract(epoch from '2026-07-13 10:17:41'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47392, 'SRID=4674;POINT (-38.373106 -3.421636)', '2026-07-13 10:17:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373097 -3.421618)'), GeomFromEWKT('SRID=4674;POINT (-38.373106 -3.421636)'))) / (select extract(epoch from '2026-07-13 10:17:42'::timestamp) - extract(epoch from '2026-07-13 10:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373097 -3.421618)'), GeomFromEWKT('SRID=4674;POINT (-38.373106 -3.421636)'))) / (select extract(epoch from '2026-07-13 10:17:42'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47392, 'SRID=4674;POINT (-38.373137 -3.421708)', '2026-07-13 10:17:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373106 -3.421636)'), GeomFromEWKT('SRID=4674;POINT (-38.373137 -3.421708)'))) / (select extract(epoch from '2026-07-13 10:17:46'::timestamp) - extract(epoch from '2026-07-13 10:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373106 -3.421636)'), GeomFromEWKT('SRID=4674;POINT (-38.373137 -3.421708)'))) / (select extract(epoch from '2026-07-13 10:17:46'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47392, 'SRID=4674;POINT (-38.373181 -3.421816)', '2026-07-13 10:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373137 -3.421708)'), GeomFromEWKT('SRID=4674;POINT (-38.373181 -3.421816)'))) / (select extract(epoch from '2026-07-13 10:17:52'::timestamp) - extract(epoch from '2026-07-13 10:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373137 -3.421708)'), GeomFromEWKT('SRID=4674;POINT (-38.373181 -3.421816)'))) / (select extract(epoch from '2026-07-13 10:17:52'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47392, 'SRID=4674;POINT (-38.373221 -3.421942)', '2026-07-13 10:17:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373181 -3.421816)'), GeomFromEWKT('SRID=4674;POINT (-38.373221 -3.421942)'))) / (select extract(epoch from '2026-07-13 10:17:59'::timestamp) - extract(epoch from '2026-07-13 10:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373181 -3.421816)'), GeomFromEWKT('SRID=4674;POINT (-38.373221 -3.421942)'))) / (select extract(epoch from '2026-07-13 10:17:59'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47392, 'SRID=4674;POINT (-38.373254 -3.422052)', '2026-07-13 10:18:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373221 -3.421942)'), GeomFromEWKT('SRID=4674;POINT (-38.373254 -3.422052)'))) / (select extract(epoch from '2026-07-13 10:18:05'::timestamp) - extract(epoch from '2026-07-13 10:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373221 -3.421942)'), GeomFromEWKT('SRID=4674;POINT (-38.373254 -3.422052)'))) / (select extract(epoch from '2026-07-13 10:18:05'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47392, 'SRID=4674;POINT (-38.373282 -3.422135)', '2026-07-13 10:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373254 -3.422052)'), GeomFromEWKT('SRID=4674;POINT (-38.373282 -3.422135)'))) / (select extract(epoch from '2026-07-13 10:18:10'::timestamp) - extract(epoch from '2026-07-13 10:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373254 -3.422052)'), GeomFromEWKT('SRID=4674;POINT (-38.373282 -3.422135)'))) / (select extract(epoch from '2026-07-13 10:18:10'::timestamp) - extract(epoch from '2026-07-13 10:18: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'), 47392, 'SRID=4674;POINT (-38.373316 -3.422239)', '2026-07-13 10:18:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373282 -3.422135)'), GeomFromEWKT('SRID=4674;POINT (-38.373316 -3.422239)'))) / (select extract(epoch from '2026-07-13 10:18:16'::timestamp) - extract(epoch from '2026-07-13 10:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373282 -3.422135)'), GeomFromEWKT('SRID=4674;POINT (-38.373316 -3.422239)'))) / (select extract(epoch from '2026-07-13 10:18:16'::timestamp) - extract(epoch from '2026-07-13 10:18: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'), 47392, 'SRID=4674;POINT (-38.373351 -3.422356)', '2026-07-13 10:18:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373316 -3.422239)'), GeomFromEWKT('SRID=4674;POINT (-38.373351 -3.422356)'))) / (select extract(epoch from '2026-07-13 10:18:22'::timestamp) - extract(epoch from '2026-07-13 10:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373316 -3.422239)'), GeomFromEWKT('SRID=4674;POINT (-38.373351 -3.422356)'))) / (select extract(epoch from '2026-07-13 10:18:22'::timestamp) - extract(epoch from '2026-07-13 10:18: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'), 47392, 'SRID=4674;POINT (-38.373397 -3.422506)', '2026-07-13 10:18:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373351 -3.422356)'), GeomFromEWKT('SRID=4674;POINT (-38.373397 -3.422506)'))) / (select extract(epoch from '2026-07-13 10:18:30'::timestamp) - extract(epoch from '2026-07-13 10:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373351 -3.422356)'), GeomFromEWKT('SRID=4674;POINT (-38.373397 -3.422506)'))) / (select extract(epoch from '2026-07-13 10:18:30'::timestamp) - extract(epoch from '2026-07-13 10:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.373423 -3.422595)', '2026-07-13 10:18:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373397 -3.422506)'), GeomFromEWKT('SRID=4674;POINT (-38.373423 -3.422595)'))) / (select extract(epoch from '2026-07-13 10:18:35'::timestamp) - extract(epoch from '2026-07-13 10:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373397 -3.422506)'), GeomFromEWKT('SRID=4674;POINT (-38.373423 -3.422595)'))) / (select extract(epoch from '2026-07-13 10:18:35'::timestamp) - extract(epoch from '2026-07-13 10:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.373466 -3.422706)', '2026-07-13 10:18:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373423 -3.422595)'), GeomFromEWKT('SRID=4674;POINT (-38.373466 -3.422706)'))) / (select extract(epoch from '2026-07-13 10:18:41'::timestamp) - extract(epoch from '2026-07-13 10:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373423 -3.422595)'), GeomFromEWKT('SRID=4674;POINT (-38.373466 -3.422706)'))) / (select extract(epoch from '2026-07-13 10:18:41'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.373499 -3.422823)', '2026-07-13 10:18:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373466 -3.422706)'), GeomFromEWKT('SRID=4674;POINT (-38.373499 -3.422823)'))) / (select extract(epoch from '2026-07-13 10:18:47'::timestamp) - extract(epoch from '2026-07-13 10:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373466 -3.422706)'), GeomFromEWKT('SRID=4674;POINT (-38.373499 -3.422823)'))) / (select extract(epoch from '2026-07-13 10:18:47'::timestamp) - extract(epoch from '2026-07-13 10:18: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'), 47392, 'SRID=4674;POINT (-38.373538 -3.422956)', '2026-07-13 10:18:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373499 -3.422823)'), GeomFromEWKT('SRID=4674;POINT (-38.373538 -3.422956)'))) / (select extract(epoch from '2026-07-13 10:18:54'::timestamp) - extract(epoch from '2026-07-13 10:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373499 -3.422823)'), GeomFromEWKT('SRID=4674;POINT (-38.373538 -3.422956)'))) / (select extract(epoch from '2026-07-13 10:18:54'::timestamp) - extract(epoch from '2026-07-13 10:18: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'), 47392, 'SRID=4674;POINT (-38.373567 -3.423071)', '2026-07-13 10:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373538 -3.422956)'), GeomFromEWKT('SRID=4674;POINT (-38.373567 -3.423071)'))) / (select extract(epoch from '2026-07-13 10:19:00'::timestamp) - extract(epoch from '2026-07-13 10:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373538 -3.422956)'), GeomFromEWKT('SRID=4674;POINT (-38.373567 -3.423071)'))) / (select extract(epoch from '2026-07-13 10:19:00'::timestamp) - extract(epoch from '2026-07-13 10:18: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'), 47392, 'SRID=4674;POINT (-38.373596 -3.423188)', '2026-07-13 10:19:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373567 -3.423071)'), GeomFromEWKT('SRID=4674;POINT (-38.373596 -3.423188)'))) / (select extract(epoch from '2026-07-13 10:19:06'::timestamp) - extract(epoch from '2026-07-13 10:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373567 -3.423071)'), GeomFromEWKT('SRID=4674;POINT (-38.373596 -3.423188)'))) / (select extract(epoch from '2026-07-13 10:19:06'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.373624 -3.423283)', '2026-07-13 10:19:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373596 -3.423188)'), GeomFromEWKT('SRID=4674;POINT (-38.373624 -3.423283)'))) / (select extract(epoch from '2026-07-13 10:19:11'::timestamp) - extract(epoch from '2026-07-13 10:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373596 -3.423188)'), GeomFromEWKT('SRID=4674;POINT (-38.373624 -3.423283)'))) / (select extract(epoch from '2026-07-13 10:19:11'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.373667 -3.42341)', '2026-07-13 10:19:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373624 -3.423283)'), GeomFromEWKT('SRID=4674;POINT (-38.373667 -3.42341)'))) / (select extract(epoch from '2026-07-13 10:19:18'::timestamp) - extract(epoch from '2026-07-13 10:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373624 -3.423283)'), GeomFromEWKT('SRID=4674;POINT (-38.373667 -3.42341)'))) / (select extract(epoch from '2026-07-13 10:19:18'::timestamp) - extract(epoch from '2026-07-13 10:19: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'), 47392, 'SRID=4674;POINT (-38.3737 -3.423488)', '2026-07-13 10:19:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373667 -3.42341)'), GeomFromEWKT('SRID=4674;POINT (-38.3737 -3.423488)'))) / (select extract(epoch from '2026-07-13 10:19:23'::timestamp) - extract(epoch from '2026-07-13 10:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373667 -3.42341)'), GeomFromEWKT('SRID=4674;POINT (-38.3737 -3.423488)'))) / (select extract(epoch from '2026-07-13 10:19:23'::timestamp) - extract(epoch from '2026-07-13 10:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.373754 -3.423622)', '2026-07-13 10:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3737 -3.423488)'), GeomFromEWKT('SRID=4674;POINT (-38.373754 -3.423622)'))) / (select extract(epoch from '2026-07-13 10:19:31'::timestamp) - extract(epoch from '2026-07-13 10:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3737 -3.423488)'), GeomFromEWKT('SRID=4674;POINT (-38.373754 -3.423622)'))) / (select extract(epoch from '2026-07-13 10:19:31'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.373779 -3.423729)', '2026-07-13 10:19:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373754 -3.423622)'), GeomFromEWKT('SRID=4674;POINT (-38.373779 -3.423729)'))) / (select extract(epoch from '2026-07-13 10:19:37'::timestamp) - extract(epoch from '2026-07-13 10:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373754 -3.423622)'), GeomFromEWKT('SRID=4674;POINT (-38.373779 -3.423729)'))) / (select extract(epoch from '2026-07-13 10:19:37'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.373808 -3.423814)', '2026-07-13 10:19:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373779 -3.423729)'), GeomFromEWKT('SRID=4674;POINT (-38.373808 -3.423814)'))) / (select extract(epoch from '2026-07-13 10:19:42'::timestamp) - extract(epoch from '2026-07-13 10:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373779 -3.423729)'), GeomFromEWKT('SRID=4674;POINT (-38.373808 -3.423814)'))) / (select extract(epoch from '2026-07-13 10:19:42'::timestamp) - extract(epoch from '2026-07-13 10:19: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'), 47392, 'SRID=4674;POINT (-38.373842 -3.423904)', '2026-07-13 10:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373808 -3.423814)'), GeomFromEWKT('SRID=4674;POINT (-38.373842 -3.423904)'))) / (select extract(epoch from '2026-07-13 10:19:47'::timestamp) - extract(epoch from '2026-07-13 10:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373808 -3.423814)'), GeomFromEWKT('SRID=4674;POINT (-38.373842 -3.423904)'))) / (select extract(epoch from '2026-07-13 10:19:47'::timestamp) - extract(epoch from '2026-07-13 10:19: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'), 47392, 'SRID=4674;POINT (-38.373873 -3.424011)', '2026-07-13 10:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373842 -3.423904)'), GeomFromEWKT('SRID=4674;POINT (-38.373873 -3.424011)'))) / (select extract(epoch from '2026-07-13 10:19:53'::timestamp) - extract(epoch from '2026-07-13 10:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373842 -3.423904)'), GeomFromEWKT('SRID=4674;POINT (-38.373873 -3.424011)'))) / (select extract(epoch from '2026-07-13 10:19:53'::timestamp) - extract(epoch from '2026-07-13 10:19: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'), 47392, 'SRID=4674;POINT (-38.373909 -3.424135)', '2026-07-13 10:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373873 -3.424011)'), GeomFromEWKT('SRID=4674;POINT (-38.373909 -3.424135)'))) / (select extract(epoch from '2026-07-13 10:20:00'::timestamp) - extract(epoch from '2026-07-13 10:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373873 -3.424011)'), GeomFromEWKT('SRID=4674;POINT (-38.373909 -3.424135)'))) / (select extract(epoch from '2026-07-13 10:20:00'::timestamp) - extract(epoch from '2026-07-13 10:19: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'), 47392, 'SRID=4674;POINT (-38.373945 -3.424237)', '2026-07-13 10:20:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373909 -3.424135)'), GeomFromEWKT('SRID=4674;POINT (-38.373945 -3.424237)'))) / (select extract(epoch from '2026-07-13 10:20:06'::timestamp) - extract(epoch from '2026-07-13 10:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373909 -3.424135)'), GeomFromEWKT('SRID=4674;POINT (-38.373945 -3.424237)'))) / (select extract(epoch from '2026-07-13 10:20:06'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.373981 -3.424328)', '2026-07-13 10:20:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373945 -3.424237)'), GeomFromEWKT('SRID=4674;POINT (-38.373981 -3.424328)'))) / (select extract(epoch from '2026-07-13 10:20:12'::timestamp) - extract(epoch from '2026-07-13 10:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373945 -3.424237)'), GeomFromEWKT('SRID=4674;POINT (-38.373981 -3.424328)'))) / (select extract(epoch from '2026-07-13 10:20:12'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374038 -3.424455)', '2026-07-13 10:20:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373981 -3.424328)'), GeomFromEWKT('SRID=4674;POINT (-38.374038 -3.424455)'))) / (select extract(epoch from '2026-07-13 10:20:20'::timestamp) - extract(epoch from '2026-07-13 10:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373981 -3.424328)'), GeomFromEWKT('SRID=4674;POINT (-38.374038 -3.424455)'))) / (select extract(epoch from '2026-07-13 10:20:20'::timestamp) - extract(epoch from '2026-07-13 10:20: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'), 47392, 'SRID=4674;POINT (-38.374074 -3.424555)', '2026-07-13 10:20:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374038 -3.424455)'), GeomFromEWKT('SRID=4674;POINT (-38.374074 -3.424555)'))) / (select extract(epoch from '2026-07-13 10:20:26'::timestamp) - extract(epoch from '2026-07-13 10:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374038 -3.424455)'), GeomFromEWKT('SRID=4674;POINT (-38.374074 -3.424555)'))) / (select extract(epoch from '2026-07-13 10:20:26'::timestamp) - extract(epoch from '2026-07-13 10:20:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.374108 -3.424657)', '2026-07-13 10:20:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374074 -3.424555)'), GeomFromEWKT('SRID=4674;POINT (-38.374108 -3.424657)'))) / (select extract(epoch from '2026-07-13 10:20:32'::timestamp) - extract(epoch from '2026-07-13 10:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374074 -3.424555)'), GeomFromEWKT('SRID=4674;POINT (-38.374108 -3.424657)'))) / (select extract(epoch from '2026-07-13 10:20:32'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374148 -3.424762)', '2026-07-13 10:20:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374108 -3.424657)'), GeomFromEWKT('SRID=4674;POINT (-38.374148 -3.424762)'))) / (select extract(epoch from '2026-07-13 10:20:38'::timestamp) - extract(epoch from '2026-07-13 10:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374108 -3.424657)'), GeomFromEWKT('SRID=4674;POINT (-38.374148 -3.424762)'))) / (select extract(epoch from '2026-07-13 10:20:38'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374174 -3.424877)', '2026-07-13 10:20:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374148 -3.424762)'), GeomFromEWKT('SRID=4674;POINT (-38.374174 -3.424877)'))) / (select extract(epoch from '2026-07-13 10:20:44'::timestamp) - extract(epoch from '2026-07-13 10:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374148 -3.424762)'), GeomFromEWKT('SRID=4674;POINT (-38.374174 -3.424877)'))) / (select extract(epoch from '2026-07-13 10:20:44'::timestamp) - extract(epoch from '2026-07-13 10:20: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'), 47392, 'SRID=4674;POINT (-38.374194 -3.424973)', '2026-07-13 10:20:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374174 -3.424877)'), GeomFromEWKT('SRID=4674;POINT (-38.374194 -3.424973)'))) / (select extract(epoch from '2026-07-13 10:20:49'::timestamp) - extract(epoch from '2026-07-13 10:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374174 -3.424877)'), GeomFromEWKT('SRID=4674;POINT (-38.374194 -3.424973)'))) / (select extract(epoch from '2026-07-13 10:20:49'::timestamp) - extract(epoch from '2026-07-13 10:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.374226 -3.425119)', '2026-07-13 10:20:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374194 -3.424973)'), GeomFromEWKT('SRID=4674;POINT (-38.374226 -3.425119)'))) / (select extract(epoch from '2026-07-13 10:20:57'::timestamp) - extract(epoch from '2026-07-13 10:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374194 -3.424973)'), GeomFromEWKT('SRID=4674;POINT (-38.374226 -3.425119)'))) / (select extract(epoch from '2026-07-13 10:20:57'::timestamp) - extract(epoch from '2026-07-13 10:20: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'), 47392, 'SRID=4674;POINT (-38.374252 -3.425212)', '2026-07-13 10:21:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374226 -3.425119)'), GeomFromEWKT('SRID=4674;POINT (-38.374252 -3.425212)'))) / (select extract(epoch from '2026-07-13 10:21:02'::timestamp) - extract(epoch from '2026-07-13 10:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374226 -3.425119)'), GeomFromEWKT('SRID=4674;POINT (-38.374252 -3.425212)'))) / (select extract(epoch from '2026-07-13 10:21:02'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374271 -3.425311)', '2026-07-13 10:21:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374252 -3.425212)'), GeomFromEWKT('SRID=4674;POINT (-38.374271 -3.425311)'))) / (select extract(epoch from '2026-07-13 10:21:07'::timestamp) - extract(epoch from '2026-07-13 10:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374252 -3.425212)'), GeomFromEWKT('SRID=4674;POINT (-38.374271 -3.425311)'))) / (select extract(epoch from '2026-07-13 10:21:07'::timestamp) - extract(epoch from '2026-07-13 10:21: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'), 47392, 'SRID=4674;POINT (-38.3743 -3.425451)', '2026-07-13 10:21:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374271 -3.425311)'), GeomFromEWKT('SRID=4674;POINT (-38.3743 -3.425451)'))) / (select extract(epoch from '2026-07-13 10:21:14'::timestamp) - extract(epoch from '2026-07-13 10:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374271 -3.425311)'), GeomFromEWKT('SRID=4674;POINT (-38.3743 -3.425451)'))) / (select extract(epoch from '2026-07-13 10:21:14'::timestamp) - extract(epoch from '2026-07-13 10:21: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'), 47392, 'SRID=4674;POINT (-38.374327 -3.425598)', '2026-07-13 10:21:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3743 -3.425451)'), GeomFromEWKT('SRID=4674;POINT (-38.374327 -3.425598)'))) / (select extract(epoch from '2026-07-13 10:21:21'::timestamp) - extract(epoch from '2026-07-13 10:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3743 -3.425451)'), GeomFromEWKT('SRID=4674;POINT (-38.374327 -3.425598)'))) / (select extract(epoch from '2026-07-13 10:21:21'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374349 -3.425693)', '2026-07-13 10:21:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374327 -3.425598)'), GeomFromEWKT('SRID=4674;POINT (-38.374349 -3.425693)'))) / (select extract(epoch from '2026-07-13 10:21:26'::timestamp) - extract(epoch from '2026-07-13 10:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374327 -3.425598)'), GeomFromEWKT('SRID=4674;POINT (-38.374349 -3.425693)'))) / (select extract(epoch from '2026-07-13 10:21:26'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374372 -3.425811)', '2026-07-13 10:21:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374349 -3.425693)'), GeomFromEWKT('SRID=4674;POINT (-38.374372 -3.425811)'))) / (select extract(epoch from '2026-07-13 10:21:32'::timestamp) - extract(epoch from '2026-07-13 10:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374349 -3.425693)'), GeomFromEWKT('SRID=4674;POINT (-38.374372 -3.425811)'))) / (select extract(epoch from '2026-07-13 10:21:32'::timestamp) - extract(epoch from '2026-07-13 10:21: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'), 47392, 'SRID=4674;POINT (-38.374396 -3.425947)', '2026-07-13 10:21:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374372 -3.425811)'), GeomFromEWKT('SRID=4674;POINT (-38.374396 -3.425947)'))) / (select extract(epoch from '2026-07-13 10:21:39'::timestamp) - extract(epoch from '2026-07-13 10:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374372 -3.425811)'), GeomFromEWKT('SRID=4674;POINT (-38.374396 -3.425947)'))) / (select extract(epoch from '2026-07-13 10:21:39'::timestamp) - extract(epoch from '2026-07-13 10:21:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.374425 -3.42605)', '2026-07-13 10:21:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374396 -3.425947)'), GeomFromEWKT('SRID=4674;POINT (-38.374425 -3.42605)'))) / (select extract(epoch from '2026-07-13 10:21:44'::timestamp) - extract(epoch from '2026-07-13 10:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374396 -3.425947)'), GeomFromEWKT('SRID=4674;POINT (-38.374425 -3.42605)'))) / (select extract(epoch from '2026-07-13 10:21:44'::timestamp) - extract(epoch from '2026-07-13 10:21: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'), 47392, 'SRID=4674;POINT (-38.374455 -3.42618)', '2026-07-13 10:21:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374425 -3.42605)'), GeomFromEWKT('SRID=4674;POINT (-38.374455 -3.42618)'))) / (select extract(epoch from '2026-07-13 10:21:51'::timestamp) - extract(epoch from '2026-07-13 10:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374425 -3.42605)'), GeomFromEWKT('SRID=4674;POINT (-38.374455 -3.42618)'))) / (select extract(epoch from '2026-07-13 10:21:51'::timestamp) - extract(epoch from '2026-07-13 10:21: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'), 47392, 'SRID=4674;POINT (-38.374476 -3.4263)', '2026-07-13 10:21:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374455 -3.42618)'), GeomFromEWKT('SRID=4674;POINT (-38.374476 -3.4263)'))) / (select extract(epoch from '2026-07-13 10:21:57'::timestamp) - extract(epoch from '2026-07-13 10:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374455 -3.42618)'), GeomFromEWKT('SRID=4674;POINT (-38.374476 -3.4263)'))) / (select extract(epoch from '2026-07-13 10:21:57'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374483 -3.42642)', '2026-07-13 10:22:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374476 -3.4263)'), GeomFromEWKT('SRID=4674;POINT (-38.374483 -3.42642)'))) / (select extract(epoch from '2026-07-13 10:22:03'::timestamp) - extract(epoch from '2026-07-13 10:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374476 -3.4263)'), GeomFromEWKT('SRID=4674;POINT (-38.374483 -3.42642)'))) / (select extract(epoch from '2026-07-13 10:22:03'::timestamp) - extract(epoch from '2026-07-13 10:21: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'), 47392, 'SRID=4674;POINT (-38.374491 -3.426537)', '2026-07-13 10:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374483 -3.42642)'), GeomFromEWKT('SRID=4674;POINT (-38.374491 -3.426537)'))) / (select extract(epoch from '2026-07-13 10:22:09'::timestamp) - extract(epoch from '2026-07-13 10:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374483 -3.42642)'), GeomFromEWKT('SRID=4674;POINT (-38.374491 -3.426537)'))) / (select extract(epoch from '2026-07-13 10:22:09'::timestamp) - extract(epoch from '2026-07-13 10:22:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.374498 -3.426652)', '2026-07-13 10:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374491 -3.426537)'), GeomFromEWKT('SRID=4674;POINT (-38.374498 -3.426652)'))) / (select extract(epoch from '2026-07-13 10:22:15'::timestamp) - extract(epoch from '2026-07-13 10:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374491 -3.426537)'), GeomFromEWKT('SRID=4674;POINT (-38.374498 -3.426652)'))) / (select extract(epoch from '2026-07-13 10:22:15'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47392, 'SRID=4674;POINT (-38.374516 -3.426765)', '2026-07-13 10:22:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374498 -3.426652)'), GeomFromEWKT('SRID=4674;POINT (-38.374516 -3.426765)'))) / (select extract(epoch from '2026-07-13 10:22:21'::timestamp) - extract(epoch from '2026-07-13 10:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374498 -3.426652)'), GeomFromEWKT('SRID=4674;POINT (-38.374516 -3.426765)'))) / (select extract(epoch from '2026-07-13 10:22:21'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374574 -3.426928)', '2026-07-13 10:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374516 -3.426765)'), GeomFromEWKT('SRID=4674;POINT (-38.374574 -3.426928)'))) / (select extract(epoch from '2026-07-13 10:22:30'::timestamp) - extract(epoch from '2026-07-13 10:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374516 -3.426765)'), GeomFromEWKT('SRID=4674;POINT (-38.374574 -3.426928)'))) / (select extract(epoch from '2026-07-13 10:22:30'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47392, 'SRID=4674;POINT (-38.374587 -3.426978)', '2026-07-13 10:22:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374574 -3.426928)'), GeomFromEWKT('SRID=4674;POINT (-38.374587 -3.426978)'))) / (select extract(epoch from '2026-07-13 10:22:33'::timestamp) - extract(epoch from '2026-07-13 10:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374574 -3.426928)'), GeomFromEWKT('SRID=4674;POINT (-38.374587 -3.426978)'))) / (select extract(epoch from '2026-07-13 10:22:33'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47392, 'SRID=4674;POINT (-38.374612 -3.427011)', '2026-07-13 10:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374587 -3.426978)'), GeomFromEWKT('SRID=4674;POINT (-38.374612 -3.427011)'))) / (select extract(epoch from '2026-07-13 10:22:35'::timestamp) - extract(epoch from '2026-07-13 10:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374587 -3.426978)'), GeomFromEWKT('SRID=4674;POINT (-38.374612 -3.427011)'))) / (select extract(epoch from '2026-07-13 10:22:35'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47392, 'SRID=4674;POINT (-38.37464 -3.427106)', '2026-07-13 10:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374612 -3.427011)'), GeomFromEWKT('SRID=4674;POINT (-38.37464 -3.427106)'))) / (select extract(epoch from '2026-07-13 10:22:40'::timestamp) - extract(epoch from '2026-07-13 10:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374612 -3.427011)'), GeomFromEWKT('SRID=4674;POINT (-38.37464 -3.427106)'))) / (select extract(epoch from '2026-07-13 10:22:40'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47392, 'SRID=4674;POINT (-38.37467 -3.42722)', '2026-07-13 10:22:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37464 -3.427106)'), GeomFromEWKT('SRID=4674;POINT (-38.37467 -3.42722)'))) / (select extract(epoch from '2026-07-13 10:22:46'::timestamp) - extract(epoch from '2026-07-13 10:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37464 -3.427106)'), GeomFromEWKT('SRID=4674;POINT (-38.37467 -3.42722)'))) / (select extract(epoch from '2026-07-13 10:22:46'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47392, 'SRID=4674;POINT (-38.374709 -3.427342)', '2026-07-13 10:22:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37467 -3.42722)'), GeomFromEWKT('SRID=4674;POINT (-38.374709 -3.427342)'))) / (select extract(epoch from '2026-07-13 10:22:52'::timestamp) - extract(epoch from '2026-07-13 10:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37467 -3.42722)'), GeomFromEWKT('SRID=4674;POINT (-38.374709 -3.427342)'))) / (select extract(epoch from '2026-07-13 10:22:52'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47392, 'SRID=4674;POINT (-38.374721 -3.427381)', '2026-07-13 10:22:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374709 -3.427342)'), GeomFromEWKT('SRID=4674;POINT (-38.374721 -3.427381)'))) / (select extract(epoch from '2026-07-13 10:22:54'::timestamp) - extract(epoch from '2026-07-13 10:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374709 -3.427342)'), GeomFromEWKT('SRID=4674;POINT (-38.374721 -3.427381)'))) / (select extract(epoch from '2026-07-13 10:22:54'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47392, 'SRID=4674;POINT (-38.37473 -3.427421)', '2026-07-13 10:22:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374721 -3.427381)'), GeomFromEWKT('SRID=4674;POINT (-38.37473 -3.427421)'))) / (select extract(epoch from '2026-07-13 10:22:56'::timestamp) - extract(epoch from '2026-07-13 10:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374721 -3.427381)'), GeomFromEWKT('SRID=4674;POINT (-38.37473 -3.427421)'))) / (select extract(epoch from '2026-07-13 10:22:56'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47392, 'SRID=4674;POINT (-38.374755 -3.427525)', '2026-07-13 10:23:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37473 -3.427421)'), GeomFromEWKT('SRID=4674;POINT (-38.374755 -3.427525)'))) / (select extract(epoch from '2026-07-13 10:23:01'::timestamp) - extract(epoch from '2026-07-13 10:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37473 -3.427421)'), GeomFromEWKT('SRID=4674;POINT (-38.374755 -3.427525)'))) / (select extract(epoch from '2026-07-13 10:23:01'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374799 -3.427624)', '2026-07-13 10:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374755 -3.427525)'), GeomFromEWKT('SRID=4674;POINT (-38.374799 -3.427624)'))) / (select extract(epoch from '2026-07-13 10:23:06'::timestamp) - extract(epoch from '2026-07-13 10:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374755 -3.427525)'), GeomFromEWKT('SRID=4674;POINT (-38.374799 -3.427624)'))) / (select extract(epoch from '2026-07-13 10:23:06'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374835 -3.427743)', '2026-07-13 10:23:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374799 -3.427624)'), GeomFromEWKT('SRID=4674;POINT (-38.374835 -3.427743)'))) / (select extract(epoch from '2026-07-13 10:23:12'::timestamp) - extract(epoch from '2026-07-13 10:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374799 -3.427624)'), GeomFromEWKT('SRID=4674;POINT (-38.374835 -3.427743)'))) / (select extract(epoch from '2026-07-13 10:23:12'::timestamp) - extract(epoch from '2026-07-13 10:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.37487 -3.42787)', '2026-07-13 10:23:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374835 -3.427743)'), GeomFromEWKT('SRID=4674;POINT (-38.37487 -3.42787)'))) / (select extract(epoch from '2026-07-13 10:23:18'::timestamp) - extract(epoch from '2026-07-13 10:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374835 -3.427743)'), GeomFromEWKT('SRID=4674;POINT (-38.37487 -3.42787)'))) / (select extract(epoch from '2026-07-13 10:23:18'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374912 -3.427974)', '2026-07-13 10:23:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37487 -3.42787)'), GeomFromEWKT('SRID=4674;POINT (-38.374912 -3.427974)'))) / (select extract(epoch from '2026-07-13 10:23:23'::timestamp) - extract(epoch from '2026-07-13 10:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37487 -3.42787)'), GeomFromEWKT('SRID=4674;POINT (-38.374912 -3.427974)'))) / (select extract(epoch from '2026-07-13 10:23:23'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.374961 -3.428095)', '2026-07-13 10:23:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374912 -3.427974)'), GeomFromEWKT('SRID=4674;POINT (-38.374961 -3.428095)'))) / (select extract(epoch from '2026-07-13 10:23:29'::timestamp) - extract(epoch from '2026-07-13 10:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374912 -3.427974)'), GeomFromEWKT('SRID=4674;POINT (-38.374961 -3.428095)'))) / (select extract(epoch from '2026-07-13 10:23:29'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47392, 'SRID=4674;POINT (-38.374973 -3.428133)', '2026-07-13 10:23:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374961 -3.428095)'), GeomFromEWKT('SRID=4674;POINT (-38.374973 -3.428133)'))) / (select extract(epoch from '2026-07-13 10:23:31'::timestamp) - extract(epoch from '2026-07-13 10:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374961 -3.428095)'), GeomFromEWKT('SRID=4674;POINT (-38.374973 -3.428133)'))) / (select extract(epoch from '2026-07-13 10:23:31'::timestamp) - extract(epoch from '2026-07-13 10:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.374978 -3.428172)', '2026-07-13 10:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374973 -3.428133)'), GeomFromEWKT('SRID=4674;POINT (-38.374978 -3.428172)'))) / (select extract(epoch from '2026-07-13 10:23:33'::timestamp) - extract(epoch from '2026-07-13 10:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374973 -3.428133)'), GeomFromEWKT('SRID=4674;POINT (-38.374978 -3.428172)'))) / (select extract(epoch from '2026-07-13 10:23:33'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47392, 'SRID=4674;POINT (-38.375018 -3.428304)', '2026-07-13 10:23:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374978 -3.428172)'), GeomFromEWKT('SRID=4674;POINT (-38.375018 -3.428304)'))) / (select extract(epoch from '2026-07-13 10:23:40'::timestamp) - extract(epoch from '2026-07-13 10:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374978 -3.428172)'), GeomFromEWKT('SRID=4674;POINT (-38.375018 -3.428304)'))) / (select extract(epoch from '2026-07-13 10:23:40'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47392, 'SRID=4674;POINT (-38.375046 -3.428401)', '2026-07-13 10:23:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375018 -3.428304)'), GeomFromEWKT('SRID=4674;POINT (-38.375046 -3.428401)'))) / (select extract(epoch from '2026-07-13 10:23:45'::timestamp) - extract(epoch from '2026-07-13 10:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375018 -3.428304)'), GeomFromEWKT('SRID=4674;POINT (-38.375046 -3.428401)'))) / (select extract(epoch from '2026-07-13 10:23:45'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47392, 'SRID=4674;POINT (-38.375081 -3.428509)', '2026-07-13 10:23:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375046 -3.428401)'), GeomFromEWKT('SRID=4674;POINT (-38.375081 -3.428509)'))) / (select extract(epoch from '2026-07-13 10:23:51'::timestamp) - extract(epoch from '2026-07-13 10:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375046 -3.428401)'), GeomFromEWKT('SRID=4674;POINT (-38.375081 -3.428509)'))) / (select extract(epoch from '2026-07-13 10:23:51'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47392, 'SRID=4674;POINT (-38.375104 -3.428607)', '2026-07-13 10:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375081 -3.428509)'), GeomFromEWKT('SRID=4674;POINT (-38.375104 -3.428607)'))) / (select extract(epoch from '2026-07-13 10:23:56'::timestamp) - extract(epoch from '2026-07-13 10:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375081 -3.428509)'), GeomFromEWKT('SRID=4674;POINT (-38.375104 -3.428607)'))) / (select extract(epoch from '2026-07-13 10:23:56'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.375145 -3.428738)', '2026-07-13 10:24:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375104 -3.428607)'), GeomFromEWKT('SRID=4674;POINT (-38.375145 -3.428738)'))) / (select extract(epoch from '2026-07-13 10:24:03'::timestamp) - extract(epoch from '2026-07-13 10:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375104 -3.428607)'), GeomFromEWKT('SRID=4674;POINT (-38.375145 -3.428738)'))) / (select extract(epoch from '2026-07-13 10:24:03'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47392, 'SRID=4674;POINT (-38.375207 -3.428864)', '2026-07-13 10:24:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375145 -3.428738)'), GeomFromEWKT('SRID=4674;POINT (-38.375207 -3.428864)'))) / (select extract(epoch from '2026-07-13 10:24:10'::timestamp) - extract(epoch from '2026-07-13 10:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375145 -3.428738)'), GeomFromEWKT('SRID=4674;POINT (-38.375207 -3.428864)'))) / (select extract(epoch from '2026-07-13 10:24:10'::timestamp) - extract(epoch from '2026-07-13 10:24: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'), 47392, 'SRID=4674;POINT (-38.375219 -3.428899)', '2026-07-13 10:24:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375207 -3.428864)'), GeomFromEWKT('SRID=4674;POINT (-38.375219 -3.428899)'))) / (select extract(epoch from '2026-07-13 10:24:12'::timestamp) - extract(epoch from '2026-07-13 10:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375207 -3.428864)'), GeomFromEWKT('SRID=4674;POINT (-38.375219 -3.428899)'))) / (select extract(epoch from '2026-07-13 10:24:12'::timestamp) - extract(epoch from '2026-07-13 10:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.375241 -3.428956)', '2026-07-13 10:24:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375219 -3.428899)'), GeomFromEWKT('SRID=4674;POINT (-38.375241 -3.428956)'))) / (select extract(epoch from '2026-07-13 10:24:15'::timestamp) - extract(epoch from '2026-07-13 10:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375219 -3.428899)'), GeomFromEWKT('SRID=4674;POINT (-38.375241 -3.428956)'))) / (select extract(epoch from '2026-07-13 10:24:15'::timestamp) - extract(epoch from '2026-07-13 10:24: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'), 47392, 'SRID=4674;POINT (-38.375257 -3.429051)', '2026-07-13 10:24:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375241 -3.428956)'), GeomFromEWKT('SRID=4674;POINT (-38.375257 -3.429051)'))) / (select extract(epoch from '2026-07-13 10:24:20'::timestamp) - extract(epoch from '2026-07-13 10:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375241 -3.428956)'), GeomFromEWKT('SRID=4674;POINT (-38.375257 -3.429051)'))) / (select extract(epoch from '2026-07-13 10:24:20'::timestamp) - extract(epoch from '2026-07-13 10:24: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'), 47392, 'SRID=4674;POINT (-38.375298 -3.429165)', '2026-07-13 10:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375257 -3.429051)'), GeomFromEWKT('SRID=4674;POINT (-38.375298 -3.429165)'))) / (select extract(epoch from '2026-07-13 10:24:26'::timestamp) - extract(epoch from '2026-07-13 10:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375257 -3.429051)'), GeomFromEWKT('SRID=4674;POINT (-38.375298 -3.429165)'))) / (select extract(epoch from '2026-07-13 10:24:26'::timestamp) - extract(epoch from '2026-07-13 10:24: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'), 47392, 'SRID=4674;POINT (-38.375345 -3.429269)', '2026-07-13 10:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375298 -3.429165)'), GeomFromEWKT('SRID=4674;POINT (-38.375345 -3.429269)'))) / (select extract(epoch from '2026-07-13 10:24:32'::timestamp) - extract(epoch from '2026-07-13 10:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375298 -3.429165)'), GeomFromEWKT('SRID=4674;POINT (-38.375345 -3.429269)'))) / (select extract(epoch from '2026-07-13 10:24:32'::timestamp) - extract(epoch from '2026-07-13 10:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.375395 -3.429403)', '2026-07-13 10:24:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375345 -3.429269)'), GeomFromEWKT('SRID=4674;POINT (-38.375395 -3.429403)'))) / (select extract(epoch from '2026-07-13 10:24:39'::timestamp) - extract(epoch from '2026-07-13 10:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375345 -3.429269)'), GeomFromEWKT('SRID=4674;POINT (-38.375395 -3.429403)'))) / (select extract(epoch from '2026-07-13 10:24:39'::timestamp) - extract(epoch from '2026-07-13 10:24: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'), 47392, 'SRID=4674;POINT (-38.375431 -3.429522)', '2026-07-13 10:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375395 -3.429403)'), GeomFromEWKT('SRID=4674;POINT (-38.375431 -3.429522)'))) / (select extract(epoch from '2026-07-13 10:24:45'::timestamp) - extract(epoch from '2026-07-13 10:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375395 -3.429403)'), GeomFromEWKT('SRID=4674;POINT (-38.375431 -3.429522)'))) / (select extract(epoch from '2026-07-13 10:24:45'::timestamp) - extract(epoch from '2026-07-13 10:24: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'), 47392, 'SRID=4674;POINT (-38.375462 -3.42964)', '2026-07-13 10:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375431 -3.429522)'), GeomFromEWKT('SRID=4674;POINT (-38.375462 -3.42964)'))) / (select extract(epoch from '2026-07-13 10:24:51'::timestamp) - extract(epoch from '2026-07-13 10:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375431 -3.429522)'), GeomFromEWKT('SRID=4674;POINT (-38.375462 -3.42964)'))) / (select extract(epoch from '2026-07-13 10:24:51'::timestamp) - extract(epoch from '2026-07-13 10:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.375488 -3.429761)', '2026-07-13 10:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375462 -3.42964)'), GeomFromEWKT('SRID=4674;POINT (-38.375488 -3.429761)'))) / (select extract(epoch from '2026-07-13 10:24:57'::timestamp) - extract(epoch from '2026-07-13 10:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375462 -3.42964)'), GeomFromEWKT('SRID=4674;POINT (-38.375488 -3.429761)'))) / (select extract(epoch from '2026-07-13 10:24:57'::timestamp) - extract(epoch from '2026-07-13 10:24: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'), 47392, 'SRID=4674;POINT (-38.375514 -3.429896)', '2026-07-13 10:25:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375488 -3.429761)'), GeomFromEWKT('SRID=4674;POINT (-38.375514 -3.429896)'))) / (select extract(epoch from '2026-07-13 10:25:04'::timestamp) - extract(epoch from '2026-07-13 10:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375488 -3.429761)'), GeomFromEWKT('SRID=4674;POINT (-38.375514 -3.429896)'))) / (select extract(epoch from '2026-07-13 10:25:04'::timestamp) - extract(epoch from '2026-07-13 10:24: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'), 47392, 'SRID=4674;POINT (-38.375546 -3.430054)', '2026-07-13 10:25:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375514 -3.429896)'), GeomFromEWKT('SRID=4674;POINT (-38.375546 -3.430054)'))) / (select extract(epoch from '2026-07-13 10:25:12'::timestamp) - extract(epoch from '2026-07-13 10:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375514 -3.429896)'), GeomFromEWKT('SRID=4674;POINT (-38.375546 -3.430054)'))) / (select extract(epoch from '2026-07-13 10:25:12'::timestamp) - extract(epoch from '2026-07-13 10:25: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'), 47392, 'SRID=4674;POINT (-38.375577 -3.430188)', '2026-07-13 10:25:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375546 -3.430054)'), GeomFromEWKT('SRID=4674;POINT (-38.375577 -3.430188)'))) / (select extract(epoch from '2026-07-13 10:25:19'::timestamp) - extract(epoch from '2026-07-13 10:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375546 -3.430054)'), GeomFromEWKT('SRID=4674;POINT (-38.375577 -3.430188)'))) / (select extract(epoch from '2026-07-13 10:25:19'::timestamp) - extract(epoch from '2026-07-13 10:25: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'), 47392, 'SRID=4674;POINT (-38.375609 -3.430296)', '2026-07-13 10:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375577 -3.430188)'), GeomFromEWKT('SRID=4674;POINT (-38.375609 -3.430296)'))) / (select extract(epoch from '2026-07-13 10:25:25'::timestamp) - extract(epoch from '2026-07-13 10:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375577 -3.430188)'), GeomFromEWKT('SRID=4674;POINT (-38.375609 -3.430296)'))) / (select extract(epoch from '2026-07-13 10:25:25'::timestamp) - extract(epoch from '2026-07-13 10:25:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.375645 -3.430414)', '2026-07-13 10:25:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375609 -3.430296)'), GeomFromEWKT('SRID=4674;POINT (-38.375645 -3.430414)'))) / (select extract(epoch from '2026-07-13 10:25:31'::timestamp) - extract(epoch from '2026-07-13 10:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375609 -3.430296)'), GeomFromEWKT('SRID=4674;POINT (-38.375645 -3.430414)'))) / (select extract(epoch from '2026-07-13 10:25:31'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.375678 -3.430509)', '2026-07-13 10:25:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375645 -3.430414)'), GeomFromEWKT('SRID=4674;POINT (-38.375678 -3.430509)'))) / (select extract(epoch from '2026-07-13 10:25:36'::timestamp) - extract(epoch from '2026-07-13 10:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375645 -3.430414)'), GeomFromEWKT('SRID=4674;POINT (-38.375678 -3.430509)'))) / (select extract(epoch from '2026-07-13 10:25:36'::timestamp) - extract(epoch from '2026-07-13 10:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.375709 -3.430647)', '2026-07-13 10:25:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375678 -3.430509)'), GeomFromEWKT('SRID=4674;POINT (-38.375709 -3.430647)'))) / (select extract(epoch from '2026-07-13 10:25:43'::timestamp) - extract(epoch from '2026-07-13 10:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375678 -3.430509)'), GeomFromEWKT('SRID=4674;POINT (-38.375709 -3.430647)'))) / (select extract(epoch from '2026-07-13 10:25:43'::timestamp) - extract(epoch from '2026-07-13 10:25:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.375735 -3.430748)', '2026-07-13 10:25:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375709 -3.430647)'), GeomFromEWKT('SRID=4674;POINT (-38.375735 -3.430748)'))) / (select extract(epoch from '2026-07-13 10:25:48'::timestamp) - extract(epoch from '2026-07-13 10:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375709 -3.430647)'), GeomFromEWKT('SRID=4674;POINT (-38.375735 -3.430748)'))) / (select extract(epoch from '2026-07-13 10:25:48'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47392, 'SRID=4674;POINT (-38.375771 -3.430877)', '2026-07-13 10:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375735 -3.430748)'), GeomFromEWKT('SRID=4674;POINT (-38.375771 -3.430877)'))) / (select extract(epoch from '2026-07-13 10:25:54'::timestamp) - extract(epoch from '2026-07-13 10:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375735 -3.430748)'), GeomFromEWKT('SRID=4674;POINT (-38.375771 -3.430877)'))) / (select extract(epoch from '2026-07-13 10:25:54'::timestamp) - extract(epoch from '2026-07-13 10:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
